{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "    \n",
       "<script type=\"text/javascript\">\n",
       "    /* BEGIN C:\\Users\\Bradlee Speice\\Anaconda3\\lib\\site-packages\\bokeh\\server\\static\\js/bokeh.min.js */\n",
       "        !function(){var define=void 0;!function t(e,i,n){function r(o,a){if(!i[o]){if(!e[o]){var l=\"function\"==typeof require&&require;if(!a&&l)return l(o,!0);if(s)return s(o,!0);var u=new Error(\"Cannot find module '\"+o+\"'\");throw u.code=\"MODULE_NOT_FOUND\",u}var h=i[o]={exports:{}};e[o][0].call(h.exports,function(t){var i=e[o][1][t];return r(i?i:t)},h,h.exports,t,e,i,n)}return i[o].exports}for(var s=\"function\"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,i){var n,r;n={},n.require=t,n.version=\"0.10.0\",n._=t(\"underscore\"),n.$=t(\"jquery\"),t(\"jquery-ui\"),n.Backbone=t(\"backbone\"),n.Backbone.$=n.$,n.Backbone.$.ui=n.$.ui,r=t(\"./common/logging\"),n.logger=r.logger,n.set_log_level=r.set_log_level,window.Float64Array||(n.logger.warn(\"Float64Array is not supported. Using generic Array instead.\"),window.Float64Array=Array),n.index=t(\"./common/base\").index,n.Collections=t(\"./common/base\").Collections,n.Config=t(\"./common/base\").Config,n.CartesianFrame=t(\"./common/cartesian_frame\"),n.Canvas=t(\"./common/canvas\"),n.GMapPlot=t(\"./common/gmap_plot\"),n.GeoJSPlot=t(\"./common/geojs_plot\"),n.GridPlot=t(\"./common/grid_plot\"),n.HasParent=t(\"./common/has_parent\"),n.HasProperties=t(\"./common/has_properties\"),n.LayoutBox=t(\"./common/layout_box\"),n.Plot=t(\"./common/plot\"),n.Properties=t(\"./common/properties\"),n.SelectionManager=t(\"./common/selection_manager\"),n.Selector=t(\"./common/selector\"),n.ToolEvents=t(\"./common/tool_events\"),n.build_views=t(\"./common/build_views\"),n.bulk_save=t(\"./common/bulk_save\"),n.ContinuumView=t(\"./common/continuum_view\"),n.load_models=t(\"./common/load_models\"),n.PlotContext=t(\"./common/plot_context\"),n.PlotWidget=t(\"./common/plot_widget\"),n.Random=t(\"./common/random\"),n.SVGColors=t(\"./common/svg_colors\"),n.LinearMapper=t(\"./mapper/linear_mapper\"),n.LogMapper=t(\"./mapper/log_mapper\"),n.CategoricalMapper=t(\"./mapper/categorical_mapper\"),n.GridMapper=t(\"./mapper/grid_mapper\"),n.LinearColorMapper=t(\"./mapper/linear_color_mapper\"),n.Palettes=t(\"./palettes/palettes\"),n.BoxAnnotation=t(\"./renderer/annotation/box_annotation\"),n.Legend=t(\"./renderer/annotation/legend\"),n.Span=t(\"./renderer/annotation/span\"),n.Tooltip=t(\"./renderer/annotation/tooltip\"),n.CategoricalAxis=t(\"./renderer/guide/categorical_axis\"),n.DatetimeAxis=t(\"./renderer/guide/datetime_axis\"),n.Grid=t(\"./renderer/guide/grid\"),n.LinearAxis=t(\"./renderer/guide/linear_axis\"),n.LogAxis=t(\"./renderer/guide/log_axis\"),n.BoxSelection=t(\"./renderer/overlay/box_selection\"),n.PolySelection=t(\"./renderer/overlay/poly_selection\"),n.embed=t(\"./server/embed\"),n.serverutils=t(\"./server/serverutils\"),n.ColumnDataSource=t(\"./source/column_data_source\"),n.AbstractTicker=t(\"./ticking/abstract_ticker\"),n.AdaptiveTicker=t(\"./ticking/adaptive_ticker\"),n.BasicTicker=t(\"./ticking/basic_ticker\"),n.BasicTickFormatter=t(\"./ticking/basic_tick_formatter\"),n.LogTicker=t(\"./ticking/log_ticker\"),n.LogTickFormatter=t(\"./ticking/log_tick_formatter\"),n.CategoricalTicker=t(\"./ticking/categorical_ticker\"),n.CategoricalTickFormatter=t(\"./ticking/categorical_tick_formatter\"),n.CompositeTicker=t(\"./ticking/composite_ticker\"),n.DatetimeTicker=t(\"./ticking/datetime_ticker\"),n.DatetimeTickFormatter=t(\"./ticking/datetime_tick_formatter\"),n.DaysTicker=t(\"./ticking/days_ticker\"),n.MonthsTicker=t(\"./ticking/months_ticker\"),n.SingleIntervalTicker=t(\"./ticking/single_interval_ticker\"),n.YearsTicker=t(\"./ticking/years_ticker\"),n.ActionTool=t(\"./tool/actions/action_tool\"),n.PreviewSaveTool=t(\"./tool/actions/preview_save_tool\"),n.ResetTool=t(\"./tool/actions/reset_tool\"),n.HelpTool=t(\"./tool/actions/help_tool\"),n.BoxSelectTool=t(\"./tool/gestures/box_select_tool\"),n.BoxZoomTool=t(\"./tool/gestures/box_zoom_tool\"),n.LassoSelectTool=t(\"./tool/gestures/lasso_select_tool\"),n.PanTool=t(\"./tool/gestures/pan_tool\"),n.PolySelectTool=t(\"./tool/gestures/poly_select_tool\"),n.ResizeTool=t(\"./tool/gestures/resize_tool\"),n.SelectTool=t(\"./tool/gestures/select_tool\"),n.TapTool=t(\"./tool/gestures/tap_tool\"),n.WheelZoomTool=t(\"./tool/gestures/wheel_zoom_tool\"),n.InspectTool=t(\"./tool/inspectors/inspect_tool\"),n.HoverTool=t(\"./tool/inspectors/hover_tool\"),n.CrosshairTool=t(\"./tool/inspectors/crosshair_tool\"),n.HBox=t(\"./widget/hbox\"),n.VBox=t(\"./widget/vbox\"),n.TextInput=t(\"./widget/text_input\"),t(\"./api/plugin\"),n.Bokeh=n,window.Bokeh=n,e.exports=n},{\"./api/plugin\":95,\"./common/base\":99,\"./common/build_views\":101,\"./common/bulk_save\":102,\"./common/canvas\":103,\"./common/cartesian_frame\":105,\"./common/continuum_view\":109,\"./common/geojs_plot\":111,\"./common/gmap_plot\":112,\"./common/grid_plot\":113,\"./common/has_parent\":114,\"./common/has_properties\":115,\"./common/layout_box\":117,\"./common/load_models\":118,\"./common/logging\":119,\"./common/plot\":121,\"./common/plot_context\":122,\"./common/plot_widget\":125,\"./common/properties\":126,\"./common/random\":127,\"./common/selection_manager\":128,\"./common/selector\":129,\"./common/svg_colors\":132,\"./common/tool_events\":134,\"./mapper/categorical_mapper\":138,\"./mapper/grid_mapper\":139,\"./mapper/linear_color_mapper\":140,\"./mapper/linear_mapper\":141,\"./mapper/log_mapper\":142,\"./palettes/palettes\":143,\"./renderer/annotation/box_annotation\":147,\"./renderer/annotation/legend\":148,\"./renderer/annotation/span\":149,\"./renderer/annotation/tooltip\":150,\"./renderer/guide/categorical_axis\":189,\"./renderer/guide/datetime_axis\":190,\"./renderer/guide/grid\":191,\"./renderer/guide/linear_axis\":192,\"./renderer/guide/log_axis\":193,\"./renderer/overlay/box_selection\":194,\"./renderer/overlay/poly_selection\":195,\"./server/embed\":196,\"./server/serverutils\":197,\"./source/column_data_source\":204,\"./ticking/abstract_ticker\":207,\"./ticking/adaptive_ticker\":208,\"./ticking/basic_tick_formatter\":209,\"./ticking/basic_ticker\":210,\"./ticking/categorical_tick_formatter\":211,\"./ticking/categorical_ticker\":212,\"./ticking/composite_ticker\":213,\"./ticking/datetime_tick_formatter\":214,\"./ticking/datetime_ticker\":215,\"./ticking/days_ticker\":216,\"./ticking/log_tick_formatter\":218,\"./ticking/log_ticker\":219,\"./ticking/months_ticker\":220,\"./ticking/single_interval_ticker\":223,\"./ticking/years_ticker\":225,\"./tool/actions/action_tool\":226,\"./tool/actions/help_tool\":227,\"./tool/actions/preview_save_tool\":228,\"./tool/actions/reset_tool\":230,\"./tool/gestures/box_select_tool\":233,\"./tool/gestures/box_zoom_tool\":234,\"./tool/gestures/lasso_select_tool\":236,\"./tool/gestures/pan_tool\":237,\"./tool/gestures/poly_select_tool\":238,\"./tool/gestures/resize_tool\":239,\"./tool/gestures/select_tool\":240,\"./tool/gestures/tap_tool\":241,\"./tool/gestures/wheel_zoom_tool\":242,\"./tool/inspectors/crosshair_tool\":243,\"./tool/inspectors/hover_tool\":244,\"./tool/inspectors/inspect_tool\":245,\"./widget/hbox\":267,\"./widget/text_input\":288,\"./widget/vbox\":291,backbone:2,jquery:18,\"jquery-ui\":11,underscore:92}],2:[function(t,e,i){!function(e,n){if(\"function\"==typeof define&&define.amd)define([\"underscore\",\"jquery\",\"exports\"],function(t,i,r){e.Backbone=n(e,r,t,i)});else if(\"undefined\"!=typeof i){var r=t(\"underscore\");n(e,i,r)}else e.Backbone=n(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(t,e,i,n){var r=t.Backbone,s=[],o=(s.push,s.slice);s.splice;e.VERSION=\"1.1.2\",e.$=n,e.noConflict=function(){return t.Backbone=r,this},e.emulateHTTP=!1,e.emulateJSON=!1;var a=e.Events={on:function(t,e,i){if(!u(this,\"on\",t,[e,i])||!e)return this;this._events||(this._events={});var n=this._events[t]||(this._events[t]=[]);return n.push({callback:e,context:i,ctx:i||this}),this},once:function(t,e,n){if(!u(this,\"once\",t,[e,n])||!e)return this;var r=this,s=i.once(function(){r.off(t,s),e.apply(this,arguments)});return s._callback=e,this.on(t,s,n)},off:function(t,e,n){var r,s,o,a,l,h,c,p;if(!this._events||!u(this,\"off\",t,[e,n]))return this;if(!t&&!e&&!n)return this._events=void 0,this;for(a=t?[t]:i.keys(this._events),l=0,h=a.length;h>l;l++)if(t=a[l],o=this._events[t]){if(this._events[t]=r=[],e||n)for(c=0,p=o.length;p>c;c++)s=o[c],(e&&e!==s.callback&&e!==s.callback._callback||n&&n!==s.context)&&r.push(s);r.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=o.call(arguments,1);if(!u(this,\"trigger\",t,e))return this;var i=this._events[t],n=this._events.all;return i&&h(i,e),n&&h(n,arguments),this},stopListening:function(t,e,n){var r=this._listeningTo;if(!r)return this;var s=!e&&!n;n||\"object\"!=typeof e||(n=this),t&&((r={})[t._listenId]=t);for(var o in r)t=r[o],t.off(e,n,this),(s||i.isEmpty(t._events))&&delete this._listeningTo[o];return this}},l=/\\s+/,u=function(t,e,i,n){if(!i)return!0;if(\"object\"==typeof i){for(var r in i)t[e].apply(t,[r,i[r]].concat(n));return!1}if(l.test(i)){for(var s=i.split(l),o=0,a=s.length;a>o;o++)t[e].apply(t,[s[o]].concat(n));return!1}return!0},h=function(t,e){var i,n=-1,r=t.length,s=e[0],o=e[1],a=e[2];switch(e.length){case 0:for(;++n<r;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n<r;)(i=t[n]).callback.call(i.ctx,s);return;case 2:for(;++n<r;)(i=t[n]).callback.call(i.ctx,s,o);return;case 3:for(;++n<r;)(i=t[n]).callback.call(i.ctx,s,o,a);return;default:for(;++n<r;)(i=t[n]).callback.apply(i.ctx,e);return}},c={listenTo:\"on\",listenToOnce:\"once\"};i.each(c,function(t,e){a[e]=function(e,n,r){var s=this._listeningTo||(this._listeningTo={}),o=e._listenId||(e._listenId=i.uniqueId(\"l\"));return s[o]=e,r||\"object\"!=typeof n||(r=this),e[t](n,r,this),this}}),a.bind=a.on,a.unbind=a.off,i.extend(e,a);var p=e.Model=function(t,e){var n=t||{};e||(e={}),this.cid=i.uniqueId(\"c\"),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(n=this.parse(n,e)||{}),n=i.defaults({},n,i.result(this,\"defaults\")),this.set(n,e),this.changed={},this.initialize.apply(this,arguments)};i.extend(p.prototype,a,{changed:null,validationError:null,idAttribute:\"id\",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return null!=this.get(t)},set:function(t,e,n){var r,s,o,a,l,u,h,c;if(null==t)return this;if(\"object\"==typeof t?(s=t,n=e):(s={})[t]=e,n||(n={}),!this._validate(s,n))return!1;o=n.unset,l=n.silent,a=[],u=this._changing,this._changing=!0,u||(this._previousAttributes=i.clone(this.attributes),this.changed={}),c=this.attributes,h=this._previousAttributes,this.idAttribute in s&&(this.id=s[this.idAttribute]);for(r in s)e=s[r],i.isEqual(c[r],e)||a.push(r),i.isEqual(h[r],e)?delete this.changed[r]:this.changed[r]=e,o?delete c[r]:c[r]=e;if(!l){a.length&&(this._pending=n);for(var p=0,d=a.length;d>p;p++)this.trigger(\"change:\"+a[p],this,c[a[p]],n)}if(u)return this;if(!l)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger(\"change\",this,n);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var n in this.attributes)e[n]=void 0;return this.set(e,i.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!i.isEmpty(this.changed):i.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?i.clone(this.changed):!1;var e,n=!1,r=this._changing?this._previousAttributes:this.attributes;for(var s in t)i.isEqual(r[s],e=t[s])||((n||(n={}))[s]=e);return n},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=t?i.clone(t):{},void 0===t.parse&&(t.parse=!0);var e=this,n=t.success;return t.success=function(i){return e.set(e.parse(i,t),t)?(n&&n(e,i,t),void e.trigger(\"sync\",e,i,t)):!1},O(this,t),this.sync(\"read\",this,t)},save:function(t,e,n){var r,s,o,a=this.attributes;if(null==t||\"object\"==typeof t?(r=t,n=e):(r={})[t]=e,n=i.extend({validate:!0},n),r&&!n.wait){if(!this.set(r,n))return!1}else if(!this._validate(r,n))return!1;r&&n.wait&&(this.attributes=i.extend({},a,r)),void 0===n.parse&&(n.parse=!0);var l=this,u=n.success;return n.success=function(t){l.attributes=a;var e=l.parse(t,n);return n.wait&&(e=i.extend(r||{},e)),i.isObject(e)&&!l.set(e,n)?!1:(u&&u(l,t,n),void l.trigger(\"sync\",l,t,n))},O(this,n),s=this.isNew()?\"create\":n.patch?\"patch\":\"update\",\"patch\"===s&&(n.attrs=r),o=this.sync(s,this,n),r&&n.wait&&(this.attributes=a),o},destroy:function(t){t=t?i.clone(t):{};var e=this,n=t.success,r=function(){e.trigger(\"destroy\",e,e.collection,t)};if(t.success=function(i){(t.wait||e.isNew())&&r(),n&&n(e,i,t),e.isNew()||e.trigger(\"sync\",e,i,t)},this.isNew())return t.success(),!1;O(this,t);var s=this.sync(\"delete\",this,t);return t.wait||r(),s},url:function(){var t=i.result(this,\"urlRoot\")||i.result(this.collection,\"url\")||j();return this.isNew()?t:t.replace(/([^\\/])$/,\"$1/\")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend(t||{},{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=i.extend({},this.attributes,t);var n=this.validationError=this.validate(t,e)||null;return n?(this.trigger(\"invalid\",this,n,i.extend(e,{validationError:n})),!1):!0}});var d=[\"keys\",\"values\",\"pairs\",\"invert\",\"pick\",\"omit\"];i.each(d,function(t){p.prototype[t]=function(){var e=o.call(arguments);return e.unshift(this.attributes),i[t].apply(i,e)}});var f=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,i.extend({silent:!0},e))},g={add:!0,remove:!0,merge:!0},m={add:!0,remove:!1};i.extend(f.prototype,a,{model:p,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:!1},e,m))},remove:function(t,e){var n=!i.isArray(t);t=n?[t]:i.clone(t),e||(e={});var r,s,o,a;for(r=0,s=t.length;s>r;r++)a=t[r]=this.get(t[r]),a&&(delete this._byId[a.id],delete this._byId[a.cid],o=this.indexOf(a),this.models.splice(o,1),this.length--,e.silent||(e.index=o,a.trigger(\"remove\",a,this,e)),this._removeReference(a,e));return n?t[0]:t},set:function(t,e){e=i.defaults({},e,g),e.parse&&(t=this.parse(t,e));var n=!i.isArray(t);t=n?t?[t]:[]:i.clone(t);var r,s,o,a,l,u,h,c=e.at,d=this.model,f=this.comparator&&null==c&&e.sort!==!1,m=i.isString(this.comparator)?this.comparator:null,_=[],v=[],y={},b=e.add,w=e.merge,x=e.remove,k=!f&&b&&x?[]:!1;for(r=0,s=t.length;s>r;r++){if(l=t[r]||{},o=l instanceof p?a=l:l[d.prototype.idAttribute||\"id\"],u=this.get(o))x&&(y[u.cid]=!0),w&&(l=l===a?a.attributes:l,e.parse&&(l=u.parse(l,e)),u.set(l,e),f&&!h&&u.hasChanged(m)&&(h=!0)),t[r]=u;else if(b){if(a=t[r]=this._prepareModel(l,e),!a)continue;_.push(a),this._addReference(a,e)}a=u||a,!k||!a.isNew()&&y[a.id]||k.push(a),y[a.id]=!0}if(x){for(r=0,s=this.length;s>r;++r)y[(a=this.models[r]).cid]||v.push(a);v.length&&this.remove(v,e)}if(_.length||k&&k.length)if(f&&(h=!0),this.length+=_.length,null!=c)for(r=0,s=_.length;s>r;r++)this.models.splice(c+r,0,_[r]);else{k&&(this.models.length=0);var M=k||_;for(r=0,s=M.length;s>r;r++)this.models.push(M[r])}if(h&&this.sort({silent:!0}),!e.silent){for(r=0,s=_.length;s>r;r++)(a=_[r]).trigger(\"add\",a,this,e);(h||k&&k.length)&&this.trigger(\"sort\",this,e)}return n?t[0]:t},reset:function(t,e){e||(e={});for(var n=0,r=this.models.length;r>n;n++)this._removeReference(this.models[n],e);return e.previousModels=this.models,this._reset(),t=this.add(t,i.extend({silent:!0},e)),e.silent||this.trigger(\"reset\",this,e),t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t),e},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t),e},slice:function(){return o.apply(this.models,arguments)},get:function(t){return null==t?void 0:this._byId[t]||this._byId[t.id]||this._byId[t.cid]},at:function(t){return this.models[t]},where:function(t,e){return i.isEmpty(t)?e?void 0:[]:this[e?\"find\":\"filter\"](function(e){for(var i in t)if(t[i]!==e.get(i))return!1;return!0})},findWhere:function(t){return this.where(t,!0)},sort:function(t){if(!this.comparator)throw new Error(\"Cannot sort a set without a comparator\");return t||(t={}),i.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(i.bind(this.comparator,this)),t.silent||this.trigger(\"sort\",this,t),this},pluck:function(t){return i.invoke(this.models,\"get\",t)},fetch:function(t){t=t?i.clone(t):{},void 0===t.parse&&(t.parse=!0);var e=t.success,n=this;return t.success=function(i){var r=t.reset?\"reset\":\"set\";n[r](i,t),e&&e(n,i,t),n.trigger(\"sync\",n,i,t)},O(this,t),this.sync(\"read\",this,t)},create:function(t,e){if(e=e?i.clone(e):{},!(t=this._prepareModel(t,e)))return!1;e.wait||this.add(t,e);var n=this,r=e.success;return e.success=function(t,i){e.wait&&n.add(t,e),r&&r(t,i,e)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(t instanceof p)return t;e=e?i.clone(e):{},e.collection=this;var n=new this.model(t,e);return n.validationError?(this.trigger(\"invalid\",this,n.validationError,e),!1):n},_addReference:function(t,e){this._byId[t.cid]=t,null!=t.id&&(this._byId[t.id]=t),t.collection||(t.collection=this),t.on(\"all\",this._onModelEvent,this)},_removeReference:function(t,e){this===t.collection&&delete t.collection,t.off(\"all\",this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){(\"add\"!==t&&\"remove\"!==t||i===this)&&(\"destroy\"===t&&this.remove(e,n),e&&t===\"change:\"+e.idAttribute&&(delete this._byId[e.previous(e.idAttribute)],null!=e.id&&(this._byId[e.id]=e)),this.trigger.apply(this,arguments))}});var _=[\"forEach\",\"each\",\"map\",\"collect\",\"reduce\",\"foldl\",\"inject\",\"reduceRight\",\"foldr\",\"find\",\"detect\",\"filter\",\"select\",\"reject\",\"every\",\"all\",\"some\",\"any\",\"include\",\"contains\",\"invoke\",\"max\",\"min\",\"toArray\",\"size\",\"first\",\"head\",\"take\",\"initial\",\"rest\",\"tail\",\"drop\",\"last\",\"without\",\"difference\",\"indexOf\",\"shuffle\",\"lastIndexOf\",\"isEmpty\",\"chain\",\"sample\"];i.each(_,function(t){f.prototype[t]=function(){var e=o.call(arguments);return e.unshift(this.models),i[t].apply(i,e)}});var v=[\"groupBy\",\"countBy\",\"sortBy\",\"indexBy\"];i.each(v,function(t){f.prototype[t]=function(e,n){var r=i.isFunction(e)?e:function(t){return t.get(e)};return i[t](this.models,r,n)}});var y=e.View=function(t){this.cid=i.uniqueId(\"view\"),t||(t={}),i.extend(this,i.pick(t,w)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},b=/^(\\S+)\\s*(.*)$/,w=[\"model\",\"collection\",\"el\",\"id\",\"attributes\",\"className\",\"tagName\",\"events\"];i.extend(y.prototype,a,{tagName:\"div\",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(t,i){return this.$el&&this.undelegateEvents(),this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0],i!==!1&&this.delegateEvents(),this},delegateEvents:function(t){if(!t&&!(t=i.result(this,\"events\")))return this;this.undelegateEvents();for(var e in t){var n=t[e];if(i.isFunction(n)||(n=this[t[e]]),n){var r=e.match(b),s=r[1],o=r[2];n=i.bind(n,this),s+=\".delegateEvents\"+this.cid,\"\"===o?this.$el.on(s,n):this.$el.on(s,o,n)}}return this},undelegateEvents:function(){return this.$el.off(\".delegateEvents\"+this.cid),this},_ensureElement:function(){if(this.el)this.setElement(i.result(this,\"el\"),!1);else{var t=i.extend({},i.result(this,\"attributes\"));this.id&&(t.id=i.result(this,\"id\")),this.className&&(t[\"class\"]=i.result(this,\"className\"));var n=e.$(\"<\"+i.result(this,\"tagName\")+\">\").attr(t);this.setElement(n,!1)}}}),e.sync=function(t,n,r){var s=k[t];i.defaults(r||(r={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var o={type:s,dataType:\"json\"};if(r.url||(o.url=i.result(n,\"url\")||j()),null!=r.data||!n||\"create\"!==t&&\"update\"!==t&&\"patch\"!==t||(o.contentType=\"application/json\",o.data=JSON.stringify(r.attrs||n.toJSON(r))),r.emulateJSON&&(o.contentType=\"application/x-www-form-urlencoded\",o.data=o.data?{model:o.data}:{}),r.emulateHTTP&&(\"PUT\"===s||\"DELETE\"===s||\"PATCH\"===s)){o.type=\"POST\",r.emulateJSON&&(o.data._method=s);var a=r.beforeSend;r.beforeSend=function(t){return t.setRequestHeader(\"X-HTTP-Method-Override\",s),a?a.apply(this,arguments):void 0}}\"GET\"===o.type||r.emulateJSON||(o.processData=!1),\"PATCH\"===o.type&&x&&(o.xhr=function(){return new ActiveXObject(\"Microsoft.XMLHTTP\")});var l=r.xhr=e.ajax(i.extend(o,r));return n.trigger(\"request\",n,l,r),l};var x=!(\"undefined\"==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent),k={create:\"POST\",update:\"PUT\",patch:\"PATCH\",\"delete\":\"DELETE\",read:\"GET\"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var M=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},C=/\\((.*?)\\)/g,D=/(\\(\\?)?:\\w+/g,T=/\\*\\w+/g,S=/[\\-{}\\[\\]+?.,\\\\\\^$|#\\s]/g;i.extend(M.prototype,a,{initialize:function(){},route:function(t,n,r){i.isRegExp(t)||(t=this._routeToRegExp(t)),i.isFunction(n)&&(r=n,n=\"\"),r||(r=this[n]);var s=this;return e.history.route(t,function(i){var o=s._extractParameters(t,i);s.execute(r,o),s.trigger.apply(s,[\"route:\"+n].concat(o)),s.trigger(\"route\",n,o),e.history.trigger(\"route\",s,n,o)}),this},execute:function(t,e){t&&t.apply(this,e)},navigate:function(t,i){return e.history.navigate(t,i),this},_bindRoutes:function(){if(this.routes){this.routes=i.result(this,\"routes\");for(var t,e=i.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(S,\"\\\\$&\").replace(C,\"(?:$1)?\").replace(D,function(t,e){return e?t:\"([^/?]+)\"}).replace(T,\"([^?]*?)\"),new RegExp(\"^\"+t+\"(?:\\\\?([\\\\s\\\\S]*))?$\")},_extractParameters:function(t,e){var n=t.exec(e).slice(1);return i.map(n,function(t,e){return e===n.length-1?t||null:t?decodeURIComponent(t):null})}});var A=e.History=function(){this.handlers=[],i.bindAll(this,\"checkUrl\"),\"undefined\"!=typeof window&&(this.location=window.location,this.history=window.history)},P=/^[#\\/]|\\s+$/g,E=/^\\/+|\\/+$/g,I=/msie [\\w.]+/,N=/\\/$/,R=/#.*$/;A.started=!1,i.extend(A.prototype,a,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\\/]$/,\"$&/\")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:\"\"},getFragment:function(t,e){if(null==t)if(this._hasPushState||!this._wantsHashChange||e){t=decodeURI(this.location.pathname+this.location.search);var i=this.root.replace(N,\"\");t.indexOf(i)||(t=t.slice(i.length))}else t=this.getHash();return t.replace(P,\"\")},start:function(t){if(A.started)throw new Error(\"Backbone.history has already been started\");A.started=!0,this.options=i.extend({root:\"/\"},this.options,t),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var n=this.getFragment(),r=document.documentMode,s=I.exec(navigator.userAgent.toLowerCase())&&(!r||7>=r);if(this.root=(\"/\"+this.root+\"/\").replace(E,\"/\"),s&&this._wantsHashChange){var o=e.$('<iframe src=\"javascript:0\" tabindex=\"-1\">');this.iframe=o.hide().appendTo(\"body\")[0].contentWindow,this.navigate(n)}this._hasPushState?e.$(window).on(\"popstate\",this.checkUrl):this._wantsHashChange&&\"onhashchange\"in window&&!s?e.$(window).on(\"hashchange\",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=n;var a=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+\"#\"+this.fragment),!0;this._hasPushState&&this.atRoot()&&a.hash&&(this.fragment=this.getHash().replace(P,\"\"),this.history.replaceState({},document.title,this.root+this.fragment))}return this.options.silent?void 0:this.loadUrl()},stop:function(){e.$(window).off(\"popstate\",this.checkUrl).off(\"hashchange\",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),A.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();return e===this.fragment&&this.iframe&&(e=this.getFragment(this.getHash(this.iframe))),e===this.fragment?!1:(this.iframe&&this.navigate(e),void this.loadUrl())},loadUrl:function(t){return t=this.fragment=this.getFragment(t),i.any(this.handlers,function(e){return e.route.test(t)?(e.callback(t),!0):void 0})},navigate:function(t,e){if(!A.started)return!1;e&&e!==!0||(e={trigger:!!e});var i=this.root+(t=this.getFragment(t||\"\"));if(t=t.replace(R,\"\"),this.fragment!==t){if(this.fragment=t,\"\"===t&&\"/\"!==i&&(i=i.slice(0,-1)),this._hasPushState)this.history[e.replace?\"replaceState\":\"pushState\"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getFragment(this.getHash(this.iframe))&&(e.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,t,e.replace))}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){if(i){var n=t.href.replace(/(javascript:|#).*$/,\"\");t.replace(n+\"#\"+e)}else t.hash=\"#\"+e}}),e.history=new A;var z=function(t,e){var n,r=this;n=t&&i.has(t,\"constructor\")?t.constructor:function(){return r.apply(this,arguments)},i.extend(n,r,e);var s=function(){this.constructor=n};return s.prototype=r.prototype,n.prototype=new s,t&&i.extend(n.prototype,t),n.__super__=r.prototype,n};p.extend=f.extend=M.extend=y.extend=A.extend=z;var j=function(){throw new Error('A \"url\" property or function must be specified')},O=function(t,e){var i=e.error;e.error=function(n){i&&i(t,n,e),t.trigger(\"error\",t,n,e)}};return e})},{underscore:92}],3:[function(t,e,i){!function(t,i,n,r){\"use strict\";function s(t,e,i){return setTimeout(c(t,i),e)}function o(t,e,i){return Array.isArray(t)?(a(t,i[e],i),!0):!1}function a(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==r)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function l(t,e,i){for(var n=Object.keys(e),s=0;s<n.length;)(!i||i&&t[n[s]]===r)&&(t[n[s]]=e[n[s]]),s++;return t}function u(t,e){return l(t,e,!0)}function h(t,e,i){var n,r=e.prototype;n=t.prototype=Object.create(r),n.constructor=t,n._super=r,i&&l(n,i)}function c(t,e){return function(){return t.apply(e,arguments)}}function p(t,e){return typeof t==ct?t.apply(e?e[0]||r:r,e):t}function d(t,e){return t===r?e:t}function f(t,e,i){a(v(e),function(e){t.addEventListener(e,i,!1)})}function g(t,e,i){a(v(e),function(e){t.removeEventListener(e,i,!1)})}function m(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function _(t,e){return t.indexOf(e)>-1}function v(t){return t.trim().split(/\\s+/g)}function y(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function b(t){return Array.prototype.slice.call(t,0)}function w(t,e,i){for(var n=[],r=[],s=0;s<t.length;){var o=e?t[s][e]:t[s];y(r,o)<0&&n.push(t[s]),r[s]=o,s++}return i&&(n=e?n.sort(function(t,i){return t[e]>i[e]}):n.sort()),n}function x(t,e){for(var i,n,s=e[0].toUpperCase()+e.slice(1),o=0;o<ut.length;){if(i=ut[o],n=i?i+s:e,n in t)return n;o++}return r}function k(){return gt++}function M(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function C(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){p(t.options.enable,[t])&&i.handler(e)},this.init()}function D(t){var e,i=t.options.inputClass;return new(e=i?i:vt?H:yt?q:_t?V:L)(t,T)}function T(t,e,i){var n=i.pointers.length,r=i.changedPointers.length,s=e&Ct&&n-r===0,o=e&(Tt|St)&&n-r===0;i.isFirst=!!s,i.isFinal=!!o,s&&(t.session={}),i.eventType=e,S(t,i),t.emit(\"hammer.input\",i),t.recognize(i),t.session.prevInput=i}function S(t,e){var i=t.session,n=e.pointers,r=n.length;i.firstInput||(i.firstInput=E(e)),r>1&&!i.firstMultiple?i.firstMultiple=E(e):1===r&&(i.firstMultiple=!1);var s=i.firstInput,o=i.firstMultiple,a=o?o.center:s.center,l=e.center=I(n);e.timeStamp=ft(),e.deltaTime=e.timeStamp-s.timeStamp,e.angle=j(a,l),e.distance=z(a,l),A(i,e),e.offsetDirection=R(e.deltaX,e.deltaY),e.scale=o?F(o.pointers,n):1,e.rotation=o?O(o.pointers,n):0,P(i,e);var u=t.element;m(e.srcEvent.target,u)&&(u=e.srcEvent.target),e.target=u}function A(t,e){var i=e.center,n=t.offsetDelta||{},r=t.prevDelta||{},s=t.prevInput||{};(e.eventType===Ct||s.eventType===Tt)&&(r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=r.x+(i.x-n.x),e.deltaY=r.y+(i.y-n.y)}function P(t,e){var i,n,s,o,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=St&&(l>Mt||a.velocity===r)){var u=a.deltaX-e.deltaX,h=a.deltaY-e.deltaY,c=N(l,u,h);n=c.x,s=c.y,i=dt(c.x)>dt(c.y)?c.x:c.y,o=R(u,h),t.lastInterval=e}else i=a.velocity,n=a.velocityX,s=a.velocityY,o=a.direction;e.velocity=i,e.velocityX=n,e.velocityY=s,e.direction=o}function E(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:pt(t.pointers[i].clientX),clientY:pt(t.pointers[i].clientY)},i++;return{timeStamp:ft(),pointers:e,center:I(e),deltaX:t.deltaX,deltaY:t.deltaY}}function I(t){var e=t.length;if(1===e)return{x:pt(t[0].clientX),y:pt(t[0].clientY)};for(var i=0,n=0,r=0;e>r;)i+=t[r].clientX,n+=t[r].clientY,r++;return{x:pt(i/e),y:pt(n/e)}}function N(t,e,i){return{x:e/t||0,y:i/t||0}}function R(t,e){return t===e?At:dt(t)>=dt(e)?t>0?Pt:Et:e>0?It:Nt}function z(t,e,i){i||(i=Ot);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function j(t,e,i){i||(i=Ot);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return 180*Math.atan2(r,n)/Math.PI}function O(t,e){return j(e[1],e[0],Ft)-j(t[1],t[0],Ft)}function F(t,e){return z(e[0],e[1],Ft)/z(t[0],t[1],Ft)}function L(){this.evEl=Ht,this.evWin=Bt,this.allow=!0,this.pressed=!1,C.apply(this,arguments)}function H(){this.evEl=Yt,this.evWin=Vt,C.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function B(){this.evTarget=Ut,this.evWin=Gt,this.started=!1,C.apply(this,arguments)}function W(t,e){var i=b(t.touches),n=b(t.changedTouches);return e&(Tt|St)&&(i=w(i.concat(n),\"identifier\",!0)),[i,n]}function q(){this.evTarget=Zt,this.targetIds={},C.apply(this,arguments)}function Y(t,e){var i=b(t.touches),n=this.targetIds;if(e&(Ct|Dt)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var r,s,o=b(t.changedTouches),a=[],l=this.target;if(s=i.filter(function(t){return m(t.target,l)}),e===Ct)for(r=0;r<s.length;)n[s[r].identifier]=!0,r++;for(r=0;r<o.length;)n[o[r].identifier]&&a.push(o[r]),e&(Tt|St)&&delete n[o[r].identifier],r++;return a.length?[w(s.concat(a),\"identifier\",!0),a]:void 0}function V(){C.apply(this,arguments);var t=c(this.handler,this);this.touch=new q(this.manager,t),this.mouse=new L(this.manager,t)}function $(t,e){this.manager=t,this.set(e)}function U(t){if(_(t,ie))return ie;var e=_(t,ne),i=_(t,re);return e&&i?ne+\" \"+re:e||i?e?ne:re:_(t,ee)?ee:te}function G(t){this.id=k(),this.manager=null,this.options=u(t||{},this.defaults),this.options.enable=d(this.options.enable,!0),this.state=se,this.simultaneous={},this.requireFail=[]}function X(t){return t&he?\"cancel\":t&le?\"end\":t&ae?\"move\":t&oe?\"start\":\"\"}function Z(t){return t==Nt?\"down\":t==It?\"up\":t==Pt?\"left\":t==Et?\"right\":\"\"}function J(t,e){var i=e.manager;return i?i.get(t):t}function Q(){G.apply(this,arguments)}function K(){Q.apply(this,arguments),this.pX=null,this.pY=null}function tt(){Q.apply(this,arguments)}function et(){G.apply(this,arguments),this._timer=null,this._input=null}function it(){Q.apply(this,arguments)}function nt(){Q.apply(this,arguments)}function rt(){G.apply(this,arguments),this.pTime=!1,\n",
       "        this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function st(t,e){return e=e||{},e.recognizers=d(e.recognizers,st.defaults.preset),new ot(t,e)}function ot(t,e){e=e||{},this.options=u(e,st.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=D(this),this.touchAction=new $(this,this.options.touchAction),at(this,!0),a(e.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function at(t,e){var i=t.element;a(t.options.cssProps,function(t,n){i.style[x(i.style,n)]=e?t:\"\"})}function lt(t,e){var n=i.createEvent(\"Event\");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var ut=[\"\",\"webkit\",\"moz\",\"MS\",\"ms\",\"o\"],ht=i.createElement(\"div\"),ct=\"function\",pt=Math.round,dt=Math.abs,ft=Date.now,gt=1,mt=/mobile|tablet|ip(ad|hone|od)|android/i,_t=\"ontouchstart\"in t,vt=x(t,\"PointerEvent\")!==r,yt=_t&&mt.test(navigator.userAgent),bt=\"touch\",wt=\"pen\",xt=\"mouse\",kt=\"kinect\",Mt=25,Ct=1,Dt=2,Tt=4,St=8,At=1,Pt=2,Et=4,It=8,Nt=16,Rt=Pt|Et,zt=It|Nt,jt=Rt|zt,Ot=[\"x\",\"y\"],Ft=[\"clientX\",\"clientY\"];C.prototype={handler:function(){},init:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(M(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&g(this.element,this.evEl,this.domHandler),this.evTarget&&g(this.target,this.evTarget,this.domHandler),this.evWin&&g(M(this.element),this.evWin,this.domHandler)}};var Lt={mousedown:Ct,mousemove:Dt,mouseup:Tt},Ht=\"mousedown\",Bt=\"mousemove mouseup\";h(L,C,{handler:function(t){var e=Lt[t.type];e&Ct&&0===t.button&&(this.pressed=!0),e&Dt&&1!==t.which&&(e=Tt),this.pressed&&this.allow&&(e&Tt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:xt,srcEvent:t}))}});var Wt={pointerdown:Ct,pointermove:Dt,pointerup:Tt,pointercancel:St,pointerout:St},qt={2:bt,3:wt,4:xt,5:kt},Yt=\"pointerdown\",Vt=\"pointermove pointerup pointercancel\";t.MSPointerEvent&&(Yt=\"MSPointerDown\",Vt=\"MSPointerMove MSPointerUp MSPointerCancel\"),h(H,C,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace(\"ms\",\"\"),r=Wt[n],s=qt[t.pointerType]||t.pointerType,o=s==bt,a=y(e,t.pointerId,\"pointerId\");r&Ct&&(0===t.button||o)?0>a&&(e.push(t),a=e.length-1):r&(Tt|St)&&(i=!0),0>a||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:s,srcEvent:t}),i&&e.splice(a,1))}});var $t={touchstart:Ct,touchmove:Dt,touchend:Tt,touchcancel:St},Ut=\"touchstart\",Gt=\"touchstart touchmove touchend touchcancel\";h(B,C,{handler:function(t){var e=$t[t.type];if(e===Ct&&(this.started=!0),this.started){var i=W.call(this,t,e);e&(Tt|St)&&i[0].length-i[1].length===0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:bt,srcEvent:t})}}});var Xt={touchstart:Ct,touchmove:Dt,touchend:Tt,touchcancel:St},Zt=\"touchstart touchmove touchend touchcancel\";h(q,C,{handler:function(t){var e=Xt[t.type],i=Y.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:bt,srcEvent:t})}}),h(V,C,{handler:function(t,e,i){var n=i.pointerType==bt,r=i.pointerType==xt;if(n)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;e&(Tt|St)&&(this.mouse.allow=!0),this.callback(t,e,i)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Jt=x(ht.style,\"touchAction\"),Qt=Jt!==r,Kt=\"compute\",te=\"auto\",ee=\"manipulation\",ie=\"none\",ne=\"pan-x\",re=\"pan-y\";$.prototype={set:function(t){t==Kt&&(t=this.compute()),Qt&&(this.manager.element.style[Jt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return a(this.manager.recognizers,function(e){p(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),U(t.join(\" \"))},preventDefaults:function(t){if(!Qt){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var n=this.actions,r=_(n,ie),s=_(n,re),o=_(n,ne);return r||s&&i&Rt||o&&i&zt?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var se=1,oe=2,ae=4,le=8,ue=le,he=16,ce=32;G.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,\"recognizeWith\",this))return this;var e=this.simultaneous;return t=J(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,\"dropRecognizeWith\",this)?this:(t=J(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(o(t,\"requireFailure\",this))return this;var e=this.requireFail;return t=J(t,this),-1===y(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,\"dropRequireFailure\",this))return this;t=J(t,this);var e=y(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){i.manager.emit(i.options.event+(e?X(n):\"\"),t)}var i=this,n=this.state;le>n&&e(!0),e(),n>=le&&e(!0)},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=ce)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(ce|se)))return!1;t++}return!0},recognize:function(t){var e=l({},t);return p(this.options.enable,[this,e])?(this.state&(ue|he|ce)&&(this.state=se),this.state=this.process(e),void(this.state&(oe|ae|le|he)&&this.tryEmit(e))):(this.reset(),void(this.state=ce))},process:function(t){},getTouchAction:function(){},reset:function(){}},h(Q,G,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=e&(oe|ae),r=this.attrTest(t);return n&&(i&St||!r)?e|he:n||r?i&Tt?e|le:e&oe?e|ae:oe:ce}}),h(K,Q,{defaults:{event:\"pan\",threshold:10,pointers:1,direction:jt},getTouchAction:function(){var t=this.options.direction,e=[];return t&Rt&&e.push(re),t&zt&&e.push(ne),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,r=t.direction,s=t.deltaX,o=t.deltaY;return r&e.direction||(e.direction&Rt?(r=0===s?At:0>s?Pt:Et,i=s!=this.pX,n=Math.abs(t.deltaX)):(r=0===o?At:0>o?It:Nt,i=o!=this.pY,n=Math.abs(t.deltaY))),t.direction=r,i&&n>e.threshold&&r&e.direction},attrTest:function(t){return Q.prototype.attrTest.call(this,t)&&(this.state&oe||!(this.state&oe)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Z(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),h(tt,Q,{defaults:{event:\"pinch\",threshold:0,pointers:2},getTouchAction:function(){return[ie]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&oe)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?\"in\":\"out\";this.manager.emit(this.options.event+e,t)}}}),h(et,G,{defaults:{event:\"press\",pointers:1,time:500,threshold:5},getTouchAction:function(){return[te]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(Tt|St)&&!r)this.reset();else if(t.eventType&Ct)this.reset(),this._timer=s(function(){this.state=ue,this.tryEmit()},e.time,this);else if(t.eventType&Tt)return ue;return ce},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ue&&(t&&t.eventType&Tt?this.manager.emit(this.options.event+\"up\",t):(this._input.timeStamp=ft(),this.manager.emit(this.options.event,this._input)))}}),h(it,Q,{defaults:{event:\"rotate\",threshold:0,pointers:2},getTouchAction:function(){return[ie]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&oe)}}),h(nt,Q,{defaults:{event:\"swipe\",threshold:10,velocity:.65,direction:Rt|zt,pointers:1},getTouchAction:function(){return K.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(Rt|zt)?e=t.velocity:i&Rt?e=t.velocityX:i&zt&&(e=t.velocityY),this._super.attrTest.call(this,t)&&i&t.direction&&t.distance>this.options.threshold&&dt(e)>this.options.velocity&&t.eventType&Tt},emit:function(t){var e=Z(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),h(rt,G,{defaults:{event:\"tap\",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[ee]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&Ct&&0===this.count)return this.failTimeout();if(n&&r&&i){if(t.eventType!=Tt)return this.failTimeout();var o=this.pTime?t.timeStamp-this.pTime<e.interval:!0,a=!this.pCenter||z(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t;var l=this.count%e.taps;if(0===l)return this.hasRequireFailures()?(this._timer=s(function(){this.state=ue,this.tryEmit()},e.interval,this),oe):ue}return ce},failTimeout:function(){return this._timer=s(function(){this.state=ce},this.options.interval,this),ce},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ue&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),st.VERSION=\"2.0.4\",st.defaults={domEvents:!1,touchAction:Kt,enable:!0,inputTarget:null,inputClass:null,preset:[[it,{enable:!1}],[tt,{enable:!1},[\"rotate\"]],[nt,{direction:Rt}],[K,{direction:Rt},[\"swipe\"]],[rt],[rt,{event:\"doubletap\",taps:2},[\"tap\"]],[et]],cssProps:{userSelect:\"none\",touchSelect:\"none\",touchCallout:\"none\",contentZooming:\"none\",userDrag:\"none\",tapHighlightColor:\"rgba(0,0,0,0)\"}};var pe=1,de=2;ot.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?de:pe},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&ue)&&(r=e.curRecognizer=null);for(var s=0;s<n.length;)i=n[s],e.stopped===de||r&&i!=r&&!i.canRecognizeWith(r)?i.reset():i.recognize(t),!r&&i.state&(oe|ae|le)&&(r=e.curRecognizer=i),s++}},get:function(t){if(t instanceof G)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(o(t,\"add\",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,\"remove\",this))return this;var e=this.recognizers;return t=this.get(t),e.splice(y(e,t),1),this.touchAction.update(),this},on:function(t,e){var i=this.handlers;return a(v(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this},off:function(t,e){var i=this.handlers;return a(v(t),function(t){e?i[t].splice(y(i[t],e),1):delete i[t]}),this},emit:function(t,e){this.options.domEvents&&lt(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&at(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(st,{INPUT_START:Ct,INPUT_MOVE:Dt,INPUT_END:Tt,INPUT_CANCEL:St,STATE_POSSIBLE:se,STATE_BEGAN:oe,STATE_CHANGED:ae,STATE_ENDED:le,STATE_RECOGNIZED:ue,STATE_CANCELLED:he,STATE_FAILED:ce,DIRECTION_NONE:At,DIRECTION_LEFT:Pt,DIRECTION_RIGHT:Et,DIRECTION_UP:It,DIRECTION_DOWN:Nt,DIRECTION_HORIZONTAL:Rt,DIRECTION_VERTICAL:zt,DIRECTION_ALL:jt,Manager:ot,Input:C,TouchAction:$,TouchInput:q,MouseInput:L,PointerEventInput:H,TouchMouseInput:V,SingleTouchInput:B,Recognizer:G,AttrRecognizer:Q,Tap:rt,Pan:K,Swipe:nt,Pinch:tt,Rotate:it,Press:et,on:f,off:g,each:a,merge:u,extend:l,inherit:h,bindFn:c,prefixed:x}),typeof define==ct&&define.amd?define(function(){return st}):\"undefined\"!=typeof e&&e.exports?e.exports=st:t[n]=st}(window,document,\"Hammer\")},{}],4:[function(t,e,i){!function(t){\"function\"==typeof define&&define.amd?define([\"jquery\"],t):\"object\"==typeof i?e.exports=t:t(jQuery)}(function(t){function e(e){var o=e||window.event,a=l.call(arguments,1),u=0,c=0,p=0,d=0,f=0,g=0;if(e=t.event.fix(o),e.type=\"mousewheel\",\"detail\"in o&&(p=-1*o.detail),\"wheelDelta\"in o&&(p=o.wheelDelta),\"wheelDeltaY\"in o&&(p=o.wheelDeltaY),\"wheelDeltaX\"in o&&(c=-1*o.wheelDeltaX),\"axis\"in o&&o.axis===o.HORIZONTAL_AXIS&&(c=-1*p,p=0),u=0===p?c:p,\"deltaY\"in o&&(p=-1*o.deltaY,u=p),\"deltaX\"in o&&(c=o.deltaX,0===p&&(u=-1*c)),0!==p||0!==c){if(1===o.deltaMode){var m=t.data(this,\"mousewheel-line-height\");u*=m,p*=m,c*=m}else if(2===o.deltaMode){var _=t.data(this,\"mousewheel-page-height\");u*=_,p*=_,c*=_}if(d=Math.max(Math.abs(p),Math.abs(c)),(!s||s>d)&&(s=d,n(o,d)&&(s/=40)),n(o,d)&&(u/=40,c/=40,p/=40),u=Math[u>=1?\"floor\":\"ceil\"](u/s),c=Math[c>=1?\"floor\":\"ceil\"](c/s),p=Math[p>=1?\"floor\":\"ceil\"](p/s),h.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();f=e.clientX-v.left,g=e.clientY-v.top}return e.deltaX=c,e.deltaY=p,e.deltaFactor=s,e.offsetX=f,e.offsetY=g,e.deltaMode=0,a.unshift(e,u,c,p),r&&clearTimeout(r),r=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function i(){s=null}function n(t,e){return h.settings.adjustOldDeltas&&\"mousewheel\"===t.type&&e%120===0}var r,s,o=[\"wheel\",\"mousewheel\",\"DOMMouseScroll\",\"MozMousePixelScroll\"],a=\"onwheel\"in document||document.documentMode>=9?[\"wheel\"]:[\"mousewheel\",\"DomMouseScroll\",\"MozMousePixelScroll\"],l=Array.prototype.slice;if(t.event.fixHooks)for(var u=o.length;u;)t.event.fixHooks[o[--u]]=t.event.mouseHooks;var h=t.event.special.mousewheel={version:\"3.1.12\",setup:function(){if(this.addEventListener)for(var i=a.length;i;)this.addEventListener(a[--i],e,!1);else this.onmousewheel=e;t.data(this,\"mousewheel-line-height\",h.getLineHeight(this)),t.data(this,\"mousewheel-page-height\",h.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=a.length;i;)this.removeEventListener(a[--i],e,!1);else this.onmousewheel=null;t.removeData(this,\"mousewheel-line-height\"),t.removeData(this,\"mousewheel-page-height\")},getLineHeight:function(e){var i=t(e),n=i[\"offsetParent\"in t.fn?\"offsetParent\":\"parent\"]();return n.length||(n=t(\"body\")),parseInt(n.css(\"fontSize\"),10)||parseInt(i.css(\"fontSize\"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind(\"mousewheel\",t):this.trigger(\"mousewheel\")},unmousewheel:function(t){return this.unbind(\"mousewheel\",t)}})})},{}],5:[function(t,e,i){var n=t(\"jquery\");t(\"./core\"),t(\"./widget\"),t(\"./position\"),t(\"./menu\"),function(t,e){t.widget(\"ui.autocomplete\",{version:\"1.10.4\",defaultElement:\"<input>\",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:\"left top\",at:\"left bottom\",collision:\"none\"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,i,n,r=this.element[0].nodeName.toLowerCase(),s=\"textarea\"===r,o=\"input\"===r;this.isMultiLine=s?!0:o?!1:this.element.prop(\"isContentEditable\"),this.valueMethod=this.element[s||o?\"val\":\"text\"],this.isNewMenu=!0,this.element.addClass(\"ui-autocomplete-input\").attr(\"autocomplete\",\"off\"),this._on(this.element,{keydown:function(r){if(this.element.prop(\"readOnly\"))return e=!0,n=!0,void(i=!0);e=!1,n=!1,i=!1;var s=t.ui.keyCode;switch(r.keyCode){case s.PAGE_UP:e=!0,this._move(\"previousPage\",r);break;case s.PAGE_DOWN:e=!0,this._move(\"nextPage\",r);break;case s.UP:e=!0,this._keyEvent(\"previous\",r);break;case s.DOWN:e=!0,this._keyEvent(\"next\",r);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&&(e=!0,r.preventDefault(),this.menu.select(r));break;case s.TAB:this.menu.active&&this.menu.select(r);break;case s.ESCAPE:this.menu.element.is(\":visible\")&&(this._value(this.term),this.close(r),r.preventDefault());break;default:i=!0,this._searchTimeout(r)}},keypress:function(n){if(e)return e=!1,void((!this.isMultiLine||this.menu.element.is(\":visible\"))&&n.preventDefault());if(!i){var r=t.ui.keyCode;switch(n.keyCode){case r.PAGE_UP:this._move(\"previousPage\",n);break;case r.PAGE_DOWN:this._move(\"nextPage\",n);break;case r.UP:this._keyEvent(\"previous\",n);break;case r.DOWN:this._keyEvent(\"next\",n)}}},input:function(t){return n?(n=!1,void t.preventDefault()):void this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=t(\"<ul>\").addClass(\"ui-autocomplete ui-front\").appendTo(this._appendTo()).menu({role:null}).hide().data(\"ui-menu\"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];t(e.target).closest(\".ui-menu-item\").length||this._delay(function(){var e=this;this.document.one(\"mousedown\",function(n){n.target===e.element[0]||n.target===i||t.contains(i,n.target)||e.close()})})},menufocus:function(e,i){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one(\"mousemove\",function(){t(e.target).trigger(e.originalEvent)});var n=i.item.data(\"ui-autocomplete-item\");!1!==this._trigger(\"focus\",e,{item:n})?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value):this.liveRegion.text(n.value)},menuselect:function(t,e){var i=e.item.data(\"ui-autocomplete-item\"),n=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger(\"select\",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=t(\"<span>\",{role:\"status\",\"aria-live\":\"polite\"}).addClass(\"ui-helper-hidden-accessible\").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr(\"autocomplete\")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass(\"ui-autocomplete-input\").removeAttr(\"autocomplete\"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),\"source\"===t&&this._initSource(),\"appendTo\"===t&&this.menu.element.appendTo(this._appendTo()),\"disabled\"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e||(e=this.element.closest(\".ui-front\")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,n=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,n){n(t.ui.autocomplete.filter(e,i.term))}):\"string\"==typeof this.options.source?(i=this.options.source,this.source=function(e,r){n.xhr&&n.xhr.abort(),n.xhr=t.ajax({url:i,data:e,dataType:\"json\",success:function(t){r(t)},error:function(){r([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger(\"search\",e)!==!1?this._search(t):void 0},_search:function(t){this.pending++,this.element.addClass(\"ui-autocomplete-loading\"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return t.proxy(function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this.element.removeClass(\"ui-autocomplete-loading\")},this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger(\"response\",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger(\"open\")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(\":visible\")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger(\"close\",t))},_change:function(t){this.previous!==this._value()&&this._trigger(\"change\",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return\"string\"==typeof e?{label:e,value:e}:t.extend({label:e.label||e.value,value:e.value||e.label},e)})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width(\"\").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var n=this;t.each(i,function(t,i){n._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data(\"ui-autocomplete-item\",e)},_renderItem:function(e,i){return t(\"<li>\").append(t(\"<a>\").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(\":visible\")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(\":visible\"))&&(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g,\"\\\\$&\")},filter:function(e,i){var n=new RegExp(t.ui.autocomplete.escapeRegex(i),\"i\");return t.grep(e,function(t){return n.test(t.label||t.value||t)})}}),t.widget(\"ui.autocomplete\",t.ui.autocomplete,{options:{messages:{noResults:\"No search results.\",results:function(t){return t+(t>1?\" results are\":\" result is\")+\" available, use up and down arrow keys to navigate.\"}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})}(n)},{\"./core\":7,\"./menu\":12,\"./position\":14,\"./widget\":17,jquery:18}],6:[function(t,e,i){var n=t(\"jquery\");t(\"./core\"),t(\"./widget\"),function(t,e){var i,n=\"ui-button ui-widget ui-state-default ui-corner-all\",r=\"ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only\",s=function(){var e=t(this);setTimeout(function(){e.find(\":ui-button\").button(\"refresh\")},1)},o=function(e){var i=e.name,n=e.form,r=t([]);return i&&(i=i.replace(/'/g,\"\\\\'\"),r=n?t(n).find(\"[name='\"+i+\"']\"):t(\"[name='\"+i+\"']\",e.ownerDocument).filter(function(){return!this.form})),r};t.widget(\"ui.button\",{version:\"1.10.4\",defaultElement:\"<button>\",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest(\"form\").unbind(\"reset\"+this.eventNamespace).bind(\"reset\"+this.eventNamespace,s),\"boolean\"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop(\"disabled\"):this.element.prop(\"disabled\",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr(\"title\");var e=this,r=this.options,a=\"checkbox\"===this.type||\"radio\"===this.type,l=a?\"\":\"ui-state-active\";null===r.label&&(r.label=\"input\"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(n).attr(\"role\",\"button\").bind(\"mouseenter\"+this.eventNamespace,function(){r.disabled||this===i&&t(this).addClass(\"ui-state-active\")}).bind(\"mouseleave\"+this.eventNamespace,function(){r.disabled||t(this).removeClass(l)}).bind(\"click\"+this.eventNamespace,function(t){r.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this._on({focus:function(){this.buttonElement.addClass(\"ui-state-focus\")},blur:function(){this.buttonElement.removeClass(\"ui-state-focus\")}}),a&&this.element.bind(\"change\"+this.eventNamespace,function(){e.refresh()}),\"checkbox\"===this.type?this.buttonElement.bind(\"click\"+this.eventNamespace,function(){return r.disabled?!1:void 0}):\"radio\"===this.type?this.buttonElement.bind(\"click\"+this.eventNamespace,function(){if(r.disabled)return!1;t(this).addClass(\"ui-state-active\"),e.buttonElement.attr(\"aria-pressed\",\"true\");var i=e.element[0];o(i).not(i).map(function(){return t(this).button(\"widget\")[0]}).removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\")}):(this.buttonElement.bind(\"mousedown\"+this.eventNamespace,function(){return r.disabled?!1:(t(this).addClass(\"ui-state-active\"),i=this,void e.document.one(\"mouseup\",function(){i=null}))}).bind(\"mouseup\"+this.eventNamespace,function(){return r.disabled?!1:void t(this).removeClass(\"ui-state-active\")}).bind(\"keydown\"+this.eventNamespace,function(e){return r.disabled?!1:void((e.keyCode===t.ui.keyCode.SPACE||e.keyCode===t.ui.keyCode.ENTER)&&t(this).addClass(\"ui-state-active\"))}).bind(\"keyup\"+this.eventNamespace+\" blur\"+this.eventNamespace,function(){t(this).removeClass(\"ui-state-active\")}),this.buttonElement.is(\"a\")&&this.buttonElement.keyup(function(e){e.keyCode===t.ui.keyCode.SPACE&&t(this).click()})),this._setOption(\"disabled\",r.disabled),this._resetButton()},_determineButtonType:function(){var t,e,i;this.element.is(\"[type=checkbox]\")?this.type=\"checkbox\":this.element.is(\"[type=radio]\")?this.type=\"radio\":this.element.is(\"input\")?this.type=\"input\":this.type=\"button\",\"checkbox\"===this.type||\"radio\"===this.type?(t=this.element.parents().last(),e=\"label[for='\"+this.element.attr(\"id\")+\"']\",this.buttonElement=t.find(e),this.buttonElement.length||(t=t.length?t.siblings():this.element.siblings(),this.buttonElement=t.filter(e),this.buttonElement.length||(this.buttonElement=t.find(e))),this.element.addClass(\"ui-helper-hidden-accessible\"),i=this.element.is(\":checked\"),i&&this.buttonElement.addClass(\"ui-state-active\"),this.buttonElement.prop(\"aria-pressed\",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass(\"ui-helper-hidden-accessible\"),this.buttonElement.removeClass(n+\" ui-state-active \"+r).removeAttr(\"role\").removeAttr(\"aria-pressed\").html(this.buttonElement.find(\".ui-button-text\").html()),this.hasTitle||this.buttonElement.removeAttr(\"title\")},_setOption:function(t,e){return this._super(t,e),\"disabled\"===t?(this.element.prop(\"disabled\",!!e),void(e&&this.buttonElement.removeClass(\"ui-state-focus\"))):void this._resetButton()},refresh:function(){var e=this.element.is(\"input, button\")?this.element.is(\":disabled\"):this.element.hasClass(\"ui-button-disabled\");e!==this.options.disabled&&this._setOption(\"disabled\",e),\"radio\"===this.type?o(this.element[0]).each(function(){t(this).is(\":checked\")?t(this).button(\"widget\").addClass(\"ui-state-active\").attr(\"aria-pressed\",\"true\"):t(this).button(\"widget\").removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\")}):\"checkbox\"===this.type&&(this.element.is(\":checked\")?this.buttonElement.addClass(\"ui-state-active\").attr(\"aria-pressed\",\"true\"):this.buttonElement.removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\"))},_resetButton:function(){if(\"input\"===this.type)return void(this.options.label&&this.element.val(this.options.label));var e=this.buttonElement.removeClass(r),i=t(\"<span></span>\",this.document[0]).addClass(\"ui-button-text\").html(this.options.label).appendTo(e.empty()).text(),n=this.options.icons,s=n.primary&&n.secondary,o=[];n.primary||n.secondary?(this.options.text&&o.push(\"ui-button-text-icon\"+(s?\"s\":n.primary?\"-primary\":\"-secondary\")),n.primary&&e.prepend(\"<span class='ui-button-icon-primary ui-icon \"+n.primary+\"'></span>\"),n.secondary&&e.append(\"<span class='ui-button-icon-secondary ui-icon \"+n.secondary+\"'></span>\"),this.options.text||(o.push(s?\"ui-button-icons-only\":\"ui-button-icon-only\"),this.hasTitle||e.attr(\"title\",t.trim(i)))):o.push(\"ui-button-text-only\"),e.addClass(o.join(\" \"))}}),t.widget(\"ui.buttonset\",{version:\"1.10.4\",options:{items:\"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)\"},_create:function(){this.element.addClass(\"ui-buttonset\")},_init:function(){this.refresh()},_setOption:function(t,e){\"disabled\"===t&&this.buttons.button(\"option\",t,e),this._super(t,e)},refresh:function(){var e=\"rtl\"===this.element.css(\"direction\");this.buttons=this.element.find(this.options.items).filter(\":ui-button\").button(\"refresh\").end().not(\":ui-button\").button().end().map(function(){return t(this).button(\"widget\")[0]}).removeClass(\"ui-corner-all ui-corner-left ui-corner-right\").filter(\":first\").addClass(e?\"ui-corner-right\":\"ui-corner-left\").end().filter(\":last\").addClass(e?\"ui-corner-left\":\"ui-corner-right\").end().end()},_destroy:function(){this.element.removeClass(\"ui-buttonset\"),this.buttons.map(function(){return t(this).button(\"widget\")[0]}).removeClass(\"ui-corner-left ui-corner-right\").end().button(\"destroy\")}})}(n)},{\"./core\":7,\"./widget\":17,jquery:18}],7:[function(t,e,i){var n=t(\"jquery\");!function(t,e){function i(e,i){var r,s,o,a=e.nodeName.toLowerCase();return\"area\"===a?(r=e.parentNode,s=r.name,e.href&&s&&\"map\"===r.nodeName.toLowerCase()?(o=t(\"img[usemap=#\"+s+\"]\")[0],!!o&&n(o)):!1):(/input|select|textarea|button|object/.test(a)?!e.disabled:\"a\"===a?e.href||i:i)&&n(e)}function n(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return\"hidden\"===t.css(this,\"visibility\")}).length}var r=0,s=/^ui-id-\\d+$/;t.ui=t.ui||{},t.extend(t.ui,{version:\"1.10.4\",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({focus:function(e){return function(i,n){return\"number\"==typeof i?this.each(function(){var e=this;setTimeout(function(){t(e).focus(),n&&n.call(e)},i)}):e.apply(this,arguments)}}(t.fn.focus),scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css(\"position\"))||/absolute/.test(this.css(\"position\"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,\"position\"))&&/(auto|scroll)/.test(t.css(this,\"overflow\")+t.css(this,\"overflow-y\")+t.css(this,\"overflow-x\"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,\"overflow\")+t.css(this,\"overflow-y\")+t.css(this,\"overflow-x\"))}).eq(0),/fixed/.test(this.css(\"position\"))||!e.length?t(document):e},zIndex:function(i){if(i!==e)return this.css(\"zIndex\",i);if(this.length)for(var n,r,s=t(this[0]);s.length&&s[0]!==document;){if(n=s.css(\"position\"),(\"absolute\"===n||\"relative\"===n||\"fixed\"===n)&&(r=parseInt(s.css(\"zIndex\"),10),!isNaN(r)&&0!==r))return r;s=s.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id=\"ui-id-\"+ ++r)})},removeUniqueId:function(){return this.each(function(){s.test(this.id)&&t(this).removeAttr(\"id\")})}}),t.extend(t.expr[\":\"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,n){return!!t.data(e,n[3])},focusable:function(e){return i(e,!isNaN(t.attr(e,\"tabindex\")))},tabbable:function(e){var n=t.attr(e,\"tabindex\"),r=isNaN(n);return(r||n>=0)&&i(e,!r)}}),t(\"<a>\").outerWidth(1).jquery||t.each([\"Width\",\"Height\"],function(i,n){function r(e,i,n,r){return t.each(s,function(){i-=parseFloat(t.css(e,\"padding\"+this))||0,n&&(i-=parseFloat(t.css(e,\"border\"+this+\"Width\"))||0),r&&(i-=parseFloat(t.css(e,\"margin\"+this))||0);\n",
       "        }),i}var s=\"Width\"===n?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"],o=n.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn[\"inner\"+n]=function(i){return i===e?a[\"inner\"+n].call(this):this.each(function(){t(this).css(o,r(this,i)+\"px\")})},t.fn[\"outer\"+n]=function(e,i){return\"number\"!=typeof e?a[\"outer\"+n].call(this,e):this.each(function(){t(this).css(o,r(this,e,!0,i)+\"px\")})}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t(\"<a>\").data(\"a-b\",\"a\").removeData(\"a-b\").data(\"a-b\")&&(t.fn.removeData=function(e){return function(i){return arguments.length?e.call(this,t.camelCase(i)):e.call(this)}}(t.fn.removeData)),t.ui.ie=!!/msie [\\w.]+/.exec(navigator.userAgent.toLowerCase()),t.support.selectstart=\"onselectstart\"in document.createElement(\"div\"),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?\"selectstart\":\"mousedown\")+\".ui-disableSelection\",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(\".ui-disableSelection\")}}),t.extend(t.ui,{plugin:{add:function(e,i,n){var r,s=t.ui[e].prototype;for(r in n)s.plugins[r]=s.plugins[r]||[],s.plugins[r].push([i,n[r]])},call:function(t,e,i){var n,r=t.plugins[e];if(r&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(n=0;n<r.length;n++)t.options[r[n][0]]&&r[n][1].apply(t.element,i)}},hasScroll:function(e,i){if(\"hidden\"===t(e).css(\"overflow\"))return!1;var n=i&&\"left\"===i?\"scrollLeft\":\"scrollTop\",r=!1;return e[n]>0?!0:(e[n]=1,r=e[n]>0,e[n]=0,r)}})}(n)},{jquery:18}],8:[function(t,e,i){var n=t(\"jquery\");t(\"./core\"),function(t,e){function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId=\"ui-datepicker-div\",this._inlineClass=\"ui-datepicker-inline\",this._appendClass=\"ui-datepicker-append\",this._triggerClass=\"ui-datepicker-trigger\",this._dialogClass=\"ui-datepicker-dialog\",this._disableClass=\"ui-datepicker-disabled\",this._unselectableClass=\"ui-datepicker-unselectable\",this._currentClass=\"ui-datepicker-current-day\",this._dayOverClass=\"ui-datepicker-days-cell-over\",this.regional=[],this.regional[\"\"]={closeText:\"Done\",prevText:\"Prev\",nextText:\"Next\",currentText:\"Today\",monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],weekHeader:\"Wk\",dateFormat:\"mm/dd/yy\",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:\"\"},this._defaults={showOn:\"focus\",showAnim:\"fadeIn\",showOptions:{},defaultDate:null,appendText:\"\",buttonText:\"...\",buttonImage:\"\",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:\"c-10:c+10\",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:\"+10\",minDate:null,maxDate:null,duration:\"fast\",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:\"\",altFormat:\"\",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[\"\"]),this.dpDiv=n(t(\"<div id='\"+this._mainDivId+\"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\"))}function n(e){var i=\"button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a\";return e.delegate(i,\"mouseout\",function(){t(this).removeClass(\"ui-state-hover\"),-1!==this.className.indexOf(\"ui-datepicker-prev\")&&t(this).removeClass(\"ui-datepicker-prev-hover\"),-1!==this.className.indexOf(\"ui-datepicker-next\")&&t(this).removeClass(\"ui-datepicker-next-hover\")}).delegate(i,\"mouseover\",function(){t.datepicker._isDisabledDatepicker(s.inline?e.parent()[0]:s.input[0])||(t(this).parents(\".ui-datepicker-calendar\").find(\"a\").removeClass(\"ui-state-hover\"),t(this).addClass(\"ui-state-hover\"),-1!==this.className.indexOf(\"ui-datepicker-prev\")&&t(this).addClass(\"ui-datepicker-prev-hover\"),-1!==this.className.indexOf(\"ui-datepicker-next\")&&t(this).addClass(\"ui-datepicker-next-hover\"))})}function r(e,i){t.extend(e,i);for(var n in i)null==i[n]&&(e[n]=i[n]);return e}t.extend(t.ui,{datepicker:{version:\"1.10.4\"}});var s,o=\"datepicker\";t.extend(i.prototype,{markerClassName:\"hasDatepicker\",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return r(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var n,r,s;n=e.nodeName.toLowerCase(),r=\"div\"===n||\"span\"===n,e.id||(this.uuid+=1,e.id=\"dp\"+this.uuid),s=this._newInst(t(e),r),s.settings=t.extend({},i||{}),\"input\"===n?this._connectDatepicker(e,s):r&&this._inlineDatepicker(e,s)},_newInst:function(e,i){var r=e[0].id.replace(/([^A-Za-z0-9_\\-])/g,\"\\\\\\\\$1\");return{id:r,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?n(t(\"<div class='\"+this._inlineClass+\" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\")):this.dpDiv}},_connectDatepicker:function(e,i){var n=t(e);i.append=t([]),i.trigger=t([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),t.data(e,o,i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var n,r,s,o=this._get(i,\"appendText\"),a=this._get(i,\"isRTL\");i.append&&i.append.remove(),o&&(i.append=t(\"<span class='\"+this._appendClass+\"'>\"+o+\"</span>\"),e[a?\"before\":\"after\"](i.append)),e.unbind(\"focus\",this._showDatepicker),i.trigger&&i.trigger.remove(),n=this._get(i,\"showOn\"),(\"focus\"===n||\"both\"===n)&&e.focus(this._showDatepicker),(\"button\"===n||\"both\"===n)&&(r=this._get(i,\"buttonText\"),s=this._get(i,\"buttonImage\"),i.trigger=t(this._get(i,\"buttonImageOnly\")?t(\"<img/>\").addClass(this._triggerClass).attr({src:s,alt:r,title:r}):t(\"<button type='button'></button>\").addClass(this._triggerClass).html(s?t(\"<img/>\").attr({src:s,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,s=new Date(2009,11,20),o=this._get(t,\"dateFormat\");o.match(/[DM]/)&&(e=function(t){for(i=0,n=0,r=0;r<t.length;r++)t[r].length>i&&(i=t[r].length,n=r);return n},s.setMonth(e(this._get(t,o.match(/MM/)?\"monthNames\":\"monthNamesShort\"))),s.setDate(e(this._get(t,o.match(/DD/)?\"dayNames\":\"dayNamesShort\"))+20-s.getDay())),t.input.attr(\"size\",this._formatDate(t,s).length)}},_inlineDatepicker:function(e,i){var n=t(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),t.data(e,o,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css(\"display\",\"block\"))},_dialogDatepicker:function(e,i,n,s,a){var l,u,h,c,p,d=this._dialogInst;return d||(this.uuid+=1,l=\"dp\"+this.uuid,this._dialogInput=t(\"<input type='text' id='\"+l+\"' style='position: absolute; top: -100px; width: 0px;'/>\"),this._dialogInput.keydown(this._doKeyDown),t(\"body\").append(this._dialogInput),d=this._dialogInst=this._newInst(this._dialogInput,!1),d.settings={},t.data(this._dialogInput[0],o,d)),r(d.settings,s||{}),i=i&&i.constructor===Date?this._formatDate(d,i):i,this._dialogInput.val(i),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(u=document.documentElement.clientWidth,h=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,p=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[u/2-100+c,h/2-150+p]),this._dialogInput.css(\"left\",this._pos[0]+20+\"px\").css(\"top\",this._pos[1]+\"px\"),d.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],o,d),this},_destroyDatepicker:function(e){var i,n=t(e),r=t.data(e,o);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,o),\"input\"===i?(r.append.remove(),r.trigger.remove(),n.removeClass(this.markerClassName).unbind(\"focus\",this._showDatepicker).unbind(\"keydown\",this._doKeyDown).unbind(\"keypress\",this._doKeyPress).unbind(\"keyup\",this._doKeyUp)):(\"div\"===i||\"span\"===i)&&n.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var i,n,r=t(e),s=t.data(e,o);r.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),\"input\"===i?(e.disabled=!1,s.trigger.filter(\"button\").each(function(){this.disabled=!1}).end().filter(\"img\").css({opacity:\"1.0\",cursor:\"\"})):(\"div\"===i||\"span\"===i)&&(n=r.children(\".\"+this._inlineClass),n.children().removeClass(\"ui-state-disabled\"),n.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").prop(\"disabled\",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,n,r=t(e),s=t.data(e,o);r.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),\"input\"===i?(e.disabled=!0,s.trigger.filter(\"button\").each(function(){this.disabled=!0}).end().filter(\"img\").css({opacity:\"0.5\",cursor:\"default\"})):(\"div\"===i||\"span\"===i)&&(n=r.children(\".\"+this._inlineClass),n.children().addClass(\"ui-state-disabled\"),n.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").prop(\"disabled\",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,o)}catch(i){throw\"Missing instance data for this datepicker\"}},_optionDatepicker:function(i,n,s){var o,a,l,u,h=this._getInst(i);return 2===arguments.length&&\"string\"==typeof n?\"defaults\"===n?t.extend({},t.datepicker._defaults):h?\"all\"===n?t.extend({},h.settings):this._get(h,n):null:(o=n||{},\"string\"==typeof n&&(o={},o[n]=s),void(h&&(this._curInst===h&&this._hideDatepicker(),a=this._getDateDatepicker(i,!0),l=this._getMinMaxDate(h,\"min\"),u=this._getMinMaxDate(h,\"max\"),r(h.settings,o),null!==l&&o.dateFormat!==e&&o.minDate===e&&(h.settings.minDate=this._formatDate(h,l)),null!==u&&o.dateFormat!==e&&o.maxDate===e&&(h.settings.maxDate=this._formatDate(h,u)),\"disabled\"in o&&(o.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(t(i),h),this._autoSize(h),this._setDate(h,a),this._updateAlternate(h),this._updateDatepicker(h))))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,n,r,s=t.datepicker._getInst(e.target),o=!0,a=s.dpDiv.is(\".ui-datepicker-rtl\");if(s._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),o=!1;break;case 13:return r=t(\"td.\"+t.datepicker._dayOverClass+\":not(.\"+t.datepicker._currentClass+\")\",s.dpDiv),r[0]&&t.datepicker._selectDay(e.target,s.selectedMonth,s.selectedYear,r[0]),i=t.datepicker._get(s,\"onSelect\"),i?(n=t.datepicker._formatDate(s),i.apply(s.input?s.input[0]:null,[n,s])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(s,\"stepBigMonths\"):-t.datepicker._get(s,\"stepMonths\"),\"M\");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(s,\"stepBigMonths\"):+t.datepicker._get(s,\"stepMonths\"),\"M\");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),o=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),o=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?1:-1,\"D\"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(s,\"stepBigMonths\"):-t.datepicker._get(s,\"stepMonths\"),\"M\");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,\"D\"),o=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?-1:1,\"D\"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(s,\"stepBigMonths\"):+t.datepicker._get(s,\"stepMonths\"),\"M\");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,\"D\"),o=e.ctrlKey||e.metaKey;break;default:o=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):o=!1;o&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var i,n,r=t.datepicker._getInst(e.target);return t.datepicker._get(r,\"constrainInput\")?(i=t.datepicker._possibleChars(t.datepicker._get(r,\"dateFormat\")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||\" \">n||!i||i.indexOf(n)>-1):void 0},_doKeyUp:function(e){var i,n=t.datepicker._getInst(e.target);if(n.input.val()!==n.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(n,\"dateFormat\"),n.input?n.input.val():null,t.datepicker._getFormatConfig(n)),i&&(t.datepicker._setDateFromField(n),t.datepicker._updateAlternate(n),t.datepicker._updateDatepicker(n))}catch(r){}return!0},_showDatepicker:function(e){if(e=e.target||e,\"input\"!==e.nodeName.toLowerCase()&&(e=t(\"input\",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var i,n,s,o,a,l,u;i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),n=t.datepicker._get(i,\"beforeShow\"),s=n?n.apply(e,[e,i]):{},s!==!1&&(r(i.settings,s),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=\"\"),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),o=!1,t(e).parents().each(function(){return o|=\"fixed\"===t(this).css(\"position\"),!o}),a={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:\"absolute\",display:\"block\",top:\"-1000px\"}),t.datepicker._updateDatepicker(i),a=t.datepicker._checkOffset(i,a,o),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?\"static\":o?\"fixed\":\"absolute\",display:\"none\",left:a.left+\"px\",top:a.top+\"px\"}),i.inline||(l=t.datepicker._get(i,\"showAnim\"),u=t.datepicker._get(i,\"duration\"),i.dpDiv.zIndex(t(e).zIndex()+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[l]?i.dpDiv.show(l,t.datepicker._get(i,\"showOptions\"),u):i.dpDiv[l||\"show\"](l?u:null),t.datepicker._shouldFocusInput(i)&&i.input.focus(),t.datepicker._curInst=i))}},_updateDatepicker:function(e){this.maxRows=4,s=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find(\".\"+this._dayOverClass+\" a\").mouseover();var i,n=this._getNumberOfMonths(e),r=n[1],o=17;e.dpDiv.removeClass(\"ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4\").width(\"\"),r>1&&e.dpDiv.addClass(\"ui-datepicker-multi-\"+r).css(\"width\",o*r+\"em\"),e.dpDiv[(1!==n[0]||1!==n[1]?\"add\":\"remove\")+\"Class\"](\"ui-datepicker-multi\"),e.dpDiv[(this._get(e,\"isRTL\")?\"add\":\"remove\")+\"Class\"](\"ui-datepicker-rtl\"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find(\"select.ui-datepicker-year:first\").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(\":visible\")&&!t.input.is(\":disabled\")&&!t.input.is(\":focus\")},_checkOffset:function(e,i,n){var r=e.dpDiv.outerWidth(),s=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,a=e.input?e.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:t(document).scrollLeft()),u=document.documentElement.clientHeight+(n?0:t(document).scrollTop());return i.left-=this._get(e,\"isRTL\")?r-o:0,i.left-=n&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=n&&i.top===e.input.offset().top+a?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+r>l&&l>r?Math.abs(i.left+r-l):0),i.top-=Math.min(i.top,i.top+s>u&&u>s?Math.abs(s+a):0),i},_findPos:function(e){for(var i,n=this._getInst(e),r=this._get(n,\"isRTL\");e&&(\"hidden\"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[r?\"previousSibling\":\"nextSibling\"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,n,r,s,a=this._curInst;!a||e&&a!==t.data(e,o)||this._datepickerShowing&&(i=this._get(a,\"showAnim\"),n=this._get(a,\"duration\"),r=function(){t.datepicker._tidyDialog(a)},t.effects&&(t.effects.effect[i]||t.effects[i])?a.dpDiv.hide(i,t.datepicker._get(a,\"showOptions\"),n,r):a.dpDiv[\"slideDown\"===i?\"slideUp\":\"fadeIn\"===i?\"fadeOut\":\"hide\"](i?n:null,r),i||r(),this._datepickerShowing=!1,s=this._get(a,\"onClose\"),s&&s.apply(a.input?a.input[0]:null,[a.input?a.input.val():\"\",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:\"absolute\",left:\"0\",top:\"-100px\"}),t.blockUI&&(t.unblockUI(),t(\"body\").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(\".ui-datepicker-calendar\")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),n=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents(\"#\"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest(\".\"+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==n)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,n){var r=t(e),s=this._getInst(r[0]);this._isDisabledDatepicker(r[0])||(this._adjustInstDate(s,i+(\"M\"===n?this._get(s,\"showCurrentAtPos\"):0),n),this._updateDatepicker(s))},_gotoToday:function(e){var i,n=t(e),r=this._getInst(n[0]);this._get(r,\"gotoCurrent\")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(i=new Date,r.selectedDay=i.getDate(),r.drawMonth=r.selectedMonth=i.getMonth(),r.drawYear=r.selectedYear=i.getFullYear()),this._notifyChange(r),this._adjustDate(n)},_selectMonthYear:function(e,i,n){var r=t(e),s=this._getInst(r[0]);s[\"selected\"+(\"M\"===n?\"Month\":\"Year\")]=s[\"draw\"+(\"M\"===n?\"Month\":\"Year\")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(s),this._adjustDate(r)},_selectDay:function(e,i,n,r){var s,o=t(e);t(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||(s=this._getInst(o[0]),s.selectedDay=s.currentDay=t(\"a\",r).html(),s.selectedMonth=s.currentMonth=i,s.selectedYear=s.currentYear=n,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,\"\")},_selectDate:function(e,i){var n,r=t(e),s=this._getInst(r[0]);i=null!=i?i:this._formatDate(s),s.input&&s.input.val(i),this._updateAlternate(s),n=this._get(s,\"onSelect\"),n?n.apply(s.input?s.input[0]:null,[i,s]):s.input&&s.input.trigger(\"change\"),s.inline?this._updateDatepicker(s):(this._hideDatepicker(),this._lastInput=s.input[0],\"object\"!=typeof s.input[0]&&s.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var i,n,r,s=this._get(e,\"altField\");s&&(i=this._get(e,\"altFormat\")||this._get(e,\"dateFormat\"),n=this._getDate(e),r=this.formatDate(i,n,this._getFormatConfig(e)),t(s).each(function(){t(this).val(r)}))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,\"\"]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,n){if(null==e||null==i)throw\"Invalid arguments\";if(i=\"object\"==typeof i?i.toString():i+\"\",\"\"===i)return null;var r,s,o,a,l=0,u=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,h=\"string\"!=typeof u?u:(new Date).getFullYear()%100+parseInt(u,10),c=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,p=(n?n.dayNames:null)||this._defaults.dayNames,d=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,f=(n?n.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,_=-1,v=-1,y=!1,b=function(t){var i=r+1<e.length&&e.charAt(r+1)===t;return i&&r++,i},w=function(t){var e=b(t),n=\"@\"===t?14:\"!\"===t?20:\"y\"===t&&e?4:\"o\"===t?3:2,r=new RegExp(\"^\\\\d{1,\"+n+\"}\"),s=i.substring(l).match(r);if(!s)throw\"Missing number at position \"+l;return l+=s[0].length,parseInt(s[0],10)},x=function(e,n,r){var s=-1,o=t.map(b(e)?r:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(o,function(t,e){var n=e[1];return i.substr(l,n.length).toLowerCase()===n.toLowerCase()?(s=e[0],l+=n.length,!1):void 0}),-1!==s)return s+1;throw\"Unknown name at position \"+l},k=function(){if(i.charAt(l)!==e.charAt(r))throw\"Unexpected literal at position \"+l;l++};for(r=0;r<e.length;r++)if(y)\"'\"!==e.charAt(r)||b(\"'\")?k():y=!1;else switch(e.charAt(r)){case\"d\":_=w(\"d\");break;case\"D\":x(\"D\",c,p);break;case\"o\":v=w(\"o\");break;case\"m\":m=w(\"m\");break;case\"M\":m=x(\"M\",d,f);break;case\"y\":g=w(\"y\");break;case\"@\":a=new Date(w(\"@\")),g=a.getFullYear(),m=a.getMonth()+1,_=a.getDate();break;case\"!\":a=new Date((w(\"!\")-this._ticksTo1970)/1e4),g=a.getFullYear(),m=a.getMonth()+1,_=a.getDate();break;case\"'\":b(\"'\")?k():y=!0;break;default:k()}if(l<i.length&&(o=i.substr(l),!/^\\s+/.test(o)))throw\"Extra/unparsed characters found in date: \"+o;if(-1===g?g=(new Date).getFullYear():100>g&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(h>=g?0:-100)),v>-1)for(m=1,_=v;;){if(s=this._getDaysInMonth(g,m-1),s>=_)break;m++,_-=s}if(a=this._daylightSavingAdjust(new Date(g,m-1,_)),a.getFullYear()!==g||a.getMonth()+1!==m||a.getDate()!==_)throw\"Invalid date\";return a},ATOM:\"yy-mm-dd\",COOKIE:\"D, dd M yy\",ISO_8601:\"yy-mm-dd\",RFC_822:\"D, d M y\",RFC_850:\"DD, dd-M-y\",RFC_1036:\"D, d M y\",RFC_1123:\"D, d M yy\",RFC_2822:\"D, d M yy\",RSS:\"D, d M y\",TICKS:\"!\",TIMESTAMP:\"@\",W3C:\"yy-mm-dd\",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return\"\";var n,r=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,s=(i?i.dayNames:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,a=(i?i.monthNames:null)||this._defaults.monthNames,l=function(e){var i=n+1<t.length&&t.charAt(n+1)===e;return i&&n++,i},u=function(t,e,i){var n=\"\"+e;if(l(t))for(;n.length<i;)n=\"0\"+n;return n},h=function(t,e,i,n){return l(t)?n[e]:i[e]},c=\"\",p=!1;if(e)for(n=0;n<t.length;n++)if(p)\"'\"!==t.charAt(n)||l(\"'\")?c+=t.charAt(n):p=!1;else switch(t.charAt(n)){case\"d\":c+=u(\"d\",e.getDate(),2);break;case\"D\":c+=h(\"D\",e.getDay(),r,s);break;case\"o\":c+=u(\"o\",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case\"m\":c+=u(\"m\",e.getMonth()+1,2);break;case\"M\":c+=h(\"M\",e.getMonth(),o,a);break;case\"y\":c+=l(\"y\")?e.getFullYear():(e.getYear()%100<10?\"0\":\"\")+e.getYear()%100;break;case\"@\":c+=e.getTime();break;case\"!\":c+=1e4*e.getTime()+this._ticksTo1970;break;case\"'\":l(\"'\")?c+=\"'\":p=!0;break;default:c+=t.charAt(n)}return c},_possibleChars:function(t){var e,i=\"\",n=!1,r=function(i){var n=e+1<t.length&&t.charAt(e+1)===i;return n&&e++,n};for(e=0;e<t.length;e++)if(n)\"'\"!==t.charAt(e)||r(\"'\")?i+=t.charAt(e):n=!1;else switch(t.charAt(e)){case\"d\":case\"m\":case\"y\":case\"@\":i+=\"0123456789\";break;case\"D\":case\"M\":return null;case\"'\":r(\"'\")?i+=\"'\":n=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,i){return t.settings[i]!==e?t.settings[i]:this._defaults[i]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,\"dateFormat\"),n=t.lastVal=t.input?t.input.val():null,r=this._getDefaultDate(t),s=r,o=this._getFormatConfig(t);try{s=this.parseDate(i,n,o)||r}catch(a){n=e?\"\":n}t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),t.currentDay=n?s.getDate():0,t.currentMonth=n?s.getMonth():0,t.currentYear=n?s.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,\"defaultDate\"),new Date))},_determineDate:function(e,i,n){var r=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},s=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,\"dateFormat\"),i,t.datepicker._getFormatConfig(e))}catch(n){}for(var r=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,s=r.getFullYear(),o=r.getMonth(),a=r.getDate(),l=/([+\\-]?[0-9]+)\\s*(d|D|w|W|m|M|y|Y)?/g,u=l.exec(i);u;){switch(u[2]||\"d\"){case\"d\":case\"D\":a+=parseInt(u[1],10);break;case\"w\":case\"W\":a+=7*parseInt(u[1],10);break;case\"m\":case\"M\":o+=parseInt(u[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(s,o));break;case\"y\":case\"Y\":s+=parseInt(u[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(s,o))}u=l.exec(i)}return new Date(s,o,a)},o=null==i||\"\"===i?n:\"string\"==typeof i?s(i):\"number\"==typeof i?isNaN(i)?n:r(i):new Date(i.getTime());return o=o&&\"Invalid Date\"===o.toString()?n:o,o&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,r=t.selectedMonth,s=t.selectedYear,o=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=o.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=o.getMonth(),t.drawYear=t.selectedYear=t.currentYear=o.getFullYear(),r===t.selectedMonth&&s===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?\"\":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&\"\"===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,\"stepMonths\"),n=\"#\"+e.id.replace(/\\\\\\\\/g,\"\\\\\");e.dpDiv.find(\"[data-handler]\").map(function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,\"M\")},next:function(){t.datepicker._adjustDate(n,+i,\"M\")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute(\"data-month\"),+this.getAttribute(\"data-year\"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,\"M\"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,\"Y\"),!1}};t(this).bind(this.getAttribute(\"data-event\"),e[this.getAttribute(\"data-handler\")])})},_generateHTML:function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j,O,F,L,H=new Date,B=this._daylightSavingAdjust(new Date(H.getFullYear(),H.getMonth(),H.getDate())),W=this._get(t,\"isRTL\"),q=this._get(t,\"showButtonPanel\"),Y=this._get(t,\"hideIfNoPrevNext\"),V=this._get(t,\"navigationAsDateFormat\"),$=this._getNumberOfMonths(t),U=this._get(t,\"showCurrentAtPos\"),G=this._get(t,\"stepMonths\"),X=1!==$[0]||1!==$[1],Z=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),J=this._getMinMaxDate(t,\"min\"),Q=this._getMinMaxDate(t,\"max\"),K=t.drawMonth-U,tt=t.drawYear;if(0>K&&(K+=12,tt--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-$[0]*$[1]+1,Q.getDate())),e=J&&J>e?J:e;this._daylightSavingAdjust(new Date(tt,K,1))>e;)K--,0>K&&(K=11,tt--);for(t.drawMonth=K,t.drawYear=tt,i=this._get(t,\"prevText\"),i=V?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,K-G,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,K)?\"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='\"+i+\"'><span class='ui-icon ui-icon-circle-triangle-\"+(W?\"e\":\"w\")+\"'>\"+i+\"</span></a>\":Y?\"\":\"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='\"+i+\"'><span class='ui-icon ui-icon-circle-triangle-\"+(W?\"e\":\"w\")+\"'>\"+i+\"</span></a>\",r=this._get(t,\"nextText\"),r=V?this.formatDate(r,this._daylightSavingAdjust(new Date(tt,K+G,1)),this._getFormatConfig(t)):r,s=this._canAdjustMonth(t,1,tt,K)?\"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='\"+r+\"'><span class='ui-icon ui-icon-circle-triangle-\"+(W?\"w\":\"e\")+\"'>\"+r+\"</span></a>\":Y?\"\":\"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='\"+r+\"'><span class='ui-icon ui-icon-circle-triangle-\"+(W?\"w\":\"e\")+\"'>\"+r+\"</span></a>\",o=this._get(t,\"currentText\"),a=this._get(t,\"gotoCurrent\")&&t.currentDay?Z:B,o=V?this.formatDate(o,a,this._getFormatConfig(t)):o,l=t.inline?\"\":\"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>\"+this._get(t,\"closeText\")+\"</button>\",u=q?\"<div class='ui-datepicker-buttonpane ui-widget-content'>\"+(W?l:\"\")+(this._isInRange(t,a)?\"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>\"+o+\"</button>\":\"\")+(W?\"\":l)+\"</div>\":\"\",h=parseInt(this._get(t,\"firstDay\"),10),h=isNaN(h)?0:h,c=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<$[0];x++){for(k=\"\",this.maxRows=4,M=0;M<$[1];M++){if(C=this._daylightSavingAdjust(new Date(tt,K,t.selectedDay)),D=\" ui-corner-all\",T=\"\",X){if(T+=\"<div class='ui-datepicker-group\",$[1]>1)switch(M){case 0:T+=\" ui-datepicker-group-first\",D=\" ui-corner-\"+(W?\"right\":\"left\");break;case $[1]-1:T+=\" ui-datepicker-group-last\",D=\" ui-corner-\"+(W?\"left\":\"right\");break;default:T+=\" ui-datepicker-group-middle\",D=\"\"}T+=\"'>\"}for(T+=\"<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix\"+D+\"'>\"+(/all|left/.test(D)&&0===x?W?s:n:\"\")+(/all|right/.test(D)&&0===x?W?n:s:\"\")+this._generateMonthYearHeader(t,K,tt,J,Q,x>0||M>0,f,g)+\"</div><table class='ui-datepicker-calendar'><thead><tr>\",S=c?\"<th class='ui-datepicker-week-col'>\"+this._get(t,\"weekHeader\")+\"</th>\":\"\",w=0;7>w;w++)A=(w+h)%7,S+=\"<th\"+((w+h+6)%7>=5?\" class='ui-datepicker-week-end'\":\"\")+\"><span title='\"+p[A]+\"'>\"+d[A]+\"</span></th>\";for(T+=S+\"</tr></thead><tbody>\",P=this._getDaysInMonth(tt,K),tt===t.selectedYear&&K===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,P)),E=(this._getFirstDayOfMonth(tt,K)-h+7)%7,I=Math.ceil((E+P)/7),N=X&&this.maxRows>I?this.maxRows:I,this.maxRows=N,R=this._daylightSavingAdjust(new Date(tt,K,1-E)),z=0;N>z;z++){for(T+=\"<tr>\",j=c?\"<td class='ui-datepicker-week-col'>\"+this._get(t,\"calculateWeek\")(R)+\"</td>\":\"\",w=0;7>w;w++)O=m?m.apply(t.input?t.input[0]:null,[R]):[!0,\"\"],F=R.getMonth()!==K,L=F&&!v||!O[0]||J&&J>R||Q&&R>Q,j+=\"<td class='\"+((w+h+6)%7>=5?\" ui-datepicker-week-end\":\"\")+(F?\" ui-datepicker-other-month\":\"\")+(R.getTime()===C.getTime()&&K===t.selectedMonth&&t._keyEvent||y.getTime()===R.getTime()&&y.getTime()===C.getTime()?\" \"+this._dayOverClass:\"\")+(L?\" \"+this._unselectableClass+\" ui-state-disabled\":\"\")+(F&&!_?\"\":\" \"+O[1]+(R.getTime()===Z.getTime()?\" \"+this._currentClass:\"\")+(R.getTime()===B.getTime()?\" ui-datepicker-today\":\"\"))+\"'\"+(F&&!_||!O[2]?\"\":\" title='\"+O[2].replace(/'/g,\"&#39;\")+\"'\")+(L?\"\":\" data-handler='selectDay' data-event='click' data-month='\"+R.getMonth()+\"' data-year='\"+R.getFullYear()+\"'\")+\">\"+(F&&!_?\"&#xa0;\":L?\"<span class='ui-state-default'>\"+R.getDate()+\"</span>\":\"<a class='ui-state-default\"+(R.getTime()===B.getTime()?\" ui-state-highlight\":\"\")+(R.getTime()===Z.getTime()?\" ui-state-active\":\"\")+(F?\" ui-priority-secondary\":\"\")+\"' href='#'>\"+R.getDate()+\"</a>\")+\"</td>\",\n",
       "        R.setDate(R.getDate()+1),R=this._daylightSavingAdjust(R);T+=j+\"</tr>\"}K++,K>11&&(K=0,tt++),T+=\"</tbody></table>\"+(X?\"</div>\"+($[0]>0&&M===$[1]-1?\"<div class='ui-datepicker-row-break'></div>\":\"\"):\"\"),k+=T}b+=k}return b+=u,t._keyEvent=!1,b},_generateMonthYearHeader:function(t,e,i,n,r,s,o,a){var l,u,h,c,p,d,f,g,m=this._get(t,\"changeMonth\"),_=this._get(t,\"changeYear\"),v=this._get(t,\"showMonthAfterYear\"),y=\"<div class='ui-datepicker-title'>\",b=\"\";if(s||!m)b+=\"<span class='ui-datepicker-month'>\"+o[e]+\"</span>\";else{for(l=n&&n.getFullYear()===i,u=r&&r.getFullYear()===i,b+=\"<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>\",h=0;12>h;h++)(!l||h>=n.getMonth())&&(!u||h<=r.getMonth())&&(b+=\"<option value='\"+h+\"'\"+(h===e?\" selected='selected'\":\"\")+\">\"+a[h]+\"</option>\");b+=\"</select>\"}if(v||(y+=b+(!s&&m&&_?\"\":\"&#xa0;\")),!t.yearshtml)if(t.yearshtml=\"\",s||!_)y+=\"<span class='ui-datepicker-year'>\"+i+\"</span>\";else{for(c=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(c[0]),g=Math.max(f,d(c[1]||\"\")),f=n?Math.max(f,n.getFullYear()):f,g=r?Math.min(g,r.getFullYear()):g,t.yearshtml+=\"<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>\";g>=f;f++)t.yearshtml+=\"<option value='\"+f+\"'\"+(f===i?\" selected='selected'\":\"\")+\">\"+f+\"</option>\";t.yearshtml+=\"</select>\",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,\"yearSuffix\"),v&&(y+=(!s&&m&&_?\"\":\"&#xa0;\")+b),y+=\"</div>\"},_adjustInstDate:function(t,e,i){var n=t.drawYear+(\"Y\"===i?e:0),r=t.drawMonth+(\"M\"===i?e:0),s=Math.min(t.selectedDay,this._getDaysInMonth(n,r))+(\"D\"===i?e:0),o=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,r,s)));t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.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),s=this._daylightSavingAdjust(new Date(i,n+(0>e?e:r[0]*r[1]),1));return 0>e&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(t,s)},_isInRange:function(t,e){var i,n,r=this._getMinMaxDate(t,\"min\"),s=this._getMinMaxDate(t,\"max\"),o=null,a=null,l=this._get(t,\"yearRange\");return l&&(i=l.split(\":\"),n=(new Date).getFullYear(),o=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\\-].*/)&&(o+=n),i[1].match(/[+\\-].*/)&&(a+=n)),(!r||e.getTime()>=r.getTime())&&(!s||e.getTime()<=s.getTime())&&(!o||e.getFullYear()>=o)&&(!a||e.getFullYear()<=a)},_getFormatConfig:function(t){var e=this._get(t,\"shortYearCutoff\");return e=\"string\"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,\"dayNamesShort\"),dayNames:this._get(t,\"dayNames\"),monthNamesShort:this._get(t,\"monthNamesShort\"),monthNames:this._get(t,\"monthNames\")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var r=e?\"object\"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,\"dateFormat\"),r,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t(\"#\"+t.datepicker._mainDivId).length&&t(\"body\").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return\"string\"!=typeof e||\"isDisabled\"!==e&&\"getDate\"!==e&&\"widget\"!==e?\"option\"===e&&2===arguments.length&&\"string\"==typeof arguments[1]?t.datepicker[\"_\"+e+\"Datepicker\"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){\"string\"==typeof e?t.datepicker[\"_\"+e+\"Datepicker\"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker[\"_\"+e+\"Datepicker\"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version=\"1.10.4\"}(n)},{\"./core\":7,jquery:18}],9:[function(t,e,i){var n=t(\"jquery\");t(\"./core\"),t(\"./mouse\"),t(\"./widget\"),function(t,e){t.widget(\"ui.draggable\",t.ui.mouse,{version:\"1.10.4\",widgetEventPrefix:\"drag\",options:{addClasses:!0,appendTo:\"parent\",axis:!1,connectToSortable:!1,containment:!1,cursor:\"auto\",cursorAt:!1,grid:!1,handle:!1,helper:\"original\",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:\"default\",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:\"both\",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){\"original\"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css(\"position\"))||(this.element[0].style.position=\"relative\"),this.options.addClasses&&this.element.addClass(\"ui-draggable\"),this.options.disabled&&this.element.addClass(\"ui-draggable-disabled\"),this._mouseInit()},_destroy:function(){this.element.removeClass(\"ui-draggable ui-draggable-dragging ui-draggable-disabled\"),this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(\".ui-resizable-handle\").length>0?!1:(this.handle=this._getHandle(e),this.handle?(t(i.iframeFix===!0?\"iframe\":i.iframeFix).each(function(){t(\"<div class='ui-draggable-iframeFix' style='background: #fff;'></div>\").css({width:this.offsetWidth+\"px\",height:this.offsetHeight+\"px\",position:\"absolute\",opacity:\"0.001\",zIndex:1e3}).css(t(this).offset()).appendTo(\"body\")}),!0):!1)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this.helper.addClass(\"ui-draggable-dragging\"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css(\"position\"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css(\"position\"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger(\"start\",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,i){if(\"fixed\"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo(\"absolute\"),!i){var n=this._uiHash();if(this._trigger(\"drag\",e,n)===!1)return this._mouseUp({}),!1;this.position=n.position}return this.options.axis&&\"y\"===this.options.axis||(this.helper[0].style.left=this.position.left+\"px\"),this.options.axis&&\"x\"===this.options.axis||(this.helper[0].style.top=this.position.top+\"px\"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,n=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),\"original\"!==this.options.helper||t.contains(this.element[0].ownerDocument,this.element[0])?(\"invalid\"===this.options.revert&&!n||\"valid\"===this.options.revert&&n||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger(\"stop\",e)!==!1&&i._clear()}):this._trigger(\"stop\",e)!==!1&&this._clear(),!1):!1},_mouseUp:function(e){return t(\"div.ui-draggable-iframeFix\").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(\".ui-draggable-dragging\")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e])):\"clone\"===i.helper?this.element.clone().removeAttr(\"id\"):this.element;return n.parents(\"body\").length||n.appendTo(\"parent\"===i.appendTo?this.element[0].parentNode:i.appendTo),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css(\"position\"))||n.css(\"position\",\"absolute\"),n},_adjustOffsetFromHelper:function(e){\"string\"==typeof e&&(e=e.split(\" \")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),\"left\"in e&&(this.offset.click.left=e.left+this.margins.left),\"right\"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),\"top\"in e&&(this.offset.click.top=e.top+this.margins.top),\"bottom\"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){var e=this.offsetParent.offset();return\"absolute\"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&\"html\"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css(\"borderTopWidth\"),10)||0),left:e.left+(parseInt(this.offsetParent.css(\"borderLeftWidth\"),10)||0)}},_getRelativeOffset:function(){if(\"relative\"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css(\"top\"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css(\"left\"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css(\"marginLeft\"),10)||0,top:parseInt(this.element.css(\"marginTop\"),10)||0,right:parseInt(this.element.css(\"marginRight\"),10)||0,bottom:parseInt(this.element.css(\"marginBottom\"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options;return r.containment?\"window\"===r.containment?void(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):\"document\"===r.containment?void(this.containment=[0,0,t(document).width()-this.helperProportions.width-this.margins.left,(t(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):r.containment.constructor===Array?void(this.containment=r.containment):(\"parent\"===r.containment&&(r.containment=this.helper[0].parentNode),i=t(r.containment),n=i[0],void(n&&(e=\"hidden\"!==i.css(\"overflow\"),this.containment=[(parseInt(i.css(\"borderLeftWidth\"),10)||0)+(parseInt(i.css(\"paddingLeft\"),10)||0),(parseInt(i.css(\"borderTopWidth\"),10)||0)+(parseInt(i.css(\"paddingTop\"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css(\"borderRightWidth\"),10)||0)-(parseInt(i.css(\"paddingRight\"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css(\"borderBottomWidth\"),10)||0)-(parseInt(i.css(\"paddingBottom\"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i))):void(this.containment=null)},_convertPositionTo:function(e,i){i||(i=this.position);var n=\"absolute\"===e?1:-1,r=\"absolute\"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:r.scrollTop(),left:r.scrollLeft()}),{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*n}},_generatePosition:function(e){var i,n,r,s,o=this.options,a=\"absolute\"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=e.pageX,u=e.pageY;return this.offset.scroll||(this.offset.scroll={top:a.scrollTop(),left:a.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(n=this.relative_container.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(u=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(u=i[3]+this.offset.click.top)),o.grid&&(r=o.grid[1]?this.originalPageY+Math.round((u-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,u=i?r-this.offset.click.top>=i[1]||r-this.offset.click.top>i[3]?r:r-this.offset.click.top>=i[1]?r-o.grid[1]:r+o.grid[1]:r,s=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=i?s-this.offset.click.left>=i[0]||s-this.offset.click.left>i[2]?s:s-this.offset.click.left>=i[0]?s-o.grid[0]:s+o.grid[0]:s)),{top:u-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass(\"ui-draggable-dragging\"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,i,n){return n=n||this._uiHash(),t.ui.plugin.call(this,e,[i,n]),\"drag\"===e&&(this.positionAbs=this._convertPositionTo(\"absolute\")),t.Widget.prototype._trigger.call(this,e,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add(\"draggable\",\"connectToSortable\",{start:function(e,i){var n=t(this).data(\"ui-draggable\"),r=n.options,s=t.extend({},i,{item:n.element});n.sortables=[],t(r.connectToSortable).each(function(){var i=t.data(this,\"ui-sortable\");i&&!i.options.disabled&&(n.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger(\"activate\",e,s))})},stop:function(e,i){var n=t(this).data(\"ui-draggable\"),r=t.extend({},i,{item:n.element});t.each(n.sortables,function(){this.instance.isOver?(this.instance.isOver=0,n.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,\"original\"===n.options.helper&&this.instance.currentItem.css({top:\"auto\",left:\"auto\"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger(\"deactivate\",e,r))})},drag:function(e,i){var n=t(this).data(\"ui-draggable\"),r=this;t.each(n.sortables,function(){var s=!1,o=this;this.instance.positionAbs=n.positionAbs,this.instance.helperProportions=n.helperProportions,this.instance.offset.click=n.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(s=!0,t.each(n.sortables,function(){return this.instance.positionAbs=n.positionAbs,this.instance.helperProportions=n.helperProportions,this.instance.offset.click=n.offset.click,this!==o&&this.instance._intersectsWith(this.instance.containerCache)&&t.contains(o.instance.element[0],this.instance.element[0])&&(s=!1),s})),s?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(r).clone().removeAttr(\"id\").appendTo(this.instance.element).data(\"ui-sortable-item\",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=n.offset.click.top,this.instance.offset.click.left=n.offset.click.left,this.instance.offset.parent.left-=n.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=n.offset.parent.top-this.instance.offset.parent.top,n._trigger(\"toSortable\",e),n.dropped=this.instance.element,n.currentItem=n.element,this.instance.fromOutside=n),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger(\"out\",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),n._trigger(\"fromSortable\",e),n.dropped=!1)})}}),t.ui.plugin.add(\"draggable\",\"cursor\",{start:function(){var e=t(\"body\"),i=t(this).data(\"ui-draggable\").options;e.css(\"cursor\")&&(i._cursor=e.css(\"cursor\")),e.css(\"cursor\",i.cursor)},stop:function(){var e=t(this).data(\"ui-draggable\").options;e._cursor&&t(\"body\").css(\"cursor\",e._cursor)}}),t.ui.plugin.add(\"draggable\",\"opacity\",{start:function(e,i){var n=t(i.helper),r=t(this).data(\"ui-draggable\").options;n.css(\"opacity\")&&(r._opacity=n.css(\"opacity\")),n.css(\"opacity\",r.opacity)},stop:function(e,i){var n=t(this).data(\"ui-draggable\").options;n._opacity&&t(i.helper).css(\"opacity\",n._opacity)}}),t.ui.plugin.add(\"draggable\",\"scroll\",{start:function(){var e=t(this).data(\"ui-draggable\");e.scrollParent[0]!==document&&\"HTML\"!==e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var i=t(this).data(\"ui-draggable\"),n=i.options,r=!1;i.scrollParent[0]!==document&&\"HTML\"!==i.scrollParent[0].tagName?(n.axis&&\"x\"===n.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY<n.scrollSensitivity?i.scrollParent[0].scrollTop=r=i.scrollParent[0].scrollTop+n.scrollSpeed:e.pageY-i.overflowOffset.top<n.scrollSensitivity&&(i.scrollParent[0].scrollTop=r=i.scrollParent[0].scrollTop-n.scrollSpeed)),n.axis&&\"y\"===n.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-e.pageX<n.scrollSensitivity?i.scrollParent[0].scrollLeft=r=i.scrollParent[0].scrollLeft+n.scrollSpeed:e.pageX-i.overflowOffset.left<n.scrollSensitivity&&(i.scrollParent[0].scrollLeft=r=i.scrollParent[0].scrollLeft-n.scrollSpeed))):(n.axis&&\"x\"===n.axis||(e.pageY-t(document).scrollTop()<n.scrollSensitivity?r=t(document).scrollTop(t(document).scrollTop()-n.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<n.scrollSensitivity&&(r=t(document).scrollTop(t(document).scrollTop()+n.scrollSpeed))),n.axis&&\"y\"===n.axis||(e.pageX-t(document).scrollLeft()<n.scrollSensitivity?r=t(document).scrollLeft(t(document).scrollLeft()-n.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<n.scrollSensitivity&&(r=t(document).scrollLeft(t(document).scrollLeft()+n.scrollSpeed)))),r!==!1&&t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(i,e)}}),t.ui.plugin.add(\"draggable\",\"snap\",{start:function(){var e=t(this).data(\"ui-draggable\"),i=e.options;e.snapElements=[],t(i.snap.constructor!==String?i.snap.items||\":data(ui-draggable)\":i.snap).each(function(){var i=t(this),n=i.offset();this!==e.element[0]&&e.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:n.top,left:n.left})})},drag:function(e,i){var n,r,s,o,a,l,u,h,c,p,d=t(this).data(\"ui-draggable\"),f=d.options,g=f.snapTolerance,m=i.offset.left,_=m+d.helperProportions.width,v=i.offset.top,y=v+d.helperProportions.height;for(c=d.snapElements.length-1;c>=0;c--)a=d.snapElements[c].left,l=a+d.snapElements[c].width,u=d.snapElements[c].top,h=u+d.snapElements[c].height,a-g>_||m>l+g||u-g>y||v>h+g||!t.contains(d.snapElements[c].item.ownerDocument,d.snapElements[c].item)?(d.snapElements[c].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,e,t.extend(d._uiHash(),{snapItem:d.snapElements[c].item})),d.snapElements[c].snapping=!1):(\"inner\"!==f.snapMode&&(n=Math.abs(u-y)<=g,r=Math.abs(h-v)<=g,s=Math.abs(a-_)<=g,o=Math.abs(l-m)<=g,n&&(i.position.top=d._convertPositionTo(\"relative\",{top:u-d.helperProportions.height,left:0}).top-d.margins.top),r&&(i.position.top=d._convertPositionTo(\"relative\",{top:h,left:0}).top-d.margins.top),s&&(i.position.left=d._convertPositionTo(\"relative\",{top:0,left:a-d.helperProportions.width}).left-d.margins.left),o&&(i.position.left=d._convertPositionTo(\"relative\",{top:0,left:l}).left-d.margins.left)),p=n||r||s||o,\"outer\"!==f.snapMode&&(n=Math.abs(u-v)<=g,r=Math.abs(h-y)<=g,s=Math.abs(a-m)<=g,o=Math.abs(l-_)<=g,n&&(i.position.top=d._convertPositionTo(\"relative\",{top:u,left:0}).top-d.margins.top),r&&(i.position.top=d._convertPositionTo(\"relative\",{top:h-d.helperProportions.height,left:0}).top-d.margins.top),s&&(i.position.left=d._convertPositionTo(\"relative\",{top:0,left:a}).left-d.margins.left),o&&(i.position.left=d._convertPositionTo(\"relative\",{top:0,left:l-d.helperProportions.width}).left-d.margins.left)),!d.snapElements[c].snapping&&(n||r||s||o||p)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,e,t.extend(d._uiHash(),{snapItem:d.snapElements[c].item})),d.snapElements[c].snapping=n||r||s||o||p)}}),t.ui.plugin.add(\"draggable\",\"stack\",{start:function(){var e,i=this.data(\"ui-draggable\").options,n=t.makeArray(t(i.stack)).sort(function(e,i){return(parseInt(t(e).css(\"zIndex\"),10)||0)-(parseInt(t(i).css(\"zIndex\"),10)||0)});n.length&&(e=parseInt(t(n[0]).css(\"zIndex\"),10)||0,t(n).each(function(i){t(this).css(\"zIndex\",e+i)}),this.css(\"zIndex\",e+n.length))}}),t.ui.plugin.add(\"draggable\",\"zIndex\",{start:function(e,i){var n=t(i.helper),r=t(this).data(\"ui-draggable\").options;n.css(\"zIndex\")&&(r._zIndex=n.css(\"zIndex\")),n.css(\"zIndex\",r.zIndex)},stop:function(e,i){var n=t(this).data(\"ui-draggable\").options;n._zIndex&&t(i.helper).css(\"zIndex\",n._zIndex)}})}(n)},{\"./core\":7,\"./mouse\":13,\"./widget\":17,jquery:18}],10:[function(t,e,i){var n=t(\"jquery\");t(\"./core\"),t(\"./widget\"),t(\"./mouse\"),t(\"./draggable\"),function(t,e){function i(t,e,i){return t>e&&e+i>t}t.widget(\"ui.droppable\",{version:\"1.10.4\",widgetEventPrefix:\"drop\",options:{accept:\"*\",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:\"default\",tolerance:\"intersect\",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,i=this.options,n=i.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(n)?n:function(t){return t.is(n)},this.proportions=function(){return arguments.length?void(e=arguments[0]):e?e:e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},t.ui.ddmanager.droppables[i.scope]=t.ui.ddmanager.droppables[i.scope]||[],t.ui.ddmanager.droppables[i.scope].push(this),i.addClasses&&this.element.addClass(\"ui-droppable\")},_destroy:function(){for(var e=0,i=t.ui.ddmanager.droppables[this.options.scope];e<i.length;e++)i[e]===this&&i.splice(e,1);this.element.removeClass(\"ui-droppable ui-droppable-disabled\")},_setOption:function(e,i){\"accept\"===e&&(this.accept=t.isFunction(i)?i:function(t){return t.is(i)}),t.Widget.prototype._setOption.apply(this,arguments)},_activate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger(\"activate\",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger(\"deactivate\",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger(\"over\",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger(\"out\",e,this.ui(i)))},_drop:function(e,i){var n=i||t.ui.ddmanager.current,r=!1;return n&&(n.currentItem||n.element)[0]!==this.element[0]?(this.element.find(\":data(ui-droppable)\").not(\".ui-draggable-dragging\").each(function(){var e=t.data(this,\"ui-droppable\");return e.options.greedy&&!e.options.disabled&&e.options.scope===n.options.scope&&e.accept.call(e.element[0],n.currentItem||n.element)&&t.ui.intersect(n,t.extend(e,{offset:e.element.offset()}),e.options.tolerance)?(r=!0,!1):void 0}),r?!1:this.accept.call(this.element[0],n.currentItem||n.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger(\"drop\",e,this.ui(n)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),t.ui.intersect=function(t,e,n){if(!e.offset)return!1;var r,s,o=(t.positionAbs||t.position.absolute).left,a=(t.positionAbs||t.position.absolute).top,l=o+t.helperProportions.width,u=a+t.helperProportions.height,h=e.offset.left,c=e.offset.top,p=h+e.proportions().width,d=c+e.proportions().height;switch(n){case\"fit\":return o>=h&&p>=l&&a>=c&&d>=u;case\"intersect\":return h<o+t.helperProportions.width/2&&l-t.helperProportions.width/2<p&&c<a+t.helperProportions.height/2&&u-t.helperProportions.height/2<d;case\"pointer\":return r=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,s=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,i(s,c,e.proportions().height)&&i(r,h,e.proportions().width);case\"touch\":return(a>=c&&d>=a||u>=c&&d>=u||c>a&&u>d)&&(o>=h&&p>=o||l>=h&&p>=l||h>o&&l>p);default:return!1}},t.ui.ddmanager={current:null,droppables:{\"default\":[]},prepareOffsets:function(e,i){var n,r,s=t.ui.ddmanager.droppables[e.options.scope]||[],o=i?i.type:null,a=(e.currentItem||e.element).find(\":data(ui-droppable)\").addBack();t:for(n=0;n<s.length;n++)if(!(s[n].options.disabled||e&&!s[n].accept.call(s[n].element[0],e.currentItem||e.element))){for(r=0;r<a.length;r++)if(a[r]===s[n].element[0]){s[n].proportions().height=0;continue t}s[n].visible=\"none\"!==s[n].element.css(\"display\"),s[n].visible&&(\"mousedown\"===o&&s[n]._activate.call(s[n],i),s[n].offset=s[n].element.offset(),s[n].proportions({width:s[n].element[0].offsetWidth,height:s[n].element[0].offsetHeight}))}},drop:function(e,i){var n=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance)&&(n=this._drop.call(this,i)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),n},dragStart:function(e,i){e.element.parentsUntil(\"body\").bind(\"scroll.droppable\",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var n,r,s,o=t.ui.intersect(e,this,this.options.tolerance),a=!o&&this.isover?\"isout\":o&&!this.isover?\"isover\":null;a&&(this.options.greedy&&(r=this.options.scope,s=this.element.parents(\":data(ui-droppable)\").filter(function(){return t.data(this,\"ui-droppable\").options.scope===r}),s.length&&(n=t.data(s[0],\"ui-droppable\"),n.greedyChild=\"isover\"===a)),n&&\"isover\"===a&&(n.isover=!1,n.isout=!0,n._out.call(n,i)),this[a]=!0,this[\"isout\"===a?\"isover\":\"isout\"]=!1,this[\"isover\"===a?\"_over\":\"_out\"].call(this,i),n&&\"isout\"===a&&(n.isout=!1,n.isover=!0,n._over.call(n,i)))}})},dragStop:function(e,i){e.element.parentsUntil(\"body\").unbind(\"scroll.droppable\"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}}}(n)},{\"./core\":7,\"./draggable\":9,\"./mouse\":13,\"./widget\":17,jquery:18}],11:[function(t,e,i){var n=t(\"jquery\");!function(t,e){function i(e,i){var r,s,o,a=e.nodeName.toLowerCase();return\"area\"===a?(r=e.parentNode,s=r.name,e.href&&s&&\"map\"===r.nodeName.toLowerCase()?(o=t(\"img[usemap=#\"+s+\"]\")[0],!!o&&n(o)):!1):(/input|select|textarea|button|object/.test(a)?!e.disabled:\"a\"===a?e.href||i:i)&&n(e)}function n(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return\"hidden\"===t.css(this,\"visibility\")}).length}var r=0,s=/^ui-id-\\d+$/;t.ui=t.ui||{},t.extend(t.ui,{version:\"1.10.3\",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({focus:function(e){return function(i,n){return\"number\"==typeof i?this.each(function(){var e=this;setTimeout(function(){t(e).focus(),n&&n.call(e)},i)}):e.apply(this,arguments)}}(t.fn.focus),scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css(\"position\"))||/absolute/.test(this.css(\"position\"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,\"position\"))&&/(auto|scroll)/.test(t.css(this,\"overflow\")+t.css(this,\"overflow-y\")+t.css(this,\"overflow-x\"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,\"overflow\")+t.css(this,\"overflow-y\")+t.css(this,\"overflow-x\"))}).eq(0),/fixed/.test(this.css(\"position\"))||!e.length?t(document):e},zIndex:function(i){if(i!==e)return this.css(\"zIndex\",i);if(this.length)for(var n,r,s=t(this[0]);s.length&&s[0]!==document;){if(n=s.css(\"position\"),(\"absolute\"===n||\"relative\"===n||\"fixed\"===n)&&(r=parseInt(s.css(\"zIndex\"),10),!isNaN(r)&&0!==r))return r;s=s.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id=\"ui-id-\"+ ++r)})},removeUniqueId:function(){return this.each(function(){s.test(this.id)&&t(this).removeAttr(\"id\")})}}),t.extend(t.expr[\":\"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,n){return!!t.data(e,n[3])},focusable:function(e){return i(e,!isNaN(t.attr(e,\"tabindex\")))},tabbable:function(e){var n=t.attr(e,\"tabindex\"),r=isNaN(n);return(r||n>=0)&&i(e,!r)}}),t(\"<a>\").outerWidth(1).jquery||t.each([\"Width\",\"Height\"],function(i,n){function r(e,i,n,r){return t.each(s,function(){i-=parseFloat(t.css(e,\"padding\"+this))||0,n&&(i-=parseFloat(t.css(e,\"border\"+this+\"Width\"))||0),r&&(i-=parseFloat(t.css(e,\"margin\"+this))||0)}),i}var s=\"Width\"===n?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"],o=n.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,\n",
       "        outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn[\"inner\"+n]=function(i){return i===e?a[\"inner\"+n].call(this):this.each(function(){t(this).css(o,r(this,i)+\"px\")})},t.fn[\"outer\"+n]=function(e,i){return\"number\"!=typeof e?a[\"outer\"+n].call(this,e):this.each(function(){t(this).css(o,r(this,e,!0,i)+\"px\")})}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t(\"<a>\").data(\"a-b\",\"a\").removeData(\"a-b\").data(\"a-b\")&&(t.fn.removeData=function(e){return function(i){return arguments.length?e.call(this,t.camelCase(i)):e.call(this)}}(t.fn.removeData)),t.ui.ie=!!/msie [\\w.]+/.exec(navigator.userAgent.toLowerCase()),t.support.selectstart=\"onselectstart\"in document.createElement(\"div\"),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?\"selectstart\":\"mousedown\")+\".ui-disableSelection\",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(\".ui-disableSelection\")}}),t.extend(t.ui,{plugin:{add:function(e,i,n){var r,s=t.ui[e].prototype;for(r in n)s.plugins[r]=s.plugins[r]||[],s.plugins[r].push([i,n[r]])},call:function(t,e,i){var n,r=t.plugins[e];if(r&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(n=0;n<r.length;n++)t.options[r[n][0]]&&r[n][1].apply(t.element,i)}},hasScroll:function(e,i){if(\"hidden\"===t(e).css(\"overflow\"))return!1;var n=i&&\"left\"===i?\"scrollLeft\":\"scrollTop\",r=!1;return e[n]>0?!0:(e[n]=1,r=e[n]>0,e[n]=0,r)}})}(n),function(t,e){var i=0,n=Array.prototype.slice,r=t.cleanData;t.cleanData=function(e){for(var i,n=0;null!=(i=e[n]);n++)try{t(i).triggerHandler(\"remove\")}catch(s){}r(e)},t.widget=function(e,i,n){var r,s,o,a,l={},u=e.split(\".\")[0];e=e.split(\".\")[1],r=u+\"-\"+e,n||(n=i,i=t.Widget),t.expr[\":\"][r.toLowerCase()]=function(e){return!!t.data(e,r)},t[u]=t[u]||{},s=t[u][e],o=t[u][e]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new o(t,e)},t.extend(o,s,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(n,function(e,n){return t.isFunction(n)?void(l[e]=function(){var t=function(){return i.prototype[e].apply(this,arguments)},r=function(t){return i.prototype[e].apply(this,t)};return function(){var e,i=this._super,s=this._superApply;return this._super=t,this._superApply=r,e=n.apply(this,arguments),this._super=i,this._superApply=s,e}}()):void(l[e]=n)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:s?a.widgetEventPrefix:e},l,{constructor:o,namespace:u,widgetName:e,widgetFullName:r}),s?(t.each(s._childConstructors,function(e,i){var n=i.prototype;t.widget(n.namespace+\".\"+n.widgetName,o,i._proto)}),delete s._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o)},t.widget.extend=function(i){for(var r,s,o=n.call(arguments,1),a=0,l=o.length;l>a;a++)for(r in o[a])s=o[a][r],o[a].hasOwnProperty(r)&&s!==e&&(t.isPlainObject(s)?i[r]=t.isPlainObject(i[r])?t.widget.extend({},i[r],s):t.widget.extend({},s):i[r]=s);return i},t.widget.bridge=function(i,r){var s=r.prototype.widgetFullName||i;t.fn[i]=function(o){var a=\"string\"==typeof o,l=n.call(arguments,1),u=this;return o=!a&&l.length?t.widget.extend.apply(null,[o].concat(l)):o,a?this.each(function(){var n,r=t.data(this,s);return r?t.isFunction(r[o])&&\"_\"!==o.charAt(0)?(n=r[o].apply(r,l),n!==r&&n!==e?(u=n&&n.jquery?u.pushStack(n.get()):n,!1):void 0):t.error(\"no such method '\"+o+\"' for \"+i+\" widget instance\"):t.error(\"cannot call methods on \"+i+\" prior to initialization; attempted to call method '\"+o+\"'\")}):this.each(function(){var e=t.data(this,s);e?e.option(o||{})._init():t.data(this,s,new r(o,this))}),u}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:\"widget\",widgetEventPrefix:\"\",defaultElement:\"<div>\",options:{disabled:!1,create:null},_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=i++,this.eventNamespace=\".\"+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger(\"create\",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr(\"aria-disabled\").removeClass(this.widgetFullName+\"-disabled ui-state-disabled\"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass(\"ui-state-hover\"),this.focusable.removeClass(\"ui-state-focus\")},_destroy:t.noop,widget:function(){return this.element},option:function(i,n){var r,s,o,a=i;if(0===arguments.length)return t.widget.extend({},this.options);if(\"string\"==typeof i)if(a={},r=i.split(\".\"),i=r.shift(),r.length){for(s=a[i]=t.widget.extend({},this.options[i]),o=0;o<r.length-1;o++)s[r[o]]=s[r[o]]||{},s=s[r[o]];if(i=r.pop(),n===e)return s[i]===e?null:s[i];s[i]=n}else{if(n===e)return this.options[i]===e?null:this.options[i];a[i]=n}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,\"disabled\"===t&&(this.widget().toggleClass(this.widgetFullName+\"-disabled ui-state-disabled\",!!e).attr(\"aria-disabled\",e),this.hoverable.removeClass(\"ui-state-hover\"),this.focusable.removeClass(\"ui-state-focus\")),this},enable:function(){return this._setOption(\"disabled\",!1)},disable:function(){return this._setOption(\"disabled\",!0)},_on:function(e,i,n){var r,s=this;\"boolean\"!=typeof e&&(n=i,i=e,e=!1),n?(i=r=t(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,r=this.widget()),t.each(n,function(n,o){function a(){return e||s.options.disabled!==!0&&!t(this).hasClass(\"ui-state-disabled\")?(\"string\"==typeof o?s[o]:o).apply(s,arguments):void 0}\"string\"!=typeof o&&(a.guid=o.guid=o.guid||a.guid||t.guid++);var l=n.match(/^(\\w+)\\s*(.*)$/),u=l[1]+s.eventNamespace,h=l[2];h?r.delegate(h,u,a):i.bind(u,a)})},_off:function(t,e){e=(e||\"\").split(\" \").join(this.eventNamespace+\" \")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return(\"string\"==typeof t?n[t]:t).apply(n,arguments)}var n=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass(\"ui-state-hover\")},mouseleave:function(e){t(e.currentTarget).removeClass(\"ui-state-hover\")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass(\"ui-state-focus\")},focusout:function(e){t(e.currentTarget).removeClass(\"ui-state-focus\")}})},_trigger:function(e,i,n){var r,s,o=this.options[e];if(n=n||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],s=i.originalEvent)for(r in s)r in i||(i[r]=s[r]);return this.element.trigger(i,n),!(t.isFunction(o)&&o.apply(this.element[0],[i].concat(n))===!1||i.isDefaultPrevented())}},t.each({show:\"fadeIn\",hide:\"fadeOut\"},function(e,i){t.Widget.prototype[\"_\"+e]=function(n,r,s){\"string\"==typeof r&&(r={effect:r});var o,a=r?r===!0||\"number\"==typeof r?i:r.effect||i:e;r=r||{},\"number\"==typeof r&&(r={duration:r}),o=!t.isEmptyObject(r),r.complete=s,r.delay&&n.delay(r.delay),o&&t.effects&&t.effects.effect[a]?n[e](r):a!==e&&n[a]?n[a](r.duration,r.easing,s):n.queue(function(i){t(this)[e](),s&&s.call(n[0]),i()})}})}(n),function(t,e){var i=!1;t(document).mouseup(function(){i=!1}),t.widget(\"ui.mouse\",{version:\"1.10.3\",options:{cancel:\"input,textarea,button,select,option\",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind(\"mousedown.\"+this.widgetName,function(t){return e._mouseDown(t)}).bind(\"click.\"+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+\".preventClickEvent\")?(t.removeData(i.target,e.widgetName+\".preventClickEvent\"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind(\".\"+this.widgetName),this._mouseMoveDelegate&&t(document).unbind(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).unbind(\"mouseup.\"+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!i){this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var n=this,r=1===e.which,s=\"string\"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return r&&!s&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+\".preventClickEvent\")&&t.removeData(e.target,this.widgetName+\".preventClickEvent\"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},t(document).bind(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).bind(\"mouseup.\"+this.widgetName,this._mouseUpDelegate),e.preventDefault(),i=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).unbind(\"mouseup.\"+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+\".preventClickEvent\",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(n),function(t,e){t.widget(\"ui.draggable\",t.ui.mouse,{version:\"1.10.3\",widgetEventPrefix:\"drag\",options:{addClasses:!0,appendTo:\"parent\",axis:!1,connectToSortable:!1,containment:!1,cursor:\"auto\",cursorAt:!1,grid:!1,handle:!1,helper:\"original\",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:\"default\",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:\"both\",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){\"original\"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css(\"position\"))||(this.element[0].style.position=\"relative\"),this.options.addClasses&&this.element.addClass(\"ui-draggable\"),this.options.disabled&&this.element.addClass(\"ui-draggable-disabled\"),this._mouseInit()},_destroy:function(){this.element.removeClass(\"ui-draggable ui-draggable-dragging ui-draggable-disabled\"),this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(\".ui-resizable-handle\").length>0?!1:(this.handle=this._getHandle(e),this.handle?(t(i.iframeFix===!0?\"iframe\":i.iframeFix).each(function(){t(\"<div class='ui-draggable-iframeFix' style='background: #fff;'></div>\").css({width:this.offsetWidth+\"px\",height:this.offsetHeight+\"px\",position:\"absolute\",opacity:\"0.001\",zIndex:1e3}).css(t(this).offset()).appendTo(\"body\")}),!0):!1)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this.helper.addClass(\"ui-draggable-dragging\"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css(\"position\"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css(\"position\"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger(\"start\",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,i){if(\"fixed\"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo(\"absolute\"),!i){var n=this._uiHash();if(this._trigger(\"drag\",e,n)===!1)return this._mouseUp({}),!1;this.position=n.position}return this.options.axis&&\"y\"===this.options.axis||(this.helper[0].style.left=this.position.left+\"px\"),this.options.axis&&\"x\"===this.options.axis||(this.helper[0].style.top=this.position.top+\"px\"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,n=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),\"original\"!==this.options.helper||t.contains(this.element[0].ownerDocument,this.element[0])?(\"invalid\"===this.options.revert&&!n||\"valid\"===this.options.revert&&n||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger(\"stop\",e)!==!1&&i._clear()}):this._trigger(\"stop\",e)!==!1&&this._clear(),!1):!1},_mouseUp:function(e){return t(\"div.ui-draggable-iframeFix\").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(\".ui-draggable-dragging\")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e])):\"clone\"===i.helper?this.element.clone().removeAttr(\"id\"):this.element;return n.parents(\"body\").length||n.appendTo(\"parent\"===i.appendTo?this.element[0].parentNode:i.appendTo),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css(\"position\"))||n.css(\"position\",\"absolute\"),n},_adjustOffsetFromHelper:function(e){\"string\"==typeof e&&(e=e.split(\" \")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),\"left\"in e&&(this.offset.click.left=e.left+this.margins.left),\"right\"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),\"top\"in e&&(this.offset.click.top=e.top+this.margins.top),\"bottom\"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){var e=this.offsetParent.offset();return\"absolute\"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&\"html\"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css(\"borderTopWidth\"),10)||0),left:e.left+(parseInt(this.offsetParent.css(\"borderLeftWidth\"),10)||0)}},_getRelativeOffset:function(){if(\"relative\"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css(\"top\"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css(\"left\"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css(\"marginLeft\"),10)||0,top:parseInt(this.element.css(\"marginTop\"),10)||0,right:parseInt(this.element.css(\"marginRight\"),10)||0,bottom:parseInt(this.element.css(\"marginBottom\"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options;return r.containment?\"window\"===r.containment?void(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):\"document\"===r.containment?void(this.containment=[0,0,t(document).width()-this.helperProportions.width-this.margins.left,(t(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):r.containment.constructor===Array?void(this.containment=r.containment):(\"parent\"===r.containment&&(r.containment=this.helper[0].parentNode),i=t(r.containment),n=i[0],void(n&&(e=\"hidden\"!==i.css(\"overflow\"),this.containment=[(parseInt(i.css(\"borderLeftWidth\"),10)||0)+(parseInt(i.css(\"paddingLeft\"),10)||0),(parseInt(i.css(\"borderTopWidth\"),10)||0)+(parseInt(i.css(\"paddingTop\"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css(\"borderRightWidth\"),10)||0)-(parseInt(i.css(\"paddingRight\"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css(\"borderBottomWidth\"),10)||0)-(parseInt(i.css(\"paddingBottom\"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i))):void(this.containment=null)},_convertPositionTo:function(e,i){i||(i=this.position);var n=\"absolute\"===e?1:-1,r=\"absolute\"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:r.scrollTop(),left:r.scrollLeft()}),{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*n}},_generatePosition:function(e){var i,n,r,s,o=this.options,a=\"absolute\"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=e.pageX,u=e.pageY;return this.offset.scroll||(this.offset.scroll={top:a.scrollTop(),left:a.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(n=this.relative_container.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(u=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(u=i[3]+this.offset.click.top)),o.grid&&(r=o.grid[1]?this.originalPageY+Math.round((u-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,u=i?r-this.offset.click.top>=i[1]||r-this.offset.click.top>i[3]?r:r-this.offset.click.top>=i[1]?r-o.grid[1]:r+o.grid[1]:r,s=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=i?s-this.offset.click.left>=i[0]||s-this.offset.click.left>i[2]?s:s-this.offset.click.left>=i[0]?s-o.grid[0]:s+o.grid[0]:s)),{top:u-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass(\"ui-draggable-dragging\"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,i,n){return n=n||this._uiHash(),t.ui.plugin.call(this,e,[i,n]),\"drag\"===e&&(this.positionAbs=this._convertPositionTo(\"absolute\")),t.Widget.prototype._trigger.call(this,e,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add(\"draggable\",\"connectToSortable\",{start:function(e,i){var n=t(this).data(\"ui-draggable\"),r=n.options,s=t.extend({},i,{item:n.element});n.sortables=[],t(r.connectToSortable).each(function(){var i=t.data(this,\"ui-sortable\");i&&!i.options.disabled&&(n.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger(\"activate\",e,s))})},stop:function(e,i){var n=t(this).data(\"ui-draggable\"),r=t.extend({},i,{item:n.element});t.each(n.sortables,function(){this.instance.isOver?(this.instance.isOver=0,n.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,\"original\"===n.options.helper&&this.instance.currentItem.css({top:\"auto\",left:\"auto\"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger(\"deactivate\",e,r))})},drag:function(e,i){var n=t(this).data(\"ui-draggable\"),r=this;t.each(n.sortables,function(){var s=!1,o=this;this.instance.positionAbs=n.positionAbs,this.instance.helperProportions=n.helperProportions,this.instance.offset.click=n.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(s=!0,t.each(n.sortables,function(){return this.instance.positionAbs=n.positionAbs,this.instance.helperProportions=n.helperProportions,this.instance.offset.click=n.offset.click,this!==o&&this.instance._intersectsWith(this.instance.containerCache)&&t.contains(o.instance.element[0],this.instance.element[0])&&(s=!1),s})),s?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(r).clone().removeAttr(\"id\").appendTo(this.instance.element).data(\"ui-sortable-item\",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=n.offset.click.top,this.instance.offset.click.left=n.offset.click.left,this.instance.offset.parent.left-=n.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=n.offset.parent.top-this.instance.offset.parent.top,n._trigger(\"toSortable\",e),n.dropped=this.instance.element,n.currentItem=n.element,this.instance.fromOutside=n),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger(\"out\",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),n._trigger(\"fromSortable\",e),n.dropped=!1)})}}),t.ui.plugin.add(\"draggable\",\"cursor\",{start:function(){var e=t(\"body\"),i=t(this).data(\"ui-draggable\").options;e.css(\"cursor\")&&(i._cursor=e.css(\"cursor\")),e.css(\"cursor\",i.cursor)},stop:function(){var e=t(this).data(\"ui-draggable\").options;e._cursor&&t(\"body\").css(\"cursor\",e._cursor)}}),t.ui.plugin.add(\"draggable\",\"opacity\",{start:function(e,i){var n=t(i.helper),r=t(this).data(\"ui-draggable\").options;n.css(\"opacity\")&&(r._opacity=n.css(\"opacity\")),n.css(\"opacity\",r.opacity)},stop:function(e,i){var n=t(this).data(\"ui-draggable\").options;n._opacity&&t(i.helper).css(\"opacity\",n._opacity)}}),t.ui.plugin.add(\"draggable\",\"scroll\",{start:function(){var e=t(this).data(\"ui-draggable\");e.scrollParent[0]!==document&&\"HTML\"!==e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var i=t(this).data(\"ui-draggable\"),n=i.options,r=!1;i.scrollParent[0]!==document&&\"HTML\"!==i.scrollParent[0].tagName?(n.axis&&\"x\"===n.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY<n.scrollSensitivity?i.scrollParent[0].scrollTop=r=i.scrollParent[0].scrollTop+n.scrollSpeed:e.pageY-i.overflowOffset.top<n.scrollSensitivity&&(i.scrollParent[0].scrollTop=r=i.scrollParent[0].scrollTop-n.scrollSpeed)),n.axis&&\"y\"===n.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-e.pageX<n.scrollSensitivity?i.scrollParent[0].scrollLeft=r=i.scrollParent[0].scrollLeft+n.scrollSpeed:e.pageX-i.overflowOffset.left<n.scrollSensitivity&&(i.scrollParent[0].scrollLeft=r=i.scrollParent[0].scrollLeft-n.scrollSpeed))):(n.axis&&\"x\"===n.axis||(e.pageY-t(document).scrollTop()<n.scrollSensitivity?r=t(document).scrollTop(t(document).scrollTop()-n.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<n.scrollSensitivity&&(r=t(document).scrollTop(t(document).scrollTop()+n.scrollSpeed))),n.axis&&\"y\"===n.axis||(e.pageX-t(document).scrollLeft()<n.scrollSensitivity?r=t(document).scrollLeft(t(document).scrollLeft()-n.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<n.scrollSensitivity&&(r=t(document).scrollLeft(t(document).scrollLeft()+n.scrollSpeed)))),r!==!1&&t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(i,e)}}),t.ui.plugin.add(\"draggable\",\"snap\",{start:function(){var e=t(this).data(\"ui-draggable\"),i=e.options;e.snapElements=[],t(i.snap.constructor!==String?i.snap.items||\":data(ui-draggable)\":i.snap).each(function(){var i=t(this),n=i.offset();this!==e.element[0]&&e.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:n.top,left:n.left})})},drag:function(e,i){var n,r,s,o,a,l,u,h,c,p,d=t(this).data(\"ui-draggable\"),f=d.options,g=f.snapTolerance,m=i.offset.left,_=m+d.helperProportions.width,v=i.offset.top,y=v+d.helperProportions.height;for(c=d.snapElements.length-1;c>=0;c--)a=d.snapElements[c].left,l=a+d.snapElements[c].width,u=d.snapElements[c].top,h=u+d.snapElements[c].height,a-g>_||m>l+g||u-g>y||v>h+g||!t.contains(d.snapElements[c].item.ownerDocument,d.snapElements[c].item)?(d.snapElements[c].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,e,t.extend(d._uiHash(),{snapItem:d.snapElements[c].item})),d.snapElements[c].snapping=!1):(\"inner\"!==f.snapMode&&(n=Math.abs(u-y)<=g,r=Math.abs(h-v)<=g,s=Math.abs(a-_)<=g,o=Math.abs(l-m)<=g,n&&(i.position.top=d._convertPositionTo(\"relative\",{top:u-d.helperProportions.height,left:0}).top-d.margins.top),r&&(i.position.top=d._convertPositionTo(\"relative\",{top:h,left:0}).top-d.margins.top),s&&(i.position.left=d._convertPositionTo(\"relative\",{top:0,left:a-d.helperProportions.width}).left-d.margins.left),o&&(i.position.left=d._convertPositionTo(\"relative\",{top:0,left:l}).left-d.margins.left)),p=n||r||s||o,\"outer\"!==f.snapMode&&(n=Math.abs(u-v)<=g,r=Math.abs(h-y)<=g,s=Math.abs(a-m)<=g,o=Math.abs(l-_)<=g,n&&(i.position.top=d._convertPositionTo(\"relative\",{top:u,left:0}).top-d.margins.top),r&&(i.position.top=d._convertPositionTo(\"relative\",{top:h-d.helperProportions.height,left:0}).top-d.margins.top),s&&(i.position.left=d._convertPositionTo(\"relative\",{top:0,left:a}).left-d.margins.left),o&&(i.position.left=d._convertPositionTo(\"relative\",{top:0,left:l-d.helperProportions.width}).left-d.margins.left)),!d.snapElements[c].snapping&&(n||r||s||o||p)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,e,t.extend(d._uiHash(),{snapItem:d.snapElements[c].item})),d.snapElements[c].snapping=n||r||s||o||p)}}),t.ui.plugin.add(\"draggable\",\"stack\",{start:function(){var e,i=this.data(\"ui-draggable\").options,n=t.makeArray(t(i.stack)).sort(function(e,i){return(parseInt(t(e).css(\"zIndex\"),10)||0)-(parseInt(t(i).css(\"zIndex\"),10)||0)});n.length&&(e=parseInt(t(n[0]).css(\"zIndex\"),10)||0,t(n).each(function(i){t(this).css(\"zIndex\",e+i)}),this.css(\"zIndex\",e+n.length))}}),t.ui.plugin.add(\"draggable\",\"zIndex\",{start:function(e,i){var n=t(i.helper),r=t(this).data(\"ui-draggable\").options;n.css(\"zIndex\")&&(r._zIndex=n.css(\"zIndex\")),n.css(\"zIndex\",r.zIndex)},stop:function(e,i){var n=t(this).data(\"ui-draggable\").options;n._zIndex&&t(i.helper).css(\"zIndex\",n._zIndex)}})}(n),function(t,e){function i(t,e,i){return t>e&&e+i>t}t.widget(\"ui.droppable\",{version:\"1.10.3\",widgetEventPrefix:\"drop\",options:{accept:\"*\",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:\"default\",tolerance:\"intersect\",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(i)?i:function(t){return t.is(i)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},t.ui.ddmanager.droppables[e.scope]=t.ui.ddmanager.droppables[e.scope]||[],t.ui.ddmanager.droppables[e.scope].push(this),e.addClasses&&this.element.addClass(\"ui-droppable\")},_destroy:function(){for(var e=0,i=t.ui.ddmanager.droppables[this.options.scope];e<i.length;e++)i[e]===this&&i.splice(e,1);this.element.removeClass(\"ui-droppable ui-droppable-disabled\")},_setOption:function(e,i){\"accept\"===e&&(this.accept=t.isFunction(i)?i:function(t){return t.is(i)}),t.Widget.prototype._setOption.apply(this,arguments)},_activate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger(\"activate\",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger(\"deactivate\",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger(\"over\",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger(\"out\",e,this.ui(i)))},_drop:function(e,i){var n=i||t.ui.ddmanager.current,r=!1;return n&&(n.currentItem||n.element)[0]!==this.element[0]?(this.element.find(\":data(ui-droppable)\").not(\".ui-draggable-dragging\").each(function(){var e=t.data(this,\"ui-droppable\");return e.options.greedy&&!e.options.disabled&&e.options.scope===n.options.scope&&e.accept.call(e.element[0],n.currentItem||n.element)&&t.ui.intersect(n,t.extend(e,{offset:e.element.offset()}),e.options.tolerance)?(r=!0,!1):void 0}),r?!1:this.accept.call(this.element[0],n.currentItem||n.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger(\"drop\",e,this.ui(n)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),t.ui.intersect=function(t,e,n){if(!e.offset)return!1;var r,s,o=(t.positionAbs||t.position.absolute).left,a=o+t.helperProportions.width,l=(t.positionAbs||t.position.absolute).top,u=l+t.helperProportions.height,h=e.offset.left,c=h+e.proportions.width,p=e.offset.top,d=p+e.proportions.height;switch(n){case\"fit\":\n",
       "        return o>=h&&c>=a&&l>=p&&d>=u;case\"intersect\":return h<o+t.helperProportions.width/2&&a-t.helperProportions.width/2<c&&p<l+t.helperProportions.height/2&&u-t.helperProportions.height/2<d;case\"pointer\":return r=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,s=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,i(s,p,e.proportions.height)&&i(r,h,e.proportions.width);case\"touch\":return(l>=p&&d>=l||u>=p&&d>=u||p>l&&u>d)&&(o>=h&&c>=o||a>=h&&c>=a||h>o&&a>c);default:return!1}},t.ui.ddmanager={current:null,droppables:{\"default\":[]},prepareOffsets:function(e,i){var n,r,s=t.ui.ddmanager.droppables[e.options.scope]||[],o=i?i.type:null,a=(e.currentItem||e.element).find(\":data(ui-droppable)\").addBack();t:for(n=0;n<s.length;n++)if(!(s[n].options.disabled||e&&!s[n].accept.call(s[n].element[0],e.currentItem||e.element))){for(r=0;r<a.length;r++)if(a[r]===s[n].element[0]){s[n].proportions.height=0;continue t}s[n].visible=\"none\"!==s[n].element.css(\"display\"),s[n].visible&&(\"mousedown\"===o&&s[n]._activate.call(s[n],i),s[n].offset=s[n].element.offset(),s[n].proportions={width:s[n].element[0].offsetWidth,height:s[n].element[0].offsetHeight})}},drop:function(e,i){var n=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance)&&(n=this._drop.call(this,i)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),n},dragStart:function(e,i){e.element.parentsUntil(\"body\").bind(\"scroll.droppable\",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var n,r,s,o=t.ui.intersect(e,this,this.options.tolerance),a=!o&&this.isover?\"isout\":o&&!this.isover?\"isover\":null;a&&(this.options.greedy&&(r=this.options.scope,s=this.element.parents(\":data(ui-droppable)\").filter(function(){return t.data(this,\"ui-droppable\").options.scope===r}),s.length&&(n=t.data(s[0],\"ui-droppable\"),n.greedyChild=\"isover\"===a)),n&&\"isover\"===a&&(n.isover=!1,n.isout=!0,n._out.call(n,i)),this[a]=!0,this[\"isout\"===a?\"isover\":\"isout\"]=!1,this[\"isover\"===a?\"_over\":\"_out\"].call(this,i),n&&\"isout\"===a&&(n.isout=!1,n.isover=!0,n._over.call(n,i)))}})},dragStop:function(e,i){e.element.parentsUntil(\"body\").unbind(\"scroll.droppable\"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}}}(n),function(t,e){function i(t){return parseInt(t,10)||0}function n(t){return!isNaN(parseInt(t,10))}t.widget(\"ui.resizable\",t.ui.mouse,{version:\"1.10.3\",widgetEventPrefix:\"resize\",options:{alsoResize:!1,animate:!1,animateDuration:\"slow\",animateEasing:\"swing\",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:\"e,s,se\",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var e,i,n,r,s,o=this,a=this.options;if(this.element.addClass(\"ui-resizable\"),t.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||\"ui-resizable-helper\":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t(\"<div class='ui-wrapper' style='overflow: hidden;'></div>\").css({position:this.element.css(\"position\"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css(\"top\"),left:this.element.css(\"left\")})),this.element=this.element.parent().data(\"ui-resizable\",this.element.data(\"ui-resizable\")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css(\"marginLeft\"),marginTop:this.originalElement.css(\"marginTop\"),marginRight:this.originalElement.css(\"marginRight\"),marginBottom:this.originalElement.css(\"marginBottom\")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css(\"resize\"),this.originalElement.css(\"resize\",\"none\"),this._proportionallyResizeElements.push(this.originalElement.css({position:\"static\",zoom:1,display:\"block\"})),this.originalElement.css({margin:this.originalElement.css(\"margin\")}),this._proportionallyResize()),this.handles=a.handles||(t(\".ui-resizable-handle\",this.element).length?{n:\".ui-resizable-n\",e:\".ui-resizable-e\",s:\".ui-resizable-s\",w:\".ui-resizable-w\",se:\".ui-resizable-se\",sw:\".ui-resizable-sw\",ne:\".ui-resizable-ne\",nw:\".ui-resizable-nw\"}:\"e,s,se\"),this.handles.constructor===String)for(\"all\"===this.handles&&(this.handles=\"n,e,s,w,se,sw,ne,nw\"),e=this.handles.split(\",\"),this.handles={},i=0;i<e.length;i++)n=t.trim(e[i]),s=\"ui-resizable-\"+n,r=t(\"<div class='ui-resizable-handle \"+s+\"'></div>\"),r.css({zIndex:a.zIndex}),\"se\"===n&&r.addClass(\"ui-icon ui-icon-gripsmall-diagonal-se\"),this.handles[n]=\".ui-resizable-\"+n,this.element.append(r);this._renderAxis=function(e){var i,n,r,s;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=t(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(n=t(this.handles[i],this.element),s=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth(),r=[\"padding\",/ne|nw|n/.test(i)?\"Top\":/se|sw|s/.test(i)?\"Bottom\":/^e$/.test(i)?\"Right\":\"Left\"].join(\"\"),e.css(r,s),this._proportionallyResize()),t(this.handles[i]).length},this._renderAxis(this.element),this._handles=t(\".ui-resizable-handle\",this.element).disableSelection(),this._handles.mouseover(function(){o.resizing||(this.className&&(r=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=r&&r[1]?r[1]:\"se\")}),a.autoHide&&(this._handles.hide(),t(this.element).addClass(\"ui-resizable-autohide\").mouseenter(function(){a.disabled||(t(this).removeClass(\"ui-resizable-autohide\"),o._handles.show())}).mouseleave(function(){a.disabled||o.resizing||(t(this).addClass(\"ui-resizable-autohide\"),o._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeClass(\"ui-resizable ui-resizable-disabled ui-resizable-resizing\").removeData(\"resizable\").removeData(\"ui-resizable\").unbind(\".resizable\").find(\".ui-resizable-handle\").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css(\"position\"),width:e.outerWidth(),height:e.outerHeight(),top:e.css(\"top\"),left:e.css(\"left\")}).insertAfter(e),e.remove()),this.originalElement.css(\"resize\",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(e){var i,n,r=!1;for(i in this.handles)n=t(this.handles[i])[0],(n===e.target||t.contains(n,e.target))&&(r=!0);return!this.options.disabled&&r},_mouseStart:function(e){var n,r,s,o=this.options,a=this.element.position(),l=this.element;return this.resizing=!0,/absolute/.test(l.css(\"position\"))?l.css({position:\"absolute\",top:l.css(\"top\"),left:l.css(\"left\")}):l.is(\".ui-draggable\")&&l.css({position:\"absolute\",top:a.top,left:a.left}),this._renderProxy(),n=i(this.helper.css(\"left\")),r=i(this.helper.css(\"top\")),o.containment&&(n+=t(o.containment).scrollLeft()||0,r+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:n,top:r},this.size=this._helper?{width:l.outerWidth(),height:l.outerHeight()}:{width:l.width(),height:l.height()},this.originalSize=this._helper?{width:l.outerWidth(),height:l.outerHeight()}:{width:l.width(),height:l.height()},this.originalPosition={left:n,top:r},this.sizeDiff={width:l.outerWidth()-l.width(),height:l.outerHeight()-l.height()},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio=\"number\"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=t(\".ui-resizable-\"+this.axis).css(\"cursor\"),t(\"body\").css(\"cursor\",\"auto\"===s?this.axis+\"-resize\":s),l.addClass(\"ui-resizable-resizing\"),this._propagate(\"start\",e),!0},_mouseDrag:function(e){var i,n=this.helper,r={},s=this.originalMousePosition,o=this.axis,a=this.position.top,l=this.position.left,u=this.size.width,h=this.size.height,c=e.pageX-s.left||0,p=e.pageY-s.top||0,d=this._change[o];return d?(i=d.apply(this,[e,c,p]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate(\"resize\",e),this.position.top!==a&&(r.top=this.position.top+\"px\"),this.position.left!==l&&(r.left=this.position.left+\"px\"),this.size.width!==u&&(r.width=this.size.width+\"px\"),this.size.height!==h&&(r.height=this.size.height+\"px\"),n.css(r),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(r)||this._trigger(\"resize\",e,this.ui()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,n,r,s,o,a,l,u=this.options,h=this;return this._helper&&(i=this._proportionallyResizeElements,n=i.length&&/textarea/i.test(i[0].nodeName),r=n&&t.ui.hasScroll(i[0],\"left\")?0:h.sizeDiff.height,s=n?0:h.sizeDiff.width,o={width:h.helper.width()-s,height:h.helper.height()-r},a=parseInt(h.element.css(\"left\"),10)+(h.position.left-h.originalPosition.left)||null,l=parseInt(h.element.css(\"top\"),10)+(h.position.top-h.originalPosition.top)||null,u.animate||this.element.css(t.extend(o,{top:l,left:a})),h.helper.height(h.size.height),h.helper.width(h.size.width),this._helper&&!u.animate&&this._proportionallyResize()),t(\"body\").css(\"cursor\",\"auto\"),this.element.removeClass(\"ui-resizable-resizing\"),this._propagate(\"stop\",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,i,r,s,o,a=this.options;o={minWidth:n(a.minWidth)?a.minWidth:0,maxWidth:n(a.maxWidth)?a.maxWidth:1/0,minHeight:n(a.minHeight)?a.minHeight:0,maxHeight:n(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,r=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,s=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),r>o.minHeight&&(o.minHeight=r),i<o.maxWidth&&(o.maxWidth=i),s<o.maxHeight&&(o.maxHeight=s)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),n(t.left)&&(this.position.left=t.left),n(t.top)&&(this.position.top=t.top),n(t.height)&&(this.size.height=t.height),n(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,r=this.axis;return n(t.height)?t.width=t.height*this.aspectRatio:n(t.width)&&(t.height=t.width/this.aspectRatio),\"sw\"===r&&(t.left=e.left+(i.width-t.width),t.top=null),\"nw\"===r&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,r=n(t.width)&&e.maxWidth&&e.maxWidth<t.width,s=n(t.height)&&e.maxHeight&&e.maxHeight<t.height,o=n(t.width)&&e.minWidth&&e.minWidth>t.width,a=n(t.height)&&e.minHeight&&e.minHeight>t.height,l=this.originalPosition.left+this.originalSize.width,u=this.position.top+this.size.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),r&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),o&&h&&(t.left=l-e.minWidth),r&&h&&(t.left=l-e.maxWidth),a&&c&&(t.top=u-e.minHeight),s&&c&&(t.top=u-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,n,r,s=this.helper||this.element;for(t=0;t<this._proportionallyResizeElements.length;t++){if(r=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[r.css(\"borderTopWidth\"),r.css(\"borderRightWidth\"),r.css(\"borderBottomWidth\"),r.css(\"borderLeftWidth\")],n=[r.css(\"paddingTop\"),r.css(\"paddingRight\"),r.css(\"paddingBottom\"),r.css(\"paddingLeft\")],e=0;e<i.length;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(n[e],10)||0);r.css({height:s.height()-this.borderDif[0]-this.borderDif[2]||0,width:s.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t(\"<div style='overflow:hidden;'></div>\"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:\"absolute\",left:this.elementOffset.left+\"px\",top:this.elementOffset.top+\"px\",zIndex:++i.zIndex}),this.helper.appendTo(\"body\").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,n=this.originalPosition;return{left:n.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize,r=this.originalPosition;return{top:r.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},sw:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,n]))},ne:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},nw:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,n]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),\"resize\"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add(\"resizable\",\"animate\",{stop:function(e){var i=t(this).data(\"ui-resizable\"),n=i.options,r=i._proportionallyResizeElements,s=r.length&&/textarea/i.test(r[0].nodeName),o=s&&t.ui.hasScroll(r[0],\"left\")?0:i.sizeDiff.height,a=s?0:i.sizeDiff.width,l={width:i.size.width-a,height:i.size.height-o},u=parseInt(i.element.css(\"left\"),10)+(i.position.left-i.originalPosition.left)||null,h=parseInt(i.element.css(\"top\"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,h&&u?{top:h,left:u}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseInt(i.element.css(\"width\"),10),height:parseInt(i.element.css(\"height\"),10),top:parseInt(i.element.css(\"top\"),10),left:parseInt(i.element.css(\"left\"),10)};r&&r.length&&t(r[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate(\"resize\",e)}})}}),t.ui.plugin.add(\"resizable\",\"containment\",{start:function(){var e,n,r,s,o,a,l,u=t(this).data(\"ui-resizable\"),h=u.options,c=u.element,p=h.containment,d=p instanceof t?p.get(0):/parent/.test(p)?c.parent().get(0):p;d&&(u.containerElement=t(d),/document/.test(p)||p===document?(u.containerOffset={left:0,top:0},u.containerPosition={left:0,top:0},u.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),n=[],t([\"Top\",\"Right\",\"Left\",\"Bottom\"]).each(function(t,r){n[t]=i(e.css(\"padding\"+r))}),u.containerOffset=e.offset(),u.containerPosition=e.position(),u.containerSize={height:e.innerHeight()-n[3],width:e.innerWidth()-n[1]},r=u.containerOffset,s=u.containerSize.height,o=u.containerSize.width,a=t.ui.hasScroll(d,\"left\")?d.scrollWidth:o,l=t.ui.hasScroll(d)?d.scrollHeight:s,u.parentData={element:d,left:r.left,top:r.top,width:a,height:l}))},resize:function(e){var i,n,r,s,o=t(this).data(\"ui-resizable\"),a=o.options,l=o.containerOffset,u=o.position,h=o._aspectRatio||e.shiftKey,c={top:0,left:0},p=o.containerElement;p[0]!==document&&/static/.test(p.css(\"position\"))&&(c=l),u.left<(o._helper?l.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-l.left:o.position.left-c.left),h&&(o.size.height=o.size.width/o.aspectRatio),o.position.left=a.helper?l.left:0),u.top<(o._helper?l.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-l.top:o.position.top),h&&(o.size.width=o.size.height*o.aspectRatio),o.position.top=o._helper?l.top:0),o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top,i=Math.abs((o._helper?o.offset.left-c.left:o.offset.left-c.left)+o.sizeDiff.width),n=Math.abs((o._helper?o.offset.top-c.top:o.offset.top-l.top)+o.sizeDiff.height),r=o.containerElement.get(0)===o.element.parent().get(0),s=/relative|absolute/.test(o.containerElement.css(\"position\")),r&&s&&(i-=o.parentData.left),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-i,h&&(o.size.height=o.size.width/o.aspectRatio)),n+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-n,h&&(o.size.width=o.size.height*o.aspectRatio))},stop:function(){var e=t(this).data(\"ui-resizable\"),i=e.options,n=e.containerOffset,r=e.containerPosition,s=e.containerElement,o=t(e.helper),a=o.offset(),l=o.outerWidth()-e.sizeDiff.width,u=o.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(s.css(\"position\"))&&t(this).css({left:a.left-r.left-n.left,width:l,height:u}),e._helper&&!i.animate&&/static/.test(s.css(\"position\"))&&t(this).css({left:a.left-r.left-n.left,width:l,height:u})}}),t.ui.plugin.add(\"resizable\",\"alsoResize\",{start:function(){var e=t(this).data(\"ui-resizable\"),i=e.options,n=function(e){t(e).each(function(){var e=t(this);e.data(\"ui-resizable-alsoresize\",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css(\"left\"),10),top:parseInt(e.css(\"top\"),10)})})};\"object\"!=typeof i.alsoResize||i.alsoResize.parentNode?n(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],n(i.alsoResize)):t.each(i.alsoResize,function(t){n(t)})},resize:function(e,i){var n=t(this).data(\"ui-resizable\"),r=n.options,s=n.originalSize,o=n.originalPosition,a={height:n.size.height-s.height||0,width:n.size.width-s.width||0,top:n.position.top-o.top||0,left:n.position.left-o.left||0},l=function(e,n){t(e).each(function(){var e=t(this),r=t(this).data(\"ui-resizable-alsoresize\"),s={},o=n&&n.length?n:e.parents(i.originalElement[0]).length?[\"width\",\"height\"]:[\"width\",\"height\",\"top\",\"left\"];t.each(o,function(t,e){var i=(r[e]||0)+(a[e]||0);i&&i>=0&&(s[e]=i||null)}),e.css(s)})};\"object\"!=typeof r.alsoResize||r.alsoResize.nodeType?l(r.alsoResize):t.each(r.alsoResize,function(t,e){l(t,e)})},stop:function(){t(this).removeData(\"resizable-alsoresize\")}}),t.ui.plugin.add(\"resizable\",\"ghost\",{start:function(){var e=t(this).data(\"ui-resizable\"),i=e.options,n=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:\"block\",position:\"relative\",height:n.height,width:n.width,margin:0,left:0,top:0}).addClass(\"ui-resizable-ghost\").addClass(\"string\"==typeof i.ghost?i.ghost:\"\"),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data(\"ui-resizable\");e.ghost&&e.ghost.css({position:\"relative\",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data(\"ui-resizable\");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add(\"resizable\",\"grid\",{resize:function(){var e=t(this).data(\"ui-resizable\"),i=e.options,n=e.size,r=e.originalSize,s=e.originalPosition,o=e.axis,a=\"number\"==typeof i.grid?[i.grid,i.grid]:i.grid,l=a[0]||1,u=a[1]||1,h=Math.round((n.width-r.width)/l)*l,c=Math.round((n.height-r.height)/u)*u,p=r.width+h,d=r.height+c,f=i.maxWidth&&i.maxWidth<p,g=i.maxHeight&&i.maxHeight<d,m=i.minWidth&&i.minWidth>p,_=i.minHeight&&i.minHeight>d;i.grid=a,m&&(p+=l),_&&(d+=u),f&&(p-=l),g&&(d-=u),/^(se|s|e)$/.test(o)?(e.size.width=p,e.size.height=d):/^(ne)$/.test(o)?(e.size.width=p,e.size.height=d,e.position.top=s.top-c):/^(sw)$/.test(o)?(e.size.width=p,e.size.height=d,e.position.left=s.left-h):(e.size.width=p,e.size.height=d,e.position.top=s.top-c,e.position.left=s.left-h)}})}(n),function(t,e){t.widget(\"ui.selectable\",t.ui.mouse,{version:\"1.10.3\",options:{appendTo:\"body\",autoRefresh:!0,distance:0,filter:\"*\",tolerance:\"touch\",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,i=this;this.element.addClass(\"ui-selectable\"),this.dragged=!1,this.refresh=function(){e=t(i.options.filter,i.element[0]),e.addClass(\"ui-selectee\"),e.each(function(){var e=t(this),i=e.offset();t.data(this,\"selectable-item\",{element:this,$element:e,left:i.left,top:i.top,right:i.left+e.outerWidth(),bottom:i.top+e.outerHeight(),startselected:!1,selected:e.hasClass(\"ui-selected\"),selecting:e.hasClass(\"ui-selecting\"),unselecting:e.hasClass(\"ui-unselecting\")})})},this.refresh(),this.selectees=e.addClass(\"ui-selectee\"),this._mouseInit(),this.helper=t(\"<div class='ui-selectable-helper'></div>\")},_destroy:function(){this.selectees.removeClass(\"ui-selectee\").removeData(\"selectable-item\"),this.element.removeClass(\"ui-selectable ui-selectable-disabled\"),this._mouseDestroy()},_mouseStart:function(e){var i=this,n=this.options;this.opos=[e.pageX,e.pageY],this.options.disabled||(this.selectees=t(n.filter,this.element[0]),this._trigger(\"start\",e),t(n.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),n.autoRefresh&&this.refresh(),this.selectees.filter(\".ui-selected\").each(function(){var n=t.data(this,\"selectable-item\");n.startselected=!0,e.metaKey||e.ctrlKey||(n.$element.removeClass(\"ui-selected\"),n.selected=!1,n.$element.addClass(\"ui-unselecting\"),n.unselecting=!0,i._trigger(\"unselecting\",e,{unselecting:n.element}))}),t(e.target).parents().addBack().each(function(){var n,r=t.data(this,\"selectable-item\");return r?(n=!e.metaKey&&!e.ctrlKey||!r.$element.hasClass(\"ui-selected\"),r.$element.removeClass(n?\"ui-unselecting\":\"ui-selected\").addClass(n?\"ui-selecting\":\"ui-unselecting\"),r.unselecting=!n,r.selecting=n,r.selected=n,n?i._trigger(\"selecting\",e,{selecting:r.element}):i._trigger(\"unselecting\",e,{unselecting:r.element}),!1):void 0}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,n=this,r=this.options,s=this.opos[0],o=this.opos[1],a=e.pageX,l=e.pageY;return s>a&&(i=a,a=s,s=i),o>l&&(i=l,l=o,o=i),this.helper.css({left:s,top:o,width:a-s,height:l-o}),this.selectees.each(function(){var i=t.data(this,\"selectable-item\"),u=!1;i&&i.element!==n.element[0]&&(\"touch\"===r.tolerance?u=!(i.left>a||i.right<s||i.top>l||i.bottom<o):\"fit\"===r.tolerance&&(u=i.left>s&&i.right<a&&i.top>o&&i.bottom<l),u?(i.selected&&(i.$element.removeClass(\"ui-selected\"),i.selected=!1),i.unselecting&&(i.$element.removeClass(\"ui-unselecting\"),i.unselecting=!1),i.selecting||(i.$element.addClass(\"ui-selecting\"),i.selecting=!0,n._trigger(\"selecting\",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(i.$element.removeClass(\"ui-selecting\"),i.selecting=!1,i.$element.addClass(\"ui-selected\"),i.selected=!0):(i.$element.removeClass(\"ui-selecting\"),i.selecting=!1,i.startselected&&(i.$element.addClass(\"ui-unselecting\"),i.unselecting=!0),n._trigger(\"unselecting\",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(i.$element.removeClass(\"ui-selected\"),i.selected=!1,i.$element.addClass(\"ui-unselecting\"),i.unselecting=!0,n._trigger(\"unselecting\",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(\".ui-unselecting\",this.element[0]).each(function(){var n=t.data(this,\"selectable-item\");n.$element.removeClass(\"ui-unselecting\"),n.unselecting=!1,n.startselected=!1,i._trigger(\"unselected\",e,{unselected:n.element})}),t(\".ui-selecting\",this.element[0]).each(function(){var n=t.data(this,\"selectable-item\");n.$element.removeClass(\"ui-selecting\").addClass(\"ui-selected\"),n.selecting=!1,n.selected=!0,n.startselected=!0,i._trigger(\"selected\",e,{selected:n.element})}),this._trigger(\"stop\",e),this.helper.remove(),!1}})}(n),function(t,e){function i(t,e,i){return t>e&&e+i>t}function n(t){return/left|right/.test(t.css(\"float\"))||/inline|table-cell/.test(t.css(\"display\"))}t.widget(\"ui.sortable\",t.ui.mouse,{version:\"1.10.3\",widgetEventPrefix:\"sort\",ready:!1,options:{appendTo:\"parent\",axis:!1,connectWith:!1,containment:!1,cursor:\"auto\",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:\"original\",items:\"> *\",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:\"default\",tolerance:\"intersect\",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass(\"ui-sortable\"),this.refresh(),this.floating=this.items.length?\"x\"===t.axis||n(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass(\"ui-sortable ui-sortable-disabled\"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+\"-item\");return this},_setOption:function(e,i){\"disabled\"===e?(this.options[e]=i,this.widget().toggleClass(\"ui-sortable-disabled\",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var n=null,r=!1,s=this;return this.reverting?!1:this.options.disabled||\"static\"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,s.widgetName+\"-item\")===s?(n=t(this),!1):void 0}),t.data(e.target,s.widgetName+\"-item\")===s&&(n=t(e.target)),n&&(!this.options.handle||i||(t(this.options.handle,n).find(\"*\").addBack().each(function(){this===e.target&&(r=!0)}),r))?(this.currentItem=n,this._removeCurrentsFromItems(),!0):!1)},_mouseStart:function(e,i,n){var r,s,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css(\"position\",\"absolute\"),this.cssPosition=this.helper.css(\"position\"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&\"auto\"!==o.cursor&&(s=this.document.find(\"body\"),this.storedCursor=s.css(\"cursor\"),s.css(\"cursor\",o.cursor),this.storedStylesheet=t(\"<style>*{ cursor: \"+o.cursor+\" !important; }</style>\").appendTo(s)),o.opacity&&(this.helper.css(\"opacity\")&&(this._storedOpacity=this.helper.css(\"opacity\")),this.helper.css(\"opacity\",o.opacity)),o.zIndex&&(this.helper.css(\"zIndex\")&&(this._storedZIndex=this.helper.css(\"zIndex\")),this.helper.css(\"zIndex\",o.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&&!o.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,s,o=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<o.scrollSensitivity?this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+o.scrollSpeed:e.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+o.scrollSpeed:e.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(e.pageY-t(document).scrollTop()<o.scrollSensitivity?a=t(document).scrollTop(t(document).scrollTop()-o.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<o.scrollSensitivity&&(a=t(document).scrollTop(t(document).scrollTop()+o.scrollSpeed)),e.pageX-t(document).scrollLeft()<o.scrollSensitivity?a=t(document).scrollLeft(t(document).scrollLeft()-o.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<o.scrollSensitivity&&(a=t(document).scrollLeft(t(document).scrollLeft()+o.scrollSpeed))),a!==!1&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo(\"absolute\"),this.options.axis&&\"y\"===this.options.axis||(this.helper[0].style.left=this.position.left+\"px\"),this.options.axis&&\"x\"===this.options.axis||(this.helper[0].style.top=this.position.top+\"px\"),i=this.items.length-1;i>=0;i--)if(n=this.items[i],r=n.item[0],s=this._intersectsWithPointer(n),s&&n.instance===this.currentContainer&&r!==this.currentItem[0]&&this.placeholder[1===s?\"next\":\"prev\"]()[0]!==r&&!t.contains(this.placeholder[0],r)&&(\"semi-dynamic\"===this.options.type?!t.contains(this.element[0],r):!0)){if(this.direction=1===s?\"down\":\"up\",\"pointer\"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger(\"change\",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger(\"sort\",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var n=this,r=this.placeholder.offset(),s=this.options.axis,o={};s&&\"x\"!==s||(o.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),s&&\"y\"!==s||(o.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){n._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),\"original\"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass(\"ui-sortable-helper\"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger(\"deactivate\",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger(\"out\",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),\"original\"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||\"id\")||\"\").match(e.expression||/(.+)[\\-=_](.+)/);i&&n.push((e.key||i[1]+\"[]\")+\"=\"+(e.key&&e.expression?i[1]:i[2]))}),!n.length&&e.key&&n.push(e.key+\"=\"),n.join(\"&\")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},i.each(function(){n.push(t(e.item||this).attr(e.attribute||\"id\")||\"\")}),n},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,r=n+this.helperProportions.height,s=t.left,o=s+t.width,a=t.top,l=a+t.height,u=this.offset.click.top,h=this.offset.click.left,c=\"x\"===this.options.axis||n+u>a&&l>n+u,p=\"y\"===this.options.axis||e+h>s&&o>e+h,d=c&&p;\n",
       "        return\"pointer\"===this.options.tolerance||this.options.forcePointerForContainers||\"pointer\"!==this.options.tolerance&&this.helperProportions[this.floating?\"width\":\"height\"]>t[this.floating?\"width\":\"height\"]?d:s<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&a<n+this.helperProportions.height/2&&r-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e=\"x\"===this.options.axis||i(this.positionAbs.top+this.offset.click.top,t.top,t.height),n=\"y\"===this.options.axis||i(this.positionAbs.left+this.offset.click.left,t.left,t.width),r=e&&n,s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return r?this.floating?o&&\"right\"===o||\"down\"===s?2:1:s&&(\"down\"===s?2:1):!1},_intersectsWithSides:function(t){var e=i(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),n=i(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),r=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?\"right\"===s&&n||\"left\"===s&&!n:r&&(\"down\"===r&&e||\"up\"===r&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?\"down\":\"up\")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?\"right\":\"left\")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,n,r,s,o=[],a=[],l=this._connectWith();if(l&&e)for(i=l.length-1;i>=0;i--)for(r=t(l[i]),n=r.length-1;n>=0;n--)s=t.data(r[n],this.widgetFullName),s&&s!==this&&!s.options.disabled&&a.push([t.isFunction(s.options.items)?s.options.items.call(s.element):t(s.options.items,s.element).not(\".ui-sortable-helper\").not(\".ui-sortable-placeholder\"),s]);for(a.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(\".ui-sortable-helper\").not(\".ui-sortable-placeholder\"),this]),i=a.length-1;i>=0;i--)a[i][0].each(function(){o.push(this)});return t(o)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(\":data(\"+this.widgetName+\"-item)\");this.items=t.grep(this.items,function(t){for(var i=0;i<e.length;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,n,r,s,o,a,l,u,h=this.items,c=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],p=this._connectWith();if(p&&this.ready)for(i=p.length-1;i>=0;i--)for(r=t(p[i]),n=r.length-1;n>=0;n--)s=t.data(r[n],this.widgetFullName),s&&s!==this&&!s.options.disabled&&(c.push([t.isFunction(s.options.items)?s.options.items.call(s.element[0],e,{item:this.currentItem}):t(s.options.items,s.element),s]),this.containers.push(s));for(i=c.length-1;i>=0;i--)for(o=c[i][1],a=c[i][0],n=0,u=a.length;u>n;n++)l=t(a[n]),l.data(this.widgetName+\"-item\",o),h.push({item:l,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,n,r,s;for(i=this.items.length-1;i>=0;i--)n=this.items[i],n.instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(r=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item,e||(n.width=r.outerWidth(),n.height=r.outerHeight()),s=r.offset(),n.left=s.left,n.top=s.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)s=this.containers[i].element.offset(),this.containers[i].containerCache.left=s.left,this.containers[i].containerCache.top=s.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,n=e.options;n.placeholder&&n.placeholder.constructor!==String||(i=n.placeholder,n.placeholder={element:function(){var n=e.currentItem[0].nodeName.toLowerCase(),r=t(\"<\"+n+\">\",e.document[0]).addClass(i||e.currentItem[0].className+\" ui-sortable-placeholder\").removeClass(\"ui-sortable-helper\");return\"tr\"===n?e.currentItem.children().each(function(){t(\"<td>&#160;</td>\",e.document[0]).attr(\"colspan\",t(this).attr(\"colspan\")||1).appendTo(r)}):\"img\"===n&&r.attr(\"src\",e.currentItem.attr(\"src\")),i||r.css(\"visibility\",\"hidden\"),r},update:function(t,r){(!i||n.forcePlaceholderSize)&&(r.height()||r.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css(\"paddingTop\")||0,10)-parseInt(e.currentItem.css(\"paddingBottom\")||0,10)),r.width()||r.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css(\"paddingLeft\")||0,10)-parseInt(e.currentItem.css(\"paddingRight\")||0,10)))}}),e.placeholder=t(n.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),n.placeholder.update(e,e.placeholder)},_contactContainers:function(e){var r,s,o,a,l,u,h,c,p,d,f=null,g=null;for(r=this.containers.length-1;r>=0;r--)if(!t.contains(this.currentItem[0],this.containers[r].element[0]))if(this._intersectsWith(this.containers[r].containerCache)){if(f&&t.contains(this.containers[r].element[0],f.element[0]))continue;f=this.containers[r],g=r}else this.containers[r].containerCache.over&&(this.containers[r]._trigger(\"out\",e,this._uiHash(this)),this.containers[r].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[g].containerCache.over||(this.containers[g]._trigger(\"over\",e,this._uiHash(this)),this.containers[g].containerCache.over=1);else{for(o=1e4,a=null,d=f.floating||n(this.currentItem),l=d?\"left\":\"top\",u=d?\"width\":\"height\",h=this.positionAbs[l]+this.offset.click[l],s=this.items.length-1;s>=0;s--)t.contains(this.containers[g].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(!d||i(this.positionAbs.top+this.offset.click.top,this.items[s].top,this.items[s].height))&&(c=this.items[s].item.offset()[l],p=!1,Math.abs(c-h)>Math.abs(c+this.items[s][u]-h)&&(p=!0,c+=this.items[s][u]),Math.abs(c-h)<o&&(o=Math.abs(c-h),a=this.items[s],this.direction=p?\"up\":\"down\"));if(!a&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[g])return;a?this._rearrange(e,a,null,!0):this._rearrange(e,null,this.containers[g].element,!0),this._trigger(\"change\",e,this._uiHash()),this.containers[g]._trigger(\"change\",e,this._uiHash(this)),this.currentContainer=this.containers[g],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[g]._trigger(\"over\",e,this._uiHash(this)),this.containers[g].containerCache.over=1}},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):\"clone\"===i.helper?this.currentItem.clone():this.currentItem;return n.parents(\"body\").length||t(\"parent\"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(\"position\"),top:this.currentItem.css(\"top\"),left:this.currentItem.css(\"left\")}),(!n[0].style.width||i.forceHelperSize)&&n.width(this.currentItem.width()),(!n[0].style.height||i.forceHelperSize)&&n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(e){\"string\"==typeof e&&(e=e.split(\" \")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),\"left\"in e&&(this.offset.click.left=e.left+this.margins.left),\"right\"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),\"top\"in e&&(this.offset.click.top=e.top+this.margins.top),\"bottom\"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return\"absolute\"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&\"html\"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css(\"borderTopWidth\"),10)||0),left:e.left+(parseInt(this.offsetParent.css(\"borderLeftWidth\"),10)||0)}},_getRelativeOffset:function(){if(\"relative\"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css(\"top\"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css(\"left\"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css(\"marginLeft\"),10)||0,top:parseInt(this.currentItem.css(\"marginTop\"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options;\"parent\"===r.containment&&(r.containment=this.helper[0].parentNode),(\"document\"===r.containment||\"window\"===r.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t(\"document\"===r.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t(\"document\"===r.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(r.containment)||(e=t(r.containment)[0],i=t(r.containment).offset(),n=\"hidden\"!==t(e).css(\"overflow\"),this.containment=[i.left+(parseInt(t(e).css(\"borderLeftWidth\"),10)||0)+(parseInt(t(e).css(\"paddingLeft\"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css(\"borderTopWidth\"),10)||0)+(parseInt(t(e).css(\"paddingTop\"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css(\"borderLeftWidth\"),10)||0)-(parseInt(t(e).css(\"paddingRight\"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css(\"borderTopWidth\"),10)||0)-(parseInt(t(e).css(\"paddingBottom\"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var n=\"absolute\"===e?1:-1,r=\"absolute\"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(r[0].tagName);return{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():s?0:r.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:r.scrollLeft())*n}},_generatePosition:function(e){var i,n,r=this.options,s=e.pageX,o=e.pageY,a=\"absolute\"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=/(html|body)/i.test(a[0].tagName);return\"relative\"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(s=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(s=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),r.grid&&(i=this.originalPageY+Math.round((o-this.originalPageY)/r.grid[1])*r.grid[1],o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-r.grid[1]:i+r.grid[1]:i,n=this.originalPageX+Math.round((s-this.originalPageX)/r.grid[0])*r.grid[0],s=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():l?0:a.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],\"down\"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this.counter;this._delay(function(){r===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)(\"auto\"===this._storedCSS[i]||\"static\"===this._storedCSS[i])&&(this._storedCSS[i]=\"\");this.currentItem.css(this._storedCSS).removeClass(\"ui-sortable-helper\")}else this.currentItem.show();for(this.fromOutside&&!e&&n.push(function(t){this._trigger(\"receive\",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(\".ui-sortable-helper\")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger(\"update\",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger(\"remove\",t,this._uiHash())}),n.push(function(t){return function(e){t._trigger(\"receive\",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger(\"update\",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||n.push(function(t){return function(e){t._trigger(\"deactivate\",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(function(t){return function(e){t._trigger(\"out\",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find(\"body\").css(\"cursor\",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css(\"opacity\",this._storedOpacity),this._storedZIndex&&this.helper.css(\"zIndex\",\"auto\"===this._storedZIndex?\"\":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger(\"beforeStop\",t,this._uiHash()),i=0;i<n.length;i++)n[i].call(this,t);this._trigger(\"stop\",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger(\"beforeStop\",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;i<n.length;i++)n[i].call(this,t);this._trigger(\"stop\",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})}(n),function(t,e){var i=\"ui-effects-\";t.effects={effect:{}},function(t,e){function i(t,e,i){var n=c[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:0>t?0:n.max<t?n.max:t)}function n(e){var i=u(),n=i._rgba=[];return e=e.toLowerCase(),f(l,function(t,r){var s,o=r.re.exec(e),a=o&&r.parse(o),l=r.space||\"rgba\";return a?(s=i[l](a),i[h[l].cache]=s[h[l].cache],n=i._rgba=s._rgba,!1):void 0}),n.length?(\"0,0,0,0\"===n.join()&&t.extend(n,s.transparent),i):s[e]}function r(t,e,i){return i=(i+1)%1,1>6*i?t+(e-t)*i*6:1>2*i?e:2>3*i?t+(e-t)*(2/3-i)*6:t}var s,o=\"backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor\",a=/^([\\-+])=\\s*(\\d+\\.?\\d*)/,l=[{re:/rgba?\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\\(\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\\(\\s*(\\d+(?:\\.\\d+)?)\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,space:\"hsla\",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],u=t.Color=function(e,i,n,r){return new t.Color.fn.parse(e,i,n,r)},h={rgba:{props:{red:{idx:0,type:\"byte\"},green:{idx:1,type:\"byte\"},blue:{idx:2,type:\"byte\"}}},hsla:{props:{hue:{idx:0,type:\"degrees\"},saturation:{idx:1,type:\"percent\"},lightness:{idx:2,type:\"percent\"}}}},c={\"byte\":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},p=u.support={},d=t(\"<p>\")[0],f=t.each;d.style.cssText=\"background-color:rgba(1,1,1,.5)\",p.rgba=d.style.backgroundColor.indexOf(\"rgba\")>-1,f(h,function(t,e){e.cache=\"_\"+t,e.props.alpha={idx:3,type:\"percent\",def:1}}),u.fn=t.extend(u.prototype,{parse:function(r,o,a,l){if(r===e)return this._rgba=[null,null,null,null],this;(r.jquery||r.nodeType)&&(r=t(r).css(o),o=e);var c=this,p=t.type(r),d=this._rgba=[];return o!==e&&(r=[r,o,a,l],p=\"array\"),\"string\"===p?this.parse(n(r)||s._default):\"array\"===p?(f(h.rgba.props,function(t,e){d[e.idx]=i(r[e.idx],e)}),this):\"object\"===p?(r instanceof u?f(h,function(t,e){r[e.cache]&&(c[e.cache]=r[e.cache].slice())}):f(h,function(e,n){var s=n.cache;f(n.props,function(t,e){if(!c[s]&&n.to){if(\"alpha\"===t||null==r[t])return;c[s]=n.to(c._rgba)}c[s][e.idx]=i(r[t],e,!0)}),c[s]&&t.inArray(null,c[s].slice(0,3))<0&&(c[s][3]=1,n.from&&(c._rgba=n.from(c[s])))}),this):void 0},is:function(t){var e=u(t),i=!0,n=this;return f(h,function(t,r){var s,o=e[r.cache];return o&&(s=n[r.cache]||r.to&&r.to(n._rgba)||[],f(r.props,function(t,e){return null!=o[e.idx]?i=o[e.idx]===s[e.idx]:void 0})),i}),i},_space:function(){var t=[],e=this;return f(h,function(i,n){e[n.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var n=u(t),r=n._space(),s=h[r],o=0===this.alpha()?u(\"transparent\"):this,a=o[s.cache]||s.to(o._rgba),l=a.slice();return n=n[s.cache],f(s.props,function(t,r){var s=r.idx,o=a[s],u=n[s],h=c[r.type]||{};null!==u&&(null===o?l[s]=u:(h.mod&&(u-o>h.mod/2?o+=h.mod:o-u>h.mod/2&&(o-=h.mod)),l[s]=i((u-o)*e+o,r)))}),this[r](l)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),r=u(e)._rgba;return u(t.map(i,function(t,e){return(1-n)*r[e]+n*t}))},toRgbaString:function(){var e=\"rgba(\",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e=\"rgb(\"),e+i.join()+\")\"},toHslaString:function(){var e=\"hsla(\",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+\"%\"),t});return 1===i[3]&&(i.pop(),e=\"hsl(\"),e+i.join()+\")\"},toHexString:function(e){var i=this._rgba.slice(),n=i.pop();return e&&i.push(~~(255*n)),\"#\"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?\"0\"+t:t}).join(\"\")},toString:function(){return 0===this._rgba[3]?\"transparent\":this.toRgbaString()}}),u.fn.parse.prototype=u.fn,h.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,n=t[0]/255,r=t[1]/255,s=t[2]/255,o=t[3],a=Math.max(n,r,s),l=Math.min(n,r,s),u=a-l,h=a+l,c=.5*h;return e=l===a?0:n===a?60*(r-s)/u+360:r===a?60*(s-n)/u+120:60*(n-r)/u+240,i=0===u?0:.5>=c?u/h:u/(2-h),[Math.round(e)%360,i,c,null==o?1:o]},h.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],s=t[3],o=.5>=n?n*(1+i):n+i-n*i,a=2*n-o;return[Math.round(255*r(a,o,e+1/3)),Math.round(255*r(a,o,e)),Math.round(255*r(a,o,e-1/3)),s]},f(h,function(n,r){var s=r.props,o=r.cache,l=r.to,h=r.from;u.fn[n]=function(n){if(l&&!this[o]&&(this[o]=l(this._rgba)),n===e)return this[o].slice();var r,a=t.type(n),c=\"array\"===a||\"object\"===a?n:arguments,p=this[o].slice();return f(s,function(t,e){var n=c[\"object\"===a?t:e.idx];null==n&&(n=p[e.idx]),p[e.idx]=i(n,e)}),h?(r=u(h(p)),r[o]=p,r):u(p)},f(s,function(e,i){u.fn[e]||(u.fn[e]=function(r){var s,o=t.type(r),l=\"alpha\"===e?this._hsla?\"hsla\":\"rgba\":n,u=this[l](),h=u[i.idx];return\"undefined\"===o?h:(\"function\"===o&&(r=r.call(this,h),o=t.type(r)),null==r&&i.empty?this:(\"string\"===o&&(s=a.exec(r),s&&(r=h+parseFloat(s[2])*(\"+\"===s[1]?1:-1))),u[i.idx]=r,this[l](u)))})})}),u.hook=function(e){var i=e.split(\" \");f(i,function(e,i){t.cssHooks[i]={set:function(e,r){var s,o,a=\"\";if(\"transparent\"!==r&&(\"string\"!==t.type(r)||(s=n(r)))){if(r=u(s||r),!p.rgba&&1!==r._rgba[3]){for(o=\"backgroundColor\"===i?e.parentNode:e;(\"\"===a||\"transparent\"===a)&&o&&o.style;)try{a=t.css(o,\"backgroundColor\"),o=o.parentNode}catch(l){}r=r.blend(a&&\"transparent\"!==a?a:\"_default\")}r=r.toRgbaString()}try{e.style[i]=r}catch(l){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=u(e.elem,i),e.end=u(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},u.hook(o),t.cssHooks.borderColor={expand:function(t){var e={};return f([\"Top\",\"Right\",\"Bottom\",\"Left\"],function(i,n){e[\"border\"+n+\"Color\"]=t}),e}},s=t.Color.names={aqua:\"#00ffff\",black:\"#000000\",blue:\"#0000ff\",fuchsia:\"#ff00ff\",gray:\"#808080\",green:\"#008000\",lime:\"#00ff00\",maroon:\"#800000\",navy:\"#000080\",olive:\"#808000\",purple:\"#800080\",red:\"#ff0000\",silver:\"#c0c0c0\",teal:\"#008080\",white:\"#ffffff\",yellow:\"#ffff00\",transparent:[null,null,null,0],_default:\"#ffffff\"}}(n),function(){function i(e){var i,n,r=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,s={};if(r&&r.length&&r[0]&&r[r[0]])for(n=r.length;n--;)i=r[n],\"string\"==typeof r[i]&&(s[t.camelCase(i)]=r[i]);else for(i in r)\"string\"==typeof r[i]&&(s[i]=r[i]);return s}function r(e,i){var n,r,s={};for(n in i)r=i[n],e[n]!==r&&(o[n]||(t.fx.step[n]||!isNaN(parseFloat(r)))&&(s[n]=r));return s}var s=[\"add\",\"remove\",\"toggle\"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each([\"borderLeftStyle\",\"borderRightStyle\",\"borderBottomStyle\",\"borderTopStyle\"],function(e,i){t.fx.step[i]=function(t){(\"none\"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(n.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,n,o,a){var l=t.speed(n,o,a);return this.queue(function(){var n,o=t(this),a=o.attr(\"class\")||\"\",u=l.children?o.find(\"*\").addBack():o;u=u.map(function(){var e=t(this);return{el:e,start:i(this)}}),n=function(){t.each(s,function(t,i){e[i]&&o[i+\"Class\"](e[i])})},n(),u=u.map(function(){return this.end=i(this.el[0]),this.diff=r(this.start,this.end),this}),o.attr(\"class\",a),u=u.map(function(){var e=this,i=t.Deferred(),n=t.extend({},l,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,n),i.promise()}),t.when.apply(t,u.get()).done(function(){n(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,\"\")})}),l.complete.call(o[0])})})},t.fn.extend({addClass:function(e){return function(i,n,r,s){return n?t.effects.animateClass.call(this,{add:i},n,r,s):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,n,r,s){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},n,r,s):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return function(n,r,s,o,a){return\"boolean\"==typeof r||r===e?s?t.effects.animateClass.call(this,r?{add:n}:{remove:n},s,o,a):i.apply(this,arguments):t.effects.animateClass.call(this,{toggle:n},r,s,o)}}(t.fn.toggleClass),switchClass:function(e,i,n,r,s){return t.effects.animateClass.call(this,{add:i,remove:e},n,r,s)}})}(),function(){function n(e,i,n,r){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(r=i,n=null,i={}),(\"number\"==typeof i||t.fx.speeds[i])&&(r=n,n=i,i={}),t.isFunction(n)&&(r=n,n=null),i&&t.extend(e,i),n=n||i.duration,e.duration=t.fx.off?0:\"number\"==typeof n?n:n in t.fx.speeds?t.fx.speeds[n]:t.fx.speeds._default,e.complete=r||i.complete,e}function r(e){return!e||\"number\"==typeof e||t.fx.speeds[e]?!0:\"string\"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:\"object\"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:\"1.10.3\",save:function(t,e){for(var n=0;n<e.length;n++)null!==e[n]&&t.data(i+e[n],t[0].style[e[n]])},restore:function(t,n){var r,s;for(s=0;s<n.length;s++)null!==n[s]&&(r=t.data(i+n[s]),r===e&&(r=\"\"),t.css(n[s],r))},setMode:function(t,e){return\"toggle\"===e&&(e=t.is(\":hidden\")?\"show\":\"hide\"),e},getBaseline:function(t,e){var i,n;switch(t[0]){case\"top\":i=0;break;case\"middle\":i=.5;break;case\"bottom\":i=1;break;default:i=t[0]/e.height}switch(t[1]){case\"left\":n=0;break;case\"center\":n=.5;break;case\"right\":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createWrapper:function(e){if(e.parent().is(\".ui-effects-wrapper\"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),\"float\":e.css(\"float\")},n=t(\"<div></div>\").addClass(\"ui-effects-wrapper\").css({fontSize:\"100%\",background:\"transparent\",border:\"none\",margin:0,padding:0}),r={width:e.width(),height:e.height()},s=document.activeElement;try{s.id}catch(o){s=document.body}return e.wrap(n),(e[0]===s||t.contains(e[0],s))&&t(s).focus(),n=e.parent(),\"static\"===e.css(\"position\")?(n.css({position:\"relative\"}),e.css({position:\"relative\"})):(t.extend(i,{position:e.css(\"position\"),zIndex:e.css(\"z-index\")}),t.each([\"top\",\"left\",\"bottom\",\"right\"],function(t,n){i[n]=e.css(n),isNaN(parseInt(i[n],10))&&(i[n]=\"auto\")}),e.css({position:\"relative\",top:0,left:0,right:\"auto\",bottom:\"auto\"})),e.css(r),n.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(\".ui-effects-wrapper\")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,n,r){return r=r||{},t.each(i,function(t,i){var s=e.cssUnit(i);s[0]>0&&(r[i]=s[0]*n+s[1])}),r}}),t.fn.extend({effect:function(){function e(e){function n(){t.isFunction(s)&&s.call(r[0]),t.isFunction(e)&&e()}var r=t(this),s=i.complete,a=i.mode;(r.is(\":hidden\")?\"hide\"===a:\"show\"===a)?(r[a](),n()):o.call(r[0],i,n)}var i=n.apply(this,arguments),r=i.mode,s=i.queue,o=t.effects.effect[i.effect];return t.fx.off||!o?r?this[r](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):s===!1?this.each(e):this.queue(s||\"fx\",e)},show:function(t){return function(e){if(r(e))return t.apply(this,arguments);var i=n.apply(this,arguments);return i.mode=\"show\",this.effect.call(this,i)}}(t.fn.show),hide:function(t){return function(e){if(r(e))return t.apply(this,arguments);var i=n.apply(this,arguments);return i.mode=\"hide\",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){return function(e){if(r(e)||\"boolean\"==typeof e)return t.apply(this,arguments);var i=n.apply(this,arguments);return i.mode=\"toggle\",this.effect.call(this,i)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),n=[];return t.each([\"em\",\"px\",\"%\",\"pt\"],function(t,e){i.indexOf(e)>0&&(n=[parseFloat(i),e])}),n}})}(),function(){var e={};t.each([\"Quad\",\"Cubic\",\"Quart\",\"Quint\",\"Expo\"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing[\"easeIn\"+e]=i,t.easing[\"easeOut\"+e]=function(t){return 1-i(1-t)},t.easing[\"easeInOut\"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}()}(n),function(t,e){var i=0,n={},r={};n.height=n.paddingTop=n.paddingBottom=n.borderTopWidth=n.borderBottomWidth=\"hide\",r.height=r.paddingTop=r.paddingBottom=r.borderTopWidth=r.borderBottomWidth=\"show\",t.widget(\"ui.accordion\",{version:\"1.10.3\",options:{active:0,animate:{},collapsible:!1,event:\"click\",header:\"> li > :first-child,> :not(li):even\",heightStyle:\"auto\",icons:{activeHeader:\"ui-icon-triangle-1-s\",header:\"ui-icon-triangle-1-e\"},activate:null,beforeActivate:null},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this.element.addClass(\"ui-accordion ui-widget ui-helper-reset\").attr(\"role\",\"tablist\"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t(),content:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons;e&&(t(\"<span>\").addClass(\"ui-accordion-header-icon ui-icon \"+e.header).prependTo(this.headers),this.active.children(\".ui-accordion-header-icon\").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass(\"ui-accordion-icons\"))},_destroyIcons:function(){this.headers.removeClass(\"ui-accordion-icons\").children(\".ui-accordion-header-icon\").remove()},_destroy:function(){var t;this.element.removeClass(\"ui-accordion ui-widget ui-helper-reset\").removeAttr(\"role\"),this.headers.removeClass(\"ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top\").removeAttr(\"role\").removeAttr(\"aria-selected\").removeAttr(\"aria-controls\").removeAttr(\"tabIndex\").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute(\"id\")}),this._destroyIcons(),t=this.headers.next().css(\"display\",\"\").removeAttr(\"role\").removeAttr(\"aria-expanded\").removeAttr(\"aria-hidden\").removeAttr(\"aria-labelledby\").removeClass(\"ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled\").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute(\"id\")}),\"content\"!==this.options.heightStyle&&t.css(\"height\",\"\")},_setOption:function(t,e){return\"active\"===t?void this._activate(e):(\"event\"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),\"collapsible\"!==t||e||this.options.active!==!1||this._activate(0),\"icons\"===t&&(this._destroyIcons(),e&&this._createIcons()),void(\"disabled\"===t&&this.headers.add(this.headers.next()).toggleClass(\"ui-state-disabled\",!!e)))},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,n=this.headers.length,r=this.headers.index(e.target),s=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:s=this.headers[(r+1)%n];break;case i.LEFT:case i.UP:s=this.headers[(r-1+n)%n];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:s=this.headers[0];break;case i.END:s=this.headers[n-1]}s&&(t(e.target).attr(\"tabIndex\",-1),t(s).attr(\"tabIndex\",0),s.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),e.active===!1&&e.collapsible===!0||!this.headers.length?(e.active=!1,this.active=t()):e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(\".ui-state-disabled\").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),\n",
       "        this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass(\"ui-accordion-header ui-helper-reset ui-state-default ui-corner-all\"),this.headers.next().addClass(\"ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom\").filter(\":not(.ui-accordion-content-active)\").hide()},_refresh:function(){var e,n=this.options,r=n.heightStyle,s=this.element.parent(),o=this.accordionId=\"ui-accordion-\"+(this.element.attr(\"id\")||++i);this.active=this._findActive(n.active).addClass(\"ui-accordion-header-active ui-state-active ui-corner-top\").removeClass(\"ui-corner-all\"),this.active.next().addClass(\"ui-accordion-content-active\").show(),this.headers.attr(\"role\",\"tab\").each(function(e){var i=t(this),n=i.attr(\"id\"),r=i.next(),s=r.attr(\"id\");n||(n=o+\"-header-\"+e,i.attr(\"id\",n)),s||(s=o+\"-panel-\"+e,r.attr(\"id\",s)),i.attr(\"aria-controls\",s),r.attr(\"aria-labelledby\",n)}).next().attr(\"role\",\"tabpanel\"),this.headers.not(this.active).attr({\"aria-selected\":\"false\",tabIndex:-1}).next().attr({\"aria-expanded\":\"false\",\"aria-hidden\":\"true\"}).hide(),this.active.length?this.active.attr({\"aria-selected\":\"true\",tabIndex:0}).next().attr({\"aria-expanded\":\"true\",\"aria-hidden\":\"false\"}):this.headers.eq(0).attr(\"tabIndex\",0),this._createIcons(),this._setupEvents(n.event),\"fill\"===r?(e=s.height(),this.element.siblings(\":visible\").each(function(){var i=t(this),n=i.css(\"position\");\"absolute\"!==n&&\"fixed\"!==n&&(e-=i.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css(\"overflow\",\"auto\")):\"auto\"===r&&(e=0,this.headers.next().each(function(){e=Math.max(e,t(this).css(\"height\",\"\").height())}).height(e))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return\"number\"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:\"_keydown\"};e&&t.each(e.split(\" \"),function(t,e){i[e]=\"_eventHandler\"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:\"_panelKeyDown\"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i=this.options,n=this.active,r=t(e.currentTarget),s=r[0]===n[0],o=s&&i.collapsible,a=o?t():r.next(),l=n.next(),u={oldHeader:n,oldPanel:l,newHeader:o?t():r,newPanel:a};e.preventDefault(),s&&!i.collapsible||this._trigger(\"beforeActivate\",e,u)===!1||(i.active=o?!1:this.headers.index(r),this.active=s?t():r,this._toggle(u),n.removeClass(\"ui-accordion-header-active ui-state-active\"),i.icons&&n.children(\".ui-accordion-header-icon\").removeClass(i.icons.activeHeader).addClass(i.icons.header),s||(r.removeClass(\"ui-corner-all\").addClass(\"ui-accordion-header-active ui-state-active ui-corner-top\"),i.icons&&r.children(\".ui-accordion-header-icon\").removeClass(i.icons.header).addClass(i.icons.activeHeader),r.next().addClass(\"ui-accordion-content-active\")))},_toggle:function(e){var i=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=n,this.options.animate?this._animate(i,n,e):(n.hide(),i.show(),this._toggleComplete(e)),n.attr({\"aria-expanded\":\"false\",\"aria-hidden\":\"true\"}),n.prev().attr(\"aria-selected\",\"false\"),i.length&&n.length?n.prev().attr(\"tabIndex\",-1):i.length&&this.headers.filter(function(){return 0===t(this).attr(\"tabIndex\")}).attr(\"tabIndex\",-1),i.attr({\"aria-expanded\":\"true\",\"aria-hidden\":\"false\"}).prev().attr({\"aria-selected\":\"true\",tabIndex:0})},_animate:function(t,e,i){var s,o,a,l=this,u=0,h=t.length&&(!e.length||t.index()<e.index()),c=this.options.animate||{},p=h&&c.down||c,d=function(){l._toggleComplete(i)};return\"number\"==typeof p&&(a=p),\"string\"==typeof p&&(o=p),o=o||p.easing||c.easing,a=a||p.duration||c.duration,e.length?t.length?(s=t.show().outerHeight(),e.animate(n,{duration:a,easing:o,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(r,{duration:a,easing:o,complete:d,step:function(t,i){i.now=Math.round(t),\"height\"!==i.prop?u+=i.now:\"content\"!==l.options.heightStyle&&(i.now=Math.round(s-e.outerHeight()-u),u=0)}})):e.animate(n,a,o,d):t.animate(r,a,o,d)},_toggleComplete:function(t){var e=t.oldPanel;e.removeClass(\"ui-accordion-content-active\").prev().removeClass(\"ui-corner-top\").addClass(\"ui-corner-all\"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger(\"activate\",null,t)}})}(n),function(t,e){var i=0;t.widget(\"ui.autocomplete\",{version:\"1.10.3\",defaultElement:\"<input>\",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:\"left top\",at:\"left bottom\",collision:\"none\"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,i,n,r=this.element[0].nodeName.toLowerCase(),s=\"textarea\"===r,o=\"input\"===r;this.isMultiLine=s?!0:o?!1:this.element.prop(\"isContentEditable\"),this.valueMethod=this.element[s||o?\"val\":\"text\"],this.isNewMenu=!0,this.element.addClass(\"ui-autocomplete-input\").attr(\"autocomplete\",\"off\"),this._on(this.element,{keydown:function(r){if(this.element.prop(\"readOnly\"))return e=!0,n=!0,void(i=!0);e=!1,n=!1,i=!1;var s=t.ui.keyCode;switch(r.keyCode){case s.PAGE_UP:e=!0,this._move(\"previousPage\",r);break;case s.PAGE_DOWN:e=!0,this._move(\"nextPage\",r);break;case s.UP:e=!0,this._keyEvent(\"previous\",r);break;case s.DOWN:e=!0,this._keyEvent(\"next\",r);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&&(e=!0,r.preventDefault(),this.menu.select(r));break;case s.TAB:this.menu.active&&this.menu.select(r);break;case s.ESCAPE:this.menu.element.is(\":visible\")&&(this._value(this.term),this.close(r),r.preventDefault());break;default:i=!0,this._searchTimeout(r)}},keypress:function(n){if(e)return e=!1,void((!this.isMultiLine||this.menu.element.is(\":visible\"))&&n.preventDefault());if(!i){var r=t.ui.keyCode;switch(n.keyCode){case r.PAGE_UP:this._move(\"previousPage\",n);break;case r.PAGE_DOWN:this._move(\"nextPage\",n);break;case r.UP:this._keyEvent(\"previous\",n);break;case r.DOWN:this._keyEvent(\"next\",n)}}},input:function(t){return n?(n=!1,void t.preventDefault()):void this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=t(\"<ul>\").addClass(\"ui-autocomplete ui-front\").appendTo(this._appendTo()).menu({role:null}).hide().data(\"ui-menu\"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];t(e.target).closest(\".ui-menu-item\").length||this._delay(function(){var e=this;this.document.one(\"mousedown\",function(n){n.target===e.element[0]||n.target===i||t.contains(i,n.target)||e.close()})})},menufocus:function(e,i){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one(\"mousemove\",function(){t(e.target).trigger(e.originalEvent)});var n=i.item.data(\"ui-autocomplete-item\");!1!==this._trigger(\"focus\",e,{item:n})?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value):this.liveRegion.text(n.value)},menuselect:function(t,e){var i=e.item.data(\"ui-autocomplete-item\"),n=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger(\"select\",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=t(\"<span>\",{role:\"status\",\"aria-live\":\"polite\"}).addClass(\"ui-helper-hidden-accessible\").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr(\"autocomplete\")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass(\"ui-autocomplete-input\").removeAttr(\"autocomplete\"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),\"source\"===t&&this._initSource(),\"appendTo\"===t&&this.menu.element.appendTo(this._appendTo()),\"disabled\"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e||(e=this.element.closest(\".ui-front\")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,n=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,n){n(t.ui.autocomplete.filter(e,i.term))}):\"string\"==typeof this.options.source?(i=this.options.source,this.source=function(e,r){n.xhr&&n.xhr.abort(),n.xhr=t.ajax({url:i,data:e,dataType:\"json\",success:function(t){r(t)},error:function(){r([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger(\"search\",e)!==!1?this._search(t):void 0},_search:function(t){this.pending++,this.element.addClass(\"ui-autocomplete-loading\"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=this,e=++i;return function(n){e===i&&t.__response(n),t.pending--,t.pending||t.element.removeClass(\"ui-autocomplete-loading\")}},__response:function(t){t&&(t=this._normalize(t)),this._trigger(\"response\",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger(\"open\")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(\":visible\")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger(\"close\",t))},_change:function(t){this.previous!==this._value()&&this._trigger(\"change\",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return\"string\"==typeof e?{label:e,value:e}:t.extend({label:e.label||e.value,value:e.value||e.label},e)})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width(\"\").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var n=this;t.each(i,function(t,i){n._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data(\"ui-autocomplete-item\",e)},_renderItem:function(e,i){return t(\"<li>\").append(t(\"<a>\").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(\":visible\")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(\":visible\"))&&(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g,\"\\\\$&\")},filter:function(e,i){var n=new RegExp(t.ui.autocomplete.escapeRegex(i),\"i\");return t.grep(e,function(t){return n.test(t.label||t.value||t)})}}),t.widget(\"ui.autocomplete\",t.ui.autocomplete,{options:{messages:{noResults:\"No search results.\",results:function(t){return t+(t>1?\" results are\":\" result is\")+\" available, use up and down arrow keys to navigate.\"}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})}(n),function(t,e){var i,n,r,s,o=\"ui-button ui-widget ui-state-default ui-corner-all\",a=\"ui-state-hover ui-state-active \",l=\"ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only\",u=function(){var e=t(this);setTimeout(function(){e.find(\":ui-button\").button(\"refresh\")},1)},h=function(e){var i=e.name,n=e.form,r=t([]);return i&&(i=i.replace(/'/g,\"\\\\'\"),r=n?t(n).find(\"[name='\"+i+\"']\"):t(\"[name='\"+i+\"']\",e.ownerDocument).filter(function(){return!this.form})),r};t.widget(\"ui.button\",{version:\"1.10.3\",defaultElement:\"<button>\",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest(\"form\").unbind(\"reset\"+this.eventNamespace).bind(\"reset\"+this.eventNamespace,u),\"boolean\"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop(\"disabled\"):this.element.prop(\"disabled\",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr(\"title\");var e=this,a=this.options,l=\"checkbox\"===this.type||\"radio\"===this.type,c=l?\"\":\"ui-state-active\",p=\"ui-state-focus\";null===a.label&&(a.label=\"input\"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(o).attr(\"role\",\"button\").bind(\"mouseenter\"+this.eventNamespace,function(){a.disabled||this===i&&t(this).addClass(\"ui-state-active\")}).bind(\"mouseleave\"+this.eventNamespace,function(){a.disabled||t(this).removeClass(c)}).bind(\"click\"+this.eventNamespace,function(t){a.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this.element.bind(\"focus\"+this.eventNamespace,function(){e.buttonElement.addClass(p)}).bind(\"blur\"+this.eventNamespace,function(){e.buttonElement.removeClass(p)}),l&&(this.element.bind(\"change\"+this.eventNamespace,function(){s||e.refresh()}),this.buttonElement.bind(\"mousedown\"+this.eventNamespace,function(t){a.disabled||(s=!1,n=t.pageX,r=t.pageY)}).bind(\"mouseup\"+this.eventNamespace,function(t){a.disabled||(n!==t.pageX||r!==t.pageY)&&(s=!0)})),\"checkbox\"===this.type?this.buttonElement.bind(\"click\"+this.eventNamespace,function(){return a.disabled||s?!1:void 0}):\"radio\"===this.type?this.buttonElement.bind(\"click\"+this.eventNamespace,function(){if(a.disabled||s)return!1;t(this).addClass(\"ui-state-active\"),e.buttonElement.attr(\"aria-pressed\",\"true\");var i=e.element[0];h(i).not(i).map(function(){return t(this).button(\"widget\")[0]}).removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\")}):(this.buttonElement.bind(\"mousedown\"+this.eventNamespace,function(){return a.disabled?!1:(t(this).addClass(\"ui-state-active\"),i=this,void e.document.one(\"mouseup\",function(){i=null}))}).bind(\"mouseup\"+this.eventNamespace,function(){return a.disabled?!1:void t(this).removeClass(\"ui-state-active\")}).bind(\"keydown\"+this.eventNamespace,function(e){return a.disabled?!1:void((e.keyCode===t.ui.keyCode.SPACE||e.keyCode===t.ui.keyCode.ENTER)&&t(this).addClass(\"ui-state-active\"))}).bind(\"keyup\"+this.eventNamespace+\" blur\"+this.eventNamespace,function(){t(this).removeClass(\"ui-state-active\")}),this.buttonElement.is(\"a\")&&this.buttonElement.keyup(function(e){e.keyCode===t.ui.keyCode.SPACE&&t(this).click()})),this._setOption(\"disabled\",a.disabled),this._resetButton()},_determineButtonType:function(){var t,e,i;this.element.is(\"[type=checkbox]\")?this.type=\"checkbox\":this.element.is(\"[type=radio]\")?this.type=\"radio\":this.element.is(\"input\")?this.type=\"input\":this.type=\"button\",\"checkbox\"===this.type||\"radio\"===this.type?(t=this.element.parents().last(),e=\"label[for='\"+this.element.attr(\"id\")+\"']\",this.buttonElement=t.find(e),this.buttonElement.length||(t=t.length?t.siblings():this.element.siblings(),this.buttonElement=t.filter(e),this.buttonElement.length||(this.buttonElement=t.find(e))),this.element.addClass(\"ui-helper-hidden-accessible\"),i=this.element.is(\":checked\"),i&&this.buttonElement.addClass(\"ui-state-active\"),this.buttonElement.prop(\"aria-pressed\",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass(\"ui-helper-hidden-accessible\"),this.buttonElement.removeClass(o+\" \"+a+\" \"+l).removeAttr(\"role\").removeAttr(\"aria-pressed\").html(this.buttonElement.find(\".ui-button-text\").html()),this.hasTitle||this.buttonElement.removeAttr(\"title\")},_setOption:function(t,e){return this._super(t,e),\"disabled\"===t?void(e?this.element.prop(\"disabled\",!0):this.element.prop(\"disabled\",!1)):void this._resetButton()},refresh:function(){var e=this.element.is(\"input, button\")?this.element.is(\":disabled\"):this.element.hasClass(\"ui-button-disabled\");e!==this.options.disabled&&this._setOption(\"disabled\",e),\"radio\"===this.type?h(this.element[0]).each(function(){t(this).is(\":checked\")?t(this).button(\"widget\").addClass(\"ui-state-active\").attr(\"aria-pressed\",\"true\"):t(this).button(\"widget\").removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\")}):\"checkbox\"===this.type&&(this.element.is(\":checked\")?this.buttonElement.addClass(\"ui-state-active\").attr(\"aria-pressed\",\"true\"):this.buttonElement.removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\"))},_resetButton:function(){if(\"input\"===this.type)return void(this.options.label&&this.element.val(this.options.label));var e=this.buttonElement.removeClass(l),i=t(\"<span></span>\",this.document[0]).addClass(\"ui-button-text\").html(this.options.label).appendTo(e.empty()).text(),n=this.options.icons,r=n.primary&&n.secondary,s=[];n.primary||n.secondary?(this.options.text&&s.push(\"ui-button-text-icon\"+(r?\"s\":n.primary?\"-primary\":\"-secondary\")),n.primary&&e.prepend(\"<span class='ui-button-icon-primary ui-icon \"+n.primary+\"'></span>\"),n.secondary&&e.append(\"<span class='ui-button-icon-secondary ui-icon \"+n.secondary+\"'></span>\"),this.options.text||(s.push(r?\"ui-button-icons-only\":\"ui-button-icon-only\"),this.hasTitle||e.attr(\"title\",t.trim(i)))):s.push(\"ui-button-text-only\"),e.addClass(s.join(\" \"))}}),t.widget(\"ui.buttonset\",{version:\"1.10.3\",options:{items:\"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)\"},_create:function(){this.element.addClass(\"ui-buttonset\")},_init:function(){this.refresh()},_setOption:function(t,e){\"disabled\"===t&&this.buttons.button(\"option\",t,e),this._super(t,e)},refresh:function(){var e=\"rtl\"===this.element.css(\"direction\");this.buttons=this.element.find(this.options.items).filter(\":ui-button\").button(\"refresh\").end().not(\":ui-button\").button().end().map(function(){return t(this).button(\"widget\")[0]}).removeClass(\"ui-corner-all ui-corner-left ui-corner-right\").filter(\":first\").addClass(e?\"ui-corner-right\":\"ui-corner-left\").end().filter(\":last\").addClass(e?\"ui-corner-left\":\"ui-corner-right\").end().end()},_destroy:function(){this.element.removeClass(\"ui-buttonset\"),this.buttons.map(function(){return t(this).button(\"widget\")[0]}).removeClass(\"ui-corner-left ui-corner-right\").end().button(\"destroy\")}})}(n),function(t,e){function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId=\"ui-datepicker-div\",this._inlineClass=\"ui-datepicker-inline\",this._appendClass=\"ui-datepicker-append\",this._triggerClass=\"ui-datepicker-trigger\",this._dialogClass=\"ui-datepicker-dialog\",this._disableClass=\"ui-datepicker-disabled\",this._unselectableClass=\"ui-datepicker-unselectable\",this._currentClass=\"ui-datepicker-current-day\",this._dayOverClass=\"ui-datepicker-days-cell-over\",this.regional=[],this.regional[\"\"]={closeText:\"Done\",prevText:\"Prev\",nextText:\"Next\",currentText:\"Today\",monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],weekHeader:\"Wk\",dateFormat:\"mm/dd/yy\",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:\"\"},this._defaults={showOn:\"focus\",showAnim:\"fadeIn\",showOptions:{},defaultDate:null,appendText:\"\",buttonText:\"...\",buttonImage:\"\",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:\"c-10:c+10\",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:\"+10\",minDate:null,maxDate:null,duration:\"fast\",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:\"\",altFormat:\"\",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[\"\"]),this.dpDiv=n(t(\"<div id='\"+this._mainDivId+\"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\"))}function n(e){var i=\"button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a\";return e.delegate(i,\"mouseout\",function(){t(this).removeClass(\"ui-state-hover\"),-1!==this.className.indexOf(\"ui-datepicker-prev\")&&t(this).removeClass(\"ui-datepicker-prev-hover\"),-1!==this.className.indexOf(\"ui-datepicker-next\")&&t(this).removeClass(\"ui-datepicker-next-hover\")}).delegate(i,\"mouseover\",function(){t.datepicker._isDisabledDatepicker(s.inline?e.parent()[0]:s.input[0])||(t(this).parents(\".ui-datepicker-calendar\").find(\"a\").removeClass(\"ui-state-hover\"),t(this).addClass(\"ui-state-hover\"),-1!==this.className.indexOf(\"ui-datepicker-prev\")&&t(this).addClass(\"ui-datepicker-prev-hover\"),-1!==this.className.indexOf(\"ui-datepicker-next\")&&t(this).addClass(\"ui-datepicker-next-hover\"))})}function r(e,i){t.extend(e,i);for(var n in i)null==i[n]&&(e[n]=i[n]);return e}t.extend(t.ui,{datepicker:{version:\"1.10.3\"}});var s,o=\"datepicker\";t.extend(i.prototype,{markerClassName:\"hasDatepicker\",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return r(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var n,r,s;n=e.nodeName.toLowerCase(),r=\"div\"===n||\"span\"===n,e.id||(this.uuid+=1,e.id=\"dp\"+this.uuid),s=this._newInst(t(e),r),s.settings=t.extend({},i||{}),\"input\"===n?this._connectDatepicker(e,s):r&&this._inlineDatepicker(e,s)},_newInst:function(e,i){var r=e[0].id.replace(/([^A-Za-z0-9_\\-])/g,\"\\\\\\\\$1\");return{id:r,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?n(t(\"<div class='\"+this._inlineClass+\" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\")):this.dpDiv}},_connectDatepicker:function(e,i){var n=t(e);i.append=t([]),i.trigger=t([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),t.data(e,o,i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var n,r,s,o=this._get(i,\"appendText\"),a=this._get(i,\"isRTL\");i.append&&i.append.remove(),o&&(i.append=t(\"<span class='\"+this._appendClass+\"'>\"+o+\"</span>\"),e[a?\"before\":\"after\"](i.append)),e.unbind(\"focus\",this._showDatepicker),i.trigger&&i.trigger.remove(),n=this._get(i,\"showOn\"),(\"focus\"===n||\"both\"===n)&&e.focus(this._showDatepicker),(\"button\"===n||\"both\"===n)&&(r=this._get(i,\"buttonText\"),s=this._get(i,\"buttonImage\"),i.trigger=t(this._get(i,\"buttonImageOnly\")?t(\"<img/>\").addClass(this._triggerClass).attr({src:s,alt:r,title:r}):t(\"<button type='button'></button>\").addClass(this._triggerClass).html(s?t(\"<img/>\").attr({src:s,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,s=new Date(2009,11,20),o=this._get(t,\"dateFormat\");o.match(/[DM]/)&&(e=function(t){for(i=0,n=0,r=0;r<t.length;r++)t[r].length>i&&(i=t[r].length,n=r);return n},s.setMonth(e(this._get(t,o.match(/MM/)?\"monthNames\":\"monthNamesShort\"))),s.setDate(e(this._get(t,o.match(/DD/)?\"dayNames\":\"dayNamesShort\"))+20-s.getDay())),t.input.attr(\"size\",this._formatDate(t,s).length)}},_inlineDatepicker:function(e,i){var n=t(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),t.data(e,o,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css(\"display\",\"block\"))},_dialogDatepicker:function(e,i,n,s,a){var l,u,h,c,p,d=this._dialogInst;return d||(this.uuid+=1,l=\"dp\"+this.uuid,this._dialogInput=t(\"<input type='text' id='\"+l+\"' style='position: absolute; top: -100px; width: 0px;'/>\"),this._dialogInput.keydown(this._doKeyDown),t(\"body\").append(this._dialogInput),d=this._dialogInst=this._newInst(this._dialogInput,!1),d.settings={},t.data(this._dialogInput[0],o,d)),r(d.settings,s||{}),i=i&&i.constructor===Date?this._formatDate(d,i):i,this._dialogInput.val(i),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(u=document.documentElement.clientWidth,h=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,p=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[u/2-100+c,h/2-150+p]),this._dialogInput.css(\"left\",this._pos[0]+20+\"px\").css(\"top\",this._pos[1]+\"px\"),d.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],o,d),this},_destroyDatepicker:function(e){var i,n=t(e),r=t.data(e,o);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,o),\"input\"===i?(r.append.remove(),r.trigger.remove(),n.removeClass(this.markerClassName).unbind(\"focus\",this._showDatepicker).unbind(\"keydown\",this._doKeyDown).unbind(\"keypress\",this._doKeyPress).unbind(\"keyup\",this._doKeyUp)):(\"div\"===i||\"span\"===i)&&n.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var i,n,r=t(e),s=t.data(e,o);r.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),\"input\"===i?(e.disabled=!1,s.trigger.filter(\"button\").each(function(){this.disabled=!1}).end().filter(\"img\").css({opacity:\"1.0\",cursor:\"\"})):(\"div\"===i||\"span\"===i)&&(n=r.children(\".\"+this._inlineClass),n.children().removeClass(\"ui-state-disabled\"),n.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").prop(\"disabled\",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,n,r=t(e),s=t.data(e,o);r.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),\"input\"===i?(e.disabled=!0,s.trigger.filter(\"button\").each(function(){this.disabled=!0}).end().filter(\"img\").css({opacity:\"0.5\",cursor:\"default\"})):(\"div\"===i||\"span\"===i)&&(n=r.children(\".\"+this._inlineClass),n.children().addClass(\"ui-state-disabled\"),n.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").prop(\"disabled\",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,o)}catch(i){throw\"Missing instance data for this datepicker\"}},_optionDatepicker:function(i,n,s){var o,a,l,u,h=this._getInst(i);return 2===arguments.length&&\"string\"==typeof n?\"defaults\"===n?t.extend({},t.datepicker._defaults):h?\"all\"===n?t.extend({},h.settings):this._get(h,n):null:(o=n||{},\"string\"==typeof n&&(o={},o[n]=s),void(h&&(this._curInst===h&&this._hideDatepicker(),a=this._getDateDatepicker(i,!0),l=this._getMinMaxDate(h,\"min\"),u=this._getMinMaxDate(h,\"max\"),r(h.settings,o),null!==l&&o.dateFormat!==e&&o.minDate===e&&(h.settings.minDate=this._formatDate(h,l)),null!==u&&o.dateFormat!==e&&o.maxDate===e&&(h.settings.maxDate=this._formatDate(h,u)),\"disabled\"in o&&(o.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(t(i),h),this._autoSize(h),this._setDate(h,a),this._updateAlternate(h),this._updateDatepicker(h))))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,n,r,s=t.datepicker._getInst(e.target),o=!0,a=s.dpDiv.is(\".ui-datepicker-rtl\");if(s._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),o=!1;break;case 13:return r=t(\"td.\"+t.datepicker._dayOverClass+\":not(.\"+t.datepicker._currentClass+\")\",s.dpDiv),r[0]&&t.datepicker._selectDay(e.target,s.selectedMonth,s.selectedYear,r[0]),i=t.datepicker._get(s,\"onSelect\"),i?(n=t.datepicker._formatDate(s),i.apply(s.input?s.input[0]:null,[n,s])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(s,\"stepBigMonths\"):-t.datepicker._get(s,\"stepMonths\"),\"M\");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(s,\"stepBigMonths\"):+t.datepicker._get(s,\"stepMonths\"),\"M\");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),o=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),o=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?1:-1,\"D\"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(s,\"stepBigMonths\"):-t.datepicker._get(s,\"stepMonths\"),\"M\");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,\"D\"),o=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?-1:1,\"D\"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(s,\"stepBigMonths\"):+t.datepicker._get(s,\"stepMonths\"),\"M\");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,\"D\"),o=e.ctrlKey||e.metaKey;break;default:o=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):o=!1;o&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var i,n,r=t.datepicker._getInst(e.target);return t.datepicker._get(r,\"constrainInput\")?(i=t.datepicker._possibleChars(t.datepicker._get(r,\"dateFormat\")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||\" \">n||!i||i.indexOf(n)>-1):void 0},_doKeyUp:function(e){var i,n=t.datepicker._getInst(e.target);if(n.input.val()!==n.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(n,\"dateFormat\"),n.input?n.input.val():null,t.datepicker._getFormatConfig(n)),i&&(t.datepicker._setDateFromField(n),t.datepicker._updateAlternate(n),t.datepicker._updateDatepicker(n))}catch(r){}return!0},_showDatepicker:function(e){if(e=e.target||e,\"input\"!==e.nodeName.toLowerCase()&&(e=t(\"input\",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var i,n,s,o,a,l,u;i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),n=t.datepicker._get(i,\"beforeShow\"),s=n?n.apply(e,[e,i]):{},s!==!1&&(r(i.settings,s),i.lastVal=null,\n",
       "        t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=\"\"),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),o=!1,t(e).parents().each(function(){return o|=\"fixed\"===t(this).css(\"position\"),!o}),a={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:\"absolute\",display:\"block\",top:\"-1000px\"}),t.datepicker._updateDatepicker(i),a=t.datepicker._checkOffset(i,a,o),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?\"static\":o?\"fixed\":\"absolute\",display:\"none\",left:a.left+\"px\",top:a.top+\"px\"}),i.inline||(l=t.datepicker._get(i,\"showAnim\"),u=t.datepicker._get(i,\"duration\"),i.dpDiv.zIndex(t(e).zIndex()+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[l]?i.dpDiv.show(l,t.datepicker._get(i,\"showOptions\"),u):i.dpDiv[l||\"show\"](l?u:null),t.datepicker._shouldFocusInput(i)&&i.input.focus(),t.datepicker._curInst=i))}},_updateDatepicker:function(e){this.maxRows=4,s=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find(\".\"+this._dayOverClass+\" a\").mouseover();var i,n=this._getNumberOfMonths(e),r=n[1],o=17;e.dpDiv.removeClass(\"ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4\").width(\"\"),r>1&&e.dpDiv.addClass(\"ui-datepicker-multi-\"+r).css(\"width\",o*r+\"em\"),e.dpDiv[(1!==n[0]||1!==n[1]?\"add\":\"remove\")+\"Class\"](\"ui-datepicker-multi\"),e.dpDiv[(this._get(e,\"isRTL\")?\"add\":\"remove\")+\"Class\"](\"ui-datepicker-rtl\"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find(\"select.ui-datepicker-year:first\").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(\":visible\")&&!t.input.is(\":disabled\")&&!t.input.is(\":focus\")},_checkOffset:function(e,i,n){var r=e.dpDiv.outerWidth(),s=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,a=e.input?e.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:t(document).scrollLeft()),u=document.documentElement.clientHeight+(n?0:t(document).scrollTop());return i.left-=this._get(e,\"isRTL\")?r-o:0,i.left-=n&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=n&&i.top===e.input.offset().top+a?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+r>l&&l>r?Math.abs(i.left+r-l):0),i.top-=Math.min(i.top,i.top+s>u&&u>s?Math.abs(s+a):0),i},_findPos:function(e){for(var i,n=this._getInst(e),r=this._get(n,\"isRTL\");e&&(\"hidden\"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[r?\"previousSibling\":\"nextSibling\"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,n,r,s,a=this._curInst;!a||e&&a!==t.data(e,o)||this._datepickerShowing&&(i=this._get(a,\"showAnim\"),n=this._get(a,\"duration\"),r=function(){t.datepicker._tidyDialog(a)},t.effects&&(t.effects.effect[i]||t.effects[i])?a.dpDiv.hide(i,t.datepicker._get(a,\"showOptions\"),n,r):a.dpDiv[\"slideDown\"===i?\"slideUp\":\"fadeIn\"===i?\"fadeOut\":\"hide\"](i?n:null,r),i||r(),this._datepickerShowing=!1,s=this._get(a,\"onClose\"),s&&s.apply(a.input?a.input[0]:null,[a.input?a.input.val():\"\",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:\"absolute\",left:\"0\",top:\"-100px\"}),t.blockUI&&(t.unblockUI(),t(\"body\").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(\".ui-datepicker-calendar\")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),n=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents(\"#\"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest(\".\"+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==n)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,n){var r=t(e),s=this._getInst(r[0]);this._isDisabledDatepicker(r[0])||(this._adjustInstDate(s,i+(\"M\"===n?this._get(s,\"showCurrentAtPos\"):0),n),this._updateDatepicker(s))},_gotoToday:function(e){var i,n=t(e),r=this._getInst(n[0]);this._get(r,\"gotoCurrent\")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(i=new Date,r.selectedDay=i.getDate(),r.drawMonth=r.selectedMonth=i.getMonth(),r.drawYear=r.selectedYear=i.getFullYear()),this._notifyChange(r),this._adjustDate(n)},_selectMonthYear:function(e,i,n){var r=t(e),s=this._getInst(r[0]);s[\"selected\"+(\"M\"===n?\"Month\":\"Year\")]=s[\"draw\"+(\"M\"===n?\"Month\":\"Year\")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(s),this._adjustDate(r)},_selectDay:function(e,i,n,r){var s,o=t(e);t(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||(s=this._getInst(o[0]),s.selectedDay=s.currentDay=t(\"a\",r).html(),s.selectedMonth=s.currentMonth=i,s.selectedYear=s.currentYear=n,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,\"\")},_selectDate:function(e,i){var n,r=t(e),s=this._getInst(r[0]);i=null!=i?i:this._formatDate(s),s.input&&s.input.val(i),this._updateAlternate(s),n=this._get(s,\"onSelect\"),n?n.apply(s.input?s.input[0]:null,[i,s]):s.input&&s.input.trigger(\"change\"),s.inline?this._updateDatepicker(s):(this._hideDatepicker(),this._lastInput=s.input[0],\"object\"!=typeof s.input[0]&&s.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var i,n,r,s=this._get(e,\"altField\");s&&(i=this._get(e,\"altFormat\")||this._get(e,\"dateFormat\"),n=this._getDate(e),r=this.formatDate(i,n,this._getFormatConfig(e)),t(s).each(function(){t(this).val(r)}))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,\"\"]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,n){if(null==e||null==i)throw\"Invalid arguments\";if(i=\"object\"==typeof i?i.toString():i+\"\",\"\"===i)return null;var r,s,o,a,l=0,u=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,h=\"string\"!=typeof u?u:(new Date).getFullYear()%100+parseInt(u,10),c=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,p=(n?n.dayNames:null)||this._defaults.dayNames,d=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,f=(n?n.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,_=-1,v=-1,y=!1,b=function(t){var i=r+1<e.length&&e.charAt(r+1)===t;return i&&r++,i},w=function(t){var e=b(t),n=\"@\"===t?14:\"!\"===t?20:\"y\"===t&&e?4:\"o\"===t?3:2,r=new RegExp(\"^\\\\d{1,\"+n+\"}\"),s=i.substring(l).match(r);if(!s)throw\"Missing number at position \"+l;return l+=s[0].length,parseInt(s[0],10)},x=function(e,n,r){var s=-1,o=t.map(b(e)?r:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(o,function(t,e){var n=e[1];return i.substr(l,n.length).toLowerCase()===n.toLowerCase()?(s=e[0],l+=n.length,!1):void 0}),-1!==s)return s+1;throw\"Unknown name at position \"+l},k=function(){if(i.charAt(l)!==e.charAt(r))throw\"Unexpected literal at position \"+l;l++};for(r=0;r<e.length;r++)if(y)\"'\"!==e.charAt(r)||b(\"'\")?k():y=!1;else switch(e.charAt(r)){case\"d\":_=w(\"d\");break;case\"D\":x(\"D\",c,p);break;case\"o\":v=w(\"o\");break;case\"m\":m=w(\"m\");break;case\"M\":m=x(\"M\",d,f);break;case\"y\":g=w(\"y\");break;case\"@\":a=new Date(w(\"@\")),g=a.getFullYear(),m=a.getMonth()+1,_=a.getDate();break;case\"!\":a=new Date((w(\"!\")-this._ticksTo1970)/1e4),g=a.getFullYear(),m=a.getMonth()+1,_=a.getDate();break;case\"'\":b(\"'\")?k():y=!0;break;default:k()}if(l<i.length&&(o=i.substr(l),!/^\\s+/.test(o)))throw\"Extra/unparsed characters found in date: \"+o;if(-1===g?g=(new Date).getFullYear():100>g&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(h>=g?0:-100)),v>-1)for(m=1,_=v;;){if(s=this._getDaysInMonth(g,m-1),s>=_)break;m++,_-=s}if(a=this._daylightSavingAdjust(new Date(g,m-1,_)),a.getFullYear()!==g||a.getMonth()+1!==m||a.getDate()!==_)throw\"Invalid date\";return a},ATOM:\"yy-mm-dd\",COOKIE:\"D, dd M yy\",ISO_8601:\"yy-mm-dd\",RFC_822:\"D, d M y\",RFC_850:\"DD, dd-M-y\",RFC_1036:\"D, d M y\",RFC_1123:\"D, d M yy\",RFC_2822:\"D, d M yy\",RSS:\"D, d M y\",TICKS:\"!\",TIMESTAMP:\"@\",W3C:\"yy-mm-dd\",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return\"\";var n,r=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,s=(i?i.dayNames:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,a=(i?i.monthNames:null)||this._defaults.monthNames,l=function(e){var i=n+1<t.length&&t.charAt(n+1)===e;return i&&n++,i},u=function(t,e,i){var n=\"\"+e;if(l(t))for(;n.length<i;)n=\"0\"+n;return n},h=function(t,e,i,n){return l(t)?n[e]:i[e]},c=\"\",p=!1;if(e)for(n=0;n<t.length;n++)if(p)\"'\"!==t.charAt(n)||l(\"'\")?c+=t.charAt(n):p=!1;else switch(t.charAt(n)){case\"d\":c+=u(\"d\",e.getDate(),2);break;case\"D\":c+=h(\"D\",e.getDay(),r,s);break;case\"o\":c+=u(\"o\",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case\"m\":c+=u(\"m\",e.getMonth()+1,2);break;case\"M\":c+=h(\"M\",e.getMonth(),o,a);break;case\"y\":c+=l(\"y\")?e.getFullYear():(e.getYear()%100<10?\"0\":\"\")+e.getYear()%100;break;case\"@\":c+=e.getTime();break;case\"!\":c+=1e4*e.getTime()+this._ticksTo1970;break;case\"'\":l(\"'\")?c+=\"'\":p=!0;break;default:c+=t.charAt(n)}return c},_possibleChars:function(t){var e,i=\"\",n=!1,r=function(i){var n=e+1<t.length&&t.charAt(e+1)===i;return n&&e++,n};for(e=0;e<t.length;e++)if(n)\"'\"!==t.charAt(e)||r(\"'\")?i+=t.charAt(e):n=!1;else switch(t.charAt(e)){case\"d\":case\"m\":case\"y\":case\"@\":i+=\"0123456789\";break;case\"D\":case\"M\":return null;case\"'\":r(\"'\")?i+=\"'\":n=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,i){return t.settings[i]!==e?t.settings[i]:this._defaults[i]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,\"dateFormat\"),n=t.lastVal=t.input?t.input.val():null,r=this._getDefaultDate(t),s=r,o=this._getFormatConfig(t);try{s=this.parseDate(i,n,o)||r}catch(a){n=e?\"\":n}t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),t.currentDay=n?s.getDate():0,t.currentMonth=n?s.getMonth():0,t.currentYear=n?s.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,\"defaultDate\"),new Date))},_determineDate:function(e,i,n){var r=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},s=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,\"dateFormat\"),i,t.datepicker._getFormatConfig(e))}catch(n){}for(var r=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,s=r.getFullYear(),o=r.getMonth(),a=r.getDate(),l=/([+\\-]?[0-9]+)\\s*(d|D|w|W|m|M|y|Y)?/g,u=l.exec(i);u;){switch(u[2]||\"d\"){case\"d\":case\"D\":a+=parseInt(u[1],10);break;case\"w\":case\"W\":a+=7*parseInt(u[1],10);break;case\"m\":case\"M\":o+=parseInt(u[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(s,o));break;case\"y\":case\"Y\":s+=parseInt(u[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(s,o))}u=l.exec(i)}return new Date(s,o,a)},o=null==i||\"\"===i?n:\"string\"==typeof i?s(i):\"number\"==typeof i?isNaN(i)?n:r(i):new Date(i.getTime());return o=o&&\"Invalid Date\"===o.toString()?n:o,o&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,r=t.selectedMonth,s=t.selectedYear,o=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=o.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=o.getMonth(),t.drawYear=t.selectedYear=t.currentYear=o.getFullYear(),r===t.selectedMonth&&s===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?\"\":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&\"\"===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,\"stepMonths\"),n=\"#\"+e.id.replace(/\\\\\\\\/g,\"\\\\\");e.dpDiv.find(\"[data-handler]\").map(function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,\"M\")},next:function(){t.datepicker._adjustDate(n,+i,\"M\")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute(\"data-month\"),+this.getAttribute(\"data-year\"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,\"M\"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,\"Y\"),!1}};t(this).bind(this.getAttribute(\"data-event\"),e[this.getAttribute(\"data-handler\")])})},_generateHTML:function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j,O,F,L,H=new Date,B=this._daylightSavingAdjust(new Date(H.getFullYear(),H.getMonth(),H.getDate())),W=this._get(t,\"isRTL\"),q=this._get(t,\"showButtonPanel\"),Y=this._get(t,\"hideIfNoPrevNext\"),V=this._get(t,\"navigationAsDateFormat\"),$=this._getNumberOfMonths(t),U=this._get(t,\"showCurrentAtPos\"),G=this._get(t,\"stepMonths\"),X=1!==$[0]||1!==$[1],Z=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),J=this._getMinMaxDate(t,\"min\"),Q=this._getMinMaxDate(t,\"max\"),K=t.drawMonth-U,tt=t.drawYear;if(0>K&&(K+=12,tt--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-$[0]*$[1]+1,Q.getDate())),e=J&&J>e?J:e;this._daylightSavingAdjust(new Date(tt,K,1))>e;)K--,0>K&&(K=11,tt--);for(t.drawMonth=K,t.drawYear=tt,i=this._get(t,\"prevText\"),i=V?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,K-G,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,K)?\"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='\"+i+\"'><span class='ui-icon ui-icon-circle-triangle-\"+(W?\"e\":\"w\")+\"'>\"+i+\"</span></a>\":Y?\"\":\"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='\"+i+\"'><span class='ui-icon ui-icon-circle-triangle-\"+(W?\"e\":\"w\")+\"'>\"+i+\"</span></a>\",r=this._get(t,\"nextText\"),r=V?this.formatDate(r,this._daylightSavingAdjust(new Date(tt,K+G,1)),this._getFormatConfig(t)):r,s=this._canAdjustMonth(t,1,tt,K)?\"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='\"+r+\"'><span class='ui-icon ui-icon-circle-triangle-\"+(W?\"w\":\"e\")+\"'>\"+r+\"</span></a>\":Y?\"\":\"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='\"+r+\"'><span class='ui-icon ui-icon-circle-triangle-\"+(W?\"w\":\"e\")+\"'>\"+r+\"</span></a>\",o=this._get(t,\"currentText\"),a=this._get(t,\"gotoCurrent\")&&t.currentDay?Z:B,o=V?this.formatDate(o,a,this._getFormatConfig(t)):o,l=t.inline?\"\":\"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>\"+this._get(t,\"closeText\")+\"</button>\",u=q?\"<div class='ui-datepicker-buttonpane ui-widget-content'>\"+(W?l:\"\")+(this._isInRange(t,a)?\"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>\"+o+\"</button>\":\"\")+(W?\"\":l)+\"</div>\":\"\",h=parseInt(this._get(t,\"firstDay\"),10),h=isNaN(h)?0:h,c=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<$[0];x++){for(k=\"\",this.maxRows=4,M=0;M<$[1];M++){if(C=this._daylightSavingAdjust(new Date(tt,K,t.selectedDay)),D=\" ui-corner-all\",T=\"\",X){if(T+=\"<div class='ui-datepicker-group\",$[1]>1)switch(M){case 0:T+=\" ui-datepicker-group-first\",D=\" ui-corner-\"+(W?\"right\":\"left\");break;case $[1]-1:T+=\" ui-datepicker-group-last\",D=\" ui-corner-\"+(W?\"left\":\"right\");break;default:T+=\" ui-datepicker-group-middle\",D=\"\"}T+=\"'>\"}for(T+=\"<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix\"+D+\"'>\"+(/all|left/.test(D)&&0===x?W?s:n:\"\")+(/all|right/.test(D)&&0===x?W?n:s:\"\")+this._generateMonthYearHeader(t,K,tt,J,Q,x>0||M>0,f,g)+\"</div><table class='ui-datepicker-calendar'><thead><tr>\",S=c?\"<th class='ui-datepicker-week-col'>\"+this._get(t,\"weekHeader\")+\"</th>\":\"\",w=0;7>w;w++)A=(w+h)%7,S+=\"<th\"+((w+h+6)%7>=5?\" class='ui-datepicker-week-end'\":\"\")+\"><span title='\"+p[A]+\"'>\"+d[A]+\"</span></th>\";for(T+=S+\"</tr></thead><tbody>\",P=this._getDaysInMonth(tt,K),tt===t.selectedYear&&K===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,P)),E=(this._getFirstDayOfMonth(tt,K)-h+7)%7,I=Math.ceil((E+P)/7),N=X&&this.maxRows>I?this.maxRows:I,this.maxRows=N,R=this._daylightSavingAdjust(new Date(tt,K,1-E)),z=0;N>z;z++){for(T+=\"<tr>\",j=c?\"<td class='ui-datepicker-week-col'>\"+this._get(t,\"calculateWeek\")(R)+\"</td>\":\"\",w=0;7>w;w++)O=m?m.apply(t.input?t.input[0]:null,[R]):[!0,\"\"],F=R.getMonth()!==K,L=F&&!v||!O[0]||J&&J>R||Q&&R>Q,j+=\"<td class='\"+((w+h+6)%7>=5?\" ui-datepicker-week-end\":\"\")+(F?\" ui-datepicker-other-month\":\"\")+(R.getTime()===C.getTime()&&K===t.selectedMonth&&t._keyEvent||y.getTime()===R.getTime()&&y.getTime()===C.getTime()?\" \"+this._dayOverClass:\"\")+(L?\" \"+this._unselectableClass+\" ui-state-disabled\":\"\")+(F&&!_?\"\":\" \"+O[1]+(R.getTime()===Z.getTime()?\" \"+this._currentClass:\"\")+(R.getTime()===B.getTime()?\" ui-datepicker-today\":\"\"))+\"'\"+(F&&!_||!O[2]?\"\":\" title='\"+O[2].replace(/'/g,\"&#39;\")+\"'\")+(L?\"\":\" data-handler='selectDay' data-event='click' data-month='\"+R.getMonth()+\"' data-year='\"+R.getFullYear()+\"'\")+\">\"+(F&&!_?\"&#xa0;\":L?\"<span class='ui-state-default'>\"+R.getDate()+\"</span>\":\"<a class='ui-state-default\"+(R.getTime()===B.getTime()?\" ui-state-highlight\":\"\")+(R.getTime()===Z.getTime()?\" ui-state-active\":\"\")+(F?\" ui-priority-secondary\":\"\")+\"' href='#'>\"+R.getDate()+\"</a>\")+\"</td>\",R.setDate(R.getDate()+1),R=this._daylightSavingAdjust(R);T+=j+\"</tr>\"}K++,K>11&&(K=0,tt++),T+=\"</tbody></table>\"+(X?\"</div>\"+($[0]>0&&M===$[1]-1?\"<div class='ui-datepicker-row-break'></div>\":\"\"):\"\"),k+=T}b+=k}return b+=u,t._keyEvent=!1,b},_generateMonthYearHeader:function(t,e,i,n,r,s,o,a){var l,u,h,c,p,d,f,g,m=this._get(t,\"changeMonth\"),_=this._get(t,\"changeYear\"),v=this._get(t,\"showMonthAfterYear\"),y=\"<div class='ui-datepicker-title'>\",b=\"\";if(s||!m)b+=\"<span class='ui-datepicker-month'>\"+o[e]+\"</span>\";else{for(l=n&&n.getFullYear()===i,u=r&&r.getFullYear()===i,b+=\"<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>\",h=0;12>h;h++)(!l||h>=n.getMonth())&&(!u||h<=r.getMonth())&&(b+=\"<option value='\"+h+\"'\"+(h===e?\" selected='selected'\":\"\")+\">\"+a[h]+\"</option>\");b+=\"</select>\"}if(v||(y+=b+(!s&&m&&_?\"\":\"&#xa0;\")),!t.yearshtml)if(t.yearshtml=\"\",s||!_)y+=\"<span class='ui-datepicker-year'>\"+i+\"</span>\";else{for(c=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(c[0]),g=Math.max(f,d(c[1]||\"\")),f=n?Math.max(f,n.getFullYear()):f,g=r?Math.min(g,r.getFullYear()):g,t.yearshtml+=\"<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>\";g>=f;f++)t.yearshtml+=\"<option value='\"+f+\"'\"+(f===i?\" selected='selected'\":\"\")+\">\"+f+\"</option>\";t.yearshtml+=\"</select>\",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,\"yearSuffix\"),v&&(y+=(!s&&m&&_?\"\":\"&#xa0;\")+b),y+=\"</div>\"},_adjustInstDate:function(t,e,i){var n=t.drawYear+(\"Y\"===i?e:0),r=t.drawMonth+(\"M\"===i?e:0),s=Math.min(t.selectedDay,this._getDaysInMonth(n,r))+(\"D\"===i?e:0),o=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,r,s)));t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.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),s=this._daylightSavingAdjust(new Date(i,n+(0>e?e:r[0]*r[1]),1));return 0>e&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(t,s)},_isInRange:function(t,e){var i,n,r=this._getMinMaxDate(t,\"min\"),s=this._getMinMaxDate(t,\"max\"),o=null,a=null,l=this._get(t,\"yearRange\");return l&&(i=l.split(\":\"),n=(new Date).getFullYear(),o=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\\-].*/)&&(o+=n),i[1].match(/[+\\-].*/)&&(a+=n)),(!r||e.getTime()>=r.getTime())&&(!s||e.getTime()<=s.getTime())&&(!o||e.getFullYear()>=o)&&(!a||e.getFullYear()<=a)},_getFormatConfig:function(t){var e=this._get(t,\"shortYearCutoff\");return e=\"string\"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,\"dayNamesShort\"),dayNames:this._get(t,\"dayNames\"),monthNamesShort:this._get(t,\"monthNamesShort\"),monthNames:this._get(t,\"monthNames\")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var r=e?\"object\"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,\"dateFormat\"),r,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t(\"#\"+t.datepicker._mainDivId).length&&t(\"body\").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return\"string\"!=typeof e||\"isDisabled\"!==e&&\"getDate\"!==e&&\"widget\"!==e?\"option\"===e&&2===arguments.length&&\"string\"==typeof arguments[1]?t.datepicker[\"_\"+e+\"Datepicker\"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){\"string\"==typeof e?t.datepicker[\"_\"+e+\"Datepicker\"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker[\"_\"+e+\"Datepicker\"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version=\"1.10.3\"}(n),function(t,e){var i={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},n={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};t.widget(\"ui.dialog\",{version:\"1.10.3\",options:{appendTo:\"body\",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:\"close\",dialogClass:\"\",draggable:!0,hide:null,height:\"auto\",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:\"center\",at:\"center\",of:window,collision:\"fit\",using:function(e){var i=t(this).css(e).offset().top;0>i&&t(this).css(\"top\",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr(\"title\"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr(\"title\").addClass(\"ui-dialog-content ui-widget-content\").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||\"body\").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass(\"ui-dialog-content ui-widget-content\").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr(\"title\",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger(\"beforeClose\",e)!==!1&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(\":focusable\").focus().length||t(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){i._trigger(\"close\",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(\":visible\").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger(\"focus\",t),i},open:function(){var e=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger(\"focus\")}),void this._trigger(\"open\"))},_focusTabbable:function(){var t=this.element.find(\"[autofocus]\");t.length||(t=this.element.find(\":tabbable\")),t.length||(t=this.uiDialogButtonPane.find(\":tabbable\")),t.length||(t=this.uiDialogTitlebarClose.filter(\":tabbable\")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(e){function i(){var e=this.document[0].activeElement,i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);i||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t(\"<div>\").addClass(\"ui-dialog ui-widget ui-widget-content ui-corner-all ui-front \"+this.options.dialogClass).hide().attr({tabIndex:-1,role:\"dialog\"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===t.ui.keyCode.TAB){var i=this.uiDialog.find(\":tabbable\"),n=i.filter(\":first\"),r=i.filter(\":last\");e.target!==r[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==n[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(r.focus(1),e.preventDefault()):(n.focus(1),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find(\"[aria-describedby]\").length||this.uiDialog.attr({\"aria-describedby\":this.element.uniqueId().attr(\"id\")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t(\"<div>\").addClass(\"ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix\").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(\".ui-dialog-titlebar-close\")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=t(\"<button></button>\").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(\"<span>\").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(\"&#160;\"),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t(\"<div>\").addClass(\"ui-dialog-buttonpane ui-widget-content ui-helper-clearfix\"),this.uiButtonSet=t(\"<div>\").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,s;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)},s={icons:n.icons,text:n.showText},delete n.icons,delete n.showText,t(\"<button></button>\",n).button(s).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,s){n.position=[s.position.left-i.document.scrollLeft(),s.position.top-i.document.scrollTop()],t(this).removeClass(\"ui-dialog-dragging\"),i._unblockFrames(),i._trigger(\"dragStop\",r,e(s))}})},_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,s=this.uiDialog.css(\"position\"),o=\"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:o,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,s){n.height=t(this).height(),n.width=t(this).width(),t(this).removeClass(\"ui-dialog-resizing\"),i._unblockFrames(),i._trigger(\"resizeStop\",r,e(s))}}).css(\"position\",s)},_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,s=!1,o={};t.each(e,function(t,e){r._setOption(t,e),t in i&&(s=!0),t in n&&(o[t]=e)}),s&&(this._size(),this._position()),this.uiDialog.is(\":data(ui-resizable)\")&&this.uiDialog.resizable(\"option\",o)},_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());\n",
       "        },_blockFrames:function(){this.iframeBlocks=this.document.find(\"iframe\").map(function(){var e=t(this);return t(\"<div>\").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(\"<div>\").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]<0?r[1]:\"+\"+r[1]),at:n.join(\" \")}),i=t.extend({},t.ui.dialog.prototype.options.position,i)):i=t.ui.dialog.prototype.options.position,e=this.uiDialog.is(\":visible\"),e||this.uiDialog.show(),this.uiDialog.position(i),e||this.uiDialog.hide()}})}(n),function(t,e){var i=/up|down|vertical/,n=/up|left|vertical|horizontal/;t.effects.effect.blind=function(e,r){var s,o,a,l=t(this),u=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"height\",\"width\"],h=t.effects.setMode(l,e.mode||\"hide\"),c=e.direction||\"up\",p=i.test(c),d=p?\"height\":\"width\",f=p?\"top\":\"left\",g=n.test(c),m={},_=\"show\"===h;l.parent().is(\".ui-effects-wrapper\")?t.effects.save(l.parent(),u):t.effects.save(l,u),l.show(),s=t.effects.createWrapper(l).css({overflow:\"hidden\"}),o=s[d](),a=parseFloat(s.css(f))||0,m[d]=_?o:0,g||(l.css(p?\"bottom\":\"right\",0).css(p?\"top\":\"left\",\"auto\").css({position:\"absolute\"}),m[f]=_?a:o+a),_&&(s.css(d,0),g||s.css(f,a+o)),s.animate(m,{duration:e.duration,easing:e.easing,queue:!1,complete:function(){\"hide\"===h&&l.hide(),t.effects.restore(l,u),t.effects.removeWrapper(l),r()}})}}(n),function(t,e){t.effects.effect.bounce=function(e,i){var n,r,s,o=t(this),a=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"height\",\"width\"],l=t.effects.setMode(o,e.mode||\"effect\"),u=\"hide\"===l,h=\"show\"===l,c=e.direction||\"up\",p=e.distance,d=e.times||5,f=2*d+(h||u?1:0),g=e.duration/f,m=e.easing,_=\"up\"===c||\"down\"===c?\"top\":\"left\",v=\"up\"===c||\"left\"===c,y=o.queue(),b=y.length;for((h||u)&&a.push(\"opacity\"),t.effects.save(o,a),o.show(),t.effects.createWrapper(o),p||(p=o[\"top\"===_?\"outerHeight\":\"outerWidth\"]()/3),h&&(s={opacity:1},s[_]=0,o.css(\"opacity\",0).css(_,v?2*-p:2*p).animate(s,g,m)),u&&(p/=Math.pow(2,d-1)),s={},s[_]=0,n=0;d>n;n++)r={},r[_]=(v?\"-=\":\"+=\")+p,o.animate(r,g,m).animate(s,g,m),p=u?2*p:p/2;u&&(r={opacity:0},r[_]=(v?\"-=\":\"+=\")+p,o.animate(r,g,m)),o.queue(function(){u&&o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),i()}),b>1&&y.splice.apply(y,[1,0].concat(y.splice(b,f+1))),o.dequeue()}}(n),function(t,e){t.effects.effect.clip=function(e,i){var n,r,s,o=t(this),a=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"height\",\"width\"],l=t.effects.setMode(o,e.mode||\"hide\"),u=\"show\"===l,h=e.direction||\"vertical\",c=\"vertical\"===h,p=c?\"height\":\"width\",d=c?\"top\":\"left\",f={};t.effects.save(o,a),o.show(),n=t.effects.createWrapper(o).css({overflow:\"hidden\"}),r=\"IMG\"===o[0].tagName?n:o,s=r[p](),u&&(r.css(p,0),r.css(d,s/2)),f[p]=u?s:0,f[d]=u?0:s/2,r.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){u||o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),i()}})}}(n),function(t,e){t.effects.effect.drop=function(e,i){var n,r=t(this),s=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"opacity\",\"height\",\"width\"],o=t.effects.setMode(r,e.mode||\"hide\"),a=\"show\"===o,l=e.direction||\"left\",u=\"up\"===l||\"down\"===l?\"top\":\"left\",h=\"up\"===l||\"left\"===l?\"pos\":\"neg\",c={opacity:a?1:0};t.effects.save(r,s),r.show(),t.effects.createWrapper(r),n=e.distance||r[\"top\"===u?\"outerHeight\":\"outerWidth\"](!0)/2,a&&r.css(\"opacity\",0).css(u,\"pos\"===h?-n:n),c[u]=(a?\"pos\"===h?\"+=\":\"-=\":\"pos\"===h?\"-=\":\"+=\")+n,r.animate(c,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){\"hide\"===o&&r.hide(),t.effects.restore(r,s),t.effects.removeWrapper(r),i()}})}}(n),function(t,e){t.effects.effect.explode=function(e,i){function n(){y.push(this),y.length===c*p&&r()}function r(){d.css({visibility:\"visible\"}),t(y).remove(),g||d.hide(),i()}var s,o,a,l,u,h,c=e.pieces?Math.round(Math.sqrt(e.pieces)):3,p=c,d=t(this),f=t.effects.setMode(d,e.mode||\"hide\"),g=\"show\"===f,m=d.show().css(\"visibility\",\"hidden\").offset(),_=Math.ceil(d.outerWidth()/p),v=Math.ceil(d.outerHeight()/c),y=[];for(s=0;c>s;s++)for(l=m.top+s*v,h=s-(c-1)/2,o=0;p>o;o++)a=m.left+o*_,u=o-(p-1)/2,d.clone().appendTo(\"body\").wrap(\"<div></div>\").css({position:\"absolute\",visibility:\"visible\",left:-o*_,top:-s*v}).parent().addClass(\"ui-effects-explode\").css({position:\"absolute\",overflow:\"hidden\",width:_,height:v,left:a+(g?u*_:0),top:l+(g?h*v:0),opacity:g?0:1}).animate({left:a+(g?0:u*_),top:l+(g?0:h*v),opacity:g?1:0},e.duration||500,e.easing,n)}}(n),function(t,e){t.effects.effect.fade=function(e,i){var n=t(this),r=t.effects.setMode(n,e.mode||\"toggle\");n.animate({opacity:r},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}}(n),function(t,e){t.effects.effect.fold=function(e,i){var n,r,s=t(this),o=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"height\",\"width\"],a=t.effects.setMode(s,e.mode||\"hide\"),l=\"show\"===a,u=\"hide\"===a,h=e.size||15,c=/([0-9]+)%/.exec(h),p=!!e.horizFirst,d=l!==p,f=d?[\"width\",\"height\"]:[\"height\",\"width\"],g=e.duration/2,m={},_={};t.effects.save(s,o),s.show(),n=t.effects.createWrapper(s).css({overflow:\"hidden\"}),r=d?[n.width(),n.height()]:[n.height(),n.width()],c&&(h=parseInt(c[1],10)/100*r[u?0:1]),l&&n.css(p?{height:0,width:h}:{height:h,width:0}),m[f[0]]=l?r[0]:h,_[f[1]]=l?r[1]:0,n.animate(m,g,e.easing).animate(_,g,e.easing,function(){u&&s.hide(),t.effects.restore(s,o),t.effects.removeWrapper(s),i()})}}(n),function(t,e){t.effects.effect.highlight=function(e,i){var n=t(this),r=[\"backgroundImage\",\"backgroundColor\",\"opacity\"],s=t.effects.setMode(n,e.mode||\"show\"),o={backgroundColor:n.css(\"backgroundColor\")};\"hide\"===s&&(o.opacity=0),t.effects.save(n,r),n.show().css({backgroundImage:\"none\",backgroundColor:e.color||\"#ffff99\"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){\"hide\"===s&&n.hide(),t.effects.restore(n,r),i()}})}}(n),function(t,e){t.effects.effect.pulsate=function(e,i){var n,r=t(this),s=t.effects.setMode(r,e.mode||\"show\"),o=\"show\"===s,a=\"hide\"===s,l=o||\"hide\"===s,u=2*(e.times||5)+(l?1:0),h=e.duration/u,c=0,p=r.queue(),d=p.length;for((o||!r.is(\":visible\"))&&(r.css(\"opacity\",0).show(),c=1),n=1;u>n;n++)r.animate({opacity:c},h,e.easing),c=1-c;r.animate({opacity:c},h,e.easing),r.queue(function(){a&&r.hide(),i()}),d>1&&p.splice.apply(p,[1,0].concat(p.splice(d,u+1))),r.dequeue()}}(n),function(t,e){t.effects.effect.puff=function(e,i){var n=t(this),r=t.effects.setMode(n,e.mode||\"hide\"),s=\"hide\"===r,o=parseInt(e.percent,10)||150,a=o/100,l={height:n.height(),width:n.width(),outerHeight:n.outerHeight(),outerWidth:n.outerWidth()};t.extend(e,{effect:\"scale\",queue:!1,fade:!0,mode:r,complete:i,percent:s?o:100,from:s?l:{height:l.height*a,width:l.width*a,outerHeight:l.outerHeight*a,outerWidth:l.outerWidth*a}}),n.effect(e)},t.effects.effect.scale=function(e,i){var n=t(this),r=t.extend(!0,{},e),s=t.effects.setMode(n,e.mode||\"effect\"),o=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:\"hide\"===s?0:100),a=e.direction||\"both\",l=e.origin,u={height:n.height(),width:n.width(),outerHeight:n.outerHeight(),outerWidth:n.outerWidth()},h={y:\"horizontal\"!==a?o/100:1,x:\"vertical\"!==a?o/100:1};r.effect=\"size\",r.queue=!1,r.complete=i,\"effect\"!==s&&(r.origin=l||[\"middle\",\"center\"],r.restore=!0),r.from=e.from||(\"show\"===s?{height:0,width:0,outerHeight:0,outerWidth:0}:u),r.to={height:u.height*h.y,width:u.width*h.x,outerHeight:u.outerHeight*h.y,outerWidth:u.outerWidth*h.x},r.fade&&(\"show\"===s&&(r.from.opacity=0,r.to.opacity=1),\"hide\"===s&&(r.from.opacity=1,r.to.opacity=0)),n.effect(r)},t.effects.effect.size=function(e,i){var n,r,s,o=t(this),a=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"width\",\"height\",\"overflow\",\"opacity\"],l=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"overflow\",\"opacity\"],u=[\"width\",\"height\",\"overflow\"],h=[\"fontSize\"],c=[\"borderTopWidth\",\"borderBottomWidth\",\"paddingTop\",\"paddingBottom\"],p=[\"borderLeftWidth\",\"borderRightWidth\",\"paddingLeft\",\"paddingRight\"],d=t.effects.setMode(o,e.mode||\"effect\"),f=e.restore||\"effect\"!==d,g=e.scale||\"both\",m=e.origin||[\"middle\",\"center\"],_=o.css(\"position\"),v=f?a:l,y={height:0,width:0,outerHeight:0,outerWidth:0};\"show\"===d&&o.show(),n={height:o.height(),width:o.width(),outerHeight:o.outerHeight(),outerWidth:o.outerWidth()},\"toggle\"===e.mode&&\"show\"===d?(o.from=e.to||y,o.to=e.from||n):(o.from=e.from||(\"show\"===d?y:n),o.to=e.to||(\"hide\"===d?y:n)),s={from:{y:o.from.height/n.height,x:o.from.width/n.width},to:{y:o.to.height/n.height,x:o.to.width/n.width}},(\"box\"===g||\"both\"===g)&&(s.from.y!==s.to.y&&(v=v.concat(c),o.from=t.effects.setTransition(o,c,s.from.y,o.from),o.to=t.effects.setTransition(o,c,s.to.y,o.to)),s.from.x!==s.to.x&&(v=v.concat(p),o.from=t.effects.setTransition(o,p,s.from.x,o.from),o.to=t.effects.setTransition(o,p,s.to.x,o.to))),(\"content\"===g||\"both\"===g)&&s.from.y!==s.to.y&&(v=v.concat(h).concat(u),o.from=t.effects.setTransition(o,h,s.from.y,o.from),o.to=t.effects.setTransition(o,h,s.to.y,o.to)),t.effects.save(o,v),o.show(),t.effects.createWrapper(o),o.css(\"overflow\",\"hidden\").css(o.from),m&&(r=t.effects.getBaseline(m,n),o.from.top=(n.outerHeight-o.outerHeight())*r.y,o.from.left=(n.outerWidth-o.outerWidth())*r.x,o.to.top=(n.outerHeight-o.to.outerHeight)*r.y,o.to.left=(n.outerWidth-o.to.outerWidth)*r.x),o.css(o.from),(\"content\"===g||\"both\"===g)&&(c=c.concat([\"marginTop\",\"marginBottom\"]).concat(h),p=p.concat([\"marginLeft\",\"marginRight\"]),u=a.concat(c).concat(p),o.find(\"*[width]\").each(function(){var i=t(this),n={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&t.effects.save(i,u),i.from={height:n.height*s.from.y,width:n.width*s.from.x,outerHeight:n.outerHeight*s.from.y,outerWidth:n.outerWidth*s.from.x},i.to={height:n.height*s.to.y,width:n.width*s.to.x,outerHeight:n.height*s.to.y,outerWidth:n.width*s.to.x},s.from.y!==s.to.y&&(i.from=t.effects.setTransition(i,c,s.from.y,i.from),i.to=t.effects.setTransition(i,c,s.to.y,i.to)),s.from.x!==s.to.x&&(i.from=t.effects.setTransition(i,p,s.from.x,i.from),i.to=t.effects.setTransition(i,p,s.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,e.easing,function(){f&&t.effects.restore(i,u)})})),o.animate(o.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===o.to.opacity&&o.css(\"opacity\",o.from.opacity),\"hide\"===d&&o.hide(),t.effects.restore(o,v),f||(\"static\"===_?o.css({position:\"relative\",top:o.to.top,left:o.to.left}):t.each([\"top\",\"left\"],function(t,e){o.css(e,function(e,i){var n=parseInt(i,10),r=t?o.to.left:o.to.top;return\"auto\"===i?r+\"px\":n+r+\"px\"})})),t.effects.removeWrapper(o),i()}})}}(n),function(t,e){t.effects.effect.shake=function(e,i){var n,r=t(this),s=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"height\",\"width\"],o=t.effects.setMode(r,e.mode||\"effect\"),a=e.direction||\"left\",l=e.distance||20,u=e.times||3,h=2*u+1,c=Math.round(e.duration/h),p=\"up\"===a||\"down\"===a?\"top\":\"left\",d=\"up\"===a||\"left\"===a,f={},g={},m={},_=r.queue(),v=_.length;for(t.effects.save(r,s),r.show(),t.effects.createWrapper(r),f[p]=(d?\"-=\":\"+=\")+l,g[p]=(d?\"+=\":\"-=\")+2*l,m[p]=(d?\"-=\":\"+=\")+2*l,r.animate(f,c,e.easing),n=1;u>n;n++)r.animate(g,c,e.easing).animate(m,c,e.easing);r.animate(g,c,e.easing).animate(f,c/2,e.easing).queue(function(){\"hide\"===o&&r.hide(),t.effects.restore(r,s),t.effects.removeWrapper(r),i()}),v>1&&_.splice.apply(_,[1,0].concat(_.splice(v,h+1))),r.dequeue()}}(n),function(t,e){t.effects.effect.slide=function(e,i){var n,r=t(this),s=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"width\",\"height\"],o=t.effects.setMode(r,e.mode||\"show\"),a=\"show\"===o,l=e.direction||\"left\",u=\"up\"===l||\"down\"===l?\"top\":\"left\",h=\"up\"===l||\"left\"===l,c={};t.effects.save(r,s),r.show(),n=e.distance||r[\"top\"===u?\"outerHeight\":\"outerWidth\"](!0),t.effects.createWrapper(r).css({overflow:\"hidden\"}),a&&r.css(u,h?isNaN(n)?\"-\"+n:-n:n),c[u]=(a?h?\"+=\":\"-=\":h?\"-=\":\"+=\")+n,r.animate(c,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){\"hide\"===o&&r.hide(),t.effects.restore(r,s),t.effects.removeWrapper(r),i()}})}}(n),function(t,e){t.effects.effect.transfer=function(e,i){var n=t(this),r=t(e.to),s=\"fixed\"===r.css(\"position\"),o=t(\"body\"),a=s?o.scrollTop():0,l=s?o.scrollLeft():0,u=r.offset(),h={top:u.top-a,left:u.left-l,height:r.innerHeight(),width:r.innerWidth()},c=n.offset(),p=t(\"<div class='ui-effects-transfer'></div>\").appendTo(document.body).addClass(e.className).css({top:c.top-a,left:c.left-l,height:n.innerHeight(),width:n.innerWidth(),position:s?\"fixed\":\"absolute\"}).animate(h,e.duration,e.easing,function(){p.remove(),i()})}}(n),function(t,e){t.widget(\"ui.menu\",{version:\"1.10.3\",defaultElement:\"<ul>\",delay:300,options:{icons:{submenu:\"ui-icon-carat-1-e\"},menus:\"ul\",position:{my:\"left top\",at:\"right top\"},role:\"menu\",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass(\"ui-menu ui-widget ui-widget-content ui-corner-all\").toggleClass(\"ui-menu-icons\",!!this.element.find(\".ui-icon\").length).attr({role:this.options.role,tabIndex:0}).bind(\"click\"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass(\"ui-state-disabled\").attr(\"aria-disabled\",\"true\"),this._on({\"mousedown .ui-menu-item > a\":function(t){t.preventDefault()},\"click .ui-state-disabled > a\":function(t){t.preventDefault()},\"click .ui-menu-item:has(a)\":function(e){var i=t(e.target).closest(\".ui-menu-item\");!this.mouseHandled&&i.not(\".ui-state-disabled\").length&&(this.mouseHandled=!0,this.select(e),i.has(\".ui-menu\").length?this.expand(e):this.element.is(\":focus\")||(this.element.trigger(\"focus\",[!0]),this.active&&1===this.active.parents(\".ui-menu\").length&&clearTimeout(this.timer)))},\"mouseenter .ui-menu-item\":function(e){var i=t(e.currentTarget);i.siblings().children(\".ui-state-active\").removeClass(\"ui-state-active\"),this.focus(e,i)},mouseleave:\"collapseAll\",\"mouseleave .ui-menu\":\"collapseAll\",focus:function(t,e){var i=this.active||this.element.children(\".ui-menu-item\").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:\"_keydown\"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(\".ui-menu\").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr(\"aria-activedescendant\").find(\".ui-menu\").addBack().removeClass(\"ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons\").removeAttr(\"role\").removeAttr(\"tabIndex\").removeAttr(\"aria-labelledby\").removeAttr(\"aria-expanded\").removeAttr(\"aria-hidden\").removeAttr(\"aria-disabled\").removeUniqueId().show(),this.element.find(\".ui-menu-item\").removeClass(\"ui-menu-item\").removeAttr(\"role\").removeAttr(\"aria-disabled\").children(\"a\").removeUniqueId().removeClass(\"ui-corner-all ui-state-hover\").removeAttr(\"tabIndex\").removeAttr(\"role\").removeAttr(\"aria-haspopup\").children().each(function(){var e=t(this);e.data(\"ui-menu-submenu-carat\")&&e.remove()}),this.element.find(\".ui-menu-divider\").removeClass(\"ui-menu-divider ui-widget-content\")},_keydown:function(e){function i(t){return t.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g,\"\\\\$&\")}var n,r,s,o,a,l=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move(\"first\",\"first\",e);break;case t.ui.keyCode.END:this._move(\"last\",\"last\",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(\".ui-state-disabled\")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:l=!1,r=this.previousFilter||\"\",s=String.fromCharCode(e.keyCode),o=!1,clearTimeout(this.filterTimer),s===r?o=!0:s=r+s,a=new RegExp(\"^\"+i(s),\"i\"),n=this.activeMenu.children(\".ui-menu-item\").filter(function(){return a.test(t(this).children(\"a\").text())}),n=o&&-1!==n.index(this.active.next())?this.active.nextAll(\".ui-menu-item\"):n,n.length||(s=String.fromCharCode(e.keyCode),a=new RegExp(\"^\"+i(s),\"i\"),n=this.activeMenu.children(\".ui-menu-item\").filter(function(){return a.test(t(this).children(\"a\").text())})),n.length?(this.focus(e,n),n.length>1?(this.previousFilter=s,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}l&&e.preventDefault()},_activate:function(t){this.active.is(\".ui-state-disabled\")||(this.active.children(\"a[aria-haspopup='true']\").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,n=this.element.find(this.options.menus);n.filter(\":not(.ui-menu)\").addClass(\"ui-menu ui-widget ui-widget-content ui-corner-all\").hide().attr({role:this.options.role,\"aria-hidden\":\"true\",\"aria-expanded\":\"false\"}).each(function(){var e=t(this),n=e.prev(\"a\"),r=t(\"<span>\").addClass(\"ui-menu-icon ui-icon \"+i).data(\"ui-menu-submenu-carat\",!0);n.attr(\"aria-haspopup\",\"true\").prepend(r),e.attr(\"aria-labelledby\",n.attr(\"id\"))}),e=n.add(this.element),e.children(\":not(.ui-menu-item):has(a)\").addClass(\"ui-menu-item\").attr(\"role\",\"presentation\").children(\"a\").uniqueId().addClass(\"ui-corner-all\").attr({tabIndex:-1,role:this._itemRole()}),e.children(\":not(.ui-menu-item)\").each(function(){var e=t(this);/[^\\-\\u2014\\u2013\\s]/.test(e.text())||e.addClass(\"ui-widget-content ui-menu-divider\")}),e.children(\".ui-state-disabled\").attr(\"aria-disabled\",\"true\"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:\"menuitem\",listbox:\"option\"}[this.options.role]},_setOption:function(t,e){\"icons\"===t&&this.element.find(\".ui-menu-icon\").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,n;this.blur(t,t&&\"focus\"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children(\"a\").addClass(\"ui-state-focus\"),this.options.role&&this.element.attr(\"aria-activedescendant\",n.attr(\"id\")),this.active.parent().closest(\".ui-menu-item\").children(\"a:first\").addClass(\"ui-state-active\"),t&&\"keydown\"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(\".ui-menu\"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger(\"focus\",t,{item:e})},_scrollIntoView:function(e){var i,n,r,s,o,a;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],\"borderTopWidth\"))||0,n=parseFloat(t.css(this.activeMenu[0],\"paddingTop\"))||0,r=e.offset().top-this.activeMenu.offset().top-i-n,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),a=e.height(),0>r?this.activeMenu.scrollTop(s+r):r+a>o&&this.activeMenu.scrollTop(s+r-o+a))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children(\"a\").removeClass(\"ui-state-focus\"),this.active=null,this._trigger(\"blur\",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),\"true\"===t.attr(\"aria-hidden\")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(\".ui-menu\").not(e.parents(\".ui-menu\")).hide().attr(\"aria-hidden\",\"true\"),e.show().removeAttr(\"aria-hidden\").attr(\"aria-expanded\",\"true\").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var n=i?this.element:t(e&&e.target).closest(this.element.find(\".ui-menu\"));n.length||(n=this.element),this._close(n),this.blur(e),this.activeMenu=n},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(\".ui-menu\").hide().attr(\"aria-hidden\",\"true\").attr(\"aria-expanded\",\"false\").end().find(\"a.ui-state-active\").removeClass(\"ui-state-active\")},collapse:function(t){var e=this.active&&this.active.parent().closest(\".ui-menu-item\",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(\".ui-menu \").children(\".ui-menu-item\").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move(\"next\",\"first\",t)},previous:function(t){this._move(\"prev\",\"last\",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(\".ui-menu-item\").length},isLastItem:function(){return this.active&&!this.active.nextAll(\".ui-menu-item\").length},_move:function(t,e,i){var n;this.active&&(n=\"first\"===t||\"last\"===t?this.active[\"first\"===t?\"prevAll\":\"nextAll\"](\".ui-menu-item\").eq(-1):this.active[t+\"All\"](\".ui-menu-item\").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.children(\".ui-menu-item\")[e]()),this.focus(i,n)},nextPage:function(e){var i,n,r;return this.active?void(this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.nextAll(\".ui-menu-item\").each(function(){return i=t(this),i.offset().top-n-r<0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(\".ui-menu-item\")[this.active?\"last\":\"first\"]()))):void this.next(e)},previousPage:function(e){var i,n,r;return this.active?void(this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.prevAll(\".ui-menu-item\").each(function(){return i=t(this),i.offset().top-n+r>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(\".ui-menu-item\").first()))):void this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop(\"scrollHeight\")},select:function(e){this.active=this.active||t(e.target).closest(\".ui-menu-item\");var i={item:this.active};this.active.has(\".ui-menu\").length||this.collapseAll(e,!0),this._trigger(\"select\",e,i)}})}(n),function(t,e){function i(t,e,i){return[parseFloat(t[0])*(d.test(t[0])?e/100:1),parseFloat(t[1])*(d.test(t[1])?i/100:1)]}function n(e,i){return parseInt(t.css(e,i),10)||0}function r(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var s,o=Math.max,a=Math.abs,l=Math.round,u=/left|center|right/,h=/top|center|bottom/,c=/[\\+\\-]\\d+(\\.[\\d]+)?%?/,p=/^\\w+/,d=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(s!==e)return s;var i,n,r=t(\"<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>\"),o=r.children()[0];return t(\"body\").append(r),i=o.offsetWidth,r.css(\"overflow\",\"scroll\"),n=o.offsetWidth,i===n&&(n=r[0].clientWidth),r.remove(),s=i-n},getScrollInfo:function(e){var i=e.isWindow?\"\":e.element.css(\"overflow-x\"),n=e.isWindow?\"\":e.element.css(\"overflow-y\"),r=\"scroll\"===i||\"auto\"===i&&e.width<e.element[0].scrollWidth,s=\"scroll\"===n||\"auto\"===n&&e.height<e.element[0].scrollHeight;return{width:s?t.position.scrollbarWidth():0,height:r?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),n=t.isWindow(i[0]);return{element:i,isWindow:n,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:n?i.width():i.outerWidth(),height:n?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return f.apply(this,arguments);e=t.extend({},e);var s,d,g,m,_,v,y=t(e.of),b=t.position.getWithinInfo(e.within),w=t.position.getScrollInfo(b),x=(e.collision||\"flip\").split(\" \"),k={};return v=r(y),y[0].preventDefault&&(e.at=\"left top\"),d=v.width,g=v.height,m=v.offset,_=t.extend({},m),t.each([\"my\",\"at\"],function(){var t,i,n=(e[this]||\"\").split(\" \");1===n.length&&(n=u.test(n[0])?n.concat([\"center\"]):h.test(n[0])?[\"center\"].concat(n):[\"center\",\"center\"]),n[0]=u.test(n[0])?n[0]:\"center\",n[1]=h.test(n[1])?n[1]:\"center\",t=c.exec(n[0]),i=c.exec(n[1]),k[this]=[t?t[0]:0,i?i[0]:0],e[this]=[p.exec(n[0])[0],p.exec(n[1])[0]]}),1===x.length&&(x[1]=x[0]),\"right\"===e.at[0]?_.left+=d:\"center\"===e.at[0]&&(_.left+=d/2),\"bottom\"===e.at[1]?_.top+=g:\"center\"===e.at[1]&&(_.top+=g/2),s=i(k.at,d,g),_.left+=s[0],_.top+=s[1],this.each(function(){var r,u,h=t(this),c=h.outerWidth(),p=h.outerHeight(),f=n(this,\"marginLeft\"),v=n(this,\"marginTop\"),M=c+f+n(this,\"marginRight\")+w.width,C=p+v+n(this,\"marginBottom\")+w.height,D=t.extend({},_),T=i(k.my,h.outerWidth(),h.outerHeight());\"right\"===e.my[0]?D.left-=c:\"center\"===e.my[0]&&(D.left-=c/2),\"bottom\"===e.my[1]?D.top-=p:\"center\"===e.my[1]&&(D.top-=p/2),D.left+=T[0],D.top+=T[1],t.support.offsetFractions||(D.left=l(D.left),D.top=l(D.top)),r={marginLeft:f,marginTop:v},t.each([\"left\",\"top\"],function(i,n){t.ui.position[x[i]]&&t.ui.position[x[i]][n](D,{targetWidth:d,targetHeight:g,elemWidth:c,elemHeight:p,collisionPosition:r,collisionWidth:M,collisionHeight:C,offset:[s[0]+T[0],s[1]+T[1]],my:e.my,at:e.at,within:b,elem:h})}),e.using&&(u=function(t){var i=m.left-D.left,n=i+d-c,r=m.top-D.top,s=r+g-p,l={target:{element:y,left:m.left,top:m.top,width:d,height:g},element:{element:h,left:D.left,top:D.top,width:c,height:p},horizontal:0>n?\"left\":i>0?\"right\":\"center\",vertical:0>s?\"top\":r>0?\"bottom\":\"middle\"};c>d&&a(i+n)<d&&(l.horizontal=\"center\"),p>g&&a(r+s)<g&&(l.vertical=\"middle\"),o(a(i),a(n))>o(a(r),a(s))?l.important=\"horizontal\":l.important=\"vertical\",e.using.call(this,t,l)}),h.offset(t.extend(D,{using:u}))})},t.ui.position={fit:{left:function(t,e){var i,n=e.within,r=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,a=t.left-e.collisionPosition.marginLeft,l=r-a,u=a+e.collisionWidth-s-r;e.collisionWidth>s?l>0&&0>=u?(i=t.left+l+e.collisionWidth-s-r,t.left+=l-i):u>0&&0>=l?t.left=r:l>u?t.left=r+s-e.collisionWidth:t.left=r:l>0?t.left+=l:u>0?t.left-=u:t.left=o(t.left-a,t.left)},top:function(t,e){var i,n=e.within,r=n.isWindow?n.scrollTop:n.offset.top,s=e.within.height,a=t.top-e.collisionPosition.marginTop,l=r-a,u=a+e.collisionHeight-s-r;e.collisionHeight>s?l>0&&0>=u?(i=t.top+l+e.collisionHeight-s-r,t.top+=l-i):u>0&&0>=l?t.top=r:l>u?t.top=r+s-e.collisionHeight:t.top=r:l>0?t.top+=l:u>0?t.top-=u:t.top=o(t.top-a,t.top)}},flip:{left:function(t,e){var i,n,r=e.within,s=r.offset.left+r.scrollLeft,o=r.width,l=r.isWindow?r.scrollLeft:r.offset.left,u=t.left-e.collisionPosition.marginLeft,h=u-l,c=u+e.collisionWidth-o-l,p=\"left\"===e.my[0]?-e.elemWidth:\"right\"===e.my[0]?e.elemWidth:0,d=\"left\"===e.at[0]?e.targetWidth:\"right\"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>h?(i=t.left+p+d+f+e.collisionWidth-o-s,(0>i||i<a(h))&&(t.left+=p+d+f)):c>0&&(n=t.left-e.collisionPosition.marginLeft+p+d+f-l,(n>0||a(n)<c)&&(t.left+=p+d+f))},top:function(t,e){var i,n,r=e.within,s=r.offset.top+r.scrollTop,o=r.height,l=r.isWindow?r.scrollTop:r.offset.top,u=t.top-e.collisionPosition.marginTop,h=u-l,c=u+e.collisionHeight-o-l,p=\"top\"===e.my[1],d=p?-e.elemHeight:\"bottom\"===e.my[1]?e.elemHeight:0,f=\"top\"===e.at[1]?e.targetHeight:\"bottom\"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>h?(n=t.top+d+f+g+e.collisionHeight-o-s,t.top+d+f+g>h&&(0>n||n<a(h))&&(t.top+=d+f+g)):c>0&&(i=t.top-e.collisionPosition.marginTop+d+f+g-l,t.top+d+f+g>c&&(i>0||a(i)<c)&&(t.top+=d+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,n,r,s,o=document.getElementsByTagName(\"body\")[0],a=document.createElement(\"div\");e=document.createElement(o?\"div\":\"body\"),n={visibility:\"hidden\",width:0,height:0,border:0,margin:0,background:\"none\"},o&&t.extend(n,{position:\"absolute\",left:\"-1000px\",top:\"-1000px\"});for(s in n)e.style[s]=n[s];e.appendChild(a),i=o||document.documentElement,i.insertBefore(e,i.firstChild),a.style.cssText=\"position: absolute; left: 10.7432222px;\",r=t(a).offset().left,t.support.offsetFractions=r>10&&11>r,e.innerHTML=\"\",i.removeChild(e)}()}(n),function(t,e){t.widget(\"ui.progressbar\",{version:\"1.10.3\",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass(\"ui-progressbar ui-widget ui-widget-content ui-corner-all\").attr({role:\"progressbar\",\"aria-valuemin\":this.min}),this.valueDiv=t(\"<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>\").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass(\"ui-progressbar ui-widget ui-widget-content ui-corner-all\").removeAttr(\"role\").removeAttr(\"aria-valuemin\").removeAttr(\"aria-valuemax\").removeAttr(\"aria-valuenow\"),this.valueDiv.remove()},value:function(t){return t===e?this.options.value:(this.options.value=this._constrainedValue(t),void this._refreshValue())},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=t===!1,\"number\"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){\"max\"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass(\"ui-corner-right\",e===this.options.max).width(i.toFixed(0)+\"%\"),this.element.toggleClass(\"ui-progressbar-indeterminate\",this.indeterminate),this.indeterminate?(this.element.removeAttr(\"aria-valuenow\"),this.overlayDiv||(this.overlayDiv=t(\"<div class='ui-progressbar-overlay'></div>\").appendTo(this.valueDiv))):(this.element.attr({\"aria-valuemax\":this.options.max,\"aria-valuenow\":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger(\"change\")),e===this.options.max&&this._trigger(\"complete\")}})}(n),function(t,e){var i=5;t.widget(\"ui.slider\",t.ui.mouse,{version:\"1.10.3\",widgetEventPrefix:\"slide\",options:{animate:!1,distance:0,max:100,min:0,orientation:\"horizontal\",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass(\"ui-slider ui-slider-\"+this.orientation+\" ui-widget ui-widget-content ui-corner-all\"),this._refresh(),this._setOption(\"disabled\",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,n=this.options,r=this.element.find(\".ui-slider-handle\").addClass(\"ui-state-default ui-corner-all\"),s=\"<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>\",o=[];for(i=n.values&&n.values.length||1,\n",
       "        r.length>i&&(r.slice(i).remove(),r=r.slice(0,i)),e=r.length;i>e;e++)o.push(s);this.handles=r.add(t(o.join(\"\")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data(\"ui-slider-handle-index\",e)})},_createRange:function(){var e=this.options,i=\"\";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass(\"ui-slider-range-min ui-slider-range-max\").css({left:\"\",bottom:\"\"}):(this.range=t(\"<div></div>\").appendTo(this.element),i=\"ui-slider-range ui-widget-header ui-corner-all\"),this.range.addClass(i+(\"min\"===e.range||\"max\"===e.range?\" ui-slider-range-\"+e.range:\"\"))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter(\"a\");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass(\"ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all\"),this._mouseDestroy()},_mouseCapture:function(e){var i,n,r,s,o,a,l,u,h=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(i),r=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(n-h.values(e));(r>i||r===i&&(e===h._lastChangedValue||h.values(e)===c.min))&&(r=i,s=t(this),o=e)}),a=this._start(e,o),a===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,s.addClass(\"ui-state-active\").focus(),l=s.offset(),u=!t(e.target).parents().addBack().is(\".ui-slider-handle\"),this._clickOffset=u?{left:0,top:0}:{left:e.pageX-l.left-s.width()/2,top:e.pageY-l.top-s.height()/2-(parseInt(s.css(\"borderTopWidth\"),10)||0)-(parseInt(s.css(\"borderBottomWidth\"),10)||0)+(parseInt(s.css(\"marginTop\"),10)||0)},this.handles.hasClass(\"ui-state-hover\")||this._slide(e,o,n),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass(\"ui-state-active\"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=\"vertical\"===this.options.orientation?\"vertical\":\"horizontal\"},_normValueFromMouse:function(t){var e,i,n,r,s;return\"horizontal\"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),n=i/e,n>1&&(n=1),0>n&&(n=0),\"vertical\"===this.orientation&&(n=1-n),r=this._valueMax()-this._valueMin(),s=this._valueMin()+n*r,this._trimAlignValue(s)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger(\"start\",t,i)},_slide:function(t,e,i){var n,r,s;this.options.values&&this.options.values.length?(n=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>n||1===e&&n>i)&&(i=n),i!==this.values(e)&&(r=this.values(),r[e]=i,s=this._trigger(\"slide\",t,{handle:this.handles[e],value:i,values:r}),n=this.values(e?0:1),s!==!1&&this.values(e,i,!0))):i!==this.value()&&(s=this._trigger(\"slide\",t,{handle:this.handles[e],value:i}),s!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger(\"stop\",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger(\"change\",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,i){var n,r,s;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(n=this.options.values,r=arguments[0],s=0;s<n.length;s+=1)n[s]=this._trimAlignValue(r[s]),this._change(null,s);this._refreshValue()},_setOption:function(e,i){var n,r=0;switch(\"range\"===e&&this.options.range===!0&&(\"min\"===i?(this.options.value=this._values(0),this.options.values=null):\"max\"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(r=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case\"orientation\":this._detectOrientation(),this.element.removeClass(\"ui-slider-horizontal ui-slider-vertical\").addClass(\"ui-slider-\"+this.orientation),this._refreshValue();break;case\"value\":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case\"values\":for(this._animateOff=!0,this._refreshValue(),n=0;r>n;n+=1)this._change(null,n);this._animateOff=!1;break;case\"min\":case\"max\":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case\"range\":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,n;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,n=t-i;return 2*Math.abs(i)>=e&&(n+=i>0?e:-e),parseFloat(n.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,n,r,s,o=this.options.range,a=this.options,l=this,u=this._animateOff?!1:a.animate,h={};this.options.values&&this.options.values.length?this.handles.each(function(n){i=(l.values(n)-l._valueMin())/(l._valueMax()-l._valueMin())*100,h[\"horizontal\"===l.orientation?\"left\":\"bottom\"]=i+\"%\",t(this).stop(1,1)[u?\"animate\":\"css\"](h,a.animate),l.options.range===!0&&(\"horizontal\"===l.orientation?(0===n&&l.range.stop(1,1)[u?\"animate\":\"css\"]({left:i+\"%\"},a.animate),1===n&&l.range[u?\"animate\":\"css\"]({width:i-e+\"%\"},{queue:!1,duration:a.animate})):(0===n&&l.range.stop(1,1)[u?\"animate\":\"css\"]({bottom:i+\"%\"},a.animate),1===n&&l.range[u?\"animate\":\"css\"]({height:i-e+\"%\"},{queue:!1,duration:a.animate}))),e=i}):(n=this.value(),r=this._valueMin(),s=this._valueMax(),i=s!==r?(n-r)/(s-r)*100:0,h[\"horizontal\"===this.orientation?\"left\":\"bottom\"]=i+\"%\",this.handle.stop(1,1)[u?\"animate\":\"css\"](h,a.animate),\"min\"===o&&\"horizontal\"===this.orientation&&this.range.stop(1,1)[u?\"animate\":\"css\"]({width:i+\"%\"},a.animate),\"max\"===o&&\"horizontal\"===this.orientation&&this.range[u?\"animate\":\"css\"]({width:100-i+\"%\"},{queue:!1,duration:a.animate}),\"min\"===o&&\"vertical\"===this.orientation&&this.range.stop(1,1)[u?\"animate\":\"css\"]({height:i+\"%\"},a.animate),\"max\"===o&&\"vertical\"===this.orientation&&this.range[u?\"animate\":\"css\"]({height:100-i+\"%\"},{queue:!1,duration:a.animate}))},_handleEvents:{keydown:function(e){var n,r,s,o,a=t(e.target).data(\"ui-slider-handle-index\");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(e.target).addClass(\"ui-state-active\"),n=this._start(e,a),n===!1))return}switch(o=this.options.step,r=s=this.options.values&&this.options.values.length?this.values(a):this.value(),e.keyCode){case t.ui.keyCode.HOME:s=this._valueMin();break;case t.ui.keyCode.END:s=this._valueMax();break;case t.ui.keyCode.PAGE_UP:s=this._trimAlignValue(r+(this._valueMax()-this._valueMin())/i);break;case t.ui.keyCode.PAGE_DOWN:s=this._trimAlignValue(r-(this._valueMax()-this._valueMin())/i);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(r===this._valueMax())return;s=this._trimAlignValue(r+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(r===this._valueMin())return;s=this._trimAlignValue(r-o)}this._slide(e,a,s)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data(\"ui-slider-handle-index\");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass(\"ui-state-active\"))}}})}(n),function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger(\"change\")}}t.widget(\"ui.spinner\",{version:\"1.10.3\",defaultElement:\"<input>\",widgetEventPrefix:\"spin\",options:{culture:null,icons:{down:\"ui-icon-triangle-1-s\",up:\"ui-icon-triangle-1-n\"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption(\"max\",this.options.max),this._setOption(\"min\",this.options.min),this._setOption(\"step\",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr(\"autocomplete\")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each([\"min\",\"max\",\"step\"],function(t,n){var r=i.attr(n);void 0!==r&&r.length&&(e[n]=r)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:\"_stop\",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(this._stop(),this._refresh(),void(this.previous!==this.element.val()&&this._trigger(\"change\",t)))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},\"mousedown .ui-spinner-button\":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass(\"ui-spinner-up\")?1:-1,e)},\"mouseup .ui-spinner-button\":\"_stop\",\"mouseenter .ui-spinner-button\":function(e){return t(e.currentTarget).hasClass(\"ui-state-active\")?this._start(e)===!1?!1:void this._repeat(null,t(e.currentTarget).hasClass(\"ui-spinner-up\")?1:-1,e):void 0},\"mouseleave .ui-spinner-button\":\"_stop\"},_draw:function(){var t=this.uiSpinner=this.element.addClass(\"ui-spinner-input\").attr(\"autocomplete\",\"off\").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr(\"role\",\"spinbutton\"),this.buttons=t.find(\".ui-spinner-button\").attr(\"tabIndex\",-1).button().removeClass(\"ui-corner-all\"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,n=t.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,i.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return\"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>\"},_buttonHtml:function(){return\"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon \"+this.options.icons.up+\"'>&#9650;</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon \"+this.options.icons.down+\"'>&#9660;</span></a>\"},_start:function(t){return this.spinning||this._trigger(\"start\",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger(\"spin\",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(\".\");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;return e=null!==n.min?n.min:0,i=t-e,i=Math.round(i/n.step)*n.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==n.max&&t>n.max?n.max:null!==n.min&&t<n.min?n.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger(\"stop\",t))},_setOption:function(t,e){if(\"culture\"===t||\"numberFormat\"===t){var i=this._parse(this.element.val());return this.options[t]=e,void this.element.val(this._format(i))}(\"max\"===t||\"min\"===t||\"step\"===t)&&\"string\"==typeof e&&(e=this._parse(e)),\"icons\"===t&&(this.buttons.first().find(\".ui-icon\").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(\".ui-icon\").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),\"disabled\"===t&&(e?(this.element.prop(\"disabled\",!0),this.buttons.button(\"disable\")):(this.element.prop(\"disabled\",!1),this.buttons.button(\"enable\")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return\"string\"==typeof t&&\"\"!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),\"\"===t||isNaN(t)?null:t},_format:function(t){return\"\"===t?\"\":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({\"aria-valuemin\":this.options.min,\"aria-valuemax\":this.options.max,\"aria-valuenow\":this._parse(this.element.val())})},_value:function(t,e){var i;\"\"!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass(\"ui-spinner-input\").prop(\"disabled\",!1).removeAttr(\"autocomplete\").removeAttr(\"role\").removeAttr(\"aria-valuemin\").removeAttr(\"aria-valuemax\").removeAttr(\"aria-valuenow\"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?void e(this._value).call(this,t):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})}(n),function(t,e){function i(){return++r}function n(t){return t.hash.length>1&&decodeURIComponent(t.href.replace(s,\"\"))===decodeURIComponent(location.href.replace(s,\"\"))}var r=0,s=/#.*$/;t.widget(\"ui.tabs\",{version:\"1.10.3\",delay:300,options:{active:null,collapsible:!1,event:\"click\",heightStyle:\"content\",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options;this.running=!1,this.element.addClass(\"ui-tabs ui-widget ui-widget-content ui-corner-all\").toggleClass(\"ui-tabs-collapsible\",i.collapsible).delegate(\".ui-tabs-nav > li\",\"mousedown\"+this.eventNamespace,function(e){t(this).is(\".ui-state-disabled\")&&e.preventDefault()}).delegate(\".ui-tabs-anchor\",\"focus\"+this.eventNamespace,function(){t(this).closest(\"li\").is(\".ui-state-disabled\")&&this.blur()}),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(\".ui-state-disabled\"),function(t){return e.tabs.index(t)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(i.active):this.active=t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var e=this.options.active,i=this.options.collapsible,n=location.hash.substring(1);return null===e&&(n&&this.tabs.each(function(i,r){return t(r).attr(\"aria-controls\")===n?(e=i,!1):void 0}),null===e&&(e=this.tabs.index(this.tabs.filter(\".ui-tabs-active\"))),(null===e||-1===e)&&(e=this.tabs.length?0:!1)),e!==!1&&(e=this.tabs.index(this.tabs.eq(e)),-1===e&&(e=i?!1:0)),!i&&e===!1&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var i=t(this.document[0].activeElement).closest(\"li\"),n=this.tabs.index(i),r=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:r=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n===this.options.active?!1:n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,r),e.ctrlKey||(i.attr(\"aria-selected\",\"false\"),this.tabs.eq(n).attr(\"aria-selected\",\"true\"),this.activating=this._delay(function(){this.option(\"active\",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,i){function n(){return e>r&&(e=0),0>e&&(e=r),e}for(var r=this.tabs.length-1;-1!==t.inArray(n(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,e){return\"active\"===t?void this._activate(e):\"disabled\"===t?void this._setupDisabled(e):(this._super(t,e),\"collapsible\"===t&&(this.element.toggleClass(\"ui-tabs-collapsible\",e),e||this.options.active!==!1||this._activate(0)),\"event\"===t&&this._setupEvents(e),void(\"heightStyle\"===t&&this._setupHeightStyle(e)))},_tabId:function(t){return t.attr(\"aria-controls\")||\"ui-tabs-\"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!\"$%&'()*+,.\\/:;<=>?@\\[\\]\\^`{|}~]/g,\"\\\\$&\"):\"\"},refresh:function(){var e=this.options,i=this.tablist.children(\":has(a[href])\");e.disabled=t.map(i.filter(\".ui-state-disabled\"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({\"aria-selected\":\"false\",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({\"aria-expanded\":\"false\",\"aria-hidden\":\"true\"}),this.active.length?(this.active.addClass(\"ui-tabs-active ui-state-active\").attr({\"aria-selected\":\"true\",tabIndex:0}),this._getPanelForTab(this.active).show().attr({\"aria-expanded\":\"true\",\"aria-hidden\":\"false\"})):this.tabs.eq(0).attr(\"tabIndex\",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass(\"ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all\").attr(\"role\",\"tablist\"),this.tabs=this.tablist.find(\"> li:has(a[href])\").addClass(\"ui-state-default ui-corner-top\").attr({role:\"tab\",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t(\"a\",this)[0]}).addClass(\"ui-tabs-anchor\").attr({role:\"presentation\",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,r){var s,o,a,l=t(r).uniqueId().attr(\"id\"),u=t(r).closest(\"li\"),h=u.attr(\"aria-controls\");n(r)?(s=r.hash,o=e.element.find(e._sanitizeSelector(s))):(a=e._tabId(u),s=\"#\"+a,o=e.element.find(s),o.length||(o=e._createPanel(a),o.insertAfter(e.panels[i-1]||e.tablist)),o.attr(\"aria-live\",\"polite\")),o.length&&(e.panels=e.panels.add(o)),h&&u.data(\"ui-tabs-aria-controls\",h),u.attr({\"aria-controls\":s.substring(1),\"aria-labelledby\":l}),o.attr(\"aria-labelledby\",l)}),this.panels.addClass(\"ui-tabs-panel ui-widget-content ui-corner-bottom\").attr(\"role\",\"tabpanel\")},_getList:function(){return this.element.find(\"ol,ul\").eq(0)},_createPanel:function(e){return t(\"<div>\").attr(\"id\",e).addClass(\"ui-tabs-panel ui-widget-content ui-corner-bottom\").data(\"ui-tabs-destroy\",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,n=0;i=this.tabs[n];n++)e===!0||-1!==t.inArray(n,e)?t(i).addClass(\"ui-state-disabled\").attr(\"aria-disabled\",\"true\"):t(i).removeClass(\"ui-state-disabled\").removeAttr(\"aria-disabled\");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(\" \"),function(t,e){i[e]=\"_eventHandler\"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:\"_tabKeydown\"}),this._on(this.panels,{keydown:\"_panelKeydown\"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,n=this.element.parent();\"fill\"===e?(i=n.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(\":visible\").each(function(){var e=t(this),n=e.css(\"position\");\"absolute\"!==n&&\"fixed\"!==n&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css(\"overflow\",\"auto\")):\"auto\"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height(\"\").height())}).height(i))},_eventHandler:function(e){var i=this.options,n=this.active,r=t(e.currentTarget),s=r.closest(\"li\"),o=s[0]===n[0],a=o&&i.collapsible,l=a?t():this._getPanelForTab(s),u=n.length?this._getPanelForTab(n):t(),h={oldTab:n,oldPanel:u,newTab:a?t():s,newPanel:l};e.preventDefault(),s.hasClass(\"ui-state-disabled\")||s.hasClass(\"ui-tabs-loading\")||this.running||o&&!i.collapsible||this._trigger(\"beforeActivate\",e,h)===!1||(i.active=a?!1:this.tabs.index(s),this.active=o?t():s,this.xhr&&this.xhr.abort(),u.length||l.length||t.error(\"jQuery UI Tabs: Mismatching fragment identifier.\"),l.length&&this.load(this.tabs.index(s),e),this._toggle(e,h))},_toggle:function(e,i){function n(){s.running=!1,s._trigger(\"activate\",e,i)}function r(){i.newTab.closest(\"li\").addClass(\"ui-tabs-active ui-state-active\"),o.length&&s.options.show?s._show(o,s.options.show,n):(o.show(),n())}var s=this,o=i.newPanel,a=i.oldPanel;this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){i.oldTab.closest(\"li\").removeClass(\"ui-tabs-active ui-state-active\"),r()}):(i.oldTab.closest(\"li\").removeClass(\"ui-tabs-active ui-state-active\"),a.hide(),r()),a.attr({\"aria-expanded\":\"false\",\"aria-hidden\":\"true\"}),i.oldTab.attr(\"aria-selected\",\"false\"),o.length&&a.length?i.oldTab.attr(\"tabIndex\",-1):o.length&&this.tabs.filter(function(){return 0===t(this).attr(\"tabIndex\")}).attr(\"tabIndex\",-1),o.attr({\"aria-expanded\":\"true\",\"aria-hidden\":\"false\"}),i.newTab.attr({\"aria-selected\":\"true\",tabIndex:0})},_activate:function(e){var i,n=this._findActive(e);n[0]!==this.active[0]&&(n.length||(n=this.active),i=n.find(\".ui-tabs-anchor\")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(t){return\"string\"==typeof t&&(t=this.anchors.index(this.anchors.filter(\"[href$='\"+t+\"']\"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass(\"ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible\"),this.tablist.removeClass(\"ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all\").removeAttr(\"role\"),this.anchors.removeClass(\"ui-tabs-anchor\").removeAttr(\"role\").removeAttr(\"tabIndex\").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,\"ui-tabs-destroy\")?t(this).remove():t(this).removeClass(\"ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel\").removeAttr(\"tabIndex\").removeAttr(\"aria-live\").removeAttr(\"aria-busy\").removeAttr(\"aria-selected\").removeAttr(\"aria-labelledby\").removeAttr(\"aria-hidden\").removeAttr(\"aria-expanded\").removeAttr(\"role\")}),this.tabs.each(function(){var e=t(this),i=e.data(\"ui-tabs-aria-controls\");i?e.attr(\"aria-controls\",i).removeData(\"ui-tabs-aria-controls\"):e.removeAttr(\"aria-controls\")}),this.panels.show(),\"content\"!==this.options.heightStyle&&this.panels.css(\"height\",\"\")},enable:function(i){var n=this.options.disabled;n!==!1&&(i===e?n=!1:(i=this._getIndex(i),n=t.isArray(n)?t.map(n,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(n))},disable:function(i){var n=this.options.disabled;if(n!==!0){if(i===e)n=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,n))return;n=t.isArray(n)?t.merge([i],n).sort():[i]}this._setupDisabled(n)}},load:function(e,i){e=this._getIndex(e);var r=this,s=this.tabs.eq(e),o=s.find(\".ui-tabs-anchor\"),a=this._getPanelForTab(s),l={tab:s,panel:a};n(o[0])||(this.xhr=t.ajax(this._ajaxSettings(o,i,l)),this.xhr&&\"canceled\"!==this.xhr.statusText&&(s.addClass(\"ui-tabs-loading\"),a.attr(\"aria-busy\",\"true\"),this.xhr.success(function(t){setTimeout(function(){a.html(t),r._trigger(\"load\",i,l)},1)}).complete(function(t,e){setTimeout(function(){\"abort\"===e&&r.panels.stop(!1,!0),s.removeClass(\"ui-tabs-loading\"),a.removeAttr(\"aria-busy\"),t===r.xhr&&delete r.xhr},1)})))},_ajaxSettings:function(e,i,n){var r=this;return{url:e.attr(\"href\"),beforeSend:function(e,s){return r._trigger(\"beforeLoad\",i,t.extend({jqXHR:e,ajaxSettings:s},n))}}},_getPanelForTab:function(e){var i=t(e).attr(\"aria-controls\");return this.element.find(this._sanitizeSelector(\"#\"+i))}})}(n),function(t){function e(e,i){var n=(e.attr(\"aria-describedby\")||\"\").split(/\\s+/);n.push(i),e.data(\"ui-tooltip-id\",i).attr(\"aria-describedby\",t.trim(n.join(\" \")))}function i(e){var i=e.data(\"ui-tooltip-id\"),n=(e.attr(\"aria-describedby\")||\"\").split(/\\s+/),r=t.inArray(i,n);-1!==r&&n.splice(r,1),e.removeData(\"ui-tooltip-id\"),n=t.trim(n.join(\" \")),n?e.attr(\"aria-describedby\",n):e.removeAttr(\"aria-describedby\")}var n=0;t.widget(\"ui.tooltip\",{version:\"1.10.3\",options:{content:function(){var e=t(this).attr(\"title\")||\"\";return t(\"<a>\").text(e).html()},hide:!0,items:\"[title]:not([disabled])\",position:{my:\"left top+15\",at:\"left bottom\",collision:\"flipfit flip\"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:\"open\",focusin:\"open\"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var n=this;return\"disabled\"===e?(this[i?\"_disable\":\"_enable\"](),void(this.options[e]=i)):(this._super(e,i),void(\"content\"===e&&t.each(this.tooltips,function(t,e){n._updateContent(e)})))},_disable:function(){var e=this;t.each(this.tooltips,function(i,n){var r=t.Event(\"blur\");r.target=r.currentTarget=n[0],e.close(r,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.is(\"[title]\")&&e.data(\"ui-tooltip-title\",e.attr(\"title\")).attr(\"title\",\"\")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.data(\"ui-tooltip-title\")&&e.attr(\"title\",e.data(\"ui-tooltip-title\"))})},open:function(e){var i=this,n=t(e?e.target:this.element).closest(this.options.items);n.length&&!n.data(\"ui-tooltip-id\")&&(n.attr(\"title\")&&n.data(\"ui-tooltip-title\",n.attr(\"title\")),n.data(\"ui-tooltip-open\",!0),e&&\"mouseover\"===e.type&&n.parents().each(function(){var e,n=t(this);n.data(\"ui-tooltip-open\")&&(e=t.Event(\"blur\"),e.target=e.currentTarget=this,i.close(e,!0)),n.attr(\"title\")&&(n.uniqueId(),i.parents[this.id]={element:this,title:n.attr(\"title\")},n.attr(\"title\",\"\"))}),this._updateContent(n,e))},_updateContent:function(t,e){var i,n=this.options.content,r=this,s=e?e.type:null;return\"string\"==typeof n?this._open(e,t,n):(i=n.call(t[0],function(i){t.data(\"ui-tooltip-open\")&&r._delay(function(){e&&(e.type=s),this._open(e,t,i)})}),void(i&&this._open(e,t,i)))},_open:function(i,n,r){function s(t){u.of=t,o.is(\":hidden\")||o.position(u)}var o,a,l,u=t.extend({},this.options.position);if(r){if(o=this._find(n),o.length)return void o.find(\".ui-tooltip-content\").html(r);n.is(\"[title]\")&&(i&&\"mouseover\"===i.type?n.attr(\"title\",\"\"):n.removeAttr(\"title\")),o=this._tooltip(n),e(n,o.attr(\"id\")),o.find(\".ui-tooltip-content\").html(r),this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:s}),s(i)):o.position(t.extend({of:n},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.show&&this.options.show.delay&&(l=this.delayedShow=setInterval(function(){o.is(\":visible\")&&(s(u.of),clearInterval(l))},t.fx.interval)),this._trigger(\"open\",i,{tooltip:o}),a={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=n[0],this.close(i,!0)}},remove:function(){this._removeTooltip(o)}},i&&\"mouseover\"!==i.type||(a.mouseleave=\"close\"),i&&\"focusin\"!==i.type||(a.focusout=\"close\"),this._on(!0,n,a)}},close:function(e){var n=this,r=t(e?e.currentTarget:this.element),s=this._find(r);this.closing||(clearInterval(this.delayedShow),r.data(\"ui-tooltip-title\")&&r.attr(\"title\",r.data(\"ui-tooltip-title\")),i(r),s.stop(!0),this._hide(s,this.options.hide,function(){n._removeTooltip(t(this))}),r.removeData(\"ui-tooltip-open\"),this._off(r,\"mouseleave focusout keyup\"),r[0]!==this.element[0]&&this._off(r,\"remove\"),this._off(this.document,\"mousemove\"),e&&\"mouseleave\"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr(\"title\",i.title),delete n.parents[e]}),this.closing=!0,this._trigger(\"close\",e,{tooltip:s}),this.closing=!1)},_tooltip:function(e){var i=\"ui-tooltip-\"+n++,r=t(\"<div>\").attr({id:i,role:\"tooltip\"}).addClass(\"ui-tooltip ui-widget ui-corner-all ui-widget-content \"+(this.options.tooltipClass||\"\"));return t(\"<div>\").addClass(\"ui-tooltip-content\").appendTo(r),r.appendTo(this.document[0].body),this.tooltips[i]=e,r},_find:function(e){var i=e.data(\"ui-tooltip-id\");return i?t(\"#\"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr(\"id\")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,n){var r=t.Event(\"blur\");r.target=r.currentTarget=n[0],e.close(r,!0),t(\"#\"+i).remove(),n.data(\"ui-tooltip-title\")&&(n.attr(\"title\",n.data(\"ui-tooltip-title\")),n.removeData(\"ui-tooltip-title\"))})}})}(n)},{jquery:18}],12:[function(t,e,i){var n=t(\"jquery\");t(\"./core\"),t(\"./widget\"),\n",
       "        t(\"./position\"),function(t,e){t.widget(\"ui.menu\",{version:\"1.10.4\",defaultElement:\"<ul>\",delay:300,options:{icons:{submenu:\"ui-icon-carat-1-e\"},menus:\"ul\",position:{my:\"left top\",at:\"right top\"},role:\"menu\",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass(\"ui-menu ui-widget ui-widget-content ui-corner-all\").toggleClass(\"ui-menu-icons\",!!this.element.find(\".ui-icon\").length).attr({role:this.options.role,tabIndex:0}).bind(\"click\"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass(\"ui-state-disabled\").attr(\"aria-disabled\",\"true\"),this._on({\"mousedown .ui-menu-item > a\":function(t){t.preventDefault()},\"click .ui-state-disabled > a\":function(t){t.preventDefault()},\"click .ui-menu-item:has(a)\":function(e){var i=t(e.target).closest(\".ui-menu-item\");!this.mouseHandled&&i.not(\".ui-state-disabled\").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(\".ui-menu\").length?this.expand(e):!this.element.is(\":focus\")&&t(this.document[0].activeElement).closest(\".ui-menu\").length&&(this.element.trigger(\"focus\",[!0]),this.active&&1===this.active.parents(\".ui-menu\").length&&clearTimeout(this.timer)))},\"mouseenter .ui-menu-item\":function(e){var i=t(e.currentTarget);i.siblings().children(\".ui-state-active\").removeClass(\"ui-state-active\"),this.focus(e,i)},mouseleave:\"collapseAll\",\"mouseleave .ui-menu\":\"collapseAll\",focus:function(t,e){var i=this.active||this.element.children(\".ui-menu-item\").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:\"_keydown\"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(\".ui-menu\").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr(\"aria-activedescendant\").find(\".ui-menu\").addBack().removeClass(\"ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons\").removeAttr(\"role\").removeAttr(\"tabIndex\").removeAttr(\"aria-labelledby\").removeAttr(\"aria-expanded\").removeAttr(\"aria-hidden\").removeAttr(\"aria-disabled\").removeUniqueId().show(),this.element.find(\".ui-menu-item\").removeClass(\"ui-menu-item\").removeAttr(\"role\").removeAttr(\"aria-disabled\").children(\"a\").removeUniqueId().removeClass(\"ui-corner-all ui-state-hover\").removeAttr(\"tabIndex\").removeAttr(\"role\").removeAttr(\"aria-haspopup\").children().each(function(){var e=t(this);e.data(\"ui-menu-submenu-carat\")&&e.remove()}),this.element.find(\".ui-menu-divider\").removeClass(\"ui-menu-divider ui-widget-content\")},_keydown:function(e){function i(t){return t.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g,\"\\\\$&\")}var n,r,s,o,a,l=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move(\"first\",\"first\",e);break;case t.ui.keyCode.END:this._move(\"last\",\"last\",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(\".ui-state-disabled\")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:l=!1,r=this.previousFilter||\"\",s=String.fromCharCode(e.keyCode),o=!1,clearTimeout(this.filterTimer),s===r?o=!0:s=r+s,a=new RegExp(\"^\"+i(s),\"i\"),n=this.activeMenu.children(\".ui-menu-item\").filter(function(){return a.test(t(this).children(\"a\").text())}),n=o&&-1!==n.index(this.active.next())?this.active.nextAll(\".ui-menu-item\"):n,n.length||(s=String.fromCharCode(e.keyCode),a=new RegExp(\"^\"+i(s),\"i\"),n=this.activeMenu.children(\".ui-menu-item\").filter(function(){return a.test(t(this).children(\"a\").text())})),n.length?(this.focus(e,n),n.length>1?(this.previousFilter=s,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}l&&e.preventDefault()},_activate:function(t){this.active.is(\".ui-state-disabled\")||(this.active.children(\"a[aria-haspopup='true']\").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,n=this.element.find(this.options.menus);this.element.toggleClass(\"ui-menu-icons\",!!this.element.find(\".ui-icon\").length),n.filter(\":not(.ui-menu)\").addClass(\"ui-menu ui-widget ui-widget-content ui-corner-all\").hide().attr({role:this.options.role,\"aria-hidden\":\"true\",\"aria-expanded\":\"false\"}).each(function(){var e=t(this),n=e.prev(\"a\"),r=t(\"<span>\").addClass(\"ui-menu-icon ui-icon \"+i).data(\"ui-menu-submenu-carat\",!0);n.attr(\"aria-haspopup\",\"true\").prepend(r),e.attr(\"aria-labelledby\",n.attr(\"id\"))}),e=n.add(this.element),e.children(\":not(.ui-menu-item):has(a)\").addClass(\"ui-menu-item\").attr(\"role\",\"presentation\").children(\"a\").uniqueId().addClass(\"ui-corner-all\").attr({tabIndex:-1,role:this._itemRole()}),e.children(\":not(.ui-menu-item)\").each(function(){var e=t(this);/[^\\-\\u2014\\u2013\\s]/.test(e.text())||e.addClass(\"ui-widget-content ui-menu-divider\")}),e.children(\".ui-state-disabled\").attr(\"aria-disabled\",\"true\"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:\"menuitem\",listbox:\"option\"}[this.options.role]},_setOption:function(t,e){\"icons\"===t&&this.element.find(\".ui-menu-icon\").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,n;this.blur(t,t&&\"focus\"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children(\"a\").addClass(\"ui-state-focus\"),this.options.role&&this.element.attr(\"aria-activedescendant\",n.attr(\"id\")),this.active.parent().closest(\".ui-menu-item\").children(\"a:first\").addClass(\"ui-state-active\"),t&&\"keydown\"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(\".ui-menu\"),i.length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger(\"focus\",t,{item:e})},_scrollIntoView:function(e){var i,n,r,s,o,a;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],\"borderTopWidth\"))||0,n=parseFloat(t.css(this.activeMenu[0],\"paddingTop\"))||0,r=e.offset().top-this.activeMenu.offset().top-i-n,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),a=e.height(),0>r?this.activeMenu.scrollTop(s+r):r+a>o&&this.activeMenu.scrollTop(s+r-o+a))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children(\"a\").removeClass(\"ui-state-focus\"),this.active=null,this._trigger(\"blur\",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),\"true\"===t.attr(\"aria-hidden\")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(\".ui-menu\").not(e.parents(\".ui-menu\")).hide().attr(\"aria-hidden\",\"true\"),e.show().removeAttr(\"aria-hidden\").attr(\"aria-expanded\",\"true\").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var n=i?this.element:t(e&&e.target).closest(this.element.find(\".ui-menu\"));n.length||(n=this.element),this._close(n),this.blur(e),this.activeMenu=n},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(\".ui-menu\").hide().attr(\"aria-hidden\",\"true\").attr(\"aria-expanded\",\"false\").end().find(\"a.ui-state-active\").removeClass(\"ui-state-active\")},collapse:function(t){var e=this.active&&this.active.parent().closest(\".ui-menu-item\",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(\".ui-menu \").children(\".ui-menu-item\").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move(\"next\",\"first\",t)},previous:function(t){this._move(\"prev\",\"last\",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(\".ui-menu-item\").length},isLastItem:function(){return this.active&&!this.active.nextAll(\".ui-menu-item\").length},_move:function(t,e,i){var n;this.active&&(n=\"first\"===t||\"last\"===t?this.active[\"first\"===t?\"prevAll\":\"nextAll\"](\".ui-menu-item\").eq(-1):this.active[t+\"All\"](\".ui-menu-item\").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.children(\".ui-menu-item\")[e]()),this.focus(i,n)},nextPage:function(e){var i,n,r;return this.active?void(this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.nextAll(\".ui-menu-item\").each(function(){return i=t(this),i.offset().top-n-r<0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(\".ui-menu-item\")[this.active?\"last\":\"first\"]()))):void this.next(e)},previousPage:function(e){var i,n,r;return this.active?void(this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.prevAll(\".ui-menu-item\").each(function(){return i=t(this),i.offset().top-n+r>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(\".ui-menu-item\").first()))):void this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop(\"scrollHeight\")},select:function(e){this.active=this.active||t(e.target).closest(\".ui-menu-item\");var i={item:this.active};this.active.has(\".ui-menu\").length||this.collapseAll(e,!0),this._trigger(\"select\",e,i)}})}(n)},{\"./core\":7,\"./position\":14,\"./widget\":17,jquery:18}],13:[function(t,e,i){var n=t(\"jquery\");t(\"./widget\"),function(t,e){var i=!1;t(document).mouseup(function(){i=!1}),t.widget(\"ui.mouse\",{version:\"1.10.4\",options:{cancel:\"input,textarea,button,select,option\",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind(\"mousedown.\"+this.widgetName,function(t){return e._mouseDown(t)}).bind(\"click.\"+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+\".preventClickEvent\")?(t.removeData(i.target,e.widgetName+\".preventClickEvent\"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind(\".\"+this.widgetName),this._mouseMoveDelegate&&t(document).unbind(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).unbind(\"mouseup.\"+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!i){this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var n=this,r=1===e.which,s=\"string\"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return r&&!s&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+\".preventClickEvent\")&&t.removeData(e.target,this.widgetName+\".preventClickEvent\"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},t(document).bind(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).bind(\"mouseup.\"+this.widgetName,this._mouseUpDelegate),e.preventDefault(),i=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).unbind(\"mouseup.\"+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+\".preventClickEvent\",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(n)},{\"./widget\":17,jquery:18}],14:[function(t,e,i){var n=t(\"jquery\");!function(t,e){function i(t,e,i){return[parseFloat(t[0])*(d.test(t[0])?e/100:1),parseFloat(t[1])*(d.test(t[1])?i/100:1)]}function n(e,i){return parseInt(t.css(e,i),10)||0}function r(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var s,o=Math.max,a=Math.abs,l=Math.round,u=/left|center|right/,h=/top|center|bottom/,c=/[\\+\\-]\\d+(\\.[\\d]+)?%?/,p=/^\\w+/,d=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(s!==e)return s;var i,n,r=t(\"<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>\"),o=r.children()[0];return t(\"body\").append(r),i=o.offsetWidth,r.css(\"overflow\",\"scroll\"),n=o.offsetWidth,i===n&&(n=r[0].clientWidth),r.remove(),s=i-n},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?\"\":e.element.css(\"overflow-x\"),n=e.isWindow||e.isDocument?\"\":e.element.css(\"overflow-y\"),r=\"scroll\"===i||\"auto\"===i&&e.width<e.element[0].scrollWidth,s=\"scroll\"===n||\"auto\"===n&&e.height<e.element[0].scrollHeight;return{width:s?t.position.scrollbarWidth():0,height:r?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),n=t.isWindow(i[0]),r=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:n,isDocument:r,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:n?i.width():i.outerWidth(),height:n?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return f.apply(this,arguments);e=t.extend({},e);var s,d,g,m,_,v,y=t(e.of),b=t.position.getWithinInfo(e.within),w=t.position.getScrollInfo(b),x=(e.collision||\"flip\").split(\" \"),k={};return v=r(y),y[0].preventDefault&&(e.at=\"left top\"),d=v.width,g=v.height,m=v.offset,_=t.extend({},m),t.each([\"my\",\"at\"],function(){var t,i,n=(e[this]||\"\").split(\" \");1===n.length&&(n=u.test(n[0])?n.concat([\"center\"]):h.test(n[0])?[\"center\"].concat(n):[\"center\",\"center\"]),n[0]=u.test(n[0])?n[0]:\"center\",n[1]=h.test(n[1])?n[1]:\"center\",t=c.exec(n[0]),i=c.exec(n[1]),k[this]=[t?t[0]:0,i?i[0]:0],e[this]=[p.exec(n[0])[0],p.exec(n[1])[0]]}),1===x.length&&(x[1]=x[0]),\"right\"===e.at[0]?_.left+=d:\"center\"===e.at[0]&&(_.left+=d/2),\"bottom\"===e.at[1]?_.top+=g:\"center\"===e.at[1]&&(_.top+=g/2),s=i(k.at,d,g),_.left+=s[0],_.top+=s[1],this.each(function(){var r,u,h=t(this),c=h.outerWidth(),p=h.outerHeight(),f=n(this,\"marginLeft\"),v=n(this,\"marginTop\"),M=c+f+n(this,\"marginRight\")+w.width,C=p+v+n(this,\"marginBottom\")+w.height,D=t.extend({},_),T=i(k.my,h.outerWidth(),h.outerHeight());\"right\"===e.my[0]?D.left-=c:\"center\"===e.my[0]&&(D.left-=c/2),\"bottom\"===e.my[1]?D.top-=p:\"center\"===e.my[1]&&(D.top-=p/2),D.left+=T[0],D.top+=T[1],t.support.offsetFractions||(D.left=l(D.left),D.top=l(D.top)),r={marginLeft:f,marginTop:v},t.each([\"left\",\"top\"],function(i,n){t.ui.position[x[i]]&&t.ui.position[x[i]][n](D,{targetWidth:d,targetHeight:g,elemWidth:c,elemHeight:p,collisionPosition:r,collisionWidth:M,collisionHeight:C,offset:[s[0]+T[0],s[1]+T[1]],my:e.my,at:e.at,within:b,elem:h})}),e.using&&(u=function(t){var i=m.left-D.left,n=i+d-c,r=m.top-D.top,s=r+g-p,l={target:{element:y,left:m.left,top:m.top,width:d,height:g},element:{element:h,left:D.left,top:D.top,width:c,height:p},horizontal:0>n?\"left\":i>0?\"right\":\"center\",vertical:0>s?\"top\":r>0?\"bottom\":\"middle\"};c>d&&a(i+n)<d&&(l.horizontal=\"center\"),p>g&&a(r+s)<g&&(l.vertical=\"middle\"),o(a(i),a(n))>o(a(r),a(s))?l.important=\"horizontal\":l.important=\"vertical\",e.using.call(this,t,l)}),h.offset(t.extend(D,{using:u}))})},t.ui.position={fit:{left:function(t,e){var i,n=e.within,r=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,a=t.left-e.collisionPosition.marginLeft,l=r-a,u=a+e.collisionWidth-s-r;e.collisionWidth>s?l>0&&0>=u?(i=t.left+l+e.collisionWidth-s-r,t.left+=l-i):u>0&&0>=l?t.left=r:l>u?t.left=r+s-e.collisionWidth:t.left=r:l>0?t.left+=l:u>0?t.left-=u:t.left=o(t.left-a,t.left)},top:function(t,e){var i,n=e.within,r=n.isWindow?n.scrollTop:n.offset.top,s=e.within.height,a=t.top-e.collisionPosition.marginTop,l=r-a,u=a+e.collisionHeight-s-r;e.collisionHeight>s?l>0&&0>=u?(i=t.top+l+e.collisionHeight-s-r,t.top+=l-i):u>0&&0>=l?t.top=r:l>u?t.top=r+s-e.collisionHeight:t.top=r:l>0?t.top+=l:u>0?t.top-=u:t.top=o(t.top-a,t.top)}},flip:{left:function(t,e){var i,n,r=e.within,s=r.offset.left+r.scrollLeft,o=r.width,l=r.isWindow?r.scrollLeft:r.offset.left,u=t.left-e.collisionPosition.marginLeft,h=u-l,c=u+e.collisionWidth-o-l,p=\"left\"===e.my[0]?-e.elemWidth:\"right\"===e.my[0]?e.elemWidth:0,d=\"left\"===e.at[0]?e.targetWidth:\"right\"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>h?(i=t.left+p+d+f+e.collisionWidth-o-s,(0>i||i<a(h))&&(t.left+=p+d+f)):c>0&&(n=t.left-e.collisionPosition.marginLeft+p+d+f-l,(n>0||a(n)<c)&&(t.left+=p+d+f))},top:function(t,e){var i,n,r=e.within,s=r.offset.top+r.scrollTop,o=r.height,l=r.isWindow?r.scrollTop:r.offset.top,u=t.top-e.collisionPosition.marginTop,h=u-l,c=u+e.collisionHeight-o-l,p=\"top\"===e.my[1],d=p?-e.elemHeight:\"bottom\"===e.my[1]?e.elemHeight:0,f=\"top\"===e.at[1]?e.targetHeight:\"bottom\"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>h?(n=t.top+d+f+g+e.collisionHeight-o-s,t.top+d+f+g>h&&(0>n||n<a(h))&&(t.top+=d+f+g)):c>0&&(i=t.top-e.collisionPosition.marginTop+d+f+g-l,t.top+d+f+g>c&&(i>0||a(i)<c)&&(t.top+=d+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,n,r,s,o=document.getElementsByTagName(\"body\")[0],a=document.createElement(\"div\");e=document.createElement(o?\"div\":\"body\"),n={visibility:\"hidden\",width:0,height:0,border:0,margin:0,background:\"none\"},o&&t.extend(n,{position:\"absolute\",left:\"-1000px\",top:\"-1000px\"});for(s in n)e.style[s]=n[s];e.appendChild(a),i=o||document.documentElement,i.insertBefore(e,i.firstChild),a.style.cssText=\"position: absolute; left: 10.7432222px;\",r=t(a).offset().left,t.support.offsetFractions=r>10&&11>r,e.innerHTML=\"\",i.removeChild(e)}()}(n)},{jquery:18}],15:[function(t,e,i){var n=t(\"jquery\");t(\"./core\"),t(\"./mouse\"),t(\"./widget\"),function(t,e){function i(t,e,i){return t>e&&e+i>t}function n(t){return/left|right/.test(t.css(\"float\"))||/inline|table-cell/.test(t.css(\"display\"))}t.widget(\"ui.sortable\",t.ui.mouse,{version:\"1.10.4\",widgetEventPrefix:\"sort\",ready:!1,options:{appendTo:\"parent\",axis:!1,connectWith:!1,containment:!1,cursor:\"auto\",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:\"original\",items:\"> *\",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:\"default\",tolerance:\"intersect\",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass(\"ui-sortable\"),this.refresh(),this.floating=this.items.length?\"x\"===t.axis||n(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass(\"ui-sortable ui-sortable-disabled\"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+\"-item\");return this},_setOption:function(e,i){\"disabled\"===e?(this.options[e]=i,this.widget().toggleClass(\"ui-sortable-disabled\",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var n=null,r=!1,s=this;return this.reverting?!1:this.options.disabled||\"static\"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,s.widgetName+\"-item\")===s?(n=t(this),!1):void 0}),t.data(e.target,s.widgetName+\"-item\")===s&&(n=t(e.target)),n&&(!this.options.handle||i||(t(this.options.handle,n).find(\"*\").addBack().each(function(){this===e.target&&(r=!0)}),r))?(this.currentItem=n,this._removeCurrentsFromItems(),!0):!1)},_mouseStart:function(e,i,n){var r,s,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css(\"position\",\"absolute\"),this.cssPosition=this.helper.css(\"position\"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&\"auto\"!==o.cursor&&(s=this.document.find(\"body\"),this.storedCursor=s.css(\"cursor\"),s.css(\"cursor\",o.cursor),this.storedStylesheet=t(\"<style>*{ cursor: \"+o.cursor+\" !important; }</style>\").appendTo(s)),o.opacity&&(this.helper.css(\"opacity\")&&(this._storedOpacity=this.helper.css(\"opacity\")),this.helper.css(\"opacity\",o.opacity)),o.zIndex&&(this.helper.css(\"zIndex\")&&(this._storedZIndex=this.helper.css(\"zIndex\")),this.helper.css(\"zIndex\",o.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&&!o.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,s,o=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<o.scrollSensitivity?this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+o.scrollSpeed:e.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+o.scrollSpeed:e.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(e.pageY-t(document).scrollTop()<o.scrollSensitivity?a=t(document).scrollTop(t(document).scrollTop()-o.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<o.scrollSensitivity&&(a=t(document).scrollTop(t(document).scrollTop()+o.scrollSpeed)),e.pageX-t(document).scrollLeft()<o.scrollSensitivity?a=t(document).scrollLeft(t(document).scrollLeft()-o.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<o.scrollSensitivity&&(a=t(document).scrollLeft(t(document).scrollLeft()+o.scrollSpeed))),a!==!1&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo(\"absolute\"),this.options.axis&&\"y\"===this.options.axis||(this.helper[0].style.left=this.position.left+\"px\"),this.options.axis&&\"x\"===this.options.axis||(this.helper[0].style.top=this.position.top+\"px\"),i=this.items.length-1;i>=0;i--)if(n=this.items[i],r=n.item[0],s=this._intersectsWithPointer(n),s&&n.instance===this.currentContainer&&r!==this.currentItem[0]&&this.placeholder[1===s?\"next\":\"prev\"]()[0]!==r&&!t.contains(this.placeholder[0],r)&&(\"semi-dynamic\"===this.options.type?!t.contains(this.element[0],r):!0)){if(this.direction=1===s?\"down\":\"up\",\"pointer\"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger(\"change\",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger(\"sort\",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var n=this,r=this.placeholder.offset(),s=this.options.axis,o={};s&&\"x\"!==s||(o.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),s&&\"y\"!==s||(o.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){n._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),\"original\"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass(\"ui-sortable-helper\"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger(\"deactivate\",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger(\"out\",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),\"original\"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||\"id\")||\"\").match(e.expression||/(.+)[\\-=_](.+)/);i&&n.push((e.key||i[1]+\"[]\")+\"=\"+(e.key&&e.expression?i[1]:i[2]))}),!n.length&&e.key&&n.push(e.key+\"=\"),n.join(\"&\")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},i.each(function(){n.push(t(e.item||this).attr(e.attribute||\"id\")||\"\")}),n},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,r=n+this.helperProportions.height,s=t.left,o=s+t.width,a=t.top,l=a+t.height,u=this.offset.click.top,h=this.offset.click.left,c=\"x\"===this.options.axis||n+u>a&&l>n+u,p=\"y\"===this.options.axis||e+h>s&&o>e+h,d=c&&p;return\"pointer\"===this.options.tolerance||this.options.forcePointerForContainers||\"pointer\"!==this.options.tolerance&&this.helperProportions[this.floating?\"width\":\"height\"]>t[this.floating?\"width\":\"height\"]?d:s<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&a<n+this.helperProportions.height/2&&r-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e=\"x\"===this.options.axis||i(this.positionAbs.top+this.offset.click.top,t.top,t.height),n=\"y\"===this.options.axis||i(this.positionAbs.left+this.offset.click.left,t.left,t.width),r=e&&n,s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return r?this.floating?o&&\"right\"===o||\"down\"===s?2:1:s&&(\"down\"===s?2:1):!1},_intersectsWithSides:function(t){var e=i(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),n=i(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),r=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?\"right\"===s&&n||\"left\"===s&&!n:r&&(\"down\"===r&&e||\"up\"===r&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?\"down\":\"up\")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?\"right\":\"left\")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){function i(){a.push(this)}var n,r,s,o,a=[],l=[],u=this._connectWith();if(u&&e)for(n=u.length-1;n>=0;n--)for(s=t(u[n]),r=s.length-1;r>=0;r--)o=t.data(s[r],this.widgetFullName),o&&o!==this&&!o.options.disabled&&l.push([t.isFunction(o.options.items)?o.options.items.call(o.element):t(o.options.items,o.element).not(\".ui-sortable-helper\").not(\".ui-sortable-placeholder\"),o]);for(l.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(\".ui-sortable-helper\").not(\".ui-sortable-placeholder\"),this]),n=l.length-1;n>=0;n--)l[n][0].each(i);return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(\":data(\"+this.widgetName+\"-item)\");this.items=t.grep(this.items,function(t){for(var i=0;i<e.length;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,n,r,s,o,a,l,u,h=this.items,c=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],p=this._connectWith();if(p&&this.ready)for(i=p.length-1;i>=0;i--)for(r=t(p[i]),n=r.length-1;n>=0;n--)s=t.data(r[n],this.widgetFullName),s&&s!==this&&!s.options.disabled&&(c.push([t.isFunction(s.options.items)?s.options.items.call(s.element[0],e,{item:this.currentItem}):t(s.options.items,s.element),s]),this.containers.push(s));for(i=c.length-1;i>=0;i--)for(o=c[i][1],a=c[i][0],n=0,u=a.length;u>n;n++)l=t(a[n]),l.data(this.widgetName+\"-item\",o),h.push({item:l,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,n,r,s;for(i=this.items.length-1;i>=0;i--)n=this.items[i],n.instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(r=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item,e||(n.width=r.outerWidth(),n.height=r.outerHeight()),s=r.offset(),n.left=s.left,n.top=s.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)s=this.containers[i].element.offset(),this.containers[i].containerCache.left=s.left,this.containers[i].containerCache.top=s.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,n=e.options;n.placeholder&&n.placeholder.constructor!==String||(i=n.placeholder,n.placeholder={element:function(){var n=e.currentItem[0].nodeName.toLowerCase(),r=t(\"<\"+n+\">\",e.document[0]).addClass(i||e.currentItem[0].className+\" ui-sortable-placeholder\").removeClass(\"ui-sortable-helper\");return\"tr\"===n?e.currentItem.children().each(function(){t(\"<td>&#160;</td>\",e.document[0]).attr(\"colspan\",t(this).attr(\"colspan\")||1).appendTo(r)}):\"img\"===n&&r.attr(\"src\",e.currentItem.attr(\"src\")),i||r.css(\"visibility\",\"hidden\"),r},update:function(t,r){(!i||n.forcePlaceholderSize)&&(r.height()||r.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css(\"paddingTop\")||0,10)-parseInt(e.currentItem.css(\"paddingBottom\")||0,10)),r.width()||r.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css(\"paddingLeft\")||0,10)-parseInt(e.currentItem.css(\"paddingRight\")||0,10)));\n",
       "        }}),e.placeholder=t(n.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),n.placeholder.update(e,e.placeholder)},_contactContainers:function(e){var r,s,o,a,l,u,h,c,p,d,f=null,g=null;for(r=this.containers.length-1;r>=0;r--)if(!t.contains(this.currentItem[0],this.containers[r].element[0]))if(this._intersectsWith(this.containers[r].containerCache)){if(f&&t.contains(this.containers[r].element[0],f.element[0]))continue;f=this.containers[r],g=r}else this.containers[r].containerCache.over&&(this.containers[r]._trigger(\"out\",e,this._uiHash(this)),this.containers[r].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[g].containerCache.over||(this.containers[g]._trigger(\"over\",e,this._uiHash(this)),this.containers[g].containerCache.over=1);else{for(o=1e4,a=null,d=f.floating||n(this.currentItem),l=d?\"left\":\"top\",u=d?\"width\":\"height\",h=this.positionAbs[l]+this.offset.click[l],s=this.items.length-1;s>=0;s--)t.contains(this.containers[g].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(!d||i(this.positionAbs.top+this.offset.click.top,this.items[s].top,this.items[s].height))&&(c=this.items[s].item.offset()[l],p=!1,Math.abs(c-h)>Math.abs(c+this.items[s][u]-h)&&(p=!0,c+=this.items[s][u]),Math.abs(c-h)<o&&(o=Math.abs(c-h),a=this.items[s],this.direction=p?\"up\":\"down\"));if(!a&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[g])return;a?this._rearrange(e,a,null,!0):this._rearrange(e,null,this.containers[g].element,!0),this._trigger(\"change\",e,this._uiHash()),this.containers[g]._trigger(\"change\",e,this._uiHash(this)),this.currentContainer=this.containers[g],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[g]._trigger(\"over\",e,this._uiHash(this)),this.containers[g].containerCache.over=1}},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):\"clone\"===i.helper?this.currentItem.clone():this.currentItem;return n.parents(\"body\").length||t(\"parent\"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(\"position\"),top:this.currentItem.css(\"top\"),left:this.currentItem.css(\"left\")}),(!n[0].style.width||i.forceHelperSize)&&n.width(this.currentItem.width()),(!n[0].style.height||i.forceHelperSize)&&n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(e){\"string\"==typeof e&&(e=e.split(\" \")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),\"left\"in e&&(this.offset.click.left=e.left+this.margins.left),\"right\"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),\"top\"in e&&(this.offset.click.top=e.top+this.margins.top),\"bottom\"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return\"absolute\"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&\"html\"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css(\"borderTopWidth\"),10)||0),left:e.left+(parseInt(this.offsetParent.css(\"borderLeftWidth\"),10)||0)}},_getRelativeOffset:function(){if(\"relative\"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css(\"top\"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css(\"left\"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css(\"marginLeft\"),10)||0,top:parseInt(this.currentItem.css(\"marginTop\"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options;\"parent\"===r.containment&&(r.containment=this.helper[0].parentNode),(\"document\"===r.containment||\"window\"===r.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t(\"document\"===r.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t(\"document\"===r.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(r.containment)||(e=t(r.containment)[0],i=t(r.containment).offset(),n=\"hidden\"!==t(e).css(\"overflow\"),this.containment=[i.left+(parseInt(t(e).css(\"borderLeftWidth\"),10)||0)+(parseInt(t(e).css(\"paddingLeft\"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css(\"borderTopWidth\"),10)||0)+(parseInt(t(e).css(\"paddingTop\"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css(\"borderLeftWidth\"),10)||0)-(parseInt(t(e).css(\"paddingRight\"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css(\"borderTopWidth\"),10)||0)-(parseInt(t(e).css(\"paddingBottom\"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var n=\"absolute\"===e?1:-1,r=\"absolute\"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(r[0].tagName);return{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():s?0:r.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:r.scrollLeft())*n}},_generatePosition:function(e){var i,n,r=this.options,s=e.pageX,o=e.pageY,a=\"absolute\"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=/(html|body)/i.test(a[0].tagName);return\"relative\"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(s=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(s=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),r.grid&&(i=this.originalPageY+Math.round((o-this.originalPageY)/r.grid[1])*r.grid[1],o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-r.grid[1]:i+r.grid[1]:i,n=this.originalPageX+Math.round((s-this.originalPageX)/r.grid[0])*r.grid[0],s=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():l?0:a.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],\"down\"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this.counter;this._delay(function(){r===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){function i(t,e,i){return function(n){i._trigger(t,n,e._uiHash(e))}}this.reverting=!1;var n,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)(\"auto\"===this._storedCSS[n]||\"static\"===this._storedCSS[n])&&(this._storedCSS[n]=\"\");this.currentItem.css(this._storedCSS).removeClass(\"ui-sortable-helper\")}else this.currentItem.show();for(this.fromOutside&&!e&&r.push(function(t){this._trigger(\"receive\",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(\".ui-sortable-helper\")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||r.push(function(t){this._trigger(\"update\",t,this._uiHash())}),this!==this.currentContainer&&(e||(r.push(function(t){this._trigger(\"remove\",t,this._uiHash())}),r.push(function(t){return function(e){t._trigger(\"receive\",e,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(t){return function(e){t._trigger(\"update\",e,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;n>=0;n--)e||r.push(i(\"deactivate\",this,this.containers[n])),this.containers[n].containerCache.over&&(r.push(i(\"out\",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find(\"body\").css(\"cursor\",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css(\"opacity\",this._storedOpacity),this._storedZIndex&&this.helper.css(\"zIndex\",\"auto\"===this._storedZIndex?\"\":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger(\"beforeStop\",t,this._uiHash()),n=0;n<r.length;n++)r[n].call(this,t);this._trigger(\"stop\",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger(\"beforeStop\",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(n=0;n<r.length;n++)r[n].call(this,t);this._trigger(\"stop\",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})}(n)},{\"./core\":7,\"./mouse\":13,\"./widget\":17,jquery:18}],16:[function(t,e,i){var n=t(\"jquery\");t(\"./core\"),t(\"./widget\"),t(\"./button\"),function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger(\"change\")}}t.widget(\"ui.spinner\",{version:\"1.10.4\",defaultElement:\"<input>\",widgetEventPrefix:\"spin\",options:{culture:null,icons:{down:\"ui-icon-triangle-1-s\",up:\"ui-icon-triangle-1-n\"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption(\"max\",this.options.max),this._setOption(\"min\",this.options.min),this._setOption(\"step\",this.options.step),\"\"!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr(\"autocomplete\")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each([\"min\",\"max\",\"step\"],function(t,n){var r=i.attr(n);void 0!==r&&r.length&&(e[n]=r)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:\"_stop\",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(this._stop(),this._refresh(),void(this.previous!==this.element.val()&&this._trigger(\"change\",t)))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},\"mousedown .ui-spinner-button\":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass(\"ui-spinner-up\")?1:-1,e)},\"mouseup .ui-spinner-button\":\"_stop\",\"mouseenter .ui-spinner-button\":function(e){return t(e.currentTarget).hasClass(\"ui-state-active\")?this._start(e)===!1?!1:void this._repeat(null,t(e.currentTarget).hasClass(\"ui-spinner-up\")?1:-1,e):void 0},\"mouseleave .ui-spinner-button\":\"_stop\"},_draw:function(){var t=this.uiSpinner=this.element.addClass(\"ui-spinner-input\").attr(\"autocomplete\",\"off\").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr(\"role\",\"spinbutton\"),this.buttons=t.find(\".ui-spinner-button\").attr(\"tabIndex\",-1).button().removeClass(\"ui-corner-all\"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,n=t.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,i.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return\"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>\"},_buttonHtml:function(){return\"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon \"+this.options.icons.up+\"'>&#9650;</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon \"+this.options.icons.down+\"'>&#9660;</span></a>\"},_start:function(t){return this.spinning||this._trigger(\"start\",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger(\"spin\",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(\".\");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;return e=null!==n.min?n.min:0,i=t-e,i=Math.round(i/n.step)*n.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==n.max&&t>n.max?n.max:null!==n.min&&t<n.min?n.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger(\"stop\",t))},_setOption:function(t,e){if(\"culture\"===t||\"numberFormat\"===t){var i=this._parse(this.element.val());return this.options[t]=e,void this.element.val(this._format(i))}(\"max\"===t||\"min\"===t||\"step\"===t)&&\"string\"==typeof e&&(e=this._parse(e)),\"icons\"===t&&(this.buttons.first().find(\".ui-icon\").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(\".ui-icon\").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),\"disabled\"===t&&(e?(this.element.prop(\"disabled\",!0),this.buttons.button(\"disable\")):(this.element.prop(\"disabled\",!1),this.buttons.button(\"enable\")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return\"string\"==typeof t&&\"\"!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),\"\"===t||isNaN(t)?null:t},_format:function(t){return\"\"===t?\"\":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({\"aria-valuemin\":this.options.min,\"aria-valuemax\":this.options.max,\"aria-valuenow\":this._parse(this.element.val())})},_value:function(t,e){var i;\"\"!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass(\"ui-spinner-input\").prop(\"disabled\",!1).removeAttr(\"autocomplete\").removeAttr(\"role\").removeAttr(\"aria-valuemin\").removeAttr(\"aria-valuemax\").removeAttr(\"aria-valuenow\"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?void e(this._value).call(this,t):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})}(n)},{\"./button\":6,\"./core\":7,\"./widget\":17,jquery:18}],17:[function(t,e,i){var n=t(\"jquery\");!function(t,e){var i=0,n=Array.prototype.slice,r=t.cleanData;t.cleanData=function(e){for(var i,n=0;null!=(i=e[n]);n++)try{t(i).triggerHandler(\"remove\")}catch(s){}r(e)},t.widget=function(e,i,n){var r,s,o,a,l={},u=e.split(\".\")[0];e=e.split(\".\")[1],r=u+\"-\"+e,n||(n=i,i=t.Widget),t.expr[\":\"][r.toLowerCase()]=function(e){return!!t.data(e,r)},t[u]=t[u]||{},s=t[u][e],o=t[u][e]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new o(t,e)},t.extend(o,s,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(n,function(e,n){return t.isFunction(n)?void(l[e]=function(){var t=function(){return i.prototype[e].apply(this,arguments)},r=function(t){return i.prototype[e].apply(this,t)};return function(){var e,i=this._super,s=this._superApply;return this._super=t,this._superApply=r,e=n.apply(this,arguments),this._super=i,this._superApply=s,e}}()):void(l[e]=n)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:s?a.widgetEventPrefix||e:e},l,{constructor:o,namespace:u,widgetName:e,widgetFullName:r}),s?(t.each(s._childConstructors,function(e,i){var n=i.prototype;t.widget(n.namespace+\".\"+n.widgetName,o,i._proto)}),delete s._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o)},t.widget.extend=function(i){for(var r,s,o=n.call(arguments,1),a=0,l=o.length;l>a;a++)for(r in o[a])s=o[a][r],o[a].hasOwnProperty(r)&&s!==e&&(t.isPlainObject(s)?i[r]=t.isPlainObject(i[r])?t.widget.extend({},i[r],s):t.widget.extend({},s):i[r]=s);return i},t.widget.bridge=function(i,r){var s=r.prototype.widgetFullName||i;t.fn[i]=function(o){var a=\"string\"==typeof o,l=n.call(arguments,1),u=this;return o=!a&&l.length?t.widget.extend.apply(null,[o].concat(l)):o,a?this.each(function(){var n,r=t.data(this,s);return r?t.isFunction(r[o])&&\"_\"!==o.charAt(0)?(n=r[o].apply(r,l),n!==r&&n!==e?(u=n&&n.jquery?u.pushStack(n.get()):n,!1):void 0):t.error(\"no such method '\"+o+\"' for \"+i+\" widget instance\"):t.error(\"cannot call methods on \"+i+\" prior to initialization; attempted to call method '\"+o+\"'\")}):this.each(function(){var e=t.data(this,s);e?e.option(o||{})._init():t.data(this,s,new r(o,this))}),u}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:\"widget\",widgetEventPrefix:\"\",defaultElement:\"<div>\",options:{disabled:!1,create:null},_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=i++,this.eventNamespace=\".\"+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger(\"create\",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr(\"aria-disabled\").removeClass(this.widgetFullName+\"-disabled ui-state-disabled\"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass(\"ui-state-hover\"),this.focusable.removeClass(\"ui-state-focus\")},_destroy:t.noop,widget:function(){return this.element},option:function(i,n){var r,s,o,a=i;if(0===arguments.length)return t.widget.extend({},this.options);if(\"string\"==typeof i)if(a={},r=i.split(\".\"),i=r.shift(),r.length){for(s=a[i]=t.widget.extend({},this.options[i]),o=0;o<r.length-1;o++)s[r[o]]=s[r[o]]||{},s=s[r[o]];if(i=r.pop(),1===arguments.length)return s[i]===e?null:s[i];s[i]=n}else{if(1===arguments.length)return this.options[i]===e?null:this.options[i];a[i]=n}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,\"disabled\"===t&&(this.widget().toggleClass(this.widgetFullName+\"-disabled ui-state-disabled\",!!e).attr(\"aria-disabled\",e),this.hoverable.removeClass(\"ui-state-hover\"),this.focusable.removeClass(\"ui-state-focus\")),this},enable:function(){return this._setOption(\"disabled\",!1)},disable:function(){return this._setOption(\"disabled\",!0)},_on:function(e,i,n){var r,s=this;\"boolean\"!=typeof e&&(n=i,i=e,e=!1),n?(i=r=t(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,r=this.widget()),t.each(n,function(n,o){function a(){return e||s.options.disabled!==!0&&!t(this).hasClass(\"ui-state-disabled\")?(\"string\"==typeof o?s[o]:o).apply(s,arguments):void 0}\"string\"!=typeof o&&(a.guid=o.guid=o.guid||a.guid||t.guid++);var l=n.match(/^(\\w+)\\s*(.*)$/),u=l[1]+s.eventNamespace,h=l[2];h?r.delegate(h,u,a):i.bind(u,a)})},_off:function(t,e){e=(e||\"\").split(\" \").join(this.eventNamespace+\" \")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return(\"string\"==typeof t?n[t]:t).apply(n,arguments)}var n=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass(\"ui-state-hover\")},mouseleave:function(e){t(e.currentTarget).removeClass(\"ui-state-hover\")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass(\"ui-state-focus\")},focusout:function(e){t(e.currentTarget).removeClass(\"ui-state-focus\")}})},_trigger:function(e,i,n){var r,s,o=this.options[e];if(n=n||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],s=i.originalEvent)for(r in s)r in i||(i[r]=s[r]);return this.element.trigger(i,n),!(t.isFunction(o)&&o.apply(this.element[0],[i].concat(n))===!1||i.isDefaultPrevented())}},t.each({show:\"fadeIn\",hide:\"fadeOut\"},function(e,i){t.Widget.prototype[\"_\"+e]=function(n,r,s){\"string\"==typeof r&&(r={effect:r});var o,a=r?r===!0||\"number\"==typeof r?i:r.effect||i:e;r=r||{},\"number\"==typeof r&&(r={duration:r}),o=!t.isEmptyObject(r),r.complete=s,r.delay&&n.delay(r.delay),o&&t.effects&&t.effects.effect[a]?n[e](r):a!==e&&n[a]?n[a](r.duration,r.easing,s):n.queue(function(i){t(this)[e](),s&&s.call(n[0]),i()})}})}(n)},{jquery:18}],18:[function(t,e,i){!function(t,i){\"object\"==typeof e&&\"object\"==typeof e.exports?e.exports=t.document?i(t,!0):function(t){if(!t.document)throw new Error(\"jQuery requires a window with a document\");return i(t)}:i(t)}(\"undefined\"!=typeof window?window:this,function(t,e){function i(t){var e=t.length,i=K.type(t);return\"function\"===i||K.isWindow(t)?!1:1===t.nodeType&&e?!0:\"array\"===i||0===e||\"number\"==typeof e&&e>0&&e-1 in t}function n(t,e,i){if(K.isFunction(e))return K.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return K.grep(t,function(t){return t===e!==i});if(\"string\"==typeof e){if(at.test(e))return K.filter(e,t,i);e=K.filter(e,t)}return K.grep(t,function(t){return $.call(e,t)>=0!==i})}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function s(t){var e=ft[t]={};return K.each(t.match(dt)||[],function(t,i){e[i]=!0}),e}function o(){J.removeEventListener(\"DOMContentLoaded\",o,!1),t.removeEventListener(\"load\",o,!1),K.ready()}function a(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=K.expando+a.uid++}function l(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n=\"data-\"+e.replace(bt,\"-$1\").toLowerCase(),i=t.getAttribute(n),\"string\"==typeof i){try{i=\"true\"===i?!0:\"false\"===i?!1:\"null\"===i?null:+i+\"\"===i?+i:yt.test(i)?K.parseJSON(i):i}catch(r){}vt.set(t,e,i)}else i=void 0;return i}function u(){return!0}function h(){return!1}function c(){try{return J.activeElement}catch(t){}}function p(t,e){return K.nodeName(t,\"table\")&&K.nodeName(11!==e.nodeType?e:e.firstChild,\"tr\")?t.getElementsByTagName(\"tbody\")[0]||t.appendChild(t.ownerDocument.createElement(\"tbody\")):t}function d(t){return t.type=(null!==t.getAttribute(\"type\"))+\"/\"+t.type,t}function f(t){var e=jt.exec(t.type);return e?t.type=e[1]:t.removeAttribute(\"type\"),t}function g(t,e){for(var i=0,n=t.length;n>i;i++)_t.set(t[i],\"globalEval\",!e||_t.get(e[i],\"globalEval\"))}function m(t,e){var i,n,r,s,o,a,l,u;if(1===e.nodeType){if(_t.hasData(t)&&(s=_t.access(t),o=_t.set(e,s),u=s.events)){delete o.handle,o.events={};for(r in u)for(i=0,n=u[r].length;n>i;i++)K.event.add(e,r,u[r][i])}vt.hasData(t)&&(a=vt.access(t),l=K.extend({},a),vt.set(e,l))}}function _(t,e){var i=t.getElementsByTagName?t.getElementsByTagName(e||\"*\"):t.querySelectorAll?t.querySelectorAll(e||\"*\"):[];return void 0===e||e&&K.nodeName(t,e)?K.merge([t],i):i}function v(t,e){var i=e.nodeName.toLowerCase();\"input\"===i&&Mt.test(t.type)?e.checked=t.checked:(\"input\"===i||\"textarea\"===i)&&(e.defaultValue=t.defaultValue)}function y(e,i){var n,r=K(i.createElement(e)).appendTo(i.body),s=t.getDefaultComputedStyle&&(n=t.getDefaultComputedStyle(r[0]))?n.display:K.css(r[0],\"display\");return r.detach(),s}function b(t){var e=J,i=Ht[t];return i||(i=y(t,e),\"none\"!==i&&i||(Lt=(Lt||K(\"<iframe frameborder='0' width='0' height='0'/>\")).appendTo(e.documentElement),e=Lt[0].contentDocument,e.write(),e.close(),i=y(t,e),Lt.detach()),Ht[t]=i),i}function w(t,e,i){var n,r,s,o,a=t.style;return i=i||qt(t),i&&(o=i.getPropertyValue(e)||i[e]),i&&(\"\"!==o||K.contains(t.ownerDocument,t)||(o=K.style(t,e)),Wt.test(o)&&Bt.test(e)&&(n=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=r,a.maxWidth=s)),void 0!==o?o+\"\":o}function x(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function k(t,e){if(e in t)return e;for(var i=e[0].toUpperCase()+e.slice(1),n=e,r=Xt.length;r--;)if(e=Xt[r]+i,e in t)return e;return n}function M(t,e,i){var n=Vt.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||\"px\"):e}function C(t,e,i,n,r){for(var s=i===(n?\"border\":\"content\")?4:\"width\"===e?1:0,o=0;4>s;s+=2)\"margin\"===i&&(o+=K.css(t,i+xt[s],!0,r)),n?(\"content\"===i&&(o-=K.css(t,\"padding\"+xt[s],!0,r)),\"margin\"!==i&&(o-=K.css(t,\"border\"+xt[s]+\"Width\",!0,r))):(o+=K.css(t,\"padding\"+xt[s],!0,r),\"padding\"!==i&&(o+=K.css(t,\"border\"+xt[s]+\"Width\",!0,r)));return o}function D(t,e,i){var n=!0,r=\"width\"===e?t.offsetWidth:t.offsetHeight,s=qt(t),o=\"border-box\"===K.css(t,\"boxSizing\",!1,s);if(0>=r||null==r){if(r=w(t,e,s),(0>r||null==r)&&(r=t.style[e]),Wt.test(r))return r;n=o&&(Z.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+C(t,e,i||(o?\"border\":\"content\"),n,s)+\"px\"}function T(t,e){for(var i,n,r,s=[],o=0,a=t.length;a>o;o++)n=t[o],n.style&&(s[o]=_t.get(n,\"olddisplay\"),i=n.style.display,e?(s[o]||\"none\"!==i||(n.style.display=\"\"),\"\"===n.style.display&&kt(n)&&(s[o]=_t.access(n,\"olddisplay\",b(n.nodeName)))):(r=kt(n),\"none\"===i&&r||_t.set(n,\"olddisplay\",r?i:K.css(n,\"display\"))));for(o=0;a>o;o++)n=t[o],n.style&&(e&&\"none\"!==n.style.display&&\"\"!==n.style.display||(n.style.display=e?s[o]||\"\":\"none\"));return t}function S(t,e,i,n,r){return new S.prototype.init(t,e,i,n,r)}function A(){return setTimeout(function(){Zt=void 0}),Zt=K.now()}function P(t,e){var i,n=0,r={height:t};for(e=e?1:0;4>n;n+=2-e)i=xt[n],r[\"margin\"+i]=r[\"padding\"+i]=t;return e&&(r.opacity=r.width=t),r}function E(t,e,i){for(var n,r=(ie[e]||[]).concat(ie[\"*\"]),s=0,o=r.length;o>s;s++)if(n=r[s].call(i,e,t))return n}function I(t,e,i){var n,r,s,o,a,l,u,h,c=this,p={},d=t.style,f=t.nodeType&&kt(t),g=_t.get(t,\"fxshow\");i.queue||(a=K._queueHooks(t,\"fx\"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,K.queue(t,\"fx\").length||a.empty.fire()})})),1===t.nodeType&&(\"height\"in e||\"width\"in e)&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],u=K.css(t,\"display\"),h=\"none\"===u?_t.get(t,\"olddisplay\")||b(t.nodeName):u,\"inline\"===h&&\"none\"===K.css(t,\"float\")&&(d.display=\"inline-block\")),i.overflow&&(d.overflow=\"hidden\",c.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]}));for(n in e)if(r=e[n],Qt.exec(r)){if(delete e[n],s=s||\"toggle\"===r,r===(f?\"hide\":\"show\")){if(\"show\"!==r||!g||void 0===g[n])continue;f=!0}p[n]=g&&g[n]||K.style(t,n)}else u=void 0;if(K.isEmptyObject(p))\"inline\"===(\"none\"===u?b(t.nodeName):u)&&(d.display=u);else{g?\"hidden\"in g&&(f=g.hidden):g=_t.access(t,\"fxshow\",{}),s&&(g.hidden=!f),f?K(t).show():c.done(function(){K(t).hide()}),c.done(function(){var e;_t.remove(t,\"fxshow\");for(e in p)K.style(t,e,p[e])});for(n in p)o=E(f?g[n]:0,n,c),n in g||(g[n]=o.start,f&&(o.end=o.start,o.start=\"width\"===n||\"height\"===n?1:0))}}function N(t,e){var i,n,r,s,o;for(i in t)if(n=K.camelCase(i),r=e[n],s=t[i],K.isArray(s)&&(r=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),o=K.cssHooks[n],o&&\"expand\"in o){s=o.expand(s),delete t[n];for(i in s)i in t||(t[i]=s[i],e[i]=r)}else e[n]=r}function R(t,e,i){var n,r,s=0,o=ee.length,a=K.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Zt||A(),i=Math.max(0,u.startTime+u.duration-e),n=i/u.duration||0,s=1-n,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(s);return a.notifyWith(t,[u,s,i]),1>s&&l?i:(a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:K.extend({},e),opts:K.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:Zt||A(),duration:i.duration,tweens:[],createTween:function(e,i){var n=K.Tween(t,u.opts,e,i,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var i=0,n=e?u.tweens.length:0;if(r)return this;for(r=!0;n>i;i++)u.tweens[i].run(1);return e?a.resolveWith(t,[u,e]):a.rejectWith(t,[u,e]),this}}),h=u.props;for(N(h,u.opts.specialEasing);o>s;s++)if(n=ee[s].call(u,t,h,u.opts))return n;return K.map(h,E,u),K.isFunction(u.opts.start)&&u.opts.start.call(t,u),K.fx.timer(K.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function z(t){return function(e,i){\"string\"!=typeof e&&(i=e,e=\"*\");var n,r=0,s=e.toLowerCase().match(dt)||[];if(K.isFunction(i))for(;n=s[r++];)\"+\"===n[0]?(n=n.slice(1)||\"*\",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function j(t,e,i,n){function r(a){var l;return s[a]=!0,K.each(t[a]||[],function(t,a){var u=a(e,i,n);return\"string\"!=typeof u||o||s[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var s={},o=t===ye;return r(e.dataTypes[0])||!s[\"*\"]&&r(\"*\")}function O(t,e){var i,n,r=K.ajaxSettings.flatOptions||{};\n",
       "        for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&K.extend(!0,t,n),t}function F(t,e,i){for(var n,r,s,o,a=t.contents,l=t.dataTypes;\"*\"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader(\"Content-Type\"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||t.converters[r+\" \"+l[0]]){s=r;break}o||(o=r)}s=s||o}return s?(s!==l[0]&&l.unshift(s),i[s]):void 0}function L(t,e,i,n){var r,s,o,a,l,u={},h=t.dataTypes.slice();if(h[1])for(o in t.converters)u[o.toLowerCase()]=t.converters[o];for(s=h.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=h.shift())if(\"*\"===s)s=l;else if(\"*\"!==l&&l!==s){if(o=u[l+\" \"+s]||u[\"* \"+s],!o)for(r in u)if(a=r.split(\" \"),a[1]===s&&(o=u[l+\" \"+a[0]]||u[\"* \"+a[0]])){o===!0?o=u[r]:u[r]!==!0&&(s=a[0],h.unshift(a[1]));break}if(o!==!0)if(o&&t[\"throws\"])e=o(e);else try{e=o(e)}catch(c){return{state:\"parsererror\",error:o?c:\"No conversion from \"+l+\" to \"+s}}}return{state:\"success\",data:e}}function H(t,e,i,n){var r;if(K.isArray(e))K.each(e,function(e,r){i||Me.test(t)?n(t,r):H(t+\"[\"+(\"object\"==typeof r?e:\"\")+\"]\",r,i,n)});else if(i||\"object\"!==K.type(e))n(t,e);else for(r in e)H(t+\"[\"+r+\"]\",e[r],i,n)}function B(t){return K.isWindow(t)?t:9===t.nodeType&&t.defaultView}var W=[],q=W.slice,Y=W.concat,V=W.push,$=W.indexOf,U={},G=U.toString,X=U.hasOwnProperty,Z={},J=t.document,Q=\"2.1.3\",K=function(t,e){return new K.fn.init(t,e)},tt=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,et=/^-ms-/,it=/-([\\da-z])/gi,nt=function(t,e){return e.toUpperCase()};K.fn=K.prototype={jquery:Q,constructor:K,selector:\"\",length:0,toArray:function(){return q.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:q.call(this)},pushStack:function(t){var e=K.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return K.each(this,t,e)},map:function(t){return this.pushStack(K.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(q.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:V,sort:W.sort,splice:W.splice},K.extend=K.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,u=!1;for(\"boolean\"==typeof o&&(u=o,o=arguments[a]||{},a++),\"object\"==typeof o||K.isFunction(o)||(o={}),a===l&&(o=this,a--);l>a;a++)if(null!=(t=arguments[a]))for(e in t)i=o[e],n=t[e],o!==n&&(u&&n&&(K.isPlainObject(n)||(r=K.isArray(n)))?(r?(r=!1,s=i&&K.isArray(i)?i:[]):s=i&&K.isPlainObject(i)?i:{},o[e]=K.extend(u,s,n)):void 0!==n&&(o[e]=n));return o},K.extend({expando:\"jQuery\"+(Q+Math.random()).replace(/\\D/g,\"\"),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return\"function\"===K.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!K.isArray(t)&&t-parseFloat(t)+1>=0},isPlainObject:function(t){return\"object\"!==K.type(t)||t.nodeType||K.isWindow(t)?!1:t.constructor&&!X.call(t.constructor.prototype,\"isPrototypeOf\")?!1:!0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+\"\":\"object\"==typeof t||\"function\"==typeof t?U[G.call(t)]||\"object\":typeof t},globalEval:function(t){var e,i=eval;t=K.trim(t),t&&(1===t.indexOf(\"use strict\")?(e=J.createElement(\"script\"),e.text=t,J.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(et,\"ms-\").replace(it,nt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var r,s=0,o=t.length,a=i(t);if(n){if(a)for(;o>s&&(r=e.apply(t[s],n),r!==!1);s++);else for(s in t)if(r=e.apply(t[s],n),r===!1)break}else if(a)for(;o>s&&(r=e.call(t[s],s,t[s]),r!==!1);s++);else for(s in t)if(r=e.call(t[s],s,t[s]),r===!1)break;return t},trim:function(t){return null==t?\"\":(t+\"\").replace(tt,\"\")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?K.merge(n,\"string\"==typeof t?[t]:t):V.call(n,t)),n},inArray:function(t,e,i){return null==e?-1:$.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,r=t.length;i>n;n++)t[r++]=e[n];return t.length=r,t},grep:function(t,e,i){for(var n,r=[],s=0,o=t.length,a=!i;o>s;s++)n=!e(t[s],s),n!==a&&r.push(t[s]);return r},map:function(t,e,n){var r,s=0,o=t.length,a=i(t),l=[];if(a)for(;o>s;s++)r=e(t[s],s,n),null!=r&&l.push(r);else for(s in t)r=e(t[s],s,n),null!=r&&l.push(r);return Y.apply([],l)},guid:1,proxy:function(t,e){var i,n,r;return\"string\"==typeof e&&(i=t[e],e=t,t=i),K.isFunction(t)?(n=q.call(arguments,2),r=function(){return t.apply(e||this,n.concat(q.call(arguments)))},r.guid=t.guid=t.guid||K.guid++,r):void 0},now:Date.now,support:Z}),K.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"),function(t,e){U[\"[object \"+e+\"]\"]=e.toLowerCase()});var rt=function(t){function e(t,e,i,n){var r,s,o,a,l,u,c,d,f,g;if((e?e.ownerDocument||e:H)!==I&&E(e),e=e||I,i=i||[],a=e.nodeType,\"string\"!=typeof t||!t||1!==a&&9!==a&&11!==a)return i;if(!n&&R){if(11!==a&&(r=vt.exec(t)))if(o=r[1]){if(9===a){if(s=e.getElementById(o),!s||!s.parentNode)return i;if(s.id===o)return i.push(s),i}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(o))&&F(e,s)&&s.id===o)return i.push(s),i}else{if(r[2])return Q.apply(i,e.getElementsByTagName(t)),i;if((o=r[3])&&w.getElementsByClassName)return Q.apply(i,e.getElementsByClassName(o)),i}if(w.qsa&&(!z||!z.test(t))){if(d=c=L,f=e,g=1!==a&&t,1===a&&\"object\"!==e.nodeName.toLowerCase()){for(u=C(t),(c=e.getAttribute(\"id\"))?d=c.replace(bt,\"\\\\$&\"):e.setAttribute(\"id\",d),d=\"[id='\"+d+\"'] \",l=u.length;l--;)u[l]=d+p(u[l]);f=yt.test(t)&&h(e.parentNode)||e,g=u.join(\",\")}if(g)try{return Q.apply(i,f.querySelectorAll(g)),i}catch(m){}finally{c||e.removeAttribute(\"id\")}}}return T(t.replace(lt,\"$1\"),e,i,n)}function i(){function t(i,n){return e.push(i+\" \")>x.cacheLength&&delete t[e.shift()],t[i+\" \"]=n}var e=[];return t}function n(t){return t[L]=!0,t}function r(t){var e=I.createElement(\"div\");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split(\"|\"),n=t.length;n--;)x.attrHandle[i[n]]=e}function o(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||U)-(~t.sourceIndex||U);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){var i=e.nodeName.toLowerCase();return\"input\"===i&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return(\"input\"===i||\"button\"===i)&&e.type===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))})})}function h(t){return t&&\"undefined\"!=typeof t.getElementsByTagName&&t}function c(){}function p(t){for(var e=0,i=t.length,n=\"\";i>e;e++)n+=t[e].value;return n}function d(t,e,i){var n=e.dir,r=i&&\"parentNode\"===n,s=W++;return e.first?function(e,i,s){for(;e=e[n];)if(1===e.nodeType||r)return t(e,i,s)}:function(e,i,o){var a,l,u=[B,s];if(o){for(;e=e[n];)if((1===e.nodeType||r)&&t(e,i,o))return!0}else for(;e=e[n];)if(1===e.nodeType||r){if(l=e[L]||(e[L]={}),(a=l[n])&&a[0]===B&&a[1]===s)return u[2]=a[2];if(l[n]=u,u[2]=t(e,i,o))return!0}}}function f(t){return t.length>1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function g(t,i,n){for(var r=0,s=i.length;s>r;r++)e(t,i[r],n);return n}function m(t,e,i,n,r){for(var s,o=[],a=0,l=t.length,u=null!=e;l>a;a++)(s=t[a])&&(!i||i(s,n,r))&&(o.push(s),u&&e.push(a));return o}function _(t,e,i,r,s,o){return r&&!r[L]&&(r=_(r)),s&&!s[L]&&(s=_(s,o)),n(function(n,o,a,l){var u,h,c,p=[],d=[],f=o.length,_=n||g(e||\"*\",a.nodeType?[a]:a,[]),v=!t||!n&&e?_:m(_,p,t,a,l),y=i?s||(n?t:f||r)?[]:o:v;if(i&&i(v,y,a,l),r)for(u=m(y,d),r(u,[],a,l),h=u.length;h--;)(c=u[h])&&(y[d[h]]=!(v[d[h]]=c));if(n){if(s||t){if(s){for(u=[],h=y.length;h--;)(c=y[h])&&u.push(v[h]=c);s(null,y=[],u,l)}for(h=y.length;h--;)(c=y[h])&&(u=s?tt(n,c):p[h])>-1&&(n[u]=!(o[u]=c))}}else y=m(y===o?y.splice(f,y.length):y),s?s(null,o,y,l):Q.apply(o,y)})}function v(t){for(var e,i,n,r=t.length,s=x.relative[t[0].type],o=s||x.relative[\" \"],a=s?1:0,l=d(function(t){return t===e},o,!0),u=d(function(t){return tt(e,t)>-1},o,!0),h=[function(t,i,n){var r=!s&&(n||i!==S)||((e=i).nodeType?l(t,i,n):u(t,i,n));return e=null,r}];r>a;a++)if(i=x.relative[t[a].type])h=[d(f(h),i)];else{if(i=x.filter[t[a].type].apply(null,t[a].matches),i[L]){for(n=++a;r>n&&!x.relative[t[n].type];n++);return _(a>1&&f(h),a>1&&p(t.slice(0,a-1).concat({value:\" \"===t[a-2].type?\"*\":\"\"})).replace(lt,\"$1\"),i,n>a&&v(t.slice(a,n)),r>n&&v(t=t.slice(n)),r>n&&p(t))}h.push(i)}return f(h)}function y(t,i){var r=i.length>0,s=t.length>0,o=function(n,o,a,l,u){var h,c,p,d=0,f=\"0\",g=n&&[],_=[],v=S,y=n||s&&x.find.TAG(\"*\",u),b=B+=null==v?1:Math.random()||.1,w=y.length;for(u&&(S=o!==I&&o);f!==w&&null!=(h=y[f]);f++){if(s&&h){for(c=0;p=t[c++];)if(p(h,o,a)){l.push(h);break}u&&(B=b)}r&&((h=!p&&h)&&d--,n&&g.push(h))}if(d+=f,r&&f!==d){for(c=0;p=i[c++];)p(g,_,o,a);if(n){if(d>0)for(;f--;)g[f]||_[f]||(_[f]=Z.call(l));_=m(_)}Q.apply(l,_),u&&!n&&_.length>0&&d+i.length>1&&e.uniqueSort(l)}return u&&(B=b,S=v),g};return r?n(o):o}var b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j,O,F,L=\"sizzle\"+1*new Date,H=t.document,B=0,W=0,q=i(),Y=i(),V=i(),$=function(t,e){return t===e&&(P=!0),0},U=1<<31,G={}.hasOwnProperty,X=[],Z=X.pop,J=X.push,Q=X.push,K=X.slice,tt=function(t,e){for(var i=0,n=t.length;n>i;i++)if(t[i]===e)return i;return-1},et=\"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",it=\"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",nt=\"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",rt=nt.replace(\"w\",\"w#\"),st=\"\\\\[\"+it+\"*(\"+nt+\")(?:\"+it+\"*([*^$|!~]?=)\"+it+\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\"+rt+\"))|)\"+it+\"*\\\\]\",ot=\":(\"+nt+\")(?:\\\\((('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\"+st+\")*)|.*)\\\\)|)\",at=new RegExp(it+\"+\",\"g\"),lt=new RegExp(\"^\"+it+\"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\"+it+\"+$\",\"g\"),ut=new RegExp(\"^\"+it+\"*,\"+it+\"*\"),ht=new RegExp(\"^\"+it+\"*([>+~]|\"+it+\")\"+it+\"*\"),ct=new RegExp(\"=\"+it+\"*([^\\\\]'\\\"]*?)\"+it+\"*\\\\]\",\"g\"),pt=new RegExp(ot),dt=new RegExp(\"^\"+rt+\"$\"),ft={ID:new RegExp(\"^#(\"+nt+\")\"),CLASS:new RegExp(\"^\\\\.(\"+nt+\")\"),TAG:new RegExp(\"^(\"+nt.replace(\"w\",\"w*\")+\")\"),ATTR:new RegExp(\"^\"+st),PSEUDO:new RegExp(\"^\"+ot),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+it+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+it+\"*(?:([+-]|)\"+it+\"*(\\\\d+)|))\"+it+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+et+\")$\",\"i\"),needsContext:new RegExp(\"^\"+it+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+it+\"*((?:-\\\\d)?\\\\d*)\"+it+\"*\\\\)|)(?=[^-]|$)\",\"i\")},gt=/^(?:input|select|textarea|button)$/i,mt=/^h\\d$/i,_t=/^[^{]+\\{\\s*\\[native \\w/,vt=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,yt=/[+~]/,bt=/'|\\\\/g,wt=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+it+\"?|(\"+it+\")|.)\",\"ig\"),xt=function(t,e,i){var n=\"0x\"+e-65536;return n!==n||i?e:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},kt=function(){E()};try{Q.apply(X=K.call(H.childNodes),H.childNodes),X[H.childNodes.length].nodeType}catch(Mt){Q={apply:X.length?function(t,e){J.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}w=e.support={},M=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?\"HTML\"!==e.nodeName:!1},E=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:H;return n!==I&&9===n.nodeType&&n.documentElement?(I=n,N=n.documentElement,i=n.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener(\"unload\",kt,!1):i.attachEvent&&i.attachEvent(\"onunload\",kt)),R=!M(n),w.attributes=r(function(t){return t.className=\"i\",!t.getAttribute(\"className\")}),w.getElementsByTagName=r(function(t){return t.appendChild(n.createComment(\"\")),!t.getElementsByTagName(\"*\").length}),w.getElementsByClassName=_t.test(n.getElementsByClassName),w.getById=r(function(t){return N.appendChild(t).id=L,!n.getElementsByName||!n.getElementsByName(L).length}),w.getById?(x.find.ID=function(t,e){if(\"undefined\"!=typeof e.getElementById&&R){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},x.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){return t.getAttribute(\"id\")===e}}):(delete x.find.ID,x.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){var i=\"undefined\"!=typeof t.getAttributeNode&&t.getAttributeNode(\"id\");return i&&i.value===e}}),x.find.TAG=w.getElementsByTagName?function(t,e){return\"undefined\"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if(\"*\"===t){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s},x.find.CLASS=w.getElementsByClassName&&function(t,e){return R?e.getElementsByClassName(t):void 0},j=[],z=[],(w.qsa=_t.test(n.querySelectorAll))&&(r(function(t){N.appendChild(t).innerHTML=\"<a id='\"+L+\"'></a><select id='\"+L+\"-\\f]' msallowcapture=''><option selected=''></option></select>\",t.querySelectorAll(\"[msallowcapture^='']\").length&&z.push(\"[*^$]=\"+it+\"*(?:''|\\\"\\\")\"),t.querySelectorAll(\"[selected]\").length||z.push(\"\\\\[\"+it+\"*(?:value|\"+et+\")\"),t.querySelectorAll(\"[id~=\"+L+\"-]\").length||z.push(\"~=\"),t.querySelectorAll(\":checked\").length||z.push(\":checked\"),t.querySelectorAll(\"a#\"+L+\"+*\").length||z.push(\".#.+[+~]\")}),r(function(t){var e=n.createElement(\"input\");e.setAttribute(\"type\",\"hidden\"),t.appendChild(e).setAttribute(\"name\",\"D\"),t.querySelectorAll(\"[name=d]\").length&&z.push(\"name\"+it+\"*[*^$|!~]?=\"),t.querySelectorAll(\":enabled\").length||z.push(\":enabled\",\":disabled\"),t.querySelectorAll(\"*,:x\"),z.push(\",.*:\")})),(w.matchesSelector=_t.test(O=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&r(function(t){w.disconnectedMatch=O.call(t,\"div\"),O.call(t,\"[s!='']:x\"),j.push(\"!=\",ot)}),z=z.length&&new RegExp(z.join(\"|\")),j=j.length&&new RegExp(j.join(\"|\")),e=_t.test(N.compareDocumentPosition),F=e||_t.test(N.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},$=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===H&&F(H,t)?-1:e===n||e.ownerDocument===H&&F(H,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,s=t.parentNode,a=e.parentNode,l=[t],u=[e];if(!s||!a)return t===n?-1:e===n?1:s?-1:a?1:A?tt(A,t)-tt(A,e):0;if(s===a)return o(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?o(l[r],u[r]):l[r]===H?-1:u[r]===H?1:0},n):I},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==I&&E(t),i=i.replace(ct,\"='$1']\"),w.matchesSelector&&R&&(!j||!j.test(i))&&(!z||!z.test(i)))try{var n=O.call(t,i);if(n||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(r){}return e(i,I,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==I&&E(t),F(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==I&&E(t);var i=x.attrHandle[e.toLowerCase()],n=i&&G.call(x.attrHandle,e.toLowerCase())?i(t,e,!R):void 0;return void 0!==n?n:w.attributes||!R?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error(\"Syntax error, unrecognized expression: \"+t)},e.uniqueSort=function(t){var e,i=[],n=0,r=0;if(P=!w.detectDuplicates,A=!w.sortStable&&t.slice(0),t.sort($),P){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return A=null,t},k=e.getText=function(t){var e,i=\"\",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if(\"string\"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=k(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=k(e);return i},x=e.selectors={cacheLength:50,createPseudo:n,match:ft,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,xt),t[3]=(t[3]||t[4]||t[5]||\"\").replace(wt,xt),\"~=\"===t[2]&&(t[3]=\" \"+t[3]+\" \"),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),\"nth\"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*(\"even\"===t[3]||\"odd\"===t[3])),t[5]=+(t[7]+t[8]||\"odd\"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||\"\":i&&pt.test(i)&&(e=C(i,!0))&&(e=i.indexOf(\")\",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(wt,xt).toLowerCase();return\"*\"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+\" \"];return e||(e=new RegExp(\"(^|\"+it+\")\"+t+\"(\"+it+\"|$)\"))&&q(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 s=e.attr(r,t);return null==s?\"!=\"===i:i?(s+=\"\",\"=\"===i?s===n:\"!=\"===i?s!==n:\"^=\"===i?n&&0===s.indexOf(n):\"*=\"===i?n&&s.indexOf(n)>-1:\"$=\"===i?n&&s.slice(-n.length)===n:\"~=\"===i?(\" \"+s.replace(at,\" \")+\" \").indexOf(n)>-1:\"|=\"===i?s===n||s.slice(0,n.length+1)===n+\"-\":!1):!0}},CHILD:function(t,e,i,n,r){var s=\"nth\"!==t.slice(0,3),o=\"last\"!==t.slice(-4),a=\"of-type\"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var u,h,c,p,d,f,g=s!==o?\"nextSibling\":\"previousSibling\",m=e.parentNode,_=a&&e.nodeName.toLowerCase(),v=!l&&!a;if(m){if(s){for(;g;){for(c=e;c=c[g];)if(a?c.nodeName.toLowerCase()===_:1===c.nodeType)return!1;f=g=\"only\"===t&&!f&&\"nextSibling\"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&v){for(h=m[L]||(m[L]={}),u=h[t]||[],d=u[0]===B&&u[1],p=u[0]===B&&u[2],c=d&&m.childNodes[d];c=++d&&c&&c[g]||(p=d=0)||f.pop();)if(1===c.nodeType&&++p&&c===e){h[t]=[B,d,p];break}}else if(v&&(u=(e[L]||(e[L]={}))[t])&&u[0]===B)p=u[1];else for(;(c=++d&&c&&c[g]||(p=d=0)||f.pop())&&((a?c.nodeName.toLowerCase()!==_:1!==c.nodeType)||!++p||(v&&((c[L]||(c[L]={}))[t]=[B,p]),c!==e)););return p-=r,p===n||p%n===0&&p/n>=0}}},PSEUDO:function(t,i){var r,s=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error(\"unsupported pseudo: \"+t);return s[L]?s(i):s.length>1?(r=[t,t,\"\",i],x.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,r=s(t,i),o=r.length;o--;)n=tt(t,r[o]),t[n]=!(e[n]=r[o])}):function(t){return s(t,0,r)}):s}},pseudos:{not:n(function(t){var e=[],i=[],r=D(t.replace(lt,\"$1\"));return r[L]?n(function(t,e,i,n){for(var s,o=r(t,null,n,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,n,s){return e[0]=t,r(e,null,s,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=R?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===N},focus:function(t){return t===I.activeElement&&(!I.hasFocus||I.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<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return gt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return\"input\"===e&&\"button\"===t.type||\"button\"===e},text:function(t){var e;return\"input\"===t.nodeName.toLowerCase()&&\"text\"===t.type&&(null==(e=t.getAttribute(\"type\"))||\"text\"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,i){return[0>i?i+e:i]}),even:u(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:u(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:u(function(t,e,i){for(var n=0>i?i+e:i;--n>=0;)t.push(n);return t}),gt:u(function(t,e,i){for(var n=0>i?i+e:i;++n<e;)t.push(n);return t})}},x.pseudos.nth=x.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[b]=a(b);for(b in{submit:!0,reset:!0})x.pseudos[b]=l(b);return c.prototype=x.filters=x.pseudos,x.setFilters=new c,C=e.tokenize=function(t,i){var n,r,s,o,a,l,u,h=Y[t+\" \"];if(h)return i?0:h.slice(0);for(a=t,l=[],u=x.preFilter;a;){(!n||(r=ut.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=ht.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(lt,\" \")}),a=a.slice(n.length));for(o in x.filter)!(r=ft[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return i?a.length:a?e.error(t):Y(t,l).slice(0)},D=e.compile=function(t,e){var i,n=[],r=[],s=V[t+\" \"];if(!s){for(e||(e=C(t)),i=e.length;i--;)s=v(e[i]),s[L]?n.push(s):r.push(s);s=V(t,y(r,n)),s.selector=t}return s},T=e.select=function(t,e,i,n){var r,s,o,a,l,u=\"function\"==typeof t&&t,c=!n&&C(t=u.selector||t);if(i=i||[],1===c.length){if(s=c[0]=c[0].slice(0),s.length>2&&\"ID\"===(o=s[0]).type&&w.getById&&9===e.nodeType&&R&&x.relative[s[1].type]){if(e=(x.find.ID(o.matches[0].replace(wt,xt),e)||[])[0],!e)return i;u&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(r=ft.needsContext.test(t)?0:s.length;r--&&(o=s[r],!x.relative[a=o.type]);)if((l=x.find[a])&&(n=l(o.matches[0].replace(wt,xt),yt.test(s[0].type)&&h(e.parentNode)||e))){if(s.splice(r,1),t=n.length&&p(s),!t)return Q.apply(i,n),i;break}}return(u||D(t,c))(n,e,!R,i,yt.test(t)&&h(e.parentNode)||e),i},w.sortStable=L.split(\"\").sort($).join(\"\")===L,w.detectDuplicates=!!P,E(),w.sortDetached=r(function(t){return 1&t.compareDocumentPosition(I.createElement(\"div\"))}),r(function(t){return t.innerHTML=\"<a href='#'></a>\",\"#\"===t.firstChild.getAttribute(\"href\")})||s(\"type|href|height|width\",function(t,e,i){return i?void 0:t.getAttribute(e,\"type\"===e.toLowerCase()?1:2)}),w.attributes&&r(function(t){return t.innerHTML=\"<input/>\",t.firstChild.setAttribute(\"value\",\"\"),\"\"===t.firstChild.getAttribute(\"value\")})||s(\"value\",function(t,e,i){return i||\"input\"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute(\"disabled\")})||s(et,function(t,e,i){var n;return i?void 0:t[e]===!0?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);K.find=rt,K.expr=rt.selectors,K.expr[\":\"]=K.expr.pseudos,K.unique=rt.uniqueSort,K.text=rt.getText,K.isXMLDoc=rt.isXML,K.contains=rt.contains;var st=K.expr.match.needsContext,ot=/^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,at=/^.[^:#\\[\\.,]*$/;K.filter=function(t,e,i){var n=e[0];return i&&(t=\":not(\"+t+\")\"),1===e.length&&1===n.nodeType?K.find.matchesSelector(n,t)?[n]:[]:K.find.matches(t,K.grep(e,function(t){return 1===t.nodeType}))},K.fn.extend({find:function(t){var e,i=this.length,n=[],r=this;if(\"string\"!=typeof t)return this.pushStack(K(t).filter(function(){for(e=0;i>e;e++)if(K.contains(r[e],this))return!0}));for(e=0;i>e;e++)K.find(t,r[e],n);return n=this.pushStack(i>1?K.unique(n):n),n.selector=this.selector?this.selector+\" \"+t:t,n},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,\"string\"==typeof t&&st.test(t)?K(t):t||[],!1).length}});var lt,ut=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,ht=K.fn.init=function(t,e){var i,n;if(!t)return this;if(\"string\"==typeof t){if(i=\"<\"===t[0]&&\">\"===t[t.length-1]&&t.length>=3?[null,t,null]:ut.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||lt).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof K?e[0]:e,K.merge(this,K.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:J,!0)),ot.test(i[1])&&K.isPlainObject(e))for(i in e)K.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return n=J.getElementById(i[2]),n&&n.parentNode&&(this.length=1,this[0]=n),this.context=J,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):K.isFunction(t)?\"undefined\"!=typeof lt.ready?lt.ready(t):t(K):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),K.makeArray(t,this))};ht.prototype=K.fn,lt=K(J);var ct=/^(?:parents|prev(?:Until|All))/,pt={children:!0,contents:!0,next:!0,prev:!0};K.extend({dir:function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&K(t).is(i))break;n.push(t)}return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),K.fn.extend({has:function(t){var e=K(t,this),i=e.length;return this.filter(function(){for(var t=0;i>t;t++)if(K.contains(this,e[t]))return!0})},closest:function(t,e){for(var i,n=0,r=this.length,s=[],o=st.test(t)||\"string\"!=typeof t?K(t,e||this.context):0;r>n;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&K.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?K.unique(s):s)},index:function(t){return t?\"string\"==typeof t?$.call(K(t),this[0]):$.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(K.unique(K.merge(this.get(),K(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),K.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return K.dir(t,\"parentNode\")},parentsUntil:function(t,e,i){return K.dir(t,\"parentNode\",i)},next:function(t){return r(t,\"nextSibling\")},prev:function(t){return r(t,\"previousSibling\")},nextAll:function(t){return K.dir(t,\"nextSibling\")},prevAll:function(t){return K.dir(t,\"previousSibling\")},nextUntil:function(t,e,i){return K.dir(t,\"nextSibling\",i)},prevUntil:function(t,e,i){return K.dir(t,\"previousSibling\",i)},siblings:function(t){return K.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return K.sibling(t.firstChild)},contents:function(t){return t.contentDocument||K.merge([],t.childNodes)}},function(t,e){K.fn[t]=function(i,n){var r=K.map(this,e,i);return\"Until\"!==t.slice(-5)&&(n=i),n&&\"string\"==typeof n&&(r=K.filter(n,r)),this.length>1&&(pt[t]||K.unique(r),ct.test(t)&&r.reverse()),this.pushStack(r)}});var dt=/\\S+/g,ft={};K.Callbacks=function(t){t=\"string\"==typeof t?ft[t]||s(t):K.extend({},t);var e,i,n,r,o,a,l=[],u=!t.once&&[],h=function(s){for(e=t.memory&&s,i=!0,a=r||0,r=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(s[0],s[1])===!1&&t.stopOnFalse){e=!1;break}n=!1,l&&(u?u.length&&h(u.shift()):e?l=[]:c.disable())},c={add:function(){if(l){var i=l.length;!function s(e){K.each(e,function(e,i){var n=K.type(i);\"function\"===n?t.unique&&c.has(i)||l.push(i):i&&i.length&&\"string\"!==n&&s(i)})}(arguments),n?o=l.length:e&&(r=i,h(e))}return this},remove:function(){return l&&K.each(arguments,function(t,e){for(var i;(i=K.inArray(e,l,i))>-1;)l.splice(i,1),n&&(o>=i&&o--,a>=i&&a--)}),this},has:function(t){return t?K.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=e=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,e||c.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!l||i&&!u||(e=e||[],e=[t,e.slice?e.slice():e],n?u.push(e):h(e)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},K.extend({Deferred:function(t){var e=[[\"resolve\",\"done\",K.Callbacks(\"once memory\"),\"resolved\"],[\"reject\",\"fail\",K.Callbacks(\"once memory\"),\"rejected\"],[\"notify\",\"progress\",K.Callbacks(\"memory\")]],i=\"pending\",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return K.Deferred(function(i){K.each(e,function(e,s){var o=K.isFunction(t[e])&&t[e];r[s[1]](function(){var t=o&&o.apply(this,arguments);t&&K.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[s[0]+\"With\"](this===n?i.promise():this,o?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?K.extend(t,n):n}},r={};return n.pipe=n.then,K.each(e,function(t,s){var o=s[2],a=s[3];n[s[1]]=o.add,a&&o.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),r[s[0]]=function(){return r[s[0]+\"With\"](this===r?n:this,arguments),this},r[s[0]+\"With\"]=o.fireWith}),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,s=q.call(arguments),o=s.length,a=1!==o||t&&K.isFunction(t.promise)?o:0,l=1===a?t:K.Deferred(),u=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?q.call(arguments):r,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(o>1)for(e=new Array(o),i=new Array(o),n=new Array(o);o>r;r++)s[r]&&K.isFunction(s[r].promise)?s[r].promise().done(u(r,n,s)).fail(l.reject).progress(u(r,i,e)):--a;return a||l.resolveWith(n,s),l.promise()}});var gt;K.fn.ready=function(t){return K.ready.promise().done(t),this},K.extend({isReady:!1,readyWait:1,holdReady:function(t){t?K.readyWait++:K.ready(!0)},ready:function(t){(t===!0?--K.readyWait:K.isReady)||(K.isReady=!0,t!==!0&&--K.readyWait>0||(gt.resolveWith(J,[K]),K.fn.triggerHandler&&(K(J).triggerHandler(\"ready\"),K(J).off(\"ready\"))))}}),K.ready.promise=function(e){return gt||(gt=K.Deferred(),\"complete\"===J.readyState?setTimeout(K.ready):(J.addEventListener(\"DOMContentLoaded\",o,!1),t.addEventListener(\"load\",o,!1))),gt.promise(e)},K.ready.promise();var mt=K.access=function(t,e,i,n,r,s,o){var a=0,l=t.length,u=null==i;if(\"object\"===K.type(i)){r=!0;for(a in i)K.access(t,e,a,i[a],!0,s,o)}else if(void 0!==n&&(r=!0,K.isFunction(n)||(o=!0),u&&(o?(e.call(t,n),e=null):(u=e,e=function(t,e,i){return u.call(K(t),i)})),e))for(;l>a;a++)e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)));return r?t:u?e.call(t):l?e(t[0],i):s};K.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},a.uid=1,a.accepts=K.acceptData,a.prototype={key:function(t){if(!a.accepts(t))return 0;var e={},i=t[this.expando];if(!i){i=a.uid++;try{e[this.expando]={value:i},Object.defineProperties(t,e)}catch(n){e[this.expando]=i,K.extend(t,e)}}return this.cache[i]||(this.cache[i]={}),i},set:function(t,e,i){var n,r=this.key(t),s=this.cache[r];if(\"string\"==typeof e)s[e]=i;else if(K.isEmptyObject(s))K.extend(this.cache[r],e);else for(n in e)s[n]=e[n];return s},get:function(t,e){var i=this.cache[this.key(t)];return void 0===e?i:i[e]},access:function(t,e,i){var n;return void 0===e||e&&\"string\"==typeof e&&void 0===i?(n=this.get(t,e),void 0!==n?n:this.get(t,K.camelCase(e))):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n,r,s=this.key(t),o=this.cache[s];if(void 0===e)this.cache[s]={};else{K.isArray(e)?n=e.concat(e.map(K.camelCase)):(r=K.camelCase(e),e in o?n=[e,r]:(n=r,n=n in o?[n]:n.match(dt)||[])),i=n.length;for(;i--;)delete o[n[i]]}},hasData:function(t){return!K.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var _t=new a,vt=new a,yt=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,bt=/([A-Z])/g;K.extend({hasData:function(t){return vt.hasData(t)||_t.hasData(t)},data:function(t,e,i){return vt.access(t,e,i);\n",
       "        },removeData:function(t,e){vt.remove(t,e)},_data:function(t,e,i){return _t.access(t,e,i)},_removeData:function(t,e){_t.remove(t,e)}}),K.fn.extend({data:function(t,e){var i,n,r,s=this[0],o=s&&s.attributes;if(void 0===t){if(this.length&&(r=vt.get(s),1===s.nodeType&&!_t.get(s,\"hasDataAttrs\"))){for(i=o.length;i--;)o[i]&&(n=o[i].name,0===n.indexOf(\"data-\")&&(n=K.camelCase(n.slice(5)),l(s,n,r[n])));_t.set(s,\"hasDataAttrs\",!0)}return r}return\"object\"==typeof t?this.each(function(){vt.set(this,t)}):mt(this,function(e){var i,n=K.camelCase(t);if(s&&void 0===e){if(i=vt.get(s,t),void 0!==i)return i;if(i=vt.get(s,n),void 0!==i)return i;if(i=l(s,n,void 0),void 0!==i)return i}else this.each(function(){var i=vt.get(this,n);vt.set(this,n,e),-1!==t.indexOf(\"-\")&&void 0!==i&&vt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){vt.remove(this,t)})}}),K.extend({queue:function(t,e,i){var n;return t?(e=(e||\"fx\")+\"queue\",n=_t.get(t,e),i&&(!n||K.isArray(i)?n=_t.access(t,e,K.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||\"fx\";var i=K.queue(t,e),n=i.length,r=i.shift(),s=K._queueHooks(t,e),o=function(){K.dequeue(t,e)};\"inprogress\"===r&&(r=i.shift(),n--),r&&(\"fx\"===e&&i.unshift(\"inprogress\"),delete s.stop,r.call(t,o,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+\"queueHooks\";return _t.get(t,i)||_t.access(t,i,{empty:K.Callbacks(\"once memory\").add(function(){_t.remove(t,[e+\"queue\",i])})})}}),K.fn.extend({queue:function(t,e){var i=2;return\"string\"!=typeof t&&(e=t,t=\"fx\",i--),arguments.length<i?K.queue(this[0],t):void 0===e?this:this.each(function(){var i=K.queue(this,t,e);K._queueHooks(this,t),\"fx\"===t&&\"inprogress\"!==i[0]&&K.dequeue(this,t)})},dequeue:function(t){return this.each(function(){K.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||\"fx\",[])},promise:function(t,e){var i,n=1,r=K.Deferred(),s=this,o=this.length,a=function(){--n||r.resolveWith(s,[s])};for(\"string\"!=typeof t&&(e=t,t=void 0),t=t||\"fx\";o--;)i=_t.get(s[o],t+\"queueHooks\"),i&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(e)}});var wt=/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,xt=[\"Top\",\"Right\",\"Bottom\",\"Left\"],kt=function(t,e){return t=e||t,\"none\"===K.css(t,\"display\")||!K.contains(t.ownerDocument,t)},Mt=/^(?:checkbox|radio)$/i;!function(){var t=J.createDocumentFragment(),e=t.appendChild(J.createElement(\"div\")),i=J.createElement(\"input\");i.setAttribute(\"type\",\"radio\"),i.setAttribute(\"checked\",\"checked\"),i.setAttribute(\"name\",\"t\"),e.appendChild(i),Z.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML=\"<textarea>x</textarea>\",Z.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Ct=\"undefined\";Z.focusinBubbles=\"onfocusin\"in t;var Dt=/^key/,Tt=/^(?:mouse|pointer|contextmenu)|click/,St=/^(?:focusinfocus|focusoutblur)$/,At=/^([^.]*)(?:\\.(.+)|)$/;K.event={global:{},add:function(t,e,i,n,r){var s,o,a,l,u,h,c,p,d,f,g,m=_t.get(t);if(m)for(i.handler&&(s=i,i=s.handler,r=s.selector),i.guid||(i.guid=K.guid++),(l=m.events)||(l=m.events={}),(o=m.handle)||(o=m.handle=function(e){return typeof K!==Ct&&K.event.triggered!==e.type?K.event.dispatch.apply(t,arguments):void 0}),e=(e||\"\").match(dt)||[\"\"],u=e.length;u--;)a=At.exec(e[u])||[],d=g=a[1],f=(a[2]||\"\").split(\".\").sort(),d&&(c=K.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,c=K.event.special[d]||{},h=K.extend({type:d,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&K.expr.match.needsContext.test(r),namespace:f.join(\".\")},s),(p=l[d])||(p=l[d]=[],p.delegateCount=0,c.setup&&c.setup.call(t,n,f,o)!==!1||t.addEventListener&&t.addEventListener(d,o,!1)),c.add&&(c.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),r?p.splice(p.delegateCount++,0,h):p.push(h),K.event.global[d]=!0)},remove:function(t,e,i,n,r){var s,o,a,l,u,h,c,p,d,f,g,m=_t.hasData(t)&&_t.get(t);if(m&&(l=m.events)){for(e=(e||\"\").match(dt)||[\"\"],u=e.length;u--;)if(a=At.exec(e[u])||[],d=g=a[1],f=(a[2]||\"\").split(\".\").sort(),d){for(c=K.event.special[d]||{},d=(n?c.delegateType:c.bindType)||d,p=l[d]||[],a=a[2]&&new RegExp(\"(^|\\\\.)\"+f.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),o=s=p.length;s--;)h=p[s],!r&&g!==h.origType||i&&i.guid!==h.guid||a&&!a.test(h.namespace)||n&&n!==h.selector&&(\"**\"!==n||!h.selector)||(p.splice(s,1),h.selector&&p.delegateCount--,c.remove&&c.remove.call(t,h));o&&!p.length&&(c.teardown&&c.teardown.call(t,f,m.handle)!==!1||K.removeEvent(t,d,m.handle),delete l[d])}else for(d in l)K.event.remove(t,d+e[u],i,n,!0);K.isEmptyObject(l)&&(delete m.handle,_t.remove(t,\"events\"))}},trigger:function(e,i,n,r){var s,o,a,l,u,h,c,p=[n||J],d=X.call(e,\"type\")?e.type:e,f=X.call(e,\"namespace\")?e.namespace.split(\".\"):[];if(o=a=n=n||J,3!==n.nodeType&&8!==n.nodeType&&!St.test(d+K.event.triggered)&&(d.indexOf(\".\")>=0&&(f=d.split(\".\"),d=f.shift(),f.sort()),u=d.indexOf(\":\")<0&&\"on\"+d,e=e[K.expando]?e:new K.Event(d,\"object\"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=f.join(\".\"),e.namespace_re=e.namespace?new RegExp(\"(^|\\\\.)\"+f.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:K.makeArray(i,[e]),c=K.event.special[d]||{},r||!c.trigger||c.trigger.apply(n,i)!==!1)){if(!r&&!c.noBubble&&!K.isWindow(n)){for(l=c.delegateType||d,St.test(l+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||J)&&p.push(a.defaultView||a.parentWindow||t)}for(s=0;(o=p[s++])&&!e.isPropagationStopped();)e.type=s>1?l:c.bindType||d,h=(_t.get(o,\"events\")||{})[e.type]&&_t.get(o,\"handle\"),h&&h.apply(o,i),h=u&&o[u],h&&h.apply&&K.acceptData(o)&&(e.result=h.apply(o,i),e.result===!1&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&c._default.apply(p.pop(),i)!==!1||!K.acceptData(n)||u&&K.isFunction(n[d])&&!K.isWindow(n)&&(a=n[u],a&&(n[u]=null),K.event.triggered=d,n[d](),K.event.triggered=void 0,a&&(n[u]=a)),e.result}},dispatch:function(t){t=K.event.fix(t);var e,i,n,r,s,o=[],a=q.call(arguments),l=(_t.get(this,\"events\")||{})[t.type]||[],u=K.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(o=K.event.handlers.call(this,t,l),e=0;(r=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,i=0;(s=r.handlers[i++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(s.namespace))&&(t.handleObj=s,t.data=s.data,n=((K.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,r,s,o=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||\"click\"!==t.type))for(;l!==this;l=l.parentNode||this)if(l.disabled!==!0||\"click\"!==t.type){for(n=[],i=0;a>i;i++)s=e[i],r=s.selector+\" \",void 0===n[r]&&(n[r]=s.needsContext?K(r,this).index(l)>=0:K.find(r,this,null,[l]).length),n[r]&&n.push(s);n.length&&o.push({elem:l,handlers:n})}return a<e.length&&o.push({elem:this,handlers:e.slice(a)}),o},props:\"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which\".split(\" \"),fixHooks:{},keyHooks:{props:\"char charCode key keyCode\".split(\" \"),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:\"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement\".split(\" \"),filter:function(t,e){var i,n,r,s=e.button;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||J,n=i.documentElement,r=i.body,t.pageX=e.clientX+(n&&n.scrollLeft||r&&r.scrollLeft||0)-(n&&n.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(n&&n.scrollTop||r&&r.scrollTop||0)-(n&&n.clientTop||r&&r.clientTop||0)),t.which||void 0===s||(t.which=1&s?1:2&s?3:4&s?2:0),t}},fix:function(t){if(t[K.expando])return t;var e,i,n,r=t.type,s=t,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Tt.test(r)?this.mouseHooks:Dt.test(r)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,t=new K.Event(s),e=n.length;e--;)i=n[e],t[i]=s[i];return t.target||(t.target=J),3===t.target.nodeType&&(t.target=t.target.parentNode),o.filter?o.filter(t,s):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==c()&&this.focus?(this.focus(),!1):void 0},delegateType:\"focusin\"},blur:{trigger:function(){return this===c()&&this.blur?(this.blur(),!1):void 0},delegateType:\"focusout\"},click:{trigger:function(){return\"checkbox\"===this.type&&this.click&&K.nodeName(this,\"input\")?(this.click(),!1):void 0},_default:function(t){return K.nodeName(t.target,\"a\")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var r=K.extend(new K.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?K.event.trigger(r,null,e):K.event.dispatch.call(e,r),r.isDefaultPrevented()&&i.preventDefault()}},K.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)},K.Event=function(t,e){return this instanceof K.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?u:h):this.type=t,e&&K.extend(this,e),this.timeStamp=t&&t.timeStamp||K.now(),void(this[K.expando]=!0)):new K.Event(t,e)},K.Event.prototype={isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=u,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=u,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=u,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},K.each({mouseenter:\"mouseover\",mouseleave:\"mouseout\",pointerenter:\"pointerover\",pointerleave:\"pointerout\"},function(t,e){K.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;return(!r||r!==n&&!K.contains(n,r))&&(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}}),Z.focusinBubbles||K.each({focus:\"focusin\",blur:\"focusout\"},function(t,e){var i=function(t){K.event.simulate(e,t.target,K.event.fix(t),!0)};K.event.special[e]={setup:function(){var n=this.ownerDocument||this,r=_t.access(n,e);r||n.addEventListener(t,i,!0),_t.access(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=_t.access(n,e)-1;r?_t.access(n,e,r):(n.removeEventListener(t,i,!0),_t.remove(n,e))}}}),K.fn.extend({on:function(t,e,i,n,r){var s,o;if(\"object\"==typeof t){\"string\"!=typeof e&&(i=i||e,e=void 0);for(o in t)this.on(o,e,i,t[o],r);return this}if(null==i&&null==n?(n=e,i=e=void 0):null==n&&(\"string\"==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),n===!1)n=h;else if(!n)return this;return 1===r&&(s=n,n=function(t){return K().off(t),s.apply(this,arguments)},n.guid=s.guid||(s.guid=K.guid++)),this.each(function(){K.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,K(t.delegateTarget).off(n.namespace?n.origType+\".\"+n.namespace:n.origType,n.selector,n.handler),this;if(\"object\"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return(e===!1||\"function\"==typeof e)&&(i=e,e=void 0),i===!1&&(i=h),this.each(function(){K.event.remove(this,t,i,e)})},trigger:function(t,e){return this.each(function(){K.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];return i?K.event.trigger(t,e,i,!0):void 0}});var Pt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,Et=/<([\\w:]+)/,It=/<|&#?\\w+;/,Nt=/<(?:script|style|link)/i,Rt=/checked\\s*(?:[^=]|=\\s*.checked.)/i,zt=/^$|\\/(?:java|ecma)script/i,jt=/^true\\/(.*)/,Ot=/^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g,Ft={option:[1,\"<select multiple='multiple'>\",\"</select>\"],thead:[1,\"<table>\",\"</table>\"],col:[2,\"<table><colgroup>\",\"</colgroup></table>\"],tr:[2,\"<table><tbody>\",\"</tbody></table>\"],td:[3,\"<table><tbody><tr>\",\"</tr></tbody></table>\"],_default:[0,\"\",\"\"]};Ft.optgroup=Ft.option,Ft.tbody=Ft.tfoot=Ft.colgroup=Ft.caption=Ft.thead,Ft.th=Ft.td,K.extend({clone:function(t,e,i){var n,r,s,o,a=t.cloneNode(!0),l=K.contains(t.ownerDocument,t);if(!(Z.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||K.isXMLDoc(t)))for(o=_(a),s=_(t),n=0,r=s.length;r>n;n++)v(s[n],o[n]);if(e)if(i)for(s=s||_(t),o=o||_(a),n=0,r=s.length;r>n;n++)m(s[n],o[n]);else m(t,a);return o=_(a,\"script\"),o.length>0&&g(o,!l&&_(t,\"script\")),a},buildFragment:function(t,e,i,n){for(var r,s,o,a,l,u,h=e.createDocumentFragment(),c=[],p=0,d=t.length;d>p;p++)if(r=t[p],r||0===r)if(\"object\"===K.type(r))K.merge(c,r.nodeType?[r]:r);else if(It.test(r)){for(s=s||h.appendChild(e.createElement(\"div\")),o=(Et.exec(r)||[\"\",\"\"])[1].toLowerCase(),a=Ft[o]||Ft._default,s.innerHTML=a[1]+r.replace(Pt,\"<$1></$2>\")+a[2],u=a[0];u--;)s=s.lastChild;K.merge(c,s.childNodes),s=h.firstChild,s.textContent=\"\"}else c.push(e.createTextNode(r));for(h.textContent=\"\",p=0;r=c[p++];)if((!n||-1===K.inArray(r,n))&&(l=K.contains(r.ownerDocument,r),s=_(h.appendChild(r),\"script\"),l&&g(s),i))for(u=0;r=s[u++];)zt.test(r.type||\"\")&&i.push(r);return h},cleanData:function(t){for(var e,i,n,r,s=K.event.special,o=0;void 0!==(i=t[o]);o++){if(K.acceptData(i)&&(r=i[_t.expando],r&&(e=_t.cache[r]))){if(e.events)for(n in e.events)s[n]?K.event.remove(i,n):K.removeEvent(i,n,e.handle);_t.cache[r]&&delete _t.cache[r]}delete vt.cache[i[vt.expando]]}}}),K.fn.extend({text:function(t){return mt(this,function(t){return void 0===t?K.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?K.filter(t,this):this,r=0;null!=(i=n[r]);r++)e||1!==i.nodeType||K.cleanData(_(i)),i.parentNode&&(e&&K.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&&(K.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 K.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&&!Nt.test(t)&&!Ft[(Et.exec(t)||[\"\",\"\"])[1].toLowerCase()]){t=t.replace(Pt,\"<$1></$2>\");try{for(;n>i;i++)e=this[i]||{},1===e.nodeType&&(K.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,K.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=Y.apply([],t);var i,n,r,s,o,a,l=0,u=this.length,h=this,c=u-1,p=t[0],g=K.isFunction(p);if(g||u>1&&\"string\"==typeof p&&!Z.checkClone&&Rt.test(p))return this.each(function(i){var n=h.eq(i);g&&(t[0]=p.call(this,i,n.html())),n.domManip(t,e)});if(u&&(i=K.buildFragment(t,this[0].ownerDocument,!1,this),n=i.firstChild,1===i.childNodes.length&&(i=n),n)){for(r=K.map(_(i,\"script\"),d),s=r.length;u>l;l++)o=i,l!==c&&(o=K.clone(o,!0,!0),s&&K.merge(r,_(o,\"script\"))),e.call(this[l],o,l);if(s)for(a=r[r.length-1].ownerDocument,K.map(r,f),l=0;s>l;l++)o=r[l],zt.test(o.type||\"\")&&!_t.access(o,\"globalEval\")&&K.contains(a,o)&&(o.src?K._evalUrl&&K._evalUrl(o.src):K.globalEval(o.textContent.replace(Ot,\"\")))}return this}}),K.each({appendTo:\"append\",prependTo:\"prepend\",insertBefore:\"before\",insertAfter:\"after\",replaceAll:\"replaceWith\"},function(t,e){K.fn[t]=function(t){for(var i,n=[],r=K(t),s=r.length-1,o=0;s>=o;o++)i=o===s?this:this.clone(!0),K(r[o])[e](i),V.apply(n,i.get());return this.pushStack(n)}});var Lt,Ht={},Bt=/^margin/,Wt=new RegExp(\"^(\"+wt+\")(?!px)[a-z%]+$\",\"i\"),qt=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)};!function(){function e(){o.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\",o.innerHTML=\"\",r.appendChild(s);var e=t.getComputedStyle(o,null);i=\"1%\"!==e.top,n=\"4px\"===e.width,r.removeChild(s)}var i,n,r=J.documentElement,s=J.createElement(\"div\"),o=J.createElement(\"div\");o.style&&(o.style.backgroundClip=\"content-box\",o.cloneNode(!0).style.backgroundClip=\"\",Z.clearCloneStyle=\"content-box\"===o.style.backgroundClip,s.style.cssText=\"border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute\",s.appendChild(o),t.getComputedStyle&&K.extend(Z,{pixelPosition:function(){return e(),i},boxSizingReliable:function(){return null==n&&e(),n},reliableMarginRight:function(){var e,i=o.appendChild(J.createElement(\"div\"));return i.style.cssText=o.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\",o.style.width=\"1px\",r.appendChild(s),e=!parseFloat(t.getComputedStyle(i,null).marginRight),r.removeChild(s),o.removeChild(i),e}}))}(),K.swap=function(t,e,i,n){var r,s,o={};for(s in e)o[s]=t.style[s],t.style[s]=e[s];r=i.apply(t,n||[]);for(s in e)t.style[s]=o[s];return r};var Yt=/^(none|table(?!-c[ea]).+)/,Vt=new RegExp(\"^(\"+wt+\")(.*)$\",\"i\"),$t=new RegExp(\"^([+-])=(\"+wt+\")\",\"i\"),Ut={position:\"absolute\",visibility:\"hidden\",display:\"block\"},Gt={letterSpacing:\"0\",fontWeight:\"400\"},Xt=[\"Webkit\",\"O\",\"Moz\",\"ms\"];K.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,s,o,a=K.camelCase(e),l=t.style;return e=K.cssProps[a]||(K.cssProps[a]=k(l,a)),o=K.cssHooks[e]||K.cssHooks[a],void 0===i?o&&\"get\"in o&&void 0!==(r=o.get(t,!1,n))?r:l[e]:(s=typeof i,\"string\"===s&&(r=$t.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(K.css(t,e)),s=\"number\"),null!=i&&i===i&&(\"number\"!==s||K.cssNumber[a]||(i+=\"px\"),Z.clearCloneStyle||\"\"!==i||0!==e.indexOf(\"background\")||(l[e]=\"inherit\"),o&&\"set\"in o&&void 0===(i=o.set(t,i,n))||(l[e]=i)),void 0)}},css:function(t,e,i,n){var r,s,o,a=K.camelCase(e);return e=K.cssProps[a]||(K.cssProps[a]=k(t.style,a)),o=K.cssHooks[e]||K.cssHooks[a],o&&\"get\"in o&&(r=o.get(t,!0,i)),void 0===r&&(r=w(t,e,n)),\"normal\"===r&&e in Gt&&(r=Gt[e]),\"\"===i||i?(s=parseFloat(r),i===!0||K.isNumeric(s)?s||0:r):r}}),K.each([\"height\",\"width\"],function(t,e){K.cssHooks[e]={get:function(t,i,n){return i?Yt.test(K.css(t,\"display\"))&&0===t.offsetWidth?K.swap(t,Ut,function(){return D(t,e,n)}):D(t,e,n):void 0},set:function(t,i,n){var r=n&&qt(t);return M(t,i,n?C(t,e,n,\"border-box\"===K.css(t,\"boxSizing\",!1,r),r):0)}}}),K.cssHooks.marginRight=x(Z.reliableMarginRight,function(t,e){return e?K.swap(t,{display:\"inline-block\"},w,[t,\"marginRight\"]):void 0}),K.each({margin:\"\",padding:\"\",border:\"Width\"},function(t,e){K.cssHooks[t+e]={expand:function(i){for(var n=0,r={},s=\"string\"==typeof i?i.split(\" \"):[i];4>n;n++)r[t+xt[n]+e]=s[n]||s[n-2]||s[0];return r}},Bt.test(t)||(K.cssHooks[t+e].set=M)}),K.fn.extend({css:function(t,e){return mt(this,function(t,e,i){var n,r,s={},o=0;if(K.isArray(e)){for(n=qt(t),r=e.length;r>o;o++)s[e[o]]=K.css(t,e[o],!1,n);return s}return void 0!==i?K.style(t,e,i):K.css(t,e)},t,e,arguments.length>1)},show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(t){return\"boolean\"==typeof t?t?this.show():this.hide():this.each(function(){kt(this)?K(this).show():K(this).hide()})}}),K.Tween=S,S.prototype={constructor:S,init:function(t,e,i,n,r,s){this.elem=t,this.prop=i,this.easing=r||\"swing\",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(K.cssNumber[i]?\"\":\"px\")},cur:function(){var t=S.propHooks[this.prop];return t&&t.get?t.get(this):S.propHooks._default.get(this)},run:function(t){var e,i=S.propHooks[this.prop];return this.options.duration?this.pos=e=K.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):S.propHooks._default.set(this),this}},S.prototype.init.prototype=S.prototype,S.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=K.css(t.elem,t.prop,\"\"),e&&\"auto\"!==e?e:0):t.elem[t.prop]},set:function(t){K.fx.step[t.prop]?K.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[K.cssProps[t.prop]]||K.cssHooks[t.prop])?K.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},S.propHooks.scrollTop=S.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},K.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},K.fx=S.prototype.init,K.fx.step={};var Zt,Jt,Qt=/^(?:toggle|show|hide)$/,Kt=new RegExp(\"^(?:([+-])=|)(\"+wt+\")([a-z%]*)$\",\"i\"),te=/queueHooks$/,ee=[I],ie={\"*\":[function(t,e){var i=this.createTween(t,e),n=i.cur(),r=Kt.exec(e),s=r&&r[3]||(K.cssNumber[t]?\"\":\"px\"),o=(K.cssNumber[t]||\"px\"!==s&&+n)&&Kt.exec(K.css(i.elem,t)),a=1,l=20;if(o&&o[3]!==s){s=s||o[3],r=r||[],o=+n||1;do a=a||\".5\",o/=a,K.style(i.elem,t,o+s);while(a!==(a=i.cur()/n)&&1!==a&&--l)}return r&&(o=i.start=+o||+n||0,i.unit=s,i.end=r[1]?o+(r[1]+1)*r[2]:+r[2]),i}]};K.Animation=K.extend(R,{tweener:function(t,e){K.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)}}),K.speed=function(t,e,i){var n=t&&\"object\"==typeof t?K.extend({},t):{complete:i||!i&&e||K.isFunction(t)&&t,duration:t,easing:i&&e||e&&!K.isFunction(e)&&e};return n.duration=K.fx.off?0:\"number\"==typeof n.duration?n.duration:n.duration in K.fx.speeds?K.fx.speeds[n.duration]:K.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue=\"fx\"),n.old=n.complete,n.complete=function(){K.isFunction(n.old)&&n.old.call(this),n.queue&&K.dequeue(this,n.queue)},n},K.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=K.isEmptyObject(t),s=K.speed(e,i,n),o=function(){var e=R(this,K.extend({},t),s);(r||_t.get(this,\"finish\"))&&e.stop(!0)};return o.finish=o,r||s.queue===!1?this.each(o):this.queue(s.queue,o)},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\",s=K.timers,o=_t.get(this);if(r)o[r]&&o[r].stop&&n(o[r]);else for(r in o)o[r]&&o[r].stop&&te.test(r)&&n(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(i),e=!1,s.splice(r,1));(e||!i)&&K.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\"],s=K.timers,o=n?n.length:0;for(i.finish=!0,K.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;o>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),K.each([\"toggle\",\"show\",\"hide\"],function(t,e){var i=K.fn[e];K.fn[e]=function(t,n,r){return null==t||\"boolean\"==typeof t?i.apply(this,arguments):this.animate(P(e,!0),t,n,r)}}),K.each({slideDown:P(\"show\"),slideUp:P(\"hide\"),slideToggle:P(\"toggle\"),fadeIn:{opacity:\"show\"},fadeOut:{opacity:\"hide\"},fadeToggle:{opacity:\"toggle\"}},function(t,e){K.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),K.timers=[],K.fx.tick=function(){var t,e=0,i=K.timers;for(Zt=K.now();e<i.length;e++)t=i[e],t()||i[e]!==t||i.splice(e--,1);i.length||K.fx.stop(),Zt=void 0},K.fx.timer=function(t){K.timers.push(t),t()?K.fx.start():K.timers.pop()},K.fx.interval=13,K.fx.start=function(){Jt||(Jt=setInterval(K.fx.tick,K.fx.interval))},K.fx.stop=function(){clearInterval(Jt),Jt=null},K.fx.speeds={slow:600,fast:200,_default:400},K.fn.delay=function(t,e){return t=K.fx?K.fx.speeds[t]||t:t,e=e||\"fx\",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},function(){var t=J.createElement(\"input\"),e=J.createElement(\"select\"),i=e.appendChild(J.createElement(\"option\"));t.type=\"checkbox\",Z.checkOn=\"\"!==t.value,Z.optSelected=i.selected,e.disabled=!0,Z.optDisabled=!i.disabled,t=J.createElement(\"input\"),t.value=\"t\",t.type=\"radio\",Z.radioValue=\"t\"===t.value}();var ne,re,se=K.expr.attrHandle;K.fn.extend({attr:function(t,e){return mt(this,K.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){K.removeAttr(this,t)})}}),K.extend({attr:function(t,e,i){var n,r,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return typeof t.getAttribute===Ct?K.prop(t,e,i):(1===s&&K.isXMLDoc(t)||(e=e.toLowerCase(),n=K.attrHooks[e]||(K.expr.match.bool.test(e)?re:ne)),void 0===i?n&&\"get\"in n&&null!==(r=n.get(t,e))?r:(r=K.find.attr(t,e),null==r?void 0:r):null!==i?n&&\"set\"in n&&void 0!==(r=n.set(t,i,e))?r:(t.setAttribute(e,i+\"\"),i):void K.removeAttr(t,e))},removeAttr:function(t,e){var i,n,r=0,s=e&&e.match(dt);if(s&&1===t.nodeType)for(;i=s[r++];)n=K.propFix[i]||i,K.expr.match.bool.test(i)&&(t[n]=!1),t.removeAttribute(i)},attrHooks:{type:{set:function(t,e){if(!Z.radioValue&&\"radio\"===e&&K.nodeName(t,\"input\")){var i=t.value;return t.setAttribute(\"type\",e),i&&(t.value=i),e}}}}}),re={set:function(t,e,i){return e===!1?K.removeAttr(t,i):t.setAttribute(i,i),i}},K.each(K.expr.match.bool.source.match(/\\w+/g),function(t,e){var i=se[e]||K.find.attr;se[e]=function(t,e,n){var r,s;return n||(s=se[e],se[e]=r,r=null!=i(t,e,n)?e.toLowerCase():null,se[e]=s),r}});var oe=/^(?:input|select|textarea|button)$/i;K.fn.extend({prop:function(t,e){return mt(this,K.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[K.propFix[t]||t]})}}),K.extend({propFix:{\"for\":\"htmlFor\",\"class\":\"className\"},prop:function(t,e,i){var n,r,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return s=1!==o||!K.isXMLDoc(t),s&&(e=K.propFix[e]||e,r=K.propHooks[e]),void 0!==i?r&&\"set\"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&\"get\"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute(\"tabindex\")||oe.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),Z.optSelected||(K.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),K.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],function(){K.propFix[this.toLowerCase()]=this});var ae=/[\\t\\r\\n\\f]/g;K.fn.extend({addClass:function(t){var e,i,n,r,s,o,a=\"string\"==typeof t&&t,l=0,u=this.length;if(K.isFunction(t))return this.each(function(e){K(this).addClass(t.call(this,e,this.className))});if(a)for(e=(t||\"\").match(dt)||[];u>l;l++)if(i=this[l],n=1===i.nodeType&&(i.className?(\" \"+i.className+\" \").replace(ae,\" \"):\" \")){for(s=0;r=e[s++];)n.indexOf(\" \"+r+\" \")<0&&(n+=r+\" \");o=K.trim(n),i.className!==o&&(i.className=o)}return this},removeClass:function(t){var e,i,n,r,s,o,a=0===arguments.length||\"string\"==typeof t&&t,l=0,u=this.length;if(K.isFunction(t))return this.each(function(e){K(this).removeClass(t.call(this,e,this.className))});if(a)for(e=(t||\"\").match(dt)||[];u>l;l++)if(i=this[l],n=1===i.nodeType&&(i.className?(\" \"+i.className+\" \").replace(ae,\" \"):\"\")){for(s=0;r=e[s++];)for(;n.indexOf(\" \"+r+\" \")>=0;)n=n.replace(\" \"+r+\" \",\" \");o=t?K.trim(n):\"\",i.className!==o&&(i.className=o)}return this},toggleClass:function(t,e){var i=typeof t;return\"boolean\"==typeof e&&\"string\"===i?e?this.addClass(t):this.removeClass(t):K.isFunction(t)?this.each(function(i){K(this).toggleClass(t.call(this,i,this.className,e),e)}):this.each(function(){if(\"string\"===i)for(var e,n=0,r=K(this),s=t.match(dt)||[];e=s[n++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(i===Ct||\"boolean\"===i)&&(this.className&&_t.set(this,\"__className__\",this.className),this.className=this.className||t===!1?\"\":_t.get(this,\"__className__\")||\"\")})},hasClass:function(t){for(var e=\" \"+t+\" \",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(\" \"+this[i].className+\" \").replace(ae,\" \").indexOf(e)>=0)return!0;return!1}});var le=/\\r/g;K.fn.extend({val:function(t){var e,i,n,r=this[0];{if(arguments.length)return n=K.isFunction(t),this.each(function(i){var r;1===this.nodeType&&(r=n?t.call(this,i,K(this).val()):t,null==r?r=\"\":\"number\"==typeof r?r+=\"\":K.isArray(r)&&(r=K.map(r,function(t){return null==t?\"\":t+\"\"})),e=K.valHooks[this.type]||K.valHooks[this.nodeName.toLowerCase()],e&&\"set\"in e&&void 0!==e.set(this,r,\"value\")||(this.value=r))});if(r)return e=K.valHooks[r.type]||K.valHooks[r.nodeName.toLowerCase()],e&&\"get\"in e&&void 0!==(i=e.get(r,\"value\"))?i:(i=r.value,\"string\"==typeof i?i.replace(le,\"\"):null==i?\"\":i)}}}),K.extend({valHooks:{option:{get:function(t){var e=K.find.attr(t,\"value\");return null!=e?e:K.trim(K.text(t))}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,s=\"select-one\"===t.type||0>r,o=s?null:[],a=s?r+1:n.length,l=0>r?a:s?r:0;a>l;l++)if(i=n[l],(i.selected||l===r)&&(Z.optDisabled?!i.disabled:null===i.getAttribute(\"disabled\"))&&(!i.parentNode.disabled||!K.nodeName(i.parentNode,\"optgroup\"))){if(e=K(i).val(),s)return e;o.push(e)}return o},set:function(t,e){for(var i,n,r=t.options,s=K.makeArray(e),o=r.length;o--;)n=r[o],(n.selected=K.inArray(n.value,s)>=0)&&(i=!0);return i||(t.selectedIndex=-1),s}}}}),K.each([\"radio\",\"checkbox\"],function(){K.valHooks[this]={set:function(t,e){return K.isArray(e)?t.checked=K.inArray(K(t).val(),e)>=0:void 0}},Z.checkOn||(K.valHooks[this].get=function(t){return null===t.getAttribute(\"value\")?\"on\":t.value})}),K.each(\"blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu\".split(\" \"),function(t,e){K.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),K.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,\"**\"):this.off(e,t||\"**\",i)}});var ue=K.now(),he=/\\?/;K.parseJSON=function(t){return JSON.parse(t+\"\")},K.parseXML=function(t){var e,i;if(!t||\"string\"!=typeof t)return null;try{i=new DOMParser,e=i.parseFromString(t,\"text/xml\")}catch(n){e=void 0}return(!e||e.getElementsByTagName(\"parsererror\").length)&&K.error(\"Invalid XML: \"+t),e};var ce=/#.*$/,pe=/([?&])_=[^&]*/,de=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ge=/^(?:GET|HEAD)$/,me=/^\\/\\//,_e=/^([\\w.+-]+:)(?:\\/\\/(?:[^\\/?#]*@|)([^\\/?#:]*)(?::(\\d+)|)|)/,ve={},ye={},be=\"*/\".concat(\"*\"),we=t.location.href,xe=_e.exec(we.toLowerCase())||[];K.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we,type:\"GET\",isLocal:fe.test(xe[1]),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":be,text:\"text/plain\",html:\"text/html\",\n",
       "        xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":K.parseJSON,\"text xml\":K.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?O(O(t,K.ajaxSettings),e):O(K.ajaxSettings,t)},ajaxPrefilter:z(ve),ajaxTransport:z(ye),ajax:function(t,e){function i(t,e,i,o){var l,h,_,v,b,x=e;2!==y&&(y=2,a&&clearTimeout(a),n=void 0,s=o||\"\",w.readyState=t>0?4:0,l=t>=200&&300>t||304===t,i&&(v=F(c,w,i)),v=L(c,v,w,l),l?(c.ifModified&&(b=w.getResponseHeader(\"Last-Modified\"),b&&(K.lastModified[r]=b),b=w.getResponseHeader(\"etag\"),b&&(K.etag[r]=b)),204===t||\"HEAD\"===c.type?x=\"nocontent\":304===t?x=\"notmodified\":(x=v.state,h=v.data,_=v.error,l=!_)):(_=x,(t||!x)&&(x=\"error\",0>t&&(t=0))),w.status=t,w.statusText=(e||x)+\"\",l?f.resolveWith(p,[h,x,w]):f.rejectWith(p,[w,x,_]),w.statusCode(m),m=void 0,u&&d.trigger(l?\"ajaxSuccess\":\"ajaxError\",[w,c,l?h:_]),g.fireWith(p,[w,x]),u&&(d.trigger(\"ajaxComplete\",[w,c]),--K.active||K.event.trigger(\"ajaxStop\")))}\"object\"==typeof t&&(e=t,t=void 0),e=e||{};var n,r,s,o,a,l,u,h,c=K.ajaxSetup({},e),p=c.context||c,d=c.context&&(p.nodeType||p.jquery)?K(p):K.event,f=K.Deferred(),g=K.Callbacks(\"once memory\"),m=c.statusCode||{},_={},v={},y=0,b=\"canceled\",w={readyState:0,getResponseHeader:function(t){var e;if(2===y){if(!o)for(o={};e=de.exec(s);)o[e[1].toLowerCase()]=e[2];e=o[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===y?s:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return y||(t=v[i]=v[i]||t,_[t]=e),this},overrideMimeType:function(t){return y||(c.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>y)for(e in t)m[e]=[m[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||b;return n&&n.abort(e),i(0,e),this}};if(f.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,c.url=((t||c.url||we)+\"\").replace(ce,\"\").replace(me,xe[1]+\"//\"),c.type=e.method||e.type||c.method||c.type,c.dataTypes=K.trim(c.dataType||\"*\").toLowerCase().match(dt)||[\"\"],null==c.crossDomain&&(l=_e.exec(c.url.toLowerCase()),c.crossDomain=!(!l||l[1]===xe[1]&&l[2]===xe[2]&&(l[3]||(\"http:\"===l[1]?\"80\":\"443\"))===(xe[3]||(\"http:\"===xe[1]?\"80\":\"443\")))),c.data&&c.processData&&\"string\"!=typeof c.data&&(c.data=K.param(c.data,c.traditional)),j(ve,c,e,w),2===y)return w;u=K.event&&c.global,u&&0===K.active++&&K.event.trigger(\"ajaxStart\"),c.type=c.type.toUpperCase(),c.hasContent=!ge.test(c.type),r=c.url,c.hasContent||(c.data&&(r=c.url+=(he.test(r)?\"&\":\"?\")+c.data,delete c.data),c.cache===!1&&(c.url=pe.test(r)?r.replace(pe,\"$1_=\"+ue++):r+(he.test(r)?\"&\":\"?\")+\"_=\"+ue++)),c.ifModified&&(K.lastModified[r]&&w.setRequestHeader(\"If-Modified-Since\",K.lastModified[r]),K.etag[r]&&w.setRequestHeader(\"If-None-Match\",K.etag[r])),(c.data&&c.hasContent&&c.contentType!==!1||e.contentType)&&w.setRequestHeader(\"Content-Type\",c.contentType),w.setRequestHeader(\"Accept\",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(\"*\"!==c.dataTypes[0]?\", \"+be+\"; q=0.01\":\"\"):c.accepts[\"*\"]);for(h in c.headers)w.setRequestHeader(h,c.headers[h]);if(c.beforeSend&&(c.beforeSend.call(p,w,c)===!1||2===y))return w.abort();b=\"abort\";for(h in{success:1,error:1,complete:1})w[h](c[h]);if(n=j(ye,c,e,w)){w.readyState=1,u&&d.trigger(\"ajaxSend\",[w,c]),c.async&&c.timeout>0&&(a=setTimeout(function(){w.abort(\"timeout\")},c.timeout));try{y=1,n.send(_,i)}catch(x){if(!(2>y))throw x;i(-1,x)}}else i(-1,\"No Transport\");return w},getJSON:function(t,e,i){return K.get(t,e,i,\"json\")},getScript:function(t,e){return K.get(t,void 0,e,\"script\")}}),K.each([\"get\",\"post\"],function(t,e){K[e]=function(t,i,n,r){return K.isFunction(i)&&(r=r||n,n=i,i=void 0),K.ajax({url:t,type:e,dataType:r,data:i,success:n})}}),K._evalUrl=function(t){return K.ajax({url:t,type:\"GET\",dataType:\"script\",async:!1,global:!1,\"throws\":!0})},K.fn.extend({wrapAll:function(t){var e;return K.isFunction(t)?this.each(function(e){K(this).wrapAll(t.call(this,e))}):(this[0]&&(e=K(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return K.isFunction(t)?this.each(function(e){K(this).wrapInner(t.call(this,e))}):this.each(function(){var e=K(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=K.isFunction(t);return this.each(function(i){K(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){K.nodeName(this,\"body\")||K(this).replaceWith(this.childNodes)}).end()}}),K.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},K.expr.filters.visible=function(t){return!K.expr.filters.hidden(t)};var ke=/%20/g,Me=/\\[\\]$/,Ce=/\\r?\\n/g,De=/^(?:submit|button|image|reset|file)$/i,Te=/^(?:input|select|textarea|keygen)/i;K.param=function(t,e){var i,n=[],r=function(t,e){e=K.isFunction(e)?e():null==e?\"\":e,n[n.length]=encodeURIComponent(t)+\"=\"+encodeURIComponent(e)};if(void 0===e&&(e=K.ajaxSettings&&K.ajaxSettings.traditional),K.isArray(t)||t.jquery&&!K.isPlainObject(t))K.each(t,function(){r(this.name,this.value)});else for(i in t)H(i,t[i],e,r);return n.join(\"&\").replace(ke,\"+\")},K.fn.extend({serialize:function(){return K.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=K.prop(this,\"elements\");return t?K.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!K(this).is(\":disabled\")&&Te.test(this.nodeName)&&!De.test(t)&&(this.checked||!Mt.test(t))}).map(function(t,e){var i=K(this).val();return null==i?null:K.isArray(i)?K.map(i,function(t){return{name:e.name,value:t.replace(Ce,\"\\r\\n\")}}):{name:e.name,value:i.replace(Ce,\"\\r\\n\")}}).get()}}),K.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Se=0,Ae={},Pe={0:200,1223:204},Ee=K.ajaxSettings.xhr();t.attachEvent&&t.attachEvent(\"onunload\",function(){for(var t in Ae)Ae[t]()}),Z.cors=!!Ee&&\"withCredentials\"in Ee,Z.ajax=Ee=!!Ee,K.ajaxTransport(function(t){var e;return Z.cors||Ee&&!t.crossDomain?{send:function(i,n){var r,s=t.xhr(),o=++Se;if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)s[r]=t.xhrFields[r];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i[\"X-Requested-With\"]||(i[\"X-Requested-With\"]=\"XMLHttpRequest\");for(r in i)s.setRequestHeader(r,i[r]);e=function(t){return function(){e&&(delete Ae[o],e=s.onload=s.onerror=null,\"abort\"===t?s.abort():\"error\"===t?n(s.status,s.statusText):n(Pe[s.status]||s.status,s.statusText,\"string\"==typeof s.responseText?{text:s.responseText}:void 0,s.getAllResponseHeaders()))}},s.onload=e(),s.onerror=e(\"error\"),e=Ae[o]=e(\"abort\");try{s.send(t.hasContent&&t.data||null)}catch(a){if(e)throw a}},abort:function(){e&&e()}}:void 0}),K.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/(?:java|ecma)script/},converters:{\"text script\":function(t){return K.globalEval(t),t}}}),K.ajaxPrefilter(\"script\",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type=\"GET\")}),K.ajaxTransport(\"script\",function(t){if(t.crossDomain){var e,i;return{send:function(n,r){e=K(\"<script>\").prop({async:!0,charset:t.scriptCharset,src:t.url}).on(\"load error\",i=function(t){e.remove(),i=null,t&&r(\"error\"===t.type?404:200,t.type)}),J.head.appendChild(e[0])},abort:function(){i&&i()}}}});var Ie=[],Ne=/(=)\\?(?=&|$)|\\?\\?/;K.ajaxSetup({jsonp:\"callback\",jsonpCallback:function(){var t=Ie.pop()||K.expando+\"_\"+ue++;return this[t]=!0,t}}),K.ajaxPrefilter(\"json jsonp\",function(e,i,n){var r,s,o,a=e.jsonp!==!1&&(Ne.test(e.url)?\"url\":\"string\"==typeof e.data&&!(e.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&Ne.test(e.data)&&\"data\");return a||\"jsonp\"===e.dataTypes[0]?(r=e.jsonpCallback=K.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ne,\"$1\"+r):e.jsonp!==!1&&(e.url+=(he.test(e.url)?\"&\":\"?\")+e.jsonp+\"=\"+r),e.converters[\"script json\"]=function(){return o||K.error(r+\" was not called\"),o[0]},e.dataTypes[0]=\"json\",s=t[r],t[r]=function(){o=arguments},n.always(function(){t[r]=s,e[r]&&(e.jsonpCallback=i.jsonpCallback,Ie.push(r)),o&&K.isFunction(s)&&s(o[0]),o=s=void 0}),\"script\"):void 0}),K.parseHTML=function(t,e,i){if(!t||\"string\"!=typeof t)return null;\"boolean\"==typeof e&&(i=e,e=!1),e=e||J;var n=ot.exec(t),r=!i&&[];return n?[e.createElement(n[1])]:(n=K.buildFragment([t],e,r),r&&r.length&&K(r).remove(),K.merge([],n.childNodes))};var Re=K.fn.load;K.fn.load=function(t,e,i){if(\"string\"!=typeof t&&Re)return Re.apply(this,arguments);var n,r,s,o=this,a=t.indexOf(\" \");return a>=0&&(n=K.trim(t.slice(a)),t=t.slice(0,a)),K.isFunction(e)?(i=e,e=void 0):e&&\"object\"==typeof e&&(r=\"POST\"),o.length>0&&K.ajax({url:t,type:r,dataType:\"html\",data:e}).done(function(t){s=arguments,o.html(n?K(\"<div>\").append(K.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){o.each(i,s||[t.responseText,e,t])}),this},K.each([\"ajaxStart\",\"ajaxStop\",\"ajaxComplete\",\"ajaxError\",\"ajaxSuccess\",\"ajaxSend\"],function(t,e){K.fn[e]=function(t){return this.on(e,t)}}),K.expr.filters.animated=function(t){return K.grep(K.timers,function(e){return t===e.elem}).length};var ze=t.document.documentElement;K.offset={setOffset:function(t,e,i){var n,r,s,o,a,l,u,h=K.css(t,\"position\"),c=K(t),p={};\"static\"===h&&(t.style.position=\"relative\"),a=c.offset(),s=K.css(t,\"top\"),l=K.css(t,\"left\"),u=(\"absolute\"===h||\"fixed\"===h)&&(s+l).indexOf(\"auto\")>-1,u?(n=c.position(),o=n.top,r=n.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),K.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(p.top=e.top-a.top+o),null!=e.left&&(p.left=e.left-a.left+r),\"using\"in e?e.using.call(t,p):c.css(p)}},K.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){K.offset.setOffset(this,t,e)});var e,i,n=this[0],r={top:0,left:0},s=n&&n.ownerDocument;if(s)return e=s.documentElement,K.contains(e,n)?(typeof n.getBoundingClientRect!==Ct&&(r=n.getBoundingClientRect()),i=B(s),{top:r.top+i.pageYOffset-e.clientTop,left:r.left+i.pageXOffset-e.clientLeft}):r},position:function(){if(this[0]){var t,e,i=this[0],n={top:0,left:0};return\"fixed\"===K.css(i,\"position\")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),K.nodeName(t[0],\"html\")||(n=t.offset()),n.top+=K.css(t[0],\"borderTopWidth\",!0),n.left+=K.css(t[0],\"borderLeftWidth\",!0)),{top:e.top-n.top-K.css(i,\"marginTop\",!0),left:e.left-n.left-K.css(i,\"marginLeft\",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||ze;t&&!K.nodeName(t,\"html\")&&\"static\"===K.css(t,\"position\");)t=t.offsetParent;return t||ze})}}),K.each({scrollLeft:\"pageXOffset\",scrollTop:\"pageYOffset\"},function(e,i){var n=\"pageYOffset\"===i;K.fn[e]=function(r){return mt(this,function(e,r,s){var o=B(e);return void 0===s?o?o[i]:e[r]:void(o?o.scrollTo(n?t.pageXOffset:s,n?s:t.pageYOffset):e[r]=s)},e,r,arguments.length,null)}}),K.each([\"top\",\"left\"],function(t,e){K.cssHooks[e]=x(Z.pixelPosition,function(t,i){return i?(i=w(t,e),Wt.test(i)?K(t).position()[e]+\"px\":i):void 0})}),K.each({Height:\"height\",Width:\"width\"},function(t,e){K.each({padding:\"inner\"+t,content:e,\"\":\"outer\"+t},function(i,n){K.fn[n]=function(n,r){var s=arguments.length&&(i||\"boolean\"!=typeof n),o=i||(n===!0||r===!0?\"margin\":\"border\");return mt(this,function(e,i,n){var r;return K.isWindow(e)?e.document.documentElement[\"client\"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body[\"scroll\"+t],r[\"scroll\"+t],e.body[\"offset\"+t],r[\"offset\"+t],r[\"client\"+t])):void 0===n?K.css(e,i,o):K.style(e,i,n,o)},e,s?n:void 0,s,null)}})}),K.fn.size=function(){return this.length},K.fn.andSelf=K.fn.addBack,\"function\"==typeof define&&define.amd&&define(\"jquery\",[],function(){return K});var je=t.jQuery,Oe=t.$;return K.noConflict=function(e){return t.$===K&&(t.$=Oe),e&&t.jQuery===K&&(t.jQuery=je),K},typeof e===Ct&&(t.jQuery=t.$=K),K})},{}],19:[function(t,e,i){function n(t){if(!t)return n.__;Array.prototype.reduce||(Array.prototype.reduce=function(t,e){for(var i=e,n=0;n<this.length;n++)i=t(i,this[n],n,this);return i});var e=\"\",i=(\".\"+t).split(\".\").reduce(function(t,i,r,s){e?e+=\".\"+i:e=i;var o=t[\"__\"+e];return void 0===o&&(n.Logger.prototype=t,o=new n.Logger(e),t[\"__\"+e]=o),o},n.__);return i}var n,r=this.__extends||function(t,e){function i(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);i.prototype=e.prototype,t.prototype=new i};!function(t){function e(t,e,i){return void 0!==e[t]?null===e[t]?void delete i[t]:void(i[t]=e[t]):void 0}function i(e){if(null!=t.enabled&&!t.enabled)return!1;if(null!=t.maxMessages&&t.maxMessages<1)return!1;try{if(e.userAgentRegex&&!new RegExp(e.userAgentRegex).test(navigator.userAgent))return!1}catch(i){}try{if(e.ipRegex&&t.clientIP&&!new RegExp(e.ipRegex).test(t.clientIP))return!1}catch(i){}return!0}function n(t,e){try{if(t.disallow&&new RegExp(t.disallow).test(e))return!1}catch(i){}return!0}function s(t){return\"function\"==typeof t?t instanceof RegExp?t.toString():t():t}function o(t){var e,i=s(t);switch(typeof i){case\"string\":return new y(i,null,i);case\"number\":return e=i.toString(),new y(e,null,e);case\"boolean\":return e=i.toString(),new y(e,null,e);case\"undefined\":return new y(\"undefined\",null,\"undefined\");case\"object\":return i instanceof RegExp||i instanceof String||i instanceof Number||i instanceof Boolean?(e=i.toString(),new y(e,null,e)):new y(null,i,JSON.stringify(i));default:return new y(\"unknown\",null,\"unknown\")}}function a(t){return e(\"enabled\",t,this),e(\"maxMessages\",t,this),e(\"defaultAjaxUrl\",t,this),e(\"clientIP\",t,this),e(\"requestId\",t,this),e(\"defaultBeforeSend\",t,this),this}function l(){return-2147483648}function u(){return 1e3}function h(){return 2e3}function c(){return 3e3}function p(){return 4e3}function d(){return 5e3}function f(){return 6e3}function g(){return 2147483647}function m(t){return 1e3>=t?\"trace\":2e3>=t?\"debug\":3e3>=t?\"info\":4e3>=t?\"warn\":5e3>=t?\"error\":\"fatal\"}function _(t){return new k(t)}function v(t){return new M(t)}t.enabled,t.maxMessages,t.defaultAjaxUrl,t.clientIP,t.defaultBeforeSend,t.requestId=\"\";var y=function(){function t(t,e,i){this.msg=t,this.meta=e,this.finalString=i}return t}();t.setOptions=a,t.getAllLevel=l,t.getTraceLevel=u,t.getDebugLevel=h,t.getInfoLevel=c,t.getWarnLevel=p,t.getErrorLevel=d,t.getFatalLevel=f,t.getOffLevel=g;var b=function(){function t(t,e){this.inner=e,this.name=\"JL.Exception\",this.message=o(t).finalString}return t}();t.Exception=b,b.prototype=new Error;var w=function(){function t(t,e,i,n){this.l=t,this.m=e,this.n=i,this.t=n}return t}();t.LogItem=w;var x=function(){function r(e,i){this.appenderName=e,this.sendLogItems=i,this.level=t.getTraceLevel(),this.sendWithBufferLevel=2147483647,this.storeInBufferLevel=-2147483648,this.bufferSize=0,this.batchSize=1,this.buffer=[],this.batchBuffer=[]}return r.prototype.setOptions=function(t){return e(\"level\",t,this),e(\"ipRegex\",t,this),e(\"userAgentRegex\",t,this),e(\"disallow\",t,this),e(\"sendWithBufferLevel\",t,this),e(\"storeInBufferLevel\",t,this),e(\"bufferSize\",t,this),e(\"batchSize\",t,this),this.bufferSize<this.buffer.length&&(this.buffer.length=this.bufferSize),this},r.prototype.log=function(t,e,r,s,o,a,l){var u;if(i(this)&&n(this,a)&&!(o<this.storeInBufferLevel))return u=new w(o,a,l,(new Date).getTime()),o<this.level?void(this.bufferSize>0&&(this.buffer.push(u),this.buffer.length>this.bufferSize&&this.buffer.shift())):(o<this.sendWithBufferLevel?this.batchBuffer.push(u):(this.buffer.length&&(this.batchBuffer=this.batchBuffer.concat(this.buffer),this.buffer.length=0),this.batchBuffer.push(u)),this.batchBuffer.length>=this.batchSize?void this.sendBatch():void 0)},r.prototype.sendBatch=function(){0!=this.batchBuffer.length&&(null!=t.maxMessages&&t.maxMessages<1||(null!=t.maxMessages&&(t.maxMessages-=this.batchBuffer.length),this.sendLogItems(this.batchBuffer),this.batchBuffer.length=0))},r}();t.Appender=x;var k=function(i){function n(t){i.call(this,t,n.prototype.sendLogItemsAjax)}return r(n,i),n.prototype.setOptions=function(t){return e(\"url\",t,this),e(\"beforeSend\",t,this),i.prototype.setOptions.call(this,t),this},n.prototype.sendLogItemsAjax=function(e){try{var i=\"/jsnlog.logger\";null!=t.defaultAjaxUrl&&(i=t.defaultAjaxUrl),this.url&&(i=this.url);var n=JSON.stringify({r:t.requestId,lg:e}),r=this.getXhr(i);\"function\"==typeof this.beforeSend?this.beforeSend(r):\"function\"==typeof t.defaultBeforeSend&&t.defaultBeforeSend(r),r.send(n)}catch(s){}},n.prototype.getXhr=function(e){var i=new XMLHttpRequest;if(!(\"withCredentials\"in i)&&\"undefined\"!=typeof XDomainRequest){var n=new XDomainRequest;return n.open(\"POST\",e),n}return i.open(\"POST\",e),i.setRequestHeader(\"Content-Type\",\"application/json\"),i.setRequestHeader(\"JSNLog-RequestId\",t.requestId),i},n}(x);t.AjaxAppender=k;var M=function(e){function i(t){e.call(this,t,i.prototype.sendLogItemsConsole)}return r(i,e),i.prototype.clog=function(t){console.log(t)},i.prototype.cerror=function(t){console.error?console.error(t):this.clog(t)},i.prototype.cwarn=function(t){console.warn?console.warn(t):this.clog(t)},i.prototype.cinfo=function(t){console.info?console.info(t):this.clog(t)},i.prototype.cdebug=function(t){console.debug?console.debug(t):this.cinfo(t)},i.prototype.sendLogItemsConsole=function(e){try{if(!console)return;var i;for(i=0;i<e.length;++i){var n=e[i],r=n.n+\": \"+n.m;\"undefined\"==typeof window&&(r=new Date(n.t)+\" | \"+r),n.l<=t.getDebugLevel()?this.cdebug(r):n.l<=t.getInfoLevel()?this.cinfo(r):n.l<=t.getWarnLevel()?this.cwarn(r):this.cerror(r)}}catch(s){}},i}(x);t.ConsoleAppender=M;var C=function(){function t(t){this.loggerName=t,this.seenRegexes=[]}return t.prototype.setOptions=function(t){return e(\"level\",t,this),e(\"userAgentRegex\",t,this),e(\"disallow\",t,this),e(\"ipRegex\",t,this),e(\"appenders\",t,this),e(\"onceOnly\",t,this),this.seenRegexes=[],this},t.prototype.buildExceptionObject=function(t){var e={};return t.stack?e.stack=t.stack:e.e=t,t.message&&(e.message=t.message),t.name&&(e.name=t.name),t.data&&(e.data=t.data),t.inner&&(e.inner=this.buildExceptionObject(t.inner)),e},t.prototype.log=function(t,e,r){var a,l,u=0;if(!this.appenders)return this;if(t>=this.level&&i(this)&&(r?(l=this.buildExceptionObject(r),l.logData=s(e)):l=e,a=o(l),n(this,a.finalString))){if(this.onceOnly)for(u=this.onceOnly.length-1;u>=0;){if(new RegExp(this.onceOnly[u]).test(a.finalString)){if(this.seenRegexes[u])return this;this.seenRegexes[u]=!0}u--}for(a.meta=a.meta||{},a.meta.loggerName=this.loggerName,u=this.appenders.length-1;u>=0;)this.appenders[u].log(m(t),a.msg,a.meta,function(){},t,a.finalString,this.loggerName),u--}return this},t.prototype.trace=function(t){return this.log(u(),t)},t.prototype.debug=function(t){return this.log(h(),t)},t.prototype.info=function(t){return this.log(c(),t)},t.prototype.warn=function(t){return this.log(p(),t)},t.prototype.error=function(t){return this.log(d(),t)},t.prototype.fatal=function(t){return this.log(f(),t)},t.prototype.fatalException=function(t,e){return this.log(f(),t,e)},t}();t.Logger=C,t.createAjaxAppender=_,t.createConsoleAppender=v;var D=new k(\"\");\"undefined\"==typeof window&&(D=new M(\"\")),t.__=new t.Logger(\"\"),t.__.setOptions({level:t.getDebugLevel(),appenders:[D]})}(n||(n={}));var i;\"undefined\"!=typeof i&&(i.JL=n);var s;\"function\"==typeof s&&s.amd&&s(\"jsnlog\",[],function(){return n}),\"function\"==typeof __jsnlog_configure&&__jsnlog_configure(n)},{}],20:[function(t,e,i){function n(t,e,i){if(!(this instanceof n))return new n(t,e,i);if(Array.isArray(t))this.x=t[0],this.y=t[1],this.z=t[2]||0;else if(\"object\"==typeof t)this.x=t.x,this.y=t.y,this.z=t.z||0;else if(\"string\"==typeof t&&\"undefined\"==typeof e){var r=t.split(\",\");this.x=parseFloat(r[0],10),this.y=parseFloat(r[1],10),this.z=parseFloat(r[2],10)||0}else this.x=t,this.y=e,this.z=i||0;console.warn(\"proj4.Point will be removed in version 3, use proj4.toPoint\")}var r=t(\"mgrs\");n.fromMGRS=function(t){return new n(r.toPoint(t))},n.prototype.toMGRS=function(t){return r.forward([this.x,this.y],t)},e.exports=n},{mgrs:87}],21:[function(t,e,i){function n(t,e){if(!(this instanceof n))return new n(t);e=e||function(t){if(t)throw t};var i=r(t);if(\"object\"!=typeof i)return void e(t);var o=a(i),l=n.projections.get(o.projName);l?(s(this,o),s(this,l),this.init(),e(null,this)):e(t)}var r=t(\"./parseCode\"),s=t(\"./extend\"),o=t(\"./projections\"),a=t(\"./deriveConstants\");n.projections=o,n.projections.start(),e.exports=n},{\"./deriveConstants\":52,\"./extend\":53,\"./parseCode\":57,\"./projections\":59}],22:[function(t,e,i){e.exports=function(t,e,i){var n,r,s,o=i.x,a=i.y,l=i.z||0;for(s=0;3>s;s++)if(!e||2!==s||void 0!==i.z)switch(0===s?(n=o,r=\"x\"):1===s?(n=a,r=\"y\"):(n=l,r=\"z\"),t.axis[s]){case\"e\":i[r]=n;break;case\"w\":i[r]=-n;break;case\"n\":i[r]=n;break;case\"s\":i[r]=-n;break;case\"u\":void 0!==i[r]&&(i.z=n);break;case\"d\":void 0!==i[r]&&(i.z=-n);break;default:return null}return i}},{}],23:[function(t,e,i){var n=Math.PI/2,r=t(\"./sign\");e.exports=function(t){return Math.abs(t)<n?t:t-r(t)*Math.PI}},{\"./sign\":40}],24:[function(t,e,i){var n=2*Math.PI,r=3.14159265359,s=t(\"./sign\");e.exports=function(t){return Math.abs(t)<=r?t:t-s(t)*n}},{\"./sign\":40}],25:[function(t,e,i){e.exports=function(t){return Math.abs(t)>1&&(t=t>1?1:-1),Math.asin(t)}},{}],26:[function(t,e,i){e.exports=function(t){return 1-.25*t*(1+t/16*(3+1.25*t))}},{}],27:[function(t,e,i){e.exports=function(t){return.375*t*(1+.25*t*(1+.46875*t))}},{}],28:[function(t,e,i){e.exports=function(t){return.05859375*t*t*(1+.75*t)}},{}],29:[function(t,e,i){e.exports=function(t){return t*t*t*(35/3072)}},{}],30:[function(t,e,i){e.exports=function(t,e,i){var n=e*i;return t/Math.sqrt(1-n*n)}},{}],31:[function(t,e,i){e.exports=function(t,e,i,n,r){var s,o;s=t/e;for(var a=0;15>a;a++)if(o=(t-(e*s-i*Math.sin(2*s)+n*Math.sin(4*s)-r*Math.sin(6*s)))/(e-2*i*Math.cos(2*s)+4*n*Math.cos(4*s)-6*r*Math.cos(6*s)),s+=o,Math.abs(o)<=1e-10)return s;return NaN}},{}],32:[function(t,e,i){var n=Math.PI/2;e.exports=function(t,e){var i=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(e)-i)<1e-6)return 0>e?-1*n:n;for(var r,s,o,a,l=Math.asin(.5*e),u=0;30>u;u++)if(s=Math.sin(l),o=Math.cos(l),a=t*s,r=Math.pow(1-a*a,2)/(2*o)*(e/(1-t*t)-s/(1-a*a)+.5/t*Math.log((1-a)/(1+a))),l+=r,Math.abs(r)<=1e-10)return l;return NaN}},{}],33:[function(t,e,i){e.exports=function(t,e,i,n,r){return t*r-e*Math.sin(2*r)+i*Math.sin(4*r)-n*Math.sin(6*r)}},{}],34:[function(t,e,i){e.exports=function(t,e,i){var n=t*e;return i/Math.sqrt(1-n*n)}},{}],35:[function(t,e,i){var n=Math.PI/2;e.exports=function(t,e){for(var i,r,s=.5*t,o=n-2*Math.atan(e),a=0;15>=a;a++)if(i=t*Math.sin(o),r=n-2*Math.atan(e*Math.pow((1-i)/(1+i),s))-o,o+=r,Math.abs(r)<=1e-10)return o;return-9999}},{}],36:[function(t,e,i){var n=1,r=.25,s=.046875,o=.01953125,a=.01068115234375,l=.75,u=.46875,h=.013020833333333334,c=.007120768229166667,p=.3645833333333333,d=.005696614583333333,f=.3076171875;e.exports=function(t){var e=[];e[0]=n-t*(r+t*(s+t*(o+t*a))),e[1]=t*(l-t*(s+t*(o+t*a)));var i=t*t;return e[2]=i*(u-t*(h+t*c)),i*=t,e[3]=i*(p-t*d),e[4]=i*t*f,e}},{}],37:[function(t,e,i){var n=t(\"./pj_mlfn\"),r=1e-10,s=20;e.exports=function(t,e,i){for(var o=1/(1-e),a=t,l=s;l;--l){var u=Math.sin(a),h=1-e*u*u;if(h=(n(a,u,Math.cos(a),i)-t)*(h*Math.sqrt(h))*o,a-=h,Math.abs(h)<r)return a}return a}},{\"./pj_mlfn\":38}],38:[function(t,e,i){e.exports=function(t,e,i,n){return i*=e,e*=e,n[0]*t-i*(n[1]+e*(n[2]+e*(n[3]+e*n[4])))}},{}],39:[function(t,e,i){e.exports=function(t,e){var i;return t>1e-7?(i=t*e,(1-t*t)*(e/(1-i*i)-.5/t*Math.log((1-i)/(1+i)))):2*e}},{}],40:[function(t,e,i){e.exports=function(t){return 0>t?-1:1}},{}],41:[function(t,e,i){e.exports=function(t,e){return Math.pow((1-t)/(1+t),e)}},{}],42:[function(t,e,i){e.exports=function(t){var e={x:t[0],y:t[1]};return t.length>2&&(e.z=t[2]),t.length>3&&(e.m=t[3]),e}},{}],43:[function(t,e,i){var n=Math.PI/2;e.exports=function(t,e,i){var r=t*i,s=.5*t;return r=Math.pow((1-r)/(1+r),s),Math.tan(.5*(n-e))/r}},{}],44:[function(t,e,i){i.wgs84={towgs84:\"0,0,0\",ellipse:\"WGS84\",datumName:\"WGS84\"},i.ch1903={towgs84:\"674.374,15.056,405.346\",ellipse:\"bessel\",datumName:\"swiss\"},i.ggrs87={towgs84:\"-199.87,74.79,246.62\",ellipse:\"GRS80\",datumName:\"Greek_Geodetic_Reference_System_1987\"},i.nad83={towgs84:\"0,0,0\",ellipse:\"GRS80\",datumName:\"North_American_Datum_1983\"},i.nad27={nadgrids:\"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat\",ellipse:\"clrk66\",datumName:\"North_American_Datum_1927\"},i.potsdam={towgs84:\"606.0,23.0,413.0\",ellipse:\"bessel\",datumName:\"Potsdam Rauenberg 1950 DHDN\"},i.carthage={towgs84:\"-263.0,6.0,431.0\",ellipse:\"clark80\",datumName:\"Carthage 1934 Tunisia\"},i.hermannskogel={towgs84:\"653.0,-212.0,449.0\",ellipse:\"bessel\",datumName:\"Hermannskogel\"},i.ire65={towgs84:\"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15\",ellipse:\"mod_airy\",datumName:\"Ireland 1965\"},i.rassadiran={towgs84:\"-133.63,-157.5,-158.62\",ellipse:\"intl\",datumName:\"Rassadiran\"},i.nzgd49={towgs84:\"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993\",ellipse:\"intl\",datumName:\"New Zealand Geodetic Datum 1949\"},i.osgb36={towgs84:\"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894\",ellipse:\"airy\",datumName:\"Airy 1830\"},i.s_jtsk={towgs84:\"589,76,480\",ellipse:\"bessel\",datumName:\"S-JTSK (Ferro)\"},i.beduaram={towgs84:\"-106,-87,188\",ellipse:\"clrk80\",datumName:\"Beduaram\"},i.gunung_segara={towgs84:\"-403,684,41\",ellipse:\"bessel\",datumName:\"Gunung Segara Jakarta\"},i.rnb72={towgs84:\"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1\",ellipse:\"intl\",datumName:\"Reseau National Belge 1972\"}},{}],45:[function(t,e,i){i.MERIT={a:6378137,rf:298.257,ellipseName:\"MERIT 1983\"},i.SGS85={a:6378136,rf:298.257,ellipseName:\"Soviet Geodetic System 85\"},i.GRS80={a:6378137,rf:298.257222101,ellipseName:\"GRS 1980(IUGG, 1980)\"},i.IAU76={a:6378140,rf:298.257,ellipseName:\"IAU 1976\"},i.airy={a:6377563.396,b:6356256.91,ellipseName:\"Airy 1830\"},i.APL4={a:6378137,rf:298.25,ellipseName:\"Appl. Physics. 1965\"},i.NWL9D={a:6378145,rf:298.25,ellipseName:\"Naval Weapons Lab., 1965\"},i.mod_airy={a:6377340.189,b:6356034.446,ellipseName:\"Modified Airy\"},i.andrae={a:6377104.43,rf:300,ellipseName:\"Andrae 1876 (Den., Iclnd.)\"},i.aust_SA={a:6378160,rf:298.25,ellipseName:\"Australian Natl & S. Amer. 1969\"},i.GRS67={a:6378160,rf:298.247167427,ellipseName:\"GRS 67(IUGG 1967)\"},i.bessel={a:6377397.155,rf:299.1528128,ellipseName:\"Bessel 1841\"},i.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:\"Bessel 1841 (Namibia)\"},i.clrk66={a:6378206.4,b:6356583.8,ellipseName:\"Clarke 1866\"},i.clrk80={a:6378249.145,rf:293.4663,ellipseName:\"Clarke 1880 mod.\"},i.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:\"Clarke 1858\"},i.CPM={a:6375738.7,rf:334.29,ellipseName:\"Comm. des Poids et Mesures 1799\"},i.delmbr={a:6376428,rf:311.5,ellipseName:\"Delambre 1810 (Belgium)\"},i.engelis={a:6378136.05,rf:298.2566,ellipseName:\"Engelis 1985\"},i.evrst30={a:6377276.345,rf:300.8017,ellipseName:\"Everest 1830\"},i.evrst48={a:6377304.063,rf:300.8017,ellipseName:\"Everest 1948\"},i.evrst56={a:6377301.243,rf:300.8017,ellipseName:\"Everest 1956\"},i.evrst69={a:6377295.664,rf:300.8017,ellipseName:\"Everest 1969\"},i.evrstSS={a:6377298.556,rf:300.8017,ellipseName:\"Everest (Sabah & Sarawak)\"},i.fschr60={a:6378166,rf:298.3,ellipseName:\"Fischer (Mercury Datum) 1960\"},i.fschr60m={a:6378155,rf:298.3,ellipseName:\"Fischer 1960\"},i.fschr68={a:6378150,rf:298.3,ellipseName:\"Fischer 1968\"},i.helmert={a:6378200,rf:298.3,ellipseName:\"Helmert 1906\"},i.hough={a:6378270,rf:297,ellipseName:\"Hough\"},i.intl={a:6378388,rf:297,ellipseName:\"International 1909 (Hayford)\"},i.kaula={a:6378163,rf:298.24,ellipseName:\"Kaula 1961\"},i.lerch={a:6378139,rf:298.257,ellipseName:\"Lerch 1979\"},i.mprts={a:6397300,rf:191,ellipseName:\"Maupertius 1738\"},i.new_intl={a:6378157.5,b:6356772.2,ellipseName:\"New International 1967\"},i.plessis={a:6376523,rf:6355863,ellipseName:\"Plessis 1817 (France)\"},i.krass={a:6378245,rf:298.3,ellipseName:\"Krassovsky, 1942\"},i.SEasia={a:6378155,b:6356773.3205,ellipseName:\"Southeast Asia\"},i.walbeck={a:6376896,b:6355834.8467,ellipseName:\"Walbeck\"},i.WGS60={a:6378165,rf:298.3,ellipseName:\"WGS 60\"},i.WGS66={a:6378145,rf:298.25,ellipseName:\"WGS 66\"},i.WGS7={a:6378135,rf:298.26,ellipseName:\"WGS 72\"},i.WGS84={a:6378137,rf:298.257223563,ellipseName:\"WGS 84\"},i.sphere={a:6370997,b:6370997,ellipseName:\"Normal Sphere (r=6370997)\"}},{}],46:[function(t,e,i){i.greenwich=0,i.lisbon=-9.131906111111,i.paris=2.337229166667,i.bogota=-74.080916666667,i.madrid=-3.687938888889,i.rome=12.452333333333,i.bern=7.439583333333,i.jakarta=106.807719444444,i.ferro=-17.666666666667,i.brussels=4.367975,i.stockholm=18.058277777778,i.athens=23.7163375,i.oslo=10.722916666667},{}],47:[function(t,e,i){i.ft={to_meter:.3048},i[\"us-ft\"]={to_meter:1200/3937}},{}],48:[function(t,e,i){function n(t,e,i){var n;return Array.isArray(i)?(n=a(t,e,i),3===i.length?[n.x,n.y,n.z]:[n.x,n.y]):a(t,e,i)}function r(t){return t instanceof o?t:t.oProj?t.oProj:o(t)}function s(t,e,i){t=r(t);var s,o=!1;return\"undefined\"==typeof e?(e=t,t=l,o=!0):(\"undefined\"!=typeof e.x||Array.isArray(e))&&(i=e,e=t,t=l,o=!0),e=r(e),i?n(t,e,i):(s={forward:function(i){return n(t,e,i)},inverse:function(i){return n(e,t,i)}},o&&(s.oProj=e),s)}var o=t(\"./Proj\"),a=t(\"./transform\"),l=o(\"WGS84\");e.exports=s},{\"./Proj\":21,\"./transform\":85}],49:[function(t,e,i){var n=Math.PI/2,r=1,s=2,o=3,a=4,l=5,u=484813681109536e-20,h=1.0026,c=.3826834323650898,p=function(t){if(!(this instanceof p))return new p(t);if(this.datum_type=a,t){if(t.datumCode&&\"none\"===t.datumCode&&(this.datum_type=l),t.datum_params){for(var e=0;e<t.datum_params.length;e++)t.datum_params[e]=parseFloat(t.datum_params[e]);(0!==t.datum_params[0]||0!==t.datum_params[1]||0!==t.datum_params[2])&&(this.datum_type=r),t.datum_params.length>3&&(0!==t.datum_params[3]||0!==t.datum_params[4]||0!==t.datum_params[5]||0!==t.datum_params[6])&&(this.datum_type=s,t.datum_params[3]*=u,t.datum_params[4]*=u,t.datum_params[5]*=u,t.datum_params[6]=t.datum_params[6]/1e6+1)}this.datum_type=t.grids?o:this.datum_type,this.a=t.a,this.b=t.b,this.es=t.es,this.ep2=t.ep2,this.datum_params=t.datum_params,this.datum_type===o&&(this.grids=t.grids)}};p.prototype={compare_datums:function(t){return this.datum_type!==t.datum_type?!1:this.a!==t.a||Math.abs(this.es-t.es)>5e-11?!1:this.datum_type===r?this.datum_params[0]===t.datum_params[0]&&this.datum_params[1]===t.datum_params[1]&&this.datum_params[2]===t.datum_params[2]:this.datum_type===s?this.datum_params[0]===t.datum_params[0]&&this.datum_params[1]===t.datum_params[1]&&this.datum_params[2]===t.datum_params[2]&&this.datum_params[3]===t.datum_params[3]&&this.datum_params[4]===t.datum_params[4]&&this.datum_params[5]===t.datum_params[5]&&this.datum_params[6]===t.datum_params[6]:this.datum_type===o||t.datum_type===o?this.nadgrids===t.nadgrids:!0},geodetic_to_geocentric:function(t){var e,i,r,s,o,a,l,u=t.x,h=t.y,c=t.z?t.z:0,p=0;if(-n>h&&h>-1.001*n)h=-n;else if(h>n&&1.001*n>h)h=n;else if(-n>h||h>n)return null;return u>Math.PI&&(u-=2*Math.PI),o=Math.sin(h),l=Math.cos(h),a=o*o,s=this.a/Math.sqrt(1-this.es*a),e=(s+c)*l*Math.cos(u),i=(s+c)*l*Math.sin(u),r=(s*(1-this.es)+c)*o,t.x=e,t.y=i,t.z=r,p},geocentric_to_geodetic:function(t){var e,i,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y=1e-12,b=y*y,w=30,x=t.x,k=t.y,M=t.z?t.z:0;if(f=!1,e=Math.sqrt(x*x+k*k),i=Math.sqrt(x*x+k*k+M*M),e/this.a<y){if(f=!0,m=0,i/this.a<y)return _=n,void(v=-this.b)}else m=Math.atan2(k,x);r=M/i,s=e/i,o=1/Math.sqrt(1-this.es*(2-this.es)*s*s),u=s*(1-this.es)*o,h=r*o,g=0;do g++,l=this.a/Math.sqrt(1-this.es*h*h),v=e*u+M*h-l*(1-this.es*h*h),a=this.es*l/(l+v),o=1/Math.sqrt(1-a*(2-a)*s*s),c=s*(1-a)*o,p=r*o,d=p*u-c*h,u=c,h=p;while(d*d>b&&w>g);return _=Math.atan(p/Math.abs(c)),t.x=m,t.y=_,t.z=v,t},geocentric_to_geodetic_noniter:function(t){var e,i,r,s,o,a,l,u,p,d,f,g,m,_,v,y,b,w=t.x,x=t.y,k=t.z?t.z:0;if(w=parseFloat(w),x=parseFloat(x),k=parseFloat(k),b=!1,0!==w)e=Math.atan2(x,w);else if(x>0)e=n;else if(0>x)e=-n;else if(b=!0,\n",
       "        e=0,k>0)i=n;else{if(!(0>k))return i=n,void(r=-this.b);i=-n}return o=w*w+x*x,s=Math.sqrt(o),a=k*h,u=Math.sqrt(a*a+o),d=a/u,g=s/u,f=d*d*d,l=k+this.b*this.ep2*f,y=s-this.a*this.es*g*g*g,p=Math.sqrt(l*l+y*y),m=l/p,_=y/p,v=this.a/Math.sqrt(1-this.es*m*m),r=_>=c?s/_-v:-c>=_?s/-_-v:k/m+v*(this.es-1),b===!1&&(i=Math.atan(m/_)),t.x=e,t.y=i,t.z=r,t},geocentric_to_wgs84:function(t){if(this.datum_type===r)t.x+=this.datum_params[0],t.y+=this.datum_params[1],t.z+=this.datum_params[2];else if(this.datum_type===s){var e=this.datum_params[0],i=this.datum_params[1],n=this.datum_params[2],o=this.datum_params[3],a=this.datum_params[4],l=this.datum_params[5],u=this.datum_params[6],h=u*(t.x-l*t.y+a*t.z)+e,c=u*(l*t.x+t.y-o*t.z)+i,p=u*(-a*t.x+o*t.y+t.z)+n;t.x=h,t.y=c,t.z=p}},geocentric_from_wgs84:function(t){if(this.datum_type===r)t.x-=this.datum_params[0],t.y-=this.datum_params[1],t.z-=this.datum_params[2];else if(this.datum_type===s){var e=this.datum_params[0],i=this.datum_params[1],n=this.datum_params[2],o=this.datum_params[3],a=this.datum_params[4],l=this.datum_params[5],u=this.datum_params[6],h=(t.x-e)/u,c=(t.y-i)/u,p=(t.z-n)/u;t.x=h+l*c-a*p,t.y=-l*h+c+o*p,t.z=a*h-o*c+p}}},e.exports=p},{}],50:[function(t,e,i){var n=1,r=2,s=3,o=5,a=6378137,l=.006694379990141316;e.exports=function(t,e,i){function u(t){return t===n||t===r}var h,c,p;if(t.compare_datums(e))return i;if(t.datum_type===o||e.datum_type===o)return i;var d=t.a,f=t.es,g=e.a,m=e.es,_=t.datum_type;if(_===s)if(0===this.apply_gridshift(t,0,i))t.a=a,t.es=l;else{if(!t.datum_params)return t.a=d,t.es=t.es,i;for(h=1,c=0,p=t.datum_params.length;p>c;c++)h*=t.datum_params[c];if(0===h)return t.a=d,t.es=t.es,i;_=t.datum_params.length>3?r:n}return e.datum_type===s&&(e.a=a,e.es=l),(t.es!==e.es||t.a!==e.a||u(_)||u(e.datum_type))&&(t.geodetic_to_geocentric(i),u(t.datum_type)&&t.geocentric_to_wgs84(i),u(e.datum_type)&&e.geocentric_from_wgs84(i),e.geocentric_to_geodetic(i)),e.datum_type===s&&this.apply_gridshift(e,1,i),t.a=d,t.es=f,e.a=g,e.es=m,i}},{}],51:[function(t,e,i){function n(t){var e=this;if(2===arguments.length){var i=arguments[1];\"string\"==typeof i?\"+\"===i.charAt(0)?n[t]=s(arguments[1]):n[t]=o(arguments[1]):n[t]=i}else if(1===arguments.length){if(Array.isArray(t))return t.map(function(t){Array.isArray(t)?n.apply(e,t):n(t)});if(\"string\"==typeof t){if(t in n)return n[t]}else\"EPSG\"in t?n[\"EPSG:\"+t.EPSG]=t:\"ESRI\"in t?n[\"ESRI:\"+t.ESRI]=t:\"IAU2000\"in t?n[\"IAU2000:\"+t.IAU2000]=t:console.log(t);return}}var r=t(\"./global\"),s=t(\"./projString\"),o=t(\"./wkt\");r(n),e.exports=n},{\"./global\":54,\"./projString\":58,\"./wkt\":86}],52:[function(t,e,i){var n=t(\"./constants/Datum\"),r=t(\"./constants/Ellipsoid\"),s=t(\"./extend\"),o=t(\"./datum\"),a=1e-10,l=.16666666666666666,u=.04722222222222222,h=.022156084656084655;e.exports=function(t){if(t.datumCode&&\"none\"!==t.datumCode){var e=n[t.datumCode];e&&(t.datum_params=e.towgs84?e.towgs84.split(\",\"):null,t.ellps=e.ellipse,t.datumName=e.datumName?e.datumName:t.datumCode)}if(!t.a){var i=r[t.ellps]?r[t.ellps]:r.WGS84;s(t,i)}return t.rf&&!t.b&&(t.b=(1-1/t.rf)*t.a),(0===t.rf||Math.abs(t.a-t.b)<a)&&(t.sphere=!0,t.b=t.a),t.a2=t.a*t.a,t.b2=t.b*t.b,t.es=(t.a2-t.b2)/t.a2,t.e=Math.sqrt(t.es),t.R_A&&(t.a*=1-t.es*(l+t.es*(u+t.es*h)),t.a2=t.a*t.a,t.b2=t.b*t.b,t.es=0),t.ep2=(t.a2-t.b2)/t.b2,t.k0||(t.k0=1),t.axis||(t.axis=\"enu\"),t.datum||(t.datum=o(t)),t}},{\"./constants/Datum\":44,\"./constants/Ellipsoid\":45,\"./datum\":49,\"./extend\":53}],53:[function(t,e,i){e.exports=function(t,e){t=t||{};var i,n;if(!e)return t;for(n in e)i=e[n],void 0!==i&&(t[n]=i);return t}},{}],54:[function(t,e,i){e.exports=function(t){t(\"EPSG:4326\",\"+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees\"),t(\"EPSG:4269\",\"+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees\"),t(\"EPSG:3857\",\"+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs\"),t.WGS84=t[\"EPSG:4326\"],t[\"EPSG:3785\"]=t[\"EPSG:3857\"],t.GOOGLE=t[\"EPSG:3857\"],t[\"EPSG:900913\"]=t[\"EPSG:3857\"],t[\"EPSG:102113\"]=t[\"EPSG:3857\"]}},{}],55:[function(t,e,i){var n=[t(\"./projections/tmerc\"),t(\"./projections/utm\"),t(\"./projections/sterea\"),t(\"./projections/stere\"),t(\"./projections/somerc\"),t(\"./projections/omerc\"),t(\"./projections/lcc\"),t(\"./projections/krovak\"),t(\"./projections/cass\"),t(\"./projections/laea\"),t(\"./projections/aea\"),t(\"./projections/gnom\"),t(\"./projections/cea\"),t(\"./projections/eqc\"),t(\"./projections/poly\"),t(\"./projections/nzmg\"),t(\"./projections/mill\"),t(\"./projections/sinu\"),t(\"./projections/moll\"),t(\"./projections/eqdc\"),t(\"./projections/vandg\"),t(\"./projections/aeqd\")];e.exports=function(t){n.forEach(function(e){t.Proj.projections.add(e)})}},{\"./projections/aea\":60,\"./projections/aeqd\":61,\"./projections/cass\":62,\"./projections/cea\":63,\"./projections/eqc\":64,\"./projections/eqdc\":65,\"./projections/gnom\":67,\"./projections/krovak\":68,\"./projections/laea\":69,\"./projections/lcc\":70,\"./projections/mill\":73,\"./projections/moll\":74,\"./projections/nzmg\":75,\"./projections/omerc\":76,\"./projections/poly\":77,\"./projections/sinu\":78,\"./projections/somerc\":79,\"./projections/stere\":80,\"./projections/sterea\":81,\"./projections/tmerc\":82,\"./projections/utm\":83,\"./projections/vandg\":84}],56:[function(t,e,i){var n=t(\"./core\");n.defaultDatum=\"WGS84\",n.Proj=t(\"./Proj\"),n.WGS84=new n.Proj(\"WGS84\"),n.Point=t(\"./Point\"),n.toPoint=t(\"./common/toPoint\"),n.defs=t(\"./defs\"),n.transform=t(\"./transform\"),n.mgrs=t(\"mgrs\"),n.version=t(\"../package.json\").version,t(\"./includedProjections\")(n),e.exports=n},{\"../package.json\":88,\"./Point\":20,\"./Proj\":21,\"./common/toPoint\":42,\"./core\":48,\"./defs\":51,\"./includedProjections\":55,\"./transform\":85,mgrs:87}],57:[function(t,e,i){function n(t){return\"string\"==typeof t}function r(t){return t in l}function s(t){var e=[\"GEOGCS\",\"GEOCCS\",\"PROJCS\",\"LOCAL_CS\"];return e.reduce(function(e,i){return e+1+t.indexOf(i)},0)}function o(t){return\"+\"===t[0]}function a(t){return n(t)?r(t)?l[t]:s(t)?u(t):o(t)?h(t):void 0:t}var l=t(\"./defs\"),u=t(\"./wkt\"),h=t(\"./projString\");e.exports=a},{\"./defs\":51,\"./projString\":58,\"./wkt\":86}],58:[function(t,e,i){var n=.017453292519943295,r=t(\"./constants/PrimeMeridian\"),s=t(\"./constants/units\");e.exports=function(t){var e={},i={};t.split(\"+\").map(function(t){return t.trim()}).filter(function(t){return t}).forEach(function(t){var e=t.split(\"=\");e.push(!0),i[e[0].toLowerCase()]=e[1]});var o,a,l,u={proj:\"projName\",datum:\"datumCode\",rf:function(t){e.rf=parseFloat(t)},lat_0:function(t){e.lat0=t*n},lat_1:function(t){e.lat1=t*n},lat_2:function(t){e.lat2=t*n},lat_ts:function(t){e.lat_ts=t*n},lon_0:function(t){e.long0=t*n},lon_1:function(t){e.long1=t*n},lon_2:function(t){e.long2=t*n},alpha:function(t){e.alpha=parseFloat(t)*n},lonc:function(t){e.longc=t*n},x_0:function(t){e.x0=parseFloat(t)},y_0:function(t){e.y0=parseFloat(t)},k_0:function(t){e.k0=parseFloat(t)},k:function(t){e.k0=parseFloat(t)},a:function(t){e.a=parseFloat(t)},b:function(t){e.b=parseFloat(t)},r_a:function(){e.R_A=!0},zone:function(t){e.zone=parseInt(t,10)},south:function(){e.utmSouth=!0},towgs84:function(t){e.datum_params=t.split(\",\").map(function(t){return parseFloat(t)})},to_meter:function(t){e.to_meter=parseFloat(t)},units:function(t){e.units=t,s[t]&&(e.to_meter=s[t].to_meter)},from_greenwich:function(t){e.from_greenwich=t*n},pm:function(t){e.from_greenwich=(r[t]?r[t]:parseFloat(t))*n},nadgrids:function(t){\"@null\"===t?e.datumCode=\"none\":e.nadgrids=t},axis:function(t){var i=\"ewnsud\";3===t.length&&-1!==i.indexOf(t.substr(0,1))&&-1!==i.indexOf(t.substr(1,1))&&-1!==i.indexOf(t.substr(2,1))&&(e.axis=t)}};for(o in i)a=i[o],o in u?(l=u[o],\"function\"==typeof l?l(a):e[l]=a):e[o]=a;return\"string\"==typeof e.datumCode&&\"WGS84\"!==e.datumCode&&(e.datumCode=e.datumCode.toLowerCase()),e}},{\"./constants/PrimeMeridian\":46,\"./constants/units\":47}],59:[function(t,e,i){function n(t,e){var i=o.length;return t.names?(o[i]=t,t.names.forEach(function(t){s[t.toLowerCase()]=i}),this):(console.log(e),!0)}var r=[t(\"./projections/merc\"),t(\"./projections/longlat\")],s={},o=[];i.add=n,i.get=function(t){if(!t)return!1;var e=t.toLowerCase();return\"undefined\"!=typeof s[e]&&o[s[e]]?o[s[e]]:void 0},i.start=function(){r.forEach(n)}},{\"./projections/longlat\":71,\"./projections/merc\":72}],60:[function(t,e,i){var n=1e-10,r=t(\"../common/msfnz\"),s=t(\"../common/qsfnz\"),o=t(\"../common/adjust_lon\"),a=t(\"../common/asinz\");i.init=function(){Math.abs(this.lat1+this.lat2)<n||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=r(this.e3,this.sin_po,this.cos_po),this.qs1=s(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=r(this.e3,this.sin_po,this.cos_po),this.qs2=s(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=s(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>n?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},i.forward=function(t){var e=t.x,i=t.y;this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i);var n=s(this.e3,this.sin_phi,this.cos_phi),r=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,a=this.ns0*o(e-this.long0),l=r*Math.sin(a)+this.x0,u=this.rh-r*Math.cos(a)+this.y0;return t.x=l,t.y=u,t},i.inverse=function(t){var e,i,n,r,s,a;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns0>=0?(e=Math.sqrt(t.x*t.x+t.y*t.y),n=1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),n=-1),r=0,0!==e&&(r=Math.atan2(n*t.x,n*t.y)),n=e*this.ns0/this.a,this.sphere?a=Math.asin((this.c-n*n)/(2*this.ns0)):(i=(this.c-n*n)/this.ns0,a=this.phi1z(this.e3,i)),s=o(r/this.ns0+this.long0),t.x=s,t.y=a,t},i.phi1z=function(t,e){var i,r,s,o,l,u=a(.5*e);if(n>t)return u;for(var h=t*t,c=1;25>=c;c++)if(i=Math.sin(u),r=Math.cos(u),s=t*i,o=1-s*s,l=.5*o*o/r*(e/(1-h)-i/o+.5/t*Math.log((1-s)/(1+s))),u+=l,Math.abs(l)<=1e-7)return u;return null},i.names=[\"Albers_Conic_Equal_Area\",\"Albers\",\"aea\"]},{\"../common/adjust_lon\":24,\"../common/asinz\":25,\"../common/msfnz\":34,\"../common/qsfnz\":39}],61:[function(t,e,i){var n=t(\"../common/adjust_lon\"),r=Math.PI/2,s=1e-10,o=t(\"../common/mlfn\"),a=t(\"../common/e0fn\"),l=t(\"../common/e1fn\"),u=t(\"../common/e2fn\"),h=t(\"../common/e3fn\"),c=t(\"../common/gN\"),p=t(\"../common/asinz\"),d=t(\"../common/imlfn\");i.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},i.forward=function(t){var e,i,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N=t.x,R=t.y,z=Math.sin(t.y),j=Math.cos(t.y),O=n(N-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=s?(t.x=this.x0+this.a*(r-R)*Math.sin(O),t.y=this.y0-this.a*(r-R)*Math.cos(O),t):Math.abs(this.sin_p12+1)<=s?(t.x=this.x0+this.a*(r+R)*Math.sin(O),t.y=this.y0+this.a*(r+R)*Math.cos(O),t):(T=this.sin_p12*z+this.cos_p12*j*Math.cos(O),C=Math.acos(T),D=C/Math.sin(C),t.x=this.x0+this.a*D*j*Math.sin(O),t.y=this.y0+this.a*D*(this.cos_p12*z-this.sin_p12*j*Math.cos(O)),t):(e=a(this.es),i=l(this.es),p=u(this.es),d=h(this.es),Math.abs(this.sin_p12-1)<=s?(f=this.a*o(e,i,p,d,r),g=this.a*o(e,i,p,d,R),t.x=this.x0+(f-g)*Math.sin(O),t.y=this.y0-(f-g)*Math.cos(O),t):Math.abs(this.sin_p12+1)<=s?(f=this.a*o(e,i,p,d,r),g=this.a*o(e,i,p,d,R),t.x=this.x0+(f+g)*Math.sin(O),t.y=this.y0+(f+g)*Math.cos(O),t):(m=z/j,_=c(this.a,this.e,this.sin_p12),v=c(this.a,this.e,z),y=Math.atan((1-this.es)*m+this.es*_*this.sin_p12/(v*j)),b=Math.atan2(Math.sin(O),this.cos_p12*Math.tan(y)-this.sin_p12*Math.cos(O)),S=0===b?Math.asin(this.cos_p12*Math.sin(y)-this.sin_p12*Math.cos(y)):Math.abs(Math.abs(b)-Math.PI)<=s?-Math.asin(this.cos_p12*Math.sin(y)-this.sin_p12*Math.cos(y)):Math.asin(Math.sin(O)*Math.cos(y)/Math.sin(b)),w=this.e*this.sin_p12/Math.sqrt(1-this.es),x=this.e*this.cos_p12*Math.cos(b)/Math.sqrt(1-this.es),k=w*x,M=x*x,A=S*S,P=A*S,E=P*S,I=E*S,C=_*S*(1-A*M*(1-M)/6+P/8*k*(1-2*M)+E/120*(M*(4-7*M)-3*w*w*(1-7*M))-I/48*k),t.x=this.x0+C*Math.sin(b),t.y=this.y0+C*Math.cos(b),t))},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var e,i,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R;if(this.sphere){if(e=Math.sqrt(t.x*t.x+t.y*t.y),e>2*r*this.a)return;return i=e/this.a,f=Math.sin(i),g=Math.cos(i),m=this.long0,Math.abs(e)<=s?_=this.lat0:(_=p(g*this.sin_p12+t.y*f*this.cos_p12/e),v=Math.abs(this.lat0)-r,m=n(Math.abs(v)<=s?this.lat0>=0?this.long0+Math.atan2(t.x,-t.y):this.long0-Math.atan2(-t.x,t.y):this.long0+Math.atan2(t.x*f,e*this.cos_p12*g-t.y*this.sin_p12*f))),t.x=m,t.y=_,t}return y=a(this.es),b=l(this.es),w=u(this.es),x=h(this.es),Math.abs(this.sin_p12-1)<=s?(k=this.a*o(y,b,w,x,r),e=Math.sqrt(t.x*t.x+t.y*t.y),M=k-e,_=d(M/this.a,y,b,w,x),m=n(this.long0+Math.atan2(t.x,-1*t.y)),t.x=m,t.y=_,t):Math.abs(this.sin_p12+1)<=s?(k=this.a*o(y,b,w,x,r),e=Math.sqrt(t.x*t.x+t.y*t.y),M=e-k,_=d(M/this.a,y,b,w,x),m=n(this.long0+Math.atan2(t.x,t.y)),t.x=m,t.y=_,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),T=Math.atan2(t.x,t.y),C=c(this.a,this.e,this.sin_p12),S=Math.cos(T),A=this.e*this.cos_p12*S,P=-A*A/(1-this.es),E=3*this.es*(1-P)*this.sin_p12*this.cos_p12*S/(1-this.es),I=e/C,N=I-P*(1+P)*Math.pow(I,3)/6-E*(1+3*P)*Math.pow(I,4)/24,R=1-P*N*N/2-I*N*N*N/6,D=Math.asin(this.sin_p12*Math.cos(N)+this.cos_p12*Math.sin(N)*S),m=n(this.long0+Math.asin(Math.sin(T)*Math.sin(N)/Math.cos(D))),_=Math.atan((1-this.es*R*this.sin_p12/Math.sin(D))*Math.tan(D)/(1-this.es)),t.x=m,t.y=_,t)},i.names=[\"Azimuthal_Equidistant\",\"aeqd\"]},{\"../common/adjust_lon\":24,\"../common/asinz\":25,\"../common/e0fn\":26,\"../common/e1fn\":27,\"../common/e2fn\":28,\"../common/e3fn\":29,\"../common/gN\":30,\"../common/imlfn\":31,\"../common/mlfn\":33}],62:[function(t,e,i){var n=t(\"../common/mlfn\"),r=t(\"../common/e0fn\"),s=t(\"../common/e1fn\"),o=t(\"../common/e2fn\"),a=t(\"../common/e3fn\"),l=t(\"../common/gN\"),u=t(\"../common/adjust_lon\"),h=t(\"../common/adjust_lat\"),c=t(\"../common/imlfn\"),p=Math.PI/2,d=1e-10;i.init=function(){this.sphere||(this.e0=r(this.es),this.e1=s(this.es),this.e2=o(this.es),this.e3=a(this.es),this.ml0=this.a*n(this.e0,this.e1,this.e2,this.e3,this.lat0))},i.forward=function(t){var e,i,r=t.x,s=t.y;if(r=u(r-this.long0),this.sphere)e=this.a*Math.asin(Math.cos(s)*Math.sin(r)),i=this.a*(Math.atan2(Math.tan(s),Math.cos(r))-this.lat0);else{var o=Math.sin(s),a=Math.cos(s),h=l(this.a,this.e,o),c=Math.tan(s)*Math.tan(s),p=r*Math.cos(s),d=p*p,f=this.es*a*a/(1-this.es),g=this.a*n(this.e0,this.e1,this.e2,this.e3,s);e=h*p*(1-d*c*(1/6-(8-c+8*f)*d/120)),i=g-this.ml0+h*o/a*d*(.5+(5-c+6*f)*d/24)}return t.x=e+this.x0,t.y=i+this.y0,t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var e,i,n=t.x/this.a,r=t.y/this.a;if(this.sphere){var s=r+this.lat0;e=Math.asin(Math.sin(s)*Math.cos(n)),i=Math.atan2(Math.tan(n),Math.cos(s))}else{var o=this.ml0/this.a+r,a=c(o,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(a)-p)<=d)return t.x=this.long0,t.y=p,0>r&&(t.y*=-1),t;var f=l(this.a,this.e,Math.sin(a)),g=f*f*f/this.a/this.a*(1-this.es),m=Math.pow(Math.tan(a),2),_=n*this.a/f,v=_*_;e=a-f*Math.tan(a)/g*_*_*(.5-(1+3*m)*_*_/24),i=_*(1-v*(m/3+(1+3*m)*m*v/15))/Math.cos(a)}return t.x=u(i+this.long0),t.y=h(e),t},i.names=[\"Cassini\",\"Cassini_Soldner\",\"cass\"]},{\"../common/adjust_lat\":23,\"../common/adjust_lon\":24,\"../common/e0fn\":26,\"../common/e1fn\":27,\"../common/e2fn\":28,\"../common/e3fn\":29,\"../common/gN\":30,\"../common/imlfn\":31,\"../common/mlfn\":33}],63:[function(t,e,i){var n=t(\"../common/adjust_lon\"),r=t(\"../common/qsfnz\"),s=t(\"../common/msfnz\"),o=t(\"../common/iqsfnz\");i.init=function(){this.sphere||(this.k0=s(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},i.forward=function(t){var e,i,s=t.x,o=t.y,a=n(s-this.long0);if(this.sphere)e=this.x0+this.a*a*Math.cos(this.lat_ts),i=this.y0+this.a*Math.sin(o)/Math.cos(this.lat_ts);else{var l=r(this.e,Math.sin(o));e=this.x0+this.a*this.k0*a,i=this.y0+this.a*l*.5/this.k0}return t.x=e,t.y=i,t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var e,i;return this.sphere?(e=n(this.long0+t.x/this.a/Math.cos(this.lat_ts)),i=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(i=o(this.e,2*t.y*this.k0/this.a),e=n(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=i,t},i.names=[\"cea\"]},{\"../common/adjust_lon\":24,\"../common/iqsfnz\":32,\"../common/msfnz\":34,\"../common/qsfnz\":39}],64:[function(t,e,i){var n=t(\"../common/adjust_lon\"),r=t(\"../common/adjust_lat\");i.init=function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||\"Equidistant Cylindrical (Plate Carre)\",this.rc=Math.cos(this.lat_ts)},i.forward=function(t){var e=t.x,i=t.y,s=n(e-this.long0),o=r(i-this.lat0);return t.x=this.x0+this.a*s*this.rc,t.y=this.y0+this.a*o,t},i.inverse=function(t){var e=t.x,i=t.y;return t.x=n(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=r(this.lat0+(i-this.y0)/this.a),t},i.names=[\"Equirectangular\",\"Equidistant_Cylindrical\",\"eqc\"]},{\"../common/adjust_lat\":23,\"../common/adjust_lon\":24}],65:[function(t,e,i){var n=t(\"../common/e0fn\"),r=t(\"../common/e1fn\"),s=t(\"../common/e2fn\"),o=t(\"../common/e3fn\"),a=t(\"../common/msfnz\"),l=t(\"../common/mlfn\"),u=t(\"../common/adjust_lon\"),h=t(\"../common/adjust_lat\"),c=t(\"../common/imlfn\"),p=1e-10;i.init=function(){Math.abs(this.lat1+this.lat2)<p||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=n(this.es),this.e1=r(this.es),this.e2=s(this.es),this.e3=o(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=a(this.e,this.sinphi,this.cosphi),this.ml1=l(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<p?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=a(this.e,this.sinphi,this.cosphi),this.ml2=l(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=l(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},i.forward=function(t){var e,i=t.x,n=t.y;if(this.sphere)e=this.a*(this.g-n);else{var r=l(this.e0,this.e1,this.e2,this.e3,n);e=this.a*(this.g-r)}var s=this.ns*u(i-this.long0),o=this.x0+e*Math.sin(s),a=this.y0+this.rh-e*Math.cos(s);return t.x=o,t.y=a,t},i.inverse=function(t){t.x-=this.x0,t.y=this.rh-t.y+this.y0;var e,i,n,r;this.ns>=0?(i=Math.sqrt(t.x*t.x+t.y*t.y),e=1):(i=-Math.sqrt(t.x*t.x+t.y*t.y),e=-1);var s=0;if(0!==i&&(s=Math.atan2(e*t.x,e*t.y)),this.sphere)return r=u(this.long0+s/this.ns),n=h(this.g-i/this.a),t.x=r,t.y=n,t;var o=this.g-i/this.a;return n=c(o,this.e0,this.e1,this.e2,this.e3),r=u(this.long0+s/this.ns),t.x=r,t.y=n,t},i.names=[\"Equidistant_Conic\",\"eqdc\"]},{\"../common/adjust_lat\":23,\"../common/adjust_lon\":24,\"../common/e0fn\":26,\"../common/e1fn\":27,\"../common/e2fn\":28,\"../common/e3fn\":29,\"../common/imlfn\":31,\"../common/mlfn\":33,\"../common/msfnz\":34}],66:[function(t,e,i){var n=Math.PI/4,r=t(\"../common/srat\"),s=Math.PI/2,o=20;i.init=function(){var t=Math.sin(this.lat0),e=Math.cos(this.lat0);e*=e,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*e*e/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+n)/(Math.pow(Math.tan(.5*this.lat0+n),this.C)*r(this.e*t,this.ratexp))},i.forward=function(t){var e=t.x,i=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*i+n),this.C)*r(this.e*Math.sin(i),this.ratexp))-s,t.x=this.C*e,t},i.inverse=function(t){for(var e=1e-14,i=t.x/this.C,a=t.y,l=Math.pow(Math.tan(.5*a+n)/this.K,1/this.C),u=o;u>0&&(a=2*Math.atan(l*r(this.e*Math.sin(t.y),-.5*this.e))-s,!(Math.abs(a-t.y)<e));--u)t.y=a;return u?(t.x=i,t.y=a,t):null},i.names=[\"gauss\"]},{\"../common/srat\":41}],67:[function(t,e,i){var n=t(\"../common/adjust_lon\"),r=1e-10,s=t(\"../common/asinz\");i.init=function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1},i.forward=function(t){var e,i,s,o,a,l,u,h,c=t.x,p=t.y;return s=n(c-this.long0),e=Math.sin(p),i=Math.cos(p),o=Math.cos(s),l=this.sin_p14*e+this.cos_p14*i*o,a=1,l>0||Math.abs(l)<=r?(u=this.x0+this.a*a*i*Math.sin(s)/l,h=this.y0+this.a*a*(this.cos_p14*e-this.sin_p14*i*o)/l):(u=this.x0+this.infinity_dist*i*Math.sin(s),h=this.y0+this.infinity_dist*(this.cos_p14*e-this.sin_p14*i*o)),t.x=u,t.y=h,t},i.inverse=function(t){var e,i,r,o,a,l;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,(e=Math.sqrt(t.x*t.x+t.y*t.y))?(o=Math.atan2(e,this.rc),i=Math.sin(o),r=Math.cos(o),l=s(r*this.sin_p14+t.y*i*this.cos_p14/e),a=Math.atan2(t.x*i,e*this.cos_p14*r-t.y*this.sin_p14*i),a=n(this.long0+a)):(l=this.phic0,a=0),t.x=a,t.y=l,t},i.names=[\"gnom\"]},{\"../common/adjust_lon\":24,\"../common/asinz\":25}],68:[function(t,e,i){var n=t(\"../common/adjust_lon\");i.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},i.forward=function(t){var e,i,r,s,o,a,l,u=t.x,h=t.y,c=n(u-this.long0);return e=Math.pow((1+this.e*Math.sin(h))/(1-this.e*Math.sin(h)),this.alfa*this.e/2),i=2*(Math.atan(this.k*Math.pow(Math.tan(h/2+this.s45),this.alfa)/e)-this.s45),r=-c*this.alfa,s=Math.asin(Math.cos(this.ad)*Math.sin(i)+Math.sin(this.ad)*Math.cos(i)*Math.cos(r)),o=Math.asin(Math.cos(i)*Math.sin(r)/Math.cos(s)),a=this.n*o,l=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(s/2+this.s45),this.n),t.y=l*Math.cos(a)/1,t.x=l*Math.sin(a)/1,this.czech||(t.y*=-1,t.x*=-1),t},i.inverse=function(t){var e,i,n,r,s,o,a,l,u=t.x;t.x=t.y,t.y=u,this.czech||(t.y*=-1,t.x*=-1),o=Math.sqrt(t.x*t.x+t.y*t.y),s=Math.atan2(t.y,t.x),r=s/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),e=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(r)),i=Math.asin(Math.cos(n)*Math.sin(r)/Math.cos(e)),t.x=this.long0-i/this.alfa,a=e,l=0;var h=0;do t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(e/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-t.y)<1e-10&&(l=1),a=t.y,h+=1;while(0===l&&15>h);return h>=15?null:t},i.names=[\"Krovak\",\"krovak\"]},{\"../common/adjust_lon\":24}],69:[function(t,e,i){var n=Math.PI/2,r=Math.PI/4,s=1e-10,o=t(\"../common/qsfnz\"),a=t(\"../common/adjust_lon\");i.S_POLE=1,i.N_POLE=2,i.EQUIT=3,i.OBLIQ=4,i.init=function(){var t=Math.abs(this.lat0);if(Math.abs(t-n)<s?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<s?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0){var e;switch(this.qp=o(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=o(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},i.forward=function(t){var e,i,l,u,h,c,p,d,f,g,m=t.x,_=t.y;if(m=a(m-this.long0),this.sphere){if(h=Math.sin(_),g=Math.cos(_),l=Math.cos(m),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(i=this.mode===this.EQUIT?1+g*l:1+this.sinph0*h+this.cosph0*g*l,s>=i)return null;i=Math.sqrt(2/i),e=i*g*Math.sin(m),i*=this.mode===this.EQUIT?h:this.cosph0*h-this.sinph0*g*l}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(l=-l),Math.abs(_+this.phi0)<s)return null;i=r-.5*_,i=2*(this.mode===this.S_POLE?Math.cos(i):Math.sin(i)),e=i*Math.sin(m),i*=l}}else{switch(p=0,d=0,f=0,l=Math.cos(m),u=Math.sin(m),h=Math.sin(_),c=o(this.e,h),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(p=c/this.qp,d=Math.sqrt(1-p*p)),this.mode){case this.OBLIQ:f=1+this.sinb1*p+this.cosb1*d*l;break;case this.EQUIT:f=1+d*l;break;case this.N_POLE:f=n+_,c=this.qp-c;break;case this.S_POLE:f=_-n,c=this.qp+c}if(Math.abs(f)<s)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:f=Math.sqrt(2/f),i=this.mode===this.OBLIQ?this.ymf*f*(this.cosb1*p-this.sinb1*d*l):(f=Math.sqrt(2/(1+d*l)))*p*this.ymf,e=this.xmf*f*d*u;break;case this.N_POLE:case this.S_POLE:c>=0?(e=(f=Math.sqrt(c))*u,i=l*(this.mode===this.S_POLE?f:-f)):e=i=0}}return t.x=this.a*e+this.x0,t.y=this.a*i+this.y0,t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var e,i,r,o,l,u,h,c=t.x/this.a,p=t.y/this.a;if(this.sphere){var d,f=0,g=0;if(d=Math.sqrt(c*c+p*p),i=.5*d,i>1)return null;switch(i=2*Math.asin(i),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(g=Math.sin(i),f=Math.cos(i)),this.mode){case this.EQUIT:i=Math.abs(d)<=s?0:Math.asin(p*g/d),c*=g,p=f*d;break;case this.OBLIQ:i=Math.abs(d)<=s?this.phi0:Math.asin(f*this.sinph0+p*g*this.cosph0/d),c*=g*this.cosph0,p=(f-Math.sin(i)*this.sinph0)*d;break;case this.N_POLE:p=-p,i=n-i;break;case this.S_POLE:i-=n}e=0!==p||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(c,p):0}else{if(h=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c/=this.dd,p*=this.dd,u=Math.sqrt(c*c+p*p),s>u)return t.x=0,t.y=this.phi0,t;o=2*Math.asin(.5*u/this.rq),r=Math.cos(o),c*=o=Math.sin(o),this.mode===this.OBLIQ?(h=r*this.sinb1+p*o*this.cosb1/u,l=this.qp*h,p=u*this.cosb1*r-p*this.sinb1*o):(h=p*o/u,l=this.qp*h,p=u*r)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(p=-p),l=c*c+p*p,!l)return t.x=0,t.y=this.phi0,t;h=1-l/this.qp,this.mode===this.S_POLE&&(h=-h)}e=Math.atan2(c,p),i=this.authlat(Math.asin(h),this.apa)}return t.x=a(this.long0+e),t.y=i,t},i.P00=.3333333333333333,i.P01=.17222222222222222,i.P02=.10257936507936508,i.P10=.06388888888888888,i.P11=.0664021164021164,i.P20=.016415012942191543,i.authset=function(t){var e,i=[];return i[0]=t*this.P00,e=t*t,i[0]+=e*this.P01,i[1]=e*this.P10,e*=t,i[0]+=e*this.P02,i[1]+=e*this.P11,i[2]=e*this.P20,i},i.authlat=function(t,e){var i=t+t;return t+e[0]*Math.sin(i)+e[1]*Math.sin(i+i)+e[2]*Math.sin(i+i+i)},i.names=[\"Lambert Azimuthal Equal Area\",\"Lambert_Azimuthal_Equal_Area\",\"laea\"]},{\"../common/adjust_lon\":24,\"../common/qsfnz\":39}],70:[function(t,e,i){var n=1e-10,r=t(\"../common/msfnz\"),s=t(\"../common/tsfnz\"),o=Math.PI/2,a=t(\"../common/sign\"),l=t(\"../common/adjust_lon\"),u=t(\"../common/phi2z\");i.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<n)){var t=this.b/this.a;this.e=Math.sqrt(1-t*t);var e=Math.sin(this.lat1),i=Math.cos(this.lat1),o=r(this.e,e,i),a=s(this.e,this.lat1,e),l=Math.sin(this.lat2),u=Math.cos(this.lat2),h=r(this.e,l,u),c=s(this.e,this.lat2,l),p=s(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>n?this.ns=Math.log(o/h)/Math.log(a/c):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=o/(this.ns*Math.pow(a,this.ns)),this.rh=this.a*this.f0*Math.pow(p,this.ns),this.title||(this.title=\"Lambert Conformal Conic\")}},i.forward=function(t){var e=t.x,i=t.y;Math.abs(2*Math.abs(i)-Math.PI)<=n&&(i=a(i)*(o-2*n));var r,u,h=Math.abs(Math.abs(i)-o);if(h>n)r=s(this.e,i,Math.sin(i)),u=this.a*this.f0*Math.pow(r,this.ns);else{if(h=i*this.ns,0>=h)return null;u=0}var c=this.ns*l(e-this.long0);return t.x=this.k0*(u*Math.sin(c))+this.x0,t.y=this.k0*(this.rh-u*Math.cos(c))+this.y0,t},i.inverse=function(t){var e,i,n,r,s,a=(t.x-this.x0)/this.k0,h=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(a*a+h*h),i=1):(e=-Math.sqrt(a*a+h*h),i=-1);var c=0;if(0!==e&&(c=Math.atan2(i*a,i*h)),0!==e||this.ns>0){if(i=1/this.ns,n=Math.pow(e/(this.a*this.f0),i),r=u(this.e,n),-9999===r)return null}else r=-o;return s=l(c/this.ns+this.long0),t.x=s,t.y=r,t},i.names=[\"Lambert Tangential Conformal Conic Projection\",\"Lambert_Conformal_Conic\",\"Lambert_Conformal_Conic_2SP\",\"lcc\"]},{\"../common/adjust_lon\":24,\"../common/msfnz\":34,\"../common/phi2z\":35,\"../common/sign\":40,\"../common/tsfnz\":43}],71:[function(t,e,i){function n(t){return t}i.init=function(){},i.forward=n,i.inverse=n,i.names=[\"longlat\",\"identity\"]},{}],72:[function(t,e,i){var n=t(\"../common/msfnz\"),r=Math.PI/2,s=1e-10,o=57.29577951308232,a=t(\"../common/adjust_lon\"),l=Math.PI/4,u=t(\"../common/tsfnz\"),h=t(\"../common/phi2z\");i.init=function(){var t=this.b/this.a;this.es=1-t*t,\"x0\"in this||(this.x0=0),\"y0\"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=n(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},i.forward=function(t){var e=t.x,i=t.y;if(i*o>90&&-90>i*o&&e*o>180&&-180>e*o)return null;var n,h;if(Math.abs(Math.abs(i)-r)<=s)return null;if(this.sphere)n=this.x0+this.a*this.k0*a(e-this.long0),h=this.y0+this.a*this.k0*Math.log(Math.tan(l+.5*i));else{var c=Math.sin(i),p=u(this.e,i,c);n=this.x0+this.a*this.k0*a(e-this.long0),h=this.y0-this.a*this.k0*Math.log(p)}return t.x=n,t.y=h,t},i.inverse=function(t){var e,i,n=t.x-this.x0,s=t.y-this.y0;if(this.sphere)i=r-2*Math.atan(Math.exp(-s/(this.a*this.k0)));else{var o=Math.exp(-s/(this.a*this.k0));if(i=h(this.e,o),-9999===i)return null}return e=a(this.long0+n/(this.a*this.k0)),t.x=e,t.y=i,t},i.names=[\"Mercator\",\"Popular Visualisation Pseudo Mercator\",\"Mercator_1SP\",\"Mercator_Auxiliary_Sphere\",\"merc\"]},{\"../common/adjust_lon\":24,\"../common/msfnz\":34,\"../common/phi2z\":35,\"../common/tsfnz\":43}],73:[function(t,e,i){var n=t(\"../common/adjust_lon\");i.init=function(){},i.forward=function(t){var e=t.x,i=t.y,r=n(e-this.long0),s=this.x0+this.a*r,o=this.y0+this.a*Math.log(Math.tan(Math.PI/4+i/2.5))*1.25;return t.x=s,t.y=o,t},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var e=n(this.long0+t.x/this.a),i=2.5*(Math.atan(Math.exp(.8*t.y/this.a))-Math.PI/4);return t.x=e,t.y=i,t},i.names=[\"Miller_Cylindrical\",\"mill\"]},{\"../common/adjust_lon\":24}],74:[function(t,e,i){var n=t(\"../common/adjust_lon\"),r=1e-10;i.init=function(){},i.forward=function(t){for(var e=t.x,i=t.y,s=n(e-this.long0),o=i,a=Math.PI*Math.sin(i),l=0;!0;l++){var u=-(o+Math.sin(o)-a)/(1+Math.cos(o));if(o+=u,Math.abs(u)<r)break}o/=2,Math.PI/2-Math.abs(i)<r&&(s=0);var h=.900316316158*this.a*s*Math.cos(o)+this.x0,c=1.4142135623731*this.a*Math.sin(o)+this.y0;return t.x=h,t.y=c,t},i.inverse=function(t){var e,i;t.x-=this.x0,t.y-=this.y0,i=t.y/(1.4142135623731*this.a),Math.abs(i)>.999999999999&&(i=.999999999999),e=Math.asin(i);var r=n(this.long0+t.x/(.900316316158*this.a*Math.cos(e)));r<-Math.PI&&(r=-Math.PI),r>Math.PI&&(r=Math.PI),i=(2*e+Math.sin(2*e))/Math.PI,Math.abs(i)>1&&(i=1);var s=Math.asin(i);return t.x=r,t.y=s,t},i.names=[\"Mollweide\",\"moll\"]},{\"../common/adjust_lon\":24}],75:[function(t,e,i){var n=484813681109536e-20;i.iterations=1,i.init=function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,\n",
       "        this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},i.forward=function(t){var e,i=t.x,r=t.y,s=r-this.lat0,o=i-this.long0,a=s/n*1e-5,l=o,u=1,h=0;for(e=1;10>=e;e++)u*=a,h+=this.A[e]*u;var c,p,d=h,f=l,g=1,m=0,_=0,v=0;for(e=1;6>=e;e++)c=g*d-m*f,p=m*d+g*f,g=c,m=p,_=_+this.B_re[e]*g-this.B_im[e]*m,v=v+this.B_im[e]*g+this.B_re[e]*m;return t.x=v*this.a+this.x0,t.y=_*this.a+this.y0,t},i.inverse=function(t){var e,i,r,s=t.x,o=t.y,a=s-this.x0,l=o-this.y0,u=l/this.a,h=a/this.a,c=1,p=0,d=0,f=0;for(e=1;6>=e;e++)i=c*u-p*h,r=p*u+c*h,c=i,p=r,d=d+this.C_re[e]*c-this.C_im[e]*p,f=f+this.C_im[e]*c+this.C_re[e]*p;for(var g=0;g<this.iterations;g++){var m,_,v=d,y=f,b=u,w=h;for(e=2;6>=e;e++)m=v*d-y*f,_=y*d+v*f,v=m,y=_,b+=(e-1)*(this.B_re[e]*v-this.B_im[e]*y),w+=(e-1)*(this.B_im[e]*v+this.B_re[e]*y);v=1,y=0;var x=this.B_re[1],k=this.B_im[1];for(e=2;6>=e;e++)m=v*d-y*f,_=y*d+v*f,v=m,y=_,x+=e*(this.B_re[e]*v-this.B_im[e]*y),k+=e*(this.B_im[e]*v+this.B_re[e]*y);var M=x*x+k*k;d=(b*x+w*k)/M,f=(w*x-b*k)/M}var C=d,D=f,T=1,S=0;for(e=1;9>=e;e++)T*=C,S+=this.D[e]*T;var A=this.lat0+S*n*1e5,P=this.long0+D;return t.x=P,t.y=A,t},i.names=[\"New_Zealand_Map_Grid\",\"nzmg\"]},{}],76:[function(t,e,i){var n=t(\"../common/tsfnz\"),r=t(\"../common/adjust_lon\"),s=t(\"../common/phi2z\"),o=Math.PI/2,a=Math.PI/4,l=1e-10;i.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var t=Math.sin(this.lat0),e=Math.cos(this.lat0),i=this.e*t;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(e,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-i*i);var s=n(this.e,this.lat0,t),o=this.bl/e*Math.sqrt((1-this.es)/(1-i*i));1>o*o&&(o=1);var a,l;if(isNaN(this.longc)){var u=n(this.e,this.lat1,Math.sin(this.lat1)),h=n(this.e,this.lat2,Math.sin(this.lat2));this.lat0>=0?this.el=(o+Math.sqrt(o*o-1))*Math.pow(s,this.bl):this.el=(o-Math.sqrt(o*o-1))*Math.pow(s,this.bl);var c=Math.pow(u,this.bl),p=Math.pow(h,this.bl);a=this.el/c,l=.5*(a-1/a);var d=(this.el*this.el-p*c)/(this.el*this.el+p*c),f=(p-c)/(p+c),g=r(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(d*Math.tan(.5*this.bl*g)/f)/this.bl,this.long0=r(this.long0);var m=r(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*m)/l),this.alpha=Math.asin(o*Math.sin(this.gamma0))}else a=this.lat0>=0?o+Math.sqrt(o*o-1):o-Math.sqrt(o*o-1),this.el=a*Math.pow(s,this.bl),l=.5*(a-1/a),this.gamma0=Math.asin(Math.sin(this.alpha)/o),this.long0=this.longc-Math.asin(l*Math.tan(this.gamma0))/this.bl;this.no_off?this.uc=0:this.lat0>=0?this.uc=this.al/this.bl*Math.atan2(Math.sqrt(o*o-1),Math.cos(this.alpha)):this.uc=-1*this.al/this.bl*Math.atan2(Math.sqrt(o*o-1),Math.cos(this.alpha))},i.forward=function(t){var e,i,s,u=t.x,h=t.y,c=r(u-this.long0);if(Math.abs(Math.abs(h)-o)<=l)s=h>0?-1:1,i=this.al/this.bl*Math.log(Math.tan(a+s*this.gamma0*.5)),e=-1*s*o*this.al/this.bl;else{var p=n(this.e,h,Math.sin(h)),d=this.el/Math.pow(p,this.bl),f=.5*(d-1/d),g=.5*(d+1/d),m=Math.sin(this.bl*c),_=(f*Math.sin(this.gamma0)-m*Math.cos(this.gamma0))/g;i=Math.abs(Math.abs(_)-1)<=l?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-_)/(1+_))/this.bl,e=Math.abs(Math.cos(this.bl*c))<=l?this.al*this.bl*c:this.al*Math.atan2(f*Math.cos(this.gamma0)+m*Math.sin(this.gamma0),Math.cos(this.bl*c))/this.bl}return this.no_rot?(t.x=this.x0+e,t.y=this.y0+i):(e-=this.uc,t.x=this.x0+i*Math.cos(this.alpha)+e*Math.sin(this.alpha),t.y=this.y0+e*Math.cos(this.alpha)-i*Math.sin(this.alpha)),t},i.inverse=function(t){var e,i;this.no_rot?(i=t.y-this.y0,e=t.x-this.x0):(i=(t.x-this.x0)*Math.cos(this.alpha)-(t.y-this.y0)*Math.sin(this.alpha),e=(t.y-this.y0)*Math.cos(this.alpha)+(t.x-this.x0)*Math.sin(this.alpha),e+=this.uc);var n=Math.exp(-1*this.bl*i/this.al),a=.5*(n-1/n),u=.5*(n+1/n),h=Math.sin(this.bl*e/this.al),c=(h*Math.cos(this.gamma0)+a*Math.sin(this.gamma0))/u,p=Math.pow(this.el/Math.sqrt((1+c)/(1-c)),1/this.bl);return Math.abs(c-1)<l?(t.x=this.long0,t.y=o):Math.abs(c+1)<l?(t.x=this.long0,t.y=-1*o):(t.y=s(this.e,p),t.x=r(this.long0-Math.atan2(a*Math.cos(this.gamma0)-h*Math.sin(this.gamma0),Math.cos(this.bl*e/this.al))/this.bl)),t},i.names=[\"Hotine_Oblique_Mercator\",\"Hotine Oblique Mercator\",\"Hotine_Oblique_Mercator_Azimuth_Natural_Origin\",\"Hotine_Oblique_Mercator_Azimuth_Center\",\"omerc\"]},{\"../common/adjust_lon\":24,\"../common/phi2z\":35,\"../common/tsfnz\":43}],77:[function(t,e,i){var n=t(\"../common/e0fn\"),r=t(\"../common/e1fn\"),s=t(\"../common/e2fn\"),o=t(\"../common/e3fn\"),a=t(\"../common/adjust_lon\"),l=t(\"../common/adjust_lat\"),u=t(\"../common/mlfn\"),h=1e-10,c=t(\"../common/gN\"),p=20;i.init=function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=n(this.es),this.e1=r(this.es),this.e2=s(this.es),this.e3=o(this.es),this.ml0=this.a*u(this.e0,this.e1,this.e2,this.e3,this.lat0)},i.forward=function(t){var e,i,n,r=t.x,s=t.y,o=a(r-this.long0);if(n=o*Math.sin(s),this.sphere)Math.abs(s)<=h?(e=this.a*o,i=-1*this.a*this.lat0):(e=this.a*Math.sin(n)/Math.tan(s),i=this.a*(l(s-this.lat0)+(1-Math.cos(n))/Math.tan(s)));else if(Math.abs(s)<=h)e=this.a*o,i=-1*this.ml0;else{var p=c(this.a,this.e,Math.sin(s))/Math.tan(s);e=p*Math.sin(n),i=this.a*u(this.e0,this.e1,this.e2,this.e3,s)-this.ml0+p*(1-Math.cos(n))}return t.x=e+this.x0,t.y=i+this.y0,t},i.inverse=function(t){var e,i,n,r,s,o,l,c,d;if(n=t.x-this.x0,r=t.y-this.y0,this.sphere)if(Math.abs(r+this.a*this.lat0)<=h)e=a(n/this.a+this.long0),i=0;else{o=this.lat0+r/this.a,l=n*n/this.a/this.a+o*o,c=o;var f;for(s=p;s;--s)if(f=Math.tan(c),d=-1*(o*(c*f+1)-c-.5*(c*c+l)*f)/((c-o)/f-1),c+=d,Math.abs(d)<=h){i=c;break}e=a(this.long0+Math.asin(n*Math.tan(c)/this.a)/Math.sin(i))}else if(Math.abs(r+this.ml0)<=h)i=0,e=a(this.long0+n/this.a);else{o=(this.ml0+r)/this.a,l=n*n/this.a/this.a+o*o,c=o;var g,m,_,v,y;for(s=p;s;--s)if(y=this.e*Math.sin(c),g=Math.sqrt(1-y*y)*Math.tan(c),m=this.a*u(this.e0,this.e1,this.e2,this.e3,c),_=this.e0-2*this.e1*Math.cos(2*c)+4*this.e2*Math.cos(4*c)-6*this.e3*Math.cos(6*c),v=m/this.a,d=(o*(g*v+1)-v-.5*g*(v*v+l))/(this.es*Math.sin(2*c)*(v*v+l-2*o*v)/(4*g)+(o-v)*(g*_-2/Math.sin(2*c))-_),c-=d,Math.abs(d)<=h){i=c;break}g=Math.sqrt(1-this.es*Math.pow(Math.sin(i),2))*Math.tan(i),e=a(this.long0+Math.asin(n*g/this.a)/Math.sin(i))}return t.x=e,t.y=i,t},i.names=[\"Polyconic\",\"poly\"]},{\"../common/adjust_lat\":23,\"../common/adjust_lon\":24,\"../common/e0fn\":26,\"../common/e1fn\":27,\"../common/e2fn\":28,\"../common/e3fn\":29,\"../common/gN\":30,\"../common/mlfn\":33}],78:[function(t,e,i){var n=t(\"../common/adjust_lon\"),r=t(\"../common/adjust_lat\"),s=t(\"../common/pj_enfn\"),o=20,a=t(\"../common/pj_mlfn\"),l=t(\"../common/pj_inv_mlfn\"),u=Math.PI/2,h=1e-10,c=t(\"../common/asinz\");i.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=s(this.es)},i.forward=function(t){var e,i,r=t.x,s=t.y;if(r=n(r-this.long0),this.sphere){if(this.m)for(var l=this.n*Math.sin(s),u=o;u;--u){var c=(this.m*s+Math.sin(s)-l)/(this.m+Math.cos(s));if(s-=c,Math.abs(c)<h)break}else s=1!==this.n?Math.asin(this.n*Math.sin(s)):s;e=this.a*this.C_x*r*(this.m+Math.cos(s)),i=this.a*this.C_y*s}else{var p=Math.sin(s),d=Math.cos(s);i=this.a*a(s,p,d,this.en),e=this.a*r*d/Math.sqrt(1-this.es*p*p)}return t.x=e,t.y=i,t},i.inverse=function(t){var e,i,s,o;return t.x-=this.x0,s=t.x/this.a,t.y-=this.y0,e=t.y/this.a,this.sphere?(e/=this.C_y,s/=this.C_x*(this.m+Math.cos(e)),this.m?e=c((this.m*e+Math.sin(e))/this.n):1!==this.n&&(e=c(Math.sin(e)/this.n)),s=n(s+this.long0),e=r(e)):(e=l(t.y/this.a,this.es,this.en),o=Math.abs(e),u>o?(o=Math.sin(e),i=this.long0+t.x*Math.sqrt(1-this.es*o*o)/(this.a*Math.cos(e)),s=n(i)):u>o-h&&(s=this.long0)),t.x=s,t.y=e,t},i.names=[\"Sinusoidal\",\"sinu\"]},{\"../common/adjust_lat\":23,\"../common/adjust_lon\":24,\"../common/asinz\":25,\"../common/pj_enfn\":36,\"../common/pj_inv_mlfn\":37,\"../common/pj_mlfn\":38}],79:[function(t,e,i){i.init=function(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),i=this.a,n=this.rf,r=1/n,s=2*r-Math.pow(r,2),o=this.e=Math.sqrt(s);this.R=this.k0*i*Math.sqrt(1-s)/(1-s*Math.pow(e,2)),this.alpha=Math.sqrt(1+s/(1-s)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(e/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),l=Math.log(Math.tan(Math.PI/4+t/2)),u=Math.log((1+o*e)/(1-o*e));this.K=a-this.alpha*l+this.alpha*o/2*u},i.forward=function(t){var e=Math.log(Math.tan(Math.PI/4-t.y/2)),i=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),n=-this.alpha*(e+i)+this.K,r=2*(Math.atan(Math.exp(n))-Math.PI/4),s=this.alpha*(t.x-this.lambda0),o=Math.atan(Math.sin(s)/(Math.sin(this.b0)*Math.tan(r)+Math.cos(this.b0)*Math.cos(s))),a=Math.asin(Math.cos(this.b0)*Math.sin(r)-Math.sin(this.b0)*Math.cos(r)*Math.cos(s));return t.y=this.R/2*Math.log((1+Math.sin(a))/(1-Math.sin(a)))+this.y0,t.x=this.R*o+this.x0,t},i.inverse=function(t){for(var e=t.x-this.x0,i=t.y-this.y0,n=e/this.R,r=2*(Math.atan(Math.exp(i/this.R))-Math.PI/4),s=Math.asin(Math.cos(this.b0)*Math.sin(r)+Math.sin(this.b0)*Math.cos(r)*Math.cos(n)),o=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(r))),a=this.lambda0+o/this.alpha,l=0,u=s,h=-1e3,c=0;Math.abs(u-h)>1e-7;){if(++c>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+s/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(u))/2)),h=u,u=2*Math.atan(Math.exp(l))-Math.PI/2}return t.x=a,t.y=u,t},i.names=[\"somerc\"]},{}],80:[function(t,e,i){var n=Math.PI/2,r=1e-10,s=t(\"../common/sign\"),o=t(\"../common/msfnz\"),a=t(\"../common/tsfnz\"),l=t(\"../common/phi2z\"),u=t(\"../common/adjust_lon\");i.ssfn_=function(t,e,i){return e*=i,Math.tan(.5*(n+t))*Math.pow((1-e)/(1+e),.5*i)},i.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=r&&(this.k0=.5*(1+s(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=r&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=r&&(this.k0=.5*this.cons*o(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/a(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=o(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-n,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},i.forward=function(t){var e,i,s,o,l,h,c=t.x,p=t.y,d=Math.sin(p),f=Math.cos(p),g=u(c-this.long0);return Math.abs(Math.abs(c-this.long0)-Math.PI)<=r&&Math.abs(p+this.lat0)<=r?(t.x=NaN,t.y=NaN,t):this.sphere?(e=2*this.k0/(1+this.sinlat0*d+this.coslat0*f*Math.cos(g)),t.x=this.a*e*f*Math.sin(g)+this.x0,t.y=this.a*e*(this.coslat0*d-this.sinlat0*f*Math.cos(g))+this.y0,t):(i=2*Math.atan(this.ssfn_(p,d,this.e))-n,o=Math.cos(i),s=Math.sin(i),Math.abs(this.coslat0)<=r?(l=a(this.e,p*this.con,this.con*d),h=2*this.a*this.k0*l/this.cons,t.x=this.x0+h*Math.sin(c-this.long0),t.y=this.y0-this.con*h*Math.cos(c-this.long0),t):(Math.abs(this.sinlat0)<r?(e=2*this.a*this.k0/(1+o*Math.cos(g)),t.y=e*s):(e=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*s+this.cosX0*o*Math.cos(g))),t.y=e*(this.cosX0*s-this.sinX0*o*Math.cos(g))+this.y0),t.x=e*o*Math.sin(g)+this.x0,t))},i.inverse=function(t){t.x-=this.x0,t.y-=this.y0;var e,i,s,o,a,h=Math.sqrt(t.x*t.x+t.y*t.y);if(this.sphere){var c=2*Math.atan(h/(.5*this.a*this.k0));return e=this.long0,i=this.lat0,r>=h?(t.x=e,t.y=i,t):(i=Math.asin(Math.cos(c)*this.sinlat0+t.y*Math.sin(c)*this.coslat0/h),e=u(Math.abs(this.coslat0)<r?this.lat0>0?this.long0+Math.atan2(t.x,-1*t.y):this.long0+Math.atan2(t.x,t.y):this.long0+Math.atan2(t.x*Math.sin(c),h*this.coslat0*Math.cos(c)-t.y*this.sinlat0*Math.sin(c))),t.x=e,t.y=i,t)}if(Math.abs(this.coslat0)<=r){if(r>=h)return i=this.lat0,e=this.long0,t.x=e,t.y=i,t;t.x*=this.con,t.y*=this.con,s=h*this.cons/(2*this.a*this.k0),i=this.con*l(this.e,s),e=this.con*u(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else o=2*Math.atan(h*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,r>=h?a=this.X0:(a=Math.asin(Math.cos(o)*this.sinX0+t.y*Math.sin(o)*this.cosX0/h),e=u(this.long0+Math.atan2(t.x*Math.sin(o),h*this.cosX0*Math.cos(o)-t.y*this.sinX0*Math.sin(o)))),i=-1*l(this.e,Math.tan(.5*(n+a)));return t.x=e,t.y=i,t},i.names=[\"stere\",\"Stereographic_South_Pole\",\"Polar Stereographic (variant B)\"]},{\"../common/adjust_lon\":24,\"../common/msfnz\":34,\"../common/phi2z\":35,\"../common/sign\":40,\"../common/tsfnz\":43}],81:[function(t,e,i){var n=t(\"./gauss\"),r=t(\"../common/adjust_lon\");i.init=function(){n.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title=\"Oblique Stereographic Alternative\"))},i.forward=function(t){var e,i,s,o;return t.x=r(t.x-this.long0),n.forward.apply(this,[t]),e=Math.sin(t.y),i=Math.cos(t.y),s=Math.cos(t.x),o=this.k0*this.R2/(1+this.sinc0*e+this.cosc0*i*s),t.x=o*i*Math.sin(t.x),t.y=o*(this.cosc0*e-this.sinc0*i*s),t.x=this.a*t.x+this.x0,t.y=this.a*t.y+this.y0,t},i.inverse=function(t){var e,i,s,o,a;if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,a=Math.sqrt(t.x*t.x+t.y*t.y)){var l=2*Math.atan2(a,this.R2);e=Math.sin(l),i=Math.cos(l),o=Math.asin(i*this.sinc0+t.y*e*this.cosc0/a),s=Math.atan2(t.x*e,a*this.cosc0*i-t.y*this.sinc0*e)}else o=this.phic0,s=0;return t.x=s,t.y=o,n.inverse.apply(this,[t]),t.x=r(t.x+this.long0),t},i.names=[\"Stereographic_North_Pole\",\"Oblique_Stereographic\",\"Polar_Stereographic\",\"sterea\",\"Oblique Stereographic Alternative\"]},{\"../common/adjust_lon\":24,\"./gauss\":66}],82:[function(t,e,i){var n=t(\"../common/e0fn\"),r=t(\"../common/e1fn\"),s=t(\"../common/e2fn\"),o=t(\"../common/e3fn\"),a=t(\"../common/mlfn\"),l=t(\"../common/adjust_lon\"),u=Math.PI/2,h=1e-10,c=t(\"../common/sign\"),p=t(\"../common/asinz\");i.init=function(){this.e0=n(this.es),this.e1=r(this.es),this.e2=s(this.es),this.e3=o(this.es),this.ml0=this.a*a(this.e0,this.e1,this.e2,this.e3,this.lat0)},i.forward=function(t){var e,i,n,r=t.x,s=t.y,o=l(r-this.long0),u=Math.sin(s),h=Math.cos(s);if(this.sphere){var c=h*Math.sin(o);if(Math.abs(Math.abs(c)-1)<1e-10)return 93;i=.5*this.a*this.k0*Math.log((1+c)/(1-c)),e=Math.acos(h*Math.cos(o)/Math.sqrt(1-c*c)),0>s&&(e=-e),n=this.a*this.k0*(e-this.lat0)}else{var p=h*o,d=Math.pow(p,2),f=this.ep2*Math.pow(h,2),g=Math.tan(s),m=Math.pow(g,2);e=1-this.es*Math.pow(u,2);var _=this.a/Math.sqrt(e),v=this.a*a(this.e0,this.e1,this.e2,this.e3,s);i=this.k0*_*p*(1+d/6*(1-m+f+d/20*(5-18*m+Math.pow(m,2)+72*f-58*this.ep2)))+this.x0,n=this.k0*(v-this.ml0+_*g*(d*(.5+d/24*(5-m+9*f+4*Math.pow(f,2)+d/30*(61-58*m+Math.pow(m,2)+600*f-330*this.ep2)))))+this.y0}return t.x=i,t.y=n,t},i.inverse=function(t){var e,i,n,r,s,o,a=6;if(this.sphere){var d=Math.exp(t.x/(this.a*this.k0)),f=.5*(d-1/d),g=this.lat0+t.y/(this.a*this.k0),m=Math.cos(g);e=Math.sqrt((1-m*m)/(1+f*f)),s=p(e),0>g&&(s=-s),o=0===f&&0===m?this.long0:l(Math.atan2(f,m)+this.long0)}else{var _=t.x-this.x0,v=t.y-this.y0;for(e=(this.ml0+v/this.k0)/this.a,i=e,r=0;!0&&(n=(e+this.e1*Math.sin(2*i)-this.e2*Math.sin(4*i)+this.e3*Math.sin(6*i))/this.e0-i,i+=n,!(Math.abs(n)<=h));r++)if(r>=a)return 95;if(Math.abs(i)<u){var y=Math.sin(i),b=Math.cos(i),w=Math.tan(i),x=this.ep2*Math.pow(b,2),k=Math.pow(x,2),M=Math.pow(w,2),C=Math.pow(M,2);e=1-this.es*Math.pow(y,2);var D=this.a/Math.sqrt(e),T=D*(1-this.es)/e,S=_/(D*this.k0),A=Math.pow(S,2);s=i-D*w*A/T*(.5-A/24*(5+3*M+10*x-4*k-9*this.ep2-A/30*(61+90*M+298*x+45*C-252*this.ep2-3*k))),o=l(this.long0+S*(1-A/6*(1+2*M+x-A/20*(5-2*x+28*M-3*k+8*this.ep2+24*C)))/b)}else s=u*c(v),o=this.long0}return t.x=o,t.y=s,t},i.names=[\"Transverse_Mercator\",\"Transverse Mercator\",\"tmerc\"]},{\"../common/adjust_lon\":24,\"../common/asinz\":25,\"../common/e0fn\":26,\"../common/e1fn\":27,\"../common/e2fn\":28,\"../common/e3fn\":29,\"../common/mlfn\":33,\"../common/sign\":40}],83:[function(t,e,i){var n=.017453292519943295,r=t(\"./tmerc\");i.dependsOn=\"tmerc\",i.init=function(){this.zone&&(this.lat0=0,this.long0=(6*Math.abs(this.zone)-183)*n,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,r.init.apply(this),this.forward=r.forward,this.inverse=r.inverse)},i.names=[\"Universal Transverse Mercator System\",\"utm\"]},{\"./tmerc\":82}],84:[function(t,e,i){var n=t(\"../common/adjust_lon\"),r=Math.PI/2,s=1e-10,o=t(\"../common/asinz\");i.init=function(){this.R=this.a},i.forward=function(t){var e,i,a=t.x,l=t.y,u=n(a-this.long0);Math.abs(l)<=s&&(e=this.x0+this.R*u,i=this.y0);var h=o(2*Math.abs(l/Math.PI));(Math.abs(u)<=s||Math.abs(Math.abs(l)-r)<=s)&&(e=this.x0,i=l>=0?this.y0+Math.PI*this.R*Math.tan(.5*h):this.y0+Math.PI*this.R*-Math.tan(.5*h));var c=.5*Math.abs(Math.PI/u-u/Math.PI),p=c*c,d=Math.sin(h),f=Math.cos(h),g=f/(d+f-1),m=g*g,_=g*(2/d-1),v=_*_,y=Math.PI*this.R*(c*(g-v)+Math.sqrt(p*(g-v)*(g-v)-(v+p)*(m-v)))/(v+p);0>u&&(y=-y),e=this.x0+y;var b=p+g;return y=Math.PI*this.R*(_*b-c*Math.sqrt((v+p)*(p+1)-b*b))/(v+p),i=l>=0?this.y0+y:this.y0-y,t.x=e,t.y=i,t},i.inverse=function(t){var e,i,r,o,a,l,u,h,c,p,d,f,g;return t.x-=this.x0,t.y-=this.y0,d=Math.PI*this.R,r=t.x/d,o=t.y/d,a=r*r+o*o,l=-Math.abs(o)*(1+a),u=l-2*o*o+r*r,h=-2*l+1+2*o*o+a*a,g=o*o/h+(2*u*u*u/h/h/h-9*l*u/h/h)/27,c=(l-u*u/3/h)/h,p=2*Math.sqrt(-c/3),d=3*g/c/p,Math.abs(d)>1&&(d=d>=0?1:-1),f=Math.acos(d)/3,i=t.y>=0?(-p*Math.cos(f+Math.PI/3)-u/3/h)*Math.PI:-(-p*Math.cos(f+Math.PI/3)-u/3/h)*Math.PI,e=Math.abs(r)<s?this.long0:n(this.long0+Math.PI*(a-1+Math.sqrt(1+2*(r*r-o*o)+a*a))/2/r),t.x=e,t.y=i,t},i.names=[\"Van_der_Grinten_I\",\"VanDerGrinten\",\"vandg\"]},{\"../common/adjust_lon\":24,\"../common/asinz\":25}],85:[function(t,e,i){var n=.017453292519943295,r=57.29577951308232,s=1,o=2,a=t(\"./datum_transform\"),l=t(\"./adjust_axis\"),u=t(\"./Proj\"),h=t(\"./common/toPoint\");e.exports=function c(t,e,i){function p(t,e){return(t.datum.datum_type===s||t.datum.datum_type===o)&&\"WGS84\"!==e.datumCode}var d;return Array.isArray(i)&&(i=h(i)),t.datum&&e.datum&&(p(t,e)||p(e,t))&&(d=new u(\"WGS84\"),c(t,d,i),t=d),\"enu\"!==t.axis&&l(t,!1,i),\"longlat\"===t.projName?(i.x*=n,i.y*=n):(t.to_meter&&(i.x*=t.to_meter,i.y*=t.to_meter),t.inverse(i)),t.from_greenwich&&(i.x+=t.from_greenwich),i=a(t.datum,e.datum,i),e.from_greenwich&&(i.x-=e.from_greenwich),\"longlat\"===e.projName?(i.x*=r,i.y*=r):(e.forward(i),e.to_meter&&(i.x/=e.to_meter,i.y/=e.to_meter)),\"enu\"!==e.axis&&l(e,!0,i),i}},{\"./Proj\":21,\"./adjust_axis\":22,\"./common/toPoint\":42,\"./datum_transform\":50}],86:[function(t,e,i){function n(t,e,i){t[e]=i.map(function(t){var e={};return r(t,e),e}).reduce(function(t,e){return u(t,e)},{})}function r(t,e){var i;return Array.isArray(t)?(i=t.shift(),\"PARAMETER\"===i&&(i=t.shift()),1===t.length?Array.isArray(t[0])?(e[i]={},r(t[0],e[i])):e[i]=t[0]:t.length?\"TOWGS84\"===i?e[i]=t:(e[i]={},[\"UNIT\",\"PRIMEM\",\"VERT_DATUM\"].indexOf(i)>-1?(e[i]={name:t[0].toLowerCase(),convert:t[1]},3===t.length&&(e[i].auth=t[2])):\"SPHEROID\"===i?(e[i]={name:t[0],a:t[1],rf:t[2]},4===t.length&&(e[i].auth=t[3])):[\"GEOGCS\",\"GEOCCS\",\"DATUM\",\"VERT_CS\",\"COMPD_CS\",\"LOCAL_CS\",\"FITTED_CS\",\"LOCAL_DATUM\"].indexOf(i)>-1?(t[0]=[\"name\",t[0]],n(e,i,t)):t.every(function(t){return Array.isArray(t)})?n(e,i,t):r(t,e[i])):e[i]=!0,void 0):void(e[t]=!0)}function s(t,e){var i=e[0],n=e[1];!(i in t)&&n in t&&(t[i]=t[n],3===e.length&&(t[i]=e[2](t[i])))}function o(t){return t*l}function a(t){function e(e){var i=t.to_meter||1;return parseFloat(e,10)*i}\"GEOGCS\"===t.type?t.projName=\"longlat\":\"LOCAL_CS\"===t.type?(t.projName=\"identity\",t.local=!0):\"object\"==typeof t.PROJECTION?t.projName=Object.keys(t.PROJECTION)[0]:t.projName=t.PROJECTION,t.UNIT&&(t.units=t.UNIT.name.toLowerCase(),\"metre\"===t.units&&(t.units=\"meter\"),t.UNIT.convert&&(t.to_meter=parseFloat(t.UNIT.convert,10))),t.GEOGCS&&(t.GEOGCS.DATUM?t.datumCode=t.GEOGCS.DATUM.name.toLowerCase():t.datumCode=t.GEOGCS.name.toLowerCase(),\"d_\"===t.datumCode.slice(0,2)&&(t.datumCode=t.datumCode.slice(2)),(\"new_zealand_geodetic_datum_1949\"===t.datumCode||\"new_zealand_1949\"===t.datumCode)&&(t.datumCode=\"nzgd49\"),\"wgs_1984\"===t.datumCode&&(\"Mercator_Auxiliary_Sphere\"===t.PROJECTION&&(t.sphere=!0),t.datumCode=\"wgs84\"),\"_ferro\"===t.datumCode.slice(-6)&&(t.datumCode=t.datumCode.slice(0,-6)),\"_jakarta\"===t.datumCode.slice(-8)&&(t.datumCode=t.datumCode.slice(0,-8)),~t.datumCode.indexOf(\"belge\")&&(t.datumCode=\"rnb72\"),t.GEOGCS.DATUM&&t.GEOGCS.DATUM.SPHEROID&&(t.ellps=t.GEOGCS.DATUM.SPHEROID.name.replace(\"_19\",\"\").replace(/[Cc]larke\\_18/,\"clrk\"),\"international\"===t.ellps.toLowerCase().slice(0,13)&&(t.ellps=\"intl\"),t.a=t.GEOGCS.DATUM.SPHEROID.a,t.rf=parseFloat(t.GEOGCS.DATUM.SPHEROID.rf,10)),~t.datumCode.indexOf(\"osgb_1936\")&&(t.datumCode=\"osgb36\")),t.b&&!isFinite(t.b)&&(t.b=t.a);var i=function(e){return s(t,e)},n=[[\"standard_parallel_1\",\"Standard_Parallel_1\"],[\"standard_parallel_2\",\"Standard_Parallel_2\"],[\"false_easting\",\"False_Easting\"],[\"false_northing\",\"False_Northing\"],[\"central_meridian\",\"Central_Meridian\"],[\"latitude_of_origin\",\"Latitude_Of_Origin\"],[\"latitude_of_origin\",\"Central_Parallel\"],[\"scale_factor\",\"Scale_Factor\"],[\"k0\",\"scale_factor\"],[\"latitude_of_center\",\"Latitude_of_center\"],[\"lat0\",\"latitude_of_center\",o],[\"longitude_of_center\",\"Longitude_Of_Center\"],[\"longc\",\"longitude_of_center\",o],[\"x0\",\"false_easting\",e],[\"y0\",\"false_northing\",e],[\"long0\",\"central_meridian\",o],[\"lat0\",\"latitude_of_origin\",o],[\"lat0\",\"standard_parallel_1\",o],[\"lat1\",\"standard_parallel_1\",o],[\"lat2\",\"standard_parallel_2\",o],[\"alpha\",\"azimuth\",o],[\"srsCode\",\"name\"]];n.forEach(i),t.long0||!t.longc||\"Albers_Conic_Equal_Area\"!==t.projName&&\"Lambert_Azimuthal_Equal_Area\"!==t.projName||(t.long0=t.longc),t.lat_ts||!t.lat1||\"Stereographic_South_Pole\"!==t.projName&&\"Polar Stereographic (variant B)\"!==t.projName||(t.lat0=o(t.lat1>0?90:-90),t.lat_ts=t.lat1)}var l=.017453292519943295,u=t(\"./extend\");e.exports=function(t,e){var i=JSON.parse((\",\"+t).replace(/\\s*\\,\\s*([A-Z_0-9]+?)(\\[)/g,',[\"$1\",').slice(1).replace(/\\s*\\,\\s*([A-Z_0-9]+?)\\]/g,',\"$1\"]').replace(/,\\[\"VERTCS\".+/,\"\")),n=i.shift(),s=i.shift();i.unshift([\"name\",s]),i.unshift([\"type\",n]),i.unshift(\"output\");var o={};return r(i,o),a(o.output),u(e,o.output)}},{\"./extend\":53}],87:[function(t,e,i){function n(t){return t*(Math.PI/180)}function r(t){return 180*(t/Math.PI)}function s(t){var e,i,r,s,o,l,u,h,c,p=t.lat,d=t.lon,f=6378137,g=.00669438,m=.9996,_=n(p),v=n(d);c=Math.floor((d+180)/6)+1,180===d&&(c=60),p>=56&&64>p&&d>=3&&12>d&&(c=32),p>=72&&84>p&&(d>=0&&9>d?c=31:d>=9&&21>d?c=33:d>=21&&33>d?c=35:d>=33&&42>d&&(c=37)),e=6*(c-1)-180+3,h=n(e),i=g/(1-g),r=f/Math.sqrt(1-g*Math.sin(_)*Math.sin(_)),s=Math.tan(_)*Math.tan(_),o=i*Math.cos(_)*Math.cos(_),l=Math.cos(_)*(v-h),u=f*((1-g/4-3*g*g/64-5*g*g*g/256)*_-(3*g/8+3*g*g/32+45*g*g*g/1024)*Math.sin(2*_)+(15*g*g/256+45*g*g*g/1024)*Math.sin(4*_)-35*g*g*g/3072*Math.sin(6*_));var y=m*r*(l+(1-s+o)*l*l*l/6+(5-18*s+s*s+72*o-58*i)*l*l*l*l*l/120)+5e5,b=m*(u+r*Math.tan(_)*(l*l/2+(5-s+9*o+4*o*o)*l*l*l*l/24+(61-58*s+s*s+600*o-330*i)*l*l*l*l*l*l/720));return 0>p&&(b+=1e7),{northing:Math.round(b),easting:Math.round(y),zoneNumber:c,zoneLetter:a(p)}}function o(t){var e=t.northing,i=t.easting,n=t.zoneLetter,s=t.zoneNumber;if(0>s||s>60)return null;var a,l,u,h,c,p,d,f,g,m,_=.9996,v=6378137,y=.00669438,b=(1-Math.sqrt(1-y))/(1+Math.sqrt(1-y)),w=i-5e5,x=e;\"N\">n&&(x-=1e7),f=6*(s-1)-180+3,a=y/(1-y),d=x/_,g=d/(v*(1-y/4-3*y*y/64-5*y*y*y/256)),m=g+(3*b/2-27*b*b*b/32)*Math.sin(2*g)+(21*b*b/16-55*b*b*b*b/32)*Math.sin(4*g)+151*b*b*b/96*Math.sin(6*g),l=v/Math.sqrt(1-y*Math.sin(m)*Math.sin(m)),u=Math.tan(m)*Math.tan(m),h=a*Math.cos(m)*Math.cos(m),c=v*(1-y)/Math.pow(1-y*Math.sin(m)*Math.sin(m),1.5),p=w/(l*_);var k=m-l*Math.tan(m)/c*(p*p/2-(5+3*u+10*h-4*h*h-9*a)*p*p*p*p/24+(61+90*u+298*h+45*u*u-252*a-3*h*h)*p*p*p*p*p*p/720);k=r(k);var M=(p-(1+2*u+h)*p*p*p/6+(5-2*h+28*u-3*h*h+8*a+24*u*u)*p*p*p*p*p/120)/Math.cos(m);M=f+r(M);var C;if(t.accuracy){var D=o({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});C={top:D.lat,right:D.lon,bottom:k,left:M}}else C={lat:k,lon:M};return C}function a(t){var e=\"Z\";return 84>=t&&t>=72?e=\"X\":72>t&&t>=64?e=\"W\":64>t&&t>=56?e=\"V\":56>t&&t>=48?e=\"U\":48>t&&t>=40?e=\"T\":40>t&&t>=32?e=\"S\":32>t&&t>=24?e=\"R\":24>t&&t>=16?e=\"Q\":16>t&&t>=8?e=\"P\":8>t&&t>=0?e=\"N\":0>t&&t>=-8?e=\"M\":-8>t&&t>=-16?e=\"L\":-16>t&&t>=-24?e=\"K\":-24>t&&t>=-32?e=\"J\":-32>t&&t>=-40?e=\"H\":-40>t&&t>=-48?e=\"G\":-48>t&&t>=-56?e=\"F\":-56>t&&t>=-64?e=\"E\":-64>t&&t>=-72?e=\"D\":-72>t&&t>=-80&&(e=\"C\"),e}function l(t,e){var i=\"00000\"+t.easting,n=\"00000\"+t.northing;return t.zoneNumber+t.zoneLetter+u(t.easting,t.northing,t.zoneNumber)+i.substr(i.length-5,e)+n.substr(n.length-5,e)}function u(t,e,i){var n=h(i),r=Math.floor(t/1e5),s=Math.floor(e/1e5)%20;return c(r,s,n)}function h(t){var e=t%m;return 0===e&&(e=m),e}function c(t,e,i){var n=i-1,r=_.charCodeAt(n),s=v.charCodeAt(n),o=r+t-1,a=s+e,l=!1;o>k&&(o=o-k+y-1,l=!0),(o===b||b>r&&o>b||(o>b||b>r)&&l)&&o++,(o===w||w>r&&o>w||(o>w||w>r)&&l)&&(o++,o===b&&o++),o>k&&(o=o-k+y-1),a>x?(a=a-x+y-1,l=!0):l=!1,(a===b||b>s&&a>b||(a>b||b>s)&&l)&&a++,(a===w||w>s&&a>w||(a>w||w>s)&&l)&&(a++,a===b&&a++),a>x&&(a=a-x+y-1);var u=String.fromCharCode(o)+String.fromCharCode(a);return u}function p(t){if(t&&0===t.length)throw\"MGRSPoint coverting from nothing\";for(var e,i=t.length,n=null,r=\"\",s=0;!/[A-Z]/.test(e=t.charAt(s));){if(s>=2)throw\"MGRSPoint bad conversion from: \"+t;r+=e,s++}var o=parseInt(r,10);if(0===s||s+3>i)throw\"MGRSPoint bad conversion from: \"+t;var a=t.charAt(s++);if(\"A\">=a||\"B\"===a||\"Y\"===a||a>=\"Z\"||\"I\"===a||\"O\"===a)throw\"MGRSPoint zone letter \"+a+\" not handled: \"+t;n=t.substring(s,s+=2);for(var l=h(o),u=d(n.charAt(0),l),c=f(n.charAt(1),l);c<g(a);)c+=2e6;var p=i-s;if(p%2!==0)throw\"MGRSPoint has to have an even number \\nof digits after the zone letter and two 100km letters - front \\nhalf for easting meters, second half for \\nnorthing meters\"+t;var m,_,v,y,b,w=p/2,x=0,k=0;return w>0&&(m=1e5/Math.pow(10,w),_=t.substring(s,s+w),x=parseFloat(_)*m,v=t.substring(s+w),k=parseFloat(v)*m),y=x+u,b=k+c,{easting:y,northing:b,zoneLetter:a,zoneNumber:o,accuracy:m}}function d(t,e){for(var i=_.charCodeAt(e-1),n=1e5,r=!1;i!==t.charCodeAt(0);){if(i++,i===b&&i++,i===w&&i++,i>k){if(r)throw\"Bad character: \"+t;i=y,r=!0}n+=1e5}return n}function f(t,e){if(t>\"V\")throw\"MGRSPoint given invalid Northing \"+t;for(var i=v.charCodeAt(e-1),n=0,r=!1;i!==t.charCodeAt(0);){if(i++,i===b&&i++,i===w&&i++,i>x){if(r)throw\"Bad character: \"+t;i=y,r=!0}n+=1e5}return n}function g(t){var e;switch(t){case\"C\":e=11e5;break;case\"D\":e=2e6;break;case\"E\":e=28e5;break;case\"F\":e=37e5;break;case\"G\":e=46e5;break;case\"H\":e=55e5;break;case\"J\":e=64e5;break;case\"K\":e=73e5;break;case\"L\":e=82e5;break;case\"M\":e=91e5;break;case\"N\":e=0;break;case\"P\":e=8e5;break;case\"Q\":e=17e5;break;case\"R\":e=26e5;break;case\"S\":e=35e5;break;case\"T\":e=44e5;break;case\"U\":e=53e5;break;case\"V\":e=62e5;break;case\"W\":e=7e6;break;case\"X\":e=79e5;break;default:e=-1}if(e>=0)return e;throw\"Invalid zone letter: \"+t}var m=6,_=\"AJSAJS\",v=\"AFAFAF\",y=65,b=73,w=79,x=86,k=90;i.forward=function(t,e){return e=e||5,l(s({lat:t[1],lon:t[0]}),e)},i.inverse=function(t){var e=o(p(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat,e.lon,e.lat]:[e.left,e.bottom,e.right,e.top]},i.toPoint=function(t){var e=o(p(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}},{}],88:[function(t,e,i){e.exports={name:\"proj4\",version:\"2.3.10\",description:\"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.\",main:\"lib/index.js\",directories:{test:\"test\",doc:\"docs\"},scripts:{test:\"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js\"},repository:{type:\"git\",url:\"git://github.com/proj4js/proj4js.git\"},author:\"\",license:\"MIT\",jam:{main:\"dist/proj4.js\",include:[\"dist/proj4.js\",\"README.md\",\"AUTHORS\",\"LICENSE.md\"]},devDependencies:{\"grunt-cli\":\"~0.1.13\",grunt:\"~0.4.2\",\"grunt-contrib-connect\":\"~0.6.0\",\"grunt-contrib-jshint\":\"~0.8.0\",chai:\"~1.8.1\",mocha:\"~1.17.1\",\"grunt-mocha-phantomjs\":\"~0.4.0\",browserify:\"~3.24.5\",\"grunt-browserify\":\"~1.3.0\",\"grunt-contrib-uglify\":\"~0.3.2\",curl:\"git://github.com/cujojs/curl.git\",istanbul:\"~0.2.4\",tin:\"~0.4.0\"},dependencies:{mgrs:\"~0.0.2\"},contributors:[{name:\"Mike Adair\",email:\"madair@dmsolutions.ca\"},{name:\"Richard Greenwood\",email:\"rich@greenwoodmap.com\"},{name:\"Calvin Metcalf\",email:\"calvin.metcalf@gmail.com\"},{name:\"Richard Marsden\",url:\"http://www.winwaed.com\"},{name:\"T. Mittan\"},{name:\"D. Steinwand\"},{name:\"S. Nelson\"}],gitHead:\"ac03d1439491dc313da80985193f702ca471b3d0\",bugs:{url:\"https://github.com/proj4js/proj4js/issues\"},homepage:\"https://github.com/proj4js/proj4js#readme\",_id:\"proj4@2.3.10\",_shasum:\"f6e66bdcca332c25a5e3d8ef265cfc9d7b60fd0c\",_from:\"proj4@>=2.3.10 <3.0.0\",_npmVersion:\"2.11.2\",_nodeVersion:\"0.12.5\",_npmUser:{name:\"ahocevar\",email:\"andreas.hocevar@gmail.com\"},maintainers:[{name:\"cwmma\",email:\"calvin.metcalf@gmail.com\"},{name:\"ahocevar\",email:\"andreas.hocevar@gmail.com\"}],dist:{shasum:\"f6e66bdcca332c25a5e3d8ef265cfc9d7b60fd0c\",tarball:\"http://registry.npmjs.org/proj4/-/proj4-2.3.10.tgz\"},_resolved:\"https://registry.npmjs.org/proj4/-/proj4-2.3.10.tgz\"}},{}],89:[function(t,e,i){!function(){\"use strict\";function t(e,i){return this instanceof t?(this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),i&&this._initFormat(i),void this.clear()):new t(e,i)}function i(t,e){t.bbox=n(t,0,t.children.length,e)}function n(t,e,i,n){for(var o,a=r(),l=e;i>l;l++)o=t.children[l],s(a,t.leaf?n(o):o.bbox);return a}function r(){return[1/0,1/0,-(1/0),-(1/0)]}function s(t,e){return t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t}function o(t,e){return t.bbox[0]-e.bbox[0]}function a(t,e){return t.bbox[1]-e.bbox[1]}function l(t){return(t[2]-t[0])*(t[3]-t[1])}function u(t){return t[2]-t[0]+(t[3]-t[1])}function h(t,e){return(Math.max(e[2],t[2])-Math.min(e[0],t[0]))*(Math.max(e[3],t[3])-Math.min(e[1],t[1]))}function c(t,e){var i=Math.max(t[0],e[0]),n=Math.max(t[1],e[1]),r=Math.min(t[2],e[2]),s=Math.min(t[3],e[3]);return Math.max(0,r-i)*Math.max(0,s-n)}function p(t,e){return t[0]<=e[0]&&t[1]<=e[1]&&e[2]<=t[2]&&e[3]<=t[3]}function d(t,e){return e[0]<=t[2]&&e[1]<=t[3]&&e[2]>=t[0]&&e[3]>=t[1]}function f(t,e,i,n,r){for(var s,o=[e,i];o.length;)i=o.pop(),e=o.pop(),n>=i-e||(s=e+Math.ceil((i-e)/n/2)*n,g(t,e,i,s,r),o.push(e,s,s,i))}function g(t,e,i,n,r){for(var s,o,a,l,u,h,c,p,d;i>e;){for(i-e>600&&(s=i-e+1,o=n-e+1,a=Math.log(s),l=.5*Math.exp(2*a/3),u=.5*Math.sqrt(a*l*(s-l)/s)*(0>o-s/2?-1:1),h=Math.max(e,Math.floor(n-o*l/s+u)),c=Math.min(i,Math.floor(n+(s-o)*l/s+u)),g(t,h,c,n,r)),p=t[n],o=e,d=i,m(t,e,n),r(t[i],p)>0&&m(t,e,i);d>o;){for(m(t,o,d),o++,d--;r(t[o],p)<0;)o++;for(;r(t[d],p)>0;)d--}0===r(t[e],p)?m(t,e,d):(d++,m(t,d,i)),n>=d&&(e=d+1),d>=n&&(i=d-1)}}function m(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}t.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,i=[],n=this.toBBox;if(!d(t,e.bbox))return i;for(var r,s,o,a,l=[];e;){for(r=0,s=e.children.length;s>r;r++)o=e.children[r],a=e.leaf?n(o):o.bbox,d(t,a)&&(e.leaf?i.push(o):p(t,a)?this._all(o,i):l.push(o));e=l.pop()}return i},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,i=t.length;i>e;e++)this.insert(t[e]);return this}var n=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var r=this.data;this.data=n,n=r}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},insert:function(t){\n",
       "        return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data={children:[],height:1,bbox:r(),leaf:!0},this},remove:function(t){if(!t)return this;for(var e,i,n,r,s=this.data,o=this.toBBox(t),a=[],l=[];s||a.length;){if(s||(s=a.pop(),i=a[a.length-1],e=l.pop(),r=!0),s.leaf&&(n=s.children.indexOf(t),-1!==n))return s.children.splice(n,1),a.push(s),this._condense(a),this;r||s.leaf||!p(s.bbox,o)?i?(e++,s=i.children[e],r=!1):s=null:(a.push(s),l.push(e),e=0,i=s,s=s.children[0])}return this},toBBox:function(t){return t},compareMinX:function(t,e){return t[0]-e[0]},compareMinY:function(t,e){return t[1]-e[1]},toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var i=[];t;)t.leaf?e.push.apply(e,t.children):i.push.apply(i,t.children),t=i.pop();return e},_build:function(t,e,n,r){var s,o=n-e+1,a=this._maxEntries;if(a>=o)return s={children:t.slice(e,n+1),height:1,bbox:null,leaf:!0},i(s,this.toBBox),s;r||(r=Math.ceil(Math.log(o)/Math.log(a)),a=Math.ceil(o/Math.pow(a,r-1))),s={children:[],height:r,bbox:null};var l,u,h,c,p=Math.ceil(o/a),d=p*Math.ceil(Math.sqrt(a));for(f(t,e,n,d,this.compareMinX),l=e;n>=l;l+=d)for(h=Math.min(l+d-1,n),f(t,l,h,p,this.compareMinY),u=l;h>=u;u+=p)c=Math.min(u+p-1,h),s.children.push(this._build(t,u,c,r-1));return i(s,this.toBBox),s},_chooseSubtree:function(t,e,i,n){for(var r,s,o,a,u,c,p,d;;){if(n.push(e),e.leaf||n.length-1===i)break;for(p=d=1/0,r=0,s=e.children.length;s>r;r++)o=e.children[r],u=l(o.bbox),c=h(t,o.bbox)-u,d>c?(d=c,p=p>u?u:p,a=o):c===d&&p>u&&(p=u,a=o);e=a}return e},_insert:function(t,e,i){var n=this.toBBox,r=i?t.bbox:n(t),o=[],a=this._chooseSubtree(r,this.data,e,o);for(a.children.push(t),s(a.bbox,r);e>=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(r,o,e)},_split:function(t,e){var n=t[e],r=n.children.length,s=this._minEntries;this._chooseSplitAxis(n,s,r);var o={children:n.children.splice(this._chooseSplitIndex(n,s,r)),height:n.height};n.leaf&&(o.leaf=!0),i(n,this.toBBox),i(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(n,o)},_splitRoot:function(t,e){this.data={children:[t,e],height:t.height+1},i(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,i){var r,s,o,a,u,h,p,d;for(h=p=1/0,r=e;i-e>=r;r++)s=n(t,0,r,this.toBBox),o=n(t,r,i,this.toBBox),a=c(s,o),u=l(s)+l(o),h>a?(h=a,d=r,p=p>u?u:p):a===h&&p>u&&(p=u,d=r);return d},_chooseSplitAxis:function(t,e,i){var n=t.leaf?this.compareMinX:o,r=t.leaf?this.compareMinY:a,s=this._allDistMargin(t,e,i,n),l=this._allDistMargin(t,e,i,r);l>s&&t.children.sort(n)},_allDistMargin:function(t,e,i,r){t.children.sort(r);var o,a,l=this.toBBox,h=n(t,0,e,l),c=n(t,i-e,i,l),p=u(h)+u(c);for(o=e;i-e>o;o++)a=t.children[o],s(h,t.leaf?l(a):a.bbox),p+=u(h);for(o=i-e-1;o>=e;o--)a=t.children[o],s(c,t.leaf?l(a):a.bbox),p+=u(c);return p},_adjustParentBBoxes:function(t,e,i){for(var n=i;n>=0;n--)s(e[n].bbox,t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children,e.splice(e.indexOf(t[n]),1)):this.clear():i(t[n],this.toBBox)},_initFormat:function(t){var e=[\"return a\",\" - b\",\";\"];this.compareMinX=new Function(\"a\",\"b\",e.join(t[0])),this.compareMinY=new Function(\"a\",\"b\",e.join(t[1])),this.toBBox=new Function(\"a\",\"return [a\"+t.join(\", a\")+\"];\")}},\"function\"==typeof define&&define.amd?define(\"rbush\",function(){return t}):\"undefined\"!=typeof e?e.exports=t:\"undefined\"!=typeof self?self.rbush=t:window.rbush=t}()},{}],90:[function(t,e,i){var n=function(){function t(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function e(t,e){for(var i=[];e>0;i[--e]=t);return i.join(\"\")}var i=function(){return i.cache.hasOwnProperty(arguments[0])||(i.cache[arguments[0]]=i.parse(arguments[0])),i.format.call(null,i.cache[arguments[0]],arguments)};return i.object_stringify=function(t,e,n,r){var s=\"\";if(null!=t)switch(typeof t){case\"function\":return\"[Function\"+(t.name?\": \"+t.name:\"\")+\"]\";case\"object\":if(t instanceof Error)return\"[\"+t.toString()+\"]\";if(e>=n)return\"[Object]\";if(r&&(r=r.slice(0),r.push(t)),null!=t.length){s+=\"[\";var o=[];for(var a in t)r&&r.indexOf(t[a])>=0?o.push(\"[Circular]\"):o.push(i.object_stringify(t[a],e+1,n,r));s+=o.join(\", \")+\"]\"}else{if(\"getMonth\"in t)return\"Date(\"+t+\")\";s+=\"{\";var o=[];for(var l in t)t.hasOwnProperty(l)&&(r&&r.indexOf(t[l])>=0?o.push(l+\": [Circular]\"):o.push(l+\": \"+i.object_stringify(t[l],e+1,n,r)));s+=o.join(\", \")+\"}\"}return s;case\"string\":return'\"'+t+'\"'}return\"\"+t},i.format=function(r,s){var o,a,l,u,h,c,p,d=1,f=r.length,g=\"\",m=[];for(a=0;f>a;a++)if(g=t(r[a]),\"string\"===g)m.push(r[a]);else if(\"array\"===g){if(u=r[a],u[2])for(o=s[d],l=0;l<u[2].length;l++){if(!o.hasOwnProperty(u[2][l]))throw new Error(n('[sprintf] property \"%s\" does not exist',u[2][l]));o=o[u[2][l]]}else o=u[1]?s[u[1]]:s[d++];if(/[^sO]/.test(u[8])&&\"number\"!=t(o))throw new Error(n('[sprintf] expecting number but found %s \"'+o+'\"',t(o)));switch(u[8]){case\"b\":o=o.toString(2);break;case\"c\":o=String.fromCharCode(o);break;case\"d\":o=parseInt(o,10);break;case\"e\":o=u[7]?o.toExponential(u[7]):o.toExponential();break;case\"f\":o=u[7]?parseFloat(o).toFixed(u[7]):parseFloat(o);break;case\"O\":o=i.object_stringify(o,0,parseInt(u[7])||5);break;case\"o\":o=o.toString(8);break;case\"s\":o=(o=String(o))&&u[7]?o.substring(0,u[7]):o;break;case\"u\":o=Math.abs(o);break;case\"x\":o=o.toString(16);break;case\"X\":o=o.toString(16).toUpperCase()}o=/[def]/.test(u[8])&&u[3]&&o>=0?\"+\"+o:o,c=u[4]?\"0\"==u[4]?\"0\":u[4].charAt(1):\" \",p=u[6]-String(o).length,h=u[6]?e(c,p):\"\",m.push(u[5]?o+h:h+o)}return m.join(\"\")},i.cache={},i.parse=function(t){for(var e=t,i=[],n=[],r=0;e;){if(null!==(i=/^[^\\x25]+/.exec(e)))n.push(i[0]);else if(null!==(i=/^\\x25{2}/.exec(e)))n.push(\"%\");else{if(null===(i=/^\\x25(?:([1-9]\\d*)\\$|\\(([^\\)]+)\\))?(\\+)?(0|'[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-fosOuxX])/.exec(e)))throw new Error(\"[sprintf] \"+e);if(i[2]){r|=1;var s=[],o=i[2],a=[];if(null===(a=/^([a-z_][a-z_\\d]*)/i.exec(o)))throw new Error(\"[sprintf] \"+o);for(s.push(a[1]);\"\"!==(o=o.substring(a[0].length));)if(null!==(a=/^\\.([a-z_][a-z_\\d]*)/i.exec(o)))s.push(a[1]);else{if(null===(a=/^\\[(\\d+)\\]/.exec(o)))throw new Error(\"[sprintf] \"+o);s.push(a[1])}i[2]=s}else r|=2;if(3===r)throw new Error(\"[sprintf] mixing positional and named placeholders is not (yet) supported\");n.push(i)}e=e.substring(i[0].length)}return n},i}(),r=function(t,e){var i=e.slice();return i.unshift(t),n.apply(null,i)};e.exports=n,n.sprintf=n,n.vsprintf=r},{}],91:[function(t,e,i){!function(t){\"object\"==typeof e&&e.exports?e.exports=t():\"function\"==typeof define?define(t):this.tz=t()}(function(){function t(t,e,i){var n,r=e.day[1];do n=new Date(Date.UTC(i,e.month,Math.abs(r++)));while(e.day[0]<7&&n.getUTCDay()!=e.day[0]);return n={clock:e.clock,sort:n.getTime(),rule:e,save:6e4*e.save,offset:t.offset},n[n.clock]=n.sort+6e4*e.time,n.posix?n.wallclock=n[n.clock]+(t.offset+e.saved):n.posix=n[n.clock]-(t.offset+e.saved),n}function e(e,i,n){var r,s,o,a,l,u,h,c=e[e.zone],p=[],d=new Date(n).getUTCFullYear(),f=1;for(r=1,s=c.length;s>r&&!(c[r][i]<=n);r++);if(o=c[r],o.rules){for(u=e[o.rules],h=d+1;h>=d-f;--h)for(r=0,s=u.length;s>r;r++)u[r].from<=h&&h<=u[r].to?p.push(t(o,u[r],h)):u[r].to<h&&1==f&&(f=h-u[r].to);for(p.sort(function(t,e){return t.sort-e.sort}),r=0,s=p.length;s>r;r++)n>=p[r][i]&&p[r][p[r].clock]>o[p[r].clock]&&(a=p[r])}return a&&((l=/^(.*)\\/(.*)$/.exec(o.format))?a.abbrev=l[a.save?2:1]:a.abbrev=o.format.replace(/%s/,a.rule.letter)),a||o}function i(t,i){return\"UTC\"==t.zone?i:(t.entry=e(t,\"posix\",i),i+t.entry.offset+t.entry.save)}function n(t,i){if(\"UTC\"==t.zone)return i;var n,r;return t.entry=n=e(t,\"wallclock\",i),r=i-n.wallclock,r>0&&r<n.save?null:i-n.offset-n.save}function r(t,e,r){var s,o=+(r[1]+1),a=r[2]*o,l=u.indexOf(r[3].toLowerCase());if(l>9)e+=a*c[l-10];else{if(s=new Date(i(t,e)),7>l)for(;a;)s.setUTCDate(s.getUTCDate()+o),s.getUTCDay()==l&&(a-=o);else 7==l?s.setUTCFullYear(s.getUTCFullYear()+a):8==l?s.setUTCMonth(s.getUTCMonth()+a):s.setUTCDate(s.getUTCDate()+a);null==(e=n(t,s.getTime()))&&(e=n(t,s.getTime()+864e5*o)-864e5*o)}return e}function s(t){if(!t.length)return\"0.0.38\";var e,s,o,a,l,u=Object.create(this),c=[];for(e=0;e<t.length;e++)if(a=t[e],Array.isArray(a))e||isNaN(a[1])?a.splice.apply(t,[e--,1].concat(a)):l=a;else if(isNaN(a)){if(o=typeof a,\"string\"==o)~a.indexOf(\"%\")?u.format=a:e||\"*\"!=a?!e&&(o=/^(\\d{4})-(\\d{2})-(\\d{2})(?:[T\\s](\\d{2}):(\\d{2})(?::(\\d{2})(?:\\.(\\d+))?)?(Z|(([+-])(\\d{2}(:\\d{2}){0,2})))?)?$/.exec(a))?(l=[],l.push.apply(l,o.slice(1,8)),o[9]?(l.push(o[10]+1),l.push.apply(l,o[11].split(/:/))):o[8]&&l.push(1)):/^\\w{2,3}_\\w{2}$/.test(a)?u.locale=a:(o=h.exec(a))?c.push(o):u.zone=a:l=a;else if(\"function\"==o){if(o=a.call(u))return o}else if(/^\\w{2,3}_\\w{2}$/.test(a.name))u[a.name]=a;else if(a.zones){for(o in a.zones)u[o]=a.zones[o];for(o in a.rules)u[o]=a.rules[o]}}else e||(l=a);if(u[u.locale]||delete u.locale,u[u.zone]||delete u.zone,null!=l){if(\"*\"==l)l=u.clock();else if(Array.isArray(l)){for(s=!l[7],e=0;11>e;e++)l[e]=+(l[e]||0);--l[1],l=Date.UTC.apply(Date.UTC,l.slice(0,8))+-l[7]*(36e5*l[8]+6e4*l[9]+1e3*l[10])}else l=Math.floor(l);if(!isNaN(l)){if(s&&(l=n(u,l)),null==l)return l;for(e=0,s=c.length;s>e;e++)l=r(u,l,c[e]);return u.format?(o=new Date(i(u,l)),u.format.replace(/%([-0_^]?)(:{0,3})(\\d*)(.)/g,function(t,e,i,n,r){var s,a,h=\"0\";if(s=u[r]){for(t=String(s.call(u,o,l,e,i.length)),\"_\"==(e||s.style)&&(h=\" \"),a=\"-\"==e?0:s.pad||0;t.length<a;)t=h+t;for(a=\"-\"==e?0:n||s.pad;t.length<a;)t=h+t;\"N\"==r&&a<t.length&&(t=t.slice(0,a)),\"^\"==e&&(t=t.toUpperCase())}return t})):l}}return function(){return u.convert(arguments)}}function o(t,e){var i,n,r;return n=new Date(Date.UTC(t.getUTCFullYear(),0)),i=Math.floor((t.getTime()-n.getTime())/864e5),n.getUTCDay()==e?r=0:(r=7-n.getUTCDay()+e,8==r&&(r=1)),i>=r?Math.floor((i-r)/7)+1:0}function a(t){var e,i,n;return i=t.getUTCFullYear(),e=new Date(Date.UTC(i,0)).getUTCDay(),n=o(t,1)+(e>1&&4>=e?1:0),n?53!=n||4==e||3==e&&29==new Date(i,1,29).getDate()?[n,t.getUTCFullYear()]:[1,t.getUTCFullYear()+1]:(i=t.getUTCFullYear()-1,e=new Date(Date.UTC(i,0)).getUTCDay(),n=4==e||3==e&&29==new Date(i,1,29).getDate()?53:52,[n,t.getUTCFullYear()-1])}var l={clock:function(){return+new Date},zone:\"UTC\",entry:{abbrev:\"UTC\",offset:0,save:0},UTC:1,z:function(t,e,i,n){var r,s,o=this.entry.offset+this.entry.save,a=Math.abs(o/1e3),l=[],u=3600;for(r=0;3>r;r++)l.push((\"0\"+Math.floor(a/u)).slice(-2)),a%=u,u/=60;return\"^\"!=i||o?(\"^\"==i&&(n=3),3==n?(s=l.join(\":\"),s=s.replace(/:00$/,\"\"),\"^\"!=i&&(s=s.replace(/:00$/,\"\"))):n?(s=l.slice(0,n+1).join(\":\"),\"^\"==i&&(s=s.replace(/:00$/,\"\"))):s=l.slice(0,2).join(\"\"),s=(0>o?\"-\":\"+\")+s,s=s.replace(/([-+])(0)/,{_:\" $1\",\"-\":\"$1\"}[i]||\"$1$2\")):\"Z\"},\"%\":function(t){return\"%\"},n:function(t){return\"\\n\"},t:function(t){return\"\t\"},U:function(t){return o(t,0)},W:function(t){return o(t,1)},V:function(t){return a(t)[0]},G:function(t){return a(t)[1]},g:function(t){return a(t)[1]%100},j:function(t){return Math.floor((t.getTime()-Date.UTC(t.getUTCFullYear(),0))/864e5)+1},s:function(t){return Math.floor(t.getTime()/1e3)},C:function(t){return Math.floor(t.getUTCFullYear()/100)},N:function(t){return t.getTime()%1e3*1e6},m:function(t){return t.getUTCMonth()+1},Y:function(t){return t.getUTCFullYear()},y:function(t){return t.getUTCFullYear()%100},H:function(t){return t.getUTCHours()},M:function(t){return t.getUTCMinutes()},S:function(t){return t.getUTCSeconds()},e:function(t){return t.getUTCDate()},d:function(t){return t.getUTCDate()},u:function(t){return t.getUTCDay()||7},w:function(t){return t.getUTCDay()},l:function(t){return t.getUTCHours()%12||12},I:function(t){return t.getUTCHours()%12||12},k:function(t){return t.getUTCHours()},Z:function(t){return this.entry.abbrev},a:function(t){return this[this.locale].day.abbrev[t.getUTCDay()]},A:function(t){return this[this.locale].day.full[t.getUTCDay()]},h:function(t){return this[this.locale].month.abbrev[t.getUTCMonth()]},b:function(t){return this[this.locale].month.abbrev[t.getUTCMonth()]},B:function(t){return this[this.locale].month.full[t.getUTCMonth()]},P:function(t){return this[this.locale].meridiem[Math.floor(t.getUTCHours()/12)].toLowerCase()},p:function(t){return this[this.locale].meridiem[Math.floor(t.getUTCHours()/12)]},R:function(t,e){return this.convert([e,\"%H:%M\"])},T:function(t,e){return this.convert([e,\"%H:%M:%S\"])},D:function(t,e){return this.convert([e,\"%m/%d/%y\"])},F:function(t,e){return this.convert([e,\"%Y-%m-%d\"])},x:function(t,e){return this.convert([e,this[this.locale].date])},r:function(t,e){return this.convert([e,this[this.locale].time12||\"%I:%M:%S\"])},X:function(t,e){return this.convert([e,this[this.locale].time24])},c:function(t,e){return this.convert([e,this[this.locale].dateTime])},convert:s,locale:\"en_US\",en_US:{date:\"%m/%d/%Y\",time24:\"%I:%M:%S %p\",time12:\"%I:%M:%S %p\",dateTime:\"%a %d %b %Y %I:%M:%S %p %Z\",meridiem:[\"AM\",\"PM\"],month:{abbrev:\"Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec\".split(\"|\"),full:\"January|February|March|April|May|June|July|August|September|October|November|December\".split(\"|\")},day:{abbrev:\"Sun|Mon|Tue|Wed|Thu|Fri|Sat\".split(\"|\"),full:\"Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday\".split(\"|\")}}},u=\"Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|year|month|day|hour|minute|second|millisecond\",h=new RegExp(\"^\\\\s*([+-])(\\\\d+)\\\\s+(\"+u+\")s?\\\\s*$\",\"i\"),c=[36e5,6e4,1e3,1];return u=u.toLowerCase().split(\"|\"),\"delmHMSUWVgCIky\".replace(/./g,function(t){l[t].pad=2}),l.N.pad=9,l.j.pad=3,l.k.style=\"_\",l.l.style=\"_\",l.e.style=\"_\",function(){return l.convert(arguments)}})},{}],92:[function(t,e,i){(function(){function t(t){function e(e,i,n,r,s,o){for(;s>=0&&o>s;s+=t){var a=r?r[s]:s;n=i(n,e[a],a,e)}return n}return function(i,n,r,s){n=w(n,s,4);var o=!S(i)&&b.keys(i),a=(o||i).length,l=t>0?0:a-1;return arguments.length<3&&(r=i[o?o[l]:l],l+=t),e(i,n,r,o,l,a)}}function n(t){return function(e,i,n){i=x(i,n);for(var r=T(e),s=t>0?0:r-1;s>=0&&r>s;s+=t)if(i(e[s],s,e))return s;return-1}}function r(t,e,i){return function(n,r,s){var o=0,a=T(n);if(\"number\"==typeof s)t>0?o=s>=0?s:Math.max(s+a,o):a=s>=0?Math.min(s+1,a):s+a+1;else if(i&&s&&a)return s=i(n,r),n[s]===r?s:-1;if(r!==r)return s=e(p.call(n,o,a),b.isNaN),s>=0?s+o:-1;for(s=t>0?o:a-1;s>=0&&a>s;s+=t)if(n[s]===r)return s;return-1}}function s(t,e){var i=N.length,n=t.constructor,r=b.isFunction(n)&&n.prototype||u,s=\"constructor\";for(b.has(t,s)&&!b.contains(e,s)&&e.push(s);i--;)s=N[i],s in t&&t[s]!==r[s]&&!b.contains(e,s)&&e.push(s)}var o=this,a=o._,l=Array.prototype,u=Object.prototype,h=Function.prototype,c=l.push,p=l.slice,d=u.toString,f=u.hasOwnProperty,g=Array.isArray,m=Object.keys,_=h.bind,v=Object.create,y=function(){},b=function(t){return t instanceof b?t:this instanceof b?void(this._wrapped=t):new b(t)};\"undefined\"!=typeof i?(\"undefined\"!=typeof e&&e.exports&&(i=e.exports=b),i._=b):o._=b,b.VERSION=\"1.8.3\";var w=function(t,e,i){if(void 0===e)return t;switch(null==i?3:i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)};case 4:return function(i,n,r,s){return t.call(e,i,n,r,s)}}return function(){return t.apply(e,arguments)}},x=function(t,e,i){return null==t?b.identity:b.isFunction(t)?w(t,e,i):b.isObject(t)?b.matcher(t):b.property(t)};b.iteratee=function(t,e){return x(t,e,1/0)};var k=function(t,e){return function(i){var n=arguments.length;if(2>n||null==i)return i;for(var r=1;n>r;r++)for(var s=arguments[r],o=t(s),a=o.length,l=0;a>l;l++){var u=o[l];e&&void 0!==i[u]||(i[u]=s[u])}return i}},M=function(t){if(!b.isObject(t))return{};if(v)return v(t);y.prototype=t;var e=new y;return y.prototype=null,e},C=function(t){return function(e){return null==e?void 0:e[t]}},D=Math.pow(2,53)-1,T=C(\"length\"),S=function(t){var e=T(t);return\"number\"==typeof e&&e>=0&&D>=e};b.each=b.forEach=function(t,e,i){e=w(e,i);var n,r;if(S(t))for(n=0,r=t.length;r>n;n++)e(t[n],n,t);else{var s=b.keys(t);for(n=0,r=s.length;r>n;n++)e(t[s[n]],s[n],t)}return t},b.map=b.collect=function(t,e,i){e=x(e,i);for(var n=!S(t)&&b.keys(t),r=(n||t).length,s=Array(r),o=0;r>o;o++){var a=n?n[o]:o;s[o]=e(t[a],a,t)}return s},b.reduce=b.foldl=b.inject=t(1),b.reduceRight=b.foldr=t(-1),b.find=b.detect=function(t,e,i){var n;return n=S(t)?b.findIndex(t,e,i):b.findKey(t,e,i),void 0!==n&&-1!==n?t[n]:void 0},b.filter=b.select=function(t,e,i){var n=[];return e=x(e,i),b.each(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n},b.reject=function(t,e,i){return b.filter(t,b.negate(x(e)),i)},b.every=b.all=function(t,e,i){e=x(e,i);for(var n=!S(t)&&b.keys(t),r=(n||t).length,s=0;r>s;s++){var o=n?n[s]:s;if(!e(t[o],o,t))return!1}return!0},b.some=b.any=function(t,e,i){e=x(e,i);for(var n=!S(t)&&b.keys(t),r=(n||t).length,s=0;r>s;s++){var o=n?n[s]:s;if(e(t[o],o,t))return!0}return!1},b.contains=b.includes=b.include=function(t,e,i,n){return S(t)||(t=b.values(t)),(\"number\"!=typeof i||n)&&(i=0),b.indexOf(t,e,i)>=0},b.invoke=function(t,e){var i=p.call(arguments,2),n=b.isFunction(e);return b.map(t,function(t){var r=n?e:t[e];return null==r?r:r.apply(t,i)})},b.pluck=function(t,e){return b.map(t,b.property(e))},b.where=function(t,e){return b.filter(t,b.matcher(e))},b.findWhere=function(t,e){return b.find(t,b.matcher(e))},b.max=function(t,e,i){var n,r,s=-(1/0),o=-(1/0);if(null==e&&null!=t){t=S(t)?t:b.values(t);for(var a=0,l=t.length;l>a;a++)n=t[a],n>s&&(s=n)}else e=x(e,i),b.each(t,function(t,i,n){r=e(t,i,n),(r>o||r===-(1/0)&&s===-(1/0))&&(s=t,o=r)});return s},b.min=function(t,e,i){var n,r,s=1/0,o=1/0;if(null==e&&null!=t){t=S(t)?t:b.values(t);for(var a=0,l=t.length;l>a;a++)n=t[a],s>n&&(s=n)}else e=x(e,i),b.each(t,function(t,i,n){r=e(t,i,n),(o>r||r===1/0&&s===1/0)&&(s=t,o=r)});return s},b.shuffle=function(t){for(var e,i=S(t)?t:b.values(t),n=i.length,r=Array(n),s=0;n>s;s++)e=b.random(0,s),e!==s&&(r[s]=r[e]),r[e]=i[s];return r},b.sample=function(t,e,i){return null==e||i?(S(t)||(t=b.values(t)),t[b.random(t.length-1)]):b.shuffle(t).slice(0,Math.max(0,e))},b.sortBy=function(t,e,i){return e=x(e,i),b.pluck(b.map(t,function(t,i,n){return{value:t,index:i,criteria:e(t,i,n)}}).sort(function(t,e){var i=t.criteria,n=e.criteria;if(i!==n){if(i>n||void 0===i)return 1;if(n>i||void 0===n)return-1}return t.index-e.index}),\"value\")};var A=function(t){return function(e,i,n){var r={};return i=x(i,n),b.each(e,function(n,s){var o=i(n,s,e);t(r,n,o)}),r}};b.groupBy=A(function(t,e,i){b.has(t,i)?t[i].push(e):t[i]=[e]}),b.indexBy=A(function(t,e,i){t[i]=e}),b.countBy=A(function(t,e,i){b.has(t,i)?t[i]++:t[i]=1}),b.toArray=function(t){return t?b.isArray(t)?p.call(t):S(t)?b.map(t,b.identity):b.values(t):[]},b.size=function(t){return null==t?0:S(t)?t.length:b.keys(t).length},b.partition=function(t,e,i){e=x(e,i);var n=[],r=[];return b.each(t,function(t,i,s){(e(t,i,s)?n:r).push(t)}),[n,r]},b.first=b.head=b.take=function(t,e,i){return null==t?void 0:null==e||i?t[0]:b.initial(t,t.length-e)},b.initial=function(t,e,i){return p.call(t,0,Math.max(0,t.length-(null==e||i?1:e)))},b.last=function(t,e,i){return null==t?void 0:null==e||i?t[t.length-1]:b.rest(t,Math.max(0,t.length-e))},b.rest=b.tail=b.drop=function(t,e,i){return p.call(t,null==e||i?1:e)},b.compact=function(t){return b.filter(t,b.identity)};var P=function(t,e,i,n){for(var r=[],s=0,o=n||0,a=T(t);a>o;o++){var l=t[o];if(S(l)&&(b.isArray(l)||b.isArguments(l))){e||(l=P(l,e,i));var u=0,h=l.length;for(r.length+=h;h>u;)r[s++]=l[u++]}else i||(r[s++]=l)}return r};b.flatten=function(t,e){return P(t,e,!1)},b.without=function(t){return b.difference(t,p.call(arguments,1))},b.uniq=b.unique=function(t,e,i,n){b.isBoolean(e)||(n=i,i=e,e=!1),null!=i&&(i=x(i,n));for(var r=[],s=[],o=0,a=T(t);a>o;o++){var l=t[o],u=i?i(l,o,t):l;e?(o&&s===u||r.push(l),s=u):i?b.contains(s,u)||(s.push(u),r.push(l)):b.contains(r,l)||r.push(l)}return r},b.union=function(){return b.uniq(P(arguments,!0,!0))},b.intersection=function(t){for(var e=[],i=arguments.length,n=0,r=T(t);r>n;n++){var s=t[n];if(!b.contains(e,s)){for(var o=1;i>o&&b.contains(arguments[o],s);o++);o===i&&e.push(s)}}return e},b.difference=function(t){var e=P(arguments,!0,!0,1);return b.filter(t,function(t){return!b.contains(e,t)})},b.zip=function(){return b.unzip(arguments)},b.unzip=function(t){for(var e=t&&b.max(t,T).length||0,i=Array(e),n=0;e>n;n++)i[n]=b.pluck(t,n);return i},b.object=function(t,e){for(var i={},n=0,r=T(t);r>n;n++)e?i[t[n]]=e[n]:i[t[n][0]]=t[n][1];return i},b.findIndex=n(1),b.findLastIndex=n(-1),b.sortedIndex=function(t,e,i,n){i=x(i,n,1);for(var r=i(e),s=0,o=T(t);o>s;){var a=Math.floor((s+o)/2);i(t[a])<r?s=a+1:o=a}return s},b.indexOf=r(1,b.findIndex,b.sortedIndex),b.lastIndexOf=r(-1,b.findLastIndex),b.range=function(t,e,i){null==e&&(e=t||0,t=0),i=i||1;for(var n=Math.max(Math.ceil((e-t)/i),0),r=Array(n),s=0;n>s;s++,t+=i)r[s]=t;return r};var E=function(t,e,i,n,r){if(!(n instanceof e))return t.apply(i,r);var s=M(t.prototype),o=t.apply(s,r);return b.isObject(o)?o:s};b.bind=function(t,e){if(_&&t.bind===_)return _.apply(t,p.call(arguments,1));if(!b.isFunction(t))throw new TypeError(\"Bind must be called on a function\");var i=p.call(arguments,2),n=function(){return E(t,n,e,this,i.concat(p.call(arguments)))};return n},b.partial=function(t){var e=p.call(arguments,1),i=function(){for(var n=0,r=e.length,s=Array(r),o=0;r>o;o++)s[o]=e[o]===b?arguments[n++]:e[o];for(;n<arguments.length;)s.push(arguments[n++]);return E(t,i,this,this,s)};return i},b.bindAll=function(t){var e,i,n=arguments.length;if(1>=n)throw new Error(\"bindAll must be passed function names\");for(e=1;n>e;e++)i=arguments[e],t[i]=b.bind(t[i],t);return t},b.memoize=function(t,e){var i=function(n){var r=i.cache,s=\"\"+(e?e.apply(this,arguments):n);return b.has(r,s)||(r[s]=t.apply(this,arguments)),r[s]};return i.cache={},i},b.delay=function(t,e){var i=p.call(arguments,2);return setTimeout(function(){return t.apply(null,i)},e)},b.defer=b.partial(b.delay,b,1),b.throttle=function(t,e,i){var n,r,s,o=null,a=0;i||(i={});var l=function(){a=i.leading===!1?0:b.now(),o=null,s=t.apply(n,r),o||(n=r=null)};return function(){var u=b.now();a||i.leading!==!1||(a=u);var h=e-(u-a);return n=this,r=arguments,0>=h||h>e?(o&&(clearTimeout(o),o=null),a=u,s=t.apply(n,r),o||(n=r=null)):o||i.trailing===!1||(o=setTimeout(l,h)),s}},b.debounce=function(t,e,i){var n,r,s,o,a,l=function(){var u=b.now()-o;e>u&&u>=0?n=setTimeout(l,e-u):(n=null,i||(a=t.apply(s,r),n||(s=r=null)))};return function(){s=this,r=arguments,o=b.now();var u=i&&!n;return n||(n=setTimeout(l,e)),u&&(a=t.apply(s,r),s=r=null),a}},b.wrap=function(t,e){return b.partial(e,t)},b.negate=function(t){return function(){return!t.apply(this,arguments)}},b.compose=function(){var t=arguments,e=t.length-1;return function(){for(var i=e,n=t[e].apply(this,arguments);i--;)n=t[i].call(this,n);return n}},b.after=function(t,e){return function(){return--t<1?e.apply(this,arguments):void 0}},b.before=function(t,e){var i;return function(){return--t>0&&(i=e.apply(this,arguments)),1>=t&&(e=null),i}},b.once=b.partial(b.before,2);var I=!{toString:null}.propertyIsEnumerable(\"toString\"),N=[\"valueOf\",\"isPrototypeOf\",\"toString\",\"propertyIsEnumerable\",\"hasOwnProperty\",\"toLocaleString\"];b.keys=function(t){if(!b.isObject(t))return[];if(m)return m(t);var e=[];for(var i in t)b.has(t,i)&&e.push(i);return I&&s(t,e),e},b.allKeys=function(t){if(!b.isObject(t))return[];var e=[];for(var i in t)e.push(i);return I&&s(t,e),e},b.values=function(t){for(var e=b.keys(t),i=e.length,n=Array(i),r=0;i>r;r++)n[r]=t[e[r]];return n},b.mapObject=function(t,e,i){e=x(e,i);for(var n,r=b.keys(t),s=r.length,o={},a=0;s>a;a++)n=r[a],o[n]=e(t[n],n,t);return o},b.pairs=function(t){for(var e=b.keys(t),i=e.length,n=Array(i),r=0;i>r;r++)n[r]=[e[r],t[e[r]]];return n},b.invert=function(t){for(var e={},i=b.keys(t),n=0,r=i.length;r>n;n++)e[t[i[n]]]=i[n];return e},b.functions=b.methods=function(t){var e=[];for(var i in t)b.isFunction(t[i])&&e.push(i);return e.sort()},b.extend=k(b.allKeys),b.extendOwn=b.assign=k(b.keys),b.findKey=function(t,e,i){e=x(e,i);for(var n,r=b.keys(t),s=0,o=r.length;o>s;s++)if(n=r[s],e(t[n],n,t))return n},b.pick=function(t,e,i){var n,r,s={},o=t;if(null==o)return s;b.isFunction(e)?(r=b.allKeys(o),n=w(e,i)):(r=P(arguments,!1,!1,1),n=function(t,e,i){return e in i},o=Object(o));for(var a=0,l=r.length;l>a;a++){var u=r[a],h=o[u];n(h,u,o)&&(s[u]=h)}return s},b.omit=function(t,e,i){if(b.isFunction(e))e=b.negate(e);else{var n=b.map(P(arguments,!1,!1,1),String);e=function(t,e){return!b.contains(n,e)}}return b.pick(t,e,i)},b.defaults=k(b.allKeys,!0),b.create=function(t,e){var i=M(t);return e&&b.extendOwn(i,e),i},b.clone=function(t){return b.isObject(t)?b.isArray(t)?t.slice():b.extend({},t):t},b.tap=function(t,e){return e(t),t},b.isMatch=function(t,e){var i=b.keys(e),n=i.length;if(null==t)return!n;for(var r=Object(t),s=0;n>s;s++){var o=i[s];if(e[o]!==r[o]||!(o in r))return!1}return!0};var R=function(t,e,i,n){if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;t instanceof b&&(t=t._wrapped),e instanceof b&&(e=e._wrapped);var r=d.call(t);if(r!==d.call(e))return!1;switch(r){case\"[object RegExp]\":case\"[object String]\":return\"\"+t==\"\"+e;case\"[object Number]\":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case\"[object Date]\":case\"[object Boolean]\":return+t===+e}var s=\"[object Array]\"===r;if(!s){if(\"object\"!=typeof t||\"object\"!=typeof e)return!1;var o=t.constructor,a=e.constructor;if(o!==a&&!(b.isFunction(o)&&o instanceof o&&b.isFunction(a)&&a instanceof a)&&\"constructor\"in t&&\"constructor\"in e)return!1}i=i||[],n=n||[];for(var l=i.length;l--;)if(i[l]===t)return n[l]===e;if(i.push(t),n.push(e),s){if(l=t.length,l!==e.length)return!1;for(;l--;)if(!R(t[l],e[l],i,n))return!1}else{var u,h=b.keys(t);if(l=h.length,b.keys(e).length!==l)return!1;for(;l--;)if(u=h[l],!b.has(e,u)||!R(t[u],e[u],i,n))return!1}return i.pop(),n.pop(),!0};b.isEqual=function(t,e){return R(t,e)},b.isEmpty=function(t){return null==t?!0:S(t)&&(b.isArray(t)||b.isString(t)||b.isArguments(t))?0===t.length:0===b.keys(t).length},b.isElement=function(t){return!(!t||1!==t.nodeType)},b.isArray=g||function(t){return\"[object Array]\"===d.call(t)},b.isObject=function(t){var e=typeof t;return\"function\"===e||\"object\"===e&&!!t},b.each([\"Arguments\",\"Function\",\"String\",\"Number\",\"Date\",\"RegExp\",\"Error\"],function(t){b[\"is\"+t]=function(e){return d.call(e)===\"[object \"+t+\"]\"}}),b.isArguments(arguments)||(b.isArguments=function(t){return b.has(t,\"callee\")}),\"function\"!=typeof/./&&\"object\"!=typeof Int8Array&&(b.isFunction=function(t){return\"function\"==typeof t||!1}),b.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},b.isNaN=function(t){return b.isNumber(t)&&t!==+t},b.isBoolean=function(t){return t===!0||t===!1||\"[object Boolean]\"===d.call(t)},b.isNull=function(t){return null===t},b.isUndefined=function(t){return void 0===t},b.has=function(t,e){return null!=t&&f.call(t,e)},b.noConflict=function(){return o._=a,this},b.identity=function(t){return t},b.constant=function(t){return function(){return t}},b.noop=function(){},b.property=C,b.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},b.matcher=b.matches=function(t){return t=b.extendOwn({},t),function(e){return b.isMatch(e,t)}},b.times=function(t,e,i){var n=Array(Math.max(0,t));e=w(e,i,1);for(var r=0;t>r;r++)n[r]=e(r);return n},b.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},b.now=Date.now||function(){return(new Date).getTime()};var z={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#x27;\",\"`\":\"&#x60;\"},j=b.invert(z),O=function(t){var e=function(e){return t[e]},i=\"(?:\"+b.keys(t).join(\"|\")+\")\",n=RegExp(i),r=RegExp(i,\"g\");return function(t){return t=null==t?\"\":\"\"+t,n.test(t)?t.replace(r,e):t}};b.escape=O(z),b.unescape=O(j),b.result=function(t,e,i){var n=null==t?void 0:t[e];return void 0===n&&(n=i),b.isFunction(n)?n.call(t):n};var F=0;b.uniqueId=function(t){var e=++F+\"\";return t?t+e:e},b.templateSettings={evaluate:/<%([\\s\\S]+?)%>/g,interpolate:/<%=([\\s\\S]+?)%>/g,escape:/<%-([\\s\\S]+?)%>/g};var L=/(.)^/,H={\"'\":\"'\",\"\\\\\":\"\\\\\",\"\\r\":\"r\",\"\\n\":\"n\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},B=/\\\\|'|\\r|\\n|\\u2028|\\u2029/g,W=function(t){return\"\\\\\"+H[t]};b.template=function(t,e,i){!e&&i&&(e=i),e=b.defaults({},e,b.templateSettings);var n=RegExp([(e.escape||L).source,(e.interpolate||L).source,(e.evaluate||L).source].join(\"|\")+\"|$\",\"g\"),r=0,s=\"__p+='\";t.replace(n,function(e,i,n,o,a){return s+=t.slice(r,a).replace(B,W),r=a+e.length,i?s+=\"'+\\n((__t=(\"+i+\"))==null?'':_.escape(__t))+\\n'\":n?s+=\"'+\\n((__t=(\"+n+\"))==null?'':__t)+\\n'\":o&&(s+=\"';\\n\"+o+\"\\n__p+='\"),e}),s+=\"';\\n\",e.variable||(s=\"with(obj||{}){\\n\"+s+\"}\\n\"),s=\"var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\\n\"+s+\"return __p;\\n\";try{var o=new Function(e.variable||\"obj\",\"_\",s)}catch(a){throw a.source=s,a}var l=function(t){return o.call(this,t,b)},u=e.variable||\"obj\";return l.source=\"function(\"+u+\"){\\n\"+s+\"}\",l},b.chain=function(t){var e=b(t);return e._chain=!0,e};var q=function(t,e){return t._chain?b(e).chain():e};b.mixin=function(t){b.each(b.functions(t),function(e){var i=b[e]=t[e];b.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),q(this,i.apply(b,t))}})},b.mixin(b),b.each([\"pop\",\"push\",\"reverse\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(t){var e=l[t];b.prototype[t]=function(){var i=this._wrapped;return e.apply(i,arguments),\"shift\"!==t&&\"splice\"!==t||0!==i.length||delete i[0],q(this,i)}}),b.each([\"concat\",\"join\",\"slice\"],function(t){var e=l[t];b.prototype[t]=function(){return q(this,e.apply(this._wrapped,arguments))}}),b.prototype.value=function(){return this._wrapped},b.prototype.valueOf=b.prototype.toJSON=b.prototype.value,b.prototype.toString=function(){return\"\"+this._wrapped},\"function\"==typeof define&&define.amd&&define(\"underscore\",[],function(){return b})}).call(this)},{}],93:[function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D;l=t(\"underscore\"),w=t(\"../common/base\"),o=t(\"../common/logging\"),s=t(\"../range/factor_range\"),a=t(\"../range/range1d\"),r=t(\"../source/column_data_source\"),k=\"./helpers\",n=w.Collections,M=o.logger,h=function(t,e){return null==e?0:l.isNumber(e)?(1>=e&&(M.error(\"num_minor_ticks must be > 1\"),e=0),e):\"auto\"===e?null!=t===\"Log\"?10:5:(M.error(\"unrecognized num_minor_ticks: \"+e),0)},u=function(t,e){var i;if(null==t)return null;if(\"auto\"===t){if(e instanceof s.Model)return n(\"CategoricalAxis\");if(e instanceof a.Model){try{return new Date.parse(e.get(\"start\")),n(\"DatetimeAxis\")}catch(r){i=r}return n(\"LinearAxis\")}}try{return n(t+\"Axis\")}catch(r){return i=r,M.error(\"unrecognized axis_type: \"+t),null}},c=function(t){if(null==t)return n(\"DataRange1d\").create();if(l.isArray(t)){if(l.every(t,l.isString))return n(\"FactorRange\").create({factors:t});if(2===t.length&&l.every(t,l.isNumber))return n(\"Range1d\").create({start:t[0],end:t[1]})}return M.error(\"Unrecognized range input: \"+t.toJSON),null},p=function(t,e){return e instanceof r.Model?e:l.isString(e)?t[e]:n(\"ColumnDataSource\").create({data:e})},d=function(t){var e;return e=[]},m=function(t,e){var i,r,s,o,a,u,h,c;for(h=[],r=0,s=t.length;s>r;r++){o=t[r],l.isString(o)?(c=o+\"Tool\",a={plot:e}):(c=o.type+\"Tool\",a=l.omit(o,\"type\"));try{u=n(c).create(a),h.push(u)}catch(p){i=p,M.error(\"unrecognized tool: \"+o)}}return h},f=function(t,e){var i,r,s,o,a,u,h,c,d,f,g,m,_,v,y,b;for(m=[],a=0,h=t.length;h>a;a++){for(i=t[a],o=i.type,_=p(e,i.source),r=l.omit(i,\"source\",\"selection\",\"inspection\",\"nonselection\"),s=n(o).create(r),g={data_source:_,glyph:s},d=[\"selection\",\"inspection\",\"nonselection\"],u=0,c=d.length;c>u;u++)v=d[u],null!=i[v]&&(null!=i[v].type?(y=l.omit(i[v],\"type\"),b=n(i[v].type).create(y)):(b=l.clone(s),b.set(i[v])),g[v]=b);f=n(\"GlyphRenderer\").create(g),m.push(f)}return m},g=function(t,e){var i,r,s,o,a,h,c,p,d,f,g;for(c=[],p=0,d=t.length;d>p;p++){if(h=t[p],f=h.location,\"below\"===f||\"above\"===f)o=0,g=e.get(\"x_range\");else{if(\"left\"!==f&&\"right\"!==f){M.error(\"unrecognized axis location: \"+f);continue}o=1,g=e.get(\"y_range\")}s=u(h.type,g),r=l.omit(h,\"type\",\"grid\"),r.plot=e,i=s.create(r),c.push(i),h.grid===!0&&(a=n(\"Grid\").create({\n",
       "        dimension:o,plot:e,ticker:i.get(\"ticker\")}),c.push(a))}return c},C=function(t){var e;return t.x_range=c(t.x_range),t.y_range=c(t.y_range),e=n(\"Plot\").create(t)},D=function(t){var e,i,r;i={};for(e in t)r=t[e],i[e]=n(\"ColumnDataSource\").create({data:r});return i},v=function(t,e,i){return i=f(i,e),t.add_renderers(i)},y=function(t,e){var i,n,r,s,o;for(e=g(e,t),n=0,r=e.length;r>n;n++)i=e[n],o=i.get(\"location\"),null!=o&&(s=t.get(o),s.push(i),t.set(o,s));return t.add_renderers(e)},_=function(t,e){return e=d(e),t.add_renderers(e)},b=function(t,e){var i,n,r;for(e=m(e,t),i=0,n=e.length;n>i;i++)r=e[i],r.set(\"plot\",t);return t.set_obj(\"tools\",e),t.get(\"tool_manager\").set_obj(\"tools\",e),t.get(\"tool_manager\")._init_tools()},x=function(t){var e,i,n,r,s,o,a;return r=t.options,o=t.sources,i=t.glyphs,n=t.guides,e=t.annotations,a=t.tools,null==r&&(r={}),null==o&&(o={}),null==i&&(i=[]),null==n&&(n=[]),null==e&&(e={}),null==a&&(a=[]),s=C(r),o=D(o),v(s,o,i),y(s,n),_(s,e),b(s,a),s},e.exports=x},{\"../common/base\":99,\"../common/logging\":119,\"../range/factor_range\":145,\"../range/range1d\":146,\"../source/column_data_source\":204,underscore:92}],94:[function(t,e,i){var n,r,s,o;r=t(\"underscore\"),n=t(\"../common/logging\"),s=n.logger,o=function(t,e){var i;return s.debug(\"Scheduling render for plot \"+e+\" on target \"+t),i=function(){var i;return i=new e.default_view({model:e}),t.append(i.$el)},r.defer(i)},e.exports={show:o}},{\"../common/logging\":119,underscore:92}],95:[function(t,e,i){var n,r,s,o,a,l,u,h;s=t(\"underscore\"),n=t(\"jquery\"),r=t(\"../common/logging\"),a=t(\"./figure\"),l=t(\"./helpers\"),u=r.logger,h=l.show,o={figure:a},n.fn.bokeh=function(t,e){var i;return t in o?(i=o[t](e),h(this,i),i):(u.error(\"Unknown API type '\"+t+\"'. Recognized API types: \"+Object.keys(o)),this)},e.exports=n.fn.bokeh},{\"../common/logging\":119,\"./figure\":93,\"./helpers\":94,jquery:18,underscore:92}],96:[function(t,e,i){var n,r,s,o=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(\"../common/has_properties\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e}(n),s=function(t){var e;return e={},e.Model=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return o(i,e),i.prototype.type=t,i}(r),e},e.exports={AutoEncode:s(\"AutoEncode\"),BinarySegment:s(\"BinarySegment\"),Const:s(\"Const\"),Contour:s(\"Contour\"),Count:s(\"Count\"),CountCategories:s(\"CountCategories\"),Cuberoot:s(\"Cuberoot\"),Encode:s(\"Encode\"),HDAlpha:s(\"HDAlpha\"),Id:s(\"Id\"),Interpolate:s(\"Interpolate\"),InterpolateColor:s(\"InterpolateColor\"),Log:s(\"Log\"),NonZero:s(\"NonZero\"),Ratio:s(\"Ratio\"),Seq:s(\"Seq\"),Spread:s(\"Spread\"),ToCounts:s(\"ToCounts\")}},{\"../common/has_properties\":115}],97:[function(t,e,i){var n,r,s,o=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,l=[].slice;s=t(\"underscore\"),r=t(\"../common/has_properties\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"CustomJS\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property(\"values\",this._make_values,!0),this.add_dependencies(\"values\",this,[\"args\"]),this.register_property(\"func\",this._make_func,!0),this.add_dependencies(\"func\",this,[\"args\",\"code\"])},e.prototype.execute=function(t,e){return this.get(\"func\").apply(null,l.call(this.get(\"values\")).concat([t],[e]))},e.prototype._make_values=function(){return s.map(s.values(this.get(\"args\")),this.resolve_ref)},e.prototype._make_func=function(){return function(t,e,i){i.prototype=t.prototype;var n=new i,r=t.apply(n,e);return Object(r)===r?r:n}(Function,l.call(s.keys(this.get(\"args\"))).concat([\"cb_obj\"],[\"cb_data\"],[this.get(\"code\")]),function(){})},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{args:{},code:\"\"})},e}(r),e.exports={Model:n}},{\"../common/has_properties\":115,underscore:92}],98:[function(t,e,i){var n,r,s,o,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(\"../util/util\"),n=t(\"../common/has_properties\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.type=\"OpenURL\",e.prototype.execute=function(t){var e,i,n,r,o,a,l;for(a=t.get(\"selected\"),i=a[\"0d\"].flag?a[\"0d\"].indices:a[\"1d\"].indices.length>0?a[\"1d\"].indices:a[\"2d\"].indices.length>0?a[\"2d\"].indices:[],o=[],n=0,r=i.length;r>n;n++)e=i[n],l=s.replace_placeholders(this.get(\"url\"),t,e),o.push(window.open(l));return o},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{url:\"http://\"})},e}(n),e.exports={Model:r}},{\"../common/has_properties\":115,\"../util/util\":250,underscore:92}],99:[function(t,e,i){var n,r,s,o,a,l,u,h,c,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;o=t(\"underscore\"),n=t(\"./collection\"),(\"undefined\"==typeof f||null===f)&&(f={location:{href:\"local\"}}),t(\"./custom\").monkey_patch(),s={},d=f.location.href,d.indexOf(\"/bokeh\")>0?s.prefix=d.slice(0,d.lastIndexOf(\"/bokeh\"))+\"/\":s.prefix=\"/\",console.log(\"Bokeh: setting prefix to\",s.prefix),h={Plot:t(\"./plot\"),GMapPlot:t(\"./gmap_plot\"),GeoJSPlot:t(\"./geojs_plot\"),GridPlot:t(\"./grid_plot\"),PlotContext:t(\"./plot_context\"),PlotList:t(\"./plot_context\"),Canvas:t(\"./canvas\"),LayoutBox:t(\"./layout_box\"),CartesianFrame:t(\"./cartesian_frame\"),SelectionManager:t(\"./selection_manager\"),Selector:t(\"./selector\"),ToolEvents:t(\"./tool_events\"),CustomJS:t(\"../callback/customjs\"),OpenURL:t(\"../callback/open_url\"),CategoricalMapper:t(\"../mapper/categorical_mapper\"),LinearColorMapper:t(\"../mapper/linear_color_mapper\"),LinearMapper:t(\"../mapper/linear_mapper\"),DataRange1d:t(\"../range/data_range1d\"),FactorRange:t(\"../range/factor_range\"),Range1d:t(\"../range/range1d\"),BoxAnnotation:t(\"../renderer/annotation/box_annotation\"),Legend:t(\"../renderer/annotation/legend\"),Span:t(\"../renderer/annotation/span\"),Tooltip:t(\"../renderer/annotation/tooltip\"),GlyphRenderer:t(\"../renderer/glyph/glyph_renderer\"),AnnularWedge:t(\"../renderer/glyph/annular_wedge\"),Annulus:t(\"../renderer/glyph/annulus\"),Arc:t(\"../renderer/glyph/arc\"),Bezier:t(\"../renderer/glyph/bezier\"),Circle:t(\"../renderer/glyph/circle\"),Gear:t(\"../renderer/glyph/gear\"),Image:t(\"../renderer/glyph/image\"),ImageRGBA:t(\"../renderer/glyph/image_rgba\"),ImageURL:t(\"../renderer/glyph/image_url\"),Line:t(\"../renderer/glyph/line\"),MultiLine:t(\"../renderer/glyph/multi_line\"),Oval:t(\"../renderer/glyph/oval\"),Patch:t(\"../renderer/glyph/patch\"),Patches:t(\"../renderer/glyph/patches\"),Quad:t(\"../renderer/glyph/quad\"),Quadratic:t(\"../renderer/glyph/quadratic\"),Ray:t(\"../renderer/glyph/ray\"),Rect:t(\"../renderer/glyph/rect\"),Segment:t(\"../renderer/glyph/segment\"),Text:t(\"../renderer/glyph/text\"),Wedge:t(\"../renderer/glyph/wedge\"),Asterisk:t(\"../renderer/glyph/marker/asterisk\"),CircleCross:t(\"../renderer/glyph/marker/circle_cross\"),CircleX:t(\"../renderer/glyph/marker/circle_x\"),Cross:t(\"../renderer/glyph/marker/cross\"),Diamond:t(\"../renderer/glyph/marker/diamond\"),DiamondCross:t(\"../renderer/glyph/marker/diamond_cross\"),InvertedTriangle:t(\"../renderer/glyph/marker/inverted_triangle\"),Square:t(\"../renderer/glyph/marker/square\"),SquareCross:t(\"../renderer/glyph/marker/square_cross\"),SquareX:t(\"../renderer/glyph/marker/square_x\"),Triangle:t(\"../renderer/glyph/marker/triangle\"),X:t(\"../renderer/glyph/marker/x\"),LinearAxis:t(\"../renderer/guide/linear_axis\"),LogAxis:t(\"../renderer/guide/log_axis\"),CategoricalAxis:t(\"../renderer/guide/categorical_axis\"),DatetimeAxis:t(\"../renderer/guide/datetime_axis\"),Grid:t(\"../renderer/guide/grid\"),BoxSelection:t(\"../renderer/overlay/box_selection\"),PolySelection:t(\"../renderer/overlay/poly_selection\"),ColumnDataSource:t(\"../source/column_data_source\"),ServerDataSource:t(\"../source/server_data_source\"),BlazeDataSource:t(\"../source/blaze_data_source\"),AjaxDataSource:t(\"../source/ajax_data_source\"),AbstractTicker:t(\"../ticking/abstract_ticker\"),AdaptiveTicker:t(\"../ticking/adaptive_ticker\"),BasicTicker:t(\"../ticking/basic_ticker\"),CategoricalTicker:t(\"../ticking/categorical_ticker\"),CompositeTicker:t(\"../ticking/composite_ticker\"),DatetimeTicker:t(\"../ticking/datetime_ticker\"),DaysTicker:t(\"../ticking/days_ticker\"),FixedTicker:t(\"../ticking/fixed_ticker\"),LogTicker:t(\"../ticking/log_ticker\"),MonthsTicker:t(\"../ticking/months_ticker\"),SingleIntervalTicker:t(\"../ticking/single_interval_ticker\"),YearsTicker:t(\"../ticking/years_ticker\"),BasicTickFormatter:t(\"../ticking/basic_tick_formatter\"),LogTickFormatter:t(\"../ticking/log_tick_formatter\"),CategoricalTickFormatter:t(\"../ticking/categorical_tick_formatter\"),DatetimeTickFormatter:t(\"../ticking/datetime_tick_formatter\"),NumeralTickFormatter:t(\"../ticking/numeral_tick_formatter\"),PrintfTickFormatter:t(\"../ticking/printf_tick_formatter\"),ButtonTool:t(\"../tool/button_tool\"),ActionTool:t(\"../tool/actions/action_tool\"),PreviewSaveTool:t(\"../tool/actions/preview_save_tool\"),ResetTool:t(\"../tool/actions/reset_tool\"),HelpTool:t(\"../tool/actions/help_tool\"),BoxSelectTool:t(\"../tool/gestures/box_select_tool\"),BoxZoomTool:t(\"../tool/gestures/box_zoom_tool\"),GestureTool:t(\"../tool/gestures/gesture_tool\"),LassoSelectTool:t(\"../tool/gestures/lasso_select_tool\"),PanTool:t(\"../tool/gestures/pan_tool\"),PolySelectTool:t(\"../tool/gestures/poly_select_tool\"),SelectTool:t(\"../tool/gestures/select_tool\"),ResizeTool:t(\"../tool/gestures/resize_tool\"),TapTool:t(\"../tool/gestures/tap_tool\"),WheelZoomTool:t(\"../tool/gestures/wheel_zoom_tool\"),CrosshairTool:t(\"../tool/inspectors/crosshair_tool\"),HoverTool:t(\"../tool/inspectors/hover_tool\"),InspectTool:t(\"../tool/inspectors/inspect_tool\"),editors:[t(\"../widget/cell_editors\"),\"Editor\"],formatters:[t(\"../widget/cell_formatters\"),\"Formatter\"],TableColumn:t(\"../widget/table_column\"),DataTable:t(\"../widget/data_table\"),Paragraph:t(\"../widget/paragraph\"),HBox:t(\"../widget/hbox\"),VBox:t(\"../widget/vbox\"),VBoxForm:t(\"../widget/vboxform\"),TextInput:t(\"../widget/text_input\"),AutocompleteInput:t(\"../widget/autocomplete_input\"),PreText:t(\"../widget/pretext\"),Select:t(\"../widget/selectbox\"),Slider:t(\"../widget/slider\"),CrossFilter:t(\"../widget/crossfilter\"),MultiSelect:t(\"../widget/multiselect\"),DateRangeSlider:t(\"../widget/date_range_slider\"),DatePicker:t(\"../widget/date_picker\"),Panel:t(\"../widget/panel\"),Tabs:t(\"../widget/tabs\"),Dialog:t(\"../widget/dialog\"),Icon:t(\"../widget/icon\"),Button:t(\"../widget/button\"),Toggle:t(\"../widget/toggle\"),Dropdown:t(\"../widget/dropdown\"),CheckboxGroup:t(\"../widget/checkbox_group\"),RadioGroup:t(\"../widget/radio_group\"),CheckboxButtonGroup:t(\"../widget/checkbox_button_group\"),RadioButtonGroup:t(\"../widget/radio_button_group\"),SimpleApp:t(\"../widget/simpleapp\"),AppHBox:t(\"../widget/layouts/apphbox\"),AppVBox:t(\"../widget/layouts/appvbox\"),AppVBoxForm:t(\"../widget/layouts/appvboxform\"),ar_transforms:[t(\"../ar/transforms\")]},l={},p=function(t){var e;return new(e=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return g(i,e),i.prototype.model=t,i}(n))},c=function(t){var e,i,n,r,s,a,l,u,h;s={};for(n in t)if(a=t[n],o.isArray(a)){u=a[0],h=null!=(r=a[1])?r:\"\";for(l in u)e=u[l],i=l+h,s[i]=e}else s[n]=a;return s},a=null,r=function(t){var e;return null==a&&(a=c(h)),l[t]?l[t]:(e=a[t],null==e.Collection&&(e.Collection=p(e.Model)),e.Collection)},r.register=function(t,e){return l[t]=e},u={},e.exports={collection_overrides:l,locations:h,index:u,Collections:r,Config:s}},{\"../ar/transforms\":96,\"../callback/customjs\":97,\"../callback/open_url\":98,\"../mapper/categorical_mapper\":138,\"../mapper/linear_color_mapper\":140,\"../mapper/linear_mapper\":141,\"../range/data_range1d\":144,\"../range/factor_range\":145,\"../range/range1d\":146,\"../renderer/annotation/box_annotation\":147,\"../renderer/annotation/legend\":148,\"../renderer/annotation/span\":149,\"../renderer/annotation/tooltip\":150,\"../renderer/glyph/annular_wedge\":151,\"../renderer/glyph/annulus\":152,\"../renderer/glyph/arc\":153,\"../renderer/glyph/bezier\":154,\"../renderer/glyph/circle\":156,\"../renderer/glyph/gear\":157,\"../renderer/glyph/glyph_renderer\":159,\"../renderer/glyph/image\":160,\"../renderer/glyph/image_rgba\":161,\"../renderer/glyph/image_url\":162,\"../renderer/glyph/line\":163,\"../renderer/glyph/marker/asterisk\":164,\"../renderer/glyph/marker/circle_cross\":165,\"../renderer/glyph/marker/circle_x\":166,\"../renderer/glyph/marker/cross\":167,\"../renderer/glyph/marker/diamond\":168,\"../renderer/glyph/marker/diamond_cross\":169,\"../renderer/glyph/marker/inverted_triangle\":170,\"../renderer/glyph/marker/square\":172,\"../renderer/glyph/marker/square_cross\":173,\"../renderer/glyph/marker/square_x\":174,\"../renderer/glyph/marker/triangle\":175,\"../renderer/glyph/marker/x\":176,\"../renderer/glyph/multi_line\":177,\"../renderer/glyph/oval\":178,\"../renderer/glyph/patch\":179,\"../renderer/glyph/patches\":180,\"../renderer/glyph/quad\":181,\"../renderer/glyph/quadratic\":182,\"../renderer/glyph/ray\":183,\"../renderer/glyph/rect\":184,\"../renderer/glyph/segment\":185,\"../renderer/glyph/text\":186,\"../renderer/glyph/wedge\":187,\"../renderer/guide/categorical_axis\":189,\"../renderer/guide/datetime_axis\":190,\"../renderer/guide/grid\":191,\"../renderer/guide/linear_axis\":192,\"../renderer/guide/log_axis\":193,\"../renderer/overlay/box_selection\":194,\"../renderer/overlay/poly_selection\":195,\"../source/ajax_data_source\":202,\"../source/blaze_data_source\":203,\"../source/column_data_source\":204,\"../source/server_data_source\":206,\"../ticking/abstract_ticker\":207,\"../ticking/adaptive_ticker\":208,\"../ticking/basic_tick_formatter\":209,\"../ticking/basic_ticker\":210,\"../ticking/categorical_tick_formatter\":211,\"../ticking/categorical_ticker\":212,\"../ticking/composite_ticker\":213,\"../ticking/datetime_tick_formatter\":214,\"../ticking/datetime_ticker\":215,\"../ticking/days_ticker\":216,\"../ticking/fixed_ticker\":217,\"../ticking/log_tick_formatter\":218,\"../ticking/log_ticker\":219,\"../ticking/months_ticker\":220,\"../ticking/numeral_tick_formatter\":221,\"../ticking/printf_tick_formatter\":222,\"../ticking/single_interval_ticker\":223,\"../ticking/years_ticker\":225,\"../tool/actions/action_tool\":226,\"../tool/actions/help_tool\":227,\"../tool/actions/preview_save_tool\":228,\"../tool/actions/reset_tool\":230,\"../tool/button_tool\":231,\"../tool/gestures/box_select_tool\":233,\"../tool/gestures/box_zoom_tool\":234,\"../tool/gestures/gesture_tool\":235,\"../tool/gestures/lasso_select_tool\":236,\"../tool/gestures/pan_tool\":237,\"../tool/gestures/poly_select_tool\":238,\"../tool/gestures/resize_tool\":239,\"../tool/gestures/select_tool\":240,\"../tool/gestures/tap_tool\":241,\"../tool/gestures/wheel_zoom_tool\":242,\"../tool/inspectors/crosshair_tool\":243,\"../tool/inspectors/hover_tool\":244,\"../tool/inspectors/inspect_tool\":245,\"../widget/autocomplete_input\":251,\"../widget/button\":252,\"../widget/cell_editors\":253,\"../widget/cell_formatters\":254,\"../widget/checkbox_button_group\":255,\"../widget/checkbox_group\":256,\"../widget/crossfilter\":257,\"../widget/data_table\":261,\"../widget/date_picker\":262,\"../widget/date_range_slider\":263,\"../widget/dialog\":264,\"../widget/dropdown\":266,\"../widget/hbox\":267,\"../widget/icon\":268,\"../widget/layouts/apphbox\":269,\"../widget/layouts/appvbox\":270,\"../widget/layouts/appvboxform\":271,\"../widget/multiselect\":273,\"../widget/panel\":275,\"../widget/paragraph\":276,\"../widget/pretext\":277,\"../widget/radio_button_group\":278,\"../widget/radio_group\":279,\"../widget/selectbox\":280,\"../widget/simpleapp\":282,\"../widget/slider\":283,\"../widget/table_column\":285,\"../widget/tabs\":286,\"../widget/text_input\":288,\"../widget/toggle\":290,\"../widget/vbox\":291,\"../widget/vboxform\":292,\"./canvas\":103,\"./cartesian_frame\":105,\"./collection\":107,\"./custom\":110,\"./geojs_plot\":111,\"./gmap_plot\":112,\"./grid_plot\":113,\"./layout_box\":117,\"./plot\":121,\"./plot_context\":122,\"./selection_manager\":128,\"./selector\":129,\"./tool_events\":134,underscore:92}],100:[function(t,e,i){var n,r;n=function(){return[[1/0,-(1/0)],[1/0,-(1/0)]]},r=function(t,e){return t[0][0]=Math.min(t[0][0],e[0][0]),t[0][1]=Math.max(t[0][1],e[0][1]),t[1][0]=Math.min(t[1][0],e[1][0]),t[1][1]=Math.max(t[1][1],e[1][1]),t},e.exports={empty:n,extend:r}},{}],101:[function(t,e,i){var n,r,s;n=t(\"underscore\"),r=function(t,e,i,r){var o,a,l,u,h,c,p,d,f,g,m;for(null==r&&(r=[]),o=[],f=n.filter(e,function(e){return!n.has(t,e.id)}),l=a=0,c=f.length;c>a;l=++a)d=f[l],m=n.extend({},i,{model:d}),l<r.length?t[d.id]=new r[l](m):t[d.id]=new d.default_view(m),t[d.id].$el.find(\"*[class*='ui-']\").each(function(t,e){return e.className=s(e)}),o.push(t[d.id]);for(g=n.difference(n.keys(t),n.pluck(e,\"id\")),u=0,p=g.length;p>u;u++)h=g[u],t[h].remove(),delete t[h];return o},s=function(t){var e,i;if(null!=t.className)return e=t.className.split(\" \"),i=n.map(e,function(t){return t=t.trim(),0===t.indexOf(\"ui-\")?\"bk-\"+t:t}),i.join(\" \")},r.jQueryUIPrefixer=s,e.exports=r=r},{underscore:92}],102:[function(t,e,i){var n,r,s,o;r=t(\"underscore\"),n=t(\"jquery\"),o=t(\"./load_models\"),s=function(e){var i,s,a,l,u,h;if(i=t(\"./base\").Config,s=e[0].get(\"doc\"),null==s)throw new Error(\"Unset 'doc' in \"+e[0]);return a=function(){var t,i,n;for(n=[],t=0,i=e.length;i>t;t++)l=e[t],n.push({type:l.type,attributes:r.clone(l.attributes)});return n}(),a=JSON.stringify(a),u=i.prefix+\"bokeh/bb/\"+s+\"/bulkupsert\",h=n.ajax({type:\"POST\",url:u,contentType:\"application/json\",data:a,header:{client:\"javascript\"}}),h.done(function(t){return o(t.modelspecs)}),h},e.exports={bulk_save:s}},{\"./base\":99,\"./load_models\":118,jquery:18,underscore:92}],103:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,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;c=t(\"underscore\"),d=null!=i._bokehTest?i._bokehTest.kiwi:t(\"kiwi\"),a=d.Expression,s=d.Constraint,u=d.Operator,p=t(\"./canvas_template\"),o=t(\"./continuum_view\"),l=t(\"./layout_box\"),f=t(\"./logging\").logger,h=t(\"./solver\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return g(e,t),e.prototype.className=\"bk-canvas-wrapper\",e.prototype.template=p,e.prototype.initialize=function(t){var i,n,r;return e.__super__.initialize.call(this,t),r={map:this.mget(\"map\")},i=this.template(r),this.$el.html(i),this.canvas_wrapper=this.$el,this.canvas=this.$(\"canvas.bk-canvas\"),this.canvas_events=this.$(\"div.bk-canvas-events\"),this.canvas_overlay=this.$(\"div.bk-canvas-overlays\"),this.map_div=null!=(n=this.$(\"div.bk-canvas-map\"))?n:null,this.ctx=this.canvas[0].getContext(\"2d\"),this.ctx.glcanvas=null,f.debug(\"CanvasView initialized\")},e.prototype.render=function(t){var e,i,n,r,s;return null==t&&(t=!1),this.model.new_bounds||t?(this.mget(\"use_hidpi\")?(i=window.devicePixelRatio||1,e=this.ctx.webkitBackingStorePixelRatio||this.ctx.mozBackingStorePixelRatio||this.ctx.msBackingStorePixelRatio||this.ctx.oBackingStorePixelRatio||this.ctx.backingStorePixelRatio||1,r=i/e):r=1,s=this.mget(\"width\"),n=this.mget(\"height\"),this.$el.attr(\"style\",\"z-index: 50; width:\"+s+\"px; height:\"+n+\"px\"),this.canvas.attr(\"style\",\"width:\"+s+\"px;height:\"+n+\"px\"),this.canvas.attr(\"width\",s*r).attr(\"height\",n*r),this.$el.attr(\"width\",s).attr(\"height\",n),this.canvas_events.attr(\"style\",\"z-index:100; position:absolute; top:0; left:0; width:\"+s+\"px; height:\"+n+\"px;\"),this.canvas_overlay.attr(\"style\",\"z-index:75; position:absolute; top:0; left:0; width:\"+s+\"px; height:\"+n+\"px;\"),this.ctx.scale(r,r),this.ctx.translate(.5,.5),this._fixup_line_dash(this.ctx),this._fixup_line_dash_offset(this.ctx),this._fixup_image_smoothing(this.ctx),this._fixup_measure_text(this.ctx),this.model.new_bounds=!1):void 0},e.prototype._fixup_line_dash=function(t){return t.setLineDash||(t.setLineDash=function(e){return t.mozDash=e,t.webkitLineDash=e}),t.getLineDash?void 0:t.getLineDash=function(){return t.mozDash}},e.prototype._fixup_line_dash_offset=function(t){return t.setLineDashOffset=function(e){return t.lineDashOffset=e,t.mozDashOffset=e,t.webkitLineDashOffset=e},t.getLineDashOffset=function(){return t.mozDashOffset}},e.prototype._fixup_image_smoothing=function(t){return t.setImageSmoothingEnabled=function(e){return t.imageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.oImageSmoothingEnabled=e,t.webkitImageSmoothingEnabled=e},t.getImageSmoothingEnabled=function(){var e;return null!=(e=t.imageSmoothingEnabled)?e:!0}},e.prototype._fixup_measure_text=function(t){return t.measureText&&null==t.html5MeasureText?(t.html5MeasureText=t.measureText,t.measureText=function(e){var i;return i=t.html5MeasureText(e),i.ascent=1.6*t.html5MeasureText(\"m\").width,i}):void 0},e}(o),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return g(e,t),e.prototype.type=\"Canvas\",e.prototype.default_view=r,e.prototype.initialize=function(t,i){var n;return n=new h,this.set(\"solver\",n),e.__super__.initialize.call(this,t,i),this.new_bounds=!0,n.add_constraint(new s(new a(this._left),u.Eq)),n.add_constraint(new s(new a(this._bottom),u.Eq)),this._set_dims([this.get(\"canvas_width\"),this.get(\"canvas_height\")]),f.debug(\"Canvas initialized\")},e.prototype.vx_to_sx=function(t){return t},e.prototype.vy_to_sy=function(t){return this.get(\"height\")-(t+1)},e.prototype.v_vx_to_sx=function(t){var e,i,n,r;for(i=e=0,n=t.length;n>e;i=++e)r=t[i],t[i]=r;return t},e.prototype.v_vy_to_sy=function(t){var e,i,n,r,s;for(e=this.get(\"height\"),n=i=0,r=t.length;r>i;n=++i)s=t[n],t[n]=e-(s+1);return t},e.prototype.sx_to_vx=function(t){return t},e.prototype.sy_to_vy=function(t){return this.get(\"height\")-(t+1)},e.prototype.v_sx_to_vx=function(t){var e,i,n,r;for(i=e=0,n=t.length;n>e;i=++e)r=t[i],t[i]=r;return t},e.prototype.v_sy_to_vy=function(t){var e,i,n,r,s;for(e=this.get(\"height\"),n=i=0,r=t.length;r>i;n=++i)s=t[n],t[n]=e-(s+1);return t},e.prototype._set_width=function(t,e){return null==e&&(e=!0),null!=this._width_constraint&&this.solver.remove_constraint(this._width_constraint),this._width_constraint=new s(new a(this._width,-t),u.Eq),this.solver.add_constraint(this._width_constraint),e&&this.solver.update_variables(),this.new_bounds=!0},e.prototype._set_height=function(t,e){return null==e&&(e=!0),null!=this._height_constraint&&this.solver.remove_constraint(this._height_constraint),this._height_constraint=new s(new a(this._height,-t),u.Eq),this.solver.add_constraint(this._height_constraint),e&&this.solver.update_variables(),this.new_bounds=!0},e.prototype._set_dims=function(t,e){return null==e&&(e=!0),this._set_width(t[0],!1),this._set_height(t[1],!1),this.solver.update_variables(e)},e.prototype.defaults=function(){return c.extend({},e.__super__.defaults.call(this),{width:300,height:300,map:!1,mousedown_callbacks:[],mousemove_callbacks:[],use_hidpi:!0})},e}(l.Model),e.exports={Model:n}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./canvas_template\":104,\"./continuum_view\":109,\"./layout_box\":117,\"./logging\":119,\"./solver\":131,kiwi:303,underscore:92}],104:[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,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){this.map&&i.push('\\n<div class=\"bk-canvas-map\"></div>\\n'),i.push('\\n<div class=\"bk-canvas-events\" />\\n<div class=\"bk-canvas-overlays\" />\\n<canvas class=\\'bk-canvas\\'></canvas>')}).call(this)}.call(t),t.safe=n,t.escape=r,i.join(\"\")}},{}],105:[function(t,e,i){var n,r,s,o,a,l,u,h,c=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\"),o=t(\"./layout_box\"),h=t(\"./logging\").logging,a=t(\"../mapper/linear_mapper\"),l=t(\"../mapper/log_mapper\"),r=t(\"../mapper/categorical_mapper\"),s=t(\"../mapper/grid_mapper\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(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 s.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 s,o,a,l;return null==n&&(n=\"default\"),null==r&&(r=\"default\"),a=this.get(\"x_mappers\")[n].v_map_to_target(t),s=i.v_vx_to_sx(a),l=this.get(\"y_mappers\")[r].v_map_to_target(e),o=i.v_vy_to_sy(l),[s,o]},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,s,o,u;s={};for(o in e){if(u=e[o],\"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 '\"+o+\"': \"+u),null;n=r.Model}s[o]=new n({source_range:u,target_range:i})}return s},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}(o.Model),e.exports={Model:n}},{\"../mapper/categorical_mapper\":138,\"../mapper/grid_mapper\":139,\"../mapper/linear_mapper\":141,\"../mapper/log_mapper\":142,\"./layout_box\":117,\"./logging\":119,underscore:92}],106:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),r=t(\"./continuum_view\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(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.empty(),this.$el.html(\"<a href='#' class='bk-close'>[x]</a>\"),this.$el.append(this.view.$el)},e}(r),e.exports={View:n}},{\"./continuum_view\":109,underscore:92}],107:[function(t,e,i){var n,r,s=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t(\"backbone\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e}(n.Collection),e.exports=r},{backbone:2}],108:[function(t,e,i){var n,r,s,o;r=function(t){var e;return e=Number(t).toString(16),e=1===e.length?\"0\"+e:e},s=function(t){var e,i,s;return t+=\"\",0===t.indexOf(\"#\")?t:null!=n[t]?n[t]:0===t.indexOf(\"rgb\")?(i=t.match(/\\d+/g),e=function(){var t,e,n;for(n=[],t=0,e=i.length;e>t;t++)s=i[t],n.push(r(s));return n}().join(\"\"),\"#\"+e.slice(0,8)):t},o=function(t,e){var i,n,r;if(null==e&&(e=1),!t)return[0,0,0,0];for(i=s(t),i=i.replace(/ |#/g,\"\"),i.length<=4&&(i=i.replace(/(.)/g,\"$1$1\")),i=i.match(/../g),r=function(){var t,e,r;for(r=[],t=0,e=i.length;e>t;t++)n=i[t],r.push(parseInt(n,16)/255);return r}();r.length<3;)r.push(0);return r.length<4&&r.push(e),r.slice(0,4)},n={k:\"#000000\",w:\"#FFFFFF\",r:\"#FF0000\",g:\"#00FF00\",b:\"#0000FF\",y:\"#FFFF00\",m:\"#FF00FF\",c:\"#00FFFF\",aqua:\"#00ffff\",aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",black:\"#000000\",blue:\"#0000ff\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgreen:\"#006400\",darkturquoise:\"#00ced1\",deepskyblue:\"#00bfff\",green:\"#008000\",lime:\"#00ff00\",mediumblue:\"#0000cd\",mediumspringgreen:\"#00fa9a\",navy:\"#000080\",springgreen:\"#00ff7f\",teal:\"#008080\",midnightblue:\"#191970\",dodgerblue:\"#1e90ff\",lightseagreen:\"#20b2aa\",forestgreen:\"#228b22\",seagreen:\"#2e8b57\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",limegreen:\"#32cd32\",mediumseagreen:\"#3cb371\",turquoise:\"#40e0d0\",royalblue:\"#4169e1\",steelblue:\"#4682b4\",darkslateblue:\"#483d8b\",mediumturquoise:\"#48d1cc\",indigo:\"#4b0082\",darkolivegreen:\"#556b2f\",cadetblue:\"#5f9ea0\",cornflowerblue:\"#6495ed\",mediumaquamarine:\"#66cdaa\",dimgray:\"#696969\",dimgrey:\"#696969\",slateblue:\"#6a5acd\",olivedrab:\"#6b8e23\",slategray:\"#708090\",slategrey:\"#708090\",lightslategray:\"#778899\",lightslategrey:\"#778899\",mediumslateblue:\"#7b68ee\",lawngreen:\"#7cfc00\",aquamarine:\"#7fffd4\",chartreuse:\"#7fff00\",gray:\"#808080\",grey:\"#808080\",maroon:\"#800000\",olive:\"#808000\",purple:\"#800080\",lightskyblue:\"#87cefa\",skyblue:\"#87ceeb\",blueviolet:\"#8a2be2\",darkmagenta:\"#8b008b\",darkred:\"#8b0000\",saddlebrown:\"#8b4513\",darkseagreen:\"#8fbc8f\",lightgreen:\"#90ee90\",mediumpurple:\"#9370db\",darkviolet:\"#9400d3\",palegreen:\"#98fb98\",darkorchid:\"#9932cc\",yellowgreen:\"#9acd32\",sienna:\"#a0522d\",brown:\"#a52a2a\",darkgray:\"#a9a9a9\",darkgrey:\"#a9a9a9\",greenyellow:\"#adff2f\",lightblue:\"#add8e6\",paleturquoise:\"#afeeee\",lightsteelblue:\"#b0c4de\",powderblue:\"#b0e0e6\",firebrick:\"#b22222\",darkgoldenrod:\"#b8860b\",mediumorchid:\"#ba55d3\",rosybrown:\"#bc8f8f\",darkkhaki:\"#bdb76b\",silver:\"#c0c0c0\",mediumvioletred:\"#c71585\",indianred:\"#cd5c5c\",peru:\"#cd853f\",chocolate:\"#d2691e\",tan:\"#d2b48c\",lightgray:\"#d3d3d3\",lightgrey:\"#d3d3d3\",thistle:\"#d8bfd8\",goldenrod:\"#daa520\",orchid:\"#da70d6\",palevioletred:\"#db7093\",crimson:\"#dc143c\",gainsboro:\"#dcdcdc\",plum:\"#dda0dd\",burlywood:\"#deb887\",lightcyan:\"#e0ffff\",lavender:\"#e6e6fa\",darksalmon:\"#e9967a\",palegoldenrod:\"#eee8aa\",violet:\"#ee82ee\",azure:\"#f0ffff\",honeydew:\"#f0fff0\",khaki:\"#f0e68c\",lightcoral:\"#f08080\",sandybrown:\"#f4a460\",beige:\"#f5f5dc\",mintcream:\"#f5fffa\",wheat:\"#f5deb3\",whitesmoke:\"#f5f5f5\",ghostwhite:\"#f8f8ff\",lightgoldenrodyellow:\"#fafad2\",linen:\"#faf0e6\",salmon:\"#fa8072\",oldlace:\"#fdf5e6\",bisque:\"#ffe4c4\",blanchedalmond:\"#ffebcd\",coral:\"#ff7f50\",cornsilk:\"#fff8dc\",darkorange:\"#ff8c00\",deeppink:\"#ff1493\",floralwhite:\"#fffaf0\",fuchsia:\"#ff00ff\",gold:\"#ffd700\",hotpink:\"#ff69b4\",ivory:\"#fffff0\",lavenderblush:\"#fff0f5\",lemonchiffon:\"#fffacd\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",lightyellow:\"#ffffe0\",magenta:\"#ff00ff\",mistyrose:\"#ffe4e1\",moccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",orange:\"#ffa500\",orangered:\"#ff4500\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",pink:\"#ffc0cb\",red:\"#ff0000\",seashell:\"#fff5ee\",snow:\"#fffafa\",tomato:\"#ff6347\",white:\"#ffffff\",yellow:\"#ffff00\"},e.exports={color2hex:s,color2rgba:o}},{}],109:[function(t,e,i){var n,r,s,o=function(t,e){function i(){this.constructor=t;\n",
       "        }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;s=t(\"underscore\"),n=t(\"backbone\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.initialize=function(t){return s.has(t,\"id\")?void 0:this.id=s.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(s.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:2,underscore:92}],110:[function(t,e,i){var n,r;n=t(\"underscore\"),r=function(){return n.uniqueId=function(t){var e,i,n,r,s;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),s=r.join(\"\"),t?t+\"-\"+s:s}},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:92}],111:[function(t,e,i){var n,r,s,o,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(\"./solver\"),s=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,s;return e.__super__.bind_bokeh_events.call(this),s=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:\"+s+\"px;\"),this.canvas_view.map_div.attr(\"style\",\"height:\"+i+\"px;\"),this.canvas_view.map_div.width(s+\"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),$.getScript(\"http://opengeoscience.github.io/geojs/lib/gl-matrix.js\",function(){return $.getScript(\"http://opengeoscience.github.io/geojs/lib/d3.v3.min.js\",function(){return $.getScript(\"http://opengeoscience.github.io/geojs/lib/proj4.js\",function(){return $.getScript(\"http://opengeoscience.github.io/geojs/lib/vgl.js\",function(){return $.getScript(\"http://opengeoscience.github.io/geojs/lib/geo.js\",function(){return t()})})})})})},e.prototype._map_hook=function(t,e){var i,n,r,s;return n=e[0],r=e[1],s=e[2],i=e[3],this.canvas_view.map_div.attr(\"style\",\"top: \"+r+\"px; left: \"+n+\"px;\"),this.canvas_view.map_div.width(s+\"px\").height(i+\"px\")},e.prototype._paint_empty=function(t,e){var i,n,r,s,o,a;return o=this.canvas.get(\"width\"),s=this.canvas.get(\"height\"),r=e[0],a=e[1],n=e[2],i=e[3],t.clearRect(0,0,o,s),t.beginPath(),t.moveTo(0,0),t.lineTo(0,s),t.lineTo(o,s),t.lineTo(o,0),t.lineTo(0,0),t.moveTo(r,a),t.lineTo(r+n,a),t.lineTo(r+n,a+i),t.lineTo(r,a+i),t.lineTo(r,a),t.closePath(),t.fillStyle=this.mget(\"border_fill\"),t.fill()},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"GeoJSPlot\",e.prototype.default_view=r,e.prototype.initialize=function(t,i){return this.use_map=!0,e.__super__.initialize.call(this,t,i)},e.prototype.parent_properties=[\"border_fill\",\"min_border\",\"min_border_top\",\"min_border_bottom\",\"min_border_left\",\"min_border_right\"],e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{title:\"GeoJSPlot\"})},e.prototype.display_defaults=function(){return a.extend({},e.__super__.display_defaults.call(this),{border_fill:\"#fff\"})},e}(s.Model),e.exports={Model:n,View:r}},{\"./plot\":121,\"./solver\":131,underscore:92}],112:[function(t,e,i){var n,r,s,o,a,l,u,h=function(t,e){return function(){return t.apply(e,arguments)}},c=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\"),o=t(\"./solver\"),s=t(\"./plot\"),l=t(\"proj4\"),u=l.defs(\"GOOGLE\"),r=function(t){function e(){return this.setRanges=h(this.setRanges,this),this.getProjectedBounds=h(this.getProjectedBounds,this),this.getLatLngBounds=h(this.getLatLngBounds,this),e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,a.defaults(t,this.default_options)),this.zoom_count=0},e.prototype.getLatLngBounds=function(){var t,e,i,n,r,s,o;return e=this.map.getBounds(),i=e.getNorthEast(),t=e.getSouthWest(),r=t.lng(),n=i.lng(),o=t.lat(),s=i.lat(),[r,n,o,s]},e.prototype.getProjectedBounds=function(){var t,e,i,n,r,s,o,a,h,c,p;return r=this.getLatLngBounds(),h=r[0],a=r[1],p=r[2],c=r[3],s=l(u,[h,p]),e=s[0],n=s[1],o=l(u,[a,c]),t=o[0],i=o[1],[e,t,n,i]},e.prototype.setRanges=function(){var t,e,i,n,r;return r=this.getProjectedBounds(),e=r[0],t=r[1],n=r[2],i=r[3],this.x_range.set({start:e,end:t,silent:!0}),this.y_range.set({start:n,end:i,silent:!0})},e.prototype.update_range=function(t){var i,n,r,s,o,a,l,u;if(this.pause(),(null!=t.sdx||null!=t.sdy)&&(this.map.panBy(t.sdx,t.sdy),e.__super__.update_range.call(this,t)),null!=t.factor){if(10!==this.zoom_count)return void(this.zoom_count+=1);this.zoom_count=0,e.__super__.update_range.call(this,t),u=t.factor<0?-1:1,n=this.map.getZoom(),i=n+u,i>=2&&(this.map.setZoom(i),l=this.getProjectedBounds(),s=l[0],r=l[1],a=l[2],o=l[3],0>r-s&&this.map.setZoom(n)),this.setRanges()}return this.unpause()},e.prototype.bind_bokeh_events=function(){var t,i,n,r,s,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\")),s=this.canvas.vy_to_sy(this.frame.get(\"top\")),this.canvas_view.map_div.attr(\"style\",\"top: \"+s+\"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,n,r;return n=window.google.maps,i={satellite:n.MapTypeId.SATELLITE,terrain:n.MapTypeId.TERRAIN,roadmap:n.MapTypeId.ROADMAP,hybrid:n.MapTypeId.HYBRID},r=t.mget(\"map_options\"),e={center:new n.LatLng(r.lat,r.lng),zoom:r.zoom,disableDefaultUI:!0,mapTypeId:i[r.map_type]},null!=r.styles&&(e.styles=JSON.parse(r.styles)),t.map=new n.Map(t.canvas_view.map_div[0],e),n.event.addListenerOnce(t.map,\"idle\",t.setRanges)}}(this),null==window._bokeh_gmap_loads&&(window._bokeh_gmap_loads=[]),null!=window.google&&null!=window.google.maps?a.defer(t):null!=window._bokeh_gmap_callback?window._bokeh_gmap_loads.push(t):(window._bokeh_gmap_loads.push(t),window._bokeh_gmap_callback=function(){return a.each(window._bokeh_gmap_loads,a.defer)},r=document.createElement(\"script\"),r.type=\"text/javascript\",r.src=\"https://maps.googleapis.com/maps/api/js?v=3&callback=_bokeh_gmap_callback\",document.body.appendChild(r))},e.prototype._map_hook=function(t,e){var i,n,r,s;return n=e[0],r=e[1],s=e[2],i=e[3],this.canvas_view.map_div.attr(\"style\",\"top: \"+r+\"px; left: \"+n+\"px;\"),this.canvas_view.map_div.width(s+\"px\").height(i+\"px\")},e.prototype._paint_empty=function(t,e){var i,n,r,s,o,a;return o=this.canvas.get(\"width\"),s=this.canvas.get(\"height\"),r=e[0],a=e[1],n=e[2],i=e[3],t.clearRect(0,0,o,s),t.beginPath(),t.moveTo(0,0),t.lineTo(0,s),t.lineTo(o,s),t.lineTo(o,0),t.lineTo(0,0),t.moveTo(r,a),t.lineTo(r+n,a),t.lineTo(r+n,a+i),t.lineTo(r,a+i),t.lineTo(r,a),t.closePath(),t.fillStyle=this.mget(\"border_fill\"),t.fill()},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type=\"GMapPlot\",e.prototype.default_view=r,e.prototype.initialize=function(t,i){return this.use_map=!0,e.__super__.initialize.call(this,t,i)},e.prototype.parent_properties=[\"border_fill\",\"min_border\",\"min_border_top\",\"min_border_bottom\",\"min_border_left\",\"min_border_right\"],e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{title:\"GMapPlot\"})},e.prototype.display_defaults=function(){return a.extend({},e.__super__.display_defaults.call(this),{border_fill:\"#fff\"})},e}(s.Model),e.exports={Model:n,View:r}},{\"./plot\":121,\"./solver\":131,proj4:56,underscore:92}],113:[function(t,e,i){var n,r,s,o,a,l,u,h,c,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\"),d=t(\"underscore\"),r=t(\"backbone\"),f=t(\"./build_views\"),s=t(\"./continuum_view\"),h=t(\"./has_properties\"),g=t(\"./logging\").logger,c=t(\"./tool_manager\"),m=t(\"./plot_template\"),p=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.listenTo(this,\"do\",this[\"do\"]),this.listenTo(this,\"change:active\",this.active),null},e.prototype[\"do\"]=function(){var t,e,i,n;for(i=this.attributes.tools,t=0,e=i.length;e>t;t++)n=i[t],n.trigger(\"do\");return null},e.prototype.active=function(){var t,e,i,n;for(i=this.attributes.tools,t=0,e=i.length;e>t;t++)n=i[t],n.set(\"active\",this.attributes.active);return null},e.prototype.attrs_and_props=function(){return this.attributes.tools[0].attrs_and_props()},e.prototype.get=function(t){return this.attributes.tools[0].get(t)},e.prototype.set=function(t,i){var n,r,s,o;for(e.__super__.set.call(this,t,i),s=this.attributes.tools,n=0,r=s.length;r>n;n++)o=s[n],o.set(t,i);return null},e}(r.Model),l=function(t){function e(){return this._active_change=y(this._active_change,this),e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype._init_tools=function(){var t,e,i,n,r,s,o,a,l,u,h,c,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S;for(s={},t={},i={},m=this.get(\"tool_managers\"),n=0,u=m.length;u>n;n++){M=m[n],_=M.get(\"gestures\");for(e in _){r=_[e],e in i||(i[e]={}),v=r.tools;for(o=0,h=v.length;h>o;o++)D=v[o],D.type in i[e]||(i[e][D.type]=[]),i[e][D.type].push(D)}for(y=M.get(\"inspectors\"),a=0,c=y.length;c>a;a++)D=y[a],D.type in s||(s[D.type]=[]),s[D.type].push(D);for(b=M.get(\"actions\"),l=0,f=b.length;f>l;l++)D=b[l],D.type in t||(t[D.type]=[]),t[D.type].push(D)}for(e in i){w=i[e];for(S in w)T=w[S],T.length===this.get(\"num_plots\")&&(g=new p({tools:T}),this.get(\"gestures\")[e].tools.push(g),this.listenTo(g,\"change:active\",d.bind(this._active_change,g)))}for(S in t)T=t[S],T.length===this.get(\"num_plots\")&&(g=new p({tools:T}),C=this.get(\"actions\"),C.push(g),this.set(\"actions\",C));for(S in s)T=s[S],T.length===this.get(\"num_plots\")&&(g=new p({tools:T}),C=this.get(\"inspectors\"),C.push(g),this.set(\"inspectors\",C));x=this.get(\"gestures\"),k=[];for(e in x)r=x[e],T=r.tools,0!==T.length&&(r.tools=d.sortBy(T,function(t){return t.get(\"default_order\")}),k.push(r.tools[0].set(\"active\",!0)));return k},e.prototype._active_change=function(t){var e,i,n,r;return i=t.get(\"event_type\"),(e=t.get(\"active\"))?(n=this.get(\"gestures\"),r=n[i].active,null!=r&&(g.debug(\"GridToolManager: deactivating tool: \"+r.type+\" (for event type '\"+i+\"'\"),r.set(\"active\",!1)),n[i].active=t,this.set(\"gestures\",n),g.debug(\"GridToolManager: activating tool: \"+t.type+\" (for event type '\"+i+\"'\"),null):null},e.prototype.defaults=function(){return d.extend({},e.__super__.defaults.call(this),{tool_manangers:[]})},e}(c.Model),u=function(t){function e(){return this.layout_widths=y(this.layout_widths,this),this.layout_heights=y(this.layout_heights,this),this.setup_layout_properties=y(this.setup_layout_properties,this),e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.setup_layout_properties=function(){var t,e,i,n,r,s;for(this.register_property(\"layout_heights\",this.layout_heights,!1),this.register_property(\"layout_widths\",this.layout_widths,!1),i=this.get(\"viewstates\"),n=[],t=0,e=i.length;e>t;t++)r=i[t],n.push(function(){var t,e,i;for(i=[],t=0,e=r.length;e>t;t++)s=r[t],this.add_dependencies(\"layout_heights\",s,\"height\"),i.push(this.add_dependencies(\"layout_widths\",s,\"width\"));return i}.call(this));return n},e.prototype.initialize=function(t,i){var n,r;return e.__super__.initialize.call(this,t,i),this.setup_layout_properties(),this.listenTo(this,\"change:viewstates\",this.setup_layout_properties),n=function(t){return function(){return d.reduce(t.get(\"layout_heights\"),function(t,e){return t+e},0)}}(this),this.register_property(\"height\",n,!1),this.add_dependencies(\"height\",this,\"layout_heights\"),r=function(t){return function(){return d.reduce(t.get(\"layout_widths\"),function(t,e){return t+e},0)}}(this),this.register_property(\"width\",r,!1),this.add_dependencies(\"width\",this,\"layout_widths\")},e.prototype.position_child_x=function(t,e){return t},e.prototype.position_child_y=function(t,e){return this.get(\"height\")-t-e},e.prototype.maxdim=function(t,e){return 0===e.length?0:d.max(d.map(e,function(e){return null!=e?e.get(t):0}))},e.prototype.layout_heights=function(){var t,e;return e=function(){var e,i,n,r;for(n=this.get(\"viewstates\"),r=[],e=0,i=n.length;i>e;e++)t=n[e],r.push(this.maxdim(\"height\",t));return r}.call(this)},e.prototype.layout_widths=function(){var t,e,i,n,r,s;return r=this.get(\"viewstates\")[0].length,i=function(){var t,e,i,o;for(i=d.range(r),o=[],t=0,e=i.length;e>t;t++)n=i[t],o.push(function(){var t,e,i,r;for(i=this.get(\"viewstates\"),r=[],t=0,e=i.length;e>t;t++)s=i[t],r.push(s[n]);return r}.call(this));return o}.call(this),e=function(){var e,n,r;for(r=[],e=0,n=i.length;n>e;e++)t=i[e],r.push(this.maxdim(\"width\",t));return r}.call(this)},e.prototype.defaults=function(){return d.extend({},e.__super__.defaults.call(this),{viewstates:[[]],border_space:0})},e}(h),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.className=\"\",e.prototype.template=m,e.prototype.initialize=function(t){var i,n;return e.__super__.initialize.call(this,t),this.viewstate=new u,this.child_views={},this.build_children(),this.bind_bokeh_events(),this.$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 c.View({model:this.mget(\"tool_manager\"),el:this.$(n)})),this.render(),this},e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,\"change:children\",this.build_children),this.listenTo(this.model,\"change\",this.render),this.listenTo(this.viewstate,\"change\",this.render),this.listenTo(this.model,\"destroy\",this.remove)},e.prototype.build_children=function(){var t,e,i,n,r,s,o,a,l,u,h,c,p,d,g,m,_,v,y;for(t=[],p=this.mget(\"children\"),e=0,s=p.length;s>e;e++)for(_=p[e],i=0,o=_.length;o>i;i++)c=_[i],null!=c&&(c.set(\"toolbar_location\",null),t.push(c));for(f(this.child_views,t,{}),v=[],d=this.mget(\"children\"),n=0,a=d.length;a>n;n++){for(_=d[n],y=[],r=0,l=_.length;l>r;r++)c=_[r],null!=c&&y.push(this.child_views[c.id].canvas);v.push(y)}for(this.viewstate.set(\"viewstates\",v),g=this.mget(\"children\"),m=[],h=0,u=g.length;u>h;h++)_=g[h],m.push(function(){var t,e,i;for(i=[],e=0,t=_.length;t>e;e++)c=_[e],null!=c&&i.push(this.listenTo(c.solver,\"layout_update\",this.render));return i}.call(this));return m},e.prototype.render=function(){var t,i,r,s,o,a,l,u,h,p,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I;for(e.__super__.render.call(this),y=d.values(this.child_views),a=0,p=y.length;p>a;a++)T=y[a],T.$el.detach();for(s=n(\"<div />\"),this.$(\".bk-plot-canvas-wrapper\").empty(),this.$(\".bk-plot-canvas-wrapper\").append(s),M=this.mget(\"toolbar_location\"),null!=M&&(C=\".bk-plot-\"+M,this.tm_view=new c.View({model:this.mget(\"tool_manager\"),el:this.$(C)}),this.tm_view.render()),k=this.viewstate.get(\"layout_heights\"),r=this.viewstate.get(\"layout_widths\"),E=[0],d.reduceRight(k.slice(1),function(t,e){var i;return i=t+e,E.push(i),i},0),E.reverse(),A=[0],d.reduce(r.slice(0),function(t,e){var i;return i=t+e,A.push(i),i},0),_=[],h=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],I=this.viewstate.position_child_y(E[w],T.canvas.get(\"height\")),P=this.viewstate.position_child_x(A[i],T.canvas.get(\"width\")),v=n(\"<div class='gp_plotwrapper'></div>\"),v.attr(\"style\",\"position: absolute; left:\"+P+\"px; top:\"+I+\"px\"),v.append(T.$el),s.append(v));return t=function(t,e){return t+e},D=d.reduce(k,t,0),o=D,S=d.reduce(r,t,0),s.attr(\"style\",\"position:relative; height:\"+o+\"px;width:\"+S+\"px\")},e}(s),o=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}(h),e.exports={Model:o,View:a}},{\"./build_views\":101,\"./continuum_view\":109,\"./has_properties\":115,\"./logging\":119,\"./plot_template\":123,\"./tool_manager\":135,backbone:2,jquery:18,underscore:92}],114:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),r=t(\"./has_properties\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(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),s.isUndefined(i)?this._parent&&s.indexOf(this._parent.parent_properties,t)>=0&&(i=this._parent.get(t),!s.isUndefined(i))?i:this._display_defaults[t]:i)},e.prototype.display_defaults=function(){return{}},e}(r),e.exports=n},{\"./has_properties\":115,underscore:92}],115:[function(t,e,i){var n,r,s,o,a,l,u=function(t,e){return function(){return t.apply(e,arguments)}},h=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;n=t(\"jquery\"),o=t(\"underscore\"),r=t(\"backbone\"),l=t(\"./logging\").logger,a=function(t){var e;if(o.isObject(t)){if(e=o.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},s=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=o.uniqueId(\"c\"),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{}),i=o.defaults({},i,o.result(this,\"defaults\")),this.set(i,e),this.changed={},this._base=!1,this.properties={},this.property_cache={},o.has(i,this.idAttribute)||(this.id=o.uniqueId(this.type),this.attributes[this.idAttribute]=this.id),e.defer_initialization||this.initialize.apply(this,arguments)}return h(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=o.clone(this.attributes),r=o.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,s;for(o.isArray(t)||(t=[t]),s={},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],s);if(i)return this;for(;this._pending;)this._pending=!1,this.trigger(\"change\",this,s);return this._pending=!1,this._changing=!1,this},i.prototype.set_obj=function(t,e,i){var n,r;o.isObject(t)||null===t?(n=t,i=e):(n={},n[t]=e);for(t in n)c.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,s,a,l,u;o.isObject(t)||null===t?(r=t,n=e):(r={},r[t]=e),l=[];for(t in r)c.call(r,t)&&(u=r[t],o.has(this,\"properties\")&&o.has(this.properties,t)&&this.properties[t].setter&&(this.properties[t].setter.call(this,u,t),l.push(t)));if(!o.isEmpty(l))for(r=o.clone(r),s=0,a=l.length;a>s;s++)t=l[s],delete r[t];return o.isEmpty(r)?void 0:i.__super__.set.call(this,r,n)},i.prototype.convert_to_ref=function(t){return o.isArray(t)?o.map(t,this.convert_to_ref):t instanceof i?t.ref():void 0},i.prototype.add_dependencies=function(t,e,i){var n,r,s,a,l;for(o.isArray(i)||(i=[i]),a=this.properties[t],a.dependencies=a.dependencies.concat({obj:e,fields:i}),l=[],r=0,s=i.length;s>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,s;return o.isUndefined(i)&&(i=!0),o.has(this.properties,t)&&this.remove_property(t),n=function(e){return function(){return e.trigger(\"changedep:\"+t)}}(this),s=function(e){return function(){var i,n,s;return i=!0,r.use_cache&&(s=e.get_cache(t),e.clear_cache(t),n=e.get(t),i=n!==s),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:s}},this.properties[t]=r,this.listenTo(this,\"changedep:\"+t,r.callbacks.propchange),r},i.prototype.remove_property=function(t){var e,i,n,r,s,o,a,l,u,h;for(u=this.properties[t],i=u.dependencies,r=0,o=i.length;o>r;r++)for(e=i[r],l=e.obj,h=e.fields,s=0,a=h.length;a>s;s++)n=h[s],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 o.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),o.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 o.isUndefined(t)?t:o.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,s,o,a,l,u,h;if(a=this.get_base().Config.prefix,s=this.get(\"doc\"),null==s)throw new Error(\"Unset 'doc' in \"+this);return o=this.get(\"id\"),u=this.type,h=a+\"bokeh/bb/rpc/\"+s+\"/\"+u+\"/\"+o+\"/\"+t+\"/\",r={args:e,kwargs:i},l=n.ajax({type:\"POST\",url:h,data:JSON.stringify(r),contentType:\"application/json\",xhrFields:{withCredentials:!0}})},i}(r.Model),e.exports=s},{\"./base\":99,\"./logging\":119,backbone:2,jquery:18,underscore:92}],116:[function(t,e,i){var n,r,s,o,a,l,u;l=function(t,e,i,n){var r,s,o,a,l,u,h,c;for(s=!1,l=i[i.length-1],h=n[n.length-1],r=o=0,a=i.length;a>=0?a>o:o>a;r=a>=0?++o:--o)u=i[r],c=n[r],e>h!=e>c&&t>l+(e-h)/(c-h)*(u-l)&&(s=!s),l=u,h=c;return s},r=function(){var t;return t={\"0d\":{flag:!1,indices:[]},\"1d\":{indices:[]},\"2d\":{indices:[]}}},u=function(t){return t*t},s=function(t,e,i,n){return u(t-i)+u(e-n)},a=function(t,e,i){var n,r;return n=s(e.x,e.y,i.x,i.y),0===n?s(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?s(t.x,t.y,e.x,e.y):r>1?s(t.x,t.y,i.x,i.y):s(t.x,t.y,e.x+r*(i.x-e.x),e.y+r*(i.y-e.y)))},o=function(t,e,i){return Math.sqrt(a(t,e,i))},n=function(t,e,i,n,r,s,o,a){var l,u,h,c,p,d,f;return h=(a-s)*(i-t)-(o-r)*(n-e),0===h?{hit:!1,x:null,y:null}:(l=e-s,u=t-r,c=(o-r)*l-(a-s)*u,p=(i-t)*l-(n-e)*u,l=c/h,u=p/h,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:s,dist_to_segment:o,check_2_segments_intersect:n}},{}],117:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,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,s=f.Expression,n=f.Constraint,h=f.Operator,r=h.Eq,u=h.Le,o=h.Ge),a=t(\"./has_properties\"),c=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,h,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,h=m.length;h>l;l++)_=m[l],d=\"_\"+_,this[d]=new p(_),this.register_property(_,this._get_var,!1);return this.solver.add_constraint(new n(new s(this._top),o)),this.solver.add_constraint(new n(new s(this._bottom),o)),this.solver.add_constraint(new n(new s(this._left),o)),this.solver.add_constraint(new n(new s(this._right),o)),this.solver.add_constraint(new n(new s(this._width),o)),this.solver.add_constraint(new n(new s(this._height),o)),this.solver.add_constraint(new n(new s(this._left,this._width,[-1,this._right]),r)),this.solver.add_constraint(new n(new s(this._bottom,this._height,[-1,this._top]),r)),this._h_range=new c.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 c.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<=this.get(\"right\")&&e>=this.get(\"bottom\")&&e<=this.get(\"top\")},e.prototype._set_var=function(t,e){var i,o;return o=this[\"_\"+e],d.isNumber(t)?this.solver.suggest_value(o,t):d.isString(t)?void 0:(i=new n(new s(o,[-1,t]),r),null==this.var_constraints[e]&&(this.var_constraints[e]=[]),this.var_constraints[e].push(i),this.solver.add_constraint(i))},e.prototype._get_var=function(t){return this[\"_\"+t].value()},e.prototype._set_aspect=function(t){var e;return null!=this._aspect_constraint?(this.solver.remove_constraint(this.aspect_constraint),e=new n(new s([t,this._height],[-1,this._width]),r),this._aspect_constraint=e,this.solver.add_constraint(e)):void 0},e.prototype.defaults=function(){return d.extend({},e.__super__.defaults.call(this),{top_strength:f.Strength.strong,bottom_strength:f.Strength.strong,left_strength:f.Strength.strong,right_strength:f.Strength.strong,width_strength:f.Strength.strong,height_strength:f.Strength.strong})},e}(a),e.exports={Model:l}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../range/range1d\":146,\"./has_properties\":115,kiwi:303,underscore:92}],118:[function(t,e,i){var n,r,s;n=t(\"./base\"),s=t(\"./logging\").logger,r=function(e){var i,n,r,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T;for(_=[],v=[],i=t(\"./base\").Collections,s.debug(\"load_models: start\"),o={},l=0,c=e.length;c>l;l++)d=e[l],g=d.type,n=d.attributes,f=n.id,r=i(g),null!=r?r.get(f)?v.push([r,n,g]):f in o?s.warn(\"load_models: ignoring duplicate \"+g+\" (\"+f+\")\"):(o[f]=!0,_.push([r,n,g])):s.warn(\"load_models: no collection for \"+g+\" (\"+f+\"), ignoring\");for(s.debug(\"load_models: adding \"+_.length+\" new models to collections\"),a=u=0,y=_.length;y>=0?y>u:u>y;a=y>=0?++u:--u)b=_[a],r=b[0],n=b[1],T=b[2],s.trace(\"load_models: adding [\"+a+\"] \"+T+\" (\"+n.id+\")\"),r.add(n,{silent:!0,defer_initialization:!0});for(s.debug(\"load_models: finished adding new models to collections\"),s.debug(\"load_models: starting deferred initializations of \"+_.length+\" new models\"),a=h=0,w=_.length;w>=0?w>h:h>w;a=w>=0?++h:--h)x=_[a],r=x[0],n=x[1],T=x[2],d=r.get(n.id),s.trace(\"load_models: initializing [\"+a+\"] \"+d.type+\" (\"+n.id+\")\"),d.initialize(n);for(s.debug(\"load_models: finished deferred initializations\"),a=p=0,k=_.length;k>=0?k>p:p>k;a=k>=0?++p:--p)M=_[a],r=M[0],n=M[1],T=M[2],d=r.get(n.id),d.trigger(\"add\",d,r,{});for(a=m=0,C=v.length;C>=0?C>m:m>C;a=C>=0?++m:--m)D=v[a],r=D[0],n=D[1],T=D[2],r.get(n.id).set(n);return s.debug(\"load_models: finish\"),null},e.exports=r},{\"./base\":99,\"./logging\":119}],119:[function(t,e,i){var n,r,s;n=t(\"jsnlog\").JL,r=n(\"Bokeh\"),r.setOptions({appenders:[n.createConsoleAppender(\"consoleAppender\")]}),s=function(t){var e;return e={trace:n.getTraceLevel(),debug:n.getDebugLevel(),info:n.getInfoLevel(),warn:n.getWarnLevel(),error:n.getErrorLevel(),fatal:n.getFatalLevel()},t in e?(console.log(\"Bokeh: setting log level to: '\"+t+\"'\"),r.setOptions({level:e[t]})):(console.log(\"Bokeh: Unrecognized logging level '\"+t+\"' passed to Bokeh.set_log_level, ignoring.\"),void console.log(\"Bokeh: Valid log levels are: \"+Object.keys(e)))},e.exports={logger:r,set_log_level:s}},{jsnlog:19}],120:[function(t,e,i){var n,r,s;s=function(t){for(;0>t;)t+=2*Math.PI;for(;t>2*Math.PI;)t-=2*Math.PI;return t},r=function(t,e){return Math.abs(s(t-e))},n=function(t,e,i,n){var o;return t=s(t),o=r(e,i),\"anticlock\"===n?r(e,t)<=o&&r(t,i)<=o:!(r(e,t)<=o&&r(t,i)<=o)},e.exports={angle_norm:s,angle_dist:r,angle_between:n}},{}],121:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A=function(t,e){return function(){return t.apply(e,arguments)}},P=function(t,e){function i(){this.constructor=t}for(var n in e)E.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,\n",
       "        t.prototype=new i,t.__super__=e.prototype,t},E={}.hasOwnProperty;w=t(\"underscore\"),n=t(\"jquery\"),r=t(\"backbone\"),null!=i._bokehTest?M={}:(M=t(\"kiwi\"),h=M.Expression,a=M.Constraint,g=M.Operator,u=g.Eq,f=g.Le,c=g.Ge),x=t(\"./build_views\"),s=t(\"./canvas\"),o=t(\"./cartesian_frame\"),l=t(\"./continuum_view\"),b=t(\"./ui_events\"),p=t(\"./has_parent\"),d=t(\"./layout_box\"),C=t(\"./logging\").logger,T=t(\"./plot_utils\"),v=t(\"./solver\"),y=t(\"./tool_manager\"),D=t(\"./plot_template\"),S=t(\"./properties\"),k=null,_=function(t){function e(){return this.resize=A(this.resize,this),this.remove=A(this.remove,this),this.request_render=A(this.request_render,this),e.__super__.constructor.apply(this,arguments)}return P(e,t),e.prototype.className=\"bk-plot\",e.prototype.template=D,e.prototype.view_options=function(){return w.extend({plot_model:this.model,plot_view:this},this.options)},e.prototype.pause=function(){return this.is_paused=!0},e.prototype.unpause=function(){return this.is_paused=!1,this.request_render()},e.prototype.request_render=function(){this.is_paused||this.throttled_render(!0)},e.prototype.remove=function(){var t,i,n,r;e.__super__.remove.call(this),i=this.tools,n=[];for(t in i)r=i[t],n.push(r.remove());return n},e.prototype.initialize=function(t){var i,r,s,o,a,l,u,h,c,p;for(e.__super__.initialize.call(this,t),this.pause(),this.model.initialize_layout(this.model.solver),this.frame=this.mget(\"frame\"),this.x_range=this.frame.get(\"x_ranges\")[\"default\"],this.y_range=this.frame.get(\"y_ranges\")[\"default\"],this.xmapper=this.frame.get(\"x_mappers\")[\"default\"],this.ymapper=this.frame.get(\"y_mappers\")[\"default\"],this.$el.html(this.template()),this.canvas=this.mget(\"canvas\"),this.canvas_view=new this.canvas.default_view({model:this.canvas}),this.$(\".bk-plot-canvas-wrapper\").append(this.canvas_view.el),this.canvas_view.render(),(this.mget(\"webgl\")||window.location.search.indexOf(\"webgl=1\")>0)&&-1===window.location.search.indexOf(\"webgl=0\")&&this.init_webgl(),this.throttled_render=T.throttle_animation(this.render,15),this.outline_props=new S.Line({obj:this.model,prefix:\"outline_\"}),this.title_props=new S.Text({obj:this.model,prefix:\"title_\"}),this.renderers={},this.tools={},this.levels={},a=T.LEVELS,r=0,s=a.length;s>r;r++)o=a[r],this.levels[o]={};this.build_levels(),this.bind_bokeh_events(),this.model.add_constraints(this.canvas.solver),this.listenTo(this.canvas.solver,\"layout_update\",this.request_render),this.ui_event_bus=new b({tool_manager:this.mget(\"tool_manager\"),hit_area:this.canvas_view.$el}),l=this.tools;for(i in l)h=l[i],this.ui_event_bus.register_tool(h);return c=this.mget(\"toolbar_location\"),null!=c&&(p=\".bk-plot-\"+c,C.debug(\"attaching toolbar to \"+p+\" for plot \"+this.model.id),this.tm_view=new y.View({model:this.mget(\"tool_manager\"),el:this.$(p)})),this.update_dataranges(),this.mget(\"responsive\")&&(u=w.throttle(this.resize,100),n(window).on(\"resize\",u),n(this.resize)),this.unpause(),C.debug(\"PlotView initialized\"),this},e.prototype.init_webgl=function(){var t,e;return t=k,null==t&&(k=t=document.createElement(\"canvas\"),e={premultipliedAlpha:!0},t.gl=t.getContext(\"webgl\",e)||t.getContext(\"experimental-webgl\",e)),null!=t.gl?this.canvas_view.ctx.glcanvas=t:C.warn(\"WebGL is not supported, falling back to 2D canvas.\")},e.prototype.update_dataranges=function(){var t,e,i,n,r,s,o,a,l,u,h,c,p,d,f;i=this.model.get(\"frame\"),e={},l=this.renderers;for(r in l)p=l[r],t=null!=(u=p.glyph)&&\"function\"==typeof u.bounds?u.bounds():void 0,null!=t&&(e[r]=t);for(h=w.values(i.get(\"x_ranges\")),n=0,o=h.length;o>n;n++)d=h[n],\"function\"==typeof d.update&&d.update(e,0,this);for(c=w.values(i.get(\"y_ranges\")),s=0,a=c.length;a>s;s++)f=c[s],\"function\"==typeof f.update&&f.update(e,1,this);return this.range_update_timestamp=Date.now()},e.prototype.map_to_screen=function(t,e,i,n){return null==i&&(i=\"default\"),null==n&&(n=\"default\"),this.frame.map_to_screen(t,e,this.canvas,i,n)},e.prototype.update_range=function(t){var e,i,n,r,s,o;null==t&&(t=this.initial_range_info),this.pause(),i=this.frame.get(\"x_ranges\");for(e in i)o=i[e],(o.get(\"start\")!==t.xrs[e].start||o.get(\"end\")!==t.xrs[e].end)&&(o.set(t.xrs[e]),null!=(n=o.get(\"callback\"))&&n.execute(this.model));r=this.frame.get(\"y_ranges\");for(e in r)o=r[e],(o.get(\"start\")!==t.yrs[e].start||o.get(\"end\")!==t.yrs[e].end)&&(o.set(t.yrs[e]),null!=(s=o.get(\"callback\"))&&s.execute(this.model));return this.unpause()},e.prototype.build_levels=function(){var t,e,i,n,r,s,o,a,l,u,h,c,p,d;for(l=w.keys(this.renderers),d=x(this.renderers,this.mget(\"renderers\"),this.view_options()),u=w.difference(l,w.pluck(this.mget(\"renderers\"),\"id\")),e=0,n=u.length;n>e;e++)t=u[e],delete this.levels.glyph[t];for(c=x(this.tools,this.mget(\"tools\"),this.view_options()),i=0,r=d.length;r>i;i++)p=d[i],o=p.mget(\"level\"),this.levels[o][p.model.id]=p,p.bind_bokeh_events();for(a=0,s=c.length;s>a;a++)h=c[a],o=h.mget(\"level\"),this.levels[o][h.model.id]=h,h.bind_bokeh_events();return this},e.prototype.bind_bokeh_events=function(){var t,e,i,n;e=this.mget(\"frame\").get(\"x_ranges\");for(t in e)n=e[t],this.listenTo(n,\"change\",this.request_render);i=this.mget(\"frame\").get(\"y_ranges\");for(t in i)n=i[t],this.listenTo(n,\"change\",this.request_render);return this.listenTo(this.model,\"change:renderers\",this.build_levels),this.listenTo(this.model,\"change:tool\",this.build_levels),this.listenTo(this.model,\"change\",this.request_render),this.listenTo(this.model,\"destroy\",function(t){return function(){return t.remove()}}(this))},e.prototype.set_initial_range=function(){var t,e,i,n,r,s,o;t=!0,s={},i=this.frame.get(\"x_ranges\");for(e in i){if(r=i[e],null==r.get(\"start\")||null==r.get(\"end\")||w.isNaN(r.get(\"start\")+r.get(\"end\"))){t=!1;break}s[e]={start:r.get(\"start\"),end:r.get(\"end\")}}if(t){o={},n=this.frame.get(\"y_ranges\");for(e in n){if(r=n[e],null==r.get(\"start\")||null==r.get(\"end\")||w.isNaN(r.get(\"start\")+r.get(\"end\"))){t=!1;break}o[e]={start:r.get(\"start\"),end:r.get(\"end\")}}}return t?(this.initial_range_info={xrs:s,yrs:o},C.debug(\"initial ranges set\")):C.warn(\"could not set initial ranges\")},e.prototype.render=function(t){var i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,D,T;null==t&&(t=!1),C.trace(\"Plot.render(force_canvas=\"+t+\")\"),Date.now()-this.interactive_timestamp<this.mget(\"lod_interval\")?(this.interactive=!0,f=this.mget(\"lod_timeout\"),setTimeout(function(t){return function(){return t.interactive&&Date.now()-t.interactive_timestamp>f&&(t.interactive=!1),t.request_render()}}(this),f)):this.interactive=!1,T=this.mget(\"plot_width\"),l=this.mget(\"plot_height\"),(this.canvas.get(\"canvas_width\")!==T||this.canvas.get(\"canvas_height\")!==l)&&this.canvas._set_dims([T,l],M=!1),e.__super__.render.call(this),this.canvas_view.render(t),null!=this.tm_view&&this.tm_view.render(),n=this.canvas_view.ctx,s=this.model.get(\"frame\"),i=this.model.get(\"canvas\"),m=this.renderers;for(h in m)D=m[h],null!=D.model.update_layout&&D.model.update_layout(D,this.canvas.solver);_=this.renderers;for(h in _)if(D=_[h],D.set_data_timestamp>(null!=this.range_update_timestamp)){this.update_dataranges();break}if(k=this.mget(\"title\"),k&&(this.title_props.set_value(this.canvas_view.ctx),x=n.measureText(this.mget(\"title\")).ascent+this.model.get(\"title_standoff\"),x!==this.model.title_panel.get(\"height\")&&this.model.title_panel.set(\"height\",x)),this.model.get(\"frame\").set(\"width\",i.get(\"width\")-1),this.model.get(\"frame\").set(\"height\",i.get(\"height\")-1),this.canvas.solver.update_variables(!1),this.model.get(\"frame\")._update_mappers(),o=[this.canvas.vx_to_sx(this.frame.get(\"left\")),this.canvas.vy_to_sy(this.frame.get(\"top\")),this.frame.get(\"width\"),this.frame.get(\"height\")],this._map_hook(n,o),this._paint_empty(n,o),n.glcanvas&&(n.glcanvas.width=this.canvas_view.canvas[0].width,n.glcanvas.height=this.canvas_view.canvas[0].height,a=n.glcanvas.gl,a.viewport(0,0,n.glcanvas.width,n.glcanvas.height),a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT||a.DEPTH_BUFFER_BIT),a.enable(a.SCISSOR_TEST),r=n.glcanvas.height-(o[1]+o[3]),a.scissor(o[0],r,o[2],o[3]),a.enable(a.BLEND),a.blendFuncSeparate(a.SRC_ALPHA,a.ONE_MINUS_SRC_ALPHA,a.ONE_MINUS_DST_ALPHA,a.ONE)),this.outline_props.do_stroke&&(this.outline_props.set_value(n),n.strokeRect.apply(n,o)),this._render_levels(n,[\"image\",\"underlay\",\"glyph\",\"annotation\"],o),n.glcanvas){for(v=[\"image\",\"mozImage\",\"webkitImage\",\"msImage\"],u=0,p=v.length;p>u;u++)g=v[u],n[g+\"SmoothingEnabled\"]=!1;for(n.drawImage(n.glcanvas,.1,.1),y=[\"image\",\"mozImage\",\"webkitImage\",\"msImage\"],c=0,d=y.length;d>c;c++)g=y[c],n[g+\"SmoothingEnabled\"]=!0;C.debug(\"drawing with WebGL\")}return this._render_levels(n,[\"overlay\",\"tool\"]),k&&(b=this.canvas.vx_to_sx(this.canvas.get(\"width\")/2),w=this.canvas.vy_to_sy(this.model.title_panel.get(\"bottom\")+this.model.get(\"title_standoff\")),this.title_props.set_value(n),n.fillText(k,b,w)),null==this.initial_range_info?this.set_initial_range():void 0},e.prototype.resize=function(){var t,e,i,n,r,s;return e=this.canvas.get(\"height\"),i=this.canvas.get(\"width\"),t=i/e,n=this.mget(\"min_size\"),s=Math.max(this.el.clientWidth,n),r=parseInt(s/t),n>r&&(r=100,s=r*t),this.canvas._set_dims([s,r]),null},e.prototype._render_levels=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m;for(t.save(),null!=i&&(t.beginPath(),t.rect.apply(t,i),t.clip(),t.beginPath()),r={},p=this.mget(\"renderers\"),n=s=0,a=p.length;a>s;n=++s)d=p[n],r[d.id]=n;for(m=function(t){return r[t.model.id]},o=0,l=e.length;l>o;o++)for(h=e[o],g=w.sortBy(w.values(this.levels[h]),m),c=0,u=g.length;u>c;c++)f=g[c],f.render();return t.restore()},e.prototype._map_hook=function(t,e){},e.prototype._paint_empty=function(t,e){return t.fillStyle=this.mget(\"border_fill\"),t.fillRect(0,0,this.canvas_view.mget(\"canvas_width\"),this.canvas_view.mget(\"canvas_height\")),t.fillStyle=this.mget(\"background_fill\"),t.fillRect.apply(t,e)},e}(l),m=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return P(e,t),e.prototype.type=\"Plot\",e.prototype.default_view=_,e.prototype.initialize=function(t,i){var n,r,o,a,l,u,h,c,p,d,f,g,m,_,b;for(e.__super__.initialize.call(this,t,i),d=w.values(this.get(\"extra_x_ranges\")).concat(this.get(\"x_range\")),r=0,a=d.length;a>r;r++)_=d[r],_=this.resolve_ref(_),c=_.get(\"plots\"),w.isArray(c)&&(c=c.concat(this),_.set(\"plots\",c));for(f=w.values(this.get(\"extra_y_ranges\")).concat(this.get(\"y_range\")),o=0,l=f.length;l>o;o++)b=f[o],b=this.resolve_ref(b),c=b.get(\"plots\"),w.isArray(c)&&(c=c.concat(this),b.set(\"plots\",c));for(n=new s.Model({map:null!=(g=this.use_map)?g:!1,canvas_width:this.get(\"plot_width\"),canvas_height:this.get(\"plot_height\"),hidpi:this.get(\"hidpi\"),solver:new v}),this.set(\"canvas\",n),this.solver=n.get(\"solver\"),m=this.get(\"renderers\"),h=0,u=m.length;u>h;h++)p=m[h],p.set(\"parent\",this);return this.set(\"tool_manager\",new y.Model({tools:this.get(\"tools\"),toolbar_location:this.get(\"toolbar_location\"),logo:this.get(\"logo\")})),C.debug(\"Plot initialized\")},e.prototype.initialize_layout=function(t){var e,i,n;return e=this.get(\"canvas\"),n=new o.Model({x_range:this.get(\"x_range\"),extra_x_ranges:this.get(\"extra_x_ranges\"),x_mapper_type:this.get(\"x_mapper_type\"),y_range:this.get(\"y_range\"),extra_y_ranges:this.get(\"extra_y_ranges\"),y_mapper_type:this.get(\"y_mapper_type\"),solver:t}),this.set(\"frame\",n),this.title_panel=new d.Model({solver:t}),this.title_panel._anchor=this.title_panel._bottom,i=this.get(\"above\"),i.push(this.title_panel),this.set(\"above\",i)},e.prototype.add_constraints=function(t){var e,i,n,r,s,o,l,p,g;return s=null!=(o=this.get(\"min_border_top\"))?o:this.get(\"min_border\"),i=null!=(l=this.get(\"min_border_bottom\"))?l:this.get(\"min_border\"),n=null!=(p=this.get(\"min_border_left\"))?p:this.get(\"min_border\"),r=null!=(g=this.get(\"min_border_right\"))?g:this.get(\"min_border\"),e=function(t){return function(e,i,n,r,s,o){var l,p,f,g,m,_,v,y,b,w,x,k;for(g=t.get(\"canvas\"),_=t.get(\"frame\"),l=new d.Model({solver:e}),p=\"_\"+r[0],f=\"_\"+r[1],e.add_constraint(new a(new h(l[\"_\"+s],-i),c),M.Strength.strong),e.add_constraint(new a(new h(_[p],[-1,l[f]]),u)),e.add_constraint(new a(new h(l[p],[-1,g[p]]),u)),y=_,m=t.get(n),v=0,b=m.length;b>v;v++)x=m[v],(null!=(k=x.get(\"location\"))?k:!0)&&x.set(\"location\",n,{silent:!0}),null!=x.initialize_layout&&x.initialize_layout(e),e.add_constraint(new a(new h(y[p],[-1,x[f]]),u),M.Strength.strong),y=x;return w=new d.Model({solver:e}),e.add_constraint(new a(new h(y[p],[-1,w[f]]),u),M.Strength.strong),e.add_constraint(new a(new h(w[p],[-1,g[p]]),u),M.Strength.strong)}}(this),e(t,s,\"above\",[\"top\",\"bottom\"],\"height\",f),e(t,i,\"below\",[\"bottom\",\"top\"],\"height\",c),e(t,n,\"left\",[\"left\",\"right\"],\"width\",c),e(t,r,\"right\",[\"right\",\"left\"],\"width\",f)},e.prototype.add_renderers=function(t){var e;return e=this.get(\"renderers\"),e=e.concat(t),this.set(\"renderers\",e)},e.prototype.parent_properties=[\"background_fill\",\"border_fill\",\"min_border\",\"min_border_top\",\"min_border_bottom\",\"min_border_left\",\"min_border_right\"],e.prototype.defaults=function(){return w.extend({},e.__super__.defaults.call(this),{renderers:[],tools:[],h_symmetry:!0,v_symmetry:!1,x_mapper_type:\"auto\",y_mapper_type:\"auto\",plot_width:600,plot_height:600,title:\"\",above:[],below:[],left:[],right:[],toolbar_location:\"above\",logo:\"normal\",lod_factor:10,lod_interval:300,lod_threshold:2e3,lod_timeout:500,webgl:!1,responsive:!1,min_size:100})},e.prototype.display_defaults=function(){return w.extend({},e.__super__.display_defaults.call(this),{hidpi:!0,background_fill:\"#fff\",border_fill:\"#fff\",min_border:40,title_standoff:8,title_text_font:\"helvetica\",title_text_font_size:\"20pt\",title_text_font_style:\"normal\",title_text_color:\"#444444\",title_text_alpha:1,title_text_align:\"center\",title_text_baseline:\"alphabetic\",outline_line_color:\"#aaaaaa\",outline_line_width:1,outline_line_alpha:1,outline_line_join:\"miter\",outline_line_cap:\"butt\",outline_line_dash:[],outline_line_dash_offset:0})},e}(p),e.exports={Model:m,View:_}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./build_views\":101,\"./canvas\":103,\"./cartesian_frame\":105,\"./continuum_view\":109,\"./has_parent\":114,\"./layout_box\":117,\"./logging\":119,\"./plot_template\":123,\"./plot_utils\":124,\"./properties\":126,\"./solver\":131,\"./tool_manager\":135,\"./ui_events\":137,backbone:2,jquery:18,kiwi:303,underscore:92}],122:[function(t,e,i){var n,r,s,o,a,l,u,h=function(t,e){return function(){return t.apply(e,arguments)}},c=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\"),u=t(\"./build_views\"),s=t(\"./has_parent\"),r=t(\"./continuum_view\"),a=function(t){function e(){return this.removeplot=h(this.removeplot,this),this.closeall=h(this.closeall,this),e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.initialize=function(t){return this.views={},this.child_models=[],e.__super__.initialize.call(this,t),this.render()},e.prototype.delegateEvents=function(){return this.listenTo(this.model,\"destroy\",this.remove),this.listenTo(this.model,\"change\",this.render),e.__super__.delegateEvents.call(this)},e.prototype.build_children=function(){var t;return t=u(this.views,this.mget(\"children\"),{}),window.pc_created_views=t,window.pc_views=this.views,null},e.prototype.size_textarea=function(t){var e;return e=n(t).height(0).prop(\"scrollHeight\"),n(t).height(e)},e.prototype.closeall=function(t){return this.mset(\"children\",[]),this.model.save()},e.prototype.removeplot=function(t){var e,i,r,s,o;return i=parseInt(n(t.currentTarget).parent().attr(\"data-plot_num\")),r=this.mget(\"children\")[i],s=this.views[r.get(\"id\")],s.remove(),e=function(){var t,e,i,n;for(i=this.mget(\"children\"),n=[],t=0,e=i.length;e>t;t++)o=i[t],o.id!==s.model.id&&n.push(o);return n}.call(this),this.mset(\"children\",e),this.model.save(),!1},e.prototype.render=function(){var t,i,r,s,o,a,u,h,c,d,f,g,m;e.__super__.render.call(this),this.build_children(),h=this.views;for(r in h)p.call(h,r)&&(g=h[r],g.$el.detach());for(this.$el.html(\"\"),u=l.keys(this.views).length,f=[],d={},c=this.mget(\"children\"),i=t=0,s=c.length;s>t;i=++t)o=c[i],m=this.views[o.id],a=n(\"<div class='jsp' data-plot_num='\"+i+\"'></div>\"),this.$el.append(a),a.append(m.el);return l.defer(function(t){return function(){var e,i,r,s,o;for(r=t.$el.find(\".plottitle\"),s=[],e=0,i=r.length;i>e;e++)o=r[e],s.push(t.size_textarea(n(o)));return s}}(this)),null},e}(r),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type=\"PlotContext\",e.prototype.default_view=a,e.prototype.url=function(){return e.__super__.url.call(this)},e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{children:[]})},e}(s),e.exports={Model:o,View:a}},{\"./build_views\":101,\"./continuum_view\":109,\"./has_parent\":114,jquery:18,underscore:92}],123:[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,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push(\"<div class='bk-plot-wrapper'>\\n\t<table>\\n\t\t<tr>\\n\t\t\t<td></td>\\n\t\t\t<td class='bk-plot-above'></td>\\n\t\t\t<td></td>\\n\t\t</tr>\\n\t\t<tr>\\n\t\t\t<td class=\\\"bk-plot-left\\\"></td>\\n\t\t\t<td class='bk-plot-canvas-wrapper'></td>\\n\t\t\t<td class=\\\"bk-plot-right\\\"></td>\\n\t\t</tr>\\n\t\t<tr>\\n\t\t\t<td></td>\\n\t\t\t<td class='bk-plot-below'></td>\\n\t\t\t<td></td>\\n\t\t</tr>\\n\t</table>\\n</div>\\n\")}).call(this)}.call(t),t.safe=n,t.escape=r,i.join(\"\")}},{}],124:[function(t,e,i){var n,r,s,o;n=[\"image\",\"underlay\",\"glyph\",\"overlay\",\"annotation\",\"tool\"],r=function(t){return t()},s=(\"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,o=function(t,e){var i,n,r,o,a,l,u,h;return l=[null,null,null,null],n=l[0],i=l[1],h=l[2],u=l[3],a=0,o=!1,r=function(){return a=new Date,h=null,o=!1,u=t.apply(n,i)},function(){var t,l;return t=new Date,l=e-(t-a),n=this,i=arguments,0>=l&&!o?(clearTimeout(h),o=!0,s(r)):h||(h=setTimeout(function(){return s(r)},l)),u}},e.exports={LEVELS:n,throttle_animation:o}},{}],125:[function(t,e,i){var n,r,s=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t(\"./continuum_view\"),r=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return s(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\":109}],126:[function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,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\"),M=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){return e.__super__.initialize.call(this,t,i),this.obj=this.get(\"obj\"),this.attr=this.get(\"attr\"),this.listenTo(this.obj,\"change:\"+this.attr,function(){return this._init(),this.obj.trigger(\"propchange\")}),this._init()},e.prototype._init=function(){var t;if(t=this.obj.get(this.attr),y.isObject(t)&&!y.isArray(t))if(this.spec=t,y.isUndefined(this.spec.value)){if(null==this.spec.field)throw new Error(\"spec for property '\"+attr+\"' needs one of 'value' or 'field'\");this.field=this.spec.field}else this.fixed_value=this.spec.value;else this.fixed_value=t;if(null!=this.field&&!y.isString(this.field))throw new Error(\"field value for property '\"+attr+\"' is not a string\");return null!=this.fixed_value?this.validate(this.fixed_value,this.attr):void 0},e.prototype.value=function(){var t;return t=null!=this.fixed_value?this.fixed_value:NaN,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,s;for(s=[],i=t=0,e=n;e>=0?e>t:t>e;i=e>=0?++t:--t)s.push(r);return s}())},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,s,o,a;if(e.__super__.initialize.call(this,t,i),r=this.get(\"obj\"),n=this.get(\"attr\"),this.units=null!=(s=null!=(o=null!=(a=this.spec)?a.units:void 0)?o:r.get(n+\"_units\"))?s:\"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),h=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){var n,r,s,o,a;if(e.__super__.initialize.call(this,t,i),r=this.get(\"obj\"),n=this.get(\"attr\"),this.units=null!=(s=null!=(o=null!=(a=this.spec)?a.units:void 0)?o:r.get(n+\"_units\"))?s:\"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),s=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),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.validate=function(t,e){if(null==M[t.toLowerCase()]&&\"#\"!==t.substring(0,1)&&!this.valid_rgb(t))throw new Error(\"color property '\"+e+\"' given invalid value: \"+t);return!0},e.prototype.valid_rgb=function(t){var e,i,n,r;switch(t.substring(0,4)){case\"rgba\":i={start:\"rgba(\",len:4,alpha:!0};break;case\"rgb(\":i={start:\"rgb(\",len:3,alpha:!1};break;default:return!1}if(new RegExp(\".*?(\\\\.).*(,)\").test(t))throw new Error(\"color expects integers for rgb in rgb/rgba tuple, received \"+t);if(e=t.replace(i.start,\"\").replace(\")\",\"\").split(\",\").map(parseFloat),e.length!==i.len)throw new Error(\"color expects rgba \"+expect_len+\"-tuple, received \"+t);if(i.alpha&&!(0<=(n=e[3])&&1>=n))throw new Error(\"color expects rgba 4-tuple to have alpha value between 0 and 1\");if(S.call(function(){var t,i,n,s;for(n=e.slice(0,3),s=[],t=0,i=n.length;i>t;t++)r=n[t],s.push(r>=0&&255>=r);return s}(),!1)>=0)throw new Error(\"color expects rgb to have value between 0 and 255\");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),c=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)<0)throw new Error(\"enum property '\"+e+\"' given invalid value: \"+t+\", valid values are: \"+this.levels);return!0},e}(m),u=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){return t.values=\"anticlock clock\",e.__super__.initialize.call(this,t,i)},e.prototype.transform=function(t){var e,i,n,r;for(r=new Uint8Array(t.length),e=i=0,n=t.length;n>=0?n>i:i>n;e=n>=0?++i:--i)switch(t[e]){case\"clock\":r[e]=!1;break;case\"anticlock\":r[e]=!0}return r},e}(c),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){return this.cache={},e.__super__.initialize.call(this,t,i)},e.prototype.warm_cache=function(t,e){var i,n,r,s,o;for(o=[],n=0,r=e.length;r>n;n++)i=e[n],s=this[i],null!=s.fixed_value?o.push(this.cache[i]=s.fixed_value):o.push(this.cache[i+\"_array\"]=s.array(t));return o},e.prototype.cache_select=function(t,e){var i;return i=this[t],null!=i.fixed_value?this.cache[t]=i.fixed_value:this.cache[t]=this.cache[t+\"_array\"][e]},e}(d),f=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){var n,s;return e.__super__.initialize.call(this,t,i),n=this.get(\"obj\"),s=this.get(\"prefix\"),this.color=new o({obj:n,attr:s+\"line_color\"}),this.width=new g({obj:n,attr:s+\"line_width\"}),this.alpha=new g({obj:n,attr:s+\"line_alpha\"}),this.join=new c({obj:n,attr:s+\"line_join\",values:\"miter round bevel\"}),this.cap=new c({obj:n,attr:s+\"line_cap\",values:\"butt round square\"}),this.dash=new r({obj:n,attr:s+\"line_dash\"}),this.dash_offset=new g({obj:n,attr:s+\"line_dash_offset\"}),this.do_stroke=!0,!y.isUndefined(this.color.fixed_value)&&y.isNull(this.color.fixed_value)?this.do_stroke=!1:void 0},e.prototype.warm_cache=function(t){return e.__super__.warm_cache.call(this,t,[\"color\",\"width\",\"alpha\",\"join\",\"cap\",\"dash\",\"dash_offset\"])},e.prototype.set_value=function(t){return t.strokeStyle=this.color.value(),t.globalAlpha=this.alpha.value(),t.lineWidth=this.width.value(),t.lineJoin=this.join.value(),t.lineCap=this.cap.value(),t.setLineDash(this.dash.value()),t.setLineDashOffset(this.dash_offset.value())},e.prototype.set_vectorize=function(t,e){return this.cache_select(\"color\",e),t.strokeStyle!==this.cache.fill&&(t.strokeStyle=this.cache.color),this.cache_select(\"alpha\",e),t.globalAlpha!==this.cache.alpha&&(t.globalAlpha=this.cache.alpha),this.cache_select(\"width\",e),t.lineWidth!==this.cache.width&&(t.lineWidth=this.cache.width),this.cache_select(\"join\",e),t.lineJoin!==this.cache.join&&(t.lineJoin=this.cache.join),this.cache_select(\"cap\",e),t.lineCap!==this.cache.cap&&(t.lineCap=this.cache.cap),this.cache_select(\"dash\",e),t.getLineDash()!==this.cache.dash&&t.setLineDash(this.cache.dash),this.cache_select(\"dash_offset\",e),t.getLineDashOffset()!==this.cache.dash_offset?t.setLineDashOffset(this.cache.dash_offset):void 0},e}(a),p=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){var n,r;return e.__super__.initialize.call(this,t,i),n=this.get(\"obj\"),r=this.get(\"prefix\"),this.color=new o({obj:n,attr:r+\"fill_color\"}),this.alpha=new g({obj:n,attr:r+\"fill_alpha\"}),this.do_fill=!0,!y.isUndefined(this.color.fixed_value)&&y.isNull(this.color.fixed_value)?this.do_fill=!1:void 0},e.prototype.warm_cache=function(t){return e.__super__.warm_cache.call(this,t,[\"color\",\"alpha\"])},e.prototype.set_value=function(t){return t.fillStyle=this.color.value(),t.globalAlpha=this.alpha.value()},e.prototype.set_vectorize=function(t,e){return this.cache_select(\"color\",e),t.fillStyle!==this.cache.fill&&(t.fillStyle=this.cache.color),this.cache_select(\"alpha\",e),t.globalAlpha!==this.cache.alpha?t.globalAlpha=this.cache.alpha:void 0},e}(a),v=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){var n,r;return e.__super__.initialize.call(this,t,i),n=this.get(\"obj\"),r=this.get(\"prefix\"),this.font=new _({obj:n,attr:r+\"text_font\"}),this.font_size=new _({obj:n,attr:r+\"text_font_size\"}),this.font_style=new c({obj:n,attr:r+\"text_font_style\",values:\"normal italic bold\"}),this.color=new o({obj:n,attr:r+\"text_color\"}),this.alpha=new g({obj:n,attr:r+\"text_alpha\"}),this.align=new c({obj:n,attr:r+\"text_align\",values:\"left right center\"}),this.baseline=new c({obj:n,attr:r+\"text_baseline\",values:\"top middle bottom alphabetic hanging\"})},e.prototype.warm_cache=function(t){return e.__super__.warm_cache.call(this,t,[\"font\",\"font_size\",\"font_style\",\"color\",\"alpha\",\"align\",\"baseline\"])},e.prototype.cache_select=function(t,i){var n;return\"font\"===t?(n=e.__super__.cache_select.call(this,\"font_style\",i)+\" \"+e.__super__.cache_select.call(this,\"font_size\",i)+\" \"+e.__super__.cache_select.call(this,\"font\",i),this.cache.font=n):e.__super__.cache_select.call(this,t,i)},e.prototype.font_value=function(){var t,e,i;return t=this.font.value(),e=this.font_size.value(),i=this.font_style.value(),i+\" \"+e+\" \"+t},e.prototype.set_value=function(t){return t.font=this.font_value(),t.fillStyle=this.color.value(),t.globalAlpha=this.alpha.value(),t.textAlign=this.align.value(),t.textBaseline=this.baseline.value()},e.prototype.set_vectorize=function(t,e){return this.cache_select(\"font\",e),t.font!==this.cache.font&&(t.font=this.cache.font),this.cache_select(\"color\",e),t.fillStyle!==this.cache.color&&(t.fillStyle=this.cache.color),this.cache_select(\"alpha\",e),t.globalAlpha!==this.cache.alpha&&(t.globalAlpha=this.cache.alpha),this.cache_select(\"align\",e),t.textAlign!==this.cache.align&&(t.textAlign=this.cache.align),this.cache_select(\"baseline\",e),t.textBaseline!==this.cache.baseline?t.textBaseline=this.cache.baseline:void 0},e}(a),b=function(t,e){var i,r,s,o,a;for(null==e&&(e=\"angles\"),a={},o=t[e],r=0,s=o.length;s>r;r++)i=o[r],a[i]=new n({obj:t,attr:i});return a},w=function(t,e){var i,n,r,s,o,a,u;for(null==e&&(e=\"coords\"),o={},r=t[e],i=0,n=r.length;n>i;i++)s=r[i],a=s[0],u=s[1],o[a]=new l({obj:t,attr:a}),o[u]=new l({obj:t,attr:u});return o},x=function(t,e){var i,n,r,s,o;for(null==e&&(e=\"distances\"),o={},s=t[e],n=0,r=s.length;r>n;n++)i=s[n],(\"?\"!==i[0]||(i=i.slice(1),null!=t.get(i)))&&(o[i]=new h({obj:t,attr:i}));return o},k=function(t,e){var i,n,a,l,h,p,d,f;for(null==e&&(e=\"fields\"),d={},h=t[e],a=0,l=h.length;l>a;a++)if(n=h[a],f=\"number\",n.indexOf(\":\")>-1&&(p=n.split(\":\"),n=p[0],f=p[1],i=p[2]),\"?\"!==n[0]||(n=n.slice(1),null!=t.attributes[n]))switch(f){case\"array\":d[n]=new r({obj:t,attr:n});break;case\"bool\":d[n]=new s({obj:t,attr:n});break;case\"color\":d[n]=new o({obj:t,attr:n});break;case\"direction\":d[n]=new u({obj:t,attr:n});break;case\"enum\":d[n]=new c({obj:t,attr:n,values:i});break;case\"number\":d[n]=new g({obj:t,attr:n});break;case\"string\":d[n]=new _({obj:t,attr:n})}return d},C=function(t,e){var i,n,r,s,o,a,l,u;for(null==e&&(e=\"visuals\"),u={},a=t[e],i=0,n=a.length;n>i;i++)switch(o=a[i],s=\"\",o.indexOf(\":\")>-1&&(l=o.split(\":\"),o=l[0],s=l[1]),r=\"\"+s+o,o){case\"line\":u[r]=new f({obj:t,prefix:s});break;case\"fill\":u[r]=new p({obj:t,prefix:s});break;case\"text\":u[r]=new v({obj:t,prefix:s})}return u},e.exports={Angle:n,Array:r,Bool:s,Color:o,Coord:l,Direction:u,Distance:h,Enum:c,Numeric:g,Property:m,String:_,Line:f,Fill:p,\n",
       "        Text:v,factories:{coords:w,distances:x,angles:b,fields:k,visuals:C}}},{\"./has_properties\":115,\"./svg_colors\":132,underscore:92}],127:[function(t,e,i){var n;n=function(){function t(t){var e;this.seed=t,this.multiplier=1664525,this.modulo=4294967296,this.offset=1013904223,null!=this.seed&&0<=(e=this.seed)&&e<this.modulo||(this.seed=(new Date).valueOf()*(new Date).getMilliseconds()%this.modulo)}return t.prototype.seed=function(t){return this.seed=t},t.prototype.randn=function(){return this.seed=(this.multiplier*this.seed+this.offset)%this.modulo},t.prototype.randf=function(){return this.randn()/this.modulo},t.prototype.rand=function(t){return Math.floor(this.randf()*t)},t.prototype.rand2=function(t,e){return t+this.rand(e-t)},t}(),e.exports=n},{}],128:[function(t,e,i){var n,r,s,o,a,l,u=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;o=t(\"underscore\"),n=t(\"./has_properties\"),l=t(\"./logging\").logger,s=t(\"./selector\"),a=t(\"./hittest\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type=\"SelectionManager\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.selectors={}},e.prototype.set_selection=function(t){var e;return this._save_indices(t),e=this.get(\"source\"),e.trigger(\"select\")},e.prototype.select=function(t,e,i,n,r){var s,o,a;return null==r&&(r=!1),a=this.get(\"source\"),a!==e.mget(\"data_source\")&&l.warn(\"select called with mis-matched data sources\"),s=e.hit_test(i),s?(o=this._get_selector(e),o.update(s,n,r),this._save_indices(o.get(\"indices\")),a.trigger(\"select\"),a.trigger(\"select-\"+e.mget(\"id\"))):void 0},e.prototype.inspect=function(t,e,i,n){var r,s;return s=this.get(\"source\"),s!==e.mget(\"data_source\")&&l.warn(\"inspect called with mis-matched data sources\"),r=e.hit_test(i),null!=r?(s.trigger(\"inspect\",r,t,e,s,n),s.trigger(\"inspect\"+e.mget(\"id\"),r,t,e,s,n)):void 0},e.prototype.clear=function(t){var e,i,n,r;if(null!=t)r=this._get_selector(t),r.clear();else{i=this.selectors;for(e in i)n=i[e],n.clear()}return this._save_indices(a.create_hit_test_result())},e.prototype._get_selector=function(t){return o.setdefault(this.selectors,t.model.id,new s),this.selectors[t.model.id]},e.prototype._save_indices=function(t){return this.get(\"source\").save({selected:t},{patch:!0})},e}(n),e.exports=r},{\"./has_properties\":115,\"./hittest\":116,\"./logging\":119,\"./selector\":129,underscore:92}],129:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./has_properties\"),o=t(\"./hittest\"),a=t(\"./logging\").logger,r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"Selector\",e.prototype.update=function(t,e,i){return this.set(\"timestamp\",new Date),this.set(\"final\",e),i&&(t[\"0d\"].indices=s.union(this.get(\"indices\")[\"0d\"].indices,t[\"0d\"].indices),t[\"0d\"].flag=this.get(\"indices\")[\"0d\"].flag||t[\"0d\"].flag,t[\"1d\"].indices=s.union(this.get(\"indices\")[\"1d\"].indices,t[\"1d\"].indices),t[\"2d\"].indices=s.union(this.get(\"indices\")[\"2d\"].indices,t[\"2d\"].indices)),this.set(\"indices\",t)},e.prototype.clear=function(){return this.set(\"timestamp\",new Date),this.set(\"final\",!0),this.set(\"indices\",o.create_hit_test_result())},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{indices:o.create_hit_test_result()})},e}(n),e.exports=r},{\"./has_properties\":115,\"./hittest\":116,\"./logging\":119,underscore:92}],130:[function(t,e,i){var n,r,s,o,a,l,u,h,c=function(t,e){return function(){return t.apply(e,arguments)}};n=t(\"jquery\"),a=t(\"underscore\"),r=t(\"backbone\"),s=t(\"./base\").Config,l=t(\"./load_models\"),u=t(\"./logging\").logger,o=function(){function t(t){this.onmessage=c(this.onmessage,this);var e;this.auth={},this.ws_conn_string=t,this._connected=n.Deferred(),this.connected=this._connected.promise();try{window.MozWebSocket?this.s=new MozWebSocket(t):this.s=new WebSocket(t)}catch(i){e=i,u.error(\"websocket creation failed for connection string: \"+t),u.error(\" - \"+e)}this.s.onopen=function(t){return function(){return t._connected.resolve()}}(this),this.s.onmessage=this.onmessage}return a.extend(t.prototype,r.Events),t.prototype.onmessage=function(t){var e,i,n;return e=t.data,i=e.indexOf(\":\"),i=e.indexOf(\":\",i+1),n=e.substring(0,i),e=e.substring(i+1),this.trigger(\"msg:\"+n,e),null},t.prototype.send=function(t){return n.when(this.connected).done(function(e){return function(){return e.s.send(t)}}(this))},t.prototype.subscribe=function(t,e){var i;return this.auth[t]=e,i=JSON.stringify({msgtype:\"subscribe\",topic:t,auth:e}),this.send(i)},t}(),h=function(t,e,i){return t.subscribe(e,i),t.on(\"msg:\"+e,function(t){var e,i,r,o,a,u,h;if(a=JSON.parse(t),\"modelpush\"===a.msgtype)l(a.modelspecs);else if(\"modeldel\"===a.msgtype)for(h=a.modelspecs,i=0,r=h.length;r>i;i++)u=h[i],o=resolve_ref(u.type,u.id),o&&o.destroy({local:!0});else\"status\"===a.msgtype&&\"subscribesuccess\"===a.status[0]?(e=a.status[2],s.clientid=e,n.ajaxSetup({headers:{\"Continuum-Clientid\":e}})):log.warn(\"unknown msgtype '\"+a.msgtype+\"' for message: \"+a);return null})},e.exports={WebSocketWrapper:o,submodels:h}},{\"./base\":99,\"./load_models\":118,\"./logging\":119,backbone:2,jquery:18,underscore:92}],131:[function(t,e,i){(function(i){var n,r,s,o;s=t(\"underscore\"),n=t(\"backbone\"),o=null!=i._bokehTest?i._bokehTest.kiwi:t(\"kiwi\"),r=function(){function t(){this.solver=new o.Solver}return t.prototype.update_variables=function(t){return null==t&&(t=!0),this.solver.updateVariables(),t?this.trigger(\"layout_update\"):void 0},t.prototype.add_constraint=function(t){return this.solver.addConstraint(t)},t.prototype.remove_constraint=function(t){return this.solver.removeConstraint(t)},t.prototype.add_edit_variable=function(t,e){return null==e&&(e=o.Strength.strong),this.solver.addEditVariable(t,e)},t.prototype.suggest_value=function(t,e){return this.solver.suggestValue(t,e)},t}(),s.extend(r.prototype,n.Events),e.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{backbone:2,kiwi:303,underscore:92}],132:[function(t,e,i){e.exports={indianred:\"#CD5C5C\",lightcoral:\"#F08080\",salmon:\"#FA8072\",darksalmon:\"#E9967A\",lightsalmon:\"#FFA07A\",crimson:\"#DC143C\",red:\"#FF0000\",firebrick:\"#B22222\",darkred:\"#8B0000\",pink:\"#FFC0CB\",lightpink:\"#FFB6C1\",hotpink:\"#FF69B4\",deeppink:\"#FF1493\",mediumvioletred:\"#C71585\",palevioletred:\"#DB7093\",coral:\"#FF7F50\",tomato:\"#FF6347\",orangered:\"#FF4500\",darkorange:\"#FF8C00\",orange:\"#FFA500\",gold:\"#FFD700\",yellow:\"#FFFF00\",lightyellow:\"#FFFFE0\",lemonchiffon:\"#FFFACD\",lightgoldenrodyellow:\"#FAFAD2\",papayawhip:\"#FFEFD5\",moccasin:\"#FFE4B5\",peachpuff:\"#FFDAB9\",palegoldenrod:\"#EEE8AA\",khaki:\"#F0E68C\",darkkhaki:\"#BDB76B\",lavender:\"#E6E6FA\",thistle:\"#D8BFD8\",plum:\"#DDA0DD\",violet:\"#EE82EE\",orchid:\"#DA70D6\",fuchsia:\"#FF00FF\",magenta:\"#FF00FF\",mediumorchid:\"#BA55D3\",mediumpurple:\"#9370DB\",blueviolet:\"#8A2BE2\",darkviolet:\"#9400D3\",darkorchid:\"#9932CC\",darkmagenta:\"#8B008B\",purple:\"#800080\",indigo:\"#4B0082\",slateblue:\"#6A5ACD\",darkslateblue:\"#483D8B\",mediumslateblue:\"#7B68EE\",greenyellow:\"#ADFF2F\",chartreuse:\"#7FFF00\",lawngreen:\"#7CFC00\",lime:\"#00FF00\",limegreen:\"#32CD32\",palegreen:\"#98FB98\",lightgreen:\"#90EE90\",mediumspringgreen:\"#00FA9A\",springgreen:\"#00FF7F\",mediumseagreen:\"#3CB371\",seagreen:\"#2E8B57\",forestgreen:\"#228B22\",green:\"#008000\",darkgreen:\"#006400\",yellowgreen:\"#9ACD32\",olivedrab:\"#6B8E23\",olive:\"#808000\",darkolivegreen:\"#556B2F\",mediumaquamarine:\"#66CDAA\",darkseagreen:\"#8FBC8F\",lightseagreen:\"#20B2AA\",darkcyan:\"#008B8B\",teal:\"#008080\",aqua:\"#00FFFF\",cyan:\"#00FFFF\",lightcyan:\"#E0FFFF\",paleturquoise:\"#AFEEEE\",aquamarine:\"#7FFFD4\",turquoise:\"#40E0D0\",mediumturquoise:\"#48D1CC\",darkturquoise:\"#00CED1\",cadetblue:\"#5F9EA0\",steelblue:\"#4682B4\",lightsteelblue:\"#B0C4DE\",powderblue:\"#B0E0E6\",lightblue:\"#ADD8E6\",skyblue:\"#87CEEB\",lightskyblue:\"#87CEFA\",deepskyblue:\"#00BFFF\",dodgerblue:\"#1E90FF\",cornflowerblue:\"#6495ED\",royalblue:\"#4169E1\",blue:\"#0000FF\",mediumblue:\"#0000CD\",darkblue:\"#00008B\",navy:\"#000080\",midnightblue:\"#191970\",cornsilk:\"#FFF8DC\",blanchedalmond:\"#FFEBCD\",bisque:\"#FFE4C4\",navajowhite:\"#FFDEAD\",wheat:\"#F5DEB3\",burlywood:\"#DEB887\",tan:\"#D2B48C\",rosybrown:\"#BC8F8F\",sandybrown:\"#F4A460\",goldenrod:\"#DAA520\",darkgoldenrod:\"#B8860B\",peru:\"#CD853F\",chocolate:\"#D2691E\",saddlebrown:\"#8B4513\",sienna:\"#A0522D\",brown:\"#A52A2A\",maroon:\"#800000\",white:\"#FFFFFF\",snow:\"#FFFAFA\",honeydew:\"#F0FFF0\",mintcream:\"#F5FFFA\",azure:\"#F0FFFF\",aliceblue:\"#F0F8FF\",ghostwhite:\"#F8F8FF\",whitesmoke:\"#F5F5F5\",seashell:\"#FFF5EE\",beige:\"#F5F5DC\",oldlace:\"#FDF5E6\",floralwhite:\"#FFFAF0\",ivory:\"#FFFFF0\",antiquewhite:\"#FAEBD7\",linen:\"#FAF0E6\",lavenderblush:\"#FFF0F5\",mistyrose:\"#FFE4E1\",gainsboro:\"#DCDCDC\",lightgrey:\"#D3D3D3\",silver:\"#C0C0C0\",darkgray:\"#A9A9A9\",darkgrey:\"#A9A9A9\",gray:\"#808080\",grey:\"#808080\",dimgray:\"#696969\",dimgrey:\"#696969\",lightslategray:\"#778899\",lightslategrey:\"#778899\",slategray:\"#708090\",darkslategray:\"#2F4F4F\",darkslategrey:\"#2F4F4F\",black:\"#000000\"}},{}],133:[function(t,e,i){var n,r,s;n=t(\"jquery\"),r={},s=function(t){var e,i,s,o,a;if(null!=r[t])return r[t];a=n(\"<span>Hg</span>\").css({font:t}),e=n('<div style=\"display: inline-block; width: 1px; height: 0px;\"> </div>'),s=n(\"<div></div>\"),s.append(a,e),i=n(\"body\"),i.append(s);try{o={},e.css({verticalAlign:\"baseline\"}),o.ascent=e.offset().top-a.offset().top,e.css({verticalAlign:\"bottom\"}),o.height=e.offset().top-a.offset().top,o.descent=o.height-o.ascent}finally{s.remove()}return r[t]=o,o},e.exports={getTextHeight:s}},{jquery:18}],134:[function(t,e,i){var n,r,s,o=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(\"./has_properties\"),s=t(\"./logging\").logger,r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"ToolEvents\",e}(n),e.exports={Model:r}},{\"./has_properties\":115,\"./logging\":119}],135:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,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,v=function(t,e){return function(){return t.apply(e,arguments)}};d=t(\"underscore\"),n=t(\"jquery\"),r=null!=i._bokehTest?void 0:t(\"bootstrap/dropdown\"),o=t(\"backbone\"),s=t(\"../tool/actions/action_tool\"),u=t(\"../tool/actions/help_tool\"),a=t(\"../tool/gestures/gesture_tool\"),h=t(\"../tool/inspectors/inspect_tool\"),f=t(\"./logging\").logger,g=t(\"./toolbar_template\"),l=t(\"./has_properties\"),p=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.template=g,e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.listenTo(this.model,\"change\",this.render),this.render()},e.prototype.render=function(){var t,e,i,r,o,l;this.$el.html(this.template(this.model.attributes)),this.$el.addClass(\"bk-sidebar\"),this.$el.addClass(\"bk-toolbar-active\"),e=this.$(\".bk-button-bar-list\"),o=this.model.get(\"inspectors\"),e=this.$(\".bk-bs-dropdown[type='inspectors']\"),0===o.length?e.hide():(t=n('<a href=\"#\" data-bk-bs-toggle=\"dropdown\" class=\"bk-bs-dropdown-toggle\">inspect <span class=\"bk-bs-caret\"></a>'),t.appendTo(e),l=n('<ul class=\"bk-bs-dropdown-menu\" />'),d.each(o,function(t){var e;return e=n(\"<li />\"),e.append(new h.ListItemView({model:t}).el),e.appendTo(l)}),l.on(\"click\",function(t){return t.stopPropagation()}),l.appendTo(e),t.dropdown()),e=this.$(\".bk-button-bar-list[type='help']\"),d.each(this.model.get(\"help\"),function(t){return e.append(new s.ButtonView({model:t}).el)}),e=this.$(\".bk-button-bar-list[type='actions']\"),d.each(this.model.get(\"actions\"),function(t){return e.append(new s.ButtonView({model:t}).el)}),r=this.model.get(\"gestures\");for(i in r)e=this.$(\".bk-button-bar-list[type='\"+i+\"']\"),d.each(r[i].tools,function(t){return e.append(new a.ButtonView({model:t}).el)});return this},e}(o.View),c=function(t){function e(){return this._active_change=v(this._active_change,this),e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this._init_tools()},e.prototype._init_tools=function(){var t,e,i,n,r,o,l,c,p,g,m;for(i=this.get(\"gestures\"),c=this.get(\"tools\"),r=0,l=c.length;l>r;r++)if(g=c[r],g instanceof h.Model)o=this.get(\"inspectors\"),o.push(g),this.set(\"inspectors\",o);else if(g instanceof u.Model)n=this.get(\"help\"),n.push(g),this.set(\"help\",n);else if(g instanceof s.Model)t=this.get(\"actions\"),t.push(g),this.set(\"actions\",t);else if(g instanceof a.Model){if(e=g.get(\"event_type\"),!(e in i)){f.warn(\"ToolManager: unknown event type '\"+e+\"' for tool: \"+g.type+\" (\"+g.id+\")\");continue}i[e].tools.push(g),this.listenTo(g,\"change:active\",d.bind(this._active_change,g))}p=[];for(e in i)m=i[e].tools,0!==m.length&&(i[e].tools=d.sortBy(m,function(t){return t.get(\"default_order\")}),p.push(i[e].tools[0].set(\"active\",!0)));return p},e.prototype._active_change=function(t){var e,i,n,r;return i=t.get(\"event_type\"),(e=t.get(\"active\"))?(n=this.get(\"gestures\"),r=n[i].active,null!=r&&(f.debug(\"ToolManager: deactivating tool: \"+r.type+\" (\"+r.id+\") for event type '\"+i+\"'\"),r.set(\"active\",!1)),n[i].active=t,this.set(\"gestures\",n),f.debug(\"ToolManager: activating tool: \"+t.type+\" (\"+t.id+\") for event type '\"+i+\"'\"),null):null},e.prototype.defaults=function(){return{gestures:{pan:{tools:[],active:null},tap:{tools:[],active:null},doubletap:{tools:[],active:null},scroll:{tools:[],active:null},pinch:{tools:[],active:null},press:{tools:[],active:null},rotate:{tools:[],active:null}},actions:[],inspectors:[],help:[]}},e}(l),e.exports={Model:c,View:p}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../tool/actions/action_tool\":226,\"../tool/actions/help_tool\":227,\"../tool/gestures/gesture_tool\":235,\"../tool/inspectors/inspect_tool\":245,\"./has_properties\":115,\"./logging\":119,\"./toolbar_template\":136,backbone:2,\"bootstrap/dropdown\":294,jquery:18,underscore:92}],136:[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,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){null!=this.logo&&\"grey\"===this.logo?i.push(\"\\n  <a href='http://bokeh.pydata.org/' target='_blank' class='bk-logo bk-logo-small grey'></a>\\n\"):null!=this.logo&&i.push(\"\\n<a href='http://bokeh.pydata.org/' target='_blank' class='bk-logo bk-logo-small'></a>\\n\"),i.push(\"\\n<div class='bk-button-bar'>\\n  <ul class='bk-button-bar-list' type=\\\"pan\\\" />\\n  <ul class='bk-button-bar-list' type=\\\"scroll\\\" />\\n  <ul class='bk-button-bar-list' type=\\\"pinch\\\" />\\n  <ul class='bk-button-bar-list' type=\\\"tap\\\" />\\n  <ul class='bk-button-bar-list' type=\\\"press\\\" />\\n  <ul class='bk-button-bar-list' type=\\\"rotate\\\" />\\n  <ul class='bk-button-bar-list' type=\\\"actions\\\" />\\n  <div class='bk-button-bar-list bk-bs-dropdown' type=\\\"inspectors\\\" />\\n  <ul class='bk-button-bar-list' type=\\\"help\\\" />\\n</div>\\n\")}).call(this)}.call(t),t.safe=n,t.escape=r,i.join(\"\")}},{}],137:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c=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?(h=i._bokehTest,s=h.Hammer,u=h.mousewhweel):(s=t(\"hammerjs\"),l=t(\"jquery-mousewheel\")(n)),a=t(\"./logging\").logger,o=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._hammer_element()},e.prototype._hammer_element=function(){var t;return t=this.get(\"hit_area\"),this.hammer=new s(t[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:s.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)),t.mousemove(function(t){return function(e){return t._mouse_move(e)}}(this)),t.mouseenter(function(t){return function(e){return t._mouse_enter(e)}}(this)),t.mouseleave(function(t){return function(e){return t._mouse_exit(e)}}(this)),t.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,s;return s=this.get(\"tool_manager\"),n=t.split(\":\")[0],r=s.get(\"gestures\"),i=r[n].active,this._trigger_event(t,i,e)},e.prototype._trigger_event=function(t,e,i){return null!=e?(\"scroll\"===t&&(i.preventDefault(),i.stopPropagation()),this.trigger(t+\":\"+e.id,i)):void 0},e.prototype._bokify_hammer=function(t){var e,i,r,s,o;return\"mouse\"===t.pointerType?(i=n(t.target).offset(),e=null!=(r=i.left)?r:0,o=null!=(s=i.top)?s:0,t.bokeh={sx:t.srcEvent.pageX-e,sy:t.srcEvent.pageY-o}):t.bokeh={sx:t.center.x,sy:t.center.y}},e.prototype._bokify_jq=function(t){var e,i,r,s,o;return i=n(t.currentTarget).offset(),e=null!=(r=i.left)?r:0,o=null!=(s=i.top)?s:0,t.bokeh={sx:t.pageX-e,sy:t.pageY-o}},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)},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=o}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./logging\":119,backbone:2,hammerjs:3,jquery:18,\"jquery-mousewheel\":4}],138:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),r=t(\"./linear_mapper\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.map_to_target=function(t,i){var n,r,o,a,l,u;return null==i&&(i=!1),s.isNumber(t)?i?t:e.__super__.map_to_target.call(this,t):(a=this.get(\"source_range\"),r=a.get(\"factors\"),t.indexOf(\":\")>=0?(l=t.split(\":\"),n=l[0],o=l[1],o=parseFloat(o),u=r.indexOf(n)+.5+a.get(\"offset\")+o):u=r.indexOf(t)+1+a.get(\"offset\"),i?u:e.__super__.map_to_target.call(this,u))},e.prototype.v_map_to_target=function(t,i){var n,r,o,a,l,u,h,c,p,d;if(null==i&&(i=!1),s.isNumber(t[0]))return i?t:e.__super__.v_map_to_target.call(this,t);for(u=this.get(\"source_range\"),r=u.get(\"factors\"),p=Array(t.length),o=a=0,h=t.length;h>=0?h>a:a>h;o=h>=0?++a:--a)d=t[o],d.indexOf(\":\")>=0?(c=d.split(\":\"),n=c[0],l=c[1],l=parseFloat(l),p[o]=r.indexOf(n)+.5+u.get(\"offset\")+l):p[o]=r.indexOf(d)+1+u.get(\"offset\");return i?p:e.__super__.v_map_to_target.call(this,p)},e.prototype.map_from_target=function(t,i){var n,r;return null==i&&(i=!1),t=e.__super__.map_from_target.call(this,t),i?t:(r=this.get(\"source_range\"),n=r.get(\"factors\"),n[Math.floor(t-.5-r.get(\"offset\"))])},e.prototype.v_map_from_target=function(t,i){var n,r,s,o,a,l,u,h,c;for(null==i&&(i=!1),c=e.__super__.v_map_from_target.call(this,t),r=s=0,l=c.length;l>=0?l>s:s>l;r=l>=0?++s:--s)c[r]=c[r];if(i)return c;for(h=Array(c),a=this.get(\"source_range\"),n=a.get(\"factors\"),r=o=0,u=t.length;u>=0?u>o:o>u;r=u>=0?++o:--o)h[r]=n[Math.floor(c[r]-.5-a.get(\"offset\"))];return h},e}(r.Model),e.exports={Model:n}},{\"./linear_mapper\":141,underscore:92}],139:[function(t,e,i){var n,r,s=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;r=t(\"../common/has_properties\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(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\":115}],140:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),n=t(\"../common/has_properties\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(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,o,a,l,u,h,c,p,d,f,g,m,_;if(i=new ArrayBuffer(4*t.length),n=new Uint32Array(i),h=null!=(p=this.get(\"low\"))?p:s.min(t),o=null!=(d=this.get(\"high\"))?d:s.max(t),e=this.palette.length-1,m=e/(o-h),c=-m*h,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>o&&(r=o),h>r&&(r=h),_=this.palette[Math.floor(r*m+c)]),n[a]=255<<24|(16711680&_)>>16|65280&_|(255&_)<<16;else for(a=u=0,g=t.length;g>=0?g>u:u>g;a=g>=0?++u:--u)r=t[a],r===this.reserve_val?_=this.reserve_color:(r>o&&(r=o),h>r&&(r=h),_=this.palette[Math.floor(r*m+c)]),n[a]=_<<8|255;return i},e.prototype._is_little_endian=function(){var t,e,i,n;return t=new ArrayBuffer(4),i=new Uint8ClampedArray(t),e=new Uint32Array(t),e[1]=168496141,n=!0,10===i[4]&&11===i[5]&&12===i[6]&&13===i[7]&&(n=!1),n},e.prototype._build_palette=function(t){var e,i,n,r,o;for(r=new Uint32Array(t.length+1),e=function(t){return s.isNumber(t)?t:parseInt(t.slice(1),16)},i=n=0,o=t.length;o>=0?o>n:n>o;i=o>=0?++n:--n)r[i]=e(t[i]);return r[r.length-1]=e(t[t.length-1]),r},e}(n),e.exports={Model:r}},{\"../common/has_properties\":115,underscore:92}],141:[function(t,e,i){var n,r,s=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;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.register_property(\"mapper_state\",this._mapper_state,!0),this.add_dependencies(\"mapper_state\",this,[\"source_range\",\"target_range\"]),this.add_dependencies(\"mapper_state\",this.get(\"source_range\"),[\"start\",\"end\"]),this.add_dependencies(\"mapper_state\",this.get(\"target_range\"),[\"start\",\"end\"])},e.prototype.map_to_target=function(t){var e,i,n;return i=this.get(\"mapper_state\"),n=i[0],e=i[1],n*t+e},e.prototype.v_map_to_target=function(t){var e,i,n,r,s,o,a,l;for(s=this.get(\"mapper_state\"),a=s[0],r=s[1],o=new Float64Array(t.length),i=e=0,n=t.length;n>e;i=++e)l=t[i],o[i]=a*l+r;return o},e.prototype.map_from_target=function(t){var e,i,n;return i=this.get(\"mapper_state\"),n=i[0],e=i[1],(t-e)/n},e.prototype.v_map_from_target=function(t){var e,i,n,r,s,o,a,l;for(s=this.get(\"mapper_state\"),a=s[0],r=s[1],o=new Float64Array(t.length),i=e=0,n=t.length;n>e;i=++e)l=t[i],o[i]=(l-r)/a;return o},e.prototype._mapper_state=function(){var t,e,i,n,r,s;return n=this.get(\"source_range\").get(\"start\"),i=this.get(\"source_range\").get(\"end\"),s=this.get(\"target_range\").get(\"start\"),r=this.get(\"target_range\").get(\"end\"),e=(r-s)/(i-n),t=-(e*n)+s,[e,t]},e}(n),e.exports={Model:r}},{\"../common/has_properties\":115}],142:[function(t,e,i){var n,r,s=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;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.register_property(\"mapper_state\",this._mapper_state,!0),this.add_dependencies(\"mapper_state\",this,[\"source_range\",\"target_range\"]),this.add_dependencies(\"mapper_state\",this.get(\"source_range\"),[\"start\",\"end\"]),this.add_dependencies(\"mapper_state\",this.get(\"target_range\"),[\"start\",\"end\"])},e.prototype.map_to_target=function(t){var e,i,n,r,s,o,a,l;if(o=this.get(\"mapper_state\"),l=o[0],s=o[1],n=o[2],i=o[3],r=0,a=0,0===n)r=0;else try{if(r=(Math.log(t)-i)/n,isNaN(r))throw new Error(\"NaN\");if(isFinite(r)===!1)throw new Error(\"Infinite\")}catch(u){e=u,r=0}return a=r*l+s},e.prototype.v_map_to_target=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v;if(g=this.get(\"mapper_state\"),_=g[0],f=g[1],s=g[2],r=g[3],o=new Float64Array(t.length),m=new Float64Array(t.length),0===s)o=t.map(function(t){return 0*t});else try{for(p=t.map(function(t){return 0>=t}),d=t.map(function(t){return isNaN(t)}),c=function(){var e,n,r;for(r=[],i=e=0,n=t.length;n>=0?n>e:e>n;i=n>=0?++e:--e)r.push(p[i]|d[i]);return r}(),c=c.reduce(function(t,e){return t||e}),1===c&&(t[c]=1),o=t.map(function(t){return(Math.log(t)-r)/s}),n=a=0,u=o.length;u>a;n=++a){if(v=o[n],isNaN(o[n]))throw new Error(\"NaN\");if(isFinite(o[n])===!1)throw new Error(\"Infinite\")}}catch(y){e=y,o=t.map(function(t){return 0*t})}for(n=l=0,h=t.length;h>l;n=++l)v=t[n],m[n]=o[n]*_+f;return m},e.prototype.map_from_target=function(t){var e,i,n,r,s,o;return s=this.get(\"mapper_state\"),o=s[0],r=s[1],i=s[2],e=s[3],n=(t-r)/o,n=Math.exp(i*n+e)},e.prototype.v_map_from_target=function(t){var e,i,n,r,s,o;return s=this.get(\"mapper_state\"),o=s[0],r=s[1],i=s[2],e=s[3],n=t.map(function(t){return(t-r)/o}),n=n.map(function(t){return Math.exp(i*t+e)})},e.prototype._get_safe_scale=function(t,e){var i,n,r;return r=0>t?0:t,i=0>e?0:e,r===i&&(0===r?(r=1,i=10):(n=Math.log(r)/Math.log(10),r=Math.pow(10,Math.floor(n)),i=Math.ceil(n)!==Math.floor(n)?Math.pow(10,Math.ceil(n)):Math.pow(10,Math.ceil(n)+1))),[r,i]},e.prototype._mapper_state=function(){var t,e,i,n,r,s,o,a,l,u,h,c;return l=this.get(\"source_range\").get(\"start\"),a=this.get(\"source_range\").get(\"end\"),c=this.get(\"target_range\").get(\"start\"),h=this.get(\"target_range\").get(\"end\"),o=h-c,r=this._get_safe_scale(l,a),u=r[0],t=r[1],0===u?(i=Math.log(t),e=0):(i=Math.log(t)-Math.log(u),e=Math.log(u)),s=o,n=c,[s,n,i,e]},e}(n),e.exports={Model:r}},{\"../common/has_properties\":115}],143:[function(t,e,i){e.exports={YlGn3:[3253076,11394446,16252089],YlGn4:[2327619,7915129,12773017,16777164],YlGn5:[26679,3253076,7915129,12773017,16777164],YlGn6:[26679,3253076,7915129,11394446,14282915,16777164],YlGn7:[23090,2327619,4303709,7915129,11394446,14282915,16777164],YlGn8:[23090,2327619,4303709,7915129,11394446,14282915,16252089,16777189],YlGn9:[17705,26679,2327619,4303709,7915129,11394446,14282915,16252089,16777189],YlGnBu3:[2916280,8375739,15595697],YlGnBu4:[2252456,4306628,10607284,16777164],YlGnBu5:[2438292,2916280,4306628,10607284,16777164],YlGnBu6:[2438292,2916280,4306628,8375739,13101492,16777164],YlGnBu7:[797828,2252456,1937856,4306628,8375739,13101492,16777164],YlGnBu8:[797828,2252456,1937856,4306628,8375739,13101492,15595697,16777177],YlGnBu9:[531800,2438292,2252456,1937856,4306628,8375739,13101492,15595697,16777177],GnBu3:[4432586,11066805,14742491],GnBu4:[2854078,8113348,12248252,15792616],GnBu5:[551084,4432586,8113348,12248252,15792616],GnBu6:[551084,4432586,8113348,11066805,13429701,15792616],GnBu7:[546974,2854078,5157843,8113348,11066805,13429701,15792616],\n",
       "        GnBu8:[546974,2854078,5157843,8113348,11066805,13429701,14742491,16252144],GnBu9:[540801,551084,2854078,5157843,8113348,11066805,13429701,14742491,16252144],BuGn3:[2925151,10082505,15070713],BuGn4:[2329413,6734500,11723490,15595771],BuGn5:[27948,2925151,6734500,11723490,15595771],BuGn6:[27948,2925151,6734500,10082505,13429990,15595771],BuGn7:[22564,2329413,4304502,6734500,10082505,13429990,15595771],BuGn8:[22564,2329413,4304502,6734500,10082505,13429990,15070713,16252157],BuGn9:[17435,27948,2329413,4304502,6734500,10082505,13429990,15070713,16252157],PuBuGn3:[1872025,10927579,15524592],PuBuGn4:[164234,6793679,12437985,16183287],PuBuGn5:[93273,1872025,6793679,12437985,16183287],PuBuGn6:[93273,1872025,6793679,10927579,13685222,16183287],PuBuGn7:[91216,164234,3576e3,6793679,10927579,13685222,16183287],PuBuGn8:[91216,164234,3576e3,6793679,10927579,13685222,15524592,16775163],PuBuGn9:[83510,93273,164234,3576e3,6793679,10927579,13685222,15524592,16775163],PuBu3:[2854078,10927579,15525874],PuBu4:[356528,7645647,12437985,15855350],PuBu5:[285325,2854078,7645647,12437985,15855350],PuBu6:[285325,2854078,7645647,10927579,13685222,15855350],PuBu7:[216699,356528,3576e3,7645647,10927579,13685222,15855350],PuBu8:[216699,356528,3576e3,7645647,10927579,13685222,15525874,16775163],PuBu9:[145496,285325,356528,3576e3,7645647,10927579,13685222,15525874,16775163],BuPu3:[8935079,10403034,14740724],BuPu4:[8929693,9213638,11783651,15595771],BuPu5:[8458108,8935079,9213638,11783651,15595771],BuPu6:[8458108,8935079,9213638,10403034,12571622,15595771],BuPu7:[7209323,8929693,9202609,9213638,10403034,12571622,15595771],BuPu8:[7209323,8929693,9202609,9213638,10403034,12571622,14740724,16252157],BuPu9:[5046347,8458108,8929693,9202609,9213638,10403034,12571622,14740724,16252157],RdPu3:[12917642,16424885,16638173],RdPu4:[11403646,16214177,16495801,16706530],RdPu5:[7995767,12917642,16214177,16495801,16706530],RdPu6:[7995767,12917642,16214177,16424885,16565696,16706530],RdPu7:[7995767,11403646,14496919,16214177,16424885,16565696,16706530],RdPu8:[7995767,11403646,14496919,16214177,16424885,16565696,16638173,16775155],RdPu9:[4784234,7995767,11403646,14496919,16214177,16424885,16565696,16638173,16775155],PuRd3:[14490743,13210823,15196655],PuRd4:[13505110,14640560,14136792,15855350],PuRd5:[9961539,14490743,14640560,14136792,15855350],PuRd6:[9961539,14490743,14640560,13210823,13941210,15855350],PuRd7:[9502783,13505110,15149450,14640560,13210823,13941210,15855350],PuRd8:[9502783,13505110,15149450,14640560,13210823,13941210,15196655,16250105],PuRd9:[6750239,9961539,13505110,15149450,14640560,13210823,13941210,15196655,16250105],OrRd3:[14895667,16628612,16705736],OrRd4:[14102559,16551257,16632970,16707801],OrRd5:[11730944,14895667,16551257,16632970,16707801],OrRd6:[11730944,14895667,16551257,16628612,16635038,16707801],OrRd7:[10027008,14102559,15689032,16551257,16628612,16635038,16707801],OrRd8:[10027008,14102559,15689032,16551257,16628612,16635038,16705736,16775148],OrRd9:[8323072,11730944,14102559,15689032,16551257,16628612,16635038,16705736,16775148],YlOrRd3:[15743776,16691788,16772512],YlOrRd4:[14883356,16616764,16698460,16777138],YlOrRd5:[12386342,15743776,16616764,16698460,16777138],YlOrRd6:[12386342,15743776,16616764,16691788,16701814,16777138],YlOrRd7:[11599910,14883356,16535082,16616764,16691788,16701814,16777138],YlOrRd8:[11599910,14883356,16535082,16616764,16691788,16701814,16772512,16777164],YlOrRd9:[8388646,12386342,14883356,16535082,16616764,16691788,16701814,16772512,16777164],YlOrBr3:[14245646,16696399,16775100],YlOrBr4:[13388802,16685353,16701838,16777172],YlOrBr5:[10040324,14245646,16685353,16701838,16777172],YlOrBr6:[10040324,14245646,16685353,16696399,16704401,16777172],YlOrBr7:[9186564,13388802,15495188,16685353,16696399,16704401,16777172],YlOrBr8:[9186564,13388802,15495188,16685353,16696399,16704401,16775100,16777189],YlOrBr9:[6694150,10040324,13388802,15495188,16685353,16696399,16704401,16775100,16777189],Purples3:[7695281,12369372,15724021],Purples4:[6967715,10394312,13355490,15921399],Purples5:[5515151,7695281,10394312,13355490,15921399],Purples6:[5515151,7695281,10394312,12369372,14342891,15921399],Purples7:[4854918,6967715,8420794,10394312,12369372,14342891,15921399],Purples8:[4854918,6967715,8420794,10394312,12369372,14342891,15724021,16579581],Purples9:[4128893,5515151,6967715,8420794,10394312,12369372,14342891,15724021,16579581],Blues3:[3244733,10406625,14609399],Blues4:[2191797,7057110,12441575,15725567],Blues5:[545180,3244733,7057110,12441575,15725567],Blues6:[545180,3244733,7057110,10406625,13032431,15725567],Blues7:[542100,2191797,4362950,7057110,10406625,13032431,15725567],Blues8:[542100,2191797,4362950,7057110,10406625,13032431,14609399,16251903],Blues9:[536683,545180,2191797,4362950,7057110,10406625,13032431,14609399,16251903],Greens3:[3253076,10607003,15070688],Greens4:[2329413,7652470,12248243,15595753],Greens5:[27948,3253076,7652470,12248243,15595753],Greens6:[27948,3253076,7652470,10607003,13101504,15595753],Greens7:[23090,2329413,4303709,7652470,10607003,13101504,15595753],Greens8:[23090,2329413,4303709,7652470,10607003,13101504,15070688,16252149],Greens9:[17435,27948,2329413,4303709,7652470,10607003,13101504,15070688,16252149],Oranges3:[15095053,16625259,16705230],Oranges4:[14239489,16616764,16629381,16707038],Oranges5:[10892803,15095053,16616764,16629381,16707038],Oranges6:[10892803,15095053,16616764,16625259,16634018,16707038],Oranges7:[9186564,14239745,15821075,16616764,16625259,16634018,16707038],Oranges8:[9186564,14239745,15821075,16616764,16625259,16634018,16705230,16774635],Oranges9:[8333060,10892803,14239745,15821075,16616764,16625259,16634018,16705230,16774635],Reds3:[14560550,16552562,16703698],Reds4:[13309981,16476746,16559761,16704985],Reds5:[10817301,14560550,16476746,16559761,16704985],Reds6:[10817301,14560550,16476746,16552562,16563105,16704985],Reds7:[10027021,13309981,15678252,16476746,16552562,16563105,16704985],Reds8:[10027021,13309981,15678252,16476746,16552562,16563105,16703698,16774640],Reds9:[6750221,10817301,13309981,15678252,16476746,16552562,16563105,16703698,16774640],Greys3:[6513507,12434877,15790320],Greys4:[5395026,9868950,13421772,16250871],Greys5:[2434341,6513507,9868950,13421772,16250871],Greys6:[2434341,6513507,9868950,12434877,14277081,16250871],Greys7:[2434341,5395026,7566195,9868950,12434877,14277081,16250871],Greys8:[2434341,5395026,7566195,9868950,12434877,14277081,15790320,16777215],Greys9:[0,2434341,5395026,7566195,9868950,12434877,14277081,15790320,16777215],PuOr3:[10063555,16250871,15835968],PuOr4:[6175897,11709394,16627811,15098113],PuOr5:[6175897,11709394,16250871,16627811,15098113],PuOr6:[5515144,10063555,14211819,16703670,15835968,11753478],PuOr7:[5515144,10063555,14211819,16250871,16703670,15835968,11753478],PuOr8:[5515144,8418220,11709394,14211819,16703670,16627811,14713364,11753478],PuOr9:[5515144,8418220,11709394,14211819,16250871,16703670,16627811,14713364,11753478],PuOr10:[2949195,5515144,8418220,11709394,14211819,16703670,16627811,14713364,11753478,8338184],PuOr11:[2949195,5515144,8418220,11709394,14211819,16250871,16703670,16627811,14713364,11753478,8338184],BrBG3:[5944492,16119285,14201701],BrBG4:[99697,8441281,14664317,10903834],BrBG5:[99697,8441281,16119285,14664317,10903834],BrBG6:[91742,5944492,13101797,16181443,14201701,9195786],BrBG7:[91742,5944492,13101797,16119285,16181443,14201701,9195786],BrBG8:[91742,3512207,8441281,13101797,16181443,14664317,12550445,9195786],BrBG9:[91742,3512207,8441281,13101797,16119285,16181443,14664317,12550445,9195786],BrBG10:[15408,91742,3512207,8441281,13101797,16181443,14664317,12550445,9195786,5517317],BrBG11:[15408,91742,3512207,8441281,13101797,16119285,16181443,14664317,12550445,9195786,5517317],PRGn3:[8372091,16250871,11505091],PRGn4:[34871,10935200,12756431,8073876],PRGn5:[34871,10935200,16250871,12756431,8073876],PRGn6:[1800247,8372091,14282963,15193320,11505091,7744131],PRGn7:[1800247,8372091,14282963,16250871,15193320,11505091,7744131],PRGn8:[1800247,5942881,10935200,14282963,15193320,12756431,10055851,7744131],PRGn9:[1800247,5942881,10935200,14282963,16250871,15193320,12756431,10055851,7744131],PRGn10:[17435,1800247,5942881,10935200,14282963,15193320,12756431,10055851,7744131,4194379],PRGn11:[17435,1800247,5942881,10935200,14282963,16250871,15193320,12756431,10055851,7744131,4194379],PiYG3:[10606442,16250871,15311817],PiYG4:[5090342,12116358,15840986,13638795],PiYG5:[5090342,12116358,16250871,15840986,13638795],PiYG6:[5083681,10606442,15136208,16638191,15311817,12917629],PiYG7:[5083681,10606442,15136208,16250871,16638191,15311817,12917629],PiYG8:[5083681,8371265,12116358,15136208,16638191,15840986,14579630,12917629],PiYG9:[5083681,8371265,12116358,15136208,16250871,16638191,15840986,14579630,12917629],PiYG10:[2581529,5083681,8371265,12116358,15136208,16638191,15840986,14579630,12917629,9306450],PiYG11:[2581529,5083681,8371265,12116358,15136208,16250871,16638191,15840986,14579630,12917629,9306450],RdBu3:[6793679,16250871,15698530],RdBu4:[356784,9618910,16033154,13238304],RdBu5:[356784,9618910,16250871,16033154,13238304],RdBu6:[2188972,6793679,13755888,16636871,15698530,11671595],RdBu7:[2188972,6793679,13755888,16250871,16636871,15698530,11671595],RdBu8:[2188972,4428739,9618910,13755888,16636871,16033154,14049357,11671595],RdBu9:[2188972,4428739,9618910,13755888,16250871,16636871,16033154,14049357,11671595],RdBu10:[340065,2188972,4428739,9618910,13755888,16636871,16033154,14049357,11671595,6750239],RdBu11:[340065,2188972,4428739,9618910,13755888,16250871,16636871,16033154,14049357,11671595,6750239],RdGy3:[10066329,16777215,15698530],RdGy4:[4210752,12237498,16033154,13238304],RdGy5:[4210752,12237498,16777215,16033154,13238304],RdGy6:[5066061,10066329,14737632,16636871,15698530,11671595],RdGy7:[5066061,10066329,14737632,16777215,16636871,15698530,11671595],RdGy8:[5066061,8882055,12237498,14737632,16636871,16033154,14049357,11671595],RdGy9:[5066061,8882055,12237498,14737632,16777215,16636871,16033154,14049357,11671595],RdGy10:[1710618,5066061,8882055,12237498,14737632,16636871,16033154,14049357,11671595,6750239],RdGy11:[1710618,5066061,8882055,12237498,14737632,16777215,16636871,16033154,14049357,11671595,6750239],RdYlBu3:[9551835,16777151,16551257],RdYlBu4:[2915254,11262441,16625249,14096668],RdYlBu5:[2915254,11262441,16777151,16625249,14096668],RdYlBu6:[4552116,9551835,14742520,16703632,16551257,14102567],RdYlBu7:[4552116,9551835,14742520,16777151,16703632,16551257,14102567],RdYlBu8:[4552116,7646673,11262441,14742520,16703632,16625249,16018755,14102567],RdYlBu9:[4552116,7646673,11262441,14742520,16777151,16703632,16625249,16018755,14102567],RdYlBu10:[3225237,4552116,7646673,11262441,14742520,16703632,16625249,16018755,14102567,10813478],RdYlBu11:[3225237,4552116,7646673,11262441,14742520,16777151,16703632,16625249,16018755,14102567,10813478],Spectral3:[10081684,16777151,16551257],Spectral4:[2851770,11263396,16625249,14096668],Spectral5:[2851770,11263396,16777151,16625249,14096668],Spectral6:[3311805,10081684,15136152,16703627,16551257,13975119],Spectral7:[3311805,10081684,15136152,16777151,16703627,16551257,13975119],Spectral8:[3311805,6734501,11263396,15136152,16703627,16625249,16018755,13975119],Spectral9:[3311805,6734501,11263396,15136152,16777151,16703627,16625249,16018755,13975119],Spectral10:[6180770,3311805,6734501,11263396,15136152,16703627,16625249,16018755,13975119,10355010],Spectral11:[6180770,3311805,6734501,11263396,15136152,16777151,16703627,16625249,16018755,13975119,10355010],RdYlGn3:[9555808,16777151,16551257],RdYlGn4:[1742401,10934634,16625249,14096668],RdYlGn5:[1742401,10934634,16777151,16625249,14096668],RdYlGn6:[1742928,9555808,14282635,16703627,16551257,14102567],RdYlGn7:[1742928,9555808,14282635,16777151,16703627,16551257,14102567],RdYlGn8:[1742928,6733155,10934634,14282635,16703627,16625249,16018755,14102567],RdYlGn9:[1742928,6733155,10934634,14282635,16777151,16703627,16625249,16018755,14102567],RdYlGn10:[26679,1742928,6733155,10934634,14282635,16703627,16625249,16018755,14102567,10813478],RdYlGn11:[26679,1742928,6733155,10934634,14282635,16777151,16703627,16625249,16018755,14102567,10813478]}},{}],144:[function(t,e,i){var n,r,s,o,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/bbox\"),a=t(\"../common/logging\").logger,r=t(\"./range1d\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"DataRange1d\",e.prototype._get_start=function(){var t;return null!=(t=this.get(\"_start\"))?t:this.get(\"_auto_start\")},e.prototype._set_start=function(t){return this.set(\"_start\",t)},e.prototype._get_end=function(){var t;return null!=(t=this.get(\"_end\"))?t:this.get(\"_auto_end\")},e.prototype._set_end=function(t){return this.set(\"_end\",t)},e.prototype.initialize=function(t,i){return this.register_property(\"start\",this._get_start,!0),this.register_setter(\"start\",this._set_start),this.add_dependencies(\"start\",this,[\"_start\",\"flipped\",\"_auto_start\",\"range_padding\",\"default_span\"]),this.register_property(\"end\",this._get_end,!0),this.register_setter(\"end\",this._set_end),this.add_dependencies(\"end\",this,[\"_end\",\"flipped\",\"_auto_end\",\"range_padding\",\"default_span\"]),null!=(null!=t?t.start:void 0)&&(this.set(\"start\",t.start),delete t.start),null!=(null!=t?t.end:void 0)&&(this.set(\"end\",t.end),delete t.end),e.__super__.initialize.call(this,t,i),this.plot_bounds={}},e.prototype.update=function(t,e,i){var n,r,s,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D;if(w=null!=(m=this.get(\"renderers\"))?m:[],n=[],0===w.length){for(_=this.get(\"plots\"),s=0,u=_.length;u>s;s++)f=_[s],k=f.get(\"renderers\"),k=function(){var t,e,i;for(i=[],t=0,e=k.length;e>t;t++)g=k[t],\"GlyphRenderer\"===g.type&&i.push(g);return i}(),n=n.concat(k);w=n}for(this.set(\"renderers\",w),x=new o.empty,v=this.get(\"renderers\"),a=0,h=v.length;h>a;a++)g=v[a],null!=t[g.id]&&(x=o.extend(x,t[g.id]));this.plot_bounds[i.model.id]=x,d=new o.empty,y=this.plot_bounds;for(l in y)D=y[l],d=o.extend(d,D);return b=d[e],p=b[0],c=b[1],C=c!==p?(c-p)*(1+this.get(\"range_padding\")):this.get(\"default_span\"),r=(c+p)/2,M=1,this.get(\"flipped\")&&(M=-1),this.set(\"_auto_start\",r-M*C/2),this.set(\"_auto_end\",r+M*C/2)},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{plots:[],sources:[],range_padding:.1,default_span:2,flipped:!1})},e}(r.Model),e.exports={Model:n}},{\"../common/bbox\":100,\"../common/logging\":119,\"./range1d\":146,underscore:92}],145:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),r=t(\"../common/has_properties\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"FactorRange\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this._init(),this.register_property(\"min\",function(){return this.get(\"start\")},!1),this.add_dependencies(\"min\",this,[\"factors\",\"offset\"]),this.register_property(\"max\",function(){return this.get(\"end\")},!1),this.add_dependencies(\"max\",this,[\"factors\",\"offset\"]),this.listenTo(this,\"change:factors\",this._init),this.listenTo(this,\"change:offset\",this._init)},e.prototype._init=function(){return this.set(\"start\",.5+this.get(\"offset\")),this.set(\"end\",this.get(\"factors\").length+this.get(\"start\"))},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{offset:0,factors:[]})},e}(r),e.exports={Model:n}},{\"../common/has_properties\":115,underscore:92}],146:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),n=t(\"../common/has_properties\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"Range1d\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property(\"min\",function(){return Math.min(this.get(\"start\"),this.get(\"end\"))},!0),this.add_dependencies(\"min\",this,[\"start\",\"end\"]),this.register_property(\"max\",function(){return Math.max(this.get(\"start\"),this.get(\"end\"))},!0),this.add_dependencies(\"max\",this,[\"start\",\"end\"])},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{start:0,end:1})},e}(n),e.exports={Model:r}},{\"../common/has_properties\":115,underscore:92}],147:[function(t,e,i){var n,r,s,o,a,l,u=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\"),s=t(\"../../common/has_parent\"),o=t(\"../../common/plot_widget\"),l=t(\"../../common/properties\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.fill_props=new l.Fill({obj:this.model,prefix:\"\"}),this.line_props=new l.Line({obj:this.model,prefix:\"\"})},e.prototype.render=function(){var t,e,i,n,r;return this.frame=this.plot_model.get(\"frame\"),this.canvas=this.plot_model.get(\"canvas\"),this.xmapper=this.plot_view.frame.get(\"x_mappers\")[this.mget(\"x_range_name\")],this.ymapper=this.plot_view.frame.get(\"y_mappers\")[this.mget(\"y_range_name\")],i=this.canvas.vx_to_sx(this._calc_dim(\"left\",this.xmapper,this.frame.get(\"h_range\").get(\"start\"))),n=this.canvas.vx_to_sx(this._calc_dim(\"right\",this.xmapper,this.frame.get(\"h_range\").get(\"end\"))),e=this.canvas.vy_to_sy(this._calc_dim(\"bottom\",this.ymapper,this.frame.get(\"v_range\").get(\"start\"))),r=this.canvas.vy_to_sy(this._calc_dim(\"top\",this.ymapper,this.frame.get(\"v_range\").get(\"end\"))),t=this.plot_view.canvas_view.ctx,t.save(),t.beginPath(),t.rect(i,r,n-i,e-r),this.fill_props.set_value(t),t.fill(),this.line_props.set_value(t),t.stroke(),t.restore()},e.prototype._calc_dim=function(t,e,i){var n;return n=null!=this.mget(t)?\"data\"===this.mget(t+\"_units\")?e.map_to_target(this.mget(t)):this.mget(t):i},e}(o),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=r,e.prototype.type=\"BoxAnnotation\",e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{x_range_name:\"default\",y_range_name:\"default\"})},e.prototype.display_defaults=function(){return a.extend({},e.__super__.display_defaults.call(this),{level:\"annotation\",left_units:\"data\",right_units:\"data\",top_units:\"data\",bottom_units:\"data\",fill_color:\"#fff9ba\",fill_alpha:.4,line_color:\"#cccccc\",line_width:1,line_alpha:.3,line_join:\"miter\",line_cap:\"butt\",line_dash:[],line_dash_offset:0})},e}(s),e.exports={Model:n,View:r}},{\"../../common/has_parent\":114,\"../../common/plot_widget\":125,\"../../common/properties\":126,underscore:92}],148:[function(t,e,i){var n,r,s,o,a,l,u,h=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_parent\"),o=t(\"../../common/plot_widget\"),l=t(\"../../common/properties\"),u=t(\"../../common/textutils\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.label_props=new l.Text({obj:this.model,prefix:\"label_\"}),this.border_props=new l.Line({obj:this.model,prefix:\"border_\"}),this.background_props=new l.Fill({obj:this.model,prefix:\"background_\"}),this.need_calc_dims=!0,this.listenTo(this.plot_model.solver,\"layout_update\",function(){return this.need_calc_dims=!0})},e.prototype.calc_dims=function(t){var e,i,n,r,s,o,l,h,c,p,d,f,g,m,_,v;return l=function(){var t,e,n,r,s;for(n=this.mget(\"legends\"),s=[],t=0,e=n.length;e>t;t++)r=n[t],o=r[0],i=r[1],s.push(o);return s}.call(this),r=this.mget(\"label_height\"),this.glyph_height=this.mget(\"glyph_height\"),s=this.mget(\"label_width\"),this.glyph_width=this.mget(\"glyph_width\"),c=this.mget(\"legend_spacing\"),this.label_height=a.max([u.getTextHeight(this.label_props.font_value()),r,this.glyph_height]),this.legend_height=this.label_height,this.legend_height=l.length*this.legend_height+(1+l.length)*c,e=this.plot_view.canvas_view.ctx,e.save(),this.label_props.set_value(e),g=a.map(l,function(t){return e.measureText(t).width}),e.restore(),f=a.max(g),this.label_width=a.max([f,s]),this.legend_width=this.label_width+this.glyph_width+3*c,p=this.mget(\"orientation\"),h=this.mget(\"legend_padding\"),n=this.plot_view.frame.get(\"h_range\"),m=this.plot_view.frame.get(\"v_range\"),\"top_right\"===p?(_=n.get(\"end\")-h-this.legend_width,v=m.get(\"end\")-h):\"top_left\"===p?(_=n.get(\"start\")+h,v=m.get(\"end\")-h):\"bottom_left\"===p?(_=n.get(\"start\")+h,v=m.get(\"start\")+h+this.legend_height):\"bottom_right\"===p?(_=n.get(\"end\")-h-this.legend_width,v=m.get(\"start\")+h+this.legend_height):\"absolute\"===p&&(d=this.absolute_coords,_=d[0],v=d[1]),_=this.plot_view.canvas.vx_to_sx(_),v=this.plot_view.canvas.vy_to_sy(v),this.box_coords=[_,v]},e.prototype.render=function(){var t,e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w;for(this.need_calc_dims&&(this.calc_dims(),this.need_calc_dims=!1),t=this.plot_view.canvas_view.ctx,t.save(),t.beginPath(),t.rect(this.box_coords[0],this.box_coords[1],this.legend_width,this.legend_height),this.background_props.set_value(t),t.fill(),this.border_props.do_stroke&&(this.border_props.set_value(t),t.stroke()),o=this.mget(\"legend_spacing\"),u=this.mget(\"legends\"),n=i=0,a=u.length;a>i;n=++i)for(h=u[n],s=h[0],e=h[1],b=n*this.label_height,w=(1+n)*o,_=this.box_coords[1]+this.label_height/2+b+w,f=this.box_coords[0]+o,g=this.box_coords[0]+2*o+this.label_width,m=g+this.glyph_width,v=this.box_coords[1]+b+w,y=v+this.glyph_height,this.label_props.set_value(t),t.fillText(s,f,_),c=this.model.resolve_ref(e),r=0,l=c.length;l>r;r++)p=c[r],d=this.plot_view.renderers[p.id],d.draw_legend(t,g,m,v,y);return t.restore()},e}(o),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.default_view=s,e.prototype.type=\"Legend\",e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{legends:[]})},e.prototype.display_defaults=function(){return a.extend({},e.__super__.display_defaults.call(this),{level:\"overlay\",border_line_color:\"black\",border_line_width:1,border_line_alpha:1,border_line_join:\"miter\",border_line_cap:\"butt\",border_line_dash:[],border_line_dash_offset:0,background_fill_color:\"#fff\",background_fill_alpha:1,label_standoff:15,label_text_font:\"helvetica\",label_text_font_size:\"10pt\",label_text_font_style:\"normal\",label_text_color:\"#444444\",label_text_alpha:1,label_text_align:\"left\",label_text_baseline:\"middle\",glyph_height:20,glyph_width:20,label_height:20,label_width:50,legend_padding:10,legend_spacing:3,orientation:\"top_right\",datapoint:null})},e}(n),e.exports={Model:r,View:s}},{\"../../common/has_parent\":114,\"../../common/plot_widget\":125,\"../../common/properties\":126,\"../../common/textutils\":133,underscore:92}],149:[function(t,e,i){var n,r,s,o,a,l,u=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/has_parent\"),r=t(\"../../common/plot_widget\"),l=t(\"../../common/logging\").logger,o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.$el.appendTo(this.plot_view.$el.find(\"div.bk-canvas-overlays\")),this.$el.css({position:\"absolute\"}),this.$el.hide()},e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,\"change:location\",this._draw_span)},e.prototype.render=function(){return this._draw_span()},e.prototype._draw_span=function(){var t,e,i,n,r,s;return null==this.mget(\"location\")?void this.$el.hide():(e=this.plot_model.get(\"frame\"),t=this.plot_model.get(\"canvas\"),\"width\"===this.mget(\"dimension\")?(r=t.vy_to_sy(this.mget(\"location\")),n=t.vx_to_sx(e.get(\"left\")),s=e.get(\"width\")+\"px\",i=\"1px\"):(r=t.vy_to_sy(e.get(\"top\")),n=t.vx_to_sx(this.mget(\"location\")),s=\"1px\",i=e.get(\"height\")+\"px\"),this.$el.css({top:r,left:n,width:s,height:i,\"z-index\":1e3,\"background-color\":this.mget(\"color\")}),this.$el.show())},e}(r),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=o,e.prototype.type=\"Span\",e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{level:\"overlay\",dimension:\"width\",units:\"screen\",color:\"black\"})},e}(n),e.exports={Model:s,View:o}},{\"../../common/has_parent\":114,\"../../common/logging\":119,\"../../common/plot_widget\":125,underscore:92}],150:[function(t,e,i){var n,r,s,o,a,l,u,h=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;n=t(\"jquery\"),l=t(\"underscore\"),r=t(\"../../common/has_parent\"),s=t(\"../../common/plot_widget\"),u=t(\"../../common/logging\").logger,a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.className=\"bk-tooltip\",e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.$el.appendTo(this.plot_view.$el.find(\"div.bk-canvas-overlays\")),this.$el.css({\"z-index\":1010}),this.$el.hide()},e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,\"change:data\",this._draw_tips)},e.prototype.render=function(){return this._draw_tips()},e.prototype._draw_tips=function(){var t,e,i,r,s,o,a,u,h,c,p,d,f,g,m;if(this.$el.empty(),this.$el.hide(),this.$el.toggleClass(\"bk-tooltip-custom\",this.mget(\"custom\")),!l.isEmpty(this.mget(\"data\"))){for(a=this.mget(\"data\"),i=0,s=a.length;s>i;i++)f=a[i],g=f[0],m=f[1],e=f[2],(!this.mget(\"inner_only\")||this.plot_view.frame.contains(g,m))&&(p=n(\"<div />\").appendTo(this.$el),p.append(e));switch(h=this.plot_view.mget(\"canvas\").vx_to_sx(g),c=this.plot_view.mget(\"canvas\").vy_to_sy(m),u=this.mget(\"side\"),\"auto\"===u&&(o=this.plot_view.frame.get(\"width\"),u=g-this.plot_view.frame.get(\"left\")<o/2?\"right\":\"left\"),this.$el.removeClass(\"bk-right\"),this.$el.removeClass(\"bk-left\"),t=10,u){case\"right\":this.$el.addClass(\"bk-left\"),r=h+(this.$el.outerWidth()-this.$el.innerWidth())+t;break;case\"left\":this.$el.addClass(\"bk-right\"),r=h-this.$el.outerWidth()-t}return d=c-this.$el.outerHeight()/2,this.$el.children().length>0?(this.$el.css({top:d,left:r}),this.$el.show()):void 0}},e}(s),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.default_view=a,e.prototype.type=\"Tooltip\",e.prototype.clear=function(){return this.set(\"data\",[])},e.prototype.add=function(t,e,i){var n;return n=this.get(\"data\"),n.push([t,e,i]),this.set(\"data\",n)},e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{level:\"overlay\",side:\"auto\",inner_only:!0})},e}(r),e.exports={Model:o,View:a}},{\"../../common/has_parent\":114,\"../../common/logging\":119,\"../../common/plot_widget\":125,jquery:18,underscore:92}],151:[function(t,e,i){var n,r,s,o,a,l,u=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;o=t(\"underscore\"),l=t(\"../../common/mathutils\"),s=t(\"./glyph\"),a=t(\"../../common/hittest\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){var t,e,i,n;for(\"data\"===this.distances.inner_radius.units?this.sinner_radius=this.sdist(this.renderer.xmapper,this.x,this.inner_radius):this.sinner_radius=this.inner_radius,\"data\"===this.distances.outer_radius.units?this.souter_radius=this.sdist(this.renderer.xmapper,this.x,this.outer_radius):this.souter_radius=this.outer_radius,this.angle=new Float32Array(this.start_angle.length),n=[],t=e=0,i=this.start_angle.length;i>=0?i>e:e>i;t=i>=0?++e:--e)n.push(this.angle[t]=this.end_angle[t]-this.start_angle[t]);return n},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d;for(p=i.sx,d=i.sy,c=i.start_angle,n=i.angle,u=i.sinner_radius,h=i.souter_radius,r=i.direction,l=[],o=0,a=e.length;a>o;o++)s=e[o],isNaN(p[s]+d[s]+u[s]+h[s]+c[s]+n[s]+r[s])||(t.translate(p[s],d[s]),t.rotate(this.start_angle[s]),t.moveTo(h[s],0),t.beginPath(),t.arc(0,0,h[s],0,n[s],r[s]),t.rotate(this.angle[s]),t.lineTo(u[s],0),t.arc(0,0,u[s],0,-n[s],!r[s]),t.closePath(),t.rotate(-n[s]-c[s]),t.translate(-p[s],-d[s]),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,s),t.fill()),this.visuals.line.do_stroke?(this.visuals.line.set_vectorize(t,s),l.push(t.stroke())):l.push(void 0));return l},e.prototype._hit_point=function(t){var e,i,n,r,s,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j,O,F,L;for(m=[t.vx,t.vy],S=m[0],E=m[1],R=this.renderer.xmapper.map_from_target(S,!0),O=this.renderer.ymapper.map_from_target(E,!0),\"data\"===this.distances.outer_radius.units?(z=R-this.max_outer_radius,j=R+this.max_outer_radius,F=O-this.max_outer_radius,L=O+this.max_outer_radius):(A=S-this.max_outer_radius,P=S+this.max_outer_radius,_=this.renderer.xmapper.v_map_from_target([A,P],!0),z=_[0],j=_[1],I=E-this.max_outer_radius,N=E+this.max_outer_radius,v=this.renderer.ymapper.v_map_from_target([I,N],!0),F=v[0],L=v[1]),i=[],y=function(){var t,e,i,n;for(i=this.index.search([z,F,j,L]),n=[],t=0,e=i.length;e>t;t++)g=i[t],n.push(g[4].i);return n}.call(this),h=0,p=y.length;p>h;h++)s=y[h],f=Math.pow(this.souter_radius[s],2),u=Math.pow(this.sinner_radius[s],2),k=this.renderer.xmapper.map_to_target(R,!0),M=this.renderer.xmapper.map_to_target(this.x[s],!0),D=this.renderer.ymapper.map_to_target(O,!0),T=this.renderer.ymapper.map_to_target(this.y[s],!0),n=Math.pow(k-M,2)+Math.pow(D-T,2),f>=n&&n>=u&&i.push([s,n]);for(r=[],c=0,d=i.length;d>c;c++)b=i[c],s=b[0],n=b[1],x=this.renderer.plot_view.canvas.vx_to_sx(S),C=this.renderer.plot_view.canvas.vy_to_sy(E),e=Math.atan2(C-this.sy[s],x-this.sx[s]),l.angle_between(-e,-this.start_angle[s],-this.end_angle[s],this.direction[s])&&r.push([s,n]);return w=a.create_hit_test_result(),w[\"1d\"].indices=o.chain(r).sortBy(function(t){return t[1]}).map(function(t){return t[0]}).value(),w},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_area_legend(t,e,i,n,r)},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=r,e.prototype.type=\"AnnularWedge\",e.prototype.distances=[\"inner_radius\",\"outer_radius\"],e.prototype.angles=[\"start_angle\",\"end_angle\"],e.prototype.fields=[\"direction:direction\"],e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{direction:\"anticlock\"})},e}(s.Model),e.exports={Model:n,View:r}},{\"../../common/hittest\":116,\"../../common/mathutils\":120,\"./glyph\":158,underscore:92}],152:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),s=t(\"./glyph\"),a=t(\"../../common/hittest\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){return\"data\"===this.distances.inner_radius.units?this.sinner_radius=this.sdist(this.renderer.xmapper,this.x,this.inner_radius):this.sinner_radius=this.inner_radius,\"data\"===this.distances.outer_radius.units?this.souter_radius=this.sdist(this.renderer.xmapper,this.x,this.outer_radius):this.souter_radius=this.outer_radius;\n",
       "        },e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h;for(u=i.sx,h=i.sy,a=i.sinner_radius,l=i.souter_radius,o=[],r=0,s=e.length;s>r;r++)n=e[r],isNaN(u[n]+h[n]+a[n]+l[n])||(t.beginPath(),t.arc(u[n],h[n],a[n],0,2*Math.PI*2,!1),t.moveTo(u[n]+l[n],h[n]),t.arc(u[n],h[n],l[n],0,2*Math.PI*2,!0),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,n),t.fill()),this.visuals.line.do_stroke?(this.visuals.line.set_vectorize(t,n),o.push(t.stroke())):o.push(void 0));return o},e.prototype._hit_point=function(t){var e,i,n,r,s,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C;for(c=[t.vx,t.vy],v=c[0],y=c[1],b=this.renderer.xmapper.map_from_target(v,!0),w=b-this.max_radius,x=b+this.max_radius,k=this.renderer.ymapper.map_from_target(y,!0),M=k-this.max_radius,C=k+this.max_radius,i=[],p=function(){var t,e,i,n;for(i=this.index.search([w,M,x,C]),n=[],t=0,e=i.length;e>t;t++)h=i[t],n.push(h[4].i);return n}.call(this),s=0,l=p.length;l>s;s++)n=p[s],u=Math.pow(this.souter_radius[n],2),r=Math.pow(this.sinner_radius[n],2),f=this.renderer.xmapper.map_to_target(b),g=this.renderer.xmapper.map_to_target(this.x[n]),m=this.renderer.ymapper.map_to_target(k),_=this.renderer.ymapper.map_to_target(this.y[n]),e=Math.pow(f-g,2)+Math.pow(m-_,2),u>=e&&e>=r&&i.push([n,e]);return d=a.create_hit_test_result(),d[\"1d\"].indices=o.chain(i).sortBy(function(t){return t[1]}).map(function(t){return t[0]}).value(),d},e.prototype.draw_legend=function(t,e,i,n,r){var s,o,a,l,u,h,c,p,d;return u=null!=(l=this.get_reference_point())?l:0,o=[u],p={},p[u]=(e+i)/2,d={},d[u]=(n+r)/2,a=.5*Math.min(Math.abs(i-e),Math.abs(r-n)),h={},h[u]=.4*a,c={},c[u]=.8*a,s={sx:p,sy:d,sinner_radius:h,souter_radius:c},this._render(t,o,s)},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=\"Annulus\",e.prototype.distances=[\"inner_radius\",\"outer_radius\"],e}(s.Model),e.exports={Model:n,View:r}},{\"../../common/hittest\":116,\"./glyph\":158,underscore:92}],153:[function(t,e,i){var n,r,s,o,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(\"./glyph\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){return\"data\"===this.distances.radius.units?this.sradius=this.sdist(this.renderer.xmapper,this.x,this.radius):this.sradius=this.radius},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p;if(c=i.sx,p=i.sy,u=i.sradius,h=i.start_angle,r=i.end_angle,n=i.direction,this.visuals.line.do_stroke){for(l=[],o=0,a=e.length;a>o;o++)s=e[o],isNaN(c[s]+p[s]+u[s]+h[s]+r[s]+n[s])||(t.beginPath(),t.arc(c[s],p[s],u[s],h[s],r[s],n[s]),this.visuals.line.set_vectorize(t,s),l.push(t.stroke()));return l}},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_line_legend(t,e,i,n,r)},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=r,e.prototype.type=\"Arc\",e.prototype.visuals=[\"line\"],e.prototype.distances=[\"radius\"],e.prototype.angles=[\"start_angle\",\"end_angle\"],e.prototype.fields=[\"direction:direction\"],e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{direction:\"anticlock\"})},e}(s.Model),e.exports={Model:n,View:r}},{\"./glyph\":158,underscore:92}],154:[function(t,e,i){var n,r,s,o,a,l,u=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;o=t(\"underscore\"),l=t(\"rbush\"),s=t(\"./glyph\"),a=function(t,e,i,n,r,s,o,a){var l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M;for(x=[],c=[[],[]],d=m=0;2>=m;d=++m)if(0===d?(u=6*t-12*i+6*r,l=-3*t+9*i-9*r+3*o,p=3*i-3*t):(u=6*e-12*n+6*s,l=-3*e+9*n-9*s+3*a,p=3*n-3*e),Math.abs(l)<1e-12){if(Math.abs(u)<1e-12)continue;y=-p/u,y>0&&1>y&&x.push(y)}else h=u*u-4*p*l,v=Math.sqrt(h),0>h||(b=(-u+v)/(2*l),b>0&&1>b&&x.push(b),w=(-u-v)/(2*l),w>0&&1>w&&x.push(w));for(f=x.length,g=f;f--;)y=x[f],_=1-y,k=_*_*_*t+3*_*_*y*i+3*_*y*y*r+y*y*y*o,c[0][f]=k,M=_*_*_*e+3*_*_*y*n+3*_*y*y*s+y*y*y*a,c[1][f]=M;return c[0][g]=t,c[1][g]=e,c[0][g+1]=o,c[1][g+1]=a,[Math.min.apply(null,c[0]),Math.max.apply(null,c[1]),Math.max.apply(null,c[0]),Math.min.apply(null,c[1])]},r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._index_data=function(){var t,e,i,n,r,s,o,u,h,c;for(e=l(),n=[],t=i=0,r=this.x0.length;r>=0?r>i:i>r;t=r>=0?++i:--i)isNaN(this.x0[t]+this.x1[t]+this.y0[t]+this.y1[t]+this.cx0[t]+this.cy0[t]+this.cx1[t]+this.cy1[t])||(s=a(this.x0[t],this.y0[t],this.x1[t],this.y1[t],this.cx0[t],this.cy0[t],this.cx1[t],this.cy1[t]),o=s[0],h=s[1],u=s[2],c=s[3],n.push([o,h,u,c,{i:t}]));return e.load(n),e},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g;if(p=i.sx0,f=i.sy0,d=i.sx1,g=i.sy1,a=i.scx,l=i.scx0,h=i.scy0,u=i.scx1,c=i.scy1,this.visuals.line.do_stroke){for(o=[],r=0,s=e.length;s>r;r++)n=e[r],isNaN(p[n]+f[n]+d[n]+g[n]+l[n]+h[n]+u[n]+c[n])||(t.beginPath(),t.moveTo(p[n],f[n]),t.bezierCurveTo(l[n],h[n],u[n],c[n],d[n],g[n]),this.visuals.line.set_vectorize(t,n),o.push(t.stroke()));return o}},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_line_legend(t,e,i,n,r)},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=r,e.prototype.type=\"Bezier\",e.prototype.visuals=[\"line\"],e.prototype.coords=[[\"x0\",\"y0\"],[\"x1\",\"y1\"],[\"cx0\",\"cy0\"],[\"cx1\",\"cy1\"]],e}(s.Model),e.exports={Model:n,View:r}},{\"./glyph\":158,rbush:89,underscore:92}],155:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,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=null!=i._bokehTest?void 0:t(\"gloo2\"),h=t(\"../../common/color\"),c=h.color2rgba,g=function(t){return 2>t&&(t=Math.sqrt(2*t)),t},p=function(t,e){var i,n,r,s;for(i=new Float32Array(t),n=r=0,s=t;s>=0?s>r:r>s;n=s>=0?++r:--r)i[n]=e;return i},d=function(t,e,i){var n,r,s,o,a,l,u;for(n=new Float32Array(t*e),r=o=0,l=t;l>=0?l>o:o>l;r=l>=0?++o:--o)for(s=a=0,u=e;u>=0?u>a:a>u;s=u>=0?++a:--a)n[r*e+s]=i[s];return n},u=function(t,e,i,n,r,s){var o;return e.used=!0,null!=r[s].fixed_value?(t.set_attribute(i,\"float\",null,r[s].fixed_value),e.used=!1):(o=new Float32Array(r.cache[s+\"_array\"]),e.set_size(4*n),e.set_data(0,o),t.set_attribute(i,\"float\",[e,0,0])),o},l=function(t,e,i,n,r){var s,o,a,l,u,h,d,f,g,m,_;if(f=4,e.used=!0,null!=r.color.fixed_value&&null!=r.alpha.fixed_value)_=c(r.color.fixed_value,r.alpha.fixed_value),t.set_attribute(i,\"vec4\",null,_),e.used=!1;else{for(a=null!=r.color.fixed_value?function(){var t,e,i;for(i=[],l=t=0,e=n;e>=0?e>t:t>e;l=e>=0?++t:--t)i.push(r.color.fixed_value);return i}():r.cache.color_array,o=null!=r.alpha.fixed_value?p(n,r.alpha.fixed_value):r.cache.alpha_array,s=new Float32Array(n*f),l=h=0,g=n;g>=0?g>h:h>g;l=g>=0?++h:--h)for(_=c(a[l],o[l]),u=d=0,m=f;m>=0?m>d:d>m;u=m>=0?++d:--d)s[l*f+u]=_[u];e.set_size(n*f*4),e.set_data(0,s),t.set_attribute(i,\"vec4\",[e,0,0])}return s},n=function(){function t(t,e){this.gl=t,this.glyph=e,this.nvertices=0,this.size_changed=!1,this.data_changed=!1,this.visuals_changed=!1,this.init()}return t.prototype.GLYPH=\"\",t.prototype.VERT=\"\",t.prototype.FRAG=\"\",t.prototype.set_data_changed=function(t){return t!==this.nvertices&&(this.nvertices=t,this.size_changed=!0),this.data_changed=!0},t.prototype.set_visuals_changed=function(){return this.visuals_changed=!0},t}(),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.GLYPH=\"line\",e.prototype.VERT=\"xxx\",e.prototype.FRAG=\"xxx\",e}(n),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.VERT=\"precision mediump float;\\nconst float SQRT_2 = 1.4142135623730951;\\n//\\nuniform vec2 u_canvas_size;\\nuniform vec2 u_offset;\\nuniform vec2 u_scale;\\nuniform float u_antialias;\\n//\\nattribute float a_x;\\nattribute float a_y;\\nattribute float a_size;\\nattribute float a_angle;  // in radians\\nattribute float a_linewidth;\\nattribute vec4  a_fg_color;\\nattribute vec4  a_bg_color;\\n//\\nvarying float v_linewidth;\\nvarying float v_size;\\nvarying vec4  v_fg_color;\\nvarying vec4  v_bg_color;\\nvarying vec2  v_rotation;\\n\\nvoid main (void)\\n{\\n    v_size = a_size;\\n    v_linewidth = a_linewidth;\\n    v_fg_color = a_fg_color;\\n    v_bg_color = a_bg_color;\\n    v_rotation = vec2(cos(-a_angle), sin(-a_angle));\\n    // Calculate position - the -0.5 is to correct for canvas origin\\n    vec2 pos = vec2(a_x, a_y) * u_scale + u_offset - vec2(0.5, 0.5); // in pixels\\n    pos /= u_canvas_size;  // in 0..1\\n    gl_Position = vec4(pos*2.0-1.0, 0.0, 1.0);\\n    gl_Position.y *= -1.0;        \\n    gl_PointSize = SQRT_2 * v_size + 2.0 * (a_linewidth + 1.5*u_antialias);\\n}\",e.prototype.FRAG=\"precision mediump float;\\nconst float SQRT_2 = 1.4142135623730951;\\nconst float PI = 3.14159265358979323846264;\\n//\\nuniform float u_antialias;\\n//\\nvarying vec4  v_fg_color;\\nvarying vec4  v_bg_color;\\nvarying float v_linewidth;\\nvarying float v_size;\\nvarying vec2  v_rotation;\\n\\nMARKERCODE\\n\\nvec4 outline(float distance, float linewidth, float antialias, vec4 fg_color, vec4 bg_color)\\n{\\n    vec4 frag_color;\\n    float t = linewidth/2.0 - antialias;\\n    float signed_distance = distance;\\n    float border_distance = abs(signed_distance) - t;\\n    float alpha = border_distance/antialias;\\n    alpha = exp(-alpha*alpha);\\n    \\n    // If fg alpha is zero, it probably means no outline. To avoid a dark outline\\n    // shining through due to aa, we set the fg color to the bg color. Avoid if (i.e. branching).\\n    float select = float(bool(fg_color.a));\\n    fg_color.rgb = select * fg_color.rgb + (1.0  - select) * bg_color.rgb;\\n    // Similarly, if we want a transparent bg\\n    select = float(bool(bg_color.a));\\n    bg_color.rgb = select * bg_color.rgb + (1.0  - select) * fg_color.rgb;\\n    \\n    if( border_distance < 0.0)\\n        frag_color = fg_color;\\n    else if( signed_distance < 0.0 ) {\\n        frag_color = mix(bg_color, fg_color, sqrt(alpha));\\n    } else {\\n        if( abs(signed_distance) < (linewidth/2.0 + antialias) ) {\\n            frag_color = vec4(fg_color.rgb, fg_color.a * alpha);\\n        } else {\\n            discard;\\n        }\\n    }\\n    return frag_color;\\n}\\n\\nvoid main()\\n{\\n    vec2 P = gl_PointCoord.xy - vec2(0.5, 0.5);\\n    P = vec2(v_rotation.x*P.x - v_rotation.y*P.y,\\n             v_rotation.y*P.x + v_rotation.x*P.y);\\n    float point_size = SQRT_2*v_size  + 2.0 * (v_linewidth + 1.5*u_antialias);\\n    float distance = marker(P*point_size, v_size);\\n    gl_FragColor = outline(distance, v_linewidth, u_antialias, v_fg_color, v_bg_color);\\n    //gl_FragColor.rgb *= gl_FragColor.a;  // pre-multiply alpha\\n}\",e.prototype.MARKERCODE=\"<defined in subclasses>\",e.prototype.init=function(){var t,e;return e=this.gl,t=this.FRAG.replace(/MARKERCODE/,this.MARKERCODE),this.last_trans={},this.prog=new f.Program(e),this.prog.set_shaders(this.VERT,t),this.vbo_x=new f.VertexBuffer(e),this.prog.set_attribute(\"a_x\",\"float\",[this.vbo_x,0,0]),this.vbo_y=new f.VertexBuffer(e),this.prog.set_attribute(\"a_y\",\"float\",[this.vbo_y,0,0]),this.vbo_s=new f.VertexBuffer(e),this.prog.set_attribute(\"a_size\",\"float\",[this.vbo_s,0,0]),this.vbo_a=new f.VertexBuffer(e),this.prog.set_attribute(\"a_angle\",\"float\",[this.vbo_a,0,0]),this.vbo_linewidth=new f.VertexBuffer(e),this.vbo_fg_color=new f.VertexBuffer(e),this.vbo_bg_color=new f.VertexBuffer(e),this.index_buffer=new f.IndexBuffer(e)},e.prototype.draw=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v;if(u=e.glglyph.nvertices,this.data_changed?(this._set_data(u),this.data_changed=!1):null==this.glyph.radius||i.sx===this.last_trans.sx&&i.sy===this.last_trans.sy||(this.last_trans=i,this.vbo_s.set_data(0,new Float32Array(function(){var t,e,i,n;for(i=this.glyph.sradius,n=[],t=0,e=i.length;e>t;t++)m=i[t],n.push(2*m);return n}.call(this)))),this.visuals_changed&&(this._set_visuals(u),this.visuals_changed=!1),this.prog.set_uniform(\"u_canvas_size\",\"vec2\",[i.width,i.height]),this.prog.set_uniform(\"u_offset\",\"vec2\",[i.dx[0],i.dy[0]]),this.prog.set_uniform(\"u_scale\",\"vec2\",[i.sx,i.sy]),this.prog.set_attribute(\"a_x\",\"float\",[e.glglyph.vbo_x,0,0]),this.prog.set_attribute(\"a_y\",\"float\",[e.glglyph.vbo_y,0,0]),this.prog.set_attribute(\"a_size\",\"float\",[e.glglyph.vbo_s,0,0]),this.prog.set_attribute(\"a_angle\",\"float\",[e.glglyph.vbo_a,0,0]),0!==t.length){if(t.length===u)return this.prog.draw(this.gl.POINTS,[0,u]);if(65535>u)return this.index_buffer.set_size(2*t.length),this.index_buffer.set_data(0,new Uint16Array(t)),this.prog.draw(this.gl.POINTS,this.index_buffer);for(s=64e3,r=[],o=a=0,p=Math.ceil(u/s);p>=0?p>a:a>p;o=p>=0?++a:--a)r.push([]);for(o=l=0,d=t.length;d>=0?d>l:l>d;o=d>=0?++l:--l)v=t[o]%s,n=Math.floor(t[o]/s),r[n].push(v);for(g=[],n=h=0,f=r.length;f>=0?f>h:h>f;n=f>=0?++h:--h)_=new Uint16Array(r[n]),c=n*s*4,0!==_.length&&(this.prog.set_attribute(\"a_x\",\"float\",[e.glglyph.vbo_x,0,c]),this.prog.set_attribute(\"a_y\",\"float\",[e.glglyph.vbo_y,0,c]),this.prog.set_attribute(\"a_size\",\"float\",[e.glglyph.vbo_s,0,c]),this.prog.set_attribute(\"a_angle\",\"float\",[e.glglyph.vbo_a,0,c]),this.vbo_linewidth.used&&this.prog.set_attribute(\"a_linewidth\",\"float\",[this.vbo_linewidth,0,c]),this.vbo_fg_color.used&&this.prog.set_attribute(\"a_fg_color\",\"vec4\",[this.vbo_fg_color,0,4*c]),this.vbo_bg_color.used&&this.prog.set_attribute(\"a_bg_color\",\"vec4\",[this.vbo_bg_color,0,4*c]),this.index_buffer.set_size(2*_.length),this.index_buffer.set_data(0,_),g.push(this.prog.draw(this.gl.POINTS,this.index_buffer)));return g}},e.prototype._set_data=function(t){var e,i;return e=4*t,this.vbo_x.set_size(e),this.vbo_y.set_size(e),this.vbo_a.set_size(e),this.vbo_s.set_size(e),this.vbo_x.set_data(0,new Float32Array(this.glyph.x)),this.vbo_y.set_data(0,new Float32Array(this.glyph.y)),null!=this.glyph.angle&&this.vbo_a.set_data(0,new Float32Array(this.glyph.angle)),null!=this.glyph.radius?this.vbo_s.set_data(0,new Float32Array(function(){var t,e,n,r;for(n=this.glyph.sradius,r=[],t=0,e=n.length;e>t;t++)i=n[t],r.push(2*i);return r}.call(this))):this.vbo_s.set_data(0,new Float32Array(this.glyph.size))},e.prototype._set_visuals=function(t){return u(this.prog,this.vbo_linewidth,\"a_linewidth\",t,this.glyph.visuals.line,\"width\"),l(this.prog,this.vbo_fg_color,\"a_fg_color\",t,this.glyph.visuals.line),l(this.prog,this.vbo_bg_color,\"a_bg_color\",t,this.glyph.visuals.fill),this.prog.set_uniform(\"u_antialias\",\"float\",[.9])},e}(n),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.GLYPH=\"circle\",e.prototype.MARKERCODE=\"// --- disc\\nfloat marker(vec2 P, float size)\\n{\\n    return length(P) - size/2.0;\\n}\",e}(o),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.GLYPH=\"square\",e.prototype.MARKERCODE=\"// --- square\\nfloat marker(vec2 P, float size)\\n{\\n    return max(abs(P.x), abs(P.y)) - size/2.0;\\n}\",e}(o),e.exports={CircleGLGlyph:r,SquareGLGlyph:a}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../../common/color\":108,gloo2:298}],156:[function(t,e,i){var n,r,s,o,a,l,u=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;o=t(\"underscore\"),a=t(\"./bokehgl\"),s=t(\"./glyph\"),l=t(\"../../common/hittest\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._init_gl=function(t){return this.glglyph=new a.CircleGLGlyph(t,this)},e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){var t,e;return null!=this.radius?\"data\"===this.distances.radius.units?(t=this.fields.radius_dimension.fixed_value,this.sradius=this.sdist(this.renderer[t+\"mapper\"],this[t],this.radius)):(this.sradius=this.radius,this.max_size=2*this.max_radius):this.sradius=function(){var t,i,n,r;for(n=this.size,r=[],t=0,i=n.length;i>t;t++)e=n[t],r.push(e/2);return r}.call(this)},e.prototype._mask_data=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_;return e=this.renderer.plot_view.frame.get(\"h_range\"),p=this.renderer.plot_view.frame.get(\"v_range\"),null!=this.radius&&\"data\"===this.distances.radius.units?(l=e.get(\"start\"),u=e.get(\"end\"),i=this.renderer.xmapper.v_map_from_target([l,u],!0),f=i[0],g=i[1],f-=this.max_radius,g+=this.max_radius,h=p.get(\"start\"),c=p.get(\"end\"),n=this.renderer.ymapper.v_map_from_target([h,c],!0),m=n[0],_=n[1],m-=this.max_radius,_+=this.max_radius):(l=e.get(\"start\")-this.max_size,u=e.get(\"end\")+this.max_size,r=this.renderer.xmapper.v_map_from_target([l,u],!0),f=r[0],g=r[1],h=p.get(\"start\")-this.max_size,c=p.get(\"end\")+this.max_size,s=this.renderer.ymapper.v_map_from_target([h,c],!0),m=s[0],_=s[1]),f>g&&(o=[g,f],f=o[0],g=o[1]),m>_&&(a=[_,m],m=a[0],_=a[1]),function(){var t,e,i,n;for(i=this.index.search([f,m,g,_]),n=[],t=0,e=i.length;e>t;t++)d=i[t],n.push(d[4].i);return n}.call(this)},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u;for(l=i.sx,u=i.sy,a=i.sradius,o=[],r=0,s=e.length;s>r;r++)n=e[r],isNaN(l[n]+u[n]+a[n])||(t.beginPath(),t.arc(l[n],u[n],a[n],0,2*Math.PI,!1),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,n),t.fill()),this.visuals.line.do_stroke?(this.visuals.line.set_vectorize(t,n),o.push(t.stroke())):o.push(void 0));return o},e.prototype._hit_point=function(t){var e,i,n,r,s,a,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j;if(d=[t.vx,t.vy],C=d[0],S=d[1],E=this.renderer.xmapper.map_from_target(C,!0),R=this.renderer.ymapper.map_from_target(S,!0),null!=this.radius&&\"data\"===this.distances.radius.units?(I=E-this.max_radius,N=E+this.max_radius,z=R-this.max_radius,j=R+this.max_radius):(D=C-this.max_size,T=C+this.max_size,f=this.renderer.xmapper.v_map_from_target([D,T],!0),I=f[0],N=f[1],g=[Math.min(I,N),Math.max(I,N)],I=g[0],N=g[1],A=S-this.max_size,P=S+this.max_size,m=this.renderer.ymapper.v_map_from_target([A,P],!0),z=m[0],j=m[1],_=[Math.min(z,j),Math.max(z,j)],z=_[0],j=_[1]),e=function(){var t,e,i,n;for(i=this.index.search([I,z,N,j]),n=[],t=0,e=i.length;e>t;t++)c=i[t],n.push(c[4].i);return n}.call(this),n=[],null!=this.radius&&\"data\"===this.distances.radius.units)for(s=0,u=e.length;u>s;s++)r=e[s],p=Math.pow(this.sradius[r],2),b=this.renderer.xmapper.map_to_target(E,!0),w=this.renderer.xmapper.map_to_target(this.x[r],!0),k=this.renderer.ymapper.map_to_target(R,!0),M=this.renderer.ymapper.map_to_target(this.y[r],!0),i=Math.pow(b-w,2)+Math.pow(k-M,2),p>=i&&n.push([r,i]);else for(y=this.renderer.plot_view.canvas.vx_to_sx(C),x=this.renderer.plot_view.canvas.vy_to_sy(S),a=0,h=e.length;h>a;a++)r=e[a],p=Math.pow(this.sradius[r],2),i=Math.pow(this.sx[r]-y,2)+Math.pow(this.sy[r]-x,2),p>=i&&n.push([r,i]);return n=o.chain(n).sortBy(function(t){return t[1]}).map(function(t){return t[0]}).value(),v=l.create_hit_test_result(),v[\"1d\"].indices=n,v},e.prototype._hit_span=function(t){var e,i,n,r,s,o,a,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k;return n=[t.vx,t.vy],c=n[0],f=n[1],r=this.bounds(),y=r[0],k=r[1],h=l.create_hit_test_result(),\"h\"===t.direction?(w=k[0],x=k[1],null!=this.radius&&\"data\"===this.distances.radius.units?(p=c-this.max_radius,d=c+this.max_radius,s=this.renderer.xmapper.v_map_from_target([p,d]),_=s[0],v=s[1]):(i=this.max_size/2,p=c-i,d=c+i,o=this.renderer.xmapper.v_map_from_target([p,d],!0),_=o[0],v=o[1])):(_=y[0],v=y[1],null!=this.radius&&\"data\"===this.distances.radius.units?(g=f-this.max_radius,m=f+this.max_radius,a=this.renderer.ymapper.v_map_from_target([g,m]),w=a[0],x=a[1]):(i=this.max_size/2,g=f-i,m=f+i,u=this.renderer.ymapper.v_map_from_target([g,m],!0),w=u[0],x=u[1])),e=function(){var t,e,i,n;for(i=this.index.search([_,w,v,x]),n=[],t=0,e=i.length;e>t;t++)b=i[t],n.push(b[4].i);return n}.call(this),h[\"1d\"].indices=e,h},e.prototype._hit_rect=function(t){var e,i,n,r,s,o,a,u;return e=this.renderer.xmapper.v_map_from_target([t.vx0,t.vx1],!0),s=e[0],o=e[1],i=this.renderer.ymapper.v_map_from_target([t.vy0,t.vy1],!0),a=i[0],u=i[1],n=l.create_hit_test_result(),n[\"1d\"].indices=function(){var t,e,i,n;for(i=this.index.search([s,a,o,u]),n=[],t=0,e=i.length;e>t;t++)r=i[t],n.push(r[4].i);return n}.call(this),n},e.prototype._hit_poly=function(t){var e,i,n,r,s,a,u,h,c,p,d,f,g;for(a=[o.clone(t.vx),o.clone(t.vy)],f=a[0],g=a[1],p=this.renderer.plot_view.canvas.v_vx_to_sx(f),d=this.renderer.plot_view.canvas.v_vy_to_sy(g),e=function(){c=[];for(var t=0,e=this.sx.length;e>=0?e>t:t>e;e>=0?t++:t--)c.push(t);return c}.apply(this),i=[],n=s=0,u=e.length;u>=0?u>s:s>u;n=u>=0?++s:--s)r=e[n],l.point_in_poly(this.sx[n],this.sy[n],p,d)&&i.push(r);return h=l.create_hit_test_result(),h[\"1d\"].indices=i,h},e.prototype.draw_legend=function(t,e,i,n,r){var s,o,a,l,u,h,c;return l=null!=(a=this.get_reference_point())?a:0,o=[l],h={},h[l]=(e+i)/2,c={},c[l]=(n+r)/2,u={},u[l]=.2*Math.min(Math.abs(i-e),Math.abs(r-n)),s={sx:h,sy:c,sradius:u},this._render(t,o,s)},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=r,e.prototype.type=\"Circle\",e.prototype.distances=[\"?radius\",\"?size\"],e.prototype.fields=[\"radius_dimension:string\"],e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{size:4})},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{radius_dimension:\"x\"})},e}(s.Model),e.exports={Model:n,View:r}},{\"../../common/hittest\":116,\"./bokehgl\":155,\"./glyph\":158,underscore:92}],157:[function(t,e,i){(function(i){var n,r,s,o,a,l,u=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\"),a=t(\"./glyph\"),s=null!=i._bokehTest?void 0:t(\"gear_utils\"),n=t(\"../../util/bezier\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){return this.smodule=this.sdist(this.renderer.xmapper,this.x,this.module,\"edge\")},e.prototype._render=function(t,e,i){var n,r,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S;for(M=i.sx,C=i.sy,k=i.smodule,r=i.angle,D=i.teeth,f=i.pressure_angle,x=i.shaft_size,l=i.internal,h=0,p=e.length;p>h;h++)if(a=e[h],!isNaN(M[a]+C[a]+r[a]+k[a]+D[a]+f[a]+x[a]+l[a])){for(d=k[a]*D[a]/2,o=l[a]?s.create_internal_gear_tooth:s.create_gear_tooth,b=o(k[a],D[a],f[a]),g=b.slice(0,3),n=g[0],T=g[1],S=g[2],y=b.slice(3),t.save(),t.translate(M[a],C[a]),t.rotate(r[a]),t.beginPath(),v=2*Math.PI/D[a],t.moveTo(T,S),u=c=0,m=D[a];m>=0?m>c:c>m;u=m>=0?++c:--c)this._render_seq(t,y),t.rotate(v);t.closePath(),l[a]?(_=d+2.75*k[a],t.moveTo(_,0),t.arc(0,0,_,0,2*Math.PI,!0)):x[a]>0&&(w=d*x[a],t.moveTo(w,0),t.arc(0,0,w,0,2*Math.PI,!0)),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,a),t.fill()),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,a),t.stroke()),t.restore()}},e.prototype._render_seq=function(t,e){var i,r,s,o,a,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I;for(u=0;u<e.length;)switch(l.isString(e[u])&&(i=e[u],u+=1),i){case\"M\":g=e.slice(u,u+2),P=g[0],I=g[1],t.moveTo(P,I),m=[P,I],d=m[0],f=m[1],u+=2;break;case\"L\":v=e.slice(u,u+2),P=v[0],I=v[1],t.lineTo(P,I),y=[P,I],d=y[0],f=y[1],u+=2;break;case\"C\":b=e.slice(u,u+6),r=b[0],o=b[1],s=b[2],a=b[3],P=b[4],I=b[5],t.bezierCurveTo(r,o,s,a,P,I),w=[P,I],d=w[0],f=w[1],u+=6;break;case\"Q\":x=e.slice(u,u+4),r=x[0],o=x[1],P=x[2],I=x[3],t.quadraticCurveTo(r,o,P,I),k=[P,I],d=k[0],f=k[1],u+=4;break;case\"A\":for(M=e.slice(u,u+7),D=M[0],T=M[1],E=M[2],c=M[3],A=M[4],P=M[5],I=M[6],S=n.arc_to_bezier(d,f,D,T,-E,c,1-A,P,I),h=0,p=S.length;p>h;h++)C=S[h],r=C[0],o=C[1],s=C[2],a=C[3],P=C[4],I=C[5],t.bezierCurveTo(r,o,s,a,P,I);_=[P,I],d=_[0],f=_[1],u+=7;break;default:throw new Error(\"unexpected command: \"+i)}},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_area_legend(t,e,i,n,r)},e}(a.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=o,e.prototype.type=\"Gear\",e.prototype.angles=[\"angle\"],e.prototype.fields=[\"module\",\"internal:bool\",\"pressure_angle\",\"shaft_size\",\"teeth\"],e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{angle:0,pressure_angle:20,shaft_size:.3,internal:!1})},e}(a.Model),e.exports={Model:r,View:o}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../../util/bezier\":248,\"./glyph\":158,gear_utils:297,underscore:92}],158:[function(t,e,i){var n,r,s,o,a,l,u,h,c,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;l=t(\"underscore\"),d=t(\"rbush\"),u=t(\"../../common/bbox\"),h=t(\"../../common/logging\").logger,a=t(\"../../common/has_parent\"),r=t(\"../../common/continuum_view\"),p=t(\"../../common/properties\"),n=t(\"../../mapper/categorical_mapper\"),c=t(\"proj4\"),f=c.defs(\"GOOGLE\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return g(e,t),e.prototype.initialize=function(t){var i,n,r,s;e.__super__.initialize.call(this,t),this.renderer=t.renderer,i=this.renderer.plot_view.canvas_view.ctx,null!=i.glcanvas&&this._init_gl(i.glcanvas.gl),s=p.factories;for(r in s)n=s[r],this[r]={},this[r]=l.extend(this[r],n(this.model));return this.warned={},this},e.prototype.render=function(t,e,i){if(this.mget(\"visible\")){if(t.beginPath(),null!=this.glglyph&&this._render_gl(t,e,i))return;return this._render(t,e,i)}},e.prototype._render_gl=function(t,e,i){var n,r,s,o;return s=this.renderer.map_to_screen([0,1,2],[0,1,2]),n=s[0],r=s[1],Math.abs(n[1]-n[0]-(n[2]-n[1]))>1e-6||Math.abs(r[1]-r[0]-(r[2]-r[1]))>1e-6?!1:(o={width:t.glcanvas.width,height:t.glcanvas.height,dx:n,dy:r,sx:n[1]-n[0],sy:r[1]-r[0]},this.glglyph.draw(e,i,o),!0)},e.prototype.map_data=function(){var t,e,i,n,r,s,o,a,u,h,c,p,d,f,g,m,_;for(r=this.model.coords,e=0,n=r.length;n>e;e++)if(s=r[e],m=s[0],_=s[1],d=\"s\"+m,g=\"s\"+_,l.isArray(null!=(o=this[m])?o[0]:void 0))for(a=[[],[]],this[d]=a[0],this[g]=a[1],t=i=0,u=this[m].length;u>=0?u>i:i>u;t=u>=0?++i:--i)h=this.renderer.map_to_screen(this[m][t],this[_][t]),p=h[0],f=h[1],this[d].push(p),this[g].push(f);else c=this.renderer.map_to_screen(this[m],this[_]),this[d]=c[0],this[g]=c[1];return this._map_data()},e.prototype.project_xy=function(t,e){var i,n,r,s,o,a,l,u;for(s=[],a=[],i=n=0,l=t.length;l>=0?l>n:n>l;i=l>=0?++n:--n)u=c(f,[t[i],e[i]]),r=u[0],o=u[1],s[i]=r,a[i]=o;return[s,a]},e.prototype.project_xsys=function(t,e){var i,n,r,s,o,a,l,u;for(s=[],a=[],i=n=0,l=t.length;l>=0?l>n:n>l;i=l>=0?++n:--n)u=this.project_xy(t[i],e[i]),r=u[0],o=u[1],s[i]=r,a[i]=o;return[s,a]},e.prototype.set_data=function(t){var e,i,n,r,s,o,a,l;n=this.coords;for(e in n)i=n[e],this[e]=i.array(t);this.renderer.plot_model.use_map&&(null!=this.x&&(r=this.project_xy(this.x,this.y),this.x=r[0],this.y=r[1]),null!=this.xs&&(s=this.project_xsys(this.xs,this.ys),this.xs=s[0],this.ys=s[1])),o=this.angles;for(e in o)i=o[e],this[e]=i.array(t);a=this.distances;for(e in a)i=a[e],this[e]=i.array(t),this[\"max_\"+e]=Math.max.apply(null,this[e]);l=this.fields;for(e in l)i=l[e],this[e]=i.array(t);return null!=this.glglyph&&this.glglyph.set_data_changed(this.x.length),this._set_data(),this.index=this._index_data()},e.prototype.set_visuals=function(t){var e,i,n;n=this.visuals;for(e in n)i=n[e],i.warm_cache(t);return null!=this.glglyph?this.glglyph.set_visuals_changed():void 0},e.prototype.bounds=function(){var t;return null==this.index?u.empty():(t=this.index.data.bbox,this._bounds([[t[0],t[2]],[t[1],t[3]]]))},e.prototype.scx=function(t){return this.sx[t]},e.prototype.scy=function(t){return this.sy[t]},e.prototype._init_gl=function(){return!1},e.prototype._set_data=function(){return null},e.prototype._map_data=function(){return null},e.prototype._mask_data=function(t){return t},e.prototype._bounds=function(t){return t},e.prototype._xy_index=function(){var t,e,i,r,s,o,a,l,u;for(e=d(),r=[],a=this.renderer.xmapper instanceof n.Model?this.renderer.xmapper.v_map_to_target(this.x,!0):this.x,u=this.renderer.ymapper instanceof n.Model?this.renderer.ymapper.v_map_to_target(this.y,!0):this.y,t=i=0,s=a.length;s>=0?s>i:i>s;t=s>=0?++i:--i)o=a[t],!isNaN(o)&&isFinite(o)&&(l=u[t],!isNaN(l)&&isFinite(l)&&r.push([o,l,o,l,{i:t}]));return e.load(r),e},e.prototype.sdist=function(t,e,i,n,r){var s,o,a,u,h,c,p;return null==n&&(n=\"edge\"),null==r&&(r=!1),l.isString(e[0])&&(e=t.v_map_to_target(e)),\"center\"===n?(o=function(){var t,e,n;for(n=[],t=0,e=i.length;e>t;t++)s=i[t],n.push(s/2);return n}(),u=function(){var t,i,n;for(n=[],a=t=0,i=e.length;i>=0?i>t:t>i;a=i>=0?++t:--t)n.push(e[a]-o[a]);return n}(),h=function(){var t,i,n;for(n=[],a=t=0,i=e.length;i>=0?i>t:t>i;a=i>=0?++t:--t)n.push(e[a]+o[a]);return n}()):(u=e,h=function(){var t,e,n;for(n=[],a=t=0,e=u.length;e>=0?e>t:t>e;a=e>=0?++t:--t)n.push(u[a]+i[a]);return n}()),c=t.v_map_to_target(u),p=t.v_map_to_target(h),r?function(){var t,e,i;for(i=[],a=t=0,e=c.length;e>=0?e>t:t>e;a=e>=0?++t:--t)i.push(Math.ceil(Math.abs(p[a]-c[a])));return i}():function(){var t,e,i;for(i=[],a=t=0,e=c.length;e>=0?e>t:t>e;a=e>=0?++t:--t)i.push(Math.abs(p[a]-c[a]));return i}()},e.prototype.hit_test=function(t){var e,i;return i=null,e=\"_hit_\"+t.type,null!=this[e]?i=this[e](t):null==this.warned[t.type]&&(h.error(\"'\"+t.type+\"' selection not available for \"+this.model.type),this.warned[t.type]=!0),i},e.prototype.get_reference_point=function(){var t;return t=this.mget(\"reference_point\"),l.isNumber(t)?this.data[t]:t},e.prototype.draw_legend=function(t,e,i,n,r){return null},e.prototype._generic_line_legend=function(t,e,i,n,r){var s,o;return o=null!=(s=this.get_reference_point())?s:0,t.save(),t.beginPath(),t.moveTo(e,(n+r)/2),t.lineTo(i,(n+r)/2),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,o),t.stroke()),t.restore()},e.prototype._generic_area_legend=function(t,e,i,n,r){var s,o,a,l,u,h,c,p,d,f,g;return h=null!=(u=this.get_reference_point())?u:0,l=[h],g=Math.abs(i-e),o=.1*g,a=Math.abs(r-n),s=.1*a,c=e+o,p=i-o,d=n+s,f=r-s,this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,h),t.fillRect(c,d,p-c,f-d)),this.visuals.line.do_stroke?(t.beginPath(),t.rect(c,d,p-c,f-d),this.visuals.line.set_vectorize(t,h),t.stroke()):void 0},e}(r),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return g(e,t),e.prototype.visuals=[\"line\",\"fill\"],e.prototype.coords=[[\"x\",\"y\"]],e.prototype.distances=[],e.prototype.angles=[],e.prototype.fields=[],e.prototype.fill_defaults={fill_color:\"gray\",fill_alpha:1},e.prototype.line_defaults={line_color:\"black\",line_width:1,line_alpha:1,line_join:\"miter\",line_cap:\"butt\",line_dash:[],line_dash_offset:0},e.prototype.text_defaults={text_font:\"helvetica\",text_font_size:\"12pt\",text_font_style:\"normal\",text_color:\"#444444\",text_alpha:1,text_align:\"left\",text_baseline:\"bottom\"},e.prototype.defaults=function(){return l.extend({visible:!0})},e.prototype.display_defaults=function(){var t,i,n,r,s,o;for(o={},s=this.visuals,i=0,n=s.length;n>i;i++){switch(r=s[i]){case\"line\":t=this.line_defaults;break;case\"fill\":t=this.fill_defaults;break;case\"text\":t=this.text_defaults;break;default:h.warn(\"unknown visual property type '\"+r+\"'\");continue}o=l.extend(o,e.__super__.display_defaults.call(this),t)}return o},e}(a),e.exports={Model:s,View:o}},{\"../../common/bbox\":100,\"../../common/continuum_view\":109,\"../../common/has_parent\":114,\"../../common/logging\":119,\"../../common/properties\":126,\n",
       "        \"../../mapper/categorical_mapper\":138,proj4:56,rbush:89,underscore:92}],159:[function(t,e,i){var n,r,s,o,a,l,u,h,c=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\"),h=t(\"../../common/logging\").logger,o=t(\"../../common/has_parent\"),a=t(\"../../common/plot_widget\"),n=t(\"../../range/factor_range\"),l=t(\"../../source/remote_data_source\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.initialize=function(t){var i,n,r;return e.__super__.initialize.call(this,t),this.glyph=this.build_glyph_view(this.mget(\"glyph\")),r=this.mget(\"selection_glyph\"),null==r&&(r=this.mget(\"glyph\").clone(),r.set(this.model.selection_defaults,{silent:!0})),this.selection_glyph=this.build_glyph_view(r),n=this.mget(\"nonselection_glyph\"),null==n&&(n=this.mget(\"glyph\").clone(),n.set(this.model.nonselection_defaults,{silent:!0})),this.nonselection_glyph=this.build_glyph_view(n),i=this.mget(\"glyph\").clone(),i.set(this.model.decimated_defaults,{silent:!0}),this.decimated_glyph=this.build_glyph_view(i),this.xmapper=this.plot_view.frame.get(\"x_mappers\")[this.mget(\"x_range_name\")],this.ymapper=this.plot_view.frame.get(\"y_mappers\")[this.mget(\"y_range_name\")],this.set_data(!1),this.mget(\"data_source\")instanceof l.RemoteDataSource?this.mget(\"data_source\").setup(this.plot_view,this.glyph):void 0},e.prototype.build_glyph_view=function(t){return new t.default_view({model:t,renderer:this})},e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,\"change\",this.request_render),this.listenTo(this.mget(\"data_source\"),\"change\",this.set_data),this.listenTo(this.mget(\"data_source\"),\"select\",this.request_render),this.listenTo(this.mget(\"glyph\"),\"propchange\",function(){return this.glyph.set_visuals(this.mget(\"data_source\")),this.request_render()})},e.prototype.have_selection_glyphs=function(){return!0},e.prototype.setup_server_data=function(){},e.prototype.set_data=function(t,e){var i,n,r,s,o,a,l,u,c;for(null==t&&(t=!0),c=Date.now(),u=this.mget(\"data_source\"),this.glyph.set_data(u,e),this.glyph.set_visuals(u),this.decimated_glyph.set_visuals(u),this.selection_glyph.set_visuals(u),this.nonselection_glyph.set_visuals(u),s=u.get_length(),null==s&&(s=1),this.all_indices=function(){l=[];for(var t=0;s>=0?s>t:t>s;s>=0?t++:t--)l.push(t);return l}.apply(this),o=this.plot_model.get(\"lod_factor\"),this.decimated=[],n=r=0,a=Math.floor(this.all_indices.length/o);a>=0?a>r:r>a;n=a>=0?++r:--r)this.decimated.push(this.all_indices[n*o]);return i=Date.now()-c,h.debug(this.glyph.model.type+\" GlyphRenderer (\"+this.model.id+\"): set_data finished in \"+i+\"ms\"),this.set_data_timestamp=Date.now(),t?this.request_render():void 0},e.prototype.render=function(){var t,e,i,n,r,s,o,a,l,u,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C;if(w=Date.now(),o=this.glyph.glglyph,x=Date.now(),this.glyph.map_data(),e=Date.now()-w,k=Date.now(),u=o?this.all_indices:this.glyph._mask_data(this.all_indices),i=Date.now()-k,t=this.plot_view.canvas_view.ctx,t.save(),v=this.mget(\"data_source\").get(\"selected\"),v=v&&0!==v.length?v[\"0d\"].flag?u:v[\"1d\"].indices.length>0?v[\"1d\"].indices:v[\"2d\"].indices.length>0?v[\"2d\"].indices:[]:[],g=this.plot_model.get(\"lod_threshold\"),this.plot_view.interactive&&!o&&null!=g&&this.all_indices.length>g?(u=this.decimated,a=this.decimated_glyph,_=this.decimated_glyph,b=this.selection_glyph):(a=this.glyph,_=this.nonselection_glyph,b=this.selection_glyph),v.length&&this.have_selection_glyphs()){for(C=Date.now(),y={},c=0,d=v.length;d>c;c++)l=v[c],y[l]=!0;for(v=new Array,m=new Array,p=0,f=u.length;f>p;p++)l=u[p],null!=y[l]?v.push(l):m.push(l);r=Date.now()-C,M=Date.now(),_.render(t,m,this.glyph),b.render(t,v,this.glyph),n=Date.now()-M}else M=Date.now(),a.render(t,u,this.glyph),n=Date.now()-M;return this.last_dtrender=n,s=Date.now()-w,h.debug(this.glyph.model.type+\" GlyphRenderer (\"+this.model.id+\"): render finished in \"+s+\"ms\"),h.trace(\" - map_data finished in       : \"+e+\"ms\"),null!=i&&h.trace(\" - mask_data finished in      : \"+i+\"ms\"),null!=r&&h.trace(\" - selection mask finished in : \"+r+\"ms\"),h.trace(\" - glyph renders finished in  : \"+n+\"ms\"),t.restore()},e.prototype.map_to_screen=function(t,e){return this.plot_view.map_to_screen(t,e,this.mget(\"x_range_name\"),this.mget(\"y_range_name\"))},e.prototype.draw_legend=function(t,e,i,n,r){return this.glyph.draw_legend(t,e,i,n,r)},e.prototype.hit_test=function(t){return this.glyph.hit_test(t)},e}(a),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.default_view=s,e.prototype.type=\"GlyphRenderer\",e.prototype.selection_defaults={},e.prototype.decimated_defaults={fill_alpha:.3,line_alpha:.3,fill_color:\"grey\",line_color:\"grey\"},e.prototype.nonselection_defaults={fill_alpha:.2,line_alpha:.2},e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{x_range_name:\"default\",y_range_name:\"default\",data_source:null})},e.prototype.display_defaults=function(){return u.extend({},e.__super__.display_defaults.call(this),{level:\"glyph\"})},e}(o),e.exports={Model:r,View:s}},{\"../../common/has_parent\":114,\"../../common/logging\":119,\"../../common/plot_widget\":125,\"../../range/factor_range\":145,\"../../source/remote_data_source\":205,underscore:92}],160:[function(t,e,i){var n,r,s,o,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(\"./glyph\"),o=t(\"../../mapper/linear_color_mapper\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._set_data=function(){var t,e,i,n,r,s,o,l,u,h,c;for((null==this.image_data||this.image_data.length!==this.image.length)&&(this.image_data=new Array(this.image.length)),(null==this.width||this.width.length!==this.image.length)&&(this.width=new Array(this.image.length)),(null==this.height||this.height.length!==this.image.length)&&(this.height=new Array(this.image.length)),c=[],s=u=0,h=this.image.length;h>=0?h>u:u>h;s=h>=0?++u:--u)null!=this.rows?(this.height[s]=this.rows[s],this.width[s]=this.cols[s]):(this.height[s]=this.image[s].length,this.width[s]=this.image[s][0].length),i=document.createElement(\"canvas\"),i.width=this.width[s],i.height=this.height[s],r=i.getContext(\"2d\"),o=r.getImageData(0,0,this.width[s],this.height[s]),n=this.mget(\"color_mapper\"),l=null!=this.rows?this.image[s]:a.flatten(this.image[s]),t=n.v_map_screen(l),e=new Uint8ClampedArray(t),o.data.set(e),r.putImageData(o,0,0),this.image_data[s]=i,this.max_dw=0,\"data\"===this.dw.units&&(this.max_dw=a.max(this.dw)),this.max_dh=0,\"data\"===this.dh.units&&(this.max_dh=a.max(this.dh)),c.push(this._xy_index());return c},e.prototype._map_data=function(){return this.sw=this.sdist(this.renderer.xmapper,this.x,this.dw,\"edge\",this.mget(\"dilate\")),this.sh=this.sdist(this.renderer.ymapper,this.y,this.dh,\"edge\",this.mget(\"dilate\"))},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p;for(r=i.image_data,h=i.sx,c=i.sy,u=i.sw,l=i.sh,a=t.getImageSmoothingEnabled(),t.setImageSmoothingEnabled(!1),s=0,o=e.length;o>s;s++)n=e[s],null!=r[n]&&(isNaN(h[n]+c[n]+u[n]+l[n])||(p=c[n],t.translate(0,p),t.scale(1,-1),t.translate(0,-p),t.drawImage(r[n],0|h[n],0|c[n],u[n],l[n]),t.translate(0,p),t.scale(1,-1),t.translate(0,-p)));return t.setImageSmoothingEnabled(a)},e.prototype.bounds=function(){var t;return t=this.index.data.bbox,[[t[0],t[2]+this.max_dw],[t[1],t[3]+this.max_dh]]},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"Image\",e.prototype.visuals=[],e.prototype.distances=[\"dw\",\"dh\"],e.prototype.fields=[\"image:array\",\"?rows\",\"?cols\",\"palette:string\"],e.prototype.display_defaults=function(){return a.extend({},e.__super__.display_defaults.call(this),{dilate:!1})},e}(n.Model),e.exports={Model:r,View:s}},{\"../../mapper/linear_color_mapper\":140,\"./glyph\":158,underscore:92}],161:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./glyph\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._set_data=function(t,e){var i,n,r,s,a,l,u,h,c,p,d,f,g,m;for((null==this.image_data||this.image_data.length!==this.image.length)&&(this.image_data=new Array(this.image.length)),(null==this.width||this.width.length!==this.image.length)&&(this.width=new Array(this.image.length)),(null==this.height||this.height.length!==this.image.length)&&(this.height=new Array(this.image.length)),m=[],u=p=0,f=this.image.length;f>=0?f>p:p>f;u=f>=0?++p:--p)if(null==e||u===e){if(null!=this.rows?(this.height[u]=this.rows[u],this.width[u]=this.cols[u]):(this.height[u]=this.image[u].length,this.width[u]=this.image[u][0].length),r=document.createElement(\"canvas\"),r.width=this.width[u],r.height=this.height[u],a=r.getContext(\"2d\"),h=a.getImageData(0,0,this.width[u],this.height[u]),null!=this.rows)h.data.set(new Uint8ClampedArray(this.image[u]));else{for(l=o.flatten(this.image[u]),i=new ArrayBuffer(4*l.length),s=new Uint32Array(i),c=d=0,g=l.length;g>=0?g>d:d>g;c=g>=0?++d:--d)s[c]=l[c];n=new Uint8ClampedArray(i),h.data.set(n)}a.putImageData(h,0,0),this.image_data[u]=r,this.max_dw=0,\"data\"===this.dw.units&&(this.max_dw=o.max(this.dw)),this.max_dh=0,\"data\"===this.dh.units?m.push(this.max_dh=o.max(this.dh)):m.push(void 0)}return m},e.prototype._map_data=function(){return this.sw=this.sdist(this.renderer.xmapper,this.x,this.dw,\"edge\",this.mget(\"dilate\")),this.sh=this.sdist(this.renderer.ymapper,this.y,this.dh,\"edge\",this.mget(\"dilate\"))},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p;for(r=i.image_data,h=i.sx,c=i.sy,u=i.sw,l=i.sh,a=t.getImageSmoothingEnabled(),t.setImageSmoothingEnabled(!1),s=0,o=e.length;o>s;s++)n=e[s],isNaN(h[n]+c[n]+u[n]+l[n])||(p=c[n],t.translate(0,p),t.scale(1,-1),t.translate(0,-p),t.drawImage(r[n],0|h[n],0|c[n],u[n],l[n]),t.translate(0,p),t.scale(1,-1),t.translate(0,-p));return t.setImageSmoothingEnabled(a)},e.prototype.bounds=function(){var t;return t=this.index.data.bbox,[[t[0],t[2]+this.max_dw],[t[1],t[3]+this.max_dh]]},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"ImageRGBA\",e.prototype.visuals=[],e.prototype.distances=[\"dw\",\"dh\"],e.prototype.fields=[\"image:array\",\"?rows\",\"?cols\"],e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{dilate:!1})},e}(n.Model),e.exports={Model:r,View:s}},{\"./glyph\":158,underscore:92}],162:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./glyph\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._set_data=function(){var t;return this.image=function(){var e,i,n,r;for(n=this.url,r=[],e=0,i=n.length;i>e;e++)t=n[e],r.push(null);return r}.call(this),this.need_load=function(){var e,i,n,r;for(n=this.url,r=[],e=0,i=n.length;i>e;e++)t=n[e],r.push(!0);return r}.call(this),this.loaded=function(){var e,i,n,r;for(n=this.url,r=[],e=0,i=n.length;i>e;e++)t=n[e],r.push(!1);return r}.call(this),this._xy_index()},e.prototype._map_data=function(){return this.sw=this.sdist(this.renderer.xmapper,this.x,this.w,\"edge\",this.mget(\"dilate\")),this.sh=this.sdist(this.renderer.ymapper,this.y,this.h,\"edge\",this.mget(\"dilate\"))},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g;for(g=i.url,s=i.image,u=i.need_load,d=i.sx,f=i.sy,p=i.sw,c=i.sh,n=i.angle,h=[],a=0,l=e.length;l>a;a++)r=e[a],isNaN(d[r]+f[r]+n[r])||(u[r]?(o=new Image,o.onload=function(t){return function(e,i){return function(){return t.loaded[i]=!0,s[i]=e,t.renderer.request_render()}}}(this)(o,r),o.src=g[r],h.push(u[r]=!1)):this.loaded[r]?h.push(this._render_image(t,r,s[r],d,f,p,c,n)):h.push(void 0));return h},e.prototype._final_sx_sy=function(t,e,i,n,r){switch(t){case\"top_left\":return[e,i];case\"top_center\":return[e-n/2,i];case\"top_right\":return[e-n,i];case\"right_center\":return[e-n,i-r/2];case\"bottom_right\":return[e-n,i-r];case\"bottom_center\":return[e-n/2,i-r];case\"bottom_left\":return[e,i-r];case\"left_center\":return[e,i-r/2];case\"center\":return[e-n/2,i-r/2]}},e.prototype._render_image=function(t,e,i,n,r,s,o,a){var l,u;return isNaN(s[e])&&(s[e]=i.width),isNaN(o[e])&&(o[e]=i.height),l=this.mget(\"anchor\")||\"top_left\",u=this._final_sx_sy(l,n[e],r[e],s[e],o[e]),n=u[0],r=u[1],t.save(),t.globalAlpha=this.mget(\"global_alpha\"),a[e]?(t.translate(n,r),t.rotate(a[e]),t.drawImage(i,0,0,s[e],o[e]),t.rotate(-a[e]),t.translate(-n,-r)):t.drawImage(i,n,r,s[e],o[e]),t.restore()},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"ImageURL\",e.prototype.visuals=[],e.prototype.distances=[\"w\",\"h\"],e.prototype.angles=[\"angle\"],e.prototype.fields=[\"url:string\"],e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{angle:0,global_alpha:1})},e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{})},e}(n.Model),e.exports={Model:r,View:s}},{\"./glyph\":158,underscore:92}],163:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),n=t(\"./glyph\"),a=t(\"../../common/hittest\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._render=function(t,e,i){var n,r,s,o,a,l;for(a=i.sx,l=i.sy,n=!1,this.visuals.line.set_value(t),s=0,o=e.length;o>s;s++)r=e[s],isFinite(a[r]+l[r])||!n?n?t.lineTo(a[r],l[r]):(t.beginPath(),t.moveTo(a[r],l[r]),n=!0):(t.stroke(),t.beginPath(),n=!1);return n?t.stroke():void 0},e.prototype._hit_point=function(t){var e,i,n,r,s,o,l,u,h,c,p,d,f,g,m,_;for(l=[t.vx,t.vy],f=l[0],g=l[1],m=this.renderer.xmapper.map_from_target(f),_=this.renderer.ymapper.map_from_target(g),c=a.create_hit_test_result(),o={x:m,y:_},p=100,d=1,i=n=0,u=this.x.length-1;u>=0?u>n:n>u;i=u>=0?++n:--n)h=[{x:this.x[i],y:this.y[i]},{x:this.x[i+1],y:this.y[i+1]}],r=h[0],s=h[1],e=a.dist_to_segment(o,r,s),d>e&&p>e&&(p=e,c[\"0d\"].flag=!0,c[\"0d\"].indices=[i]);return c},e.prototype._hit_span=function(t){var e,i,n,r,s,o,l,u,h;for(n=[t.vx,t.vy],u=n[0],h=n[1],s=a.create_hit_test_result(),\"v\"===t.direction?(o=this.renderer.ymapper.map_from_target(h),l=this.y):(o=this.renderer.xmapper.map_from_target(u),l=this.x),e=i=0,r=l.length-1;r>=0?r>i:i>r;e=r>=0?++i:--i)l[e]<=o&&o<=l[e+1]&&(s[\"0d\"].flag=!0,s[\"0d\"].indices.push(e));return s},e.prototype.get_interpolation_hit=function(t,e){var i,n,r,s,o,l,u,h,c,p,d,f,g,m,_,v,y,b,w;return i=[e.vx,e.vy],p=i[0],d=i[1],n=[this.x[t],this.y[t],this.x[t+1],this.y[t+1]],m=n[0],b=n[1],_=n[2],w=n[3],\"point\"===e.type?(r=this.renderer.ymapper.v_map_from_target([d-1,d+1]),v=r[0],y=r[1],s=this.renderer.xmapper.v_map_from_target([p-1,p+1]),f=s[0],g=s[1]):\"v\"===e.direction?(o=this.renderer.ymapper.v_map_from_target([d,d]),v=o[0],y=o[1],l=[m,_],f=l[0],g=l[1]):(u=this.renderer.xmapper.v_map_from_target([p,p]),f=u[0],g=u[1],h=[b,w],v=h[0],y=h[1]),c=a.check_2_segments_intersect(f,v,g,y,m,b,_,w),[c.x,c.y]},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_line_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"Line\",e.prototype.visuals=[\"line\"],e}(n.Model),e.exports={Model:r,View:s}},{\"../../common/hittest\":116,\"./glyph\":158,underscore:92}],164:[function(t,e,i){var n,r,s,o,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(\"./marker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p;for(c=i.sx,p=i.sy,h=i.size,n=i.angle,u=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(c[r]+p[r]+h[r]+n[r])||(a=h[r]/2,l=.65*a,t.beginPath(),t.translate(c[r],p[r]),n[r]&&t.rotate(n[r]),t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a,0),t.lineTo(a,0),t.moveTo(-l,l),t.lineTo(l,-l),t.moveTo(-l,-l),t.lineTo(l,l),n[r]&&t.rotate(-n[r]),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),t.stroke()),u.push(t.translate(-c[r],-p[r])));return u},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=r,e.prototype.type=\"Asterisk\",e.prototype.props=[\"line\"],e}(s.Model),e.exports={Model:n,View:r}},{\"./marker\":171,underscore:92}],165:[function(t,e,i){var n,r,s,o,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(\"./marker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c;for(h=i.sx,c=i.sy,u=i.size,n=i.angle,l=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(h[r]+c[r]+u[r]+n[r])||(a=u[r]/2,t.beginPath(),t.translate(h[r],c[r]),t.arc(0,0,a,0,2*Math.PI,!1),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,r),t.fill()),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),n[r]&&t.rotate(n[r]),t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a,0),t.lineTo(a,0),n[r]&&t.rotate(-n[r]),t.stroke()),l.push(t.translate(-h[r],-c[r])));return l},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=r,e.prototype.type=\"CircleCross\",e}(s.Model),e.exports={Model:n,View:r}},{\"./marker\":171,underscore:92}],166:[function(t,e,i){var n,r,s,o,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(\"./marker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c;for(h=i.sx,c=i.sy,u=i.size,n=i.angle,l=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(h[r]+c[r]+u[r]+n[r])||(a=u[r]/2,t.beginPath(),t.translate(h[r],c[r]),t.arc(0,0,a,0,2*Math.PI,!1),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,r),t.fill()),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),n[r]&&t.rotate(n[r]),t.moveTo(-a,a),t.lineTo(a,-a),t.moveTo(-a,-a),t.lineTo(a,a),n[r]&&t.rotate(-n[r]),t.stroke()),l.push(t.translate(-h[r],-c[r])));return l},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=r,e.prototype.type=\"CircleX\",e}(s.Model),e.exports={Model:n,View:r}},{\"./marker\":171,underscore:92}],167:[function(t,e,i){var n,r,s,o,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(\"./marker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c;for(h=i.sx,c=i.sy,u=i.size,n=i.angle,l=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(h[r]+c[r]+u[r]+n[r])||(a=u[r]/2,t.beginPath(),t.translate(h[r],c[r]),n[r]&&t.rotate(n[r]),t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a,0),t.lineTo(a,0),n[r]&&t.rotate(-n[r]),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),n[r]&&t.rotate(n[r]),t.stroke(),n[r]&&t.rotate(-n[r])),l.push(t.translate(-h[r],-c[r])));return l},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=r,e.prototype.type=\"Cross\",e.prototype.props=[\"line\"],e}(s.Model),e.exports={Model:n,View:r}},{\"./marker\":171,underscore:92}],168:[function(t,e,i){var n,r,s,o,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(\"./marker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c;for(h=i.sx,c=i.sy,u=i.size,n=i.angle,l=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(h[r]+c[r]+u[r]+n[r])||(a=u[r]/2,t.beginPath(),t.translate(h[r],c[r]),n[r]&&t.rotate(n[r]),t.moveTo(0,a),t.lineTo(a/1.5,0),t.lineTo(0,-a),t.lineTo(-a/1.5,0),n[r]&&t.rotate(-n[r]),t.translate(-h[r],-c[r]),t.closePath(),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,r),t.fill()),this.visuals.line.do_stroke?(this.visuals.line.set_vectorize(t,r),l.push(t.stroke())):l.push(void 0));return l},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=r,e.prototype.type=\"Diamond\",e}(s.Model),e.exports={Model:n,View:r}},{\"./marker\":171,underscore:92}],169:[function(t,e,i){var n,r,s,o,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(\"./marker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c;for(h=i.sx,c=i.sy,u=i.size,n=i.angle,l=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(h[r]+c[r]+u[r]+n[r])||(a=u[r]/2,t.beginPath(),t.translate(h[r],c[r]),n[r]&&t.rotate(n[r]),t.moveTo(0,a),t.lineTo(a/1.5,0),t.lineTo(0,-a),t.lineTo(-a/1.5,0),n[r]&&t.rotate(-n[r]),t.closePath(),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,r),t.fill()),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),n[r]&&t.rotate(n[r]),t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a/1.5,0),t.lineTo(a/1.5,0),n[r]&&t.rotate(-n[r]),t.stroke()),l.push(t.translate(-h[r],-c[r])));return l},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=r,e.prototype.type=\"DiamondCross\",e}(s.Model),e.exports={Model:n,View:r}},{\"./marker\":171,underscore:92}],170:[function(t,e,i){var n,r,s,o,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(\"./marker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d;for(p=i.sx,d=i.sy,c=i.size,r=i.angle,h=[],a=0,l=e.length;l>a;a++)o=e[a],isNaN(p[o]+d[o]+c[o]+r[o])||(n=c[o]*Math.sqrt(3)/6,u=c[o]/2,s=c[o]*Math.sqrt(3)/2,t.beginPath(),t.translate(p[o],d[o]),r[o]&&t.rotate(r[o]),t.moveTo(-u,-n),t.lineTo(u,-n),t.lineTo(0,-n+s),r[o]&&t.rotate(-r[o]),t.translate(-p[o],-d[o]),t.closePath(),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,o),t.fill()),this.visuals.line.do_stroke?(this.visuals.line.set_vectorize(t,o),h.push(t.stroke())):h.push(void 0));return h},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=r,e.prototype.type=\"InvertedTriangle\",e}(s.Model),e.exports={Model:n,View:r}},{\"./marker\":171,underscore:92}],171:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),n=t(\"../glyph\"),a=t(\"../../../common/hittest\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.draw_legend=function(t,e,i,n,r){var s,o,a,l,u,h,c,p;return u=null!=(l=this.get_reference_point())?l:0,a=[u],c={},c[u]=(e+i)/2,p={},p[u]=(n+r)/2,h={},h[u]=.4*Math.min(Math.abs(i-e),Math.abs(r-n)),s={},s[u]=0,o={sx:c,sy:p,size:h,angle:s},this._render(t,a,o)},e.prototype._index_data=function(){return this._xy_index()},e.prototype._mask_data=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g;return e=this.renderer.plot_view.frame.get(\"h_range\"),a=e.get(\"start\")-this.max_size,l=e.get(\"end\")+this.max_size,i=this.renderer.xmapper.v_map_from_target([a,l],!0),p=i[0],d=i[1],n=[Math.min(p,d),Math.max(p,d)],p=n[0],d=n[1],o=this.renderer.plot_view.frame.get(\"v_range\"),u=o.get(\"start\")-this.max_size,h=o.get(\"end\")+this.max_size,r=this.renderer.ymapper.v_map_from_target([u,h],!0),f=r[0],g=r[1],s=[Math.min(f,g),Math.max(f,g)],f=s[0],g=s[1],function(){var t,e,i,n;for(i=this.index.search([p,f,d,g]),n=[],t=0,e=i.length;e>t;t++)c=i[t],n.push(c[4].i);return n}.call(this)},e.prototype._hit_point=function(t){var e,i,n,r,s,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D;for(u=[t.vx,t.vy],m=u[0],y=u[1],f=this.renderer.plot_view.canvas.vx_to_sx(m),g=this.renderer.plot_view.canvas.vy_to_sy(y),_=m-this.max_size,v=m+this.max_size,h=this.renderer.xmapper.v_map_from_target([_,v],!0),k=h[0],M=h[1],b=y-this.max_size,w=y+this.max_size,c=this.renderer.ymapper.v_map_from_target([b,w],!0),C=c[0],D=c[1],e=function(){var t,e,i,n;for(i=this.index.search([k,C,M,D]),n=[],t=0,e=i.length;e>t;t++)x=i[t],n.push(x[4].i);return n}.call(this),n=[],s=0,l=e.length;l>s;s++)r=e[s],d=this.size[r]/2,i=Math.abs(this.sx[r]-f)+Math.abs(this.sy[r]-g),Math.abs(this.sx[r]-f)<=d&&Math.abs(this.sy[r]-g)<=d&&n.push([r,i]);return p=a.create_hit_test_result(),p[\"1d\"].indices=o.chain(n).sortBy(function(t){return t[1]}).map(function(t){return t[0]}).value(),p},e.prototype._hit_rect=function(t){var e,i,n,r,s,o,l,u;return e=this.renderer.xmapper.v_map_from_target([t.vx0,t.vx1],!0),s=e[0],o=e[1],i=this.renderer.ymapper.v_map_from_target([t.vy0,t.vy1],!0),l=i[0],u=i[1],n=a.create_hit_test_result(),n[\"1d\"].indices=function(){var t,e,i,n;for(i=this.index.search([s,l,o,u]),n=[],t=0,e=i.length;e>t;t++)r=i[t],n.push(r[4].i);return n}.call(this),n},e.prototype._hit_poly=function(t){var e,i,n,r,s,o,l,u,h,c,p,d,f;for(o=[t.vx,t.vy],d=o[0],f=o[1],c=this.renderer.plot_view.canvas.v_vx_to_sx(d),p=this.renderer.plot_view.canvas.v_vy_to_sy(f),e=function(){h=[];for(var t=0,e=this.sx.length;e>=0?e>t:t>e;e>=0?t++:t--)h.push(t);return h}.apply(this),i=[],n=s=0,l=e.length;l>=0?l>s:s>l;n=l>=0?++s:--s)r=e[n],a.point_in_poly(this.sx[n],this.sy[n],c,p)&&i.push(r);return u=a.create_hit_test_result(),u[\"1d\"].indices=i,u},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.distances=[\"size\"],e.prototype.angles=[\"angle\"],e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{size:4,angle:0})},e}(n.Model),e.exports={Model:r,View:s}},{\"../../../common/hittest\":116,\"../glyph\":158,underscore:92}],172:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),n=t(\"./marker\"),a=t(\"../bokehgl\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._init_gl=function(t){return this.glglyph=new a.SquareGLGlyph(t,this)},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h;for(u=i.sx,h=i.sy,l=i.size,n=i.angle,a=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(u[r]+h[r]+l[r]+n[r])||(t.beginPath(),t.translate(u[r],h[r]),n[r]&&t.rotate(n[r]),t.rect(-l[r]/2,-l[r]/2,l[r],l[r]),n[r]&&t.rotate(-n[r]),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,r),t.fill()),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),t.stroke()),a.push(t.translate(-u[r],-h[r])));return a},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"Square\",e}(n.Model),e.exports={Model:r,View:s}},{\"../bokehgl\":155,\"./marker\":171,underscore:92}],173:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./marker\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c;for(h=i.sx,c=i.sy,u=i.size,n=i.angle,l=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(h[r]+c[r]+u[r]+n[r])||(t.beginPath(),t.translate(h[r],c[r]),n[r]&&t.rotate(n[r]),t.rect(-u[r]/2,-u[r]/2,u[r],u[r]),n[r]&&t.rotate(-n[r]),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,r),t.fill()),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),a=u[r]/2,n[r]&&t.rotate(n[r]),t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a,0),t.lineTo(a,0),n[r]&&t.rotate(-n[r]),t.stroke()),l.push(t.translate(-h[r],-c[r])));return l},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"SquareCross\",e}(n.Model),e.exports={Model:r,View:s}},{\"./marker\":171,underscore:92}],174:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./marker\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c;for(h=i.sx,c=i.sy,u=i.size,n=i.angle,l=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(h[r]+c[r]+u[r]+n[r])||(t.beginPath(),t.translate(h[r],c[r]),n[r]&&t.rotate(n[r]),t.rect(-u[r]/2,-u[r]/2,u[r],u[r]),n[r]&&t.rotate(-n[r]),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,r),t.fill()),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),t.stroke(),a=u[r]/2,n[r]&&t.rotate(n[r]),t.moveTo(-a,a),t.lineTo(a,-a),t.moveTo(-a,-a),t.lineTo(a,a),n[r]&&t.rotate(-n[r]),t.stroke()),l.push(t.translate(-h[r],-c[r])));return l},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"SquareX\",e}(n.Model),e.exports={Model:r,View:s}},{\"./marker\":171,underscore:92}],175:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./marker\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d;for(p=i.sx,d=i.sy,c=i.size,r=i.angle,h=[],a=0,l=e.length;l>a;a++)o=e[a],isNaN(p[o]+d[o]+c[o]+r[o])||(n=c[o]*Math.sqrt(3)/6,u=c[o]/2,s=c[o]*Math.sqrt(3)/2,t.beginPath(),t.translate(p[o],d[o]),r[o]&&t.rotate(r[o]),t.moveTo(-u,n),t.lineTo(u,n),t.lineTo(0,n-s),r[o]&&t.rotate(-r[o]),t.translate(-p[o],-d[o]),t.closePath(),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,o),t.fill()),this.visuals.line.do_stroke?(this.visuals.line.set_vectorize(t,o),\n",
       "        h.push(t.stroke())):h.push(void 0));return h},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"Triangle\",e}(n.Model),e.exports={Model:r,View:s}},{\"./marker\":171,underscore:92}],176:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./marker\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c;for(h=i.sx,c=i.sy,u=i.size,n=i.angle,l=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(h[r]+c[r]+u[r]+n[r])||(a=u[r]/2,t.beginPath(),t.translate(h[r],c[r]),n[r]&&t.rotate(n[r]),t.moveTo(-a,a),t.lineTo(a,-a),t.moveTo(-a,-a),t.lineTo(a,a),n[r]&&t.rotate(-n[r]),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,r),t.stroke()),l.push(t.translate(-h[r],-c[r])));return l},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"X\",e.prototype.props=[\"line\"],e}(n.Model),e.exports={Model:r,View:s}},{\"./marker\":171,underscore:92}],177:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),a=t(\"rbush\"),n=t(\"./glyph\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._index_data=function(){var t,e,i,n,r,s,l,u,h;for(e=a(),n=[],t=i=0,r=this.xs.length;r>=0?r>i:i>r;t=r>=0?++i:--i)l=function(){var e,i,n,r;for(n=this.xs[t],r=[],e=0,i=n.length;i>e;e++)s=n[e],o.isNaN(s)||r.push(s);return r}.call(this),h=function(){var e,i,n,r;for(n=this.ys[t],r=[],e=0,i=n.length;i>e;e++)u=n[e],o.isNaN(u)||r.push(u);return r}.call(this),0!==l.length&&n.push([o.min(l),o.min(h),o.max(l),o.max(h),{i:t}]);return e.load(n),e},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f;for(p=i.sxs,f=i.sys,h=[],s=0,a=e.length;a>s;s++){for(n=e[s],l=[p[n],f[n]],c=l[0],d=l[1],this.visuals.line.set_vectorize(t,n),r=o=0,u=c.length;u>=0?u>o:o>u;r=u>=0?++o:--o)0!==r?isNaN(c[r])||isNaN(d[r])?(t.stroke(),t.beginPath()):t.lineTo(c[r],d[r]):(t.beginPath(),t.moveTo(c[r],d[r]));h.push(t.stroke())}return h},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_line_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"MultiLine\",e.prototype.visuals=[\"line\"],e.prototype.coords=[[\"xs\",\"ys\"]],e}(n.Model),e.exports={Model:r,View:s}},{\"./glyph\":158,rbush:89,underscore:92}],178:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./glyph\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._set_data=function(){return this.max_w2=0,\"data\"===this.distances.width.units&&(this.max_w2=this.max_width/2),this.max_h2=0,\"data\"===this.distances.height.units?this.max_h2=this.max_height/2:void 0},e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){return\"data\"===this.distances.width.units?this.sw=this.sdist(this.renderer.xmapper,this.x,this.width,\"center\"):this.sw=this.width,\"data\"===this.distances.height.units?this.sh=this.sdist(this.renderer.ymapper,this.y,this.height,\"center\"):this.sh=this.height},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h;for(u=i.sx,h=i.sy,l=i.sw,a=i.sh,o=[],r=0,s=e.length;s>r;r++)n=e[r],isNaN(u[n]+h[n]+l[n]+a[n]+this.angle[n])||(t.translate(u[n],h[n]),t.rotate(this.angle[n]),t.beginPath(),t.moveTo(0,-a[n]/2),t.bezierCurveTo(l[n]/2,-a[n]/2,l[n]/2,a[n]/2,0,a[n]/2),t.bezierCurveTo(-l[n]/2,a[n]/2,-l[n]/2,-a[n]/2,0,-a[n]/2),t.closePath(),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,n),t.fill()),this.visuals.line.do_stroke&&(this.visuals.line.set_vectorize(t,n),t.stroke()),t.rotate(-this.angle[n]),o.push(t.translate(-u[n],-h[n])));return o},e.prototype.draw_legend=function(t,e,i,n,r){var s,o,a,l,u,h,c,p,d;return l=null!=(a=this.get_reference_point())?a:0,o=[l],p={},p[l]=(e+i)/2,d={},d[l]=(n+r)/2,u=this.sw[l]/this.sh[l],s=.8*Math.min(Math.abs(i-e),Math.abs(r-n)),c={},h={},u>1?(c[l]=s,h[l]=s/u):(c[l]=s*u,h[l]=s),this._render(t,o,p,d,c,h)},e.prototype._bounds=function(t){return[[t[0][0]-this.max_w2,t[0][1]+this.max_w2],[t[1][0]-this.max_h2,t[1][1]+this.max_h2]]},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"Oval\",e.prototype.distances=[\"width\",\"height\"],e.prototype.angles=[\"angle\"],e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{angle:0})},e}(n.Model),e.exports={Model:r,View:s}},{\"./glyph\":158,underscore:92}],179:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./glyph\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u;if(l=i.sx,u=i.sy,this.visuals.fill.do_fill){for(this.visuals.fill.set_value(t),r=0,o=e.length;o>r;r++)n=e[r],0!==n?isNaN(l[n]+u[n])?(t.closePath(),t.fill(),t.beginPath()):t.lineTo(l[n],u[n]):(t.beginPath(),t.moveTo(l[n],u[n]));t.closePath(),t.fill()}if(this.visuals.line.do_stroke){for(this.visuals.line.set_value(t),s=0,a=e.length;a>s;s++)n=e[s],0!==n?isNaN(l[n]+u[n])?(t.closePath(),t.stroke(),t.beginPath()):t.lineTo(l[n],u[n]):(t.beginPath(),t.moveTo(l[n],u[n]));return t.closePath(),t.stroke()}},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_area_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"Patch\",e}(n.Model),e.exports={Model:r,View:s}},{\"./glyph\":158,underscore:92}],180:[function(t,e,i){var n,r,s,o,a,l,u=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;o=t(\"underscore\"),n=t(\"./glyph\"),l=t(\"rbush\"),a=t(\"../../common/hittest\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._build_discontinuous_object=function(t){var e,i,n,r,s,a,l,u,h;for(i={},n=r=0,h=t.length;h>=0?h>r:r>h;n=h>=0?++r:--r)for(i[n]=[],l=o.toArray(t[n]);l.length>0;)s=o.findLastIndex(l,function(t){return o.isNaN(t)}),s>=0?u=l.splice(s):(u=l,l=[]),e=function(){var t,e,i;for(i=[],t=0,e=u.length;e>t;t++)a=u[t],o.isNaN(a)||i.push(a);return i}(),i[n].push(e);return i},e.prototype._index_data=function(){var t,e,i,n,r,s,a,u,h,c,p,d;for(e=l(),s=[],c=this._build_discontinuous_object(this.xs),d=this._build_discontinuous_object(this.ys),t=n=0,a=this.xs.length;a>=0?a>n:n>a;t=a>=0?++n:--n)for(i=r=0,u=c[t].length;u>=0?u>r:r>u;i=u>=0?++r:--r)h=c[t][i],p=d[t][i],0!==h.length&&s.push([o.min(h),o.min(p),o.max(h),o.max(p),{i:t}]);return e.load(s),e},e.prototype._mask_data=function(t){var e,i,n,r,s,o,a,l,u;return o=this.renderer.plot_view.x_range,e=[o.get(\"min\"),o.get(\"max\")],r=e[0],s=e[1],u=this.renderer.plot_view.y_range,i=[u.get(\"min\"),u.get(\"max\")],a=i[0],l=i[1],function(){var t,e,i,o;for(i=this.index.search([r,a,s,l]),o=[],t=0,e=i.length;e>t;t++)n=i[t],o.push(n[4].i);return o}.call(this)},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m;for(f=i.sxs,m=i.sys,this.sxss=this._build_discontinuous_object(f),this.syss=this._build_discontinuous_object(m),p=[],s=0,a=e.length;a>s;s++){if(n=e[s],u=[f[n],m[n]],d=u[0],g=u[1],this.visuals.fill.do_fill){for(this.visuals.fill.set_vectorize(t,n),r=o=0,h=d.length;h>=0?h>o:o>h;r=h>=0?++o:--o)0!==r?isNaN(d[r]+g[r])?(t.closePath(),t.fill(),t.beginPath()):t.lineTo(d[r],g[r]):(t.beginPath(),t.moveTo(d[r],g[r]));t.closePath(),t.fill()}if(this.visuals.line.do_stroke){for(this.visuals.line.set_vectorize(t,n),r=l=0,c=d.length;c>=0?c>l:l>c;r=c>=0?++l:--l)0!==r?isNaN(d[r]+g[r])?(t.closePath(),t.stroke(),t.beginPath()):t.lineTo(d[r],g[r]):(t.beginPath(),t.moveTo(d[r],g[r]));t.closePath(),p.push(t.stroke())}else p.push(void 0)}return p},e.prototype._hit_point=function(t){var e,i,n,r,s,o,l,u,h,c,p,d,f,g,m,_,v,y,b;for(u=[t.vx,t.vy],_=u[0],v=u[1],d=this.renderer.plot_view.canvas.vx_to_sx(_),g=this.renderer.plot_view.canvas.vy_to_sy(v),y=this.renderer.xmapper.map_from_target(_,!0),b=this.renderer.ymapper.map_from_target(v,!0),e=function(){var t,e,i,n;for(i=this.index.search([y,b,y,b]),n=[],t=0,e=i.length;e>t;t++)y=i[t],n.push(y[4].i);return n}.call(this),i=[],n=o=0,h=e.length;h>=0?h>o:o>h;n=h>=0?++o:--o)for(r=e[n],f=this.sxss[r],m=this.syss[r],s=l=0,c=f.length;c>=0?c>l:l>c;s=c>=0?++l:--l)a.point_in_poly(d,g,f[s],m[s])&&i.push(r);return p=a.create_hit_test_result(),p[\"1d\"].indices=i,p},e.prototype._get_snap_coord=function(t){var e,i,n,r;for(r=0,e=0,i=t.length;i>e;e++)n=t[e],r+=n;return r/t.length},e.prototype.scx=function(t,e,i){var n,r,s,o,l;if(1===this.sxss[t].length)return this._get_snap_coord(this.sxs[t]);for(o=this.sxss[t],l=this.syss[t],n=r=0,s=o.length;s>=0?s>r:r>s;n=s>=0?++r:--r)if(a.point_in_poly(e,i,o[n],l[n]))return this._get_snap_coord(o[n]);return null},e.prototype.scy=function(t,e,i){var n,r,s,o,l;if(1===this.syss[t].length)return this._get_snap_coord(this.sys[t]);for(o=this.sxss[t],l=this.syss[t],n=r=0,s=o.length;s>=0?s>r:r>s;n=s>=0?++r:--r)if(a.point_in_poly(e,i,o[n],l[n]))return this._get_snap_coord(l[n])},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_area_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=s,e.prototype.type=\"Patches\",e.prototype.coords=[[\"xs\",\"ys\"]],e}(n.Model),e.exports={Model:r,View:s}},{\"../../common/hittest\":116,\"./glyph\":158,rbush:89,underscore:92}],181:[function(t,e,i){var n,r,s,o,a,l,u=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;o=t(\"underscore\"),l=t(\"rbush\"),n=t(\"./glyph\"),a=t(\"../../common/hittest\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._index_data=function(){var t,e,i,n,r;for(e=l(),n=[],t=i=0,r=this.left.length;r>=0?r>i:i>r;t=r>=0?++i:--i)isNaN(this.left[t]+this.right[t]+this.top[t]+this.bottom[t])||n.push([this.left[t],this.bottom[t],this.right[t],this.top[t],{i:t}]);return e.load(n),e},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h;for(l=i.sleft,u=i.sright,h=i.stop,a=i.sbottom,o=[],r=0,s=e.length;s>r;r++)n=e[r],isNaN(l[n]+h[n]+u[n]+a[n])||(this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,n),t.fillRect(l[n],h[n],u[n]-l[n],a[n]-h[n])),this.visuals.line.do_stroke?(t.beginPath(),t.rect(l[n],h[n],u[n]-l[n],a[n]-h[n]),this.visuals.line.set_vectorize(t,n),o.push(t.stroke())):o.push(void 0));return o},e.prototype._hit_point=function(t){var e,i,n,r,s,o,l;return i=[t.vx,t.vy],r=i[0],s=i[1],o=this.renderer.xmapper.map_from_target(r,!0),l=this.renderer.ymapper.map_from_target(s,!0),e=function(){var t,e,i,n;for(i=this.index.search([o,l,o,l]),n=[],t=0,e=i.length;e>t;t++)o=i[t],n.push(o[4].i);return n}.call(this),n=a.create_hit_test_result(),n[\"1d\"].indices=e,n},e.prototype.scx=function(t){return(this.sleft[t]+this.sright[t])/2},e.prototype.scy=function(t){return(this.stop[t]+this.sbottom[t])/2},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_area_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=s,e.prototype.type=\"Quad\",e.prototype.coords=[[\"right\",\"bottom\"],[\"left\",\"top\"]],e}(n.Model),e.exports={Model:r,View:s}},{\"../../common/hittest\":116,\"./glyph\":158,rbush:89,underscore:92}],182:[function(t,e,i){var n,r,s,o,a,l,u=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;o=t(\"underscore\"),l=t(\"rbush\"),n=t(\"./glyph\"),a=function(t,e,i){var n,r;return e===(t+i)/2?[t,i]:(r=(t-e)/(t-2*e+i),n=t*Math.pow(1-r,2)+2*e*(1-r)*r+i*Math.pow(r,2),[Math.min(t,i,n),Math.max(t,i,n)])},s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._index_data=function(){var t,e,i,n,r,s,o,u,h,c,p;for(e=l(),n=[],t=i=0,r=this.x0.length;r>=0?r>i:i>r;t=r>=0?++i:--i)isNaN(this.x0[t]+this.x1[t]+this.y0[t]+this.y1[t]+this.cx[t]+this.cy[t])||(s=a(this.x0[t],this.cx[t],this.x1[t]),u=s[0],h=s[1],o=a(this.y0[t],this.cy[t],this.y1[t]),c=o[0],p=o[1],n.push([u,c,h,p,{i:t}]));return e.load(n),e},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p;if(u=i.sx0,c=i.sy0,h=i.sx1,p=i.sy1,a=i.scx,l=i.scy,this.visuals.line.do_stroke){for(o=[],r=0,s=e.length;s>r;r++)n=e[r],isNaN(u[n]+c[n]+h[n]+p[n]+a[n]+l[n])||(t.beginPath(),t.moveTo(u[n],c[n]),t.quadraticCurveTo(a[n],l[n],h[n],p[n]),this.visuals.line.set_vectorize(t,n),o.push(t.stroke()));return o}},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_line_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=s,e.prototype.type=\"Quadratic\",e.prototype.visuals=[\"line\"],e.prototype.coords=[[\"x0\",\"y0\"],[\"x1\",\"y1\"],[\"cx\",\"cy\"]],e}(n.Model),e.exports={Model:r,View:s}},{\"./glyph\":158,rbush:89,underscore:92}],183:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./glyph\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){return this.slength=this.sdist(this.renderer.xmapper,this.x,this.length)},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g;if(d=i.sx,f=i.sy,p=i.slength,n=i.angle,this.visuals.line.do_stroke){for(g=this.renderer.plot_view.frame.get(\"width\"),r=this.renderer.plot_view.frame.get(\"height\"),o=2*(g+r),s=a=0,h=p.length;h>=0?h>a:a>h;s=h>=0?++a:--a)0===p[s]&&(p[s]=o);for(c=[],l=0,u=e.length;u>l;l++)s=e[l],isNaN(d[s]+f[s]+n[s]+p[s])||(t.translate(d[s],f[s]),t.rotate(n[s]),t.beginPath(),t.moveTo(0,0),t.lineTo(p[s],0),this.visuals.line.set_vectorize(t,s),t.stroke(),t.rotate(-n[s]),c.push(t.translate(-d[s],-f[s])));return c}},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_line_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"Ray\",e.prototype.visuals=[\"line\"],e.prototype.distances=[\"length\"],e.prototype.angles=[\"angle\"],e}(n.Model),e.exports={Model:r,View:s}},{\"./glyph\":158,underscore:92}],184:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),n=t(\"./glyph\"),a=t(\"../../common/hittest\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._set_data=function(){return this.max_w2=0,\"data\"===this.distances.width.units&&(this.max_w2=this.max_width/2),this.max_h2=0,\"data\"===this.distances.height.units?this.max_h2=this.max_height/2:void 0},e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){return\"data\"===this.distances.width.units?this.sw=this.sdist(this.renderer.xmapper,this.x,this.width,\"center\",this.mget(\"dilate\")):this.sw=this.width,\"data\"===this.distances.height.units?this.sh=this.sdist(this.renderer.ymapper,this.y,this.height,\"center\",this.mget(\"dilate\")):this.sh=this.height},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p;if(c=i.sx,p=i.sy,h=i.sw,u=i.sh,n=i.angle,this.visuals.fill.do_fill)for(s=0,a=e.length;a>s;s++)r=e[s],isNaN(c[r]+p[r]+h[r]+u[r]+n[r])||(this.visuals.fill.set_vectorize(t,r),n[r]?(t.translate(c[r],p[r]),t.rotate(n[r]),t.fillRect(-h[r]/2,-u[r]/2,h[r],u[r]),t.rotate(-n[r]),t.translate(-c[r],-p[r])):t.fillRect(c[r]-h[r]/2,p[r]-u[r]/2,h[r],u[r]));if(this.visuals.line.do_stroke){for(t.beginPath(),o=0,l=e.length;l>o;o++)r=e[o],isNaN(c[r]+p[r]+h[r]+u[r]+n[r])||0!==h[r]&&0!==u[r]&&(n[r]?(t.translate(c[r],p[r]),t.rotate(n[r]),t.rect(-h[r]/2,-u[r]/2,h[r],u[r]),t.rotate(-n[r]),t.translate(-c[r],-p[r])):t.rect(c[r]-h[r]/2,p[r]-u[r]/2,h[r],u[r]),this.visuals.line.set_vectorize(t,r),t.stroke(),t.beginPath());return t.stroke()}},e.prototype._hit_rect=function(t){var e,i,n,r,s,o,l,u;return e=this.renderer.xmapper.v_map_from_target([t.vx0,t.vx1],!0),s=e[0],o=e[1],i=this.renderer.ymapper.v_map_from_target([t.vy0,t.vy1],!0),l=i[0],u=i[1],n=a.create_hit_test_result(),n[\"1d\"].indices=function(){var t,e,i,n;for(i=this.index.search([s,l,o,u]),n=[],t=0,e=i.length;e>t;t++)r=i[t],n.push(r[4].i);return n}.call(this),n},e.prototype._hit_point=function(t){var e,i,n,r,s,o,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I;for(p=[t.vx,t.vy],b=p[0],k=p[1],T=this.renderer.xmapper.map_from_target(b,!0),P=this.renderer.ymapper.map_from_target(k,!0),\"screen\"===this.distances.width.units?(w=b-2*this.max_width,x=b+2*this.max_width,d=this.renderer.xmapper.v_map_from_target([w,x],!0),S=d[0],A=d[1]):(S=T-2*this.max_width,A=T+2*this.max_width),\"screen\"===this.distances.height.units?(M=k-2*this.max_height,C=k+2*this.max_height,f=this.renderer.ymapper.v_map_from_target([M,C],!0),E=f[0],I=f[1]):(E=P-2*this.max_height,I=P+2*this.max_height),r=[],g=function(){var t,e,i,n;for(i=this.index.search([S,E,A,I]),n=[],t=0,e=i.length;e>t;t++)u=i[t],n.push(u[4].i);return n}.call(this),o=0,l=g.length;l>o;o++)s=g[o],v=this.renderer.plot_view.canvas.vx_to_sx(b),y=this.renderer.plot_view.canvas.vy_to_sy(k),this.angle[s]&&(i=Math.sqrt(Math.pow(v-this.sx[s],2)+Math.pow(y-this.sy[s],2)),_=Math.sin(-this.angle[s]),e=Math.cos(-this.angle[s]),h=e*(v-this.sx[s])-_*(y-this.sy[s])+this.sx[s],c=_*(v-this.sx[s])+e*(y-this.sy[s])+this.sy[s],v=h,y=c),D=Math.abs(this.sx[s]-v)<=this.sw[s]/2,n=Math.abs(this.sy[s]-y)<=this.sh[s]/2,n&&D&&r.push(s);return m=a.create_hit_test_result(),m[\"1d\"].indices=r,m},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_area_legend(t,e,i,n,r)},e.prototype._bounds=function(t){return[[t[0][0]-this.max_w2,t[0][1]+this.max_w2],[t[1][0]-this.max_h2,t[1][1]+this.max_h2]]},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"Rect\",e.prototype.distances=[\"width\",\"height\"],e.prototype.angles=[\"angle\"],e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{angle:0,dilate:!1})},e}(n.Model),e.exports={Model:r,View:s}},{\"../../common/hittest\":116,\"./glyph\":158,underscore:92}],185:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),a=t(\"rbush\"),n=t(\"./glyph\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._index_data=function(){var t,e,i,n,r;for(e=a(),n=[],t=i=0,r=this.x0.length;r>=0?r>i:i>r;t=r>=0?++i:--i)isNaN(this.x0[t]+this.x1[t]+this.y0[t]+this.y1[t])||n.push([this.x0[t],this.y0[t],this.x1[t],this.y1[t],{i:t}]);return e.load(n),e},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h;if(a=i.sx0,u=i.sy0,l=i.sx1,h=i.sy1,this.visuals.line.do_stroke){for(o=[],r=0,s=e.length;s>r;r++)n=e[r],isNaN(a[n]+u[n]+l[n]+h[n])||(t.beginPath(),t.moveTo(a[n],u[n]),t.lineTo(l[n],h[n]),this.visuals.line.set_vectorize(t,n),o.push(t.stroke()));return o}},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_line_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"Segment\",e.prototype.visuals=[\"line\"],e.prototype.coords=[[\"x0\",\"y0\"],[\"x1\",\"y1\"]],e}(n.Model),e.exports={Model:r,View:s}},{\"./glyph\":158,rbush:89,underscore:92}],186:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),n=t(\"./glyph\"),a=t(\"../../common/properties\"),s=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.text_props=new a.Text({obj:this.model,prefix:\"\"})},e.prototype._index_data=function(){return this._xy_index()},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p;for(l=i.sx,u=i.sy,c=i.x_offset,p=i.y_offset,n=i.angle,h=i.text,a=[],s=0,o=e.length;o>s;s++)r=e[s],isNaN(l[r]+u[r]+c[r]+p[r]+n[r])||null==h[r]||(t.save(),t.translate(l[r]+c[r],u[r]+p[r]),t.rotate(n[r]),this.visuals.text.set_vectorize(t,r),t.fillText(h[r],0,0),a.push(t.restore()));return a},e.prototype.draw_legend=function(t,e,i,n,r){return t.save(),this.text_props.set_value(t),t.font=this.text_props.font_value(),t.font=t.font.replace(/\\b[\\d\\.]+[\\w]+\\b/,\"10pt\"),t.textAlign=\"right\",t.textBaseline=\"middle\",t.fillText(\"text\",i,(n+r)/2),t.restore()},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"Text\",e.prototype.visuals=[\"text\"],e.prototype.distances=[\"x_offset\",\"y_offset\"],e.prototype.angles=[\"angle\"],e.prototype.fields=[\"text:string\"],e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{angle:0,x_offset:0,y_offset:0})},e}(n.Model),e.exports={Model:r,View:s}},{\"../../common/properties\":126,\"./glyph\":158,underscore:92}],187:[function(t,e,i){var n,r,s,o,a,l,u=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;o=t(\"underscore\"),l=t(\"../../common/mathutils\"),n=t(\"./glyph\"),a=t(\"../../common/hittest\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._index_data=function(){return this._xy_index()},e.prototype._map_data=function(){return\"data\"===this.distances.radius.units?this.sradius=this.sdist(this.renderer.xmapper,this.x,this.radius):this.sradius=this.radius},e.prototype._render=function(t,e,i){var n,r,s,o,a,l,u,h,c,p;for(c=i.sx,p=i.sy,u=i.sradius,h=i.start_angle,r=i.end_angle,n=i.direction,l=[],o=0,a=e.length;a>o;o++)s=e[o],isNaN(c[s]+p[s]+u[s]+h[s]+r[s]+n[s])||(t.beginPath(),t.arc(c[s],p[s],u[s],h[s],r[s],n[s]),t.lineTo(c[s],p[s]),t.closePath(),this.visuals.fill.do_fill&&(this.visuals.fill.set_vectorize(t,s),t.fill()),this.visuals.line.do_stroke?(this.visuals.line.set_vectorize(t,s),l.push(t.stroke())):l.push(void 0));return l},e.prototype._hit_point=function(t){var e,i,n,r,s,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j,O,F;for(g=[t.vx,t.vy],T=g[0],P=g[1],N=this.renderer.xmapper.map_from_target(T,!0),j=this.renderer.ymapper.map_from_target(P,!0),\"data\"===this.distances.radius.units?(R=N-this.max_radius,z=N+this.max_radius,O=j-this.max_radius,F=j+this.max_radius):(S=T-this.max_radius,A=T+this.max_radius,m=this.renderer.xmapper.v_map_from_target([S,A],!0),R=m[0],z=m[1],E=P-this.max_radius,I=P+this.max_radius,_=this.renderer.ymapper.v_map_from_target([E,I],!0),O=_[0],F=_[1]),i=[],v=function(){var t,e,i,n;for(i=this.index.search([R,O,z,F]),n=[],t=0,e=i.length;e>t;t++)d=i[t],n.push(d[4].i);return n}.call(this),u=0,c=v.length;c>u;u++)s=v[u],f=Math.pow(this.sradius[s],2),x=this.renderer.xmapper.map_to_target(N,!0),k=this.renderer.xmapper.map_to_target(this.x[s],!0),C=this.renderer.ymapper.map_to_target(j,!0),D=this.renderer.ymapper.map_to_target(this.y[s],!0),n=Math.pow(x-k,2)+Math.pow(C-D,2),f>=n&&i.push([s,n]);for(r=[],h=0,p=i.length;p>h;h++)y=i[h],s=y[0],n=y[1],w=this.renderer.plot_view.canvas.vx_to_sx(T),M=this.renderer.plot_view.canvas.vy_to_sy(P),e=Math.atan2(M-this.sy[s],w-this.sx[s]),l.angle_between(-e,-this.start_angle[s],-this.end_angle[s],this.direction[s])&&r.push([s,n]);return b=a.create_hit_test_result(),b[\"1d\"].indices=o.chain(r).sortBy(function(t){return t[1]}).map(function(t){return t[0]}).value(),b},e.prototype.draw_legend=function(t,e,i,n,r){return this._generic_area_legend(t,e,i,n,r)},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=s,e.prototype.type=\"Wedge\",e.prototype.distances=[\"radius\"],e.prototype.angles=[\"start_angle\",\"end_angle\"],e.prototype.fields=[\"direction:direction\"],e.prototype.display_defaults=function(){return o.extend({},e.__super__.display_defaults.call(this),{direction:\"anticlock\"})},e}(n.Model),e.exports={Model:r,View:s}},{\"../../common/hittest\":116,\"../../common/mathutils\":120,\"./glyph\":158,underscore:92}],188:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C=function(t,e){function i(){this.constructor=t}for(var n in e)D.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},D={}.hasOwnProperty;f=t(\"underscore\"),w=null!=i._bokehTest?i._bokehTest.kiwi:t(\"kiwi\"),l=t(\"../../common/has_parent\"),h=t(\"../../common/layout_box\"),x=t(\"../../common/logging\").logger,p=t(\"../../common/plot_widget\"),M=t(\"../../common/properties\"),k=Math.PI/2,n=\"alphabetic\",c=\"middle\",a=\"hanging\",u=\"left\",d=\"right\",o=\"center\",v={above:{parallel:0,normal:-k,horizontal:0,vertical:-k},below:{parallel:0,normal:k,horizontal:0,vertical:k},left:{parallel:-k,normal:0,horizontal:0,vertical:-k},right:{parallel:k,normal:0,horizontal:0,vertical:k}},b={above:{parallel:n,normal:c,horizontal:n,vertical:c},below:{parallel:a,normal:c,horizontal:a,vertical:c},left:{parallel:n,normal:c,horizontal:c,vertical:n},right:{parallel:n,normal:c,horizontal:c,vertical:n}},g={above:{parallel:o,normal:u,horizontal:o,vertical:u},below:{parallel:o,normal:u,horizontal:o,vertical:d},left:{parallel:o,normal:d,horizontal:d,vertical:o},right:{parallel:o,normal:u,horizontal:u,vertical:o}},m={above:d,below:u,left:d,right:u},_={above:u,below:d,left:d,right:u},y=function(t,e,i){var n,r;return f.isString(i)?(r=b[e][i],n=g[e][i]):0===i?(r=b[e][i],n=g[e][i]):0>i?(r=\"middle\",n=m[e]):i>0&&(r=\"middle\",n=_[e]),t.textBaseline=r,t.textAlign=n},s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return C(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.rule_props=new M.Line({obj:this.model,prefix:\"axis_\"}),this.major_tick_props=new M.Line({obj:this.model,prefix:\"major_tick_\"}),this.minor_tick_props=new M.Line({obj:this.model,prefix:\"minor_tick_\"}),this.major_label_props=new M.Text({obj:this.model,prefix:\"major_label_\"}),this.axis_label_props=new M.Text({obj:this.model,prefix:\"axis_label_\"}),this.x_range_name=this.mget(\"x_range_name\"),this.y_range_name=this.mget(\"y_range_name\")},e.prototype.render=function(){var t;if(this.mget(\"visible\"))return t=this.plot_view.canvas_view.ctx,t.save(),this._draw_rule(t),this._draw_major_ticks(t),this._draw_minor_ticks(t),this._draw_major_labels(t),this._draw_axis_label(t),t.restore()},e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,\"change\",this.plot_view.request_render)},e.prototype._draw_rule=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m;if(this.rule_props.do_stroke){for(o=e=this.mget(\"rule_coords\"),d=o[0],g=o[1],a=this.plot_view.map_to_screen(d,g,this.x_range_name,this.y_range_name),c=a[0],p=a[1],l=this.mget(\"normals\"),r=l[0],s=l[1],u=this.mget(\"offsets\"),f=u[0],m=u[1],this.rule_props.set_value(t),t.beginPath(),t.moveTo(Math.round(c[0]+r*f),Math.round(p[0]+s*m)),i=n=1,h=c.length;h>=1?h>n:n>h;i=h>=1?++n:--n)t.lineTo(Math.round(c[i]+r*f),Math.round(p[i]+s*m));return t.stroke()}},e.prototype._draw_major_ticks=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y;if(this.major_tick_props.do_stroke){for(e=this.mget(\"tick_coords\"),o=e.major,m=o[0],v=o[1],a=this.plot_view.map_to_screen(m,v,this.x_range_name,this.y_range_name),p=a[0],d=a[1],l=this.mget(\"normals\"),r=l[0],s=l[1],u=this.mget(\"offsets\"),_=u[0],y=u[1],f=this.mget(\"major_tick_in\"),g=this.mget(\"major_tick_out\"),this.major_tick_props.set_value(t),c=[],i=n=0,h=p.length;h>=0?h>n:n>h;i=h>=0?++n:--n)t.beginPath(),t.moveTo(Math.round(p[i]+r*g+r*_),Math.round(d[i]+s*g+s*y)),t.lineTo(Math.round(p[i]-r*f+r*_),Math.round(d[i]-s*f+s*y)),c.push(t.stroke());return c}},e.prototype._draw_minor_ticks=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y;if(this.minor_tick_props.do_stroke){for(e=this.mget(\"tick_coords\"),o=e.minor,m=o[0],v=o[1],a=this.plot_view.map_to_screen(m,v,this.x_range_name,this.y_range_name),p=a[0],d=a[1],l=this.mget(\"normals\"),r=l[0],s=l[1],u=this.mget(\"offsets\"),_=u[0],y=u[1],f=this.mget(\"minor_tick_in\"),g=this.mget(\"minor_tick_out\"),this.minor_tick_props.set_value(t),c=[],i=n=0,h=p.length;h>=0?h>n:n>h;i=h>=0?++n:--n)t.beginPath(),t.moveTo(Math.round(p[i]+r*g+r*_),Math.round(d[i]+s*g+s*y)),t.lineTo(Math.round(p[i]-r*f+r*_),Math.round(d[i]-s*f+s*y)),c.push(t.stroke());return c}},e.prototype._draw_major_labels=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,g,m,_,b,w,x,k,M,C,D;for(i=this.mget(\"tick_coords\"),h=i.major,k=h[0],C=h[1],c=this.plot_view.map_to_screen(k,C,this.x_range_name,this.y_range_name),w=c[0],x=c[1],p=this.mget(\"normals\"),a=p[0],l=p[1],d=this.mget(\"offsets\"),M=d[0],D=d[1],n=this.mget(\"dimension\"),_=this.mget(\"location\"),u=this.mget(\"major_label_orientation\"),e=f.isString(u)?v[_][u]:-u,b=this.model._tick_extent(this)+this.mget(\"major_label_standoff\"),o=this.mget(\"formatter\").format(i.major[n]),this.major_label_props.set_value(t),y(t,_,u),m=[],r=s=0,g=w.length;g>=0?g>s:s>g;r=g>=0?++s:--s)e?(t.translate(w[r]+a*b+a*M,x[r]+l*b+l*D),t.rotate(e),t.fillText(o[r],0,0),t.rotate(-e),m.push(t.translate(-w[r]-a*b+a*M,-x[r]-l*b+l*D))):m.push(t.fillText(o[r],Math.round(w[r]+a*b+a*M),Math.round(x[r]+l*b+l*D)));return m},e.prototype._draw_axis_label=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_;return i=this.mget(\"axis_label\"),null!=i?(o=this.mget(\"rule_coords\"),f=o[0],m=o[1],a=this.plot_view.map_to_screen(f,m,this.x_range_name,this.y_range_name),p=a[0],d=a[1],l=this.mget(\"normals\"),n=l[0],r=l[1],u=this.mget(\"offsets\"),g=u[0],_=u[1],h=this.mget(\"location\"),s=\"parallel\",e=v[h][s],c=this.model._tick_extent(this)+this.model._tick_label_extent(this)+this.mget(\"axis_label_standoff\"),p=(p[0]+p[p.length-1])/2,d=(d[0]+d[d.length-1])/2,this.axis_label_props.set_value(t),y(t,h,s),e?(t.translate(p+n*c+n*g,d+r*c+r*_),t.rotate(e),t.fillText(i,0,0),t.rotate(-e),t.translate(-p-n*c+n*g,-d-r*c+r*_)):t.fillText(i,p+n*c+n*g,d+r*c+r*_)):void 0},e}(p),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return C(e,t),e.prototype.default_view=s,e.prototype.type=\"Axis\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property(\"computed_bounds\",this._computed_bounds,!1),this.add_dependencies(\"computed_bounds\",this,[\"bounds\"]),this.add_dependencies(\"computed_bounds\",this.get(\"plot\"),[\"x_range\",\"y_range\"]),\n",
       "        this.register_property(\"rule_coords\",this._rule_coords,!1),this.add_dependencies(\"rule_coords\",this,[\"computed_bounds\",\"side\"]),this.register_property(\"tick_coords\",this._tick_coords,!1),this.add_dependencies(\"tick_coords\",this,[\"computed_bounds\",\"location\"]),this.register_property(\"ranges\",this._ranges,!0),this.register_property(\"normals\",function(){return this._normals},!0),this.register_property(\"dimension\",function(){return this._dim},!0),this.register_property(\"offsets\",this._offsets,!0)},e.prototype.initialize_layout=function(t){var e,i;return e=new h.Model({solver:t}),this.panel=e,this._top=e._top,this._bottom=e._bottom,this._left=e._left,this._right=e._right,this._width=e._width,this._height=e._height,i=this.get(\"location\"),\"above\"===i?(this._dim=0,this._normals=[0,-1],this._size=e._height,this._anchor=e._bottom):\"below\"===i?(this._dim=0,this._normals=[0,1],this._size=e._height,this._anchor=e._top):\"left\"===i?(this._dim=1,this._normals=[-1,0],this._size=e._width,this._anchor=e._right):\"right\"===i?(this._dim=1,this._normals=[1,0],this._size=e._width,this._anchor=e._left):x.error(\"unrecognized side: '\"+i+\"'\")},e.prototype.update_layout=function(t,e){var i;return i=this.get(\"visible\")?this._tick_extent(t)+this._tick_label_extent(t)+this._axis_label_extent(t):0,null==this._last_size&&(this._last_size=-1),i!==this._last_size?(this._last_size=i,null!=this._size_constraint&&e.remove_constraint(this._size_constraint),this._size_constraint=new w.Constraint(new w.Expression(this._size,-i),w.Operator.Eq),e.add_constraint(this._size_constraint)):void 0},e.prototype._offsets=function(){var t,e,i,n,r;return i=this.get(\"location\"),e=[0,0],n=e[0],r=e[1],t=this.get(\"plot\").get(\"frame\"),\"below\"===i?r=Math.abs(this.panel.get(\"top\")-t.get(\"bottom\")):\"above\"===i?r=Math.abs(this.panel.get(\"bottom\")-t.get(\"top\")):\"right\"===i?n=Math.abs(this.panel.get(\"left\")-t.get(\"right\")):\"left\"===i&&(n=Math.abs(this.panel.get(\"right\")-t.get(\"left\"))),[n,r]},e.prototype._ranges=function(){var t,e,i,n;return e=this.get(\"dimension\"),i=(e+1)%2,t=this.get(\"plot\").get(\"frame\"),n=[t.get(\"x_ranges\")[this.get(\"x_range_name\")],t.get(\"y_ranges\")[this.get(\"y_range_name\")]],[n[e],n[i]]},e.prototype._computed_bounds=function(){var t,e,i,n,r,s,o,a;return r=this.get(\"ranges\"),i=r[0],t=r[1],a=null!=(s=this.get(\"bounds\"))?s:\"auto\",n=[i.get(\"min\"),i.get(\"max\")],\"auto\"===a?n:f.isArray(a)?(Math.abs(a[0]-a[1])>Math.abs(n[0]-n[1])?(o=Math.max(Math.min(a[0],a[1]),n[0]),e=Math.min(Math.max(a[0],a[1]),n[1])):(o=Math.min(a[0],a[1]),e=Math.max(a[0],a[1])),[o,e]):(x.error(\"user bounds '\"+a+\"' not understood\"),null)},e.prototype._rule_coords=function(){var t,e,i,n,r,s,o,a,l,u,h,c;return n=this.get(\"dimension\"),r=(n+1)%2,a=this.get(\"ranges\"),o=a[0],e=a[1],l=this.get(\"computed_bounds\"),u=l[0],i=l[1],h=new Array(2),c=new Array(2),t=[h,c],s=this._get_loc(e),t[n][0]=Math.max(u,o.get(\"min\")),t[n][1]=Math.min(i,o.get(\"max\")),t[n][0]>t[n][1]&&(t[n][0]=t[n][1]=NaN),t[r][0]=s,t[r][1]=s,t},e.prototype._tick_coords=function(){var t,e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T;if(n=this.get(\"dimension\"),s=(n+1)%2,v=this.get(\"ranges\"),g=v[0],e=v[1],y=this.get(\"computed_bounds\"),M=y[0],i=y[1],C=this.get(\"ticker\").get_ticks(M,i,g,{}),h=C.major,f=C.minor,l=this._get_loc(e),D=[],T=[],t=[D,T],p=[],d=[],c=[p,d],\"FactorRange\"===g.type)for(r=o=0,b=h.length;b>=0?b>o:o>b;r=b>=0?++o:--o)t[n].push(h[r]),t[s].push(l);else{for(w=[g.get(\"min\"),g.get(\"max\")],_=w[0],m=w[1],r=a=0,x=h.length;x>=0?x>a:a>x;r=x>=0?++a:--a)h[r]<_||h[r]>m||(t[n].push(h[r]),t[s].push(l));for(r=u=0,k=f.length;k>=0?k>u:u>k;r=k>=0?++u:--u)f[r]<_||f[r]>m||(c[n].push(f[r]),c[s].push(l))}return{major:t,minor:c}},e.prototype._get_loc=function(t){var e,i,n,r;return i=t.get(\"start\"),e=t.get(\"end\"),r=this.get(\"location\"),\"left\"===r||\"below\"===r?n=\"start\":(\"right\"===r||\"above\"===r)&&(n=\"end\"),t.get(n)},e.prototype._tick_extent=function(t){return this.get(\"major_tick_out\")},e.prototype._tick_label_extent=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,g,m,_,y,b,w;for(o=0,s=this.get(\"dimension\"),r=t.plot_view.canvas_view.ctx,n=this.get(\"tick_coords\").major,_=this.get(\"location\"),d=this.get(\"major_label_orientation\"),p=this.get(\"formatter\").format(n[s]),t.major_label_props.set_value(r),f.isString(d)?(u=1,e=v[_][d]):(u=2,e=-d),e=Math.abs(e),i=Math.cos(e),m=Math.sin(e),\"above\"===_||\"below\"===_?(w=m,l=i):(w=i,l=m),h=c=0,g=p.length;g>=0?g>c:c>g;h=g>=0?++c:--c)null!=p[h]&&(b=1.1*r.measureText(p[h]).width,a=.9*r.measureText(p[h]).ascent,y=b*w+a/u*l,y>o&&(o=y));return o>0&&(o+=this.get(\"major_label_standoff\")),o},e.prototype._axis_label_extent=function(t){var e,i,n,r,s,o,a,l,u;return r=0,l=this.get(\"location\"),o=\"parallel\",n=t.plot_view.canvas_view.ctx,t.axis_label_props.set_value(n),e=Math.abs(v[l][o]),i=Math.cos(e),a=Math.sin(e),this.get(\"axis_label\")&&(r+=this.get(\"axis_label_standoff\"),t.axis_label_props.set_value(n),u=1.1*n.measureText(this.get(\"axis_label\")).width,s=.9*n.measureText(this.get(\"axis_label\")).ascent,r+=\"above\"===l||\"below\"===l?u*a+s*i:u*i+s*a),r},e.prototype.defaults=function(){return f.extend({},e.__super__.defaults.call(this),{x_range_name:\"default\",y_range_name:\"default\"})},e.prototype.display_defaults=function(){return f.extend({},e.__super__.display_defaults.call(this),{level:\"overlay\",visible:!0,axis_line_color:\"black\",axis_line_width:1,axis_line_alpha:1,axis_line_join:\"miter\",axis_line_cap:\"butt\",axis_line_dash:[],axis_line_dash_offset:0,major_tick_in:2,major_tick_out:6,major_tick_line_color:\"black\",major_tick_line_width:1,major_tick_line_alpha:1,major_tick_line_join:\"miter\",major_tick_line_cap:\"butt\",major_tick_line_dash:[],major_tick_line_dash_offset:0,minor_tick_in:0,minor_tick_out:4,minor_tick_line_color:\"black\",minor_tick_line_width:1,minor_tick_line_alpha:1,minor_tick_line_join:\"miter\",minor_tick_line_cap:\"butt\",minor_tick_line_dash:[],minor_tick_line_dash_offset:0,major_label_standoff:5,major_label_orientation:\"horizontal\",major_label_text_font:\"helvetica\",major_label_text_font_size:\"10pt\",major_label_text_font_style:\"normal\",major_label_text_color:\"#444444\",major_label_text_alpha:1,major_label_text_align:\"center\",major_label_text_baseline:\"alphabetic\",axis_label:\"\",axis_label_standoff:5,axis_label_text_font:\"helvetica\",axis_label_text_font_size:\"16pt\",axis_label_text_font_style:\"normal\",axis_label_text_color:\"#444444\",axis_label_text_alpha:1,axis_label_text_align:\"center\",axis_label_text_baseline:\"alphabetic\"})},e}(l),e.exports={Model:r,View:s}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../../common/has_parent\":114,\"../../common/layout_box\":117,\"../../common/logging\":119,\"../../common/plot_widget\":125,\"../../common/properties\":126,kiwi:303,underscore:92}],189:[function(t,e,i){var n,r,s,o,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(\"../../common/logging\").logger,n=t(\"./axis\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e}(n.View),r=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return a(i,e),i.prototype.default_view=s,i.prototype.type=\"CategoricalAxis\",i.prototype.initialize=function(e,n){var r;return i.__super__.initialize.call(this,e,n),r=t(\"../../common/base\").Collections,null==this.get(\"ticker\")&&this.set_obj(\"ticker\",r(\"CategoricalTicker\").create()),null==this.get(\"formatter\")?this.set_obj(\"formatter\",r(\"CategoricalTickFormatter\").create()):void 0},i.prototype._computed_bounds=function(){var t,e,i,n,r,s;return n=this.get(\"ranges\"),e=n[0],t=n[1],s=null!=(r=this.get(\"bounds\"))?r:\"auto\",i=[e.get(\"min\"),e.get(\"max\")],\"auto\"!==s&&o.warn(\"Categorical Axes only support user_bounds='auto', ignoring\"),i},i}(n.Model),e.exports={Model:r,View:s}},{\"../../common/base\":99,\"../../common/logging\":119,\"./axis\":188}],190:[function(t,e,i){var n,r,s,o,a,l,u=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;r=t(\"../../common/base\").Collections,l=t(\"../../ticking/datetime_ticker\"),a=t(\"../../ticking/datetime_tick_formatter\"),n=t(\"./axis\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e}(n.View),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=o,e.prototype.type=\"DatetimeAxis\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),null==this.get(\"ticker\")&&this.set_obj(\"ticker\",r(\"DatetimeTicker\").create()),null==this.get(\"formatter\")?this.set_obj(\"formatter\",r(\"DatetimeTickFormatter\").create()):void 0},e}(n.Model),e.exports={Model:s,View:o}},{\"../../common/base\":99,\"../../ticking/datetime_tick_formatter\":214,\"../../ticking/datetime_ticker\":215,\"./axis\":188}],191:[function(t,e,i){var n,r,s,o,a,l,u=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\"),s=t(\"../../common/has_parent\"),o=t(\"../../common/plot_widget\"),l=t(\"../../common/properties\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.grid_props=new l.Line({obj:this.model,prefix:\"grid_\"}),this.minor_grid_props=new l.Line({obj:this.model,prefix:\"minor_grid_\"}),this.band_props=new l.Fill({obj:this.model,prefix:\"band_\"}),this.x_range_name=this.mget(\"x_range_name\"),this.y_range_name=this.mget(\"y_range_name\")},e.prototype.render=function(){var t;return t=this.plot_view.canvas_view.ctx,t.save(),this._draw_regions(t),this._draw_minor_grids(t),this._draw_grids(t),t.restore()},e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,\"change\",this.request_render)},e.prototype._draw_regions=function(t){var e,i,n,r,s,o,a,l,u,h,c,p;if(this.band_props.do_fill)for(n=this.mget(\"grid_coords\"),c=n[0],p=n[1],this.band_props.set_value(t),e=i=0,r=c.length-1;r>=0?r>i:i>r;e=r>=0?++i:--i)e%2===1&&(s=this.plot_view.map_to_screen(c[e],p[e],this.x_range_name,this.y_range_name),a=s[0],u=s[1],o=this.plot_view.map_to_screen(c[e+1],p[e+1],this.x_range_name,this.y_range_name),l=o[0],h=o[1],t.fillRect(a[0],u[0],l[1]-a[0],h[1]-u[0]),t.fill())},e.prototype._draw_grids=function(t){var e,i,n;if(this.grid_props.do_stroke)return e=this.mget(\"grid_coords\"),i=e[0],n=e[1],this._draw_grid_helper(t,this.grid_props,i,n)},e.prototype._draw_minor_grids=function(t){var e,i,n;if(this.minor_grid_props.do_stroke)return e=this.mget(\"minor_grid_coords\"),i=e[0],n=e[1],this._draw_grid_helper(t,this.minor_grid_props,i,n)},e.prototype._draw_grid_helper=function(t,e,i,n){var r,s,o,a,l,u,h,c;for(e.set_value(t),r=s=0,a=i.length;a>=0?a>s:s>a;r=a>=0?++s:--s){for(l=this.plot_view.map_to_screen(i[r],n[r],this.x_range_name,this.y_range_name),h=l[0],c=l[1],t.beginPath(),t.moveTo(Math.round(h[0]),Math.round(c[0])),r=o=1,u=h.length;u>=1?u>o:o>u;r=u>=1?++o:--o)t.lineTo(Math.round(h[r]),Math.round(c[r]));t.stroke()}},e}(o),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=r,e.prototype.type=\"Grid\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property(\"computed_bounds\",this._bounds,!1),this.add_dependencies(\"computed_bounds\",this,[\"bounds\"]),this.register_property(\"grid_coords\",this._grid_coords,!1),this.add_dependencies(\"grid_coords\",this,[\"computed_bounds\",\"dimension\",\"ticker\"]),this.register_property(\"minor_grid_coords\",this._minor_grid_coords,!1),this.add_dependencies(\"minor_grid_coords\",this,[\"computed_bounds\",\"dimension\",\"ticker\"]),this.register_property(\"ranges\",this._ranges,!0)},e.prototype._ranges=function(){var t,e,i,n;return e=this.get(\"dimension\"),i=(e+1)%2,t=this.get(\"plot\").get(\"frame\"),n=[t.get(\"x_ranges\")[this.get(\"x_range_name\")],t.get(\"y_ranges\")[this.get(\"y_range_name\")]],[n[e],n[i]]},e.prototype._bounds=function(){var t,e,i,n,r,s,o,l;return r=this.get(\"ranges\"),i=r[0],t=r[1],l=null!=(s=this.get(\"bounds\"))?s:\"auto\",n=[i.get(\"min\"),i.get(\"max\")],a.isArray(l)?(o=Math.min(l[0],l[1]),e=Math.max(l[0],l[1]),o<n[0]?o=n[0]:o>n[1]&&(o=null),e>n[1]?e=n[1]:e<n[0]&&(e=null)):(o=n[0],e=n[1]),[o,e]},e.prototype._grid_coords=function(){return this._grid_coords_helper(\"major\")},e.prototype._minor_grid_coords=function(){return this._grid_coords_helper(\"minor\")},e.prototype._grid_coords_helper=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C;for(u=this.get(\"dimension\"),c=(u+1)%2,y=this.get(\"ranges\"),v=y[0],s=y[1],b=this.get(\"computed_bounds\"),k=b[0],l=b[1],C=Math.min(k,l),l=Math.max(k,l),k=C,M=this.get(\"ticker\").get_ticks(k,l,v,{})[t],m=v.get(\"min\"),g=v.get(\"max\"),n=s.get(\"min\"),i=s.get(\"max\"),r=[[],[]],h=p=0,w=M.length;w>=0?w>p:p>w;h=w>=0?++p:--p)if(M[h]!==m&&M[h]!==g){for(o=[],a=[],e=2,_=d=0,x=e;x>=0?x>d:d>x;_=x>=0?++d:--d)f=n+(i-n)/(e-1)*_,o.push(M[h]),a.push(f);r[u].push(o),r[c].push(a)}return r},e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{x_range_name:\"default\",y_range_name:\"default\"})},e.prototype.display_defaults=function(){return a.extend({},e.__super__.display_defaults.call(this),{level:\"underlay\",band_fill_color:null,band_fill_alpha:0,grid_line_color:\"#cccccc\",grid_line_width:1,grid_line_alpha:1,grid_line_join:\"miter\",grid_line_cap:\"butt\",grid_line_dash:[],grid_line_dash_offset:0,minor_grid_line_color:null,minor_grid_line_width:1,minor_grid_line_alpha:1,minor_grid_line_join:\"miter\",minor_grid_line_cap:\"butt\",minor_grid_line_dash:[],minor_grid_line_dash_offset:0})},e}(s),e.exports={Model:n,View:r}},{\"../../common/has_parent\":114,\"../../common/plot_widget\":125,\"../../common/properties\":126,underscore:92}],192:[function(t,e,i){var n,r,s,o=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(\"./axis\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e}(n.View),r=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return o(i,e),i.prototype.default_view=s,i.prototype.type=\"LinearAxis\",i.prototype.initialize=function(e,n){var r;return i.__super__.initialize.call(this,e,n),r=t(\"../../common/base\").Collections,null==this.get(\"ticker\")&&this.set_obj(\"ticker\",r(\"BasicTicker\").create()),null==this.get(\"formatter\")?this.set_obj(\"formatter\",r(\"BasicTickFormatter\").create()):void 0},i}(n.Model),e.exports={Model:r,View:s}},{\"../../common/base\":99,\"./axis\":188}],193:[function(t,e,i){var n,r,s,o=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(\"./axis\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e}(n.View),r=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return o(i,e),i.prototype.default_view=s,i.prototype.type=\"LogAxis\",i.prototype.initialize=function(e,n){var r;return i.__super__.initialize.call(this,e,n),r=t(\"../../common/base\").Collections,null==this.get(\"ticker\")&&this.set_obj(\"ticker\",r(\"LogTicker\").create()),null==this.get(\"formatter\")?this.set_obj(\"formatter\",r(\"LogTickFormatter\").create()):void 0},i}(n.Model),e.exports={Model:r,View:s}},{\"../../common/base\":99,\"./axis\":188}],194:[function(t,e,i){var n,r,s,o,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(\"../../common/has_parent\"),o=t(\"../../common/plot_widget\"),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.$el.appendTo(this.plot_view.$el.find(\"div.bk-canvas-overlays\")),this.$el.addClass(\"shading\"),this.$el.hide()},e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,\"change:data\",this._draw_box)},e.prototype.render=function(){return this._draw_box(),this},e.prototype._draw_box=function(){var t,e,i,n,r,s,o,l,u;return e=this.mget(\"data\"),a.isEmpty(e)?void this.$el.hide():(l=e.vxlim,u=e.vylim,t=this.plot_view.canvas,s=Math.min(t.vx_to_sx(l[0]),t.vx_to_sx(l[1])),o=Math.min(t.vy_to_sy(u[0]),t.vy_to_sy(u[1])),r=Math.abs(l[1]-l[0]),i=Math.abs(u[1]-u[0]),n=\"left:\"+s+\"px; width:\"+r+\"px; top:\"+o+\"px; height:\"+i+\"px\",this.$el.attr(\"style\",n),this.$el.show())},e}(o),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=r,e.prototype.type=\"BoxSelection\",e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{level:\"overlay\",data:{}})},e}(s),e.exports={Model:n,View:r}},{\"../../common/has_parent\":114,\"../../common/plot_widget\":125,underscore:92}],195:[function(t,e,i){var n,r,s,o,a,l,u=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/has_parent\"),r=t(\"../../common/plot_widget\"),l=t(\"../../common/properties\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.line=new l.Line({obj:this.model,prefix:\"\"}),this.fill=new l.Fill({obj:this.model,prefix:\"\"})},e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,\"change:data\",this.plot_view.request_render)},e.prototype.render=function(t){var e,i,n,r,s,o,l;if(i=a.clone(this.mget(\"data\")),a.isEmpty(i)||null==i)return null;for(e=this.plot_view.canvas,t=this.plot_view.canvas_view.ctx,n=r=0,s=i.vx.length;s>=0?s>r:r>s;n=s>=0?++r:--r)o=e.vx_to_sx(i.vx[n]),l=e.vy_to_sy(i.vy[n]),0===n?(t.beginPath(),t.moveTo(o,l)):t.lineTo(o,l);return this.mget(\"auto_close\")&&t.closePath(),this.line.do_stroke&&(this.line.set_value(t),t.stroke()),this.fill.do_fill&&this.mget(\"auto_close\")?(this.fill.set_value(t),t.fill()):void 0},e}(r),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.default_view=o,e.prototype.type=\"PolySelection\",e.prototype.display_defaults=function(){return a.extend({},e.__super__.display_defaults.call(this),{fill_color:null,fill_alpha:.2,line_color:\"grey\",line_width:3,line_alpha:.8,line_join:\"miter\",line_cap:\"butt\",line_dash:[4],line_dash_offset:0})},e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{level:\"overlay\",auto_close:!0,data:{}})},e}(n),e.exports={Model:s,View:o}},{\"../../common/has_parent\":114,\"../../common/plot_widget\":125,\"../../common/properties\":126,underscore:92}],196:[function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x;n=t(\"jquery\"),o=t(\"underscore\"),r=t(\"backbone\"),p=t(\"../common/base\"),s=t(\"../common/has_properties\"),_=t(\"../common/load_models\"),v=t(\"../common/logging\").logger,w=t(\"./serverutils\"),x=t(\"./usercontext/usercontext\"),f=p.index,y=function(){var e,i;return e=t(\"../common/base\").Config,i=e.prefix+\"bokeh/ping\",n.get(i).success(function(){return v.info(\"reloading\"),window.location.reload()}).fail(o.delay(function(){return y()},1e3)),null},g=function(t){var e;return e=n(\"<link href='\"+t+\"' rel='stylesheet' type='text/css'>\"),n(\"body\").append(e)},c=function(t,e,i,r){var s,a;return _(r),s=p.Collections(i).get(e),a=new s.default_view({model:s}),e in f||(f[e]=a),o.delay(function(){return n(t).replaceWith(a.$el)})},d={},h=function(t,e,i,r){var s;return s=w.utility.load_one_object_chain(e,i,r),s.done(function(e){var r,s,a;return r=p.Collections(e.type).get(i),s=new r.default_view({model:r}),o.delay(function(){return n(t).replaceWith(s.$el)}),i in f||(f[i]=s),a=w.wswrapper,a.subscribe(\"debug:debug\",\"\"),a.on(\"msg:debug:debug\",function(t){return\"reload\"===t?y():void 0})})},m=function(t,e){var i,r,s;if(s=n(\"#\"+t),0===s.length)throw new Error(\"Error injecting plot: could not find script tag with id: \"+t);if(s.length>1)throw new Error(\"Error injecting plot: found too many script tags with id: \"+t);if(!document.body.contains(s[0]))throw new Error(\"Error injecting plot: autoload script tag may only be under <body>\");if(r=s.data(),Bokeh.set_log_level(r.bokehLoglevel),v.info(\"Injecting plot for script tag with id: #\"+t),p.Config.prefix=r.bokehRootUrl,i=n(\"<div>\",{\"class\":\"bokeh-container\"}),i.insertBefore(s),\"static\"===r.bokehData)return v.info(\"  - using static data\"),c(i,r.bokehModelid,r.bokehModeltype,e);if(\"server\"===r.bokehData)return v.info(\"  - using server data\"),h(i,r.bokehDocid,r.bokehModelid,r.bokehPublic);throw new Error(\"Unknown bokehData value for inject_plot: \"+r.bokehData)},b=function(t){return s.prototype.sync=r.sync,n(function(){var e;return e=w.utility.make_websocket(),e.then(function(){var e,i,n;return n=w.wswrapper,i=new x.UserDocs,i.subscribe(n,\"defaultuser\"),e=i.fetch(),e.done(function(){return null!=t?u(i,t):l(i)}),v.info(\"subscribing to debug\"),n.subscribe(\"debug:debug\",\"\"),n.on(\"msg:debug:debug\",function(t){return\"reload\"===t?y():void 0})})})},l=function(t){var e;return e=new x.UserDocsView({collection:t}),a(e.el)},u=function(t,e){var i,n;return i=t.find(function(t){return t.get(\"title\")===e}),null!=i?(i.on(\"loaded\",function(){var t,e;return t=i.get(\"plot_context\"),e=new t.default_view({model:t}),a(e.el)}),i.load()):(n=\"Document '\"+e+\"' wasn't found on this server.\",a(n),v.error(n))},a=function(t){return n(\"#PlotPane\").append(t)},e.exports={inject_css:g,inject_plot:m,add_plot_server:h,add_plot_static:c,server_page:b}},{\"../common/base\":99,\"../common/has_properties\":115,\"../common/load_models\":118,\"../common/logging\":119,\"./serverutils\":197,\"./usercontext/usercontext\":199,backbone:2,jquery:18,underscore:92}],197:[function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_;n=t(\"jquery\"),u=t(\"underscore\"),r=t(\"backbone\"),h=t(\"../common/base\"),g=t(\"../common/socket\"),l=g.WebSocketWrapper,m=g.submodels,d=t(\"../common/load_models\"),f=t(\"../common/logging\").logger,o=t(\"../common/has_properties\"),s={},a={},s._doc_loaded=n.Deferred(),s._doc_requested=n.Deferred(),a.doc_loaded=s._doc_loaded.promise(),a.doc_requested=s._doc_requested.promise(),a.doc_promises={},p={},i.wswrapper=null,i.plotcontext=null,i.plotcontextview=null,i.Promises=a,p={},_={load_one_object_chain:function(e,s,a){var l,h,c,g;return a&&(p[e]||(p[e]=u.uniqueId(\"temporary\")),g=p[e],h=\"temporary-\"+e,l={},l[h]=g,n.ajaxSetup({headers:l})),o.prototype.sync=r.sync,c=_.make_websocket(),c=c.then(function(){var i,r;return i=t(\"../common/base\").Config,r=i.prefix+\"bokeh/objinfo/\"+e+\"/\"+s,f.debug(\"load one object chain: \"+r),c=n.get(r)}),c.done(function(t){var n,r;return n=t.all_models,d(n),r=t.apikey,m(i.wswrapper,\"bokehplot:\"+e,r),a?m(i.wswrapper,\"bokehplot:\"+g,null):void 0}),c},load_user:function(){var t;return t=n.get(\"/bokeh/userinfo/\",{})},load_doc_by_title:function(e){var r,s;return r=t(\"../common/base\").Config,s=n.get(r.prefix+\"bokeh/doc\",{title:e}).done(function(t){var e,n,r;return e=t.all_models,d(e),n=t.apikey,r=t.docid,m(i.wswrapper,\"bokehplot:\"+r,n)})},load_doc_static:function(t,e){\" loads data without making a websocket connection \";var i;return load_data(e.all_models),i=jQuery.Deferred(),i.resolve(),i},load_doc:function(e){var r;return r=_.make_websocket(),r=r.then(function(){var i;return i=t(\"../common/base\").Config,n.get(i.prefix+(\"bokeh/bokehinfo/\"+e+\"/\"),{})}),r.done(function(t){var n,r;return n=t.all_models,d(n),r=t.apikey,m(i.wswrapper,\"bokehplot:\"+e,r)}),r},make_websocket:function(){var e,r;return null!=i.wswrapper?i._wswrapper_deferred:(e=t(\"../common/base\").Config,i._wswrapper_deferred=n.get(e.prefix+\"bokeh/wsurl/\"),r=i._wswrapper_deferred,r.done(function(n){var r;return e=t(\"../common/base\").Config,c(n,null),r=new l(e.ws_conn_string),i.wswrapper=r}),r)},render_plots:function(e,n,r){var s,o,a,l;return null==n&&(n=null),null==r&&(r={}),s=t(\"../common/base\").Collections,a=s(e.type).get(e.id),n||(n=a.default_view),o=u.extend(r,{model:a}),l=new n(o),a=a,l=l,l.render(),i.plotcontext=a,i.plotcontextview=l},bokeh_connection:function(t,e,i){return u.isUndefined(i)&&(i=\"https\"),\"pending\"===a.doc_requested.state()?(s._doc_requested.resolve(),n.get(i+\"://\"+t+\"/bokeh/publicbokehinfo/\"+e,{},function(t){return f.debug(\"instantiate_doc_single \"+e),t=JSON.parse(t),d(t.all_models),s._doc_loaded.resolve(t)})):void 0}},c=function(e,i){var n;return n=t(\"../common/base\").Config,e&&(n.ws_conn_string=e,f.debug(\"setting ws_conn_string to: \"+n.ws_conn_string)),i&&(n.prefix=i,f.debug(\"setting prefix to \"+n.prefix)),null},i.utility=_,i.configure_server=c,e.exports=i},{\"../common/base\":99,\"../common/has_properties\":115,\"../common/load_models\":118,\"../common/logging\":119,\"../common/socket\":130,backbone:2,jquery:18,underscore:92}],198:[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,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push(\"<p>\\n  <b>\\n    You have no Plots. Follow the instructions below to create some.\\n  </b>\\n</p>\\n\")}).call(this)}.call(t),t.safe=n,t.escape=r,i.join(\"\")}},{}],199:[function(t,e,i){var n,r,s,o,a,l,u,h,c,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;c=t(\"underscore\"),n=t(\"jquery\"),p=t(\"../../common/base\"),d=t(\"../../common/build_views\"),s=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:c.uniqueId()}),this.$el.html(t)},e.prototype.render=function(){var t;return t=this.model.get(\"plot_context\"),this.plot_context_view=new t.default_view({model:t}),this.$el.find(\".plots\").append(this.plot_context_view.el),!0},e}(s),h=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.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(),c.map(c.values(this.views),function(t){return t.$el.detach()}),r=this.collection.models.slice().reverse(),d(this.views,r,{}),this.$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}(s),o=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 c.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=o,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 c.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:h,Doc:o,DocView:a}},{\"../../common/base\":99,\"../../common/build_views\":101,\"../../common/collection\":107,\"../../common/continuum_view\":109,\"../../common/has_parent\":114,\"../../common/load_models\":118,\"../serverutils\":197,\"./documentationtemplate\":198,\"./userdocstemplate\":200,\"./wrappertemplate\":201,jquery:18,underscore:92}],200:[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,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<div class=\"accordion\">\\n</div>\\n')}).call(this)}.call(t),t.safe=n,t.escape=r,i.join(\"\")}},{}],201:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<div class=\"panel panel-default\">\\n  <div class=\"panel-heading\">\\n    <h4 class=\"panel-title\">\\n      <a class=\"bokehdoclabel\" href=\"#'),i.push(n(this.bodyid)),i.push('\" data-toggle=\"collapse\">\\n        Document: '),i.push(n(this.model.get(\"title\"))),i.push(' <span class=\"bokehdelete glyphicon glyphicon-trash\"></i>\\n      </a>\\n    </h4>\\n  </div>\\n  <div id=\"'),i.push(n(this.bodyid)),i.push('\" class=\"panel-collapse collapse\">\\n    <div class=\"panel-body plots\"></div>\\n  </div>\\n</div>\\n')}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],202:[function(t,e,i){var n,r,s,o,a,l,u,h=function(t,e){return function(){return t.apply(e,arguments)}},c=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,\n",
       "        t.__super__=e.prototype,t},p={}.hasOwnProperty;n=t(\"jquery\"),l=t(\"underscore\"),o=t(\"backbone\"),u=t(\"../common/logging\").logger,a=t(\"./remote_data_source\"),r=function(t){function e(){return this.defaults=h(this.defaults,this),this.get_data=h(this.get_data,this),this.setup=h(this.setup,this),this.destroy=h(this.destroy,this),e.__super__.constructor.apply(this,arguments)}return c(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,s,o,a,l;if(\"replace\"===t)i.set(\"data\",n);else if(\"append\"===t){for(a=i.get(\"data\"),l=i.columns(),s=0,o=l.length;o>s;s++)r=l[s],n[r]=a[r].concat(n[r]).slice(-e);i.set(\"data\",n)}else u.error(\"unsupported mode: \"+t);return u.trace(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),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.model=r,e.prototype.defaults={url:\"\",expr:null},e}(o.Collection),e.exports={Model:r,Collection:new s}},{\"../common/logging\":119,\"./remote_data_source\":205,backbone:2,jquery:18,underscore:92}],203:[function(t,e,i){var n,r,s,o,a,l,u,h=function(t,e){return function(){return t.apply(e,arguments)}},c=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\"),s=function(t){function e(){return this.update=h(this.update,this),this.setup=h(this.setup,this),this.destroy=h(this.destroy,this),e.__super__.constructor.apply(this,arguments)}return c(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,s,o,a,u,h;for(n=l.zip.apply(l,e.data),r={},h=e.names,o=s=0,a=h.length;a>s;o=++s)i=h[o],r[i]=n[o];return u=l.clone(t.get(\"data\")),l.extend(u,r),t.set(\"data\",u),null}}(this))},e}(a.RemoteDataSource),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.model=s,e.prototype.defaults={url:\"\",expr:null},e}(r.Collection),e.exports={Model:s,Collection:new o}},{\"../common/logging\":119,\"./remote_data_source\":205,backbone:2,jquery:18,underscore:92}],204:[function(t,e,i){var n,r,s,o,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)h.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},h={}.hasOwnProperty;o=t(\"underscore\"),r=t(\"../common/has_properties\"),s=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===o.keys(t).length?null:(i=o.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 o.keys(this.get(\"data\"))},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{data:{},selection_manager:new s({source:this}),selected:a.create_hit_test_result()})},e}(r),e.exports={Model:n}},{\"../common/has_properties\":115,\"../common/hittest\":116,\"../common/selection_manager\":128,underscore:92}],205:[function(t,e,i){var n,r,s,o,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\"),n=t(\"backbone\"),r=t(\"./column_data_source\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e}(r.Model),e.exports={RemoteDataSource:s}},{\"./column_data_source\":204,backbone:2,underscore:92}],206:[function(t,e,i){var n,r,s,o,a,l,u,h,c,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\"),s=t(\"backbone\"),a=t(\"../common/has_properties\"),m=t(\"../common/logging\").logger,h=t(\"../range/range1d\"),o=t(\"../range/data_range1d\"),c=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 h.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,s;return i=this.glyph,this.get(\"data_url\")?(s=data_url,t=s.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\"),s=t+\"/\"+e+\"/\"+r+\"/\"+n},e}(s.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,s,o;return s=o=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}(c.RemoteDataSource),e.exports={Model:p}},{\"../common/has_properties\":115,\"../common/logging\":119,\"../range/data_range1d\":144,\"../range/range1d\":146,\"./remote_data_source\":205,backbone:2,jquery:18,underscore:92}],207:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),s=t(\"../common/has_properties\"),a=function(t){var e,i,n,r,s;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?(s=function(){var e;e=[];for(n in t)e.push(n+\": \"+a(t[n]));return e}().join(\", \"),\"{\"+s+\"}\"):t.constructor===String?'\"'+t+'\"':t.constructor===Function?\"<Function: \"+t.name+\">\":(r=t.toString(),\"[object Object]\"===r?\"<\"+t.constructor.name+\">\":r)},r=6,n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"AbstractTicker\",e.prototype.get_ticks=function(t,e,i,n){var r;return r=n.desired_n_ticks,this.get_ticks_no_defaults(t,e,this.get(\"desired_num_ticks\"))},e.prototype.get_ticks_no_defaults=function(t,e,i){var n,r,s,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x;if(l=this.get_interval(t,e,i),y=Math.floor(t/l),n=Math.ceil(e/l),s=o.isNaN(y)||o.isNaN(n)?[]:o.range(y,n+1),w=function(){var t,e,i;for(i=[],t=0,e=s.length;e>t;t++)r=s[t],i.push(r*l);return i}(),v=this.get(\"num_minor_ticks\"),_=[],v>1){for(g=l/v,m=function(){var t,e,i;for(i=[],a=t=1,e=v;e>=1?e>=t:t>=e;a=e>=1?++t:--t)i.push(a*g);return i}(),u=0,p=m.length;p>u;u++)x=m[u],_.push(w[0]-x);for(h=0,d=w.length;d>h;h++)for(b=w[h],c=0,f=m.length;f>c;c++)x=m[c],_.push(b+x)}return{major:w,minor:_}},e.prototype.get_interval=void 0,e.prototype.get_min_interval=function(){return this.get(\"min_interval\")},e.prototype.get_max_interval=function(){return this.get(\"max_interval\")},e.prototype.toString=function(){var t,e,i,n;return t=typeof this,n=this.get(\"toString_properties\"),i=function(){var t,i,r;for(r=[],t=0,i=n.length;i>t;t++)e=n[t],r.push(e+\"=\"+a(this[e]));return r}.call(this).join(\", \"),t+\"(\"+i+\")\"},e.prototype.get_ideal_interval=function(t,e,i){var n;return n=e-t,n/i},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{toString_properties:[],num_minor_ticks:5,desired_num_ticks:r})},e}(s),e.exports={Model:n}},{\"../common/has_properties\":115,underscore:92}],208:[function(t,e,i){var n,r,s,o,a,l,u=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;s=t(\"underscore\"),n=t(\"./abstract_ticker\"),o=t(\"./util\").argmin,a=function(t,e,i){return Math.max(e,Math.min(i,t))},l=function(t,e){return null==e&&(e=Math.E),Math.log(t)/Math.log(e)},r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type=\"AdaptiveTicker\",e.prototype.initialize=function(t,i){var n,r;return e.__super__.initialize.call(this,t,i),n=s.last(this.get(\"mantissas\"))/this.get(\"base\"),r=s.first(this.get(\"mantissas\"))*this.get(\"base\"),this.extended_mantissas=s.flatten([n,this.get(\"mantissas\"),r]),this.base_factor=0===this.get(\"min_interval\")?1:this.get(\"min_interval\")},e.prototype.get_interval=function(t,e,i){var n,r,s,u,h,c,p,d,f;return s=e-t,h=this.get_ideal_interval(t,e,i),f=Math.floor(l(h/this.base_factor,this.get(\"base\"))),c=Math.pow(this.get(\"base\"),f)*this.base_factor,p=h/c,r=this.extended_mantissas,u=r.map(function(t){return Math.abs(i-s/(t*c))}),n=r[o(u)],d=n*c,a(d,this.get(\"min_interval\"),this.get(\"max_interval\"))},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{toString_properties:[\"mantissas\",\"base\",\"min_magnitude\",\"max_magnitude\"],base:10,mantissas:[2,5,10],min_interval:0,max_interval:1/0})},e}(n.Model),e.exports={Model:r}},{\"./abstract_ticker\":207,\"./util\":224,underscore:92}],209:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),r=t(\"../common/has_properties\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"BasicTickFormatter\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property(\"scientific_limit_low\",function(){return Math.pow(10,this.get(\"power_limit_low\"))},!0),this.add_dependencies(\"scientific_limit_low\",this,[\"power_limit_low\"]),this.register_property(\"scientific_limit_high\",function(){return Math.pow(10,this.get(\"power_limit_high\"))},!0),this.add_dependencies(\"scientific_limit_high\",this,[\"power_limit_high\"]),this.last_precision=3},e.prototype.format=function(t){var e,i,n,r,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x;if(0===t.length)return[];if(x=0,t.length>=2&&(x=Math.abs(t[1]-t[0])/1e4),c=!1,this.get(\"use_scientific\"))for(n=0,l=t.length;l>n;n++)if(y=t[n],b=Math.abs(y),b>x&&(b>=this.get(\"scientific_limit_high\")||b<=this.get(\"scientific_limit_low\"))){c=!0;break}if(d=this.get(\"precision\"),null==d||s.isNumber(d)){if(a=new Array(t.length),c)for(e=r=0,f=t.length;f>=0?f>r:r>f;e=f>=0?++r:--r)a[e]=t[e].toExponential(d||void 0);else for(e=o=0,g=t.length;g>=0?g>o:o>g;e=g>=0?++o:--o)a[e]=t[e].toFixed(d||void 0).replace(/(\\.[0-9]*?)0+$/,\"$1\").replace(/\\.$/,\"\");return a}if(\"auto\"===d)for(a=new Array(t.length),w=u=m=this.last_precision;15>=m?15>=u:u>=15;w=15>=m?++u:--u){if(i=!0,c){for(e=h=0,_=t.length;_>=0?_>h:h>_;e=_>=0?++h:--h)if(a[e]=t[e].toExponential(w),e>0&&a[e]===a[e-1]){i=!1;break}if(i)break}else{for(e=p=0,v=t.length;v>=0?v>p:p>v;e=v>=0?++p:--p)if(a[e]=t[e].toFixed(w).replace(/(\\.[0-9]*?)0+$/,\"$1\").replace(/\\.$/,\"\"),e>0&&a[e]===a[e-1]){i=!1;break}if(i)break}if(i)return this.last_precision=w,a}return a},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{precision:\"auto\",use_scientific:!0,power_limit_high:5,power_limit_low:-3})},e}(r),e.exports={Model:n}},{\"../common/has_properties\":115,underscore:92}],210:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),n=t(\"./adaptive_ticker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"BasicTicker\",e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{mantissas:[1,2,5]})},e}(n.Model),e.exports={Model:r}},{\"./adaptive_ticker\":208,underscore:92}],211:[function(t,e,i){var n,r,s=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;r=t(\"../common/has_properties\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype.type=\"CategoricalTickFormatter\",e.prototype.format=function(t){return t},e}(r),e.exports={Model:n}},{\"../common/has_properties\":115}],212:[function(t,e,i){var n,r,s=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;r=t(\"../common/has_properties\"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype.type=\"CategoricalTicker\",e.prototype.get_ticks=function(t,e,i,n){var r,s,o,a,l,u,h;for(r=n.desired_n_ticks,u=[],s=i.get(\"factors\"),o=l=0,h=s.length;h>=0?h>l:l>h;o=h>=0?++l:--l)a=o+i.get(\"offset\"),a+1>t&&e>a+1&&u.push(s[o]);return{major:u,minor:[]}},e}(r),e.exports={Model:n}},{\"../common/has_properties\":115}],213:[function(t,e,i){var n,r,s,o,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(\"./abstract_ticker\"),o=t(\"./util\").argmin,r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.type=\"CompositeTicker\",e.prototype.initialize=function(t,i){var n;return e.__super__.initialize.call(this,t,i),n=this.get(\"tickers\"),this.register_property(\"min_intervals\",function(){return s.invoke(n,\"get_min_interval\")},!0),this.add_dependencies(\"min_intervals\",this,[\"tickers\"]),this.register_property(\"max_intervals\",function(){return s.invoke(n,\"get_max_interval\")},!0),this.add_dependencies(\"max_intervals\",this,[\"tickers\"]),this.register_property(\"min_interval\",function(){return s.first(this.get(\"min_intervals\"))},!0),this.add_dependencies(\"min_interval\",this,[\"min_intervals\"]),this.register_property(\"max_interval\",function(){return s.first(this.get(\"max_intervals\"))},!0),this.add_dependencies(\"max_interval\",this,[\"max_interval\"])},e.prototype.get_best_ticker=function(t,e,i){var n,r,a,l,u,h,c,p;return l=e-t,h=this.get_ideal_interval(t,e,i),p=[s.sortedIndex(this.get(\"min_intervals\"),h)-1,s.sortedIndex(this.get(\"max_intervals\"),h)],c=[this.get(\"min_intervals\")[p[0]],this.get(\"max_intervals\")[p[1]]],u=c.map(function(t){return Math.abs(i-l/t)}),n=o(u),n===1/0?this.get(\"tickers\")[0]:(a=p[n],r=this.get(\"tickers\")[a])},e.prototype.get_interval=function(t,e,i){var n;return n=this.get_best_ticker(t,e,i),n.get_interval(t,e,i)},e.prototype.get_ticks_no_defaults=function(t,e,i){var n,r;return n=this.get_best_ticker(t,e,i),r=n.get_ticks_no_defaults(t,e,i)},e}(n.Model),e.exports={Model:r}},{\"./abstract_ticker\":207,\"./util\":224,underscore:92}],214:[function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f=function(t,e){function i(){this.constructor=t}for(var n in e)g.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},g={}.hasOwnProperty;o=t(\"underscore\"),s=t(\"sprintf\"),d=t(\"timezone\"),r=t(\"../common/has_properties\"),p=t(\"../common/logging\").logger,c=function(t){return Math.round(t/1e3%1*1e6)},h=function(t){var e,i;return e=new Date(t),i=e.getFullYear(),e.getMonth()>=7&&(i+=1),s.sprintf(\"'%02d\",i%100)},l=function(t){var e,i;return e=new Date(t),i=e.getFullYear(),e.getMonth()>=7&&(i+=1),s.sprintf(\"%d\",i)},a=function(t){return d(t,\"%Y %m %d %H %M %S\").split(/\\s+/).map(function(t){return parseInt(t,10)})},u=function(t,e){var i;return o.isFunction(e)?e(t):(i=s.sprintf(\"$1%06d\",c(t)),e=e.replace(/((^|[^%])(%%)*)%f/,i),-1===e.indexOf(\"%\")?e:d(t,e))},n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return f(e,t),e.prototype.type=\"DatetimeTickFormatter\",e.prototype.format_order=[\"microseconds\",\"milliseconds\",\"seconds\",\"minsec\",\"minutes\",\"hourmin\",\"hours\",\"days\",\"months\",\"years\"],e.prototype._formats={microseconds:[\"%fus\"],milliseconds:[\"%3Nms\",\"%S.%3Ns\"],seconds:[\"%Ss\"],minsec:[\":%M:%S\"],minutes:[\":%M\",\"%Mm\"],hourmin:[\"%H:%M\"],hours:[\"%Hh\",\"%H:%M\"],days:[\"%m/%d\",\"%a%d\"],months:[\"%m/%Y\",\"%b%y\"],years:[\"%Y\",h,l]},e.prototype.strip_leading_zeros=!0,e.prototype.initialize=function(t,i){var n,r,s,a,l,h,c,p;e.__super__.initialize.call(this,t,i),n=o.extend({},this._formats,this.get(\"formats\")),l=d(new Date),this.formats={},h=[];for(r in n)a=n[r],c=function(){var t,e,i;for(i=[],t=0,e=a.length;e>t;t++)s=a[t],i.push(u(l,s).length);return i}(),p=o.sortBy(o.zip(c,a),function(t){var e,i;return i=t[0],e=t[1],i}),h.push(this.formats[r]=o.zip.apply(o,p));return h},e.prototype._get_resolution_str=function(t,e){var i,n;return i=1.1*t,n=.001>i?\"microseconds\":1>i?\"milliseconds\":60>i?e>=60?\"minsec\":\"seconds\":3600>i?e>=3600?\"hourmin\":\"minutes\":86400>i?\"hours\":2678400>i?\"days\":31536e3>i?\"months\":\"years\"},e.prototype.format=function(t,e,i,n,r){var s,l,h,c,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j;if(null==e&&(e=null),null==i&&(i=null),null==n&&(n=.3),null==r&&(r=null),0===t.length)return[];if(E=Math.abs(t[t.length-1]-t[0])/1e3,M=r?r.resolution:E/(t.length-1),S=this._get_resolution_str(M,E),C=this.formats[S],j=C[0],c=C[1],h=c[0],i){for(d=[],g=m=0,D=j.length;D>=0?D>m:m>D;g=D>=0?++m:--m)j[g]*t.length<n*i&&d.push(this.formats[g]);d.length>0&&(h=o.last(d))}for(y=[],A=this.format_order.indexOf(S),R={},T=this.format_order,_=0,b=T.length;b>_;_++)l=T[_],R[l]=0;for(R.seconds=5,R.minsec=4,R.minutes=4,R.hourmin=3,R.hours=3,v=0,w=t.length;w>v;v++){N=t[v];try{z=a(N),P=u(N,h)}catch(O){s=O,p.warn(\"unable to format tick for timestamp value \"+N),p.warn(\" - \"+s),y.push(\"ERR\");continue}for(f=!1,k=A;0===z[R[this.format_order[k]]]&&(k+=1,k!==this.format_order.length);){if((\"minsec\"===S||\"hourmin\"===S)&&!f){if(\"minsec\"===S&&0===z[4]&&0!==z[5]||\"hourmin\"===S&&0===z[3]&&0!==z[4]){x=this.formats[this.format_order[A-1]][1][0],P=u(N,x);break}f=!0}x=this.formats[this.format_order[k]][1][0],P=u(N,x)}this.strip_leading_zeros?(I=P.replace(/^0+/g,\"\"),I!==P&&isNaN(parseInt(I))&&(I=\"0\"+I),y.push(I)):y.push(P)}return y},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{formats:{}})},e}(r),e.exports={Model:n}},{\"../common/has_properties\":115,\"../common/logging\":119,sprintf:90,timezone:91,underscore:92}],215:[function(t,e,i){var n,r,s,o,a,l,u,h,c,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(\"./adaptive_ticker\"),r=t(\"./composite_ticker\"),o=t(\"./days_ticker\"),a=t(\"./months_ticker\"),d=t(\"./years_ticker\"),g=t(\"./util\"),u=g.ONE_MILLI,p=g.ONE_SECOND,h=g.ONE_MINUTE,l=g.ONE_HOUR,c=g.ONE_MONTH,s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.type=\"DatetimeTicker\",e.prototype.defaults=function(){return f.extend({},e.__super__.defaults.call(this),{num_minor_ticks:0,tickers:[new n.Model({mantissas:[1,2,5],base:10,min_interval:0,max_interval:500*u,num_minor_ticks:0}),new n.Model({mantissas:[1,2,5,10,15,20,30],base:60,min_interval:p,max_interval:30*h,num_minor_ticks:0}),new n.Model({mantissas:[1,2,4,6,8,12],base:24,min_interval:l,max_interval:12*l,num_minor_ticks:0}),new o.Model({days:f.range(1,32)}),new o.Model({days:f.range(1,31,3)}),new o.Model({days:[1,8,15,22]}),new o.Model({days:[1,15]}),new a.Model({months:f.range(0,12,1)}),new a.Model({months:f.range(0,12,2)}),new a.Model({months:f.range(0,12,4)}),new a.Model({months:f.range(0,12,6)}),new d.Model({})]})},e}(r.Model),e.exports={Model:s}},{\"./adaptive_ticker\":208,\"./composite_ticker\":213,\"./days_ticker\":216,\"./months_ticker\":220,\"./util\":224,\"./years_ticker\":225,underscore:92}],216:[function(t,e,i){var n,r,s,o,a,l,u,h,c=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;o=t(\"underscore\"),s=t(\"./single_interval_ticker\"),h=t(\"./util\"),a=h.copy_date,u=h.last_month_no_later_than,r=h.ONE_DAY,l=function(t,e){var i,n,r,s,o;for(o=u(new Date(t)),r=u(new Date(e)),s=a(r),r.setUTCMonth(r.getUTCMonth()+1),n=[],i=o;;)if(n.push(a(i)),i.setUTCMonth(i.getUTCMonth()+1),i>r)break;return n},n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type=\"DaysTicker\",e.prototype.initialize=function(t,i){var n,s;return t.num_minor_ticks=0,e.__super__.initialize.call(this,t,i),n=this.get(\"days\"),s=n.length>1?(n[1]-n[0])*r:31*r,this.set(\"interval\",s)},e.prototype.get_ticks_no_defaults=function(t,e,i){var n,r,s,u,h,c,p,d;return p=l(t,e),u=this.get(\"days\"),h=function(t){return function(t,e){var i,n,r,s,o,l;for(i=[],o=0,l=u.length;l>o;o++)n=u[o],r=a(t),r.setUTCDate(n),s=new Date(r.getTime()+e/2),s.getUTCMonth()===t.getUTCMonth()&&i.push(r);return i}}(this),c=this.get(\"interval\"),s=o.flatten(function(){var t,e,i;for(i=[],t=0,e=p.length;e>t;t++)r=p[t],i.push(h(r,c));return i}()),n=o.invoke(s,\"getTime\"),d=o.filter(n,function(i){return i>=t&&e>=i}),{major:d,minor:[]}},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{toString_properties:[\"days\"]})},e}(s.Model),e.exports={Model:n}},{\"./single_interval_ticker\":223,\"./util\":224,underscore:92}],217:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),n=t(\"./abstract_ticker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"FixedTicker\",e.prototype.get_ticks_no_defaults=function(t,e,i){return{major:this.get(\"ticks\"),minor:[]}},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{ticks:[]})},e}(n.Model),e.exports={Model:r}},{\"./abstract_ticker\":207,underscore:92}],218:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),r=t(\"../common/has_properties\"),a=t(\"../common/logging\").logger,n=t(\"./basic_tick_formatter\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"LogTickFormatter\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.basic_formatter=new n.Model,null==this.get(\"ticker\")?a.warn(\"LogTickFormatter not configured with a ticker, using default base of 10 (labels will be incorrect if ticker base is not 10)\"):void 0},e.prototype.format=function(t){var e,i,n,r,s,o;if(0===t.length)return[];for(e=null!=this.get(\"ticker\")?this.get(\"ticker\").get(\"base\"):10,o=!1,r=new Array(t.length),i=n=0,s=t.length;s>=0?s>n:n>s;i=s>=0?++n:--n)if(r[i]=e+\"^\"+Math.round(Math.log(t[i])/Math.log(e)),i>0&&r[i]===r[i-1]){o=!0;break}return o&&(r=this.basic_formatter.format(t)),r},e}(r),e.exports={Model:s}},{\"../common/has_properties\":115,\"../common/logging\":119,\"./basic_tick_formatter\":209,underscore:92}],219:[function(t,e,i){var n,r,s,o,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(\"./adaptive_ticker\"),o=function(t,e,i){var n,r;if(s.isUndefined(e)&&(e=t,t=0),s.isUndefined(i)&&(i=1),i>0&&t>=e||0>i&&e>=t)return[];for(r=[],n=t;i>0?e>n:n>e;)r.push(n),n+=i;return r},r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.type=\"LogTicker\",e.prototype.get_ticks_no_defaults=function(t,e,i){var n,r,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j;if(A=this.get(\"num_minor_ticks\"),T=[],0>=t&&(t=1),t>e&&(E=[e,t],t=E[0],e=E[1]),n=this.get(\"base\"),k=Math.log(t)/Math.log(n),w=Math.log(e)/Math.log(n),x=w-k,2>x){if(c=this.get_interval(t,e,i),I=Math.floor(t/c),r=Math.ceil(e/c),u=s.isNaN(I)||s.isNaN(r)?[]:s.range(I,r+1),z=function(){var t,e,i;for(i=[],t=0,e=u.length;e>t;t++)l=u[t],0!==l&&i.push(l*c);return i}(),A>1){for(C=c/A,D=function(){var t,e,i;for(i=[],h=t=1,e=A;e>=1?e>=t:t>=e;h=e>=1?++t:--t)i.push(h*C);return i}(),p=0,g=D.length;g>p;p++)j=D[p],T.push(z[0]-j);for(d=0,m=z.length;m>d;d++)for(R=z[d],f=0,_=D.length;_>f;f++)j=D[f],T.push(R+j)}}else if(N=Math.ceil(k),a=Math.floor(w),c=Math.ceil((a-N)/9),z=o(N,a,c),(a-N)%c===0&&(z=z.concat([a])),z=z.map(function(t){return Math.pow(n,t)}),A>1){for(C=Math.pow(n,c)/A,D=function(){var t,e,i;for(i=[],h=t=1,e=A;e>=1?e>=t:t>=e;h=e>=1?++t:--t)i.push(h*C);return i}(),M=0,v=D.length;v>M;M++)j=D[M],T.push(z[0]/j);for(S=0,y=z.length;y>S;S++)for(R=z[S],P=0,b=D.length;b>P;P++)j=D[P],T.push(R*j)}return{major:z,minor:T}},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{mantissas:[1,5]})},e}(n.Model),e.exports={Model:r}},{\"./adaptive_ticker\":208,underscore:92}],220:[function(t,e,i){var n,r,s,o,a,l,u,h,c=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;o=t(\"underscore\"),s=t(\"./single_interval_ticker\"),h=t(\"./util\"),a=h.copy_date,u=h.last_year_no_later_than,r=h.ONE_MONTH,l=function(t,e){var i,n,r,s;for(s=u(new Date(t)),r=u(new Date(e)),r.setUTCFullYear(r.getUTCFullYear()+1),n=[],i=s;;)if(n.push(a(i)),i.setUTCFullYear(i.getUTCFullYear()+1),i>r)break;return n},n=function(t){function e(){\n",
       "        return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type=\"MonthsTicker\",e.prototype.initialize=function(t,i){var n,s;return e.__super__.initialize.call(this,t,i),s=this.get(\"months\"),n=s.length>1?(s[1]-s[0])*r:12*r,this.set(\"interval\",n)},e.prototype.get_ticks_no_defaults=function(t,e,i){var n,r,s,u,h,c,p;return p=l(t,e),u=this.get(\"months\"),h=function(t){return u.map(function(e){var i;return i=a(t),i.setUTCMonth(e),i})},s=o.flatten(function(){var t,e,i;for(i=[],t=0,e=p.length;e>t;t++)r=p[t],i.push(h(r));return i}()),n=o.invoke(s,\"getTime\"),c=o.filter(n,function(i){return i>=t&&e>=i}),{major:c,minor:[]}},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{toString_properties:[\"months\"]})},e}(s.Model),e.exports={Model:n}},{\"./single_interval_ticker\":223,\"./util\":224,underscore:92}],221:[function(t,e,i){var n,r,s,o,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\"),r=t(\"../../vendor/numeral.js-1.5.3/numeral.js\"),n=t(\"../common/has_properties\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.type=\"NumeralTickFormatter\",e.prototype.format=function(t){var e,i,n,s,o;return e=this.get(\"format\"),n=this.get(\"language\"),s=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),i=function(){var i,a,l;for(l=[],i=0,a=t.length;a>i;i++)o=t[i],l.push(r.format(o,e,n,s));return l}()},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{format:\"0,0\",language:\"en\",rounding:\"round\"})},e}(n),e.exports={Model:s}},{\"../../vendor/numeral.js-1.5.3/numeral.js\":304,\"../common/has_properties\":115,underscore:92}],222:[function(t,e,i){var n,r,s,o,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(\"sprintf\"),n=t(\"../common/has_properties\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.type=\"PrintfTickFormatter\",e.prototype.format=function(t){var e,i,n;return e=this.get(\"format\"),i=function(){var i,r,o;for(o=[],i=0,r=t.length;r>i;i++)n=t[i],o.push(s.sprintf(e,n));return o}()},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{format:\"%s\"})},e}(n),e.exports={Model:r}},{\"../common/has_properties\":115,sprintf:90,underscore:92}],223:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),n=t(\"./abstract_ticker\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"SingleIntervalTicker\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property(\"min_interval\",function(){return this.get(\"interval\")},!0),this.add_dependencies(\"min_interval\",this,[\"interval\"]),this.register_property(\"max_interval\",function(){return this.get(\"interval\")},!0),this.add_dependencies(\"max_interval\",this,[\"interval\"])},e.prototype.get_interval=function(t,e,i){return this.get(\"interval\")},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{toString_properties:[\"interval\"]})},e}(n.Model),e.exports={Model:r}},{\"./abstract_ticker\":207,underscore:92}],224:[function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d,f;h=t(\"underscore\"),s=1,l=1e3,o=60*l,r=60*o,n=24*r,a=30*n,u=365*n,c=function(t){var e;return e=h.min(h.range(t.length),function(e){return t[e]})},p=function(t){return new Date(t.getTime())},d=function(t){return t=p(t),t.setUTCDate(1),t.setUTCHours(0),t.setUTCMinutes(0),t.setUTCSeconds(0),t.setUTCMilliseconds(0),t},f=function(t){return t=d(t),t.setUTCMonth(0),t},e.exports={argmin:c,copy_date:p,last_month_no_later_than:d,last_year_no_later_than:f,ONE_MILLI:s,ONE_SECOND:l,ONE_MINUTE:o,ONE_HOUR:r,ONE_DAY:n,ONE_MONTH:a,ONE_YEAR:u}},{underscore:92}],225:[function(t,e,i){var n,r,s,o,a,l,u,h=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(\"./basic_ticker\"),s=t(\"./single_interval_ticker\"),u=t(\"./util\"),l=u.last_year_no_later_than,r=u.ONE_YEAR,o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type=\"YearsTicker\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.set(\"interval\",r),this.basic_ticker=new n.Model({num_minor_ticks:0})},e.prototype.get_ticks_no_defaults=function(t,e,i){var n,r,s,o,u,h;return s=l(new Date(t)).getUTCFullYear(),r=l(new Date(e)).getUTCFullYear(),h=this.basic_ticker.get_ticks_no_defaults(s,r,i).major,n=function(){var t,e,i;for(i=[],t=0,e=h.length;e>t;t++)u=h[t],i.push(Date.UTC(u,0,1));return i}(),o=a.filter(n,function(i){return i>=t&&e>=i}),{major:o,minor:[]}},e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{toString_properties:[\"years\"]})},e}(s.Model),e.exports={Model:o}},{\"./basic_ticker\":210,\"./single_interval_ticker\":223,\"./util\":224,underscore:92}],226:[function(t,e,i){var n,r,s,o,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(\"../button_tool\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._clicked=function(){return this.model.trigger(\"do\")},e}(o.ButtonView),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.listenTo(this.model,\"do\",this[\"do\"])},e}(o.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e}(o.Model),e.exports={Model:n,View:s,ButtonView:r}},{\"../button_tool\":231}],227:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./action_tool\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype[\"do\"]=function(){return window.open(this.mget(\"redirect\"))},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"HelpTool\",e.prototype.tool_name=\"Help\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo3NzIwRUFGMDYyMjE2ODExOTdBNUNBNjVEQTY5OTRDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozMjFERDhDRjIwQjIxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozMjFERDhDRTIwQjIxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6OTdFQUZCRjQ4NjIxNjgxMTk3QTVDQTY1REE2OTk0Q0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NzcyMEVBRjA2MjIxNjgxMTk3QTVDQTY1REE2OTk0Q0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6QBYrgAAABb0lEQVR42ozTwUeEQRjH8W3bKEs6JkpESqfVpS4RHaJL2b2sLepUh3To0KFVIjp0iegQUdG21WmVvUWsKBGRlIiU7Q+IVaT0ffi9eY33peFj7cw8zzvzzEzV7v5hxGltGEUvutR3hwvs4ck/OeoET6KACrJolaz6Cprz12L6rcEOajGEFyfxtRxhDX0Yx5e3ggV8IqlgW/4J3vCKddRrLKm5894KOjGCHiVrwDZ+sKKvpRQ0pzkzuETeEqSxpT1aa8ezCmbyuEW3b0sVxaQtQT+mfINXGPT9T+n3xqnLKTYsQQseI8FtWnstYdEZs9o0eqdQZxUNSWD9YwHj36i2UyijOWQFVvmPkOR2P8qW4AwDIQma0BEyZjGlqCo9gXjA1+0ePAQExxWTtwT3KOqG/bfZ3GOL9W7ikrIe6FSsvQdswcZymrvsf0xWpIzqYauZRcIXmFBfUUea8Qobc5a2qQtiz3nVec7nGHaf868AAwDKW1RIPmvhEQAAAABJRU5ErkJggg==\",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property(\"tooltip\",function(){return this.get(\"help_tooltip\")})},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{help_tooltip:\"Click the question mark to learn more about Bokeh plot tools.\",redirect:\"http://bokeh.pydata.org/en/latest/docs/user_guide/tools.html\"})},e}(n.Model),e.exports={Model:r,View:s}},{\"./action_tool\":226,underscore:92}],228:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h=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=null!=i._bokehTest?void 0:t(\"bootstrap/modal\"),s=t(\"./action_tool\"),u=t(\"./preview_save_tool_template\"),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.className=\"bk-bs-modal\",e.prototype.template=u,e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render()},e.prototype.render=function(){return this.$el.empty(),this.$el.html(this.template()),this.$el.attr(\"tabindex\",\"-1\"),this.$el.on(\"hidden\",function(t){return function(){return t.$el.modal(\"hide\")}}(this)),this.$el.modal({show:!1})},e.prototype[\"do\"]=function(){var t;return t=this.plot_view.canvas_view.canvas[0],this.$(\".bk-bs-modal-body img\").attr(\"src\",t.toDataURL()),this.$el.modal(\"show\")},e}(s.View),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.default_view=a,e.prototype.type=\"PreviewSaveTool\",e.prototype.tool_name=\"Preview/Save\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozMjFERDhENjIwQjIxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozMjFERDhENzIwQjIxMUU0ODREQUYzNzM5QTM2MjBCRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjMyMUREOEQ0MjBCMjExRTQ4NERBRjM3MzlBMzYyMEJFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjMyMUREOEQ1MjBCMjExRTQ4NERBRjM3MzlBMzYyMEJFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+h5hT8AAAAKBJREFUeNpiWbhs5QcGBgZ+hgECTAwDDGAO+AjEjGj4Lw5xUrAAkl3ocr8IhQAzjT3PRu0o+I+EHw65NDDqgJHrABYC8t9JMIuRmiHACS2IKC0LOKH0X1JDAOTzs0BsBs3XlIKz5KSBRCA+RQXLjwNxNDlp4BoQm9Mo7fGPZsNRB4w6YNQBI94BfwfaAV9G08CoA9DbA/xUavkMvRAACDAAaPgYViexODkAAAAASUVORK5CYII=\",e}(s.Model),e.exports={Model:o,View:a}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./action_tool\":226,\"./preview_save_tool_template\":229,\"bootstrap/modal\":295,jquery:18,underscore:92}],229:[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,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<div class=\"bk-bs-modal-dialog\">\\n  <div class=\"bk-bs-modal-content\">\\n    <div class=\"bk-bs-modal-header\">\\n      <button type=\"button\" class=\"bk-bs-close\" data-bk-bs-dismiss=\"modal\">&times;</button>\\n      <h4 class=\"bk-bs-modal-title\">Image Preview (right click -> \\'Save As\\' to save PNG)</h4>\\n    </div>\\n    <div class=\"bk-bs-modal-body\">\\n      <img style=\"max-height: 300px; max-width: 400px\">\\n    </div>\\n    <div class=\"bk-bs-modal-footer\">\\n      <button type=\"button\" class=\"bk-bs-btn bk-bs-btn-primary\" data-bk-bs-dismiss=\"modal\">Close</button>\\n    </div>\\n  </div>\\n</div>')}).call(this)}.call(t),t.safe=n,t.escape=r,i.join(\"\")}},{}],230:[function(t,e,i){var n,r,s,o=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\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(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 o(e,t),e.prototype.default_view=s,e.prototype.type=\"ResetTool\",e.prototype.tool_name=\"Reset\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAgCAYAAABgrToAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCRTI5MDhFMDIwQjUxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOUMzNDE3NDIwQkIxMUU0ODREQUYzNzM5QTM2MjBCRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkJFMjkwOERFMjBCNTExRTQ4NERBRjM3MzlBMzYyMEJFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkJFMjkwOERGMjBCNTExRTQ4NERBRjM3MzlBMzYyMEJFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+kFHGtQAAAm1JREFUeNrMmE9ExFEQx3+7ZYmlLrEsUUTHaEV0iESJVqduXaJr1xKlFB1bdYqoQ9GlFBFdikgpIhLd0rLqUsQqrW2G7+YZr+2993vaHT6H3583M795897M+0U2t3cCR6kh+kA3rtvx7IYoEGfEMSi4GIk4OJgg5ogRot5wzBvBhmaJnI2xqMW7dcQC8UCMWzgX4N1xjF2ALq8OctROiGkiHrhLHDpOoNOLg5xXF0Sn5lmWWCUGiBRRC1K4t4p3pLCuKyVnnXMwAUVJcT+HfFo3SH5ePGPI24TmA1Pl8rJcBGPEvsa5I6KVWDNcmQW824qxqiRhI+bi4IxmWjOYuneH/HvH2Ixmumd8bjNhhad8lxgSzrfp8jUa/L/wlI8KZ3h1T4bdB30Kb9zz4t6YbgurlIMBdoBHUQiGTBx8JYoKPqVe0ftFNInnW8J20SSCjRWM8k8E1S+TNfbZYyQ59yJEg0kjw1QyB42k1iI6ReXLfEWSK8iHJnJVsYqN8jtammuFc/FOr3juU7Ia+39uM7fiuq8aVrEqp+J6BPWzahw8IPLKdTPKUNU4yJ3Fhqb1inu0y7qeRNVYsWkWFkXPl0QZ8iVbohFmW0s2DmY1jSUX8mUPzi1rmoLML2eXsvsgR/FO3JtAix53nNZ96FDlDrasW35eKGniRRPJeywck9VdOjTdayL3Ahv5MC1/xy+Hp1Iq7BGHMHatjOEqMUgMlxmbVsaEOpMk4GSnp0VyCedyLtuMTlhRD1ZaPoRjeejoMf1HE7VUPkW04Jz7Ztm9rGHslM1Hhjl2xlCn+4muQP/77RyHdf799uli5FuAAQC+l5Sj5nEBdwAAAABJRU5ErkJggg==\",e}(n.Model),e.exports={Model:r,View:s}},{\"./action_tool\":226}],231:[function(t,e,i){var n,r,s,o,a,l,u,h=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(\"backbone\"),a=t(\"./tool\"),u=t(\"./button_tool_template\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(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.$el.html(this.template(this.model.attrs_and_props())),this.listenTo(this.model,\"change:active\",this.render),this.render()},e.prototype.render=function(){return this.model.get(\"active\")?this.$el.children(\"button\").addClass(\"active\"):this.$el.children(\"button\").removeClass(\"active\"),this},e.prototype._clicked=function(t){},e}(n.View),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e}(a.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(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:o,ButtonView:s}},{\"./button_tool_template\":232,\"./tool\":247,backbone:2,underscore:92}],232:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<button type=\"button\" class=\"bk-toolbar-button hover\">\\n  <img class=\\'bk-btn-icon\\' src='),i.push(n(this.icon)),i.push(\" />\\n  <span class='tip'>\"),i.push(n(this.tooltip)),i.push(\"</span>\\n</button>\\n\")}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],233:[function(t,e,i){var n,r,s,o,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(\"../../renderer/overlay/box_selection\"),o=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,s,o,a,l,u;return i=this.plot_view.canvas,n=[i.sx_to_vx(t.bokeh.sx),i.sy_to_vy(t.bokeh.sy)],s=this.plot_model.get(\"frame\"),r=this.mget(\"dimensions\"),o=this.model._get_dim_limits(this._baseboint,n,s,r),l=o[0],u=o[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,s,o,a,l,u;return i=this.plot_view.canvas,n=[i.sx_to_vx(t.bokeh.sx),i.sy_to_vy(t.bokeh.sy)],s=this.plot_model.get(\"frame\"),r=this.mget(\"dimensions\"),o=this.model._get_dim_limits(this._baseboint,n,s,r),l=o[0],u=o[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,s,o,a,l,u,h,c,p,d,f;for(c=t[0],p=t[1],d=e[0],f=e[1],null==n&&(n=!1),s={type:\"rect\",vx0:c,vx1:p,vy0:d,vy1:f},u=this.mget(\"renderers\"),o=0,a=u.length;a>o;o++)l=u[o],r=l.get(\"data_source\"),h=r.get(\"selection_manager\"),h.select(this,this.plot_view.renderers[l.id],s,i,n);return null!=this.mget(\"callback\")&&this._emit_callback(s),this._save_geometry(s,i,n),null},e.prototype._emit_callback=function(t){var e,i,n,r,s;n=this.mget(\"renderers\")[0],e=this.plot_model.get(\"canvas\"),i=this.plot_model.get(\"frame\"),t.sx0=e.vx_to_sx(t.vx0),t.sx1=e.vx_to_sx(t.vx1),t.sy0=e.vy_to_sy(t.vy0),t.sy1=e.vy_to_sy(t.vy1),r=i.get(\"x_mappers\")[n.get(\"x_range_name\")],s=i.get(\"y_mappers\")[n.get(\"y_range_name\")],t.x0=r.map_from_target(t.vx0),t.x1=r.map_from_target(t.vx1),t.y0=s.map_from_target(t.vy0),t.y1=s.map_from_target(t.vy1),this.mget(\"callback\").execute(this.model,{geometry:t})},e}(o.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=\"BoxSelectTool\",e.prototype.tool_name=\"Box Select\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAgCAYAAAB6kdqOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBODVDNDBCRjIwQjMxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBODVDNDBDMDIwQjMxMUU0ODREQUYzNzM5QTM2MjBCRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkE4NUM0MEJEMjBCMzExRTQ4NERBRjM3MzlBMzYyMEJFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkE4NUM0MEJFMjBCMzExRTQ4NERBRjM3MzlBMzYyMEJFIi8+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 s.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}(o.Model),e.exports={Model:n,View:r}},{\"../../renderer/overlay/box_selection\":194,\"./select_tool\":240,underscore:92}],234:[function(t,e,i){var n,r,s,o,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\"),o=t(\"./gesture_tool\"),s=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,s,o,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\"),s=this.model._get_dim_limits(this._baseboint,i,r,n),o=s[0],a=s[1],this.mget(\"overlay\").set(\"data\",{vxlim:o,vylim:a}),null},e.prototype._pan_end=function(t){var e,i,n,r,s,o,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\"),s=this.model._get_dim_limits(this._baseboint,i,r,n),o=s[0],a=s[1],this._update(o,a),this.mget(\"overlay\").set(\"data\",{}),this._baseboint=null,null},e.prototype._update=function(t,e){var i,n,r,s,o,a,l,u,h,c,p;if(!(Math.abs(t[1]-t[0])<=5||Math.abs(e[1]-e[0])<=5)){h={},s=this.plot_view.frame.get(\"x_mappers\");for(r in s)n=s[r],o=n.v_map_from_target(t,!0),u=o[0],i=o[1],h[r]={start:u,end:i};c={},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],c[r]={start:u,end:i};return p={xrs:h,yrs:c},this.plot_view.update_range(p)}},e}(o.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"BoxZoomTool\",e.prototype.tool_name=\"Box Zoom\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozMjFERDhEMjIwQjIxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozMjFERDhEMzIwQjIxMUU0ODREQUYzNzM5QTM2MjBCRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjMyMUREOEQwMjBCMjExRTQ4NERBRjM3MzlBMzYyMEJFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjMyMUREOEQxMjBCMjExRTQ4NERBRjM3MzlBMzYyMEJFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+a2Q0KAAAAmVJREFUeNq8V19EpFEUvzOtmKfpJSJKDL2WiLJExKaUEq0eeikiaolZLT2lVUpPydqHqIlIo1ilFOmphxj1miKWWHppnobIt7+zeyZ3jjvz/bnf9OPHd8/9d77z3XN+94ts7ew6SqksWKX+w1GFiLjYdVSAfeAQ2Ag2sf0GvAXT4C/wle1x3lt9UOGBNk6BrYa+FuYIeAWOsmNviGqe6W+q081OmAGvizgh0cpjZ3RjGBFZBpMG+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}(o.Model),e.exports={Model:r,View:s}},{\"../../renderer/overlay/box_selection\":194,\"./gesture_tool\":235,underscore:92}],235:[function(t,e,i){var n,r,s,o,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\"),s=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),o=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:o,ButtonView:s}},{\"../button_tool\":231,underscore:92}],236:[function(t,e,i){var n,r,s,o,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(\"../../renderer/overlay/poly_selection\"),o=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,s,o,l;return i=this.plot_view.canvas,o=i.sx_to_vx(t.bokeh.sx),l=i.sy_to_vy(t.bokeh.sy),this.data.vx.push(o),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!=(s=t.srcEvent.shiftKey)?s:!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,s,o,a,l,u,h;for(s={type:\"poly\",vx:t,vy:e},u=this.mget(\"renderers\"),o=0,a=u.length;a>o;o++)l=u[o],r=l.get(\"data_source\"),h=r.get(\"selection_manager\"),h.select(this,this.plot_view.renderers[l.id],s,i,n);return this._save_geometry(s,i,n),null},e}(o.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 s.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}(o.Model),e.exports={Model:n,View:r}},{\"../../renderer/overlay/poly_selection\":195,\"./select_tool\":240,underscore:92}],237:[function(t,e,i){var n,r,s,o,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\"),\n",
       "        n=t(\"./gesture_tool\"),s=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,s,o;return this.last_dx=0,this.last_dy=0,e=this.plot_view.canvas,i=this.plot_view.frame,s=e.sx_to_vx(t.bokeh.sx),o=e.sy_to_vy(t.bokeh.sy),i.contains(s,o)||(n=i.get(\"h_range\"),r=i.get(\"v_range\"),(s<n.get(\"start\")||s>n.get(\"end\"))&&(this.v_axis_only=!0),(o<r.get(\"start\")||o>r.get(\"end\"))&&(this.h_axis_only=!0)),this.plot_view.interactive_timestamp=Date.now()},e.prototype._pan=function(t){return this._update(t.deltaX,-t.deltaY),this.plot_view.interactive_timestamp=Date.now()},e.prototype._pan_end=function(t){return this.h_axis_only=!1,this.v_axis_only=!1},e.prototype._update=function(t,e){var i,n,r,s,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A;r=this.plot_view.frame,u=t-this.last_dx,h=e-this.last_dy,s=o.clone(r.get(\"h_range\")),x=s.get(\"start\")-u,w=s.get(\"end\")-u,T=o.clone(r.get(\"v_range\")),D=T.get(\"start\")-h,C=T.get(\"end\")-h,i=this.mget(\"dimensions\"),i.indexOf(\"width\")>-1&&!this.v_axis_only?(y=x,b=w,m=-u):(y=s.get(\"start\"),b=s.get(\"end\"),m=0),i.indexOf(\"height\")>-1&&!this.h_axis_only?(k=D,M=C,_=h):(k=T.get(\"start\"),M=T.get(\"end\"),_=0),this.last_dx=t,this.last_dy=e,S={},p=r.get(\"x_mappers\");for(l in p)a=p[l],d=a.v_map_from_target([y,b],!0),v=d[0],n=d[1],S[l]={start:v,end:n};A={},f=r.get(\"y_mappers\");for(l in f)a=f[l],g=a.v_map_from_target([k,M],!0),v=g[0],n=g[1],A[l]={start:v,end:n};return c={xrs:S,yrs:A,sdx:m,sdy:_},this.plot_view.update_range(c),null},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"PanTool\",e.prototype.tool_name=\"Pan\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCRTI5MDhEODIwQjUxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCRTI5MDhEOTIwQjUxMUU0ODREQUYzNzM5QTM2MjBCRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkJFMjkwOEQ2MjBCNTExRTQ4NERBRjM3MzlBMzYyMEJFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkJFMjkwOEQ3MjBCNTExRTQ4NERBRjM3MzlBMzYyMEJFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+OXzPwwAAAKNJREFUeNrsVsEKgCAM3cyj0f8fuwT9XdEHrLyVIOKYY4kPPDim0+fenF+3HZi4nhFec+Rs4oCPAALwjDVUsKMWA6DNAFX6YXcMYIERdRWIYBzAZbKYGsSKex6mVUAK8Za0TphgoFTbpSvlx3/I0EQOILO2i/ibegLk/mgVONM4JvuBVizgkGH3XTGrR/xlV0ycbO8qCeMN54wdtVQwSTFwCzAATqEZUn8W8W4AAAAASUVORK5CYII=\",e.prototype.event_type=\"pan\",e.prototype.default_order=10,e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property(\"tooltip\",function(){return this._get_dim_tooltip(\"Pan\",this._check_dims(this.get(\"dimensions\"),\"pan tool\"))},!1),this.add_dependencies(\"tooltip\",this,[\"dimensions\"])},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{dimensions:[\"width\",\"height\"]})},e}(n.Model),e.exports={Model:r,View:s}},{\"./gesture_tool\":235,underscore:92}],238:[function(t,e,i){var n,r,s,o,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(\"../../renderer/overlay/poly_selection\"),o=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_data()},e.prototype._keyup=function(t){return 13===t.keyCode?this._clear_data():void 0},e.prototype._doubletap=function(t){var e,i;return e=null!=(i=t.srcEvent.shiftKey)?i:!1,this._select(this.data.vx,this.data.vy,!0,e),this._clear_data()},e.prototype._clear_data=function(){return this.data=null,this.mget(\"overlay\").set(\"data\",null)},e.prototype._tap=function(t){var e,i,n,r,s;return e=this.plot_view.canvas,r=e.sx_to_vx(t.bokeh.sx),s=e.sy_to_vy(t.bokeh.sy),null==this.data?(this.data={vx:[r],vy:[s]},null):(this.data.vx.push(r),this.data.vy.push(s),n=this.mget(\"overlay\"),i={},i.vx=a.clone(this.data.vx),i.vy=a.clone(this.data.vy),n.set(\"data\",i))},e.prototype._select=function(t,e,i,n){var r,s,o,a,l,u,h;for(s={type:\"poly\",vx:t,vy:e},u=this.mget(\"renderers\"),o=0,a=u.length;a>o;o++)l=u[o],r=l.get(\"data_source\"),h=r.get(\"selection_manager\"),h.select(this,this.plot_view.renderers[l.id],s,i,n);return this._save_geometry(s,i,n),null},e}(o.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=\"PolySelectTool\",e.prototype.tool_name=\"Poly Select\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGdSURBVDiNjdO/axRBGMbxT8IiwSBBi4AiBBVRJE3UIqIIilrYLGuxMYo/AimsrNTCWkH/AbFR78Dc5dZiWW3SKQaVaKWlIFEiithooaiIZ7EbPM7b3D0wzLzzvvOdZ5iZviTNmnKN4gE2YSteYjW24A2+Yh/ux1G4uVij2cyXB0V8AYuYwBq8x5Ei/wEH8LNoHRVgWxyFr4v4RUvuScv4ESRpFhTQ/9SPmSTNdpbt1KZhXCsD7cZQj6AB7OqUCDCCTz2C3mF/maNnGOsRtB53y0BD/t1eN32T32pH0HY870ZI0mwMFZwvA73F+AqA4STNduCS3PlSpdbY0F4XFKAfJZA9mMO9OAonl+crtcZcpdaYP3ti4mqro0Py79AKOJqk2TwGMRVH4XTbHqtwpVJrVKv1ZGDZ0SIO4mGSZqNYh2m8wtM4Cr93MPur6E9jY7WenAvkz38pSbO9eIzrcRQe63TUFg3iDz7iIj73Yxa3i4LxOAovr0S4MzPbhzoOYy1GzkzGXwLcxC0sxFH4u4sTUyePN3EDKrXGAk4h/QvU5XGB9rRYawAAAABJRU5ErkJggg==\",e.prototype.event_type=\"tap\",e.prototype.default_order=11,e.prototype.initialize=function(t,i){var n;return e.__super__.initialize.call(this,t,i),this.set(\"overlay\",new s.Model),n=this.get(\"plot\").get(\"renderers\"),n.push(this.get(\"overlay\")),this.get(\"plot\").set(\"renderers\",n)},e}(o.Model),e.exports={Model:n,View:r}},{\"../../renderer/overlay/poly_selection\":195,\"./select_tool\":240,underscore:92}],239:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./gesture_tool\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.className=\"bk-resize-popup\",e.prototype.initialize=function(t){var i;return e.__super__.initialize.call(this,t),i=this.plot_view.$el.find(\"div.bk-canvas-wrapper\"),this.$el.appendTo(i),this.$el.hide(),this.active=!1,null},e.prototype.activate=function(){return this.active=!0,this.render(),null},e.prototype.deactivate=function(){return this.active=!1,this.render(),null},e.prototype.render=function(t){var e,i,n,r;return this.active?(e=this.plot_view.canvas,i=this.plot_view.frame,n=e.vx_to_sx(i.get(\"h_range\").get(\"end\")-40),r=e.vy_to_sy(i.get(\"v_range\").get(\"start\")+40),this.$el.attr(\"style\",\"position:absolute; top:\"+r+\"px; left:\"+n+\"px;\"),this.$el.show()):this.$el.hide(),this},e.prototype._pan_start=function(t){var e;return e=this.plot_view.canvas,this.ch=e.get(\"height\"),this.cw=e.get(\"width\"),this.plot_view.interactive_timestamp=Date.now(),null},e.prototype._pan=function(t){return this._update(t.deltaX,t.deltaY),this.plot_view.interactive_timestamp=Date.now(),null},e.prototype._update=function(t,e){var i;return this.plot_view.pause(),i=this.plot_view.canvas,i._set_dims([this.cw+t,this.ch+e]),this.plot_view.unpause(),null},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"ResizeTool\",e.prototype.tool_name=\"Resize\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBODVDNDBCQjIwQjMxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBODVDNDBCQzIwQjMxMUU0ODREQUYzNzM5QTM2MjBCRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjMyMUREOEQ4MjBCMjExRTQ4NERBRjM3MzlBMzYyMEJFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkE4NUM0MEJBMjBCMzExRTQ4NERBRjM3MzlBMzYyMEJFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+nIbQ0AAAAIJJREFUeNpiXLhs5X8G7ICRgTYAq31MDIMEwBzyERoCyJhWAN2ej4MqRFiIjUMahczgSyMsNE4PxACBQZlrcAFsuYkcLECpQwZNiIw6ZNQhow4ZdcioQ0YdMuoQerRZkQE/vdqwgypqQD7+MIBuANn9f1CnEcbRXIMjd4zM0QCAAAMAbdAPQaze1JcAAAAASUVORK5CYII=\",e.prototype.event_type=\"pan\",e.prototype.default_order=40,e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{level:\"overlay\",data:{}})},e}(n.Model),e.exports={Model:r,View:s}},{\"./gesture_tool\":235,underscore:92}],240:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),a=t(\"../../common/logging\").logger,n=t(\"./gesture_tool\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._keyup=function(t){var e,i,n,r,s,o,a;if(27===t.keyCode){for(s=this.mget(\"renderers\"),o=[],i=0,n=s.length;n>i;i++)r=s[i],e=r.get(\"data_source\"),a=e.get(\"selection_manager\"),o.push(a.clear());return o}},e.prototype._save_geometry=function(t,e,i){var n,r,s,l,u,h,c,p;if(n=o.clone(t),c=this.plot_view.frame.get(\"x_mappers\")[\"default\"],p=this.plot_view.frame.get(\"y_mappers\")[\"default\"],\"point\"===n.type)n.x=c.map_from_target(n.vx),n.y=p.map_from_target(n.vy);else if(\"rect\"===n.type)n.x0=c.map_from_target(n.vx0),n.y0=p.map_from_target(n.vy0),n.x1=c.map_from_target(n.vx1),n.y1=p.map_from_target(n.vy1);else if(\"poly\"===n.type)for(n.x=new Array(n.vx.length),n.y=new Array(n.vy.length),s=l=0,u=n.vx.length;u>=0?u>l:l>u;s=u>=0?++l:--l)n.x[s]=c.map_from_target(n.vx[s]),n.y[s]=p.map_from_target(n.vy[s]);else a.debug(\"Unrecognized selection geometry type: '\"+n.type+\"'\");return e&&(h=this.plot_model.get(\"tool_events\"),i?(r=h.get(\"geometries\"),r.push(n)):r=[n],h.set(\"geometries\",r),h.save()),null},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.initialize=function(t,i){var n,r,s,o,l,u;for(e.__super__.initialize.call(this,t,i),o=this.get(\"names\"),u=this.get(\"renderers\"),0===u.length&&(n=this.get(\"plot\").get(\"renderers\"),u=function(){var t,e,i;for(i=[],t=0,e=n.length;e>t;t++)l=n[t],\"GlyphRenderer\"===l.type&&i.push(l);return i}()),o.length>0&&(u=function(){var t,e,i;for(i=[],t=0,e=u.length;e>t;t++)l=u[t],o.indexOf(l.get(\"name\"))>=0&&i.push(l);return i}()),this.set(\"renderers\",u),a.debug(\"setting \"+u.length+\" renderers for \"+this.type+\" \"+this.id),r=0,s=u.length;s>r;r++)l=u[r],a.debug(\" - \"+l.type+\" \"+l.id);return null},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{renderers:[],names:[],multi_select_modifier:\"shift\"})},e}(n.Model),e.exports={Model:r,View:s}},{\"../../common/logging\":119,\"./gesture_tool\":235,underscore:92}],241:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./select_tool\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._tap=function(t){var e,i,n,r,s;return i=this.plot_view.canvas,r=i.sx_to_vx(t.bokeh.sx),s=i.sy_to_vy(t.bokeh.sy),e=null!=(n=t.srcEvent.shiftKey)?n:!1,this._select(r,s,!0,e)},e.prototype._select=function(t,e,i,n){var r,s,o,a,l,u,h,c;for(o={type:\"point\",vx:t,vy:e},r=this.mget(\"callback\"),h=this.mget(\"renderers\"),a=0,l=h.length;l>a;a++)u=h[a],s=u.get(\"data_source\"),c=s.get(\"selection_manager\"),c.select(this,this.plot_view.renderers[u.id],o,i,n),null!=r&&r.execute(s);return this._save_geometry(o,i,n),null},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.default_view=s,e.prototype.type=\"TapTool\",e.prototype.tool_name=\"Tap\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAHWSURBVDiNbdJfaI9RGAfwz/7JNlLGjdxLyDU2u0EIx6uc7UIpF5pIU1OSGzfkUhvSiuSCvZbXGxeT0IxcSYlIiVxSJmqZzbj4nbafcer0nM75Ps/5Pt/vU2PWyouyAbsRsTJdv0SOGzELE9X4mlnJ7TiOtentV3qqS/EJTsUsDP9TIC/KvTiHZgyhwHP8Tkx2Ygd+4EDMwpXpAnlRtuJu+vFozMLF2a0lXAfOowkbYxYe1+RF2Yhb2IT9MQv9eVHOxTGsSwxGcCZm4WdelLuSHg8QatGZeh5KyQtxB/NwCIfRgtt5US6IWbiJgZTTWZ/UrsG1xLQHL2IWeqrYd+dF2YdunMRVBMRaLMckXiVwK3r/I0E/tqXzW0xgdX0VYCrFOjO2Va+PuJTO4/iE8Xq8RhuWqdj2FAdxpDo7ZmEUF/KiXIwxrMJUvYqibSrTdx2nUeZFeRaX8SFm4Suk5PcYiVnYAtU2bkBHzMJgXpTNOIHtqfdeLMUS3Mcz7GFmkNbjHr6jK2ZhsJp+XpQt6ec6jKIB86cLJNA+9GFOamsAb1Qc+qJic2PSagzv/iqQirQn6mvS1SQ+Y0WawkXJjUcxC5uhdpbSw9iKLjzEt7QnE6QpxWmb/wA4250STmTc7QAAAABJRU5ErkJggg==\",e.prototype.event_type=\"tap\",e.prototype.default_order=10,e}(n.Model),e.exports={Model:r,View:s}},{\"./select_tool\":240,underscore:92}],242:[function(t,e,i){var n,r,s,o,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;o=t(\"underscore\"),n=t(\"./gesture_tool\"),(\"undefined\"==typeof a||null===a)&&(a={}),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._pinch=function(t){var e;return e=t.scale>=1?20*(t.scale-1):-20/t.scale,t.bokeh.delta=e,this._scroll(t)},e.prototype._scroll=function(t){var e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E;s=this.plot_model.get(\"frame\"),a=s.get(\"h_range\"),x=s.get(\"v_range\"),k=this.plot_view.canvas.sx_to_vx(t.bokeh.sx),D=this.plot_view.canvas.sy_to_vy(t.bokeh.sy),(k<a.get(\"start\")||k>a.get(\"end\"))&&(w=!0),(D<x.get(\"start\")||D>x.get(\"end\"))&&(o=!0),u=navigator.userAgent.toLowerCase().indexOf(\"firefox\")>-1?20:1,e=null!=(null!=(c=t.originalEvent)?c.deltaY:void 0)?-t.originalEvent.deltaY*u:t.bokeh.delta,r=this.mget(\"speed\")*e,r>.9?r=.9:-.9>r&&(r=-.9),C=a.get(\"start\"),M=a.get(\"end\"),S=x.get(\"start\"),T=x.get(\"end\"),i=this.mget(\"dimensions\"),i.indexOf(\"width\")>-1&&!w?(_=C-(C-k)*r,v=M-(M-k)*r):(_=C,v=M),i.indexOf(\"height\")>-1&&!o?(y=S-(S-D)*r,b=T-(T-D)*r):(y=S,b=T),A={},p=s.get(\"x_mappers\");for(h in p)l=p[h],d=l.v_map_from_target([_,v],!0),m=d[0],n=d[1],A[h]={start:m,end:n};P={},f=s.get(\"y_mappers\");for(h in f)l=f[h],g=l.v_map_from_target([y,b],!0),m=g[0],n=g[1],P[h]={start:m,end:n};return E={xrs:A,yrs:P,factor:r},this.plot_view.update_range(E),this.plot_view.interactive_timestamp=Date.now(),null},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=s,e.prototype.type=\"WheelZoomTool\",e.prototype.tool_name=\"Wheel Zoom\",e.prototype.icon=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAgCAYAAABpRpp6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCRTI5MDhEQzIwQjUxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCRTI5MDhERDIwQjUxMUU0ODREQUYzNzM5QTM2MjBCRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkJFMjkwOERBMjBCNTExRTQ4NERBRjM3MzlBMzYyMEJFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkJFMjkwOERCMjBCNTExRTQ4NERBRjM3MzlBMzYyMEJFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+sFLapAAAA8xJREFUeNq8WH9k1VEU/+67ecTYxKM8xlJiifKIMUqUKMvy1CqbEmUxJZbSlGXTLBuJpYi18dpqStOzacT+WcTXpkiRUjziETEeY9bnzHm5O53vj/te7fDx3r3fc+/9fM/3nHPPvWWP0mOOIlVAC3AQqOc2SRZ4A9Cg58CSNrj1+FEnSIYfPynHTyOQArYCO/jRPPAJGAcmMM9f87vKfG3AF+AucMAgS5LgRZ4CH/mFrARkieAs8Aw4ASSBckaS++jZLOv6El4HjAKDwPoIa28GXgLdFmQv4WcO2BVBnXTmeIxK+D5wzLGXa8D1CGT78NPPhjFlGnjAmBbPSLefx65IBf+eZZ81hfznIfsr+W0eaACa2G3MhbuAt8CUD1kyRIfongDa4affhW4Nu2Oj0d2Bfg+6Y2UIukr2x4ShkAMOMQlNyLcmgVqj7z2wk17UDDosFOOYMOdPQ+dkyBcZFkb8DGxz2ckTwrKHA8g6HMn7gQWjbzsHqZSUmJ8sej6Cq7WzrhkzKVeYnmSEXSBM6I17RZ+WNWRfJ6z7K2xy1umUc7lGDizIkDL+AsNRXs6U3YpOUrRfWwS01K2noIuLzg+iTcFSiFLKlQPi8+aNAIwri24QlstaEM6JdoIsHBOdiyJl9RntfiXazUljEdJb3IKw1F10Q/Krtin0KaSD5Ido77MYK10sG0S4ByjzwW2LRT3pYlxLRBFpGM91/r9kRJuC/FbEnVEmhEwQYRqw7IMuC8LjnAKllSeBhEI0Qc8U636luWinWxYPqoFCnuxmX16VR9ldCvINqOH/NK5alpe8NY8qL5Nnl/GMFJhU6g2SZtqaw1xCkrss2pGEFhLp0CxuGow83+BDdoDn+FP8hJFeYusNlODL9LI/ubKLRRxDKfamuaNWRBx4o9TI49NDD9yjSdn9NKFa5jTGrdrIKpw1FJCtU8h6Rp/HwbVyBNOOSGtKGHJKtGdAao/NBO4aWrecS9mwQiuU8KLoi1nOEfepQ6TsFXVxnnO0NWFZEdVZjK8RaSgXoHtGbihwh4ViCM+LvhaL8VJ3xscdqnwOCk4xhDNKYNRHPOZfCakbzGOS+SWyloX8KsIj4lNScLwIuTsgsq+ASnFkmor4JdJayopKeEHZGOJ8OzMoatIkF0XvxIm5cGhcUtyhVqlrh4rNNoU8fI+jOCUs3cYIk14L63py9yo2D7fyBZ+t3AGuWgTmiFOCuCIvHuHFo6QbCpxm4GLIxZ+880j/K8Lm593EVZqnXF9N8UXIFt7zgwoeunDZCJzju44M+nKlEP4twAAD1RclkNDukAAAAABJRU5ErkJggg==\",e.prototype.event_type=\"ontouchstart\"in a?\"pinch\":\"scroll\",e.prototype.default_order=10,e.prototype.initialize=function(t,i){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\"),\"wheel zoom tool\"))},!1),this.add_dependencies(\"tooltip\",this,[\"dimensions\"])},e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{dimensions:[\"width\",\"height\"],speed:1/600})},e}(n.Model),e.exports={Model:r,View:s}},{\"./gesture_tool\":235,underscore:92}],243:[function(t,e,i){var n,r,s,o,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/annotation/span\"),s=t(\"./inspect_tool\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._move=function(t){var e,i,n,r,s,o,a,l,u,h;if(this.mget(\"active\")){for(n=this.plot_model.get(\"frame\"),e=this.plot_model.get(\"canvas\"),u=e.sx_to_vx(t.bokeh.sx),h=e.sy_to_vy(t.bokeh.sy),o=this.mget(\"dimensions\"),a=[],r=0,s=o.length;s>r;r++)i=o[r],l=this.mget(\"spans\")[i],n.contains(u,h)?\"width\"===i?a.push(l.set(\"location\",h)):a.push(l.set(\"location\",u)):a.push(l.unset(\"location\"));return a}},e.prototype._move_exit=function(t){var e,i,n,r,s,o;for(r=this.mget(\"dimensions\"),s=[],i=0,n=r.length;n>i;i++)e=r[i],o=this.mget(\"spans\")[e],s.push(o.unset(\"location\"));return s},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=\"CrosshairTool\",e.prototype.tool_name=\"Crosshair\",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(\"Crosshair\",this._check_dims(this.get(\"dimensions\"),\"crosshair tool\"))},!1),this.add_dependencies(\"tooltip\",this,[\"dimensions\"]),this.set(\"spans\",{width:new o.Model({dimension:\"width\"}),height:new o.Model({dimension:\"height\"})}),n=this.get(\"plot\").get(\"renderers\"),n.push(this.get(\"spans\").width),n.push(this.get(\"spans\").height),this.get(\"plot\").set(\"renderers\",n)},e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{dimensions:[\"width\",\"height\"]})},e}(s.Model),e.exports={Model:n,View:r}},{\"../../renderer/annotation/span\":149,\"./inspect_tool\":245,underscore:92}],244:[function(t,e,i){var n,r,s,o,a,l,u,h,c,p=function(t,e){function i(){this.constructor=t}for(var n in e)d.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},d={}.hasOwnProperty;u=t(\"underscore\"),n=t(\"jquery\"),a=t(\"../../renderer/annotation/tooltip\"),l=t(\"../../util/util\"),o=t(\"./inspect_tool\"),c=t(\"../../common/hittest\"),h=function(t){var e,i,n,r,s;return\"#\"===t.substr(0,1)?t:(i=/(.*?)rgb\\((\\d+), (\\d+), (\\d+)\\)/.exec(t),r=parseInt(i[2]),n=parseInt(i[3]),e=parseInt(i[4]),s=e|n<<8|r<<16,i[1]+\"#\"+s.toString(16))},s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.bind_bokeh_events=function(){var t,e,i,n;for(n=this.mget(\"renderers\"),t=0,e=n.length;e>t;t++)i=n[t],this.listenTo(i.get(\"data_source\"),\"inspect\",this._update);return this.plot_view.canvas_view.canvas_wrapper.css(\"cursor\",\"crosshair\")},e.prototype._move=function(t){var e,i,n,r,s,o;if(this.mget(\"active\")){if(e=this.plot_view.canvas,s=e.sx_to_vx(t.bokeh.sx),o=e.sy_to_vy(t.bokeh.sy),this.plot_view.frame.contains(s,o))return this._inspect(s,o);i=this.mget(\"ttmodels\");for(n in i)r=i[n],r.clear()}},e.prototype._move_exit=function(){var t,e,i,n;t=this.mget(\"ttmodels\"),e=[];for(i in t)n=t[i],e.push(n.clear());return e},e.prototype._inspect=function(t,e,i){var n,r,s,o,a,l,u,h;for(n={type:\"point\",vx:t,vy:e},\"mouse\"===this.mget(\"mode\")?n.type=\"point\":(n.type=\"span\",\"vline\"===this.mget(\"mode\")?n.direction=\"h\":n.direction=\"v\"),r=[],s=[],u=this.mget(\"renderers\"),o=0,a=u.length;a>o;o++)l=u[o],h=l.get(\"data_source\").get(\"selection_manager\"),h.inspect(this,this.plot_view.renderers[l.id],n,{geometry:n});null!=this.mget(\"callback\")&&this._emit_callback(n)},e.prototype._update=function(t,e,i,n,r){var s,o,a,l,u,h,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j,O,F,L,H,B,W,q,Y,V,$,U,G;if(m=r.geometry,B=null!=(M=this.mget(\"ttmodels\")[i.model.id])?M:null,null!=B&&(B.clear(),C=[t[\"1d\"].indices,t[\"2d\"].indices],v=C[0],y=C[1],t[\"0d\"].flag!==!1||0!==v.length||0!==y.length)){for(q=m.vx,Y=m.vy,s=this.plot_model.get(\"canvas\"),g=this.plot_model.get(\"frame\"),L=s.vx_to_sx(q),H=s.vy_to_sy(Y),$=g.get(\"x_mappers\")[i.mget(\"x_range_name\")],G=g.get(\"y_mappers\")[i.mget(\"y_range_name\")],V=$.map_from_target(q),U=G.map_from_target(Y),T=t[\"0d\"].indices,b=0,x=T.length;x>b;b++)_=T[b],h=i.glyph.x[_+1],p=i.glyph.y[_+1],\"interp\"===this.mget(\"line_policy\")?(S=i.glyph.get_interpolation_hit(_,m),h=S[0],p=S[1],z=$.map_to_target(h),j=G.map_to_target(p)):\"prev\"===this.mget(\"line_policy\")?(z=s.sx_to_vx(i.glyph.sx[_]),j=s.sy_to_vy(i.glyph.sy[_])):\"next\"===this.mget(\"line_policy\")?(z=s.sx_to_vx(i.glyph.sx[_+1]),j=s.sy_to_vy(i.glyph.sy[_+1])):\"nearest\"===this.mget(\"line_policy\")?(o=i.glyph.sx[_],a=i.glyph.sy[_],d=c.dist_2_pts(o,a,L,H),l=i.glyph.sx[_+1],u=i.glyph.sy[_+1],f=c.dist_2_pts(l,u,L,H),f>d?(A=[o,a],O=A[0],F=A[1]):(P=[l,u],O=P[0],F=P[1],_+=1),h=i.glyph.x[_],p=i.glyph.y[_],z=s.sx_to_vx(O),j=s.sy_to_vy(F)):(E=[q,Y],z=E[0],j=E[1]),W={index:_,x:V,y:U,vx:q,vy:Y,sx:L,sy:H,data_x:h,data_y:p,rx:z,ry:j},B.add(z,j,this._render_tooltips(n,_,W));for(I=t[\"1d\"].indices,w=0,k=I.length;k>w;w++)_=I[w],h=null!=(N=i.glyph.x)?N[_]:void 0,p=null!=(R=i.glyph.y)?R[_]:void 0,\"snap_to_data\"===this.mget(\"point_policy\")?(z=s.sx_to_vx(i.glyph.scx(_,L,H)),j=s.sy_to_vy(i.glyph.scy(_,L,H))):(D=[q,Y],z=D[0],j=D[1]),W={index:_,x:V,y:U,vx:q,vy:Y,sx:L,sy:H,data_x:h,data_y:p},B.add(z,j,this._render_tooltips(n,_,W));return null}},e.prototype._emit_callback=function(t){var e,i,n,r,s,o;r=this.mget(\"renderers\")[0],n=this.plot_view.renderers[r.id].hit_test(t),e=this.plot_model.get(\"canvas\"),i=this.plot_model.get(\"frame\"),t.sx=e.vx_to_sx(t.vx),t.sy=e.vy_to_sy(t.vy),s=i.get(\"x_mappers\")[r.get(\"x_range_name\")],o=i.get(\"y_mappers\")[r.get(\"y_range_name\")],t.x=s.map_from_target(t.vx),t.y=o.map_from_target(t.vy),this.mget(\"callback\").execute(this.model,{index:n,geometry:t})},e.prototype._render_tooltips=function(t,e,i){var r,s,o,a,c,p,d,f,g,m,_,v,y,b,w,x,k,M;if(k=this.mget(\"tooltips\"),u.isString(k))return n(\"<div>\").html(l.replace_placeholders(k,t,e,i));for(w=n(\"<table></table>\"),c=0,d=k.length;d>c;c++){if(m=k[c],p=m[0],M=m[1],v=n(\"<tr></tr>\"),v.append(n(\"<td class='bk-tooltip-row-label'>\").text(p+\": \")),x=n(\"<td class='bk-tooltip-row-value'></td>\"),M.indexOf(\"$color\")>=0){if(_=M.match(/\\$color(\\[.*\\])?:(\\w*)/),f=_[0],g=_[1],r=_[2],o=t.get_column(r),null==o){y=n(\"<span>\").text(r+\" unknown\"),x.append(y);continue}if(a=(null!=g?g.indexOf(\"hex\"):void 0)>=0,b=(null!=g?g.indexOf(\"swatch\"):void 0)>=0,s=o[e],null==s){y=n(\"<span>(null)</span>\"),x.append(y);continue}a&&(s=h(s)),y=n(\"<span>\").text(s),x.append(y),b&&(y=n(\"<span class='bk-tooltip-color-block'> </span>\"),y.css({backgroundColor:s})),x.append(y)}else M=M.replace(\"$~\",\"$data_\"),M=l.replace_placeholders(M,t,e,i),x.append(n(\"<span>\").html(M));v.append(x),w.append(v)}return w},e}(o.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}var i;return p(e,t),e.prototype.default_view=s,e.prototype.type=\"HoverTool\",e.prototype.tool_name=\"Hover Tool\",i=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA8ElEQVQ4T42T0Q2CMBCGaQjPxgmMG/jelIQN3ECZQEfADRwBJzBuQCC81wlkBHxvqP8lmhTsUfpSWvp/vfvvKiJn1HVdpml6dPdC38I90DSNxVobYzKMPiSm/z5AZK3t4zjOpJQ6BPECfiKAcqRUzkFmASQEhHzJOUgQ8BWyviwFsL4sBnC+LAE84YMWQnSAVCixdkvMAiB6Q7TCfJtrLq4PHkmSnHHbi0LHvOYa6w/g3kitjSgOYFyUUoWvlCPA9C1gvQfgDmiHNLZBgO8A3geZt+G6chQBA7hi/0QVQBrZ9EwQ0LbtbhgGghQAVFPAB25HmRH8b2/nAAAAAElFTkSuQmCC\",e.prototype.initialize=function(t,i){var n,r,s,o,l,h,c,p;if(e.__super__.initialize.call(this,t,i),p={},l=this.get(\"plot\").get(\"renderers\"),c=this.get(\"tooltips\"))for(o=this.get(\"renderers\"),n=0,r=o.length;r>n;n++)s=o[n],h=new a.Model,h.set(\"custom\",u.isString(c)),p[s.id]=h,l.push(h);this.set(\"ttmodels\",p),this.get(\"plot\").set(\"renderers\",l)},e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{tooltips:[[\"index\",\"$index\"],[\"data (x, y)\",\"($x, $y)\"],[\"canvas (x, y)\",\"($sx, $sy)\"]],mode:\"mouse\",point_policy:\"snap_to_data\",line_policy:\"prev\"})},e}(o.Model),e.exports={Model:r,View:s}},{\"../../common/hittest\":116,\"../../renderer/annotation/tooltip\":150,\"../../util/util\":250,\"./inspect_tool\":245,jquery:18,underscore:92}],245:[function(t,e,i){var n,r,s,o,a,l,u,h,c=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(\"underscore\"),n=t(\"backbone\"),h=t(\"../../common/logging\").logger,a=t(\"../tool\"),u=t(\"./inspect_tool_list_item_template\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.className=\"bk-toolbar-inspector\",e.prototype.template=u,e.prototype.events={'click [type=\"checkbox\"]':\"_clicked\"},e.prototype.initialize=function(t){return this.listenTo(this.model,\"change:active\",this.render),this.render()},e.prototype.render=function(){return this.$el.html(this.template(this.model.attrs_and_props())),this},e.prototype._clicked=function(t){var e;return e=this.model.get(\"active\"),this.model.set(\"active\",!e)},e}(n.View),o=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.event_type=\"move\",e.prototype.initialize=function(t,i){var n,r,s,o,a,l,u;for(e.__super__.initialize.call(this,t,i),o=this.get(\"names\"),l=this.get(\"renderers\"),0===l.length&&(n=this.get(\"plot\").get(\"renderers\"),l=function(){var t,e,i;for(i=[],t=0,e=n.length;e>t;t++)a=n[t],\"GlyphRenderer\"===a.type&&i.push(a);return i}()),o.length>0&&(l=function(){var t,e,i;for(i=[],t=0,e=l.length;e>t;t++)a=l[t],o.indexOf(a.get(\"name\"))>=0&&i.push(a);return i}()),this.set(\"renderers\",l),h.debug(\"setting \"+l.length+\" renderers for \"+this.type+\" \"+this.id),u=[],r=0,s=l.length;s>r;r++)a=l[r],u.push(h.debug(\" - \"+a.type+\" \"+a.id));return u},e.prototype.bind_bokeh_events=function(){return e.__super__.bind_bokeh_events.call(this),this.listenTo(events,\"move\",this._inspect)},e.prototype._inspect=function(t,e,i){},e.prototype._exit_inner=function(){},e.prototype._exit_outer=function(){},e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{renderers:[],names:[],inner_only:!0,active:!0,event_type:\"move\"})},e}(a.Model),e.exports={Model:r,View:o,ListItemView:s}},{\"../../common/logging\":119,\"../tool\":247,\"./inspect_tool_list_item_template\":246,backbone:2,underscore:92}],246:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<input type=\"checkbox\" '),this.active&&i.push(\"checked\"),i.push(\">\"),i.push(n(this.tool_name)),i.push(\"</input>\\n\")}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],247:[function(t,e,i){var n,r,s,o,a,l,u=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/has_properties\"),l=t(\"../common/logging\").logger,r=t(\"../common/plot_widget\"),o=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),s=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\")<0)&&l.warn(e+\" given unrecognized dimensions: \"+t):l.warn(e+\" given more than two dimensions: \"+t),t.indexOf(\"width\")>=0&&(r=!0),t.indexOf(\"height\")>=0&&(i=!0),[r,i]},e.prototype._get_dim_tooltip=function(t,e){var i,n;return n=e[0],i=e[1],n&&!i?t+\" (x-axis)\":i&&!n?t+\" (y-axis)\":t},e.prototype._get_dim_limits=function(t,e,i,n){var r,s,o,l,u,h,c,p;return o=t[0],h=t[1],l=e[0],c=e[1],r=i.get(\"h_range\"),n.indexOf(\"width\")>=0?(u=[a.min([o,l]),a.max([o,l])],\n",
       "        u=[a.max([u[0],r.get(\"min\")]),a.min([u[1],r.get(\"max\")])]):u=[r.get(\"min\"),r.get(\"max\")],s=i.get(\"v_range\"),n.indexOf(\"height\")>=0?(p=[a.min([h,c]),a.max([h,c])],p=[a.max([p[0],s.get(\"min\")]),a.min([p[1],s.get(\"max\")])]):p=[s.get(\"min\"),s.get(\"max\")],[u,p]},e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{tool_name:this.tool_name,level:\"overlay\"})},e}(n),e.exports={Model:s,View:o}},{\"../common/has_properties\":115,\"../common/logging\":119,\"../common/plot_widget\":125,underscore:92}],248:[function(t,e,i){var n,r;r=function(t,e,i,n,r,s,o,a){var l,u,h,c,p,d,f,g,m,_,v,y;return l=a*r,u=-o*s,h=o*r,c=a*s,d=.5*(n-i),p=8/3*Math.sin(.5*d)*Math.sin(.5*d)/Math.sin(d),f=t+Math.cos(i)-p*Math.sin(i),_=e+Math.sin(i)+p*Math.cos(i),m=t+Math.cos(n),y=e+Math.sin(n),g=m+p*Math.sin(n),v=y-p*Math.cos(n),[l*f+u*_,h*f+c*_,l*g+u*v,h*g+c*v,l*m+u*y,h*m+c*y]},n=function(t,e,i,n,s,o,a,l,u){var h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I,N,R,z,j,O,F;return T=s*(Math.PI/180),D=Math.sin(T),f=Math.cos(T),w=Math.abs(i),x=Math.abs(n),v=f*(t-l)*.5+D*(e-u)*.5,y=f*(e-u)*.5-D*(t-l)*.5,_=v*v/(w*w)+y*y/(x*x),_>1&&(_=Math.sqrt(_),w*=_,x*=_),h=f/w,c=D/w,p=-D/x,d=f/x,N=h*t+c*e,j=p*t+d*e,R=h*l+c*u,O=p*l+d*u,g=(R-N)*(R-N)+(O-j)*(O-j),C=1/g-.25,0>C&&(C=0),M=Math.sqrt(C),a===o&&(M=-M),z=.5*(N+R)-M*(O-j),F=.5*(j+O)+M*(R-N),S=Math.atan2(j-F,N-z),A=Math.atan2(O-F,R-z),I=A-S,0>I&&1===a?I+=2*Math.PI:I>0&&0===a&&(I-=2*Math.PI),k=Math.ceil(Math.abs(I/(.5*Math.PI+.001))),b=function(){var t,e,i;for(i=[],m=t=0,e=k;e>=0?e>t:t>e;m=e>=0?++t:--t)P=S+m*I/k,E=S+(m+1)*I/k,i.push(r(z,F,P,E,w,x,D,f));return i}()},e.exports={arc_to_bezier:n,segment_to_bezier:r}},{}],249:[function(t,e,i){var n,r,s;r=t(\"underscore\"),n=t(\"jquery\"),s=function(t,e){var i,r;return i=function(i){return function(){return n.contains(document.documentElement,t)?(clearInterval(r),e()):void 0}}(this),r=setInterval(i,50)},e.exports={waitForElement:s}},{jquery:18,underscore:92}],250:[function(t,e,i){var n,r,s,o,a;s=t(\"underscore\"),r=t(\"sprintf\"),n=t(\"../../vendor/numeral.js-1.5.3/numeral.js\"),o=function(t){var e;return s.isNumber(t)?(e=function(){switch(!1){case Math.floor(t)!==t:return\"%d\";case!(Math.abs(t)>.1&&Math.abs(t)<1e3):return\"%0.3f\";default:return\"%0.3e\"}}(),r.sprintf(e,t)):\"\"+t},a=function(t,e,i,r){return null==r&&(r={}),t=t.replace(/(^|[^\\$])\\$(\\w+)/g,function(t){return function(t,e,i){return e+\"@$\"+i}}(this)),t=t.replace(/(^|[^@])@(?:(\\$?\\w+)|{([^{}]+)})(?:{([^{}]+)})?/g,function(t){return function(t,a,l,u,h){var c,p,d;return l=null!=u?u:l,d=\"$\"===l[0]?r[l.substring(1)]:null!=(c=e.get_column(l))?c[i]:void 0,p=null==d?\"???\":null!=h?n.format(d,h):o(d),\"\"+a+s.escape(p)}}(this))},e.exports={replace_placeholders:a}},{\"../../vendor/numeral.js-1.5.3/numeral.js\":304,sprintf:90,underscore:92}],251:[function(t,e,i){(function(i){var n,r,s,o,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=null!=i._bokehTest?void 0:t(\"jquery-ui/autocomplete\"),o=t(\"./text_input\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.render=function(){var t;return e.__super__.render.call(this),t=this.$el.find(\"input\"),t.autocomplete({source:this.mget(\"completions\")}),t.autocomplete(\"widget\").addClass(\"bk-autocomplete-input\"),this},e}(o.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"AutocompleteInput\",e.prototype.default_view=s,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{completions:[]})},e}(o.Model),e.exports={View:s,Model:r}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./text_input\":288,\"jquery-ui/autocomplete\":5,underscore:92}],252:[function(t,e,i){var n,r,s,o,a,l,u=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\"),l=t(\"../common/build_views\"),s=t(\"../common/continuum_view\"),o=t(\"../common/has_parent\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.tagName=\"button\",e.prototype.events={click:\"change_input\"},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;if(t=this.mget(\"icon\"),null!=t){l(this.views,[t]),n=this.views;for(e in n)h.call(n,e)&&(r=n[e],r.$el.detach())}return this.$el.empty(),this.$el.addClass(\"bk-bs-btn\"),this.$el.addClass(\"bk-bs-btn-\"+this.mget(\"type\")),this.mget(\"disabled\")&&this.$el.attr(\"disabled\",\"disabled\"),i=this.mget(\"label\"),null!=t&&(this.$el.append(this.views[t.id].$el),i=\" \"+i),this.$el.append(document.createTextNode(i)),this},e.prototype.change_input=function(){var t;return this.mset(\"clicks\",this.mget(\"clicks\")+1),this.model.save(),null!=(t=this.mget(\"callback\"))?t.execute(this.model):void 0},e}(s),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type=\"Button\",e.prototype.default_view=r,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{clicks:0,label:\"Button\",icon:null,type:\"default\",disabled:!1})},e}(o),e.exports={Model:n,View:r}},{\"../common/build_views\":101,\"../common/continuum_view\":109,\"../common/has_parent\":114,underscore:92}],253:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A=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;S=t(\"underscore\"),n=t(\"jquery\"),null!=i._bokehTest?(r=void 0,s=void 0):(r=t(\"jquery-ui/autocomplete\"),s=t(\"jquery-ui/spinner\")),h=t(\"../common/continuum_view\"),d=t(\"../common/has_properties\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.editorDefaults={},e.prototype.defaults=function(){return S.extend({},e.__super__.defaults.call(this),this.editorDefaults)},e}(d),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.tagName=\"div\",e.prototype.className=\"bk-cell-editor\",e.prototype.input=null,e.prototype.emptyValue=null,e.prototype.defaultValue=null,e.prototype.initialize=function(t){return e.__super__.initialize.call(this,{}),this.args=t,this.model=this.args.column.editor,this.render()},e.prototype.render=function(){return this.$el.appendTo(this.args.container),this.$input=n(this.input),this.$el.append(this.$input),this.renderEditor(),this.disableNavigation(),this},e.prototype.renderEditor=function(){},e.prototype.disableNavigation=function(){return this.$input.keydown(function(t){return function(t){var e;switch(e=function(){return t.stopImmediatePropagation()},t.keyCode){case n.ui.keyCode.LEFT:return e();case n.ui.keyCode.RIGHT:return e();case n.ui.keyCode.UP:return e();case n.ui.keyCode.DOWN:return e();case n.ui.keyCode.PAGE_UP:return e();case n.ui.keyCode.PAGE_DOWN:return e()}}}(this))},e.prototype.destroy=function(){return this.remove()},e.prototype.focus=function(){return this.$input.focus()},e.prototype.show=function(){},e.prototype.hide=function(){},e.prototype.position=function(){},e.prototype.getValue=function(){return this.$input.val()},e.prototype.setValue=function(t){return this.$input.val(t)},e.prototype.serializeValue=function(){return this.getValue()},e.prototype.isValueChanged=function(){return!(\"\"===this.getValue()&&null==this.defaultValue)&&this.getValue()!==this.defaultValue},e.prototype.applyValue=function(t,e){return this.args.grid.getData().setField(t.index,this.args.column.field,e)},e.prototype.loadValue=function(t){var e;return e=t[this.args.column.field],this.defaultValue=null!=e?e:this.emptyValue,this.setValue(this.defaultValue)},e.prototype.validateValue=function(t){var e;return this.args.column.validator&&(e=this.args.column.validator(t),!e.valid)?e:{valid:!0,msg:null}},e.prototype.validate=function(){return this.validateValue(this.getValue())},e}(h),k=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.emptyValue=\"\",e.prototype.input='<input type=\"text\" />',e.prototype.renderEditor=function(){var t;return t=this.model.get(\"completions\"),S.isEmpty(t)||(this.$input.autocomplete({source:t}),this.$input.autocomplete(\"widget\").addClass(\"bk-cell-editor-completion\")),this.$input.focus().select()},e.prototype.loadValue=function(t){return e.__super__.loadValue.call(this,t),this.$input[0].defaultValue=this.defaultValue,this.$input.select()},e}(a),x=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"StringEditor\",e.prototype.default_view=k,e.prototype.editorDefaults={completions:[]},e}(o),C=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e}(a),M=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"TextEditor\",e.prototype.default_view=C,e}(o),w=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.input=\"<select />\",e.prototype.renderEditor=function(){var t,e,i,r;for(r=this.model.get(\"options\"),t=0,e=r.length;e>t;t++)i=r[t],this.$input.append(n(\"<option>\").attr({value:i}).text(i));return this.focus()},e.prototype.loadValue=function(t){return e.__super__.loadValue.call(this,t),this.$input.select()},e}(a),b=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"SelectEditor\",e.prototype.default_view=w,e.prototype.editorDefaults={options:[]},e}(o),y=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e}(a),v=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"PercentEditor\",e.prototype.default_view=y,e}(o),u=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.input='<input type=\"checkbox\" value=\"true\" />',e.prototype.renderEditor=function(){return this.focus()},e.prototype.loadValue=function(t){return this.defaultValue=!!t[this.args.column.field],this.$input.prop(\"checked\",this.defaultValue)},e.prototype.serializeValue=function(){return this.$input.prop(\"checked\")},e}(a),l=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"CheckboxEditor\",e.prototype.default_view=u,e}(o),g=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.input='<input type=\"text\" />',e.prototype.renderEditor=function(){return this.$input.spinner({step:this.model.get(\"step\")}),this.$input.focus().select()},e.prototype.remove=function(){return this.$input.spinner(\"destroy\"),e.__super__.remove.call(this)},e.prototype.serializeValue=function(){return parseInt(this.getValue(),10)||0},e.prototype.loadValue=function(t){return e.__super__.loadValue.call(this,t),this.$input[0].defaultValue=this.defaultValue,this.$input.select()},e.prototype.validateValue=function(t){return isNaN(t)?{valid:!1,msg:\"Please enter a valid integer\"}:e.__super__.validateValue.call(this,t)},e}(a),f=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"IntEditor\",e.prototype.default_view=g,e.prototype.editorDefaults={step:1},e}(o),_=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.input='<input type=\"text\" />',e.prototype.renderEditor=function(){return this.$input.spinner({step:this.model.get(\"step\")}),this.$input.focus().select()},e.prototype.remove=function(){return this.$input.spinner(\"destroy\"),e.__super__.remove.call(this)},e.prototype.serializeValue=function(){return parseFloat(this.getValue())||0},e.prototype.loadValue=function(t){return e.__super__.loadValue.call(this,t),this.$input[0].defaultValue=this.defaultValue,this.$input.select()},e.prototype.validateValue=function(t){return isNaN(t)?{valid:!1,msg:\"Please enter a valid number\"}:e.__super__.validateValue.call(this,t)},e}(a),m=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"NumberEditor\",e.prototype.default_view=_,e.prototype.editorDefaults={step:.01},e}(o),T=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e}(a),D=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"TimeEditor\",e.prototype.default_view=T,e}(o),p=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.emptyValue=new Date,e.prototype.input='<input type=\"text\" />',e.prototype.renderEditor=function(){return this.calendarOpen=!1,this.$input.datepicker({showOn:\"button\",buttonImageOnly:!0,beforeShow:function(t){return function(){return t.calendarOpen=!0}}(this),onClose:function(t){return function(){return t.calendarOpen=!1}}(this)}),this.$input.siblings(\".bk-ui-datepicker-trigger\").css({\"vertical-align\":\"middle\"}),this.$input.width(this.$input.width()-26),this.$input.focus().select()},e.prototype.destroy=function(){return n.datepicker.dpDiv.stop(!0,!0),this.$input.datepicker(\"hide\"),this.$input.datepicker(\"destroy\"),e.__super__.destroy.call(this)},e.prototype.show=function(){return this.calendarOpen&&n.datepicker.dpDiv.stop(!0,!0).show(),e.__super__.show.call(this)},e.prototype.hide=function(){return this.calendarOpen&&n.datepicker.dpDiv.stop(!0,!0).hide(),e.__super__.hide.call(this)},e.prototype.position=function(t){return this.calendarOpen&&n.datepicker.dpDiv.css({top:t.top+30,left:t.left}),e.__super__.position.call(this)},e.prototype.getValue=function(){return this.$input.datepicker(\"getDate\").getTime()},e.prototype.setValue=function(t){return this.$input.datepicker(\"setDate\",new Date(t))},e}(a),c=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return A(e,t),e.prototype.type=\"DateEditor\",e.prototype.default_view=p,e}(o),e.exports={String:{Model:x,View:k},Text:{Model:M,View:C},Select:{Model:b,View:w},Percent:{Model:v,View:y},Checkbox:{Model:l,View:u},Int:{Model:f,View:g},Number:{Model:m,View:_},Time:{Model:D,View:T},Date:{Model:c,View:p}}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/continuum_view\":109,\"../common/has_properties\":115,jquery:18,\"jquery-ui/autocomplete\":5,\"jquery-ui/spinner\":16,underscore:92}],254:[function(t,e,i){var n,r,s,o,a,l,u,h,c,p=function(t,e){function i(){this.constructor=t}for(var n in e)d.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},d={}.hasOwnProperty;c=t(\"underscore\"),n=t(\"jquery\"),u=t(\"../../vendor/numeral.js-1.5.3/numeral.js\"),a=t(\"../common/has_properties\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.formatterDefaults={},e.prototype.format=function(t,e,i,n,r){return null===i?\"\":(i+\"\").replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\")},e.prototype.defaults=function(){return c.extend({},e.__super__.defaults.call(this),this.formatterDefaults)},e}(a),h=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,s,o){var a,l,u,h;if(l=e.__super__.format.call(this,t,i,r,s,o),a=this.get(\"font_style\"),u=this.get(\"text_align\"),h=this.get(\"text_color\"),null!=a||null!=u||null!=h){switch(l=n(\"<span>\"+l+\"</span>\"),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!=h&&(l=l.css(\"color\",h)),l=l.prop(\"outerHTML\")}return l},e}(s),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,s){var o,a,l;return o=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,o,a,l),e.__super__.format.call(this,t,i,n,r,s)},e}(h),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,s){return i?n(\"<i>\").addClass(this.get(\"icon\")).html():\"\"},e}(s),o=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,s,o){var a;return r=c.isString(r)?parseInt(r,10):r,a=n.datepicker.formatDate(this.getFormat(),new Date(r)),e.__super__.format.call(this,t,i,a,s,o)},e}(s),e.exports={String:{Model:h},Number:{Model:l},Boolean:{Model:r},Date:{Model:o}}},{\"../../vendor/numeral.js-1.5.3/numeral.js\":304,\"../common/has_properties\":115,jquery:18,underscore:92}],255:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h=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,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\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(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,s,o,a,l;for(this.$el.empty(),this.$el.addClass(\"bk-bs-btn-group\"),this.$el.attr(\"data-bk-bs-toggle\",\"buttons\"),i=this.mget(\"active\"),l=this.mget(\"labels\"),r=s=0,a=l.length;a>s;r=++s)o=l[r],t=n('<input type=\"checkbox\">').attr({value:\"\"+r}),p.call(i,r)>=0&&t.prop(\"checked\",!0),e=n('<label class=\"bk-bs-btn\"></label>'),e.text(o).prepend(t),e.addClass(\"bk-bs-btn-\"+this.mget(\"type\")),p.call(i,r)>=0&&e.addClass(\"bk-bs-active\"),this.$el.append(e);return this},e.prototype.change_input=function(){var t,e,i,n;return t=function(){var t,n,r,s;for(r=this.$(\"input\"),s=[],i=t=0,n=r.length;n>t;i=++t)e=r[i],e.checked&&s.push(i);return s}.call(this),this.mset(\"active\",t),this.model.save(),null!=(n=this.mget(\"callback\"))?n.execute(this.model):void 0},e}(a),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type=\"CheckboxButtonGroup\",e.prototype.default_view=o,e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{active:[],labels:[],type:\"default\",disabled:!1})},e}(l),e.exports={Model:s,View:o}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/continuum_view\":109,\"../common/has_parent\":114,\"bootstrap/button\":293,jquery:18,underscore:92}],256:[function(t,e,i){var n,r,s,o,a,l,u=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,c=[].indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(e in this&&this[e]===t)return e;return-1};l=t(\"underscore\"),n=t(\"jquery\"),o=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.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,s,o,a,l,u;for(this.$el.empty(),r=this.mget(\"active\"),u=this.mget(\"labels\"),s=o=0,l=u.length;l>o;s=++o)a=u[s],e=n('<input type=\"checkbox\">').attr({value:\"\"+s}),this.mget(\"disabled\")&&e.prop(\"disabled\",!0),c.call(r,s)>=0&&e.prop(\"checked\",!0),i=n(\"<label></label>\").text(a).prepend(e),this.mget(\"inline\")?(i.addClass(\"bk-bs-checkbox-inline\"),this.$el.append(i)):(t=n('<div class=\"bk-bs-checkbox\"></div>').append(i),this.$el.append(t));return this},e.prototype.change_input=function(){var t,e,i,n;return t=function(){var t,n,r,s;for(r=this.$(\"input\"),s=[],i=t=0,n=r.length;n>t;i=++t)e=r[i],e.checked&&s.push(i);return s}.call(this),this.mset(\"active\",t),this.model.save(),null!=(n=this.mget(\"callback\"))?n.execute(this.model):void 0},e}(o),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type=\"CheckboxGroup\",e.prototype.default_view=s,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:s}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,jquery:18,underscore:92}],257:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S,A,P,E,I=function(t,e){function i(){this.constructor=t}for(var n in e)N.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},N={}.hasOwnProperty,R=function(t,e){return function(){return t.apply(e,arguments)}};M=t(\"underscore\"),null!=i._bokehTest?(P=void 0,E=void 0):(P=t(\"jquery-ui/draggable\"),E=t(\"jquery-ui/droppable\")),C=t(\"../common/build_views\"),n=t(\"../common/close_wrapper\"),r=t(\"../common/collection\"),h=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 I(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\").append(this.plot_view.$el),this},e.prototype.render=function(){var t;return null!=this.columnview&&this.columnview.$el.detach(),this.$el.empty(),t=A(),this.$el.html(t),this.filterview=new v({el:this.$(\".bk-filters\"),collection:this.model.columns,model:this.model}),this.facetsview=new _({el:this.$el,model:this.model}),this.plotattributeview=new w({el:this.$el,model:this.model}),this.columnview=new a({collection:this.model.columns}),this.$(\".bk-column-list\").append(this.columnview.el),this.$(\".bk-crossfilter-configuration\").height(this.mget(\"height\")),this.$(\".bk-crossfilter-configuration\").width(400),this},e}(h),c=function(t){function e(){return this._set_columns=R(this._set_columns,this),e.__super__.constructor.apply(this,arguments)}return I(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 s,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 M.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 I(e,t),e.prototype.model=c,e}(r),w=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.listenTo(this.model,\"change:plot_selector\",M.bind(this.render_selector,\"plot\")),this.listenTo(this.model,\"change:x_selector\",M.bind(this.render_selector,\"x\")),this.listenTo(this.model,\"change:y_selector\",M.bind(this.render_selector,\"y\")),this.listenTo(this.model,\"change:agg_selector\",M.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.plot_selector_view=new e.default_view({model:e}),i.append(this.plot_selector_view.$el)},e}(h),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(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 M.map(this.views,function(t){return t.$el.detach()}),C(this.views,this.collection.models),M.map(this.collection.models,function(t){return function(e){return t.$el.append(t.views[e.id].$el)}}(this)),this},e}(h),m=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e.prototype.tagName=\"span\",e.prototype.attributes={\"class\":\"bk-facet-label\"},e.prototype.events={click:\"remove\"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.name=t.name,this.render()},e.prototype.render=function(){return this.$el.html(S({name:this.name})),this},e}(h),_=function(t){function e(){return this.drop_tab=R(this.drop_tab,this),this.drop_y=R(this.drop_y,this),this.drop_x=R(this.drop_x,this),this.drop=R(this.drop,this),this.add_facet=R(this.add_facet,this),this.remove_facet=R(this.remove_facet,this),e.__super__.constructor.apply(this,arguments)}return I(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.$(\".bk-facet-x\"),this.facet_y_node=this.$(\".bk-facet-y\"),this.facet_tab_node=this.$(\".bk-facet-tab\"),this.facet_x_node.droppable({drop:this.drop_x,tolerance:\"pointer\",hoverClass:\"bk-droppable-hover\"}),this.facet_y_node.droppable({drop:this.drop_y,tolerance:\"pointer\",hoverClass:\"bk-droppable-hover\"}),this.facet_tab_node.droppable({drop:this.drop_tab,tolerance:\"pointer\",hoverClass:\"bk-droppable-hover\"})},e.prototype.render_all_facets=function(){this.render_facets(this.facet_x_node,\"facet_x\",this.model.get(\"facet_x\")),this.render_facets(this.facet_y_node,\"facet_y\",this.model.get(\"facet_y\")),this.render_facets(this.facet_tab_node,\"facet_tab\",this.model.get(\"facet_tab\"))},e.prototype.render_facets=function(t,e,i){var n,r,s,o,a;for(t=t.find(\".bk-facets-selections\"),t.empty(),o=[],r=0,s=i.length;s>r;r++)n=i[r],a=new m({name:n}),this.listenTo(a,\"remove\",function(){var t;return this.remove_facet(n,t=!0)}),o.push(t.append(a.$el));return o},e.prototype.remove_facet=function(t,e){var i,n,r,s,o,a;for(null==e&&(e=!0),s=[\"facet_x\",\"facet_y\",\"facet_tab\"],n=0,r=s.length;r>n;n++)o=s[n],i=M.clone(this.model.get(o)),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(o,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=M.clone(this.model.get(t)),i.indexOf(e)<0&&(i.push(e),this.model.set(t,i)),this.model.save()},e.prototype.drop=function(t,e,i){var n,r;return n=i.helper.data(\"model\"),r=n.get(\"name\"),this.add_facet(t,r)},e.prototype.drop_x=function(t,e){return this.drop(\"facet_x\",t,e)},e.prototype.drop_y=function(t,e){return this.drop(\"facet_y\",t,e)},e.prototype.drop_tab=function(t,e){return this.drop(\"facet_tab\",t,e)},e}(h),v=function(t){function e(){return this.drop=R(this.drop,this),e.__super__.constructor.apply(this,arguments)}return I(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.views={},this.render(),this.render_columns_selectors,this.listenTo(this.model,\"change:filter_widgets\",this.render_column_selectors)},e.prototype.drop=function(t,e){var i,n;return i=e.helper.data(\"model\"),n=M.clone(this.model.get(\"filtering_columns\")),n.push(i.get(\"name\")),this.model.set(\"filtering_columns\",n),this.model.save()},e.prototype.render=function(){return this.$el.droppable({drop:this.drop,tolerance:\"pointer\",hoverClass:\"bk-droppable-hover\"}),this},e.prototype.render_column_selectors=function(){var t,e,i,r,s,o,a,l;M.map(this.views,function(t){return t.$el.detach()}),this.$el.find(\".bk-filters-selections\").empty(),e={},a=this.mget(\"filter_widgets\");for(s in a)N.call(a,s)&&(l=a[s],e[s]=this.model.resolve_ref(l));return r=this.mget(\"filtering_columns\"),i=function(){var i,n,s;for(s=[],i=0,n=r.length;n>i;i++)t=r[i],null!=e[t]&&s.push(e[t]);return s}(),o=C(this.views,i),M.map(o,function(t){return function(e){return t.listenTo(e,\"remove\",t.child_remove)}}(this)),M.map(i,function(t){return function(e){var i;return i=new n.View({view:t.views[e.id]}),t.$el.find(\".bk-filters-selections\").append(i.$el)}}(this))},e.prototype.child_remove=function(t){var e,i,n,r,s,o;r=this.mget(\"filter_widgets\");for(e in r)if(N.call(r,e)&&(o=r[e],i=this.model.resolve_ref(o),i===t.model)){s=e;break}return n=M.filter(this.mget(\"filtering_columns\"),function(t){return t!==s}),this.mset(\"filtering_columns\",n),this.model.save()},e}(h),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e.prototype.template=T,e.prototype.attributes={\"class\":\"bk-crossfilter-column-entry bk-bs-panel bk-bs-panel-primary\"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render()},e.prototype.render=function(){return this.$el.html(this.template(this.model.attributes)),this.$el.draggable({appendTo:\"body\",containment:\"document\",helper:\"clone\",start:function(t){return function(e,i){return i.helper.data(\"model\",t.model)}}(this)}),this},e}(h),k=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e}(o),x=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e.prototype.default_view=k,e.prototype.defaults=function(){return M.extend({},e.__super__.defaults.call(this),{type:\"TimeColumn\",label:\"Time\",name:\"\",fields:[\"count\",\"unique\",\"first\",\"last\"],count:0,unique:0,first:0,last:0})},e}(b),g=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e}(o),f=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e.prototype.default_view=g,e.prototype.defaults=function(){return M.extend({},e.__super__.defaults.call(this),{type:\"DiscreteColumn\",label:\"Factor\",name:\"\",fields:[\"count\",\"unique\",\"top\",\"freq\"],count:0,unique:0,top:0,freq:0})},e}(b),u=function(t){\n",
       "        function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e}(o),l=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e.prototype.default_view=u,e.prototype.defaults=function(){return M.extend({},e.__super__.defaults.call(this),{type:\"ContinuousColumn\",label:\"Continuous\",name:\"\",fields:[\"count\",\"mean\",\"std\",\"min\",\"max\"],count:0,mean:0,std:0,min:0,max:0})},e}(b),D={DiscreteColumn:f,TimeColumn:x,ContinuousColumn:l},s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return I(e,t),e.prototype.model=function(t,e){return t.type in D?new D[t.type](t):(console.log(\"Unknown column type: '\"+t.type+\"'\"),null)},e}(r),e.exports={Model:c,View:p,Collection:new d}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/build_views\":101,\"../common/close_wrapper\":106,\"../common/collection\":107,\"../common/continuum_view\":109,\"../common/has_parent\":114,\"../common/has_properties\":115,\"./crossfilter_column_template\":258,\"./crossfilter_facet_template\":259,\"./crossfilter_template\":260,\"jquery-ui/draggable\":9,\"jquery-ui/droppable\":10,underscore:92}],258:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){var t,e,r,s;for(\"Continuous\"===this.label?i.push('\\n<div class=\"bk-bs-panel-heading bk-crossfilter-panel-heading bk-crossfilter-panel-continuous-heading\">\\n'):i.push('\\n<div class=\"bk-bs-panel-heading bk-crossfilter-panel-heading bk-crossfilter-panel-factor-heading\">\\n'),i.push(\"\\n  \"),i.push(n(this.name)),i.push(' <span style=\"font-size:x-small;\">('),i.push(n(this.label)),i.push(')</span>\\n</div>\\n\\n\\n<div class=\"bk-bs-panel-body\">\\n\\n  <table class=\"bk-table\">\\n\\n    <tbody>\\n\\n      '),s=this.fields,e=0,r=s.length;r>e;e++)t=s[e],i.push(\"\\n      <tr> <td> \"),i.push(n(t)),i.push(\"  </td> <td> \"),i.push(n(this[t])),i.push(\"  </td> </tr>\\n      \");i.push(\"\\n\\n    </tbody>\\n\\n  </table>\\n\\n</div>\")}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],259:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push(n(this.name)),i.push(\" &nbsp; [x]\")}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],260:[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,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<div class=\"bk-crossfilter-container\">\\n\\n  <table>\\n\\n    <tr>\\n\\n      <td class=\"aligntable\">\\n\\n        <div class=\"bk-crossfilter-configuration bk-bs-container\">\\n\\n          <div class=\"bk-crossfilter-row\">\\n\\n            <div class=\"col-md-5 bk-column-list\" />\\n\\n            <div class=\"col-md-7 bk-filters-facets\">\\n\\n              <div class=\"bk-bs-panel bk-bs-panel-primary bk-filters\">\\n                <div class=\"bk-bs-panel-heading bk-crossfilter-panel-heading\"> Filter </div>\\n                <div class=\"bk-bs-panel-body bk-filters-selections\" />\\n              </div>\\n\\n              <div class=\"bk-bs-panel bk-bs-panel-primary bk-facet bk-facet-x\">\\n                <div class=\"bk-bs-panel-heading bk-crossfilter-panel-heading\"> Facet X </div>\\n                <div class=\"bk-facets-selections \" />\\n              </div>\\n\\n              <div class=\"bk-bs-panel bk-bs-panel-primary bk-facet bk-facet-y\">\\n                <div class=\"bk-bs-panel-heading bk-crossfilter-panel-heading\"> Facet Y </div>\\n                <div class=\"bk-facets-selections \" />\\n              </div>\\n\\n              <div class=\"bk-bs-panel bk-bs-panel-primary bk-facet bk-facet-tab\">\\n                <div class=\"bk-bs-panel-heading bk-crossfilter-panel-heading\"> Facet Tab </div>\\n                <div class=\"bk-facets-selections \" />\\n              </div>\\n\\n            </div>\\n\\n          </div>\\n\\n        </div>\\n\\n      </td>\\n\\n      <td class=\"aligntable\">\\n\\n        <div class=\"bk-plot-selection\">\\n\\n          <form class=\"bk-widget-form\">\\n            <ul class=\"bk-crossfilter-selector\">\\n              <li class=\"bk-plot-selector col-md-3\"> </li>\\n              <li class=\"bk-x-selector col-md-3\"> </li>\\n              <li class=\"bk-y-selector col-md-3\"> </li>\\n              <li class=\"bk-agg-selector col-md-3\"> </li>\\n            </ul>\\n          </form>\\n\\n        </div>\\n\\n        <div class=\"bk-crossfilter-plot\" />\\n      </td>\\n\\n    </tr>\\n\\n  </table>\\n\\n</div>\\n')}).call(this)}.call(t),t.safe=n,t.escape=r,i.join(\"\")}},{}],261:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,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,s=void 0):(r=t(\"jquery-ui/sortable\"),d=t(\"slick_grid/slick.grid\"),p=t(\"slick_grid/plugins/slick.rowselectionmodel\"),s=t(\"slick_grid/plugins/slick.checkboxselectcolumn\")),o=t(\"../common/continuum_view\"),c=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,s;for(i={index:t},s=this.fields,n=0,r=s.length;r>n;n++)e=s[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,s,o,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,s,o,a,l,u,h;for(r=0,s=e.length;s>r;r++)if(o=e[r],n=o[0],l=o[1],u=t[n],h=i[n],a=u===h?0:u>h?l:-l,0!==a)return a;return 0}),n=r=0,s=a.length;s>r;n=++r)o=a[n],this._setItem(n,o);return this.updateSource()},t}(),h=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,o;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 s({cssClass:\"bk-cell-select\"}),i.unshift(t.getColumnDefinition())),this.mget(\"row_headers\")&&null!=this.mget(\"source\").get_column(\"index\")&&i.unshift(this.newIndexColumn()),o=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!=o&&this.$el.css({width:this.mget(\"width\")+\"px\"}),null!=n&&\"auto\"!==n&&this.$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}(o),u=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.type=\"DataTable\",e.prototype.default_view=h,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}(c),e.exports={Model:u,View:h}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/continuum_view\":109,\"../common/has_properties\":115,\"../common/hittest\":116,\"../util/dom_util\":249,jquery:18,\"jquery-ui/sortable\":15,\"slick_grid/plugins/slick.checkboxselectcolumn\":305,\"slick_grid/plugins/slick.rowselectionmodel\":306,\"slick_grid/slick.grid\":308,underscore:92}],262:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h=function(t,e){return function(){return t.apply(e,arguments)}},c=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\"),s=t(\"../common/continuum_view\"),l=t(\"../common/has_properties\"),a=function(t){function e(){return this.onSelect=h(this.onSelect,this),e.__super__.constructor.apply(this,arguments)}return c(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(\"<label>\").text(this.mget(\"title\")),t=n(\"<div>\").datepicker({defaultDate:new Date(this.mget(\"value\")),minDate:null!=this.mget(\"min_date\")?new Date(this.mget(\"min_date\")):null,maxDate:null!=this.mget(\"max_date\")?new Date(this.mget(\"max_date\")):null,onSelect:this.onSelect}),this.$el.append([e,t]),this},e.prototype.onSelect=function(t,e){var i;return this.mset(\"value\",new Date(t)),this.model.save(),null!=(i=this.mget(\"callback\"))?i.execute(this.model):void 0},e}(s),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type=\"DatePicker\",e.prototype.default_view=a,e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{value:Date.now()})},e}(l),e.exports={Model:o,View:a}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/continuum_view\":109,\"../common/has_properties\":115,jquery:18,\"jquery-ui/datepicker\":8,underscore:92}],263:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h=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;u=t(\"underscore\"),n=t(\"jquery\"),r=null!=i._bokehTest?void 0:t(\"jqrangeslider/jQDateRangeSlider\"),s=t(\"../common/continuum_view\"),l=t(\"../common/has_properties\"),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.listenTo(this.model,\"change\",function(t){return function(){return t.render}}(this))},e.prototype.render=function(){var t,e,i,n,r,s,o,a,l;return this.$el.empty(),r=this.mget(\"value\"),l=r[0],a=r[1],s=this.mget(\"range\"),n=s[0],i=s[1],o=this.mget(\"bounds\"),e=o[0],t=o[1],this.$el.dateRangeSlider({defaultValues:{min:new Date(l),max:new Date(a)},bounds:{min:new Date(e),max:new Date(t)},range:{min:u.isObject(n)?n:!1,max:u.isObject(i)?i:!1},step:this.mget(\"step\")||{},enabled:this.mget(\"enabled\"),arrows:this.mget(\"arrows\"),valueLabels:this.mget(\"value_labels\"),wheelMode:this.mget(\"wheel_mode\")}),this.$el.on(\"userValuesChanged\",function(t){return function(e,i){var n;return t.mset(\"value\",[i.values.min,i.values.max]),t.model.save(),null!=(n=t.mget(\"callback\"))?n.execute(t.model):void 0}}(this)),this},e}(s),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type=\"DateRangeSlider\",e.prototype.default_view=a,e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{})},e}(l),e.exports={Model:o,View:a}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/continuum_view\":109,\"../common/has_properties\":115,\"jqrangeslider/jQDateRangeSlider\":299,jquery:18,underscore:92}],264:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c=function(t,e){return function(){return t.apply(e,arguments)}},p=function(t,e){function i(){this.constructor=t}for(var n in e)d.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},d={}.hasOwnProperty;u=t(\"underscore\"),n=t(\"jquery\"),r=null!=i._bokehTest?void 0:t(\"bootstrap/modal\"),s=t(\"../common/continuum_view\"),l=t(\"../common/has_properties\"),h=t(\"./dialog_template\"),a=function(t){function e(){return this.change_content=c(this.change_content,this),this.change_visibility=c(this.change_visibility,this),this.onHide=c(this.onHide,this),e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.render_content(),this.render_buttons(),this.listenTo(this.model,\"destroy\",this.remove),this.listenTo(this.model,\"change:visible\",this.change_visibility),this.listenTo(this.model,\"change:content\",this.change_content)},e.prototype.render_content=function(){var t;return null!=this.content_view&&this.content_view.remove(),t=this.mget(\"content\"),null!=t&&(\"object\"==typeof t?(this.content_view=new t.default_view({model:t}),this.$el.find(\".bk-dialog-content\").empty(),this.$el.find(\".bk-dialog-content\").append(this.content_view.$el)):(this.$el.find(\".bk-dialog-content\").empty(),this.$el.find(\".bk-dialog-content\").text(t))),this},e.prototype.render_buttons=function(){var t;return null!=this.buttons_box_view&&this.buttons_box_view.remove(),t=this.mget(\"buttons_box\"),null!=t&&(this.buttons_box_view=new t.default_view({model:t}),this.$el.find(\".bk-dialog-buttons_box\").empty(),this.$el.find(\".bk-dialog-buttons_box\").append(this.buttons_box_view.$el)),this},e.prototype.render=function(){return this.$modal=n(h(this.model.attributes)),this.$modal.modal({show:this.mget(\"visible\")}),this.$modal.on(\"hidden.bk-bs.modal\",this.onHide),this.$el.html(this.$modal),this},e.prototype.onHide=function(t){return this.mset(\"visible\",!1,{silent:!0})},e.prototype.change_visibility=function(){return this.$modal.modal(this.mget(\"visible\")?\"show\":\"hide\")},e.prototype.change_content=function(){return this.render_content()},e}(s),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.type=\"Dialog\",e.prototype.default_view=a,e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{visible:!1,closable:!0,title:\"\",content:\"\",buttons:[],buttons_box:null})},e}(l),e.exports={Model:o,View:a}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/continuum_view\":109,\"../common/has_properties\":115,\"./dialog_template\":265,\"bootstrap/modal\":295,jquery:18,underscore:92}],265:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<div class=\"bk-bs-modal\" tabindex=\"-1\">\\n  <div class=\"bk-bs-modal-dialog\">\\n    <div class=\"bk-bs-modal-content\">\\n      <div class=\"bk-bs-modal-header\">\\n        '),this.closable&&i.push('\\n          <button type=\"button\" class=\"bk-bs-close\" data-bk-bs-dismiss=\"modal\">&times;</button>\\n        '),i.push('\\n        <h4 class=\"bk-bs-modal-title\">'),i.push(n(this.title)),i.push('</h4>\\n      </div>\\n      <div class=\"bk-bs-modal-body\">\\n        <div class=\"bk-dialog-content\" />\\n      </div>\\n      <div class=\"bk-bs-modal-footer\">\\n        <div class=\"bk-dialog-buttons_box\" />\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n')}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],266:[function(t,e,i){var n,r,s,o,a,l,u=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(\"jquery\"),r=t(\"../common/continuum_view\"),a=t(\"../common/has_parent\"),o=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,s,o,a,l,u,h,c,p,d,f,g;for(this.$el.empty(),d=null!=this.mget(\"default_value\"),e=n(\"<button></button>\"),e.addClass(\"bk-bs-btn\"),e.addClass(\"bk-bs-btn-\"+this.mget(\"type\")),e.text(this.mget(\"label\")),i=n('<span class=\"bk-bs-caret\"></span>'),d?(e.click(function(t){return function(){return t.change_input(t.mget(\"default_value\"))}}(this)),a=n(\"<button></button>\"),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(\"\")),o=n('<ul class=\"bk-bs-dropdown-menu\"></ul>'),r=n('<li class=\"bk-bs-divider\"></li>'),p=this.mget(\"menu\"),l=0,c=p.length;c>l;l++)u=p[l],s=null!=u?(h=u[0],g=u[1],u,t=n(\"<a></a>\").text(h).data(\"value\",g),f=this,t.click(function(t){return f.change_input(n(this).data(\"value\"))}),n(\"<li></li>\").append(t)):r,o.append(s);return this.$el.addClass(\"bk-bs-btn-group\"),this.$el.append([e,a,o]),this},e.prototype.change_input=function(t){var e;return this.mset(\"value\",t),this.model.save(),null!=(e=this.mget(\"callback\"))?e.execute(this.model):void 0},e}(r),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type=\"Dropdown\",e.prototype.default_view=o,e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{value:null,default_value:null,label:\"Dropdown\",icon:null,type:\"default\",menu:[],disabled:!1})},e}(a),e.exports={Model:s,View:o}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,jquery:18,underscore:92}],267:[function(t,e,i){var n,r,s,o,a,l,u=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\"),l=t(\"../common/build_views\"),n=t(\"../common/continuum_view\"),o=t(\"../common/has_parent\"),s=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,s,o,a,u;e=this.model.children(),l(this.views,e),o=this.views;for(r in o)h.call(o,r)&&(a=o[r],a.$el.detach());for(this.$el.empty(),u=this.mget(\"width\"),null!=u&&this.$el.css({width:u+\"px\"}),i=this.mget(\"height\"),null!=i&&this.$el.css({height:i+\"px\"}),n=0,s=e.length;s>n;n++)t=e[n],this.$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=s,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{children:[]})},e.prototype.children=function(){return this.get(\"children\")},e}(o),e.exports={Model:r,View:s}},{\"../common/build_views\":101,\"../common/continuum_view\":109,\"../common/has_parent\":114,underscore:92}],268:[function(t,e,i){var n,r,s,o,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\"),o=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.addClass(\"bk-fa\"),this.$el.addClass(\"bk-fa-\"+this.mget(\"name\")),e=this.mget(\"size\"),null!=e&&this.$el.css({\"font-size\":e+\"em\"}),t=this.mget(\"flip\"),null!=t&&this.$el.addClass(\"bk-fa-flip-\"+t),this.mget(\"spin\")&&this.$el.addClass(\"bk-fa-spin\"),this},e}(n),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"Icon\",e.prototype.default_view=o,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{name:\"\",size:null,flip:null,spin:!1})},e}(r),e.exports={Model:s,View:o}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,underscore:92}],269:[function(t,e,i){var n,r;r=t(\"../hbox\"),n=t(\"./base\"),e.exports=n(\"AppHBox\",r)},{\"../hbox\":267,\"./base\":272}],270:[function(t,e,i){var n,r;r=t(\"../vbox\"),n=t(\"./base\"),e.exports=n(\"AppVBox\",r)},{\"../vbox\":291,\"./base\":272}],271:[function(t,e,i){var n;n=t(\"../vboxform\"),e.exports=t(\"./base\")(\"AppVBoxForm\",n)},{\"../vboxform\":292,\"./base\":272}],272:[function(t,e,i){var n,r,s,o,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\"),o=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=s.map(n,function(t){return function(e){return s.isString(e)?t.resolve_ref(i[e]):e}}(this))},i}(r),{Model:i,View:n}}},{\"../../common/build_views\":101,\"../../common/continuum_view\":109,\"../../common/has_parent\":114,underscore:92}],273:[function(t,e,i){var n,r,s,o,a,l,u,h=function(t,e){return function(){return t.apply(e,arguments)}},c=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\"),s=t(\"../common/has_parent\"),u=t(\"./multiselecttemplate\"),a=function(t){function e(){return this.render_selection=h(this.render_selection,this),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.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.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.$(\"option\").each(function(e){return function(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.$(\"select\").val(),{silent:!0}),this.model.save(),null!=(t=this.mget(\"callback\"))?t.execute(this.model):void 0},e}(r),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type=\"MultiSelect\",e.prototype.default_view=a,e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{title:\"\",value:[],options:[]})},e}(s),e.exports={Model:o,View:a}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,\"./multiselecttemplate\":274,jquery:18,underscore:92}],274:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){var t,e,r,s;for(i.push('<label for=\"'),i.push(n(this.id)),i.push('\"> '),i.push(n(this.title)),i.push(' </label>\\n<select multiple class=\"bk-widget-form-input\" id=\"'),i.push(n(this.id)),i.push('\" name=\"'),i.push(n(this.name)),i.push('\">\\n  '),s=this.options,t=0,e=s.length;e>t;t++)r=s[t],i.push(\"\\n  \"),r.value===this.value?(i.push('\\n  <option selected=\"selected\" value=\"'),i.push(n(r.value)),i.push('\">'),i.push(n(r.name)),i.push(\"</option>\\n  \")):(i.push('\\n  <option value=\"'),i.push(n(r.value)),i.push('\">'),i.push(n(r.name)),i.push(\"</option> \\n  \")),i.push(\"\\n\\n  \");i.push(\"\\n</select>\\n\")}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],275:[function(t,e,i){var n,r,s,o,a,l,u=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(\"jquery\"),r=t(\"../common/continuum_view\"),s=t(\"../common/has_properties\"),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render()},e.prototype.render=function(){return this.$el.empty(),this},e}(r),o=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}(s),e.exports={Model:o,View:a}},{\"../common/continuum_view\":109,\"../common/has_properties\":115,jquery:18,underscore:92}],276:[function(t,e,i){var n,r,s,o,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\"),o=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.$el.height(this.mget(\"height\")),this.mget(\"width\")&&this.$el.width(this.mget(\"width\")),this.$el.text(this.mget(\"text\")),this},e}(n),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"Paragraph\",e.prototype.default_view=o,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{text:\"\"})},e}(r),e.exports={Model:s,View:o}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,underscore:92}],277:[function(t,e,i){var n,r,s,o,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\"),n=t(\"./paragraph\"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.tagName=\"pre\",e.prototype.attributes={style:\"overflow:scroll\"},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.type=\"PreText\",e.prototype.default_view=s,e.prototype.defaults=function(){return o.extend({},e.__super__.defaults.call(this),{text:\"\",height:400,width:400})},e}(n.Model),e.exports={Model:r,View:s}},{\"./paragraph\":276,underscore:92}],278:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h=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;u=t(\"underscore\"),n=t(\"jquery\"),r=null!=i._bokehTest?void 0:t(\"bootstrap/button\"),s=t(\"../common/continuum_view\"),o=t(\"../common/has_parent\"),l=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(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,s,o,a,l,h;for(this.$el.empty(),this.$el.addClass(\"bk-bs-btn-group\"),this.$el.attr(\"data-bk-bs-toggle\",\"buttons\"),l=u.uniqueId(\"RadioButtonGroup\"),i=this.mget(\"active\"),h=this.mget(\"labels\"),r=s=0,a=h.length;a>s;r=++s)o=h[r],t=n('<input type=\"radio\">').attr({name:l,value:\"\"+r}),r===i&&t.prop(\"checked\",!0),e=n('<label class=\"bk-bs-btn\"></label>'),e.text(o).prepend(t),e.addClass(\"bk-bs-btn-\"+this.mget(\"type\")),r===i&&e.addClass(\"bk-bs-active\"),this.$el.append(e);return this},e.prototype.change_input=function(){var t,e,i,n;\n",
       "        return t=function(){var t,n,r,s;for(r=this.$(\"input\"),s=[],e=t=0,n=r.length;n>t;e=++t)i=r[e],i.checked&&s.push(e);return s}.call(this),this.mset(\"active\",t[0]),this.model.save(),null!=(n=this.mget(\"callback\"))?n.execute(this.model):void 0},e}(s),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(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}(o),e.exports={Model:a,View:l}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/continuum_view\":109,\"../common/has_parent\":114,\"bootstrap/button\":293,jquery:18,underscore:92}],279:[function(t,e,i){var n,r,s,o,a,l,u=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(\"jquery\"),r=t(\"../common/continuum_view\"),s=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,s,o,a,u,h,c;for(this.$el.empty(),h=l.uniqueId(\"RadioGroup\"),r=this.mget(\"active\"),c=this.mget(\"labels\"),s=o=0,u=c.length;u>o;s=++o)a=c[s],e=n('<input type=\"radio\">').attr({name:h,value:\"\"+s}),this.mget(\"disabled\")&&e.prop(\"disabled\",!0),s===r&&e.prop(\"checked\",!0),i=n(\"<label></label>\").text(a).prepend(e),this.mget(\"inline\")?(i.addClass(\"bk-bs-radio-inline\"),this.$el.append(i)):(t=n('<div class=\"bk-bs-radio\"></div>').append(i),this.$el.append(t));return this},e.prototype.change_input=function(){var t,e,i;return t=function(){var t,n,r,s;for(r=this.$(\"input\"),s=[],e=t=0,n=r.length;n>t;e=++t)i=r[e],i.checked&&s.push(e);return s}.call(this),this.mset(\"active\",t[0]),this.model.save()},e}(r),o=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}(s),e.exports={Model:o,View:a}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,jquery:18,underscore:92}],280:[function(t,e,i){var n,r,s,o,a,l,u,h=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/continuum_view\"),r=t(\"../common/has_parent\"),l=t(\"../common/logging\").logger,u=t(\"./selecttemplate\"),o=function(t){function e(){return 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.change_input=function(){var t,e;return e=this.$(\"select\").val(),l.debug(\"selectbox: value = \"+e),this.mset(\"value\",e),this.model.save(),null!=(t=this.mget(\"callback\"))?t.execute(this.model):void 0},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;return this.$el.empty(),t=this.template(this.model.attributes),this.$el.html(t),this},e}(n),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type=\"Select\",e.prototype.default_view=o,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{title:\"\",value:\"\",options:[]})},e}(r),e.exports={Model:s,View:o}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,\"../common/logging\":119,\"./selecttemplate\":281,underscore:92}],281:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){var t,e,r,s;for(i.push('<label for=\"'),i.push(n(this.id)),i.push('\"> '),i.push(n(this.title)),i.push(' </label>\\n<select class=\"bk-widget-form-input\" id=\"'),i.push(n(this.id)),i.push('\" name=\"'),i.push(n(this.name)),i.push('\">\\n  '),s=this.options,t=0,e=s.length;e>t;t++)r=s[t],i.push(\"\\n    \"),\"string\"==typeof r?(i.push(\"\\n      <option \"),i.push(n(r===this.value?i.push('selected=\"selected\"'):void 0)),i.push(' value=\"'),i.push(n(r)),i.push('\">'),i.push(n(r)),i.push(\"</option>\\n    \")):(i.push(\"\\n      <option \"),i.push(n(r.value===this.value?i.push('selected=\"selected\"'):void 0)),i.push(' value=\"'),i.push(n(r.value)),i.push('\">'),i.push(n(r.name)),i.push(\"</option>\\n    \")),i.push(\"\\n  \");i.push(\"\\n</select>\\n\")}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],282:[function(t,e,i){var n,r,s,o,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;n=t(\"../common/continuum_view\"),r=t(\"../common/has_parent\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render()},e.prototype.render=function(){var t;return this.$el.html(\"\"),t=this.mget(\"layout\"),this.layout_view=new t.default_view({model:t}),this.$el.append(this.layout_view.$el),this},e}(n),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.type=\"SimpleApp\",e.prototype.default_view=o,e}(r),e.exports={Model:s,View:o}},{\"../common/continuum_view\":109,\"../common/has_parent\":114}],283:[function(t,e,i){var n,r,s,o,a,l,u,h=function(t,e){return function(){return t.apply(e,arguments)}},c=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\"),o=function(t){function e(){return this.slide=h(this.slide,this),e.__super__.constructor.apply(this,arguments)}return c(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.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.$(\"#\"+this.mget(\"id\")).val(this.$(\".slider\").slider(\"value\")),this},e.prototype.slide=function(t,e){var i,n;return n=e.value,l.debug(\"slide value = \"+n),this.$(\"#\"+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),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type=\"Slider\",e.prototype.default_view=o,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:s,View:o}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,\"../common/logging\":119,\"./slidertemplate\":284,underscore:92}],284:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<label for=\"'),i.push(n(this.id)),i.push('\"> '),i.push(n(this.title)),i.push(': </label>\\n<input type=\"text\" id=\"'),i.push(n(this.id)),i.push('\" readonly style=\"border:0; color:#f6931f; font-weight:bold;\">\\n<div class=\"bk-slider-'),i.push(n(this.orientation)),i.push('\">\\n  <div class=\"slider \" id=\"'),i.push(n(this.id)),i.push('\">\\n</div>\\n')}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],285:[function(t,e,i){var n,r,s,o=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;s=t(\"underscore\"),n=t(\"../common/has_properties\"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.type=\"TableColumn\",e.prototype.default_view=null,e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{field:null,title:null,width:300,formatter:null,editor:null,sortable:!0,default_sort:\"ascending\"})},e.prototype.toColumn=function(){return{id:s.uniqueId(),field:this.get(\"field\"),name:this.get(\"title\"),width:this.get(\"width\"),formatter:this.get(\"formatter\"),editor:this.get(\"editor\"),sortable:this.get(\"sortable\"),defaultSortAsc:\"ascending\"===this.get(\"default_sort\")}},e}(n),e.exports={Model:r}},{\"../common/has_properties\":115,underscore:92}],286:[function(t,e,i){(function(i){var n,r,s,o,a,l,u,h,c,p=function(t,e){function i(){this.constructor=t}for(var n in e)d.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},d={}.hasOwnProperty;u=t(\"underscore\"),n=t(\"jquery\"),r=null!=i._bokehTest?void 0:t(\"bootstrap/tab\"),h=t(\"../common/build_views\"),s=t(\"../common/continuum_view\"),o=t(\"../common/has_properties\"),c=t(\"./tabs_template\"),l=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),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,r,s,o,a,l,p,f,g,m,_,v,y,b;f=this.views;for(a in f)d.call(f,a)&&(b=f[a],b.$el.detach());for(this.$el.empty(),v=this.mget(\"tabs\"),e=this.mget(\"active\"),r=function(){var t,e,i;for(i=[],t=0,e=v.length;e>t;t++)_=v[t],i.push(_.get(\"child\"));return i}(),h(this.views,r),s=n(c({tabs:v,active:function(t){return t===e?\"bk-bs-active\":\"\"}})),y=this,s.find(\"> li > a\").click(function(t){var e,i,r;return t.preventDefault(),n(this).tab(\"show\"),e=n(this).attr(\"href\").replace(\"#tab-\",\"\"),v=y.model.get(\"tabs\"),i=u.indexOf(v,u.find(v,function(t){return t.id===e})),y.model.save(\"active\",i),null!=(r=y.model.get(\"callback\"))?r.execute(y.model):void 0}),t=s.children(\".bk-bs-tab-pane\"),g=u.zip(r,t),o=0,l=g.length;l>o;o++)m=g[o],i=m[0],p=m[1],n(p).html(this.views[i.id].$el);return this.$el.append(s),this.$el.tabs,this},e}(s),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.type=\"Tabs\",e.prototype.default_view=l,e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{tabs:[],active:0})},e}(o),e.exports={Model:a,View:l}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../common/build_views\":101,\"../common/continuum_view\":109,\"../common/has_properties\":115,\"./tabs_template\":287,\"bootstrap/tab\":296,jquery:18,underscore:92}],287:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){var t,e,r,s,o,a,l,u;for(i.push('<ul class=\"bk-bs-nav bk-bs-nav-tabs\">\\n  '),a=this.tabs,t=e=0,s=a.length;s>e;t=++e)u=a[t],i.push('\\n    <li class=\"'),i.push(n(this.active(t))),i.push('\">\\n      <a href=\"#tab-'),i.push(n(u.get(\"id\"))),i.push('\">'),i.push(n(u.get(\"title\"))),i.push(\"</a>\\n    </li>\\n  \");for(i.push('\\n</ul>\\n<div class=\"bk-bs-tab-content\">\\n  '),l=this.tabs,t=r=0,o=l.length;o>r;t=++r)u=l[t],i.push('\\n    <div class=\"bk-bs-tab-pane '),i.push(n(this.active(t))),i.push('\" id=\"tab-'),i.push(n(u.get(\"id\"))),i.push('\"></div>\\n  ');i.push(\"\\n</div>\\n\")}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],288:[function(t,e,i){var n,r,s,o,a,l,u,h,c=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,h=t(\"./text_input_template\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.tagName=\"div\",e.prototype.attributes={\"class\":\"bk-widget-form-group\"},e.prototype.template=h,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.$el.html(this.template(this.model.attributes)),this},e.prototype.change_input=function(){var t,e;return e=this.$(\"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),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type=\"TextInput\",e.prototype.default_view=o,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{name:\"\",value:\"\",title:\"\"})},e}(r),e.exports={Model:s,View:o}},{\"../common/build_views\":101,\"../common/continuum_view\":109,\"../common/has_parent\":114,\"../common/logging\":119,\"./text_input_template\":289,underscore:92}],289:[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?s(t):\"\"},r=t.safe,s=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},s||(s=t.escape=function(t){return(\"\"+t).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}),function(){(function(){i.push('<label for=\"'),i.push(n(this.id)),i.push('\"> '),i.push(n(this.title)),i.push(' </label>\\n<input class=\"bk-widget-form-input\" type=\"text\" id=\"'),i.push(n(this.id)),i.push('\" name=\"'),i.push(n(this.name)),i.push('\" value=\"'),i.push(n(this.value)),i.push('\"/>\\n')}).call(this)}.call(t),t.safe=r,t.escape=s,i.join(\"\")}},{}],290:[function(t,e,i){var n,r,s,o,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\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.tagName=\"button\",e.prototype.events={click:\"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,n,r;if(t=this.mget(\"icon\"),null!=t){build_views(this.views,[t]),n=this.views;for(e in n)u.call(n,e)&&(r=n[e],r.$el.detach())}return this.$el.empty(),this.$el.addClass(\"bk-bs-btn\"),this.$el.addClass(\"bk-bs-btn-\"+this.mget(\"type\")),this.mget(\"disabled\")&&this.$el.attr(\"disabled\",\"disabled\"),i=this.mget(\"label\"),null!=t&&(this.$el.append(this.views[t.id].$el),i=\" \"+i),this.$el.append(document.createTextNode(i)),this.mget(\"active\")&&this.$el.addClass(\"bk-bs-active\"),this.$el.attr(\"data-bk-bs-toggle\",\"button\"),this},e.prototype.change_input=function(){var t;return this.mset(\"active\",this.$el.hasClass(\"bk-bs-active\")),this.model.save(),null!=(t=this.mget(\"callback\"))?t.execute(this.model):void 0},e}(n),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type=\"Toggle\",e.prototype.default_view=o,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{active:!1,label:\"Toggle\",icon:null,type:\"default\",disabled:!1})},e}(r),e.exports={Model:s,View:o}},{\"../common/continuum_view\":109,\"../common/has_parent\":114,underscore:92}],291:[function(t,e,i){var n,r,s,o,a,l,u=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\"),l=t(\"../common/build_views\"),n=t(\"../common/continuum_view\"),r=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-vbox\"},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,s,o,a,u;e=this.model.children(),l(this.views,e),o=this.views;for(r in o)h.call(o,r)&&(a=o[r],a.$el.detach());for(this.$el.empty(),u=this.mget(\"width\"),null!=u&&this.$el.css({width:u+\"px\"}),i=this.mget(\"height\"),null!=i&&this.$el.css({height:i+\"px\"}),n=0,s=e.length;s>n;n++)t=e[n],this.$el.append(this.views[t.id].$el);return this},e}(n),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type=\"VBox\",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}(r),e.exports={Model:s,View:o}},{\"../common/build_views\":101,\"../common/continuum_view\":109,\"../common/has_parent\":114,underscore:92}],292:[function(t,e,i){var n,r,s,o,a,l,u=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\"),l=t(\"../common/build_views\"),n=t(\"../common/continuum_view\"),r=t(\"../common/has_parent\"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.tagName=\"form\",e.prototype.attributes={\"class\":\"bk-widget-form\",role:\"form\"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.views={},this.render()},e.prototype.render=function(){var t,e,i,n,r,s,o;e=this.model.children(),l(this.views,e),s=this.views;for(n in s)h.call(s,n)&&(o=s[n],o.$el.detach());for(this.$el.empty(),i=0,r=e.length;r>i;i++)t=e[i],this.$el.append(\"<br/\"),this.$el.append(this.views[t.id].$el);return this},e}(n),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type=\"VBoxForm\",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}(r),e.exports={Model:s,View:o}},{\"../common/build_views\":101,\"../common/continuum_view\":109,\"../common/has_parent\":114,underscore:92}],293:[function(t,e,i){var n=t(\"jquery\"),r=function(t,e){this.$element=n(t),this.options=n.extend({},r.DEFAULTS,e),this.isLoading=!1};r.DEFAULTS={loadingText:\"loading...\"},r.prototype.setState=function(t){var e=\"bk-bs-disabled\",i=this.$element,r=i.is(\"input\")?\"val\":\"html\",s=i.data();t+=\"Text\",s.resetText||i.data(\"resetText\",i[r]()),i[r](s[t]||this.options[t]),setTimeout(n.proxy(function(){\"loadingText\"==t?(this.isLoading=!0,i.addClass(e).attr(e,e)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e))},this),0)},r.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-bk-bs-toggle=\"buttons\"]');if(e.length){var i=this.$element.find(\"input\");\"radio\"==i.prop(\"type\")&&(i.prop(\"checked\")&&this.$element.hasClass(\"bk-bs-active\")?t=!1:e.find(\".bk-bs-active\").removeClass(\"bk-bs-active\")),t&&i.prop(\"checked\",!this.$element.hasClass(\"bk-bs-active\")).trigger(\"change\")}t&&this.$element.toggleClass(\"bk-bs-active\")};var s=n.fn.button;n.fn.button=function(t){return this.each(function(){var e=n(this),i=e.data(\"bk-bs.button\"),s=\"object\"==typeof t&&t;i||e.data(\"bk-bs.button\",i=new r(this,s)),\"toggle\"==t?i.toggle():t&&i.setState(t)})},n.fn.button.Constructor=r,n.fn.button.noConflict=function(){return n.fn.button=s,this},n(document).on(\"click.bk-bs.button.data-api\",\"[data-bk-bs-toggle^=button]\",function(t){var e=n(t.target);e.hasClass(\"bk-bs-btn\")||(e=e.closest(\".bk-bs-btn\")),e.button(\"toggle\"),t.preventDefault()})},{jquery:18}],294:[function(t,e,i){function n(t){s(o).remove(),s(a).each(function(){var e=r(s(this)),i={relatedTarget:this};e.hasClass(\"bk-bs-open\")&&(e.trigger(t=s.Event(\"hide.bk-bs.dropdown\",i)),t.isDefaultPrevented()||e.removeClass(\"bk-bs-open\").trigger(\"hidden.bk-bs.dropdown\",i))})}function r(t){var e=t.attr(\"data-bk-bs-target\");e||(e=t.attr(\"href\"),e=e&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\\s]*$)/,\"\"));var i=e&&s(e);return i&&i.length?i:t.parent()}var s=t(\"jquery\"),o=\".bk-bs-dropdown-backdrop\",a=\"[data-bk-bs-toggle=dropdown]\",l=function(t){s(t).on(\"click.bk-bs.dropdown\",this.toggle)};l.prototype.toggle=function(t){var e=s(this);if(!e.is(\".bk-bs-disabled, :disabled\")){var i=r(e),o=i.hasClass(\"bk-bs-open\");if(n(),!o){\"ontouchstart\"in document.documentElement&&!i.closest(\".bk-bs-navbar-nav\").length&&s('<div class=\"bk-bs-dropdown-backdrop\"/>').insertAfter(s(this)).on(\"click\",n);var a={relatedTarget:this};if(i.trigger(t=s.Event(\"show.bk-bs.dropdown\",a)),t.isDefaultPrevented())return;i.toggleClass(\"bk-bs-open\").trigger(\"shown.bk-bs.dropdown\",a),e.focus()}return!1}},l.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var e=s(this);if(t.preventDefault(),t.stopPropagation(),!e.is(\".bk-bs-disabled, :disabled\")){var i=r(e),n=i.hasClass(\"bk-bs-open\");if(!n||n&&27==t.keyCode)return 27==t.which&&i.find(a).focus(),e.click();var o=\" li:not(.bk-bs-divider):visible a\",l=i.find(\"[role=menu]\"+o+\", [role=listbox]\"+o);if(l.length){var u=l.index(l.filter(\":focus\"));38==t.keyCode&&u>0&&u--,40==t.keyCode&&u<l.length-1&&u++,~u||(u=0),l.eq(u).focus()}}}};var u=s.fn.dropdown;s.fn.dropdown=function(t){return this.each(function(){var e=s(this),i=e.data(\"bk-bs.dropdown\");i||e.data(\"bk-bs.dropdown\",i=new l(this)),\"string\"==typeof t&&i[t].call(e)})},s.fn.dropdown.Constructor=l,s.fn.dropdown.noConflict=function(){return s.fn.dropdown=u,this},s(document).on(\"click.bk-bs.dropdown.data-api\",n).on(\"click.bk-bs.dropdown.data-api\",\".bk-bs-dropdown form\",function(t){t.stopPropagation()}).on(\"click.bk-bs.dropdown.data-api\",a,l.prototype.toggle).on(\"keydown.bk-bs.dropdown.data-api\",a+\", [role=menu], [role=listbox]\",l.prototype.keydown)},{jquery:18}],295:[function(t,e,i){var n=t(\"jquery\"),r=function(t,e){this.options=e,this.$element=n(t),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.find(\".bk-bs-modal-content\").load(this.options.remote,n.proxy(function(){this.$element.trigger(\"loaded.bk-bs.modal\")},this))};r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},r.prototype.toggle=function(t){return this[this.isShown?\"hide\":\"show\"](t)},r.prototype.show=function(t){var e=this,i=n.Event(\"show.bk-bs.modal\",{relatedTarget:t});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on(\"click.dismiss.bk-bs.modal\",'[data-bk-bs-dismiss=\"modal\"]',n.proxy(this.hide,this)),this.backdrop(function(){var i=n.support.transition&&e.$element.hasClass(\"bk-bs-fade\");e.$element.parent().length||e.$element.appendTo(document.body),e.$element.show().scrollTop(0),i&&e.$element[0].offsetWidth,e.$element.addClass(\"bk-bs-in\").attr(\"aria-hidden\",!1),e.enforceFocus();var r=n.Event(\"shown.bk-bs.modal\",{relatedTarget:t});i?e.$element.find(\".bk-bs-modal-dialog\").one(n.support.transition.end,function(){e.$element.focus().trigger(r)}).emulateTransitionEnd(300):e.$element.focus().trigger(r)}))},r.prototype.hide=function(t){t&&t.preventDefault(),t=n.Event(\"hide.bk-bs.modal\"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),n(document).off(\"focusin.bk-bs.modal\"),this.$element.removeClass(\"bk-bs-in\").attr(\"aria-hidden\",!0).off(\"click.dismiss.bk-bs.modal\"),n.support.transition&&this.$element.hasClass(\"bk-bs-fade\")?this.$element.one(n.support.transition.end,n.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},r.prototype.enforceFocus=function(){n(document).off(\"focusin.bk-bs.modal\").on(\"focusin.bk-bs.modal\",n.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.focus()},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on(\"keyup.dismiss.bk-bs.modal\",n.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off(\"keyup.dismiss.bk-bs.modal\")},r.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger(\"hidden.bk-bs.modal\")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(t){var e=this.$element.hasClass(\"bk-bs-fade\")?\"bk-bs-fade\":\"\";if(this.isShown&&this.options.backdrop){var i=n.support.transition&&e;if(this.$backdrop=n('<div class=\"bk-bs-modal-backdrop '+e+'\" />').appendTo(document.body),this.$element.on(\"click.dismiss.bk-bs.modal\",n.proxy(function(t){t.target===t.currentTarget&&(\"static\"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass(\"bk-bs-in\"),!t)return;i?this.$backdrop.one(n.support.transition.end,t).emulateTransitionEnd(150):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass(\"bk-bs-in\"),n.support.transition&&this.$element.hasClass(\"bk-bs-fade\")?this.$backdrop.one(n.support.transition.end,t).emulateTransitionEnd(150):t()):t&&t()};var s=n.fn.modal;n.fn.modal=function(t,e){return this.each(function(){var i=n(this),s=i.data(\"bk-bs.modal\"),o=n.extend({},r.DEFAULTS,i.data(),\"object\"==typeof t&&t);s||i.data(\"bk-bs.modal\",s=new r(this,o)),\"string\"==typeof t?s[t](e):o.show&&s.show(e)})},n.fn.modal.Constructor=r,n.fn.modal.noConflict=function(){return n.fn.modal=s,this},n(document).on(\"click.bk-bs.modal.data-api\",'[data-bk-bs-toggle=\"modal\"]',function(t){var e=n(this),i=e.attr(\"href\"),r=n(e.attr(\"data-bk-bs-target\")||i&&i.replace(/.*(?=#[^\\s]+$)/,\"\")),s=r.data(\"bk-bs.modal\")?\"toggle\":n.extend({remote:!/#/.test(i)&&i},r.data(),e.data());e.is(\"a\")&&t.preventDefault(),r.modal(s,this).one(\"hide\",function(){e.is(\":visible\")&&e.focus()})}),n(document).on(\"show.bk-bs.modal\",\".bk-bs-modal\",function(){n(document.body).addClass(\"bk-bs-modal-open\")}).on(\"hidden.bk-bs.modal\",\".bk-bs-modal\",function(){n(document.body).removeClass(\"bk-bs-modal-open\")})},{jquery:18}],296:[function(t,e,i){var n=t(\"jquery\"),r=function(t){this.element=n(t)};r.prototype.show=function(){var t=this.element,e=t.closest(\"ul:not(.bk-bs-dropdown-menu)\"),i=t.data(\"bk-bs-target\");if(i||(i=t.attr(\"href\"),i=i&&i.replace(/.*(?=#[^\\s]*$)/,\"\")),!t.parent(\"li\").hasClass(\"bk-bs-active\")){var r=e.find(\".bk-bs-active:last a\")[0],s=n.Event(\"show.bk-bs.tab\",{relatedTarget:r});if(t.trigger(s),!s.isDefaultPrevented()){var o=n(i);this.activate(t.parent(\"li\"),e),this.activate(o,o.parent(),function(){t.trigger({type:\"shown.bk-bs.tab\",relatedTarget:r})})}}},r.prototype.activate=function(t,e,i){function r(){s.removeClass(\"bk-bs-active\").find(\"> .bk-bs-dropdown-menu > .bk-bs-active\").removeClass(\"bk-bs-active\"),t.addClass(\"bk-bs-active\"),o?(t[0].offsetWidth,t.addClass(\"bk-bs-in\")):t.removeClass(\"bk-bs-fade\"),t.parent(\".bk-bs-dropdown-menu\")&&t.closest(\"li.bk-bs-dropdown\").addClass(\"bk-bs-active\"),i&&i()}var s=e.find(\"> .bk-bs-active\"),o=i&&n.support.transition&&s.hasClass(\"bk-bs-fade\");o?s.one(n.support.transition.end,r).emulateTransitionEnd(150):r(),s.removeClass(\"bk-bs-in\")};var s=n.fn.tab;n.fn.tab=function(t){return this.each(function(){var e=n(this),i=e.data(\"bk-bs.tab\");i||e.data(\"bk-bs.tab\",i=new r(this)),\"string\"==typeof t&&i[t]()})},n.fn.tab.Constructor=r,n.fn.tab.noConflict=function(){return n.fn.tab=s,this},n(document).on(\"click.bk-bs.tab.data-api\",'[data-bk-bs-toggle=\"tab\"], [data-bk-bs-toggle=\"pill\"]',function(t){t.preventDefault(),n(this).tab(\"show\")})},{jquery:18}],297:[function(t,e,i){var n,r,s;!function(){\"use strict\";n=function(t,e,i,n,r,s){function o(t,e){var i,n=50,r=0;for(i=1;n>=i;i++)r+=e(Math.cos(m*(i-.5)/n))*Math.cos(m*t*(i-.5)/n);return 2*r/n}function a(t,e){var i,n,r,s,a=[],l=[],u=[[],[]];for(i=0;t+1>i;i++)u[0][i]=0,u[1][i]=0;for(u[0][0]=1,u[1][1]=1,r=1;t+1>r;r++){for(u[r+1]=[0],n=0;n<u[r].length-1;n++)u[r+1][n+1]=2*u[r][n];for(n=0;n<u[r-1].length;n++)u[r+1][n]-=u[r-1][n]}for(r=0;t>=r;r++)l[r]=o(r,e),a[r]=0;for(r=0;t>=r;r++)for(s=0;t>=s;s++)a[s]+=l[r]*u[r][s];return a[0]-=o(0,e)/2,a}function l(t){var e=2*t-1,i=e*(p-d)/2+(d+p)/2;return y*(Math.cos(i)+i*Math.sin(i))}function u(t){var e=2*t-1,i=e*(p-d)/2+(d+p)/2;return y*(Math.sin(i)-i*Math.cos(i))}function h(t,e){var i,n=1;for(i=t-e+1;t>=i;i++)n*=i;for(i=1;e>=i;i++)n/=i;return n}function c(t,e){var i,n,r=a(w,e);for(i=0,n=0;t>=n;n++)i+=h(t,n)*r[n]/h(w,n);return i}var p,d,f,g,m=Math.PI,_=t*e/2,v=i||20,y=_*Math.cos(v*m/180),b=_+t,w=n||3,x=Math.sqrt(b*b-y*y)/y,k=s||1,M=.01,C=[];for(void 0!==r&&k>r&&(M=r),p=Math.sqrt(k)*x,d=Math.sqrt(M)*x,f=0;w>=f;f++)g={},g.x=c(f,l),g.y=c(f,u),C.push(g);return C},r=function(t,e,i){function r(t,e){return Math.sqrt(e*e-t*t)/t-Math.acos(t/e)}function s(t,e){var i=Math.sin(e),n=Math.cos(e);return{x:t.x*n-t.y*i,y:t.x*i+t.y*n}}function o(t,e){return{x:t*Math.cos(e),y:t*Math.sin(e)}}var a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k=t,M=e,C=i||20,D=k,T=1.25*k,S=T-D,A=M*k/2,P=A*Math.cos(C*Math.PI/180),E=A+D,I=A-T,N=1.5*S,R=2*Math.PI/M,z=r(P,A),j=z,O=Math.atan(N/(N+I));for(a=Math.sqrt((I+N)*(I+N)-N*N),a>P&&(a=I+S),a>P&&(j-=r(P,a)),l=1,u=.01,a>P&&(u=(a*a-P*P)/(E*E-P*P)),h=u+(l-u)/4,c=n(k,M,C,3,u,h),p=n(k,M,C,3,h,l),d=c.concat(p.slice(1)),f=[],w=0;w<d.length;w++)b=s(d[w],-z-R/4),d[w]=b,f[w]={x:b.x,y:-b.y};return g=o(a,-R/4-j),m={x:g.x,y:-g.y},v=o(I,R/4+j+O),y=o(I,3*R/4-j-O),_=s(g,R),x=[],x.push(\"M\",g.x,g.y),P>a&&x.push(\"L\",d[0].x,d[0].y),x.push(\"C\",d[1].x,d[1].y,d[2].x,d[2].y,d[3].x,d[3].y,d[4].x,d[4].y,d[5].x,d[5].y,d[6].x,d[6].y),x.push(\"A\",E,E,0,0,0,f[6].x,f[6].y),x.push(\"C\",f[5].x,f[5].y,f[4].x,f[4].y,f[3].x,f[3].y,f[2].x,f[2].y,f[1].x,f[1].y,f[0].x,f[0].y),P>a&&x.push(\"L\",m.x,m.y),y.y>v.y&&(x.push(\"A\",N,N,0,0,1,v.x,v.y),x.push(\"A\",I,I,0,0,0,y.x,y.y)),x.push(\"A\",N,N,0,0,1,_.x,_.y),x},s=function(t,e,i){function r(t,e){return Math.sqrt(e*e-t*t)/t-Math.acos(t/e)}function s(t,e){var i=Math.sin(e),n=Math.cos(e);return{x:t.x*n-t.y*i,y:t.x*i+t.y*n}}function o(t,e){return{x:t*Math.cos(e),y:t*Math.sin(e)}}var a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M,C,D,T,S=t,A=e,P=i||20,E=.6*S,I=1.25*S,N=A*S/2,R=N*Math.cos(P*Math.PI/180),z=N-E,j=N+I,O=.25*S,F=j-O,L=1.5*O;for(a=2*Math.PI/A,l=r(R,N),u=l,z>R&&(u-=r(R,z)),h=r(R,F)-l,c=1.414*O/F,p=1,d=.01,z>R&&(d=(z*z-R*R)/(F*F-R*R)),f=d+(p-d)/4,g=n(S,A,P,3,d,f),m=n(S,A,P,3,f,p),v=g.concat(m.slice(1)),_=[],b=0;b<v.length;b++)y=s(v[b],a/4-l),v[b]=y,_[b]={x:y.x,y:-y.y};return x={x:_[6].x,y:_[6].y},M=o(z,-a/4+u),C={x:M.x,y:-M.y},D=o(j,a/4+h+c),\n",
       "        T=o(j,3*a/4-h-c),k=s(x,a),w=[],w.push(\"M\",_[6].x,_[6].y),w.push(\"C\",_[5].x,_[5].y,_[4].x,_[4].y,_[3].x,_[3].y,_[2].x,_[2].y,_[1].x,_[1].y,_[0].x,_[0].y),R>z&&w.push(\"L\",M.x,M.y),w.push(\"A\",z,z,0,0,0,C.x,C.y),R>z&&w.push(\"L\",v[0].x,v[0].y),w.push(\"C\",v[1].x,v[1].y,v[2].x,v[2].y,v[3].x,v[3].y,v[4].x,v[4].y,v[5].x,v[5].y,v[6].x,v[6].y),D.y<T.y&&(w.push(\"A\",L,L,0,0,0,D.x,D.y),w.push(\"A\",j,j,0,0,0,T.x,T.y)),w.push(\"A\",L,L,0,0,0,k.x,k.y),w}}(),e.exports={create_gear_tooth:r,create_internal_gear_tooth:s}},{}],298:[function(t,e,i){!function(t,n){\"function\"==typeof define&&define.amd?define([],n):\"undefined\"!=typeof i?(e.exports=n(),\"undefined\"==typeof window&&(t.gloo2=e.exports)):t.gloo2=n()}(this,function(){var t,e,i,n,r,s,o;return o=function(t,e){var i,n,r,s,o,a,l,u;for(e=void 0===e?\"periodic check\":e,l=[];;){if(o=t.getError(),o==t.NO_ERROR||l&&o==l[l.length-1])break;(l.append||l.push).apply(l,[o])}if(l.length){for(u=\"\",i=l,\"object\"!=typeof i||Array.isArray(i)||(i=Object.keys(i)),r=i.length,n=0;r>n;n+=1)s=i[n],u+=s;throw a=new Error(\"RuntimeError:\"+(\"OpenGL got errors (\"+e+\"): \"+u)),a.name=\"RuntimeError\",a}},e=function(){this.__init__&&this.__init__.apply(this,arguments)},e.prototype._base_class=Object,e.prototype.__init__=function(t){if(this._gl=t,this._handle=null,this._create(),null===this._handle)throw\"AssertionError: this._handle !== null\"},e.prototype._create=function(){var t;throw t=new Error(\"NotImplementedError:\"),t.name=\"NotImplementedError\",t},n=function(){this.__init__&&this.__init__.apply(this,arguments)},n.prototype=Object.create(e.prototype),n.prototype._base_class=e.prototype,n.prototype.UTYPEMAP={\"float\":\"uniform1fv\",vec2:\"uniform2fv\",vec3:\"uniform3fv\",vec4:\"uniform4fv\",\"int\":\"uniform1iv\",ivec2:\"uniform2iv\",ivec3:\"uniform3iv\",ivec4:\"uniform4iv\",bool:\"uniform1iv\",bvec2:\"uniform2iv\",bvec3:\"uniform3iv\",bvec4:\"uniform4iv\",mat2:\"uniformMatrix2fv\",mat3:\"uniformMatrix3fv\",mat4:\"uniformMatrix4fv\",sampler1D:\"uniform1i\",sampler2D:\"uniform1i\",sampler3D:\"uniform1i\"},n.prototype.ATYPEMAP={\"float\":\"vertexAttrib1f\",vec2:\"vertexAttrib2f\",vec3:\"vertexAttrib3f\",vec4:\"vertexAttrib4f\"},n.prototype.ATYPEINFO={\"float\":[1,5126],vec2:[2,5126],vec3:[3,5126],vec4:[4,5126]},n.prototype._create=function(){this._handle=this._gl.createProgram(),this._handles=[],this._unset_variables=[],this._validated=!1,this._samplers={},this._attributes={},this._known_invalid=[]},n.prototype[\"delete\"]=function(){this._gl.deleteProgram(this._handle)},n.prototype.activate=function(){this._gl.useProgram(this._handle)},n.prototype.deactivate=function(){this._gl.useProgram(0)},n.prototype.set_shaders=function(t,e){var i,n,r,s,o,a,l,u,h,c,p,d,f;for(l=this._gl,this._linked=!1,f=l.createShader(l.VERTEX_SHADER),a=l.createShader(l.FRAGMENT_SHADER),p=[[t,f,\"vertex\"],[e,a,\"fragment\"]],h=0;2>h;h+=1)if(n=p[h],i=n[0],u=n[1],d=n[2],l.shaderSource(u,i),l.compileShader(u),c=l.getShaderParameter(u,l.COMPILE_STATUS),!c)throw o=l.getShaderInfoLog(u),s=new Error(\"RuntimeError:\"+(\"errors in \"+d+\" shader:\\n\"+o)),s.name=\"RuntimeError\",s;if(l.attachShader(this._handle,f),l.attachShader(this._handle,a),l.linkProgram(this._handle),!l.getProgramParameter(this._handle,l.LINK_STATUS))throw r=new Error(\"RuntimeError:Program link error:\\n\"+l.getProgramInfoLog(this._handle)),r.name=\"RuntimeError\",r;l.detachShader(this._handle,f),l.detachShader(this._handle,a),l.deleteShader(f),l.deleteShader(a),this._unset_variables=this._get_active_attributes_and_uniforms(),this._handles={},this._known_invalid=[],this._linked=!0},n.prototype._get_active_attributes_and_uniforms=function(){var t,e,i,n,r,s,o,a,l,u,h,c,p,d,f,g,m,_,v,y,b,w,x,k,M;for(m=this._gl,w=new RegExp(\"(\\\\w+)\\\\s*(\\\\[(\\\\d+)\\\\])\\\\s*\"),r=m.getProgramParameter(this._handle,m.ACTIVE_UNIFORMS),e=m.getProgramParameter(this._handle,m.ACTIVE_ATTRIBUTES),t=[],x=[],c=[[t,e,m.getActiveAttrib],[x,r,m.getActiveUniform]],\"object\"!=typeof c||Array.isArray(c)||(c=Object.keys(c)),d=c.length,p=0;d>p;p+=1)for(M=c[p],h=M,i=h[0],n=h[1],g=h[2],_=0;n>_;_+=1)if(v=g.call(m,this._handle,_),b=v.name,y=b.match(w))for(b=y.group(0),_=0;_<v.size;_+=1)(i.append||i.push).apply(i,[[\"\"+b+\"[\"+_+\"]\",v.type]]);else(i.append||i.push).apply(i,[[b,v.type]]);for(M=[],f=t,\"object\"!=typeof f||Array.isArray(f)||(f=Object.keys(f)),o=f.length,s=0;o>s;s+=1)k=f[s],(M.append||M.push).apply(M,[k[0]]);for(a=x,\"object\"!=typeof a||Array.isArray(a)||(a=Object.keys(a)),u=a.length,l=0;u>l;l+=1)k=a[l],(M.append||M.push).apply(M,[k[0]]);return M},n.prototype.set_texture=function(t,e){var i,n,r,s,o,a,l;if(!this._linked)throw o=new Error(\"RuntimeError:Cannot set uniform when program has no code\"),o.name=\"RuntimeError\",o;if(a=\"function\"==typeof(i=this._handles).get?i.get(t,-1):i[t]||-1,0>a){if(((n=this._known_invalid).indexOf?n:Object.keys(n)).indexOf(t)>=0)return;if(a=this._gl.getUniformLocation(this._handle,t),((r=this._unset_variables).indexOf?r:Object.keys(r)).indexOf(t)>=0&&(this._unset_variables.remove||function(t){this.splice(this.indexOf(t),1)}).apply(this._unset_variables,[t]),this._handles[t]=a,0>a)return(this._known_invalid.append||this._known_invalid.push).apply(this._known_invalid,[t]),void console.log(\"Variable \"+t+\" is not an active uniform\")}this.activate(),l=Object.keys(this._samplers).length,((s=this._samplers).indexOf?s:Object.keys(s)).indexOf(t)>=0&&(l=this._samplers[t][this._samplers[t].length-1]),this._samplers[t]=[e._target,e._handle,l],this._gl.uniform1i(a,l)},n.prototype.set_uniform=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d;if(!this._linked)throw u=new Error(\"RuntimeError:Cannot set uniform when program has no code\"),u.name=\"RuntimeError\",u;if(c=\"function\"==typeof(r=this._handles).get?r.get(t,-1):r[t]||-1,n=1,0>c){if(((s=this._known_invalid).indexOf?s:Object.keys(s)).indexOf(t)>=0)return;if(c=this._gl.getUniformLocation(this._handle,t),((o=this._unset_variables).indexOf?o:Object.keys(o)).indexOf(t)>=0&&(this._unset_variables.remove||function(t){this.splice(this.indexOf(t),1)}).apply(this._unset_variables,[t]),0!=e.indexOf(\"mat\")&&(n=Math.floor(i.length/this.ATYPEINFO[e][0])),n>1)for(p=0;n>p;p+=1)((a=this._unset_variables).indexOf?a:Object.keys(a)).indexOf(\"\"+t+\"[\"+p+\"]\")>=0&&(d=\"\"+t+\"[\"+p+\"]\",((l=this._unset_variables).indexOf?l:Object.keys(l)).indexOf(d)>=0&&(this._unset_variables.remove||function(t){this.splice(this.indexOf(t),1)}).apply(this._unset_variables,[d]));if(this._handles[t]=c,0>c)return this._known_invalid.add(t),void logger.info(\"Variable \"+t+\" is not an active uniform\")}h=this.UTYPEMAP[e],this.activate(),this._gl[h](c,i)},n.prototype.set_attribute=function(t,e,i,n){var r,s,o,a,l,u,h,c,p,d,f,g,m,_;if(n=void 0===n?null:n,!this._linked)throw h=new Error(\"RuntimeError:Cannot set attribute when program has no code\"),h.name=\"RuntimeError\",h;if(d=\"function\"==typeof(s=this._handles).get?s.get(t,-1):s[t]||-1,0>d){if(((o=this._known_invalid).indexOf?o:Object.keys(o)).indexOf(t)>=0)return;if(d=this._gl.getAttribLocation(this._handle,t),((a=this._unset_variables).indexOf?a:Object.keys(a)).indexOf(t)>=0&&(this._unset_variables.remove||function(t){this.splice(this.indexOf(t),1)}).apply(this._unset_variables,[t]),this._handles[t]=d,0>d){if((this._known_invalid.append||this._known_invalid.push).apply(this._known_invalid,[t]),i&&0!=i[0]&&i[2]>0)return;return void console.log(\"Variable \"+t+\" is not an active attribute\")}}this.activate(),null===i?(c=this.ATYPEMAP[e],this._attributes[t]=[0,d,c,n]):(l=i,_=l[0],m=l[1],f=l[2],u=this.ATYPEINFO[e],g=u[0],p=u[1],c=\"vertexAttribPointer\",r=[g,p,this._gl.FALSE,m,f],this._attributes[t]=[_._handle,d,c,r])},n.prototype._pre_draw=function(){var t,e,i,n,r,s,o,a,l,u,h,c;this.activate(),n=this._samplers;for(c in n)n.hasOwnProperty(c)&&(c=n[c],i=c,l=i[0],a=i[1],u=i[2],this._gl.activeTexture(this._gl.TEXTURE0+u),this._gl.bindTexture(l,a));s=this._attributes;for(c in s)s.hasOwnProperty(c)&&(c=s[c],r=c,h=r[0],e=r[1],o=r[2],t=r[3],h?(this._gl.bindBuffer(this._gl.ARRAY_BUFFER,h),this._gl.enableVertexAttribArray(e),this._gl[o].apply(this._gl,[e].concat(t))):(this._gl.bindBuffer(this._gl.ARRAY_BUFFER,null),this._gl.disableVertexAttribArray(e),this._gl[o].apply(this._gl,[e].concat(t))));this._validated||(this._validated=!0,this._validate())},n.prototype._validate=function(){var t;if(this._unset_variables.length&&console.log(\"Program has unset variables: \"+this._unset_variables),this._gl.validateProgram(this._handle),!this._gl.getProgramParameter(this._handle,this._gl.VALIDATE_STATUS))throw console.log(this._gl.getProgramInfoLog(this._handle)),t=new Error(\"RuntimeError:Program validation error\"),t.name=\"RuntimeError\",t},n.prototype.draw=function(t,e){var n,r,s,a,l,u;if(!this._linked)throw a=new Error(\"RuntimeError:Cannot draw program if code has not been set\"),a.name=\"RuntimeError\",a;o(this._gl,\"before draw\"),e instanceof i?(this._pre_draw(),e.activate(),n=e._buffer_size/2,u=this._gl.UNSIGNED_SHORT,this._gl.drawElements(t,n,u,0),e.deactivate()):(r=e,l=r[0],n=r[1],n&&(this._pre_draw(),this._gl.drawArrays(t,l,n))),s=this._gl.getError(),o(this._gl,\"after draw\")},t=function(){this.__init__&&this.__init__.apply(this,arguments)},t.prototype=Object.create(e.prototype),t.prototype._base_class=e.prototype,t.prototype._target=null,t.prototype._usage=35048,t.prototype._create=function(){this._handle=this._gl.createBuffer(),this._buffer_size=0},t.prototype[\"delete\"]=function(){this._gl.deleteBuffer(this._handle)},t.prototype.activate=function(){this._gl.bindBuffer(this._target,this._handle)},t.prototype.deactivate=function(){this._gl.bindBuffer(this._target,null)},t.prototype.set_size=function(t){t!=this._buffer_size&&(this.activate(),this._gl.bufferData(this._target,t,this._usage),this._buffer_size=t)},t.prototype.set_data=function(t,e){var i;this.activate(),i=e.length*e.BYTES_PER_ELEMENT,this._gl.bufferSubData(this._target,t,e)},s=function(){this.__init__&&this.__init__.apply(this,arguments)},s.prototype=Object.create(t.prototype),s.prototype._base_class=t.prototype,s.prototype._target=34962,i=function(){this.__init__&&this.__init__.apply(this,arguments)},i.prototype=Object.create(t.prototype),i.prototype._base_class=t.prototype,i.prototype._target=34963,r=function(){this.__init__&&this.__init__.apply(this,arguments)},r.prototype=Object.create(e.prototype),r.prototype._base_class=e.prototype,r.prototype._target=3553,r.prototype._types={Int8Array:5120,Uint8Array:5121,Int16Array:5122,Uint16Array:5123,Int32Array:5124,Int32Array:5125,Float32Array:5126},r.prototype._create=function(){this._handle=this._gl.createTexture(),this._shape_format=null},r.prototype[\"delete\"]=function(){this._gl.deleteTexture(this._handle)},r.prototype.activate=function(){this._gl.bindTexture(this._target,this._handle)},r.prototype.deactivate=function(){this._gl.bindTexture(this._target,0)},r.prototype._get_alignment=function(t){var e,i,n,r,s;for(i=[4,8,2,1],n=i,\"object\"!=typeof n||Array.isArray(n)||(n=Object.keys(n)),s=n.length,r=0;s>r;r+=1)if(e=n[r],t%e==0)return e},r.prototype.set_wrapping=function(t,e){this.activate(),this._gl.texParameterf(this._target,this._gl.TEXTURE_WRAP_S,t),this._gl.texParameterf(this._target,this._gl.TEXTURE_WRAP_T,e)},r.prototype.set_interpolation=function(t,e){this.activate(),this._gl.texParameterf(this._target,this._gl.TEXTURE_MIN_FILTER,t),this._gl.texParameterf(this._target,this._gl.TEXTURE_MAG_FILTER,e)},r.prototype.set_size=function(t,e){var i,n,r;i=t,n=i[0],r=i[1],[n,r,e]!=this._shape_format&&(this._shape_format=[n,r,e],this.activate(),this._gl.texImage2D(this._target,0,e,r,n,0,e,this._gl.UNSIGNED_BYTE,null))},r.prototype.set_data=function(t,e,i){var n,r,s,o,a,l,u,h,c,p,d;if(this.activate(),l=this._shape_format[2],r=e,h=r[0],c=r[1],s=t,d=s[0],p=s[1],u=\"function\"==typeof(o=this._types).get?o.get(i.constructor.name,null):o[i.constructor.name]||null,null===u)throw a=new Error(\"ValueError:\"+(\"Type \"+i.constructor.name+\" not allowed for texture\")),a.name=\"ValueError\",a;n=this._get_alignment(e[e.length-2]*e[e.length-1]),4!=n&&this._gl.pixelStorei(this._gl.UNPACK_ALIGNMENT,n),this._gl.texSubImage2D(this._target,0,p,d,c,h,l,u,i),4!=n&&this._gl.pixelStorei(this._gl.UNPACK_ALIGNMENT,4)},{Buffer:t,GlooObject:e,IndexBuffer:i,Program:n,Texture2D:r,VertexBuffer:s,check_error:o}})},{}],299:[function(t,e,i){var n=t(\"jquery\");t(\"./jQRangeSlider\"),e.exports=n.widget(\"ui.dateRangeSlider\",n.ui.rangeSlider,{options:{bounds:{min:new Date(2010,0,1).valueOf(),max:new Date(2012,0,1).valueOf()},defaultValues:{min:new Date(2010,1,11).valueOf(),max:new Date(2011,1,11).valueOf()}},_create:function(){n.ui.rangeSlider.prototype._create.apply(this),this.element.addClass(\"bk-ui-dateRangeSlider\")},destroy:function(){this.element.removeClass(\"bk-ui-dateRangeSlider\"),n.ui.rangeSlider.prototype.destroy.apply(this)},_setDefaultValues:function(){this._values={min:this.options.defaultValues.min.valueOf(),max:this.options.defaultValues.max.valueOf()}},_setRulerParameters:function(){this.ruler.ruler({min:new Date(this.options.bounds.min),max:new Date(this.options.bounds.max),scales:this.options.scales})},_setOption:function(t,e){(\"defaultValues\"===t||\"bounds\"===t)&&\"undefined\"!=typeof e&&null!==e&&this._isValidDate(e.min)&&this._isValidDate(e.max)?n.ui.rangeSlider.prototype._setOption.apply(this,[t,{min:e.min.valueOf(),max:e.max.valueOf()}]):n.ui.rangeSlider.prototype._setOption.apply(this,this._toArray(arguments))},_handleType:function(){return\"dateRangeSliderHandle\"},option:function(t){if(\"bounds\"===t||\"defaultValues\"===t){var e=n.ui.rangeSlider.prototype.option.apply(this,arguments);return{min:new Date(e.min),max:new Date(e.max)}}return n.ui.rangeSlider.prototype.option.apply(this,this._toArray(arguments))},_defaultFormatter:function(t){var e=t.getMonth()+1,i=t.getDate();return\"\"+t.getFullYear()+\"-\"+(10>e?\"0\"+e:e)+\"-\"+(10>i?\"0\"+i:i)},_getFormatter:function(){var t=this.options.formatter;return(this.options.formatter===!1||null===this.options.formatter)&&(t=this._defaultFormatter),function(t){return function(e){return t(new Date(e))}}(t)},values:function(t,e){var i=null;return i=this._isValidDate(t)&&this._isValidDate(e)?n.ui.rangeSlider.prototype.values.apply(this,[t.valueOf(),e.valueOf()]):n.ui.rangeSlider.prototype.values.apply(this,this._toArray(arguments)),{min:new Date(i.min),max:new Date(i.max)}},min:function(t){return this._isValidDate(t)?new Date(n.ui.rangeSlider.prototype.min.apply(this,[t.valueOf()])):new Date(n.ui.rangeSlider.prototype.min.apply(this))},max:function(t){return this._isValidDate(t)?new Date(n.ui.rangeSlider.prototype.max.apply(this,[t.valueOf()])):new Date(n.ui.rangeSlider.prototype.max.apply(this))},bounds:function(t,e){var i;return i=this._isValidDate(t)&&this._isValidDate(e)?n.ui.rangeSlider.prototype.bounds.apply(this,[t.valueOf(),e.valueOf()]):n.ui.rangeSlider.prototype.bounds.apply(this,this._toArray(arguments)),{min:new Date(i.min),max:new Date(i.max)}},_isValidDate:function(t){return\"undefined\"!=typeof t&&t instanceof Date},_toArray:function(t){return Array.prototype.slice.call(t)}})},{\"./jQRangeSlider\":300,jquery:18}],300:[function(t,e,i){var n=t(\"jquery\");t(\"jquery-ui/core\"),t(\"jquery-ui/widget\"),t(\"jquery-ui/mouse\"),t(\"jquery-mousewheel\"),e.exports=n.widget(\"ui.rangeSlider\",{options:{bounds:{min:0,max:100},defaultValues:{min:20,max:50},wheelMode:null,wheelSpeed:4,arrows:!0,valueLabels:\"show\",formatter:null,durationIn:0,durationOut:400,delayOut:200,range:{min:!1,max:!1},step:!1,scales:!1,enabled:!0,symmetricPositionning:!1},_values:null,_valuesChanged:!1,_initialized:!1,bar:null,leftHandle:null,rightHandle:null,innerBar:null,container:null,arrows:null,labels:null,changing:{min:!1,max:!1},changed:{min:!1,max:!1},ruler:null,_create:function(){this._setDefaultValues(),this.labels={left:null,right:null,leftDisplayed:!0,rightDisplayed:!0},this.arrows={left:null,right:null},this.changing={min:!1,max:!1},this.changed={min:!1,max:!1},this._createElements(),this._bindResize(),setTimeout(n.proxy(this.resize,this),1),setTimeout(n.proxy(this._initValues,this),1)},_setDefaultValues:function(){this._values={min:this.options.defaultValues.min,max:this.options.defaultValues.max}},_bindResize:function(){var t=this;this._resizeProxy=function(e){t.resize(e)},n(window).resize(this._resizeProxy)},_initWidth:function(){this.container.css(\"width\",this.element.width()-this.container.outerWidth(!0)+this.container.width()),this.innerBar.css(\"width\",this.container.width()-this.innerBar.outerWidth(!0)+this.innerBar.width())},_initValues:function(){this._initialized=!0,this.values(this._values.min,this._values.max)},_setOption:function(t,e){this._setWheelOption(t,e),this._setArrowsOption(t,e),this._setLabelsOption(t,e),this._setLabelsDurations(t,e),this._setFormatterOption(t,e),this._setBoundsOption(t,e),this._setRangeOption(t,e),this._setStepOption(t,e),this._setScalesOption(t,e),this._setEnabledOption(t,e),this._setPositionningOption(t,e)},_validProperty:function(t,e,i){return null===t||\"undefined\"==typeof t[e]?i:t[e]},_setStepOption:function(t,e){\"step\"===t&&(this.options.step=e,this._leftHandle(\"option\",\"step\",e),this._rightHandle(\"option\",\"step\",e),this._changed(!0))},_setScalesOption:function(t,e){\"scales\"===t&&(e===!1||null===e?(this.options.scales=!1,this._destroyRuler()):e instanceof Array&&(this.options.scales=e,this._updateRuler()))},_setRangeOption:function(t,e){\"range\"===t&&(this._bar(\"option\",\"range\",e),this.options.range=this._bar(\"option\",\"range\"),this._changed(!0))},_setBoundsOption:function(t,e){\"bounds\"===t&&\"undefined\"!=typeof e.min&&\"undefined\"!=typeof e.max&&this.bounds(e.min,e.max)},_setWheelOption:function(t,e){(\"wheelMode\"===t||\"wheelSpeed\"===t)&&(this._bar(\"option\",t,e),this.options[t]=this._bar(\"option\",t))},_setLabelsOption:function(t,e){if(\"valueLabels\"===t){if(\"hide\"!==e&&\"show\"!==e&&\"change\"!==e)return;this.options.valueLabels=e,\"hide\"!==e?(this._createLabels(),this._leftLabel(\"update\"),this._rightLabel(\"update\")):this._destroyLabels()}},_setFormatterOption:function(t,e){\"formatter\"===t&&null!==e&&\"function\"==typeof e&&\"hide\"!==this.options.valueLabels&&(this._leftLabel(\"option\",\"formatter\",e),this.options.formatter=this._rightLabel(\"option\",\"formatter\",e))},_setArrowsOption:function(t,e){\"arrows\"!==t||e!==!0&&e!==!1||e===this.options.arrows||(e===!0?(this.element.removeClass(\"bk-ui-rangeSlider-noArrow\").addClass(\"bk-ui-rangeSlider-withArrows\"),this.arrows.left.css(\"display\",\"block\"),this.arrows.right.css(\"display\",\"block\"),this.options.arrows=!0):e===!1&&(this.element.addClass(\"bk-ui-rangeSlider-noArrow\").removeClass(\"bk-ui-rangeSlider-withArrows\"),this.arrows.left.css(\"display\",\"none\"),this.arrows.right.css(\"display\",\"none\"),this.options.arrows=!1),this._initWidth())},_setLabelsDurations:function(t,e){if(\"durationIn\"===t||\"durationOut\"===t||\"delayOut\"===t){if(parseInt(e,10)!==e)return;null!==this.labels.left&&this._leftLabel(\"option\",t,e),null!==this.labels.right&&this._rightLabel(\"option\",t,e),this.options[t]=e}},_setEnabledOption:function(t,e){\"enabled\"===t&&this.toggle(e)},_setPositionningOption:function(t,e){\"symmetricPositionning\"===t&&(this._rightHandle(\"option\",t,e),this.options[t]=this._leftHandle(\"option\",t,e))},_createElements:function(){\"absolute\"!==this.element.css(\"position\")&&this.element.css(\"position\",\"relative\"),this.element.addClass(\"bk-ui-rangeSlider\"),this.container=n(\"<div class='bk-ui-rangeSlider-container' />\").css(\"position\",\"absolute\").appendTo(this.element),this.innerBar=n(\"<div class='bk-ui-rangeSlider-innerBar' />\").css(\"position\",\"absolute\").css(\"top\",0).css(\"left\",0),this._createHandles(),this._createBar(),this.container.prepend(this.innerBar),this._createArrows(),\"hide\"!==this.options.valueLabels?this._createLabels():this._destroyLabels(),this._updateRuler(),this.options.enabled||this._toggle(this.options.enabled)},_createHandle:function(t){return n(\"<div />\")[this._handleType()](t).bind(\"sliderDrag\",n.proxy(this._changing,this)).bind(\"stop\",n.proxy(this._changed,this))},_createHandles:function(){this.leftHandle=this._createHandle({isLeft:!0,bounds:this.options.bounds,value:this._values.min,step:this.options.step,symmetricPositionning:this.options.symmetricPositionning}).appendTo(this.container),this.rightHandle=this._createHandle({isLeft:!1,bounds:this.options.bounds,value:this._values.max,step:this.options.step,symmetricPositionning:this.options.symmetricPositionning}).appendTo(this.container)},_createBar:function(){this.bar=n(\"<div />\").prependTo(this.container).bind(\"sliderDrag scroll zoom\",n.proxy(this._changing,this)).bind(\"stop\",n.proxy(this._changed,this)),this._bar({leftHandle:this.leftHandle,rightHandle:this.rightHandle,values:{min:this._values.min,max:this._values.max},type:this._handleType(),range:this.options.range,wheelMode:this.options.wheelMode,wheelSpeed:this.options.wheelSpeed}),this.options.range=this._bar(\"option\",\"range\"),this.options.wheelMode=this._bar(\"option\",\"wheelMode\"),this.options.wheelSpeed=this._bar(\"option\",\"wheelSpeed\")},_createArrows:function(){this.arrows.left=this._createArrow(\"left\"),this.arrows.right=this._createArrow(\"right\"),this.options.arrows?this.element.addClass(\"bk-ui-rangeSlider-withArrows\"):(this.arrows.left.css(\"display\",\"none\"),this.arrows.right.css(\"display\",\"none\"),this.element.addClass(\"bk-ui-rangeSlider-noArrow\"))},_createArrow:function(t){var e,i=n(\"<div class='bk-ui-rangeSlider-arrow' />\").append(\"<div class='bk-ui-rangeSlider-arrow-inner' />\").addClass(\"bk-ui-rangeSlider-\"+t+\"Arrow\").css(\"position\",\"absolute\").css(t,0).appendTo(this.element);return e=\"right\"===t?n.proxy(this._scrollRightClick,this):n.proxy(this._scrollLeftClick,this),i.bind(\"mousedown touchstart\",e),i},_proxy:function(t,e,i){var n=Array.prototype.slice.call(i);return t&&t[e]?t[e].apply(t,n):null},_handleType:function(){return\"rangeSliderHandle\"},_barType:function(){return\"rangeSliderBar\"},_bar:function(){return this._proxy(this.bar,this._barType(),arguments)},_labelType:function(){return\"rangeSliderLabel\"},_leftLabel:function(){return this._proxy(this.labels.left,this._labelType(),arguments)},_rightLabel:function(){return this._proxy(this.labels.right,this._labelType(),arguments)},_leftHandle:function(){return this._proxy(this.leftHandle,this._handleType(),arguments)},_rightHandle:function(){return this._proxy(this.rightHandle,this._handleType(),arguments)},_getValue:function(t,e){return e===this.rightHandle&&(t-=e.outerWidth()),t*(this.options.bounds.max-this.options.bounds.min)/(this.container.innerWidth()-e.outerWidth(!0))+this.options.bounds.min},_trigger:function(t){var e=this;setTimeout(function(){e.element.trigger(t,{label:e.element,values:e.values()})},1)},_changing:function(){this._updateValues()&&(this._trigger(\"valuesChanging\"),this._valuesChanged=!0)},_deactivateLabels:function(){\"change\"===this.options.valueLabels&&(this._leftLabel(\"option\",\"show\",\"hide\"),this._rightLabel(\"option\",\"show\",\"hide\"))},_reactivateLabels:function(){\"change\"===this.options.valueLabels&&(this._leftLabel(\"option\",\"show\",\"change\"),this._rightLabel(\"option\",\"show\",\"change\"))},_changed:function(t){t===!0&&this._deactivateLabels(),(this._updateValues()||this._valuesChanged)&&(this._trigger(\"valuesChanged\"),t!==!0&&this._trigger(\"userValuesChanged\"),this._valuesChanged=!1),t===!0&&this._reactivateLabels()},_updateValues:function(){var t=this._leftHandle(\"value\"),e=this._rightHandle(\"value\"),i=this._min(t,e),n=this._max(t,e),r=i!==this._values.min||n!==this._values.max;return this._values.min=this._min(t,e),this._values.max=this._max(t,e),r},_min:function(t,e){return Math.min(t,e)},_max:function(t,e){return Math.max(t,e)},_createLabel:function(t,e){var i;return null===t?(i=this._getLabelConstructorParameters(t,e),t=n(\"<div />\").appendTo(this.element)[this._labelType()](i)):(i=this._getLabelRefreshParameters(t,e),t[this._labelType()](i)),t},_getLabelConstructorParameters:function(t,e){return{handle:e,handleType:this._handleType(),formatter:this._getFormatter(),show:this.options.valueLabels,durationIn:this.options.durationIn,durationOut:this.options.durationOut,delayOut:this.options.delayOut}},_getLabelRefreshParameters:function(){return{formatter:this._getFormatter(),show:this.options.valueLabels,durationIn:this.options.durationIn,durationOut:this.options.durationOut,delayOut:this.options.delayOut}},_getFormatter:function(){return this.options.formatter===!1||null===this.options.formatter?this._defaultFormatter:this.options.formatter},_defaultFormatter:function(t){return Math.round(t)},_destroyLabel:function(t){return null!==t&&(t[this._labelType()](\"destroy\"),t.remove(),t=null),t},_createLabels:function(){this.labels.left=this._createLabel(this.labels.left,this.leftHandle),this.labels.right=this._createLabel(this.labels.right,this.rightHandle),this._leftLabel(\"pair\",this.labels.right)},_destroyLabels:function(){this.labels.left=this._destroyLabel(this.labels.left),this.labels.right=this._destroyLabel(this.labels.right)},_stepRatio:function(){return this._leftHandle(\"stepRatio\")},_scrollRightClick:function(t){return this.options.enabled?(t.preventDefault(),this._bar(\"startScroll\"),this._bindStopScroll(),void this._continueScrolling(\"scrollRight\",4*this._stepRatio(),1)):!1},_continueScrolling:function(t,e,i,n){if(!this.options.enabled)return!1;this._bar(t,i),n=n||5,n--;var r=this,s=16,o=Math.max(1,4/this._stepRatio());this._scrollTimeout=setTimeout(function(){0===n&&(e>s?e=Math.max(s,e/1.5):i=Math.min(o,2*i),n=5),r._continueScrolling(t,e,i,n)},e)},_scrollLeftClick:function(t){return this.options.enabled?(t.preventDefault(),this._bar(\"startScroll\"),this._bindStopScroll(),void this._continueScrolling(\"scrollLeft\",4*this._stepRatio(),1)):!1},_bindStopScroll:function(){var t=this;this._stopScrollHandle=function(e){e.preventDefault(),t._stopScroll()},n(document).bind(\"mouseup touchend\",this._stopScrollHandle)},_stopScroll:function(){n(document).unbind(\"mouseup touchend\",this._stopScrollHandle),this._stopScrollHandle=null,this._bar(\"stopScroll\"),clearTimeout(this._scrollTimeout)},_createRuler:function(){this.ruler=n(\"<div class='bk-ui-rangeSlider-ruler' />\").appendTo(this.innerBar)},_setRulerParameters:function(){this.ruler.ruler({min:this.options.bounds.min,max:this.options.bounds.max,scales:this.options.scales})},_destroyRuler:function(){null!==this.ruler&&n.fn.ruler&&(this.ruler.ruler(\"destroy\"),this.ruler.remove(),this.ruler=null)},_updateRuler:function(){this._destroyRuler(),this.options.scales!==!1&&n.fn.ruler&&(this._createRuler(),this._setRulerParameters())},values:function(t,e){var i;if(\"undefined\"!=typeof t&&\"undefined\"!=typeof e){if(!this._initialized)return this._values.min=t,this._values.max=e,this._values;this._deactivateLabels(),i=this._bar(\"values\",t,e),this._changed(!0),this._reactivateLabels()}else i=this._bar(\"values\",t,e);return i},min:function(t){return this._values.min=this.values(t,this._values.max).min,this._values.min},max:function(t){return this._values.max=this.values(this._values.min,t).max,this._values.max},bounds:function(t,e){return this._isValidValue(t)&&this._isValidValue(e)&&e>t&&(this._setBounds(t,e),this._updateRuler(),this._changed(!0)),this.options.bounds},_isValidValue:function(t){return\"undefined\"!=typeof t&&parseFloat(t)===t},_setBounds:function(t,e){this.options.bounds={min:t,max:e},this._leftHandle(\"option\",\"bounds\",this.options.bounds),this._rightHandle(\"option\",\"bounds\",this.options.bounds),this._bar(\"option\",\"bounds\",this.options.bounds)},zoomIn:function(t){this._bar(\"zoomIn\",t)},zoomOut:function(t){this._bar(\"zoomOut\",t)},scrollLeft:function(t){this._bar(\"startScroll\"),this._bar(\"scrollLeft\",t),this._bar(\"stopScroll\")},scrollRight:function(t){this._bar(\"startScroll\"),this._bar(\"scrollRight\",t),this._bar(\"stopScroll\")},resize:function(){this._initWidth(),this._leftHandle(\"update\"),this._rightHandle(\"update\"),this._bar(\"update\")},enable:function(){this.toggle(!0)},disable:function(){this.toggle(!1)},toggle:function(t){void 0===t&&(t=!this.options.enabled),this.options.enabled!==t&&this._toggle(t)},_toggle:function(t){this.options.enabled=t,this.element.toggleClass(\"bk-ui-rangeSlider-disabled\",!t);var e=t?\"enable\":\"disable\";this._bar(e),this._leftHandle(e),this._rightHandle(e),this._leftLabel(e),this._rightLabel(e)},destroy:function(){this.element.removeClass(\"bk-ui-rangeSlider-withArrows bk-ui-rangeSlider-noArrow bk-ui-rangeSlider-disabled\"),this._destroyWidgets(),this._destroyElements(),this.element.removeClass(\"bk-ui-rangeSlider\"),this.options=null,n(window).unbind(\"resize\",this._resizeProxy),this._resizeProxy=null,this._bindResize=null,n.Widget.prototype.destroy.apply(this,arguments)},_destroyWidget:function(t){this[\"_\"+t](\"destroy\"),this[t].remove(),this[t]=null},_destroyWidgets:function(){this._destroyWidget(\"bar\"),this._destroyWidget(\"leftHandle\"),this._destroyWidget(\"rightHandle\"),this._destroyRuler(),this._destroyLabels()},_destroyElements:function(){this.container.remove(),this.container=null,this.innerBar.remove(),this.innerBar=null,this.arrows.left.remove(),this.arrows.right.remove(),this.arrows=null}})},{jquery:18,\"jquery-mousewheel\":4,\"jquery-ui/core\":7,\"jquery-ui/mouse\":13,\"jquery-ui/widget\":17}],301:[function(t,e,i){var n=t(\"jquery\");n.fn.drag=function(t,e,i){var r=\"string\"==typeof t?t:\"\",s=n.isFunction(t)?t:n.isFunction(e)?e:null;return 0!==r.indexOf(\"drag\")&&(r=\"drag\"+r),i=(t==s?e:i)||{},s?this.bind(r,i,s):this.trigger(r)};var r=n.event,s=r.special,o=s.drag={defaults:{which:1,distance:0,not:\":input\",handle:null,relative:!1,drop:!0,click:!1},datakey:\"dragdata\",noBubble:!0,add:function(t){var e=n.data(this,o.datakey),i=t.data||{};e.related+=1,n.each(o.defaults,function(t,n){void 0!==i[t]&&(e[t]=i[t])})},remove:function(){n.data(this,o.datakey).related-=1},setup:function(){if(!n.data(this,o.datakey)){var t=n.extend({related:0},o.defaults);n.data(this,o.datakey,t),r.add(this,\"touchstart mousedown\",o.init,t),this.attachEvent&&this.attachEvent(\"ondragstart\",o.dontstart)}},teardown:function(){var t=n.data(this,o.datakey)||{};t.related||(n.removeData(this,o.datakey),r.remove(this,\"touchstart mousedown\",o.init),o.textselect(!0),this.detachEvent&&this.detachEvent(\"ondragstart\",o.dontstart))},init:function(t){if(!o.touched){var e,i=t.data;if(!(0!=t.which&&i.which>0&&t.which!=i.which)&&!n(t.target).is(i.not)&&(!i.handle||n(t.target).closest(i.handle,t.currentTarget).length)&&(o.touched=\"touchstart\"==t.type?this:null,i.propagates=1,i.mousedown=this,i.interactions=[o.interaction(this,i)],i.target=t.target,i.pageX=t.pageX,i.pageY=t.pageY,i.dragging=null,e=o.hijack(t,\"draginit\",i),i.propagates))return e=o.flatten(e),e&&e.length&&(i.interactions=[],n.each(e,function(){i.interactions.push(o.interaction(this,i))})),i.propagates=i.interactions.length,i.drop!==!1&&s.drop&&s.drop.handler(t,i),o.textselect(!1),o.touched?r.add(o.touched,\"touchmove touchend\",o.handler,i):r.add(document,\"mousemove mouseup\",o.handler,i),!o.touched||i.live?!1:void 0}},interaction:function(t,e){var i=n(t)[e.relative?\"position\":\"offset\"]()||{top:0,left:0};return{drag:t,callback:new o.callback,droppable:[],offset:i}},handler:function(t){var e=t.data;switch(t.type){case!e.dragging&&\"touchmove\":t.preventDefault();case!e.dragging&&\"mousemove\":if(Math.pow(t.pageX-e.pageX,2)+Math.pow(t.pageY-e.pageY,2)<Math.pow(e.distance,2))break;t.target=e.target,o.hijack(t,\"dragstart\",e),e.propagates&&(e.dragging=!0);case\"touchmove\":t.preventDefault();case\"mousemove\":if(e.dragging){if(o.hijack(t,\"drag\",e),e.propagates){e.drop!==!1&&s.drop&&s.drop.handler(t,e);break}t.type=\"mouseup\"}case\"touchend\":case\"mouseup\":default:o.touched?r.remove(o.touched,\"touchmove touchend\",o.handler):r.remove(document,\"mousemove mouseup\",o.handler),e.dragging&&(e.drop!==!1&&s.drop&&s.drop.handler(t,e),o.hijack(t,\"dragend\",e)),o.textselect(!0),e.click===!1&&e.dragging&&n.data(e.mousedown,\"suppress.click\",(new Date).getTime()+5),e.dragging=o.touched=!1}},hijack:function(t,e,i,s,a){if(i){var l,u,h,c={event:t.originalEvent,type:t.type},p=e.indexOf(\"drop\")?\"drag\":\"drop\",d=s||0,f=isNaN(s)?i.interactions.length:s;t.type=e,t.originalEvent=null,i.results=[];do if(u=i.interactions[d]){if(\"dragend\"!==e&&u.cancelled)continue;h=o.properties(t,i,u),\n",
       "        u.results=[],n(a||u[p]||i.droppable).each(function(s,a){return h.target=a,t.isPropagationStopped=function(){return!1},l=a?r.dispatch.call(a,t,h):null,l===!1?(\"drag\"==p&&(u.cancelled=!0,i.propagates-=1),\"drop\"==e&&(u[p][s]=null)):\"dropinit\"==e&&u.droppable.push(o.element(l)||a),\"dragstart\"==e&&(u.proxy=n(o.element(l)||u.drag)[0]),u.results.push(l),delete t.result,\"dropinit\"!==e?l:void 0}),i.results[d]=o.flatten(u.results),\"dropinit\"==e&&(u.droppable=o.flatten(u.droppable)),\"dragstart\"!=e||u.cancelled||h.update()}while(++d<f);return t.type=c.type,t.originalEvent=c.event,o.flatten(i.results)}},properties:function(t,e,i){var n=i.callback;return n.drag=i.drag,n.proxy=i.proxy||i.drag,n.startX=e.pageX,n.startY=e.pageY,n.deltaX=t.pageX-e.pageX,n.deltaY=t.pageY-e.pageY,n.originalX=i.offset.left,n.originalY=i.offset.top,n.offsetX=n.originalX+n.deltaX,n.offsetY=n.originalY+n.deltaY,n.drop=o.flatten((i.drop||[]).slice()),n.available=o.flatten((i.droppable||[]).slice()),n},element:function(t){return t&&(t.jquery||1==t.nodeType)?t:void 0},flatten:function(t){return n.map(t,function(t){return t&&t.jquery?n.makeArray(t):t&&t.length?o.flatten(t):t})},textselect:function(t){n(document)[t?\"unbind\":\"bind\"](\"selectstart\",o.dontstart).css(\"MozUserSelect\",t?\"\":\"none\"),document.unselectable=t?\"off\":\"on\"},dontstart:function(){return!1},callback:function(){}};o.callback.prototype={update:function(){s.drop&&this.available.length&&n.each(this.available,function(t){s.drop.locate(this,t)})}};var a=r.dispatch;r.dispatch=function(t){return n.data(this,\"suppress.\"+t.type)-(new Date).getTime()>0?void n.removeData(this,\"suppress.\"+t.type):a.apply(this,arguments)};var l=r.fixHooks.touchstart=r.fixHooks.touchmove=r.fixHooks.touchend=r.fixHooks.touchcancel={props:\"clientX clientY pageX pageY screenX screenY\".split(\" \"),filter:function(t,e){if(e){var i=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0]||null;i&&n.each(l.props,function(e,n){t[n]=i[n]})}return t}};s.draginit=s.dragstart=s.dragend=o},{jquery:18}],302:[function(t,e,i){var n=t(\"jquery\");t(\"jquery_event_drag\");n.fn.drop=function(t,e,i){var r=\"string\"==typeof t?t:\"\",s=n.isFunction(t)?t:n.isFunction(e)?e:null;return 0!==r.indexOf(\"drop\")&&(r=\"drop\"+r),i=(t==s?e:i)||{},s?this.bind(r,i,s):this.trigger(r)},n.drop=function(t){t=t||{},o.multi=t.multi===!0?1/0:t.multi===!1?1:isNaN(t.multi)?o.multi:t.multi,o.delay=t.delay||o.delay,o.tolerance=n.isFunction(t.tolerance)?t.tolerance:null===t.tolerance?null:o.tolerance,o.mode=t.mode||o.mode||\"intersect\"};var r=n.event,s=r.special,o=n.event.special.drop={multi:1,delay:20,mode:\"overlap\",targets:[],datakey:\"dropdata\",noBubble:!0,add:function(t){var e=n.data(this,o.datakey);e.related+=1},remove:function(){n.data(this,o.datakey).related-=1},setup:function(){if(!n.data(this,o.datakey)){var t={related:0,active:[],anyactive:0,winner:0,location:{}};n.data(this,o.datakey,t),o.targets.push(this)}},teardown:function(){var t=n.data(this,o.datakey)||{};if(!t.related){n.removeData(this,o.datakey);var e=this;o.targets=n.grep(o.targets,function(t){return t!==e})}},handler:function(t,e){var i;if(e)switch(t.type){case\"mousedown\":case\"touchstart\":i=n(o.targets),\"string\"==typeof e.drop&&(i=i.filter(e.drop)),i.each(function(){var t=n.data(this,o.datakey);t.active=[],t.anyactive=0,t.winner=0}),e.droppable=i,s.drag.hijack(t,\"dropinit\",e);break;case\"mousemove\":case\"touchmove\":o.event=t,o.timer||o.tolerate(e);break;case\"mouseup\":case\"touchend\":o.timer=clearTimeout(o.timer),e.propagates&&(s.drag.hijack(t,\"drop\",e),s.drag.hijack(t,\"dropend\",e))}},locate:function(t,e){var i=n.data(t,o.datakey),r=n(t),s=r.offset()||{},a=r.outerHeight(),l=r.outerWidth(),u={elem:t,width:l,height:a,top:s.top,left:s.left,right:s.left+l,bottom:s.top+a};return i&&(i.location=u,i.index=e,i.elem=t),u},contains:function(t,e){return(e[0]||e.left)>=t.left&&(e[0]||e.right)<=t.right&&(e[1]||e.top)>=t.top&&(e[1]||e.bottom)<=t.bottom},modes:{intersect:function(t,e,i){return this.contains(i,[t.pageX,t.pageY])?1e9:this.modes.overlap.apply(this,arguments)},overlap:function(t,e,i){return Math.max(0,Math.min(i.bottom,e.bottom)-Math.max(i.top,e.top))*Math.max(0,Math.min(i.right,e.right)-Math.max(i.left,e.left))},fit:function(t,e,i){return this.contains(i,e)?1:0},middle:function(t,e,i){return this.contains(i,[e.left+.5*e.width,e.top+.5*e.height])?1:0}},sort:function(t,e){return e.winner-t.winner||t.index-e.index},tolerate:function(t){var e,i,r,a,l,u,h,c,p=0,d=t.interactions.length,f=[o.event.pageX,o.event.pageY],g=o.tolerance||o.modes[o.mode];do if(c=t.interactions[p]){if(!c)return;c.drop=[],l=[],u=c.droppable.length,g&&(r=o.locate(c.proxy)),e=0;do if(h=c.droppable[e]){if(a=n.data(h,o.datakey),i=a.location,!i)continue;a.winner=g?g.call(o,o.event,r,i):o.contains(i,f)?1:0,l.push(a)}while(++e<u);l.sort(o.sort),e=0;do(a=l[e])&&(a.winner&&c.drop.length<o.multi?(a.active[p]||a.anyactive||(s.drag.hijack(o.event,\"dropstart\",t,p,a.elem)[0]!==!1?(a.active[p]=1,a.anyactive+=1):a.winner=0),a.winner&&c.drop.push(a.elem)):a.active[p]&&1==a.anyactive&&(s.drag.hijack(o.event,\"dropend\",t,p,a.elem),a.active[p]=0,a.anyactive-=1));while(++e<u)}while(++p<d);o.last&&f[0]==o.last.pageX&&f[1]==o.last.pageY?delete o.timer:o.timer=setTimeout(function(){o.tolerate(t)},o.delay),o.last=o.event}};s.dropinit=s.dropstart=s.dropend=o},{jquery:18,jquery_event_drag:301}],303:[function(t,e,i){var n;!function(t){function e(t){return t instanceof Array?new l(t):t.__iter__()}function i(t){return t instanceof Array?new u(t):t.__reversed__()}function n(t){return t.__next__()}function r(t){if(t instanceof Array)return t.slice();for(var e,i=[],n=t.__iter__();void 0!==(e=n.__next__());)i.push(e);return i}function s(t,e){if(t instanceof Array){for(var i=0,n=t.length;n>i;++i)if(e(t[i])===!1)return}else for(var r,s=t.__iter__();void 0!==(r=s.__next__());)if(e(r)===!1)return}function o(t,e){var i=[];if(t instanceof Array)for(var n=0,r=t.length;r>n;++n)i.push(e(t[n]));else for(var s,o=t.__iter__();void 0!==(s=o.__next__());)i.push(e(s));return i}function a(t,e){var i,n=[];if(t instanceof Array)for(var r=0,s=t.length;s>r;++r)i=t[r],e(i)&&n.push(i);else for(var o=t.__iter__();void 0!==(i=o.__next__());)e(i)&&n.push(i);return n}var l=function(){function t(t,e){\"undefined\"==typeof e&&(e=0),this._array=t,this._index=Math.max(0,Math.min(e,t.length))}return t.prototype.__next__=function(){return this._array[this._index++]},t.prototype.__iter__=function(){return this},t}();t.ArrayIterator=l;var u=function(){function t(t,e){\"undefined\"==typeof e&&(e=t.length),this._array=t,this._index=Math.max(0,Math.min(e,t.length))}return t.prototype.__next__=function(){return this._array[--this._index]},t.prototype.__iter__=function(){return this},t}();t.ReverseArrayIterator=u,t.iter=e,t.reversed=i,t.next=n,t.asArray=r,t.forEach=s,t.map=o,t.filter=a}(n||(n={}));var n;!function(t){var e=function(){function t(t,e){this.first=t,this.second=e}return t.prototype.copy=function(){return new t(this.first,this.second)},t}();t.Pair=e}(n||(n={}));var n;!function(t){function e(t,e,i){for(var n,r,s=0,o=t.length;o>0;)n=o>>1,r=s+n,i(t[r],e)<0?(s=r+1,o-=n+1):o=n;return s}function i(t,i,n){var r=e(t,i,n);if(r===t.length)return-1;var s=t[r];return 0!==n(s,i)?-1:r}function n(t,i,n){var r=e(t,i,n);if(r===t.length)return void 0;var s=t[r];return 0!==n(s,i)?void 0:s}function r(e,i){var n=t.asArray(e),r=n.length;if(1>=r)return n;n.sort(i);for(var s=[n[0]],o=1,a=0;r>o;++o){var l=n[o];0!==i(s[a],l)&&(s.push(l),++a)}return s}function s(t,e,i){for(var n=0,r=0,s=t.length,o=e.length;s>n&&o>r;){var a=i(t[n],e[r]);if(0>a)++n;else{if(!(a>0))return!1;++r}}return!0}function o(t,e,i){var n=t.length,r=e.length;if(n>r)return!1;for(var s=0,o=0;n>s&&r>o;){var a=i(t[s],e[o]);if(0>a)return!1;a>0?++o:(++s,++o)}return n>s?!1:!0}function a(t,e,i){for(var n=0,r=0,s=t.length,o=e.length,a=[];s>n&&o>r;){var l=t[n],u=e[r],h=i(l,u);0>h?(a.push(l),++n):h>0?(a.push(u),++r):(a.push(l),++n,++r)}for(;s>n;)a.push(t[n]),++n;for(;o>r;)a.push(e[r]),++r;return a}function l(t,e,i){for(var n=0,r=0,s=t.length,o=e.length,a=[];s>n&&o>r;){var l=t[n],u=e[r],h=i(l,u);0>h?++n:h>0?++r:(a.push(l),++n,++r)}return a}function u(t,e,i){for(var n=0,r=0,s=t.length,o=e.length,a=[];s>n&&o>r;){var l=t[n],u=e[r],h=i(l,u);0>h?(a.push(l),++n):h>0?++r:(++n,++r)}for(;s>n;)a.push(t[n]),++n;return a}function h(t,e,i){for(var n=0,r=0,s=t.length,o=e.length,a=[];s>n&&o>r;){var l=t[n],u=e[r],h=i(l,u);0>h?(a.push(l),++n):h>0?(a.push(u),++r):(++n,++r)}for(;s>n;)a.push(t[n]),++n;for(;o>r;)a.push(e[r]),++r;return a}t.lowerBound=e,t.binarySearch=i,t.binaryFind=n,t.asSet=r,t.setIsDisjoint=s,t.setIsSubset=o,t.setUnion=a,t.setIntersection=l,t.setDifference=u,t.setSymmetricDifference=h}(n||(n={}));var n;!function(t){var e=function(){function e(){this._array=[]}return e.prototype.size=function(){return this._array.length},e.prototype.empty=function(){return 0===this._array.length},e.prototype.itemAt=function(t){return this._array[t]},e.prototype.takeAt=function(t){return this._array.splice(t,1)[0]},e.prototype.clear=function(){this._array=[]},e.prototype.swap=function(t){var e=this._array;this._array=t._array,t._array=e},e.prototype.__iter__=function(){return t.iter(this._array)},e.prototype.__reversed__=function(){return t.reversed(this._array)},e}();t.ArrayBase=e}(n||(n={}));var n,r=this.__extends||function(t,e){function i(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);i.prototype=e.prototype,t.prototype=new i};!function(t){function e(t){return function(e,i){return t(e.first,i)}}function i(t,e,i){for(var n=0,r=0,s=t.length,o=e.length,a=[];s>n&&o>r;){var l=t[n],u=e[r],h=i(l.first,u.first);0>h?(a.push(l.copy()),++n):h>0?(a.push(u.copy()),++r):(a.push(u.copy()),++n,++r)}for(;s>n;)a.push(t[n].copy()),++n;for(;o>r;)a.push(e[r].copy()),++r;return a}var n=function(n){function s(t){n.call(this),this._compare=t,this._wrapped=e(t)}return r(s,n),s.prototype.comparitor=function(){return this._compare},s.prototype.indexOf=function(e){return t.binarySearch(this._array,e,this._wrapped)},s.prototype.contains=function(e){return t.binarySearch(this._array,e,this._wrapped)>=0},s.prototype.find=function(e){return t.binaryFind(this._array,e,this._wrapped)},s.prototype.setDefault=function(e,i){var n=this._array,r=t.lowerBound(n,e,this._wrapped);if(r===n.length){var s=new t.Pair(e,i());return n.push(s),s}var o=n[r];if(0!==this._compare(o.first,e)){var s=new t.Pair(e,i());return n.splice(r,0,s),s}return o},s.prototype.insert=function(e,i){var n=this._array,r=t.lowerBound(n,e,this._wrapped);if(r===n.length){var s=new t.Pair(e,i);return n.push(s),s}var o=n[r];if(0!==this._compare(o.first,e)){var s=new t.Pair(e,i);return n.splice(r,0,s),s}return o.second=i,o},s.prototype.update=function(e){var n=this;if(e instanceof s){var r=e;this._array=i(this._array,r._array,this._compare)}else t.forEach(e,function(t){n.insert(t.first,t.second)})},s.prototype.erase=function(e){var i=this._array,n=t.binarySearch(i,e,this._wrapped);return 0>n?void 0:i.splice(n,1)[0]},s.prototype.copy=function(){for(var t=new s(this._compare),e=t._array,i=this._array,n=0,r=i.length;r>n;++n)e.push(i[n].copy());return t},s}(t.ArrayBase);t.AssociativeArray=n}(n||(n={}));var n;!function(t){function e(e,n){return e instanceof i?e._array:t.asSet(e,n)}var i=function(i){function n(t){i.call(this),this._compare=t}return r(n,i),n.prototype.comparitor=function(){return this._compare},n.prototype.indexOf=function(e){return t.binarySearch(this._array,e,this._compare)},n.prototype.contains=function(e){return t.binarySearch(this._array,e,this._compare)>=0},n.prototype.insert=function(e){var i=this._array,n=t.lowerBound(i,e,this._compare);return n===i.length?(i.push(e),!0):0!==this._compare(i[n],e)?(i.splice(n,0,e),!0):!1},n.prototype.erase=function(e){var i=this._array,n=t.binarySearch(i,e,this._compare);return 0>n?!1:(i.splice(n,1),!0)},n.prototype.copy=function(){var t=new n(this._compare);return t._array=this._array.slice(),t},n.prototype.isDisjoint=function(i){var n=this._compare,r=e(i,n);return t.setIsDisjoint(this._array,r,n)},n.prototype.isSubset=function(i){var n=this._compare,r=e(i,n);return t.setIsSubset(this._array,r,n)},n.prototype.isSuperset=function(i){var n=this._compare,r=e(i,n);return t.setIsSubset(r,this._array,n)},n.prototype.union=function(i){var r=this._compare,s=new n(r),o=e(i,r);return s._array=t.setUnion(this._array,o,r),s},n.prototype.intersection=function(i){var r=this._compare,s=new n(r),o=e(i,r);return s._array=t.setIntersection(this._array,o,r),s},n.prototype.difference=function(i){var r=this._compare,s=new n(r),o=e(i,r);return s._array=t.setDifference(this._array,o,r),s},n.prototype.symmetricDifference=function(i){var r=this._compare,s=new n(r),o=e(i,r);return s._array=t.setSymmetricDifference(this._array,o,r),s},n.prototype.unionUpdate=function(i){var n=this._compare,r=e(i,n);this._array=t.setUnion(this._array,r,n)},n.prototype.intersectionUpdate=function(i){var n=this._compare,r=e(i,n);this._array=t.setIntersection(this._array,r,n)},n.prototype.differenceUpdate=function(i){var n=this._compare,r=e(i,n);this._array=t.setDifference(this._array,r,n)},n.prototype.symmetricDifferenceUpdate=function(i){var n=this._compare,r=e(i,n);this._array=t.setSymmetricDifference(this._array,r,n)},n}(t.ArrayBase);t.UniqueArray=i}(n||(n={}));var s;!function(t){!function(t){t[t.Le=0]=\"Le\",t[t.Ge=1]=\"Ge\",t[t.Eq=2]=\"Eq\"}(t.Operator||(t.Operator={}));var e=(t.Operator,function(){function e(e,n,r){\"undefined\"==typeof r&&(r=t.Strength.required),this._id=i++,this._operator=n,this._expression=e,this._strength=t.Strength.clip(r)}return e.Compare=function(t,e){return t.id()-e.id()},e.prototype.id=function(){return this._id},e.prototype.expression=function(){return this._expression},e.prototype.op=function(){return this._operator},e.prototype.strength=function(){return this._strength},e}());t.Constraint=e;var i=0}(s||(s={}));var s;!function(t){function e(t){return new n.AssociativeArray(t)}t.createMap=e}(s||(s={}));var s;!function(t){var e=function(){function t(t){\"undefined\"==typeof t&&(t=\"\"),this._value=0,this._context=null,this._id=i++,this._name=t}return t.Compare=function(t,e){return t.id()-e.id()},t.prototype.id=function(){return this._id},t.prototype.name=function(){return this._name},t.prototype.setName=function(t){this._name=t},t.prototype.context=function(){return this._context},t.prototype.setContext=function(t){this._context=t},t.prototype.value=function(){return this._value},t.prototype.setValue=function(t){this._value=t},t}();t.Variable=e;var i=0}(s||(s={}));var s;!function(t){function e(e){for(var i=0,n=function(){return 0},r=t.createMap(t.Variable.Compare),s=0,o=e.length;o>s;++s){var a=e[s];if(\"number\"==typeof a)i+=a;else if(a instanceof t.Variable)r.setDefault(a,n).second+=1;else{if(!(a instanceof Array))throw new Error(\"invalid Expression argument: \"+a);if(2!==a.length)throw new Error(\"array must have length 2\");var l=a[0],u=a[1];if(\"number\"!=typeof l)throw new Error(\"array item 0 must be a number\");if(!(u instanceof t.Variable))throw new Error(\"array item 1 must be a variable\");r.setDefault(u,n).second+=l}}return{terms:r,constant:i}}var i=function(){function t(){var t=e(arguments);this._terms=t.terms,this._constant=t.constant}return t.prototype.terms=function(){return this._terms},t.prototype.constant=function(){return this._constant},t.prototype.value=function(){var t=this._constant;return n.forEach(this._terms,function(e){t+=e.first.value()*e.second}),t},t}();t.Expression=i}(s||(s={}));var s;!function(t){!function(t){function e(t,e,i,n){\"undefined\"==typeof n&&(n=1);var r=0;return r+=1e6*Math.max(0,Math.min(1e3,t*n)),r+=1e3*Math.max(0,Math.min(1e3,e*n)),r+=Math.max(0,Math.min(1e3,i*n))}function i(e){return Math.max(0,Math.min(t.required,e))}t.create=e,t.required=e(1e3,1e3,1e3),t.strong=e(1,0,0),t.medium=e(0,1,0),t.weak=e(0,0,1),t.clip=i}(t.Strength||(t.Strength={}));t.Strength}(s||(s={}));var s;!function(t){function e(t){var e=1e-8;return 0>t?e>-t:e>t}function i(){return t.createMap(t.Constraint.Compare)}function n(){return t.createMap(l.Compare)}function r(){return t.createMap(t.Variable.Compare)}function s(){return t.createMap(t.Variable.Compare)}var o=function(){function o(){this._cnMap=i(),this._rowMap=n(),this._varMap=r(),this._editMap=s(),this._infeasibleRows=[],this._objective=new h,this._artificial=null,this._idTick=0}return o.prototype.addConstraint=function(t){var i=this._cnMap.find(t);if(void 0!==i)throw new Error(\"duplicate constraint\");var n=this._createRow(t),r=n.row,s=n.tag,o=this._chooseSubject(r,s);if(0===o.type()&&r.allDummies()){if(!e(r.constant()))throw new Error(\"unsatifiable constraint\");o=s.marker}if(0===o.type()){if(!this._addWithArtificialVariable(r))throw new Error(\"unsatisfiable constraint\")}else r.solveFor(o),this._substitute(o,r),this._rowMap.insert(o,r);this._cnMap.insert(t,s),this._optimize(this._objective)},o.prototype.removeConstraint=function(t){var e=this._cnMap.erase(t);if(void 0===e)throw new Error(\"unknown constraint\");this._removeConstraintEffects(t,e.second);var i=e.second.marker,n=this._rowMap.erase(i);if(void 0===n){var r=this._getMarkerLeavingSymbol(i);if(0===r.type())throw new Error(\"failed to find leaving row\");n=this._rowMap.erase(r),n.second.solveForEx(r,i),this._substitute(i,n.second)}this._optimize(this._objective)},o.prototype.hasConstraint=function(t){return this._cnMap.contains(t)},o.prototype.addEditVariable=function(e,i){var n=this._editMap.find(e);if(void 0!==n)throw new Error(\"duplicate edit variable\");if(i=t.Strength.clip(i),i===t.Strength.required)throw new Error(\"bad required strength\");var r=new t.Expression(e),s=new t.Constraint(r,2,i);this.addConstraint(s);var o=this._cnMap.find(s).second,a={tag:o,constraint:s,constant:0};this._editMap.insert(e,a)},o.prototype.removeEditVariable=function(t){var e=this._editMap.erase(t);if(void 0===e)throw new Error(\"unknown edit variable\");this.removeConstraint(e.second.constraint)},o.prototype.hasEditVariable=function(t){return this._editMap.contains(t)},o.prototype.suggestValue=function(t,e){var i=this._editMap.find(t);if(void 0===i)throw new Error(\"unknown edit variable\");var n=this._rowMap,r=i.second,s=e-r.constant;r.constant=e;var o=r.tag.marker,a=n.find(o);if(void 0!==a)return a.second.add(-s)<0&&this._infeasibleRows.push(o),void this._dualOptimize();var l=r.tag.other,a=n.find(l);if(void 0!==a)return a.second.add(s)<0&&this._infeasibleRows.push(l),void this._dualOptimize();for(var u=0,h=n.size();h>u;++u){var a=n.itemAt(u),c=a.second,p=c.coefficientFor(o);0!==p&&c.add(s*p)<0&&1!==a.first.type()&&this._infeasibleRows.push(a.first)}this._dualOptimize()},o.prototype.updateVariables=function(){for(var t=this._varMap,e=this._rowMap,i=0,n=t.size();n>i;++i){var r=t.itemAt(i),s=e.find(r.second);void 0!==s?r.first.setValue(s.second.constant()):r.first.setValue(0)}},o.prototype._getVarSymbol=function(t){var e=this,i=function(){return e._makeSymbol(1)};return this._varMap.setDefault(t,i).second},o.prototype._createRow=function(i){for(var n=i.expression(),r=new h(n.constant()),s=n.terms(),o=0,a=s.size();a>o;++o){var l=s.itemAt(o);if(!e(l.second)){var c=this._getVarSymbol(l.first),p=this._rowMap.find(c);void 0!==p?r.insertRow(p.second,l.second):r.insertSymbol(c,l.second)}}var d=this._objective,f=i.strength(),g={marker:u,other:u};switch(i.op()){case 0:case 1:var m=0===i.op()?1:-1,_=this._makeSymbol(2);if(g.marker=_,r.insertSymbol(_,m),f<t.Strength.required){var v=this._makeSymbol(3);g.other=v,r.insertSymbol(v,-m),d.insertSymbol(v,f)}break;case 2:if(f<t.Strength.required){var y=this._makeSymbol(3),b=this._makeSymbol(3);g.marker=y,g.other=b,r.insertSymbol(y,-1),r.insertSymbol(b,1),d.insertSymbol(y,f),d.insertSymbol(b,f)}else{var w=this._makeSymbol(4);g.marker=w,r.insertSymbol(w)}}return r.constant()<0&&r.reverseSign(),{row:r,tag:g}},o.prototype._chooseSubject=function(t,e){for(var i=t.cells(),n=0,r=i.size();r>n;++n){var s=i.itemAt(n);if(1===s.first.type())return s.first}var o=e.marker.type();return(2===o||3===o)&&t.coefficientFor(e.marker)<0?e.marker:(o=e.other.type(),(2===o||3===o)&&t.coefficientFor(e.other)<0?e.other:u)},o.prototype._addWithArtificialVariable=function(t){var i=this._makeSymbol(2);this._rowMap.insert(i,t.copy()),this._artificial=t.copy(),this._optimize(this._artificial);var n=e(this._artificial.constant());this._artificial=null;var r=this._rowMap.erase(i);if(void 0!==r){var s=r.second;if(s.isConstant())return n;var o=this._anyPivotableSymbol(s);if(0===o.type())return!1;s.solveForEx(i,o),this._substitute(o,s),this._rowMap.insert(o,s)}for(var a=this._rowMap,l=0,u=a.size();u>l;++l)a.itemAt(l).second.removeSymbol(i);return this._objective.removeSymbol(i),n},o.prototype._substitute=function(t,e){for(var i=this._rowMap,n=0,r=i.size();r>n;++n){var s=i.itemAt(n);s.second.substitute(t,e),s.second.constant()<0&&1!==s.first.type()&&this._infeasibleRows.push(s.first)}this._objective.substitute(t,e),this._artificial&&this._artificial.substitute(t,e)},o.prototype._optimize=function(t){for(;;){var e=this._getEnteringSymbol(t);if(0===e.type())return;var i=this._getLeavingSymbol(e);if(0===i.type())throw new Error(\"the objective is unbounded\");var n=this._rowMap.erase(i).second;n.solveForEx(i,e),this._substitute(e,n),this._rowMap.insert(e,n)}},o.prototype._dualOptimize=function(){for(var t=this._rowMap,e=this._infeasibleRows;0!==e.length;){var i=e.pop(),n=t.find(i);if(void 0!==n&&n.second.constant()<0){var r=this._getDualEnteringSymbol(n.second);if(0===r.type())throw new Error(\"dual optimize failed\");var s=n.second;t.erase(i),s.solveForEx(i,r),this._substitute(r,s),t.insert(r,s)}}},o.prototype._getEnteringSymbol=function(t){for(var e=t.cells(),i=0,n=e.size();n>i;++i){var r=e.itemAt(i),s=r.first;if(r.second<0&&4!==s.type())return s}return u},o.prototype._getDualEnteringSymbol=function(t){for(var e=Number.MAX_VALUE,i=u,n=t.cells(),r=0,s=n.size();s>r;++r){var o=n.itemAt(r),a=o.first,l=o.second;if(l>0&&4!==a.type()){var h=this._objective.coefficientFor(a),c=h/l;e>c&&(e=c,i=a)}}return i},o.prototype._getLeavingSymbol=function(t){for(var e=Number.MAX_VALUE,i=u,n=this._rowMap,r=0,s=n.size();s>r;++r){var o=n.itemAt(r),a=o.first;if(1!==a.type()){var l=o.second,h=l.coefficientFor(t);if(0>h){var c=-l.constant()/h;e>c&&(e=c,i=a)}}}return i},o.prototype._getMarkerLeavingSymbol=function(t){for(var e=Number.MAX_VALUE,i=e,n=e,r=u,s=r,o=r,a=r,l=this._rowMap,h=0,c=l.size();c>h;++h){var p=l.itemAt(h),d=p.second,f=d.coefficientFor(t);if(0!==f){var g=p.first;if(1===g.type())a=g;else if(0>f){var m=-d.constant()/f;i>m&&(i=m,s=g)}else{var m=d.constant()/f;n>m&&(n=m,o=g)}}}return s!==r?s:o!==r?o:a},o.prototype._removeConstraintEffects=function(t,e){3===e.marker.type()&&this._removeMarkerEffects(e.marker,t.strength()),3===e.other.type()&&this._removeMarkerEffects(e.other,t.strength())},o.prototype._removeMarkerEffects=function(t,e){var i=this._rowMap.find(t);void 0!==i?this._objective.insertRow(i.second,-e):this._objective.insertSymbol(t,-e)},o.prototype._anyPivotableSymbol=function(t){for(var e=t.cells(),i=0,n=e.size();n>i;++i){var r=e.itemAt(i),s=r.first.type();if(2===s||3===s)return r.first}return u},o.prototype._makeSymbol=function(t){return new l(t,this._idTick++)},o}();t.Solver=o;var a;!function(t){t[t.Invalid=0]=\"Invalid\",t[t.External=1]=\"External\",t[t.Slack=2]=\"Slack\",t[t.Error=3]=\"Error\",t[t.Dummy=4]=\"Dummy\"}(a||(a={}));var l=function(){function t(t,e){this._id=e,this._type=t}return t.Compare=function(t,e){return t.id()-e.id()},t.prototype.id=function(){return this._id},t.prototype.type=function(){return this._type},t}(),u=new l(0,-1),h=function(){function i(e){\"undefined\"==typeof e&&(e=0),this._cellMap=t.createMap(l.Compare),this._constant=e}return i.prototype.cells=function(){return this._cellMap},i.prototype.constant=function(){return this._constant},i.prototype.isConstant=function(){return this._cellMap.empty()},i.prototype.allDummies=function(){for(var t=this._cellMap,e=0,i=t.size();i>e;++e){var n=t.itemAt(e);if(4!==n.first.type())return!1}return!0},i.prototype.copy=function(){var t=new i(this._constant);return t._cellMap=this._cellMap.copy(),t},i.prototype.add=function(t){return this._constant+=t},i.prototype.insertSymbol=function(t,i){\"undefined\"==typeof i&&(i=1);var n=this._cellMap.setDefault(t,function(){return 0});e(n.second+=i)&&this._cellMap.erase(t)},i.prototype.insertRow=function(t,e){\"undefined\"==typeof e&&(e=1),this._constant+=t._constant*e;for(var i=t._cellMap,n=0,r=i.size();r>n;++n){var s=i.itemAt(n);this.insertSymbol(s.first,s.second*e)}},i.prototype.removeSymbol=function(t){this._cellMap.erase(t)},i.prototype.reverseSign=function(){this._constant=-this._constant;for(var t=this._cellMap,e=0,i=t.size();i>e;++e){var n=t.itemAt(e);n.second=-n.second}},i.prototype.solveFor=function(t){var e=this._cellMap,i=e.erase(t),n=-1/i.second;this._constant*=n;for(var r=0,s=e.size();s>r;++r)e.itemAt(r).second*=n},i.prototype.solveForEx=function(t,e){this.insertSymbol(t,-1),this.solveFor(e)},i.prototype.coefficientFor=function(t){var e=this._cellMap.find(t);return void 0!==e?e.second:0},i.prototype.substitute=function(t,e){var i=this._cellMap.erase(t);void 0!==i&&this.insertRow(e,i.second)},i}()}(s||(s={})),e.exports=s},{}],304:[function(t,e,i){function n(t,e,i,n){var r,s,o=Math.pow(10,e);return s=(i(t*o)/o).toFixed(e),n&&(r=new RegExp(\"0{1,\"+n+\"}$\"),s=s.replace(r,\"\")),s}function r(t,e,i,n){var r;return r=e.indexOf(\"$\")>-1?s(t,e,i,n):e.indexOf(\"%\")>-1?o(t,e,i,n):e.indexOf(\":\")>-1?a(t,e,i):l(t,e,i,n)}function s(t,e,i,n){var r,s,o=e.indexOf(\"$\"),a=e.indexOf(\"(\"),u=e.indexOf(\"-\"),h=\"\";return e.indexOf(\" $\")>-1?(h=\" \",e=e.replace(\" $\",\"\")):e.indexOf(\"$ \")>-1?(h=\" \",e=e.replace(\"$ \",\"\")):e=e.replace(\"$\",\"\"),s=l(t,e,i,n),1>=o?s.indexOf(\"(\")>-1||s.indexOf(\"-\")>-1?(s=s.split(\"\"),r=1,(a>o||u>o)&&(r=0),s.splice(r,0,i.currency.symbol+h),s=s.join(\"\")):s=i.currency.symbol+h+s:s.indexOf(\")\")>-1?(s=s.split(\"\"),s.splice(-1,0,h+i.currency.symbol),s=s.join(\"\")):s=s+h+i.currency.symbol,s}function o(t,e,i,n){var r,s=\"\",t=100*t;return e.indexOf(\" %\")>-1?(s=\" \",e=e.replace(\" %\",\"\")):e=e.replace(\"%\",\"\"),r=l(t,e,i,n),r.indexOf(\")\")>-1?(r=r.split(\"\"),r.splice(-1,0,s+\"%\"),r=r.join(\"\")):r=r+s+\"%\",r}function a(t,e){var i=Math.floor(t/60/60),n=Math.floor((t-60*i*60)/60),r=Math.round(t-60*i*60-60*n);return i+\":\"+(10>n?\"0\"+n:n)+\":\"+(10>r?\"0\"+r:r)}function l(t,e,i,r){var s,o,a,l,u,h,c=!1,p=!1,d=!1,f=\"\",g=!1,m=!1,_=!1,v=!1,y=!1,b=\"\",w=\"\",x=Math.abs(t),k=[\"B\",\"KB\",\"MB\",\"GB\",\"TB\",\"PB\",\"EB\",\"ZB\",\"YB\"],M=\"\",C=!1;if(e.indexOf(\"(\")>-1?(c=!0,e=e.slice(1,-1)):e.indexOf(\"+\")>-1&&(p=!0,e=e.replace(/\\+/g,\"\")),e.indexOf(\"a\")>-1&&(g=e.indexOf(\"aK\")>=0,m=e.indexOf(\"aM\")>=0,_=e.indexOf(\"aB\")>=0,v=e.indexOf(\"aT\")>=0,y=g||m||_||v,e.indexOf(\" a\")>-1?(f=\" \",e=e.replace(\" a\",\"\")):e=e.replace(\"a\",\"\"),x>=Math.pow(10,12)&&!y||v?(f+=i.abbreviations.trillion,t/=Math.pow(10,12)):x<Math.pow(10,12)&&x>=Math.pow(10,9)&&!y||_?(f+=i.abbreviations.billion,t/=Math.pow(10,9)):x<Math.pow(10,9)&&x>=Math.pow(10,6)&&!y||m?(f+=i.abbreviations.million,t/=Math.pow(10,6)):(x<Math.pow(10,6)&&x>=Math.pow(10,3)&&!y||g)&&(f+=i.abbreviations.thousand,t/=Math.pow(10,3))),e.indexOf(\"b\")>-1)for(e.indexOf(\" b\")>-1?(b=\" \",e=e.replace(\" b\",\"\")):e=e.replace(\"b\",\"\"),a=0;a<=k.length;a++)if(s=Math.pow(1024,a),o=Math.pow(1024,a+1),t>=s&&o>t){b+=k[a],s>0&&(t/=s);break}return e.indexOf(\"o\")>-1&&(e.indexOf(\" o\")>-1?(w=\" \",e=e.replace(\" o\",\"\")):e=e.replace(\"o\",\"\"),w+=i.ordinal(t)),e.indexOf(\"[.]\")>-1&&(d=!0,e=e.replace(\"[.]\",\".\")),l=t.toString().split(\".\")[0],u=e.split(\".\")[1],h=e.indexOf(\",\"),u?(u.indexOf(\"[\")>-1?(u=u.replace(\"]\",\"\"),u=u.split(\"[\"),M=n(t,u[0].length+u[1].length,r,u[1].length)):M=n(t,u.length,r),l=M.split(\".\")[0],M=M.split(\".\")[1].length?i.delimiters.decimal+M.split(\".\")[1]:\"\",d&&0===Number(M.slice(1))&&(M=\"\")):l=n(t,null,r),l.indexOf(\"-\")>-1&&(l=l.slice(1),C=!0),h>-1&&(l=l.toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g,\"$1\"+i.delimiters.thousands)),0===e.indexOf(\".\")&&(l=\"\"),(c&&C?\"(\":\"\")+(!c&&C?\"-\":\"\")+(!C&&p?\"+\":\"\")+l+M+(w?w:\"\")+(f?f:\"\")+(b?b:\"\")+(c&&C?\")\":\"\")}function u(t,e){p[t]=e}function h(t,e,i,n){return r(Number(t),c.isString(e)?e:d,c.isString(i)?p[i]:p[f],c.isUndefined(n)?Math.round:n)}var c=t(\"underscore\"),p={},d=\"0,0\",f=\"en\";u(\"en\",{delimiters:{thousands:\",\",decimal:\".\"},abbreviations:{thousand:\"k\",million:\"m\",billion:\"b\",trillion:\"t\"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?\"th\":1===e?\"st\":2===e?\"nd\":3===e?\"rd\":\"th\"},currency:{symbol:\"$\"}}),e.exports={format:h}},{underscore:92}],305:[function(t,e,i){function n(t){function e(t){p=t,d.subscribe(p.onSelectedRowsChanged,n).subscribe(p.onClick,a).subscribe(p.onHeaderClick,u).subscribe(p.onKeyDown,o)}function i(){d.unsubscribeAll()}function n(t,e){var i,n,r=p.getSelectedRows(),s={};for(n=0;n<r.length;n++)i=r[n],s[i]=!0,s[i]!==f[i]&&(p.invalidateRow(i),delete f[i]);for(n in f)p.invalidateRow(n);f=s,p.render(),r.length&&r.length==p.getDataLength()?p.updateColumnHeader(m.columnId,\"<input type='checkbox' checked='checked'>\",m.toolTip):p.updateColumnHeader(m.columnId,\"<input type='checkbox'>\",m.toolTip)}function o(t,e){32==t.which&&p.getColumns()[e.cell].id===m.columnId&&((!p.getEditorLock().isActive()||p.getEditorLock().commitCurrentEdit())&&l(e.row),t.preventDefault(),t.stopImmediatePropagation())}function a(t,e){if(p.getColumns()[e.cell].id===m.columnId&&r(t.target).is(\":checkbox\")){if(p.getEditorLock().isActive()&&!p.getEditorLock().commitCurrentEdit())return t.preventDefault(),void t.stopImmediatePropagation();l(e.row),t.stopPropagation(),t.stopImmediatePropagation()}}function l(t){f[t]?p.setSelectedRows(r.grep(p.getSelectedRows(),function(e){return e!=t})):p.setSelectedRows(p.getSelectedRows().concat(t))}function u(t,e){if(e.column.id==m.columnId&&r(t.target).is(\":checkbox\")){if(p.getEditorLock().isActive()&&!p.getEditorLock().commitCurrentEdit())return t.preventDefault(),void t.stopImmediatePropagation();if(r(t.target).is(\":checked\")){for(var i=[],n=0;n<p.getDataLength();n++)i.push(n);p.setSelectedRows(i)}else p.setSelectedRows([]);t.stopPropagation(),t.stopImmediatePropagation()}}function h(){return{id:m.columnId,name:\"<input type='checkbox'>\",toolTip:m.toolTip,field:\"sel\",width:m.width,resizable:!1,sortable:!1,cssClass:m.cssClass,formatter:c}}function c(t,e,i,n,r){return r?f[t]?\"<input type='checkbox' checked='checked'>\":\"<input type='checkbox'>\":null}var p,d=new s.EventHandler,f={},g={columnId:\"_checkbox_selector\",cssClass:null,toolTip:\"Select/Deselect All\",width:30},m=r.extend(!0,{},g,t);r.extend(this,{init:e,destroy:i,getColumnDefinition:h})}var r=t(\"jquery\"),s=t(\"../slick.core\");e.exports=n},{\"../slick.core\":307,jquery:18}],306:[function(t,e,i){function n(t){function e(e){v=r.extend(!0,{},x,t),m=e,w.subscribe(m.onActiveCellChanged,n(d)),w.subscribe(m.onKeyDown,n(f)),w.subscribe(m.onClick,n(g))}function i(){w.unsubscribeAll()}function n(t){return function(){_||(_=!0,t.apply(this,arguments),_=!1)}}function o(t){for(var e=[],i=0;i<t.length;i++)for(var n=t[i].fromRow;n<=t[i].toRow;n++)e.push(n);return e}function a(t){for(var e=[],i=m.getColumns().length-1,n=0;n<t.length;n++)e.push(new s.Range(t[n],0,t[n],i));return e}function l(t,e){var i,n=[];for(i=t;e>=i;i++)n.push(i);for(i=e;t>i;i++)n.push(i);return n}function u(){return o(y)}function h(t){c(a(t))}function c(t){y=t,b.onSelectedRangesChanged.notify(y)}function p(){return y}function d(t,e){v.selectActiveRow&&null!=e.row&&c([new s.Range(e.row,0,e.row,m.getColumns().length-1)])}function f(t){var e=m.getActiveCell();if(e&&t.shiftKey&&!t.ctrlKey&&!t.altKey&&!t.metaKey&&(38==t.which||40==t.which)){var i=u();i.sort(function(t,e){return t-e}),i.length||(i=[e.row]);var n,r=i[0],s=i[i.length-1];n=40==t.which?e.row<s||r==s?++s:++r:e.row<s?--s:--r,n>=0&&n<m.getDataLength()&&(m.scrollRowIntoView(n),y=a(l(r,s)),c(y)),t.preventDefault(),t.stopPropagation()}}function g(t){var e=m.getCellFromEvent(t);if(!e||!m.canCellBeActive(e.row,e.cell))return!1;if(!m.getOptions().multiSelect||!t.ctrlKey&&!t.shiftKey&&!t.metaKey)return!1;var i=o(y),n=r.inArray(e.row,i);if(-1===n&&(t.ctrlKey||t.metaKey))i.push(e.row),\n",
       "        m.setActiveCell(e.row,e.cell);else if(-1!==n&&(t.ctrlKey||t.metaKey))i=r.grep(i,function(t,i){return t!==e.row}),m.setActiveCell(e.row,e.cell);else if(i.length&&t.shiftKey){var s=i.pop(),l=Math.min(e.row,s),u=Math.max(e.row,s);i=[];for(var h=l;u>=h;h++)h!==s&&i.push(h);i.push(s),m.setActiveCell(e.row,e.cell)}return y=a(i),c(y),t.stopImmediatePropagation(),!0}var m,_,v,y=[],b=this,w=new s.EventHandler,x={selectActiveRow:!0};r.extend(this,{getSelectedRows:u,setSelectedRows:h,getSelectedRanges:p,setSelectedRanges:c,init:e,destroy:i,onSelectedRangesChanged:new s.Event})}var r=t(\"jquery\"),s=t(\"../slick.core\");e.exports=n},{\"../slick.core\":307,jquery:18}],307:[function(t,e,i){function n(){var t=!1,e=!1;this.stopPropagation=function(){t=!0},this.isPropagationStopped=function(){return t},this.stopImmediatePropagation=function(){e=!0},this.isImmediatePropagationStopped=function(){return e}}function r(){var t=[];this.subscribe=function(e){t.push(e)},this.unsubscribe=function(e){for(var i=t.length-1;i>=0;i--)t[i]===e&&t.splice(i,1)},this.notify=function(e,i,r){i=i||new n,r=r||this;for(var s,o=0;o<t.length&&!i.isPropagationStopped()&&!i.isImmediatePropagationStopped();o++)s=t[o].call(r,i,e);return s}}function s(){var t=[];this.subscribe=function(e,i){return t.push({event:e,handler:i}),e.subscribe(i),this},this.unsubscribe=function(e,i){for(var n=t.length;n--;)if(t[n].event===e&&t[n].handler===i)return t.splice(n,1),void e.unsubscribe(i);return this},this.unsubscribeAll=function(){for(var e=t.length;e--;)t[e].event.unsubscribe(t[e].handler);return t=[],this}}function o(t,e,i,n){void 0===i&&void 0===n&&(i=t,n=e),this.fromRow=Math.min(t,i),this.fromCell=Math.min(e,n),this.toRow=Math.max(t,i),this.toCell=Math.max(e,n),this.isSingleRow=function(){return this.fromRow==this.toRow},this.isSingleCell=function(){return this.fromRow==this.toRow&&this.fromCell==this.toCell},this.contains=function(t,e){return t>=this.fromRow&&t<=this.toRow&&e>=this.fromCell&&e<=this.toCell},this.toString=function(){return this.isSingleCell()?\"(\"+this.fromRow+\":\"+this.fromCell+\")\":\"(\"+this.fromRow+\":\"+this.fromCell+\" - \"+this.toRow+\":\"+this.toCell+\")\"}}function a(){this.__nonDataRow=!0}function l(){this.__group=!0,this.level=0,this.count=0,this.value=null,this.title=null,this.collapsed=!1,this.totals=null,this.rows=[],this.groups=null,this.groupingKey=null}function u(){this.__groupTotals=!0,this.group=null,this.initialized=!1}function h(){var t=null;this.isActive=function(e){return e?t===e:null!==t},this.activate=function(e){if(e!==t){if(null!==t)throw\"SlickGrid.EditorLock.activate: an editController is still active, can't activate another editController\";if(!e.commitCurrentEdit)throw\"SlickGrid.EditorLock.activate: editController must implement .commitCurrentEdit()\";if(!e.cancelCurrentEdit)throw\"SlickGrid.EditorLock.activate: editController must implement .cancelCurrentEdit()\";t=e}},this.deactivate=function(e){if(t!==e)throw\"SlickGrid.EditorLock.deactivate: specified editController is not the currently active one\";t=null},this.commitCurrentEdit=function(){return t?t.commitCurrentEdit():!0},this.cancelCurrentEdit=function(){return t?t.cancelCurrentEdit():!0}}var c=(t(\"jquery\"),{Event:r,EventData:n,EventHandler:s,Range:o,NonDataRow:a,Group:l,GroupTotals:u,EditorLock:h,GlobalEditorLock:new h});l.prototype=new a,l.prototype.equals=function(t){return this.value===t.value&&this.count===t.count&&this.collapsed===t.collapsed&&this.title===t.title},u.prototype=new a,e.exports=c},{jquery:18}],308:[function(require,module,exports){function SlickGrid(container,data,columns,options){function init(){if($container=$(container),$container.length<1)throw new Error(\"SlickGrid requires a valid container, \"+container+\" does not exist in the DOM.\");maxSupportedCssHeight=maxSupportedCssHeight||getMaxSupportedCssHeight(),scrollbarDimensions=scrollbarDimensions||measureScrollbar(),options=$.extend({},defaults,options),validateAndEnforceOptions(),columnDefaults.width=options.defaultColumnWidth,columnsById={};for(var t=0;t<columns.length;t++){var e=columns[t]=$.extend({},columnDefaults,columns[t]);columnsById[e.id]=t,e.minWidth&&e.width<e.minWidth&&(e.width=e.minWidth),e.maxWidth&&e.width>e.maxWidth&&(e.width=e.maxWidth)}if(options.enableColumnReorder&&!$.fn.sortable)throw new Error(\"SlickGrid's 'enableColumnReorder = true' option requires jquery-ui.sortable module to be loaded\");editController={commitCurrentEdit:commitCurrentEdit,cancelCurrentEdit:cancelCurrentEdit},$container.empty().css(\"overflow\",\"hidden\").css(\"outline\",0).addClass(uid).addClass(\"bk-ui-widget\"),/relative|absolute|fixed/.test($container.css(\"position\"))||$container.css(\"position\",\"relative\"),$focusSink=$(\"<div tabIndex='0' hideFocus style='position:fixed;width:0;height:0;top:0;left:0;outline:0;'></div>\").appendTo($container),$headerScroller=$(\"<div class='bk-slick-header bk-ui-state-default' style='overflow:hidden;position:relative;' />\").appendTo($container),$headers=$(\"<div class='bk-slick-header-columns' style='left:-1000px' />\").appendTo($headerScroller),$headers.width(getHeadersWidth()),$headerRowScroller=$(\"<div class='bk-slick-headerrow bk-ui-state-default' style='overflow:hidden;position:relative;' />\").appendTo($container),$headerRow=$(\"<div class='bk-slick-headerrow-columns' />\").appendTo($headerRowScroller),$headerRowSpacer=$(\"<div style='display:block;height:1px;position:absolute;top:0;left:0;'></div>\").css(\"width\",getCanvasWidth()+scrollbarDimensions.width+\"px\").appendTo($headerRowScroller),$topPanelScroller=$(\"<div class='bk-slick-top-panel-scroller bk-ui-state-default' style='overflow:hidden;position:relative;' />\").appendTo($container),$topPanel=$(\"<div class='bk-slick-top-panel' style='width:10000px' />\").appendTo($topPanelScroller),options.showTopPanel||$topPanelScroller.hide(),options.showHeaderRow||$headerRowScroller.hide(),$viewport=$(\"<div class='bk-slick-viewport' style='width:100%;overflow:auto;outline:0;position:relative;;'>\").appendTo($container),$viewport.css(\"overflow-y\",options.autoHeight?\"hidden\":\"auto\"),$canvas=$(\"<div class='grid-canvas' />\").appendTo($viewport),$focusSink2=$focusSink.clone().appendTo($container),options.explicitInitialization||finishInitialization()}function finishInitialization(){initialized||(initialized=!0,viewportW=parseFloat($.css($container[0],\"width\",!0)),measureCellPaddingAndBorder(),disableSelection($headers),options.enableTextSelectionOnCells||$viewport.bind(\"selectstart.ui\",function(t){return $(t.target).is(\"input,textarea\")}),updateColumnCaches(),createColumnHeaders(),setupColumnSort(),createCssRules(),resizeCanvas(),bindAncestorScrollEvents(),$container.bind(\"resize.bk-slickgrid\",resizeCanvas),$viewport.bind(\"scroll\",handleScroll),$headerScroller.bind(\"contextmenu\",handleHeaderContextMenu).bind(\"click\",handleHeaderClick).delegate(\".bk-slick-header-column\",\"mouseenter\",handleHeaderMouseEnter).delegate(\".bk-slick-header-column\",\"mouseleave\",handleHeaderMouseLeave),$headerRowScroller.bind(\"scroll\",handleHeaderRowScroll),$focusSink.add($focusSink2).bind(\"keydown\",handleKeyDown),$canvas.bind(\"keydown\",handleKeyDown).bind(\"click\",handleClick).bind(\"dblclick\",handleDblClick).bind(\"contextmenu\",handleContextMenu).bind(\"draginit\",handleDragInit).bind(\"dragstart\",{distance:3},handleDragStart).bind(\"drag\",handleDrag).bind(\"dragend\",handleDragEnd).delegate(\".bk-slick-cell\",\"mouseenter\",handleMouseEnter).delegate(\".bk-slick-cell\",\"mouseleave\",handleMouseLeave),navigator.userAgent.toLowerCase().match(/webkit/)&&navigator.userAgent.toLowerCase().match(/macintosh/)&&$canvas.bind(\"mousewheel\",handleMouseWheel))}function registerPlugin(t){plugins.unshift(t),t.init(self)}function unregisterPlugin(t){for(var e=plugins.length;e>=0;e--)if(plugins[e]===t){plugins[e].destroy&&plugins[e].destroy(),plugins.splice(e,1);break}}function setSelectionModel(t){selectionModel&&(selectionModel.onSelectedRangesChanged.unsubscribe(handleSelectedRangesChanged),selectionModel.destroy&&selectionModel.destroy()),selectionModel=t,selectionModel&&(selectionModel.init(self),selectionModel.onSelectedRangesChanged.subscribe(handleSelectedRangesChanged))}function getSelectionModel(){return selectionModel}function getCanvasNode(){return $canvas[0]}function measureScrollbar(){var t=$(\"<div style='position:absolute; top:-10000px; left:-10000px; width:100px; height:100px; overflow:scroll;'></div>\").appendTo(\"body\"),e={width:t.width()-t[0].clientWidth,height:t.height()-t[0].clientHeight};return t.remove(),e}function getHeadersWidth(){for(var t=0,e=0,i=columns.length;i>e;e++){var n=columns[e].width;t+=n}return t+=scrollbarDimensions.width,Math.max(t,viewportW)+1e3}function getCanvasWidth(){for(var t=viewportHasVScroll?viewportW-scrollbarDimensions.width:viewportW,e=0,i=columns.length;i--;)e+=columns[i].width;return options.fullWidthRows?Math.max(e,t):e}function updateCanvasWidth(t){var e=canvasWidth;canvasWidth=getCanvasWidth(),canvasWidth!=e&&($canvas.width(canvasWidth),$headerRow.width(canvasWidth),$headers.width(getHeadersWidth()),viewportHasHScroll=canvasWidth>viewportW-scrollbarDimensions.width),$headerRowSpacer.width(canvasWidth+(viewportHasVScroll?scrollbarDimensions.width:0)),(canvasWidth!=e||t)&&applyColumnWidths()}function disableSelection(t){t&&t.jquery&&t.attr(\"unselectable\",\"on\").css(\"MozUserSelect\",\"none\").bind(\"selectstart.ui\",function(){return!1})}function getMaxSupportedCssHeight(){for(var t=1e6,e=navigator.userAgent.toLowerCase().match(/firefox/)?6e6:1e9,i=$(\"<div style='display:none' />\").appendTo(document.body);;){var n=2*t;if(i.css(\"height\",n),n>e||i.height()!==n)break;t=n}return i.remove(),t}function bindAncestorScrollEvents(){for(var t=$canvas[0];(t=t.parentNode)!=document.body&&null!=t;)if(t==$viewport[0]||t.scrollWidth!=t.clientWidth||t.scrollHeight!=t.clientHeight){var e=$(t);$boundAncestors=$boundAncestors?$boundAncestors.add(e):e,e.bind(\"scroll.\"+uid,handleActiveCellPositionChange)}}function unbindAncestorScrollEvents(){$boundAncestors&&($boundAncestors.unbind(\"scroll.\"+uid),$boundAncestors=null)}function updateColumnHeader(t,e,i){if(initialized){var n=getColumnIndex(t);if(null!=n){var r=columns[n],s=$headers.children().eq(n);s&&(void 0!==e&&(columns[n].name=e),void 0!==i&&(columns[n].toolTip=i),trigger(self.onBeforeHeaderCellDestroy,{node:s[0],column:r}),s.attr(\"title\",i||\"\").children().eq(0).html(e),trigger(self.onHeaderCellRendered,{node:s[0],column:r}))}}}function getHeaderRow(){return $headerRow[0]}function getHeaderRowColumn(t){var e=getColumnIndex(t),i=$headerRow.children().eq(e);return i&&i[0]}function createColumnHeaders(){function t(){$(this).addClass(\"bk-ui-state-hover\")}function e(){$(this).removeClass(\"bk-ui-state-hover\")}$headers.find(\".bk-slick-header-column\").each(function(){var t=$(this).data(\"column\");t&&trigger(self.onBeforeHeaderCellDestroy,{node:this,column:t})}),$headers.empty(),$headers.width(getHeadersWidth()),$headerRow.find(\".bk-slick-headerrow-column\").each(function(){var t=$(this).data(\"column\");t&&trigger(self.onBeforeHeaderRowCellDestroy,{node:this,column:t})}),$headerRow.empty();for(var i=0;i<columns.length;i++){var n=columns[i],r=$(\"<div class='bk-ui-state-default bk-slick-header-column' />\").html(\"<span class='bk-slick-column-name'>\"+n.name+\"</span>\").width(n.width-headerColumnWidthDiff).attr(\"id\",\"\"+uid+n.id).attr(\"title\",n.toolTip||\"\").data(\"column\",n).addClass(n.headerCssClass||\"\").appendTo($headers);if((options.enableColumnReorder||n.sortable)&&r.on(\"mouseenter\",t).on(\"mouseleave\",e),n.sortable&&(r.addClass(\"bk-slick-header-sortable\"),r.append(\"<span class='bk-slick-sort-indicator' />\")),trigger(self.onHeaderCellRendered,{node:r[0],column:n}),options.showHeaderRow){var s=$(\"<div class='bk-ui-state-default bk-slick-headerrow-column l\"+i+\" r\"+i+\"'></div>\").data(\"column\",n).appendTo($headerRow);trigger(self.onHeaderRowCellRendered,{node:s[0],column:n})}}setSortColumns(sortColumns),setupColumnResize(),options.enableColumnReorder&&setupColumnReorder()}function setupColumnSort(){$headers.click(function(t){if(t.metaKey=t.metaKey||t.ctrlKey,!$(t.target).hasClass(\"bk-slick-resizable-handle\")){var e=$(t.target).closest(\".bk-slick-header-column\");if(e.length){var i=e.data(\"column\");if(i.sortable){if(!getEditorLock().commitCurrentEdit())return;for(var n=null,r=0;r<sortColumns.length;r++)if(sortColumns[r].columnId==i.id){n=sortColumns[r],n.sortAsc=!n.sortAsc;break}t.metaKey&&options.multiColumnSort?n&&sortColumns.splice(r,1):((t.shiftKey||t.metaKey)&&options.multiColumnSort||(sortColumns=[]),n?0==sortColumns.length&&sortColumns.push(n):(n={columnId:i.id,sortAsc:i.defaultSortAsc},sortColumns.push(n))),setSortColumns(sortColumns),options.multiColumnSort?trigger(self.onSort,{multiColumnSort:!0,sortCols:$.map(sortColumns,function(t){return{sortCol:columns[getColumnIndex(t.columnId)],sortAsc:t.sortAsc}})},t):trigger(self.onSort,{multiColumnSort:!1,sortCol:i,sortAsc:n.sortAsc},t)}}}})}function setupColumnReorder(){$headers.filter(\":ui-sortable\").sortable(\"destroy\"),$headers.sortable({containment:\"parent\",distance:3,axis:\"x\",cursor:\"default\",tolerance:\"intersection\",helper:\"clone\",placeholder:\"bk-slick-sortable-placeholder bk-ui-state-default bk-slick-header-column\",start:function(t,e){e.placeholder.width(e.helper.outerWidth()-headerColumnWidthDiff),$(e.helper).addClass(\"bk-slick-header-column-active\")},beforeStop:function(t,e){$(e.helper).removeClass(\"bk-slick-header-column-active\")},stop:function(t){if(!getEditorLock().commitCurrentEdit())return void $(this).sortable(\"cancel\");for(var e=$headers.sortable(\"toArray\"),i=[],n=0;n<e.length;n++)i.push(columns[getColumnIndex(e[n].replace(uid,\"\"))]);setColumns(i),trigger(self.onColumnsReordered,{}),t.stopPropagation(),setupColumnResize()}})}function setupColumnResize(){var t,e,i,n,r,s,o,a,l;r=$headers.children(),r.find(\".bk-slick-resizable-handle\").remove(),r.each(function(t,e){columns[t].resizable&&(void 0===a&&(a=t),l=t)}),void 0!==a&&r.each(function(u,h){a>u||options.forceFitColumns&&u>=l||(t=$(h),$(\"<div class='bk-slick-resizable-handle' />\").appendTo(h).bind(\"dragstart\",function(t,a){if(!getEditorLock().commitCurrentEdit())return!1;n=t.pageX,$(this).parent().addClass(\"bk-slick-header-column-active\");var l=null,h=null;if(r.each(function(t,e){columns[t].previousWidth=$(e).outerWidth()}),options.forceFitColumns)for(l=0,h=0,e=u+1;e<r.length;e++)i=columns[e],i.resizable&&(null!==h&&(i.maxWidth?h+=i.maxWidth-i.previousWidth:h=null),l+=i.previousWidth-Math.max(i.minWidth||0,absoluteColumnMinWidth));var c=0,p=0;for(e=0;u>=e;e++)i=columns[e],i.resizable&&(null!==p&&(i.maxWidth?p+=i.maxWidth-i.previousWidth:p=null),c+=i.previousWidth-Math.max(i.minWidth||0,absoluteColumnMinWidth));null===l&&(l=1e5),null===c&&(c=1e5),null===h&&(h=1e5),null===p&&(p=1e5),o=n+Math.min(l,p),s=n-Math.min(c,h)}).bind(\"drag\",function(t,a){var l,h,c=Math.min(o,Math.max(s,t.pageX))-n;if(0>c){for(h=c,e=u;e>=0;e--)i=columns[e],i.resizable&&(l=Math.max(i.minWidth||0,absoluteColumnMinWidth),h&&i.previousWidth+h<l?(h+=i.previousWidth-l,i.width=l):(i.width=i.previousWidth+h,h=0));if(options.forceFitColumns)for(h=-c,e=u+1;e<r.length;e++)i=columns[e],i.resizable&&(h&&i.maxWidth&&i.maxWidth-i.previousWidth<h?(h-=i.maxWidth-i.previousWidth,i.width=i.maxWidth):(i.width=i.previousWidth+h,h=0))}else{for(h=c,e=u;e>=0;e--)i=columns[e],i.resizable&&(h&&i.maxWidth&&i.maxWidth-i.previousWidth<h?(h-=i.maxWidth-i.previousWidth,i.width=i.maxWidth):(i.width=i.previousWidth+h,h=0));if(options.forceFitColumns)for(h=-c,e=u+1;e<r.length;e++)i=columns[e],i.resizable&&(l=Math.max(i.minWidth||0,absoluteColumnMinWidth),h&&i.previousWidth+h<l?(h+=i.previousWidth-l,i.width=l):(i.width=i.previousWidth+h,h=0))}applyColumnHeaderWidths(),options.syncColumnCellResize&&applyColumnWidths()}).bind(\"dragend\",function(t,n){var s;for($(this).parent().removeClass(\"bk-slick-header-column-active\"),e=0;e<r.length;e++)i=columns[e],s=$(r[e]).outerWidth(),i.previousWidth!==s&&i.rerenderOnResize&&invalidateAllRows();updateCanvasWidth(!0),render(),trigger(self.onColumnsResized,{})}))})}function getVBoxDelta(t){var e=[\"borderTopWidth\",\"borderBottomWidth\",\"paddingTop\",\"paddingBottom\"],i=0;return $.each(e,function(e,n){i+=parseFloat(t.css(n))||0}),i}function measureCellPaddingAndBorder(){var t,e=[\"borderLeftWidth\",\"borderRightWidth\",\"paddingLeft\",\"paddingRight\"],i=[\"borderTopWidth\",\"borderBottomWidth\",\"paddingTop\",\"paddingBottom\"];t=$(\"<div class='bk-ui-state-default bk-slick-header-column' style='visibility:hidden'>-</div>\").appendTo($headers),headerColumnWidthDiff=headerColumnHeightDiff=0,\"border-box\"!=t.css(\"box-sizing\")&&\"border-box\"!=t.css(\"-moz-box-sizing\")&&\"border-box\"!=t.css(\"-webkit-box-sizing\")&&($.each(e,function(e,i){headerColumnWidthDiff+=parseFloat(t.css(i))||0}),$.each(i,function(e,i){headerColumnHeightDiff+=parseFloat(t.css(i))||0})),t.remove();var n=$(\"<div class='bk-slick-row' />\").appendTo($canvas);t=$(\"<div class='bk-slick-cell' id='' style='visibility:hidden'>-</div>\").appendTo(n),cellWidthDiff=cellHeightDiff=0,\"border-box\"!=t.css(\"box-sizing\")&&\"border-box\"!=t.css(\"-moz-box-sizing\")&&\"border-box\"!=t.css(\"-webkit-box-sizing\")&&($.each(e,function(e,i){cellWidthDiff+=parseFloat(t.css(i))||0}),$.each(i,function(e,i){cellHeightDiff+=parseFloat(t.css(i))||0})),n.remove(),absoluteColumnMinWidth=Math.max(headerColumnWidthDiff,cellWidthDiff)}function createCssRules(){$style=$(\"<style type='text/css' rel='stylesheet' />\").appendTo($(\"head\"));for(var t=options.rowHeight-cellHeightDiff,e=[\".\"+uid+\" .bk-slick-header-column { left: 1000px; }\",\".\"+uid+\" .bk-slick-top-panel { height:\"+options.topPanelHeight+\"px; }\",\".\"+uid+\" .bk-slick-headerrow-columns { height:\"+options.headerRowHeight+\"px; }\",\".\"+uid+\" .bk-slick-cell { height:\"+t+\"px; }\",\".\"+uid+\" .bk-slick-row { height:\"+options.rowHeight+\"px; }\"],i=0;i<columns.length;i++)e.push(\".\"+uid+\" .l\"+i+\" { }\"),e.push(\".\"+uid+\" .r\"+i+\" { }\");$style[0].styleSheet?$style[0].styleSheet.cssText=e.join(\" \"):$style[0].appendChild(document.createTextNode(e.join(\" \")))}function getColumnCssRules(t){if(!stylesheet){for(var e=document.styleSheets,i=0;i<e.length;i++)if((e[i].ownerNode||e[i].owningElement)==$style[0]){stylesheet=e[i];break}if(!stylesheet)throw new Error(\"Cannot find stylesheet.\");columnCssRulesL=[],columnCssRulesR=[];for(var n,r,s=stylesheet.cssRules||stylesheet.rules,i=0;i<s.length;i++){var o=s[i].selectorText;(n=/\\.l\\d+/.exec(o))?(r=parseInt(n[0].substr(2,n[0].length-2),10),columnCssRulesL[r]=s[i]):(n=/\\.r\\d+/.exec(o))&&(r=parseInt(n[0].substr(2,n[0].length-2),10),columnCssRulesR[r]=s[i])}}return{left:columnCssRulesL[t],right:columnCssRulesR[t]}}function removeCssRules(){$style.remove(),stylesheet=null}function destroy(){getEditorLock().cancelCurrentEdit(),trigger(self.onBeforeDestroy,{});for(var t=plugins.length;t--;)unregisterPlugin(plugins[t]);options.enableColumnReorder&&$headers.filter(\":ui-sortable\").sortable(\"destroy\"),unbindAncestorScrollEvents(),$container.unbind(\".bk-slickgrid\"),removeCssRules(),$canvas.unbind(\"draginit dragstart dragend drag\"),$container.empty().removeClass(uid)}function trigger(t,e,i){return i=i||new Slick.EventData,e=e||{},e.grid=self,t.notify(e,i,self)}function getEditorLock(){return options.editorLock}function getEditController(){return editController}function getColumnIndex(t){return columnsById[t]}function autosizeColumns(){var t,e,i,n=[],r=0,s=0,o=viewportHasVScroll?viewportW-scrollbarDimensions.width:viewportW;for(t=0;t<columns.length;t++)e=columns[t],n.push(e.width),s+=e.width,e.resizable&&(r+=e.width-Math.max(e.minWidth,absoluteColumnMinWidth));for(i=s;s>o&&r;){var a=(s-o)/r;for(t=0;t<columns.length&&s>o;t++){e=columns[t];var l=n[t];if(!(!e.resizable||l<=e.minWidth||absoluteColumnMinWidth>=l)){var u=Math.max(e.minWidth,absoluteColumnMinWidth),h=Math.floor(a*(l-u))||1;h=Math.min(h,l-u),s-=h,r-=h,n[t]-=h}}if(s>=i)break;i=s}for(i=s;o>s;){var c=o/s;for(t=0;t<columns.length&&o>s;t++){e=columns[t];var p,d=n[t];p=!e.resizable||e.maxWidth<=d?0:Math.min(Math.floor(c*d)-d,e.maxWidth-d||1e6)||1,s+=p,n[t]+=p}if(i>=s)break;i=s}var f=!1;for(t=0;t<columns.length;t++)columns[t].rerenderOnResize&&columns[t].width!=n[t]&&(f=!0),columns[t].width=n[t];applyColumnHeaderWidths(),updateCanvasWidth(!0),f&&(invalidateAllRows(),render())}function applyColumnHeaderWidths(){if(initialized){for(var t,e=0,i=$headers.children(),n=i.length;n>e;e++)t=$(i[e]),t.width()!==columns[e].width-headerColumnWidthDiff&&t.width(columns[e].width-headerColumnWidthDiff);updateColumnCaches()}}function applyColumnWidths(){for(var t,e,i=0,n=0;n<columns.length;n++)t=columns[n].width,e=getColumnCssRules(n),e.left.style.left=i+\"px\",e.right.style.right=canvasWidth-i-t+\"px\",i+=columns[n].width}function setSortColumn(t,e){setSortColumns([{columnId:t,sortAsc:e}])}function setSortColumns(t){sortColumns=t;var e=$headers.children();e.removeClass(\"bk-slick-header-column-sorted\").find(\".bk-slick-sort-indicator\").removeClass(\"bk-slick-sort-indicator-asc bk-slick-sort-indicator-desc\"),$.each(sortColumns,function(t,i){null==i.sortAsc&&(i.sortAsc=!0);var n=getColumnIndex(i.columnId);null!=n&&e.eq(n).addClass(\"bk-slick-header-column-sorted\").find(\".bk-slick-sort-indicator\").addClass(i.sortAsc?\"bk-slick-sort-indicator-asc\":\"bk-slick-sort-indicator-desc\")})}function getSortColumns(){return sortColumns}function handleSelectedRangesChanged(t,e){selectedRows=[];for(var i={},n=0;n<e.length;n++)for(var r=e[n].fromRow;r<=e[n].toRow;r++){i[r]||(selectedRows.push(r),i[r]={});for(var s=e[n].fromCell;s<=e[n].toCell;s++)canCellBeSelected(r,s)&&(i[r][columns[s].id]=options.selectedCellCssClass)}setCellCssStyles(options.selectedCellCssClass,i),trigger(self.onSelectedRowsChanged,{rows:getSelectedRows()},t)}function getColumns(){return columns}function updateColumnCaches(){columnPosLeft=[],columnPosRight=[];for(var t=0,e=0,i=columns.length;i>e;e++)columnPosLeft[e]=t,columnPosRight[e]=t+columns[e].width,t+=columns[e].width}function setColumns(t){columns=t,columnsById={};for(var e=0;e<columns.length;e++){var i=columns[e]=$.extend({},columnDefaults,columns[e]);columnsById[i.id]=e,i.minWidth&&i.width<i.minWidth&&(i.width=i.minWidth),i.maxWidth&&i.width>i.maxWidth&&(i.width=i.maxWidth)}updateColumnCaches(),initialized&&(invalidateAllRows(),createColumnHeaders(),removeCssRules(),createCssRules(),resizeCanvas(),applyColumnWidths(),handleScroll())}function getOptions(){return options}function setOptions(t){getEditorLock().commitCurrentEdit()&&(makeActiveCellNormal(),options.enableAddRow!==t.enableAddRow&&invalidateRow(getDataLength()),options=$.extend(options,t),validateAndEnforceOptions(),$viewport.css(\"overflow-y\",options.autoHeight?\"hidden\":\"auto\"),render())}function validateAndEnforceOptions(){options.autoHeight&&(options.leaveSpaceForNewRows=!1)}function setData(t,e){data=t,invalidateAllRows(),updateRowCount(),e&&scrollTo(0)}function getData(){return data}function getDataLength(){return data.getLength?data.getLength():data.length}function getDataLengthIncludingAddNew(){return getDataLength()+(options.enableAddRow?1:0)}function getDataItem(t){return data.getItem?data.getItem(t):data[t]}function getTopPanel(){return $topPanel[0]}function setTopPanelVisibility(t){options.showTopPanel!=t&&(options.showTopPanel=t,t?$topPanelScroller.slideDown(\"fast\",resizeCanvas):$topPanelScroller.slideUp(\"fast\",resizeCanvas))}function setHeaderRowVisibility(t){options.showHeaderRow!=t&&(options.showHeaderRow=t,t?$headerRowScroller.slideDown(\"fast\",resizeCanvas):$headerRowScroller.slideUp(\"fast\",resizeCanvas))}function getContainerNode(){return $container.get(0)}function getRowTop(t){return options.rowHeight*t-offset}function getRowFromPosition(t){return Math.floor((t+offset)/options.rowHeight)}function scrollTo(t){t=Math.max(t,0),t=Math.min(t,th-viewportH+(viewportHasHScroll?scrollbarDimensions.height:0));var e=offset;page=Math.min(n-1,Math.floor(t/ph)),offset=Math.round(page*cj);var i=t-offset;if(offset!=e){var r=getVisibleRange(i);cleanupRows(r),updateRowPositions()}prevScrollTop!=i&&(vScrollDir=i+offset>prevScrollTop+e?1:-1,$viewport[0].scrollTop=lastRenderedScrollTop=scrollTop=prevScrollTop=i,trigger(self.onViewportChanged,{}))}function defaultFormatter(t,e,i,n,r){return null==i?\"\":(i+\"\").replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\")}function getFormatter(t,e){function i(t,e,i,n,r){return o.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)]),s=r&&r.formatter||n&&n.formatter||e.formatter||options.formatterFactory&&options.formatterFactory.getFormatter(e)||options.defaultFormatter;if(void 0!==s.format){var o=s;s=i}return s}function getEditor(t,e){var i,n=columns[e],r=data.getItemMetadata&&data.getItemMetadata(t),s=r&&r.columns;return i=s&&s[n.id]&&void 0!==s[n.id].editor?s[n.id].editor:s&&s[e]&&void 0!==s[e].editor?s[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),s=n>e&&!r,o=\"bk-slick-row\"+(s?\" loading\":\"\")+(e===activeRow?\" active\":\"\")+(e%2==1?\" odd\":\" even\");r||(o+=\" \"+options.addNewRowCssClass);var a=data.getItemMetadata&&data.getItemMetadata(e);a&&a.cssClasses&&(o+=\" \"+a.cssClasses),t.push(\"<div class='bk-ui-widget-content \"+o+\"' style='top:\"+getRowTop(e)+\"px'>\");for(var l,u,h=0,c=columns.length;c>h;h++){if(u=columns[h],l=1,a&&a.columns){var p=a.columns[u.id]||a.columns[h];l=p&&p.colspan||1,\"*\"===l&&(l=c-h)}if(columnPosRight[Math.min(c-1,h+l-1)]>i.leftPx){if(columnPosLeft[h]>i.rightPx)break;appendCellHtml(t,e,h,l,r)}l>1&&(h+=l-1)}t.push(\"</div>\")}function appendCellHtml(t,e,i,n,r){var s=columns[i],o=\"bk-slick-cell l\"+i+\" r\"+Math.min(columns.length-1,i+n-1)+(s.cssClass?\" \"+s.cssClass:\"\");e===activeRow&&i===activeCell&&(o+=\" active\");for(var a in cellCssClasses)cellCssClasses[a][e]&&cellCssClasses[a][e][s.id]&&(o+=\" \"+cellCssClasses[a][e][s.id]);if(t.push(\"<div class='\"+o+\"'>\"),r){var l=getDataItemValueForColumn(r,s);t.push(getFormatter(e,s)(e,i,l,s,r))}t.push(\"</div>\"),rowsCache[e].cellRenderQueue.push(i),rowsCache[e].cellColSpans[i]=n}function cleanupRows(t){for(var e in rowsCache)(e=parseInt(e,10))!==activeRow&&(e<t.top||e>t.bottom)&&removeRowFromCache(e)}function invalidate(){updateRowCount(),invalidateAllRows(),render()}function invalidateAllRows(){currentEditor&&makeActiveCellNormal();for(var t in rowsCache)removeRowFromCache(t)}function removeRowFromCache(t){var e=rowsCache[t];e&&(rowNodeFromLastMouseWheelEvent==e.rowNode?(e.rowNode.style.display=\"none\",zombieRowNodeFromLastMouseWheelEvent=rowNodeFromLastMouseWheelEvent):$canvas[0].removeChild(e.rowNode),delete rowsCache[t],delete postProcessedRows[t],renderedRows--,counter_rows_removed++)}function invalidateRows(t){var e,i;if(t&&t.length)for(vScrollDir=0,e=0,i=t.length;i>e;e++)currentEditor&&activeRow===t[e]&&makeActiveCellNormal(),rowsCache[t[e]]&&removeRowFromCache(t[e])}function invalidateRow(t){invalidateRows([t])}function updateCell(t,e){var i=getCellNode(t,e);if(i){var n=columns[e],r=getDataItem(t);currentEditor&&activeRow===t&&activeCell===e?currentEditor.loadValue(r):(i.innerHTML=r?getFormatter(t,n)(t,e,getDataItemValueForColumn(r,n),n,r):\"\",invalidatePostProcessingResults(t))}}function updateRow(t){var e=rowsCache[t];if(e){ensureCellNodesInRowsCache(t);var i=getDataItem(t);for(var n in e.cellNodesByColumnIdx)if(e.cellNodesByColumnIdx.hasOwnProperty(n)){n=0|n;var r=columns[n],s=e.cellNodesByColumnIdx[n];t===activeRow&&n===activeCell&&currentEditor?currentEditor.loadValue(i):i?s.innerHTML=getFormatter(t,r)(t,n,getDataItemValueForColumn(i,r),r,i):s.innerHTML=\"\"}invalidatePostProcessingResults(t)}}function getViewportHeight(){return parseFloat($.css($container[0],\"height\",!0))-parseFloat($.css($container[0],\"paddingTop\",!0))-parseFloat($.css($container[0],\"paddingBottom\",!0))-parseFloat($.css($headerScroller[0],\"height\"))-getVBoxDelta($headerScroller)-(options.showTopPanel?options.topPanelHeight+getVBoxDelta($topPanelScroller):0)-(options.showHeaderRow?options.headerRowHeight+getVBoxDelta($headerRowScroller):0)}function resizeCanvas(){initialized&&(viewportH=options.autoHeight?options.rowHeight*getDataLengthIncludingAddNew():getViewportHeight(),numVisibleRows=Math.ceil(viewportH/options.rowHeight),viewportW=parseFloat($.css($container[0],\"width\",!0)),options.autoHeight||$viewport.height(viewportH),options.forceFitColumns&&autosizeColumns(),updateRowCount(),handleScroll(),lastRenderedScrollLeft=-1,render())}function updateRowCount(){if(initialized){var t=getDataLengthIncludingAddNew(),e=t+(options.leaveSpaceForNewRows?numVisibleRows-1:0),i=viewportHasVScroll;viewportHasVScroll=!options.autoHeight&&e*options.rowHeight>viewportH,makeActiveCellNormal();var r=t-1;for(var s in rowsCache)s>=r&&removeRowFromCache(s);activeCellNode&&activeRow>r&&resetActiveCell();var o=h;th=Math.max(options.rowHeight*e,viewportH-scrollbarDimensions.height),maxSupportedCssHeight>th?(h=ph=th,n=1,cj=0):(h=maxSupportedCssHeight,ph=h/100,n=Math.floor(th/ph),cj=(th-h)/(n-1)),h!==o&&($canvas.css(\"height\",h),scrollTop=$viewport[0].scrollTop);var a=th-viewportH>=scrollTop+offset;0==th||0==scrollTop?page=offset=0:scrollTo(a?scrollTop+offset:th-viewportH),h!=o&&options.autoHeight&&resizeCanvas(),options.forceFitColumns&&i!=viewportHasVScroll&&autosizeColumns(),updateCanvasWidth(!1)}}function getVisibleRange(t,e){return null==t&&(t=scrollTop),null==e&&(e=scrollLeft),{top:getRowFromPosition(t),bottom:getRowFromPosition(t+viewportH)+1,leftPx:e,rightPx:e+viewportW}}function getRenderedRange(t,e){var i=getVisibleRange(t,e),n=Math.round(viewportH/options.rowHeight),r=3;return-1==vScrollDir?(i.top-=n,i.bottom+=r):1==vScrollDir?(i.top-=r,i.bottom+=n):(i.top-=r,i.bottom+=r),i.top=Math.max(0,i.top),i.bottom=Math.min(getDataLengthIncludingAddNew()-1,i.bottom),i.leftPx-=viewportW,i.rightPx+=viewportW,i.leftPx=Math.max(0,i.leftPx),i.rightPx=Math.min(canvasWidth,i.rightPx),i}function ensureCellNodesInRowsCache(t){var e=rowsCache[t];if(e&&e.cellRenderQueue.length)for(var i=e.rowNode.lastChild;e.cellRenderQueue.length;){var n=e.cellRenderQueue.pop();e.cellNodesByColumnIdx[n]=i,i=i.previousSibling}}function cleanUpCells(t,e){var i=0,n=rowsCache[e],r=[];for(var s in n.cellNodesByColumnIdx)if(n.cellNodesByColumnIdx.hasOwnProperty(s)){s=0|s;var o=n.cellColSpans[s];(columnPosLeft[s]>t.rightPx||columnPosRight[Math.min(columns.length-1,s+o-1)]<t.leftPx)&&(e!=activeRow||s!=activeCell)&&r.push(s)}for(var a;null!=(a=r.pop());)n.rowNode.removeChild(n.cellNodesByColumnIdx[a]),delete n.cellColSpans[a],delete n.cellNodesByColumnIdx[a],postProcessedRows[e]&&delete postProcessedRows[e][a],i++}function cleanUpAndRenderCells(t){for(var e,i,n,r=[],s=[],o=0,a=t.top,l=t.bottom;l>=a;a++)if(e=rowsCache[a]){ensureCellNodesInRowsCache(a),cleanUpCells(t,a),i=0;var u=data.getItemMetadata&&data.getItemMetadata(a);u=u&&u.columns;for(var h=getDataItem(a),c=0,p=columns.length;p>c&&!(columnPosLeft[c]>t.rightPx);c++)if(null==(n=e.cellColSpans[c])){if(n=1,u){var d=u[columns[c].id]||u[c];n=d&&d.colspan||1,\"*\"===n&&(n=p-c)}columnPosRight[Math.min(p-1,c+n-1)]>t.leftPx&&(appendCellHtml(r,a,c,n,h),i++),c+=n>1?n-1:0}else c+=n>1?n-1:0;i&&(o+=i,s.push(a))}if(r.length){var f=document.createElement(\"div\");f.innerHTML=r.join(\"\");for(var g,m;null!=(g=s.pop());){e=rowsCache[g];for(var _;null!=(_=e.cellRenderQueue.pop());)m=f.lastChild,e.rowNode.appendChild(m),e.cellNodesByColumnIdx[_]=m}}}function renderRows(t){for(var e=$canvas[0],i=[],n=[],r=!1,s=getDataLength(),o=t.top,a=t.bottom;a>=o;o++)rowsCache[o]||(renderedRows++,n.push(o),rowsCache[o]={rowNode:null,cellColSpans:[],cellNodesByColumnIdx:[],cellRenderQueue:[]},appendRowHtml(i,o,t,s),activeCellNode&&activeRow===o&&(r=!0),counter_rows_rendered++);if(n.length){var l=document.createElement(\"div\");l.innerHTML=i.join(\"\");for(var o=0,a=n.length;a>o;o++)rowsCache[n[o]].rowNode=e.appendChild(l.firstChild);\n",
       "        r&&(activeCellNode=getCellNode(activeRow,activeCell))}}function startPostProcessing(){options.enableAsyncPostRender&&(clearTimeout(h_postrender),h_postrender=setTimeout(asyncPostProcessRows,options.asyncPostRenderDelay))}function invalidatePostProcessingResults(t){delete postProcessedRows[t],postProcessFromRow=Math.min(postProcessFromRow,t),postProcessToRow=Math.max(postProcessToRow,t),startPostProcessing()}function updateRowPositions(){for(var t in rowsCache)rowsCache[t].rowNode.style.top=getRowTop(t)+\"px\"}function render(){if(initialized){var t=getVisibleRange(),e=getRenderedRange();cleanupRows(e),lastRenderedScrollLeft!=scrollLeft&&cleanUpAndRenderCells(e),renderRows(e),postProcessFromRow=t.top,postProcessToRow=Math.min(getDataLengthIncludingAddNew()-1,t.bottom),startPostProcessing(),lastRenderedScrollTop=scrollTop,lastRenderedScrollLeft=scrollLeft,h_render=null}}function handleHeaderRowScroll(){var t=$headerRowScroller[0].scrollLeft;t!=$viewport[0].scrollLeft&&($viewport[0].scrollLeft=t)}function handleScroll(){scrollTop=$viewport[0].scrollTop,scrollLeft=$viewport[0].scrollLeft;var t=Math.abs(scrollTop-prevScrollTop),e=Math.abs(scrollLeft-prevScrollLeft);if(e&&(prevScrollLeft=scrollLeft,$headerScroller[0].scrollLeft=scrollLeft,$topPanelScroller[0].scrollLeft=scrollLeft,$headerRowScroller[0].scrollLeft=scrollLeft),t)if(vScrollDir=scrollTop>prevScrollTop?1:-1,prevScrollTop=scrollTop,viewportH>t)scrollTo(scrollTop+offset);else{var i=offset;page=h==viewportH?0:Math.min(n-1,Math.floor(scrollTop*((th-viewportH)/(h-viewportH))*(1/ph))),offset=Math.round(page*cj),i!=offset&&invalidateAllRows()}(e||t)&&(h_render&&clearTimeout(h_render),(Math.abs(lastRenderedScrollTop-scrollTop)>20||Math.abs(lastRenderedScrollLeft-scrollLeft)>20)&&(options.forceSyncScrolling||Math.abs(lastRenderedScrollTop-scrollTop)<viewportH&&Math.abs(lastRenderedScrollLeft-scrollLeft)<viewportW?render():h_render=setTimeout(render,50),trigger(self.onViewportChanged,{}))),trigger(self.onScroll,{scrollLeft:scrollLeft,scrollTop:scrollTop})}function asyncPostProcessRows(){for(var t=getDataLength();postProcessToRow>=postProcessFromRow;){var e=vScrollDir>=0?postProcessFromRow++:postProcessToRow--,i=rowsCache[e];if(i&&!(e>=t)){postProcessedRows[e]||(postProcessedRows[e]={}),ensureCellNodesInRowsCache(e);for(var n in i.cellNodesByColumnIdx)if(i.cellNodesByColumnIdx.hasOwnProperty(n)){n=0|n;var r=columns[n];if(r.asyncPostRender&&!postProcessedRows[e][n]){var s=i.cellNodesByColumnIdx[n];s&&r.asyncPostRender(s,e,getDataItem(e),r),postProcessedRows[e][n]=!0}}return void(h_postrender=setTimeout(asyncPostProcessRows,options.asyncPostRenderDelay))}}}function updateCellCssStylesOnRenderedRows(t,e){var i,n,r,s;for(var o in rowsCache){if(s=e&&e[o],r=t&&t[o],s)for(n in s)r&&s[n]==r[n]||(i=getCellNode(o,getColumnIndex(n)),i&&$(i).removeClass(s[n]));if(r)for(n in r)s&&s[n]==r[n]||(i=getCellNode(o,getColumnIndex(n)),i&&$(i).addClass(r[n]))}}function addCellCssStyles(t,e){if(cellCssClasses[t])throw\"addCellCssStyles: cell CSS hash with key '\"+t+\"' already exists.\";cellCssClasses[t]=e,updateCellCssStylesOnRenderedRows(e,null),trigger(self.onCellCssStylesChanged,{key:t,hash:e})}function removeCellCssStyles(t){cellCssClasses[t]&&(updateCellCssStylesOnRenderedRows(null,cellCssClasses[t]),delete cellCssClasses[t],trigger(self.onCellCssStylesChanged,{key:t,hash:null}))}function setCellCssStyles(t,e){var i=cellCssClasses[t];cellCssClasses[t]=e,updateCellCssStylesOnRenderedRows(e,i),trigger(self.onCellCssStylesChanged,{key:t,hash:e})}function getCellCssStyles(t){return cellCssClasses[t]}function flashCell(t,e,i){function n(t){t&&setTimeout(function(){r.queue(function(){r.toggleClass(options.cellFlashingCssClass).dequeue(),n(t-1)})},i)}if(i=i||100,rowsCache[t]){var r=$(getCellNode(t,e));n(4)}}function handleMouseWheel(t){var e=$(t.target).closest(\".bk-slick-row\")[0];e!=rowNodeFromLastMouseWheelEvent&&(zombieRowNodeFromLastMouseWheelEvent&&zombieRowNodeFromLastMouseWheelEvent!=e&&($canvas[0].removeChild(zombieRowNodeFromLastMouseWheelEvent),zombieRowNodeFromLastMouseWheelEvent=null),rowNodeFromLastMouseWheelEvent=e)}function handleDragInit(t,e){var i=getCellFromEvent(t);if(!i||!cellExists(i.row,i.cell))return!1;var n=trigger(self.onDragInit,e,t);return t.isImmediatePropagationStopped()?n:!1}function handleDragStart(t,e){var i=getCellFromEvent(t);if(!i||!cellExists(i.row,i.cell))return!1;var n=trigger(self.onDragStart,e,t);return t.isImmediatePropagationStopped()?n:!1}function handleDrag(t,e){return trigger(self.onDrag,e,t)}function handleDragEnd(t,e){trigger(self.onDragEnd,e,t)}function handleKeyDown(t){trigger(self.onKeyDown,{row:activeRow,cell:activeCell},t);var e=t.isImmediatePropagationStopped();if(!e)if(t.shiftKey||t.altKey||t.ctrlKey)9!=t.which||!t.shiftKey||t.ctrlKey||t.altKey||(e=navigatePrev());else if(27==t.which){if(!getEditorLock().isActive())return;cancelEditAndSetFocus()}else 34==t.which?(navigatePageDown(),e=!0):33==t.which?(navigatePageUp(),e=!0):37==t.which?e=navigateLeft():39==t.which?e=navigateRight():38==t.which?e=navigateUp():40==t.which?e=navigateDown():9==t.which?e=navigateNext():13==t.which&&(options.editable&&(currentEditor?activeRow===getDataLength()?navigateDown():commitEditAndSetFocus():getEditorLock().commitCurrentEdit()&&makeActiveCellEditable()),e=!0);if(e){t.stopPropagation(),t.preventDefault();try{t.originalEvent.keyCode=0}catch(i){}}}function handleClick(t){currentEditor||(t.target!=document.activeElement||$(t.target).hasClass(\"bk-slick-cell\"))&&setFocus();var e=getCellFromEvent(t);!e||null!==currentEditor&&activeRow==e.row&&activeCell==e.cell||(trigger(self.onClick,{row:e.row,cell:e.cell},t),t.isImmediatePropagationStopped()||activeCell==e.cell&&activeRow==e.row||!canCellBeActive(e.row,e.cell)||(!getEditorLock().isActive()||getEditorLock().commitCurrentEdit())&&(scrollRowIntoView(e.row,!1),setActiveCellInternal(getCellNode(e.row,e.cell))))}function handleContextMenu(t){var e=$(t.target).closest(\".bk-slick-cell\",$canvas);0!==e.length&&(activeCellNode!==e[0]||null===currentEditor)&&trigger(self.onContextMenu,{},t)}function handleDblClick(t){var e=getCellFromEvent(t);!e||null!==currentEditor&&activeRow==e.row&&activeCell==e.cell||(trigger(self.onDblClick,{row:e.row,cell:e.cell},t),t.isImmediatePropagationStopped()||options.editable&&gotoCell(e.row,e.cell,!0))}function handleHeaderMouseEnter(t){trigger(self.onHeaderMouseEnter,{column:$(this).data(\"column\")},t)}function handleHeaderMouseLeave(t){trigger(self.onHeaderMouseLeave,{column:$(this).data(\"column\")},t)}function handleHeaderContextMenu(t){var e=$(t.target).closest(\".bk-slick-header-column\",\".bk-slick-header-columns\"),i=e&&e.data(\"column\");trigger(self.onHeaderContextMenu,{column:i},t)}function handleHeaderClick(t){var e=$(t.target).closest(\".bk-slick-header-column\",\".bk-slick-header-columns\"),i=e&&e.data(\"column\");i&&trigger(self.onHeaderClick,{column:i},t)}function handleMouseEnter(t){trigger(self.onMouseEnter,{},t)}function handleMouseLeave(t){trigger(self.onMouseLeave,{},t)}function cellExists(t,e){return!(0>t||t>=getDataLength()||0>e||e>=columns.length)}function getCellFromPoint(t,e){for(var i=getRowFromPosition(e),n=0,r=0,s=0;s<columns.length&&t>r;s++)r+=columns[s].width,n++;return 0>n&&(n=0),{row:i,cell:n-1}}function getCellFromNode(t){var e=/l\\d+/.exec(t.className);if(!e)throw\"getCellFromNode: cannot get cell - \"+t.className;return parseInt(e[0].substr(1,e[0].length-1),10)}function getRowFromNode(t){for(var e in rowsCache)if(rowsCache[e].rowNode===t)return 0|e;return null}function getCellFromEvent(t){var e=$(t.target).closest(\".bk-slick-cell\",$canvas);if(!e.length)return null;var i=getRowFromNode(e[0].parentNode),n=getCellFromNode(e[0]);return null==i||null==n?null:{row:i,cell:n}}function getCellNodeBox(t,e){if(!cellExists(t,e))return null;for(var i=getRowTop(t),n=i+options.rowHeight-1,r=0,s=0;e>s;s++)r+=columns[s].width;var o=r+columns[e].width;return{top:i,left:r,bottom:n,right:o}}function resetActiveCell(){setActiveCellInternal(null,!1)}function setFocus(){-1==tabbingDirection?$focusSink[0].focus():$focusSink2[0].focus()}function scrollCellIntoView(t,e,i){scrollRowIntoView(t,i);var n=getColspan(t,e),r=columnPosLeft[e],s=columnPosRight[e+(n>1?n-1:0)],o=scrollLeft+viewportW;scrollLeft>r?($viewport.scrollLeft(r),handleScroll(),render()):s>o&&($viewport.scrollLeft(Math.min(r,s-$viewport[0].clientWidth)),handleScroll(),render())}function setActiveCellInternal(t,e){null!==activeCellNode&&(makeActiveCellNormal(),$(activeCellNode).removeClass(\"active\"),rowsCache[activeRow]&&$(rowsCache[activeRow].rowNode).removeClass(\"active\"));var i=activeCellNode!==t;activeCellNode=t,null!=activeCellNode?(activeRow=getRowFromNode(activeCellNode.parentNode),activeCell=activePosX=getCellFromNode(activeCellNode),null==e&&(e=activeRow==getDataLength()||options.autoEdit),$(activeCellNode).addClass(\"active\"),$(rowsCache[activeRow].rowNode).addClass(\"active\"),options.editable&&e&&isCellPotentiallyEditable(activeRow,activeCell)&&(clearTimeout(h_editorLoader),options.asyncEditorLoading?h_editorLoader=setTimeout(function(){makeActiveCellEditable()},options.asyncEditorLoadDelay):makeActiveCellEditable())):activeRow=activeCell=null,i&&trigger(self.onActiveCellChanged,getActiveCell())}function clearTextSelection(){if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(t){}else if(window.getSelection){var e=window.getSelection();e&&e.removeAllRanges&&e.removeAllRanges()}}function isCellPotentiallyEditable(t,e){var i=getDataLength();return i>t&&!getDataItem(t)?!1:columns[e].cannotTriggerInsert&&t>=i?!1:getEditor(t,e)?!0:!1}function makeActiveCellNormal(){if(currentEditor){if(trigger(self.onBeforeCellEditorDestroy,{editor:currentEditor}),currentEditor.destroy(),currentEditor=null,activeCellNode){var t=getDataItem(activeRow);if($(activeCellNode).removeClass(\"editable invalid\"),t){var e=columns[activeCell],i=getFormatter(activeRow,e);activeCellNode.innerHTML=i(activeRow,activeCell,getDataItemValueForColumn(t,e),e,t),invalidatePostProcessingResults(activeRow)}}navigator.userAgent.toLowerCase().match(/msie/)&&clearTextSelection(),getEditorLock().deactivate(editController)}}function makeActiveCellEditable(t){if(activeCellNode){if(!options.editable)throw\"Grid : makeActiveCellEditable : should never get called when options.editable is false\";if(clearTimeout(h_editorLoader),isCellPotentiallyEditable(activeRow,activeCell)){var e=columns[activeCell],i=getDataItem(activeRow);if(trigger(self.onBeforeEditCell,{row:activeRow,cell:activeCell,item:i,column:e})===!1)return void setFocus();getEditorLock().activate(editController),$(activeCellNode).addClass(\"editable\"),t||(activeCellNode.innerHTML=\"\"),currentEditor=new(t||getEditor(activeRow,activeCell))({grid:self,gridPosition:absBox($container[0]),position:absBox(activeCellNode),container:activeCellNode,column:e,item:i||{},commitChanges:commitEditAndSetFocus,cancelChanges:cancelEditAndSetFocus}),i&&currentEditor.loadValue(i),serializedEditorValue=currentEditor.serializeValue(),currentEditor.position&&handleActiveCellPositionChange()}}}function commitEditAndSetFocus(){getEditorLock().commitCurrentEdit()&&(setFocus(),options.autoEdit&&navigateDown())}function cancelEditAndSetFocus(){getEditorLock().cancelCurrentEdit()&&setFocus()}function absBox(t){var e={top:t.offsetTop,left:t.offsetLeft,bottom:0,right:0,width:$(t).outerWidth(),height:$(t).outerHeight(),visible:!0};e.bottom=e.top+e.height,e.right=e.left+e.width;for(var i=t.offsetParent;(t=t.parentNode)!=document.body;)e.visible&&t.scrollHeight!=t.offsetHeight&&\"visible\"!=$(t).css(\"overflowY\")&&(e.visible=e.bottom>t.scrollTop&&e.top<t.scrollTop+t.clientHeight),e.visible&&t.scrollWidth!=t.offsetWidth&&\"visible\"!=$(t).css(\"overflowX\")&&(e.visible=e.right>t.scrollLeft&&e.left<t.scrollLeft+t.clientWidth),e.left-=t.scrollLeft,e.top-=t.scrollTop,t===i&&(e.left+=t.offsetLeft,e.top+=t.offsetTop,i=t.offsetParent),e.bottom=e.top+e.height,e.right=e.left+e.width;return e}function getActiveCellPosition(){return absBox(activeCellNode)}function getGridPosition(){return absBox($container[0])}function handleActiveCellPositionChange(){if(activeCellNode&&(trigger(self.onActiveCellPositionChanged,{}),currentEditor)){var t=getActiveCellPosition();currentEditor.show&&currentEditor.hide&&(t.visible?currentEditor.show():currentEditor.hide()),currentEditor.position&&currentEditor.position(t)}}function getCellEditor(){return currentEditor}function getActiveCell(){return activeCellNode?{row:activeRow,cell:activeCell}:null}function getActiveCellNode(){return activeCellNode}function scrollRowIntoView(t,e){var i=t*options.rowHeight,n=(t+1)*options.rowHeight-viewportH+(viewportHasHScroll?scrollbarDimensions.height:0);(t+1)*options.rowHeight>scrollTop+viewportH+offset?(scrollTo(e?i:n),render()):t*options.rowHeight<scrollTop+offset&&(scrollTo(e?n:i),render())}function scrollRowToTop(t){scrollTo(t*options.rowHeight),render()}function scrollPage(t){var e=t*numVisibleRows;if(scrollTo((getRowFromPosition(scrollTop)+e)*options.rowHeight),render(),options.enableCellNavigation&&null!=activeRow){var i=activeRow+e,n=getDataLengthIncludingAddNew();i>=n&&(i=n-1),0>i&&(i=0);for(var r=0,s=null,o=activePosX;activePosX>=r;)canCellBeActive(i,r)&&(s=r),r+=getColspan(i,r);null!==s?(setActiveCellInternal(getCellNode(i,s)),activePosX=o):resetActiveCell()}}function navigatePageDown(){scrollPage(1)}function navigatePageUp(){scrollPage(-1)}function getColspan(t,e){var i=data.getItemMetadata&&data.getItemMetadata(t);if(!i||!i.columns)return 1;var n=i.columns[columns[e].id]||i.columns[e],r=n&&n.colspan;return r=\"*\"===r?columns.length-e:r||1}function findFirstFocusableCell(t){for(var e=0;e<columns.length;){if(canCellBeActive(t,e))return e;e+=getColspan(t,e)}return null}function findLastFocusableCell(t){for(var e=0,i=null;e<columns.length;)canCellBeActive(t,e)&&(i=e),e+=getColspan(t,e);return i}function gotoRight(t,e,i){if(e>=columns.length)return null;do e+=getColspan(t,e);while(e<columns.length&&!canCellBeActive(t,e));return e<columns.length?{row:t,cell:e,posX:e}:null}function gotoLeft(t,e,i){if(0>=e)return null;var n=findFirstFocusableCell(t);if(null===n||n>=e)return null;for(var r,s={row:t,cell:n,posX:n};;){if(r=gotoRight(s.row,s.cell,s.posX),!r)return null;if(r.cell>=e)return s;s=r}}function gotoDown(t,e,i){for(var n,r=getDataLengthIncludingAddNew();;){if(++t>=r)return null;for(n=e=0;i>=e;)n=e,e+=getColspan(t,e);if(canCellBeActive(t,n))return{row:t,cell:n,posX:i}}}function gotoUp(t,e,i){for(var n;;){if(--t<0)return null;for(n=e=0;i>=e;)n=e,e+=getColspan(t,e);if(canCellBeActive(t,n))return{row:t,cell:n,posX:i}}}function gotoNext(t,e,i){if(null==t&&null==e&&(t=e=i=0,canCellBeActive(t,e)))return{row:t,cell:e,posX:e};var n=gotoRight(t,e,i);if(n)return n;for(var r=null,s=getDataLengthIncludingAddNew();++t<s;)if(r=findFirstFocusableCell(t),null!==r)return{row:t,cell:r,posX:r};return null}function gotoPrev(t,e,i){if(null==t&&null==e&&(t=getDataLengthIncludingAddNew()-1,e=i=columns.length-1,canCellBeActive(t,e)))return{row:t,cell:e,posX:e};for(var n,r;!n&&!(n=gotoLeft(t,e,i));){if(--t<0)return null;e=0,r=findLastFocusableCell(t),null!==r&&(n={row:t,cell:r,posX:r})}return n}function navigateRight(){return navigate(\"right\")}function navigateLeft(){return navigate(\"left\")}function navigateDown(){return navigate(\"down\")}function navigateUp(){return navigate(\"up\")}function navigateNext(){return navigate(\"next\")}function navigatePrev(){return navigate(\"prev\")}function navigate(t){if(!options.enableCellNavigation)return!1;if(!activeCellNode&&\"prev\"!=t&&\"next\"!=t)return!1;if(!getEditorLock().commitCurrentEdit())return!0;setFocus();var e={up:-1,down:1,left:-1,right:1,prev:-1,next:1};tabbingDirection=e[t];var i={up:gotoUp,down:gotoDown,left:gotoLeft,right:gotoRight,prev:gotoPrev,next:gotoNext},n=i[t],r=n(activeRow,activeCell,activePosX);if(r){var s=r.row==getDataLength();return scrollCellIntoView(r.row,r.cell,!s),setActiveCellInternal(getCellNode(r.row,r.cell)),activePosX=r.posX,!0}return setActiveCellInternal(getCellNode(activeRow,activeCell)),!1}function getCellNode(t,e){return rowsCache[t]?(ensureCellNodesInRowsCache(t),rowsCache[t].cellNodesByColumnIdx[e]):null}function setActiveCell(t,e){initialized&&(t>getDataLength()||0>t||e>=columns.length||0>e||options.enableCellNavigation&&(scrollCellIntoView(t,e,!1),setActiveCellInternal(getCellNode(t,e),!1)))}function canCellBeActive(t,e){if(!options.enableCellNavigation||t>=getDataLengthIncludingAddNew()||0>t||e>=columns.length||0>e)return!1;var i=data.getItemMetadata&&data.getItemMetadata(t);if(i&&\"boolean\"==typeof i.focusable)return i.focusable;var n=i&&i.columns;return n&&n[columns[e].id]&&\"boolean\"==typeof n[columns[e].id].focusable?n[columns[e].id].focusable:n&&n[e]&&\"boolean\"==typeof n[e].focusable?n[e].focusable:columns[e].focusable}function canCellBeSelected(t,e){if(t>=getDataLength()||0>t||e>=columns.length||0>e)return!1;var i=data.getItemMetadata&&data.getItemMetadata(t);if(i&&\"boolean\"==typeof i.selectable)return i.selectable;var n=i&&i.columns&&(i.columns[columns[e].id]||i.columns[e]);return n&&\"boolean\"==typeof n.selectable?n.selectable:columns[e].selectable}function gotoCell(t,e,i){if(initialized&&canCellBeActive(t,e)&&getEditorLock().commitCurrentEdit()){scrollCellIntoView(t,e,!1);var n=getCellNode(t,e);setActiveCellInternal(n,i||t===getDataLength()||options.autoEdit),currentEditor||setFocus()}}function commitCurrentEdit(){var t=getDataItem(activeRow),e=columns[activeCell];if(currentEditor){if(currentEditor.isValueChanged()){var i=currentEditor.validate();if(i.valid){if(activeRow<getDataLength()){var n={row:activeRow,cell:activeCell,editor:currentEditor,serializedValue:currentEditor.serializeValue(),prevSerializedValue:serializedEditorValue,execute:function(){this.editor.applyValue(t,this.serializedValue),updateRow(this.row),trigger(self.onCellChange,{row:activeRow,cell:activeCell,item:t})},undo:function(){this.editor.applyValue(t,this.prevSerializedValue),updateRow(this.row),trigger(self.onCellChange,{row:activeRow,cell:activeCell,item:t})}};options.editCommandHandler?(makeActiveCellNormal(),options.editCommandHandler(t,e,n)):(n.execute(),makeActiveCellNormal())}else{var r={};currentEditor.applyValue(r,currentEditor.serializeValue()),makeActiveCellNormal(),trigger(self.onAddNewRow,{item:r,column:e})}return!getEditorLock().isActive()}return $(activeCellNode).removeClass(\"invalid\"),$(activeCellNode).width(),$(activeCellNode).addClass(\"invalid\"),trigger(self.onValidationError,{editor:currentEditor,cellNode:activeCellNode,validationResults:i,row:activeRow,cell:activeCell,column:e}),currentEditor.focus(),!1}makeActiveCellNormal()}return!0}function cancelCurrentEdit(){return makeActiveCellNormal(),!0}function rowsToRanges(t){for(var e=[],i=columns.length-1,n=0;n<t.length;n++)e.push(new Slick.Range(t[n],0,t[n],i));return e}function getSelectedRows(){if(!selectionModel)throw\"Selection model is not set\";return selectedRows}function setSelectedRows(t){if(!selectionModel)throw\"Selection model is not set\";selectionModel.setSelectedRanges(rowsToRanges(t))}var defaults={explicitInitialization:!1,rowHeight:25,defaultColumnWidth:80,enableAddRow:!1,leaveSpaceForNewRows:!1,editable:!1,autoEdit:!0,enableCellNavigation:!0,enableColumnReorder:!0,asyncEditorLoading:!1,asyncEditorLoadDelay:100,forceFitColumns:!1,enableAsyncPostRender:!1,asyncPostRenderDelay:50,autoHeight:!1,editorLock:Slick.GlobalEditorLock,showHeaderRow:!1,headerRowHeight:25,showTopPanel:!1,topPanelHeight:25,formatterFactory:null,editorFactory:null,cellFlashingCssClass:\"flashing\",selectedCellCssClass:\"selected\",multiSelect:!0,enableTextSelectionOnCells:!1,dataItemColumnValueExtractor:null,fullWidthRows:!1,multiColumnSort:!1,defaultFormatter:defaultFormatter,forceSyncScrolling:!1,addNewRowCssClass:\"new-row\"},columnDefaults={name:\"\",resizable:!0,sortable:!1,minWidth:30,rerenderOnResize:!1,headerCssClass:null,defaultSortAsc:!0,focusable:!0,selectable:!0},th,h,ph,n,cj,page=0,offset=0,vScrollDir=1,initialized=!1,$container,uid=\"slickgrid_\"+Math.round(1e6*Math.random()),self=this,$focusSink,$focusSink2,$headerScroller,$headers,$headerRow,$headerRowScroller,$headerRowSpacer,$topPanelScroller,$topPanel,$viewport,$canvas,$style,$boundAncestors,stylesheet,columnCssRulesL,columnCssRulesR,viewportH,viewportW,canvasWidth,viewportHasHScroll,viewportHasVScroll,headerColumnWidthDiff=0,headerColumnHeightDiff=0,cellWidthDiff=0,cellHeightDiff=0,absoluteColumnMinWidth,tabbingDirection=1,activePosX,activeRow,activeCell,activeCellNode=null,currentEditor=null,serializedEditorValue,editController,rowsCache={},renderedRows=0,numVisibleRows,prevScrollTop=0,scrollTop=0,lastRenderedScrollTop=0,lastRenderedScrollLeft=0,prevScrollLeft=0,scrollLeft=0,selectionModel,selectedRows=[],plugins=[],cellCssClasses={},columnsById={},sortColumns=[],columnPosLeft=[],columnPosRight=[],h_editorLoader=null,h_render=null,h_postrender=null,postProcessedRows={},postProcessToRow=null,postProcessFromRow=null,counter_rows_rendered=0,counter_rows_removed=0,rowNodeFromLastMouseWheelEvent,zombieRowNodeFromLastMouseWheelEvent;this.debug=function(){var t=\"\";t+=\"\\ncounter_rows_rendered:  \"+counter_rows_rendered,t+=\"\\ncounter_rows_removed:  \"+counter_rows_removed,t+=\"\\nrenderedRows:  \"+renderedRows,t+=\"\\nnumVisibleRows:  \"+numVisibleRows,t+=\"\\nmaxSupportedCssHeight:  \"+maxSupportedCssHeight,t+=\"\\nn(umber of pages):  \"+n,t+=\"\\n(current) page:  \"+page,t+=\"\\npage height (ph):  \"+ph,t+=\"\\nvScrollDir:  \"+vScrollDir,alert(t)},this.eval=function(expr){return eval(expr)},$.extend(this,{slickGridVersion:\"2.1\",onScroll:new Slick.Event,onSort:new Slick.Event,onHeaderMouseEnter:new Slick.Event,onHeaderMouseLeave:new Slick.Event,onHeaderContextMenu:new Slick.Event,onHeaderClick:new Slick.Event,onHeaderCellRendered:new Slick.Event,onBeforeHeaderCellDestroy:new Slick.Event,onHeaderRowCellRendered:new Slick.Event,onBeforeHeaderRowCellDestroy:new Slick.Event,onMouseEnter:new Slick.Event,onMouseLeave:new Slick.Event,onClick:new Slick.Event,onDblClick:new Slick.Event,onContextMenu:new Slick.Event,onKeyDown:new Slick.Event,onAddNewRow:new Slick.Event,onValidationError:new Slick.Event,onViewportChanged:new Slick.Event,onColumnsReordered:new Slick.Event,onColumnsResized:new Slick.Event,onCellChange:new Slick.Event,onBeforeEditCell:new Slick.Event,onBeforeCellEditorDestroy:new Slick.Event,onBeforeDestroy:new Slick.Event,onActiveCellChanged:new Slick.Event,onActiveCellPositionChanged:new Slick.Event,onDragInit:new Slick.Event,onDragStart:new Slick.Event,onDrag:new Slick.Event,onDragEnd:new Slick.Event,onSelectedRowsChanged:new Slick.Event,onCellCssStylesChanged:new Slick.Event,registerPlugin:registerPlugin,unregisterPlugin:unregisterPlugin,getColumns:getColumns,setColumns:setColumns,getColumnIndex:getColumnIndex,updateColumnHeader:updateColumnHeader,setSortColumn:setSortColumn,setSortColumns:setSortColumns,getSortColumns:getSortColumns,autosizeColumns:autosizeColumns,getOptions:getOptions,setOptions:setOptions,getData:getData,getDataLength:getDataLength,getDataItem:getDataItem,setData:setData,getSelectionModel:getSelectionModel,setSelectionModel:setSelectionModel,getSelectedRows:getSelectedRows,setSelectedRows:setSelectedRows,getContainerNode:getContainerNode,render:render,invalidate:invalidate,invalidateRow:invalidateRow,invalidateRows:invalidateRows,invalidateAllRows:invalidateAllRows,updateCell:updateCell,updateRow:updateRow,getViewport:getVisibleRange,getRenderedRange:getRenderedRange,resizeCanvas:resizeCanvas,updateRowCount:updateRowCount,scrollRowIntoView:scrollRowIntoView,scrollRowToTop:scrollRowToTop,scrollCellIntoView:scrollCellIntoView,getCanvasNode:getCanvasNode,focus:setFocus,getCellFromPoint:getCellFromPoint,getCellFromEvent:getCellFromEvent,getActiveCell:getActiveCell,setActiveCell:setActiveCell,getActiveCellNode:getActiveCellNode,getActiveCellPosition:getActiveCellPosition,resetActiveCell:resetActiveCell,editActiveCell:makeActiveCellEditable,getCellEditor:getCellEditor,getCellNode:getCellNode,getCellNodeBox:getCellNodeBox,canCellBeSelected:canCellBeSelected,canCellBeActive:canCellBeActive,navigatePrev:navigatePrev,navigateNext:navigateNext,navigateUp:navigateUp,navigateDown:navigateDown,navigateLeft:navigateLeft,navigateRight:navigateRight,navigatePageUp:navigatePageUp,navigatePageDown:navigatePageDown,gotoCell:gotoCell,getTopPanel:getTopPanel,setTopPanelVisibility:setTopPanelVisibility,setHeaderRowVisibility:setHeaderRowVisibility,getHeaderRow:getHeaderRow,getHeaderRowColumn:getHeaderRowColumn,getGridPosition:getGridPosition,flashCell:flashCell,addCellCssStyles:addCellCssStyles,setCellCssStyles:setCellCssStyles,removeCellCssStyles:removeCellCssStyles,getCellCssStyles:getCellCssStyles,init:finishInitialization,destroy:destroy,getEditorLock:getEditorLock,getEditController:getEditController}),init()}var $=require(\"jquery\"),$1=require(\"jquery_event_drag\"),$2=require(\"jquery_event_drop\"),Slick=require(\"./slick.core\"),scrollbarDimensions,maxSupportedCssHeight;module.exports=SlickGrid},{\"./slick.core\":307,jquery:18,jquery_event_drag:301,jquery_event_drop:302}]},{},[1])}();\n",
       "        //# sourceMappingURL=bokeh.min.js.map\n",
       "        /* END C:\\Users\\Bradlee Speice\\Anaconda3\\lib\\site-packages\\bokeh\\server\\static\\js/bokeh.min.js */\n",
       "</script>\n",
       "<script type=\"text/javascript\">\n",
       "    Bokeh.set_log_level(\"info\");\n",
       "</script>\n",
       "    \n",
       "<style>\n",
       "    /* BEGIN C:\\Users\\Bradlee Speice\\Anaconda3\\lib\\site-packages\\bokeh\\server\\static\\css/bokeh.min.css */\n",
       "        .bk-bs-container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media(min-width:768px){.bk-bs-container{width:750px}}@media(min-width:992px){.bk-bs-container{width:970px}}@media(min-width:1200px){.bk-bs-container{width:1170px}}.bk-bs-container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.bk-bs-row{margin-left:-15px;margin-right:-15px}.bk-bs-col-xs-1,.bk-bs-col-sm-1,.bk-bs-col-md-1,.bk-bs-col-lg-1,.bk-bs-col-xs-2,.bk-bs-col-sm-2,.bk-bs-col-md-2,.bk-bs-col-lg-2,.bk-bs-col-xs-3,.bk-bs-col-sm-3,.bk-bs-col-md-3,.bk-bs-col-lg-3,.bk-bs-col-xs-4,.bk-bs-col-sm-4,.bk-bs-col-md-4,.bk-bs-col-lg-4,.bk-bs-col-xs-5,.bk-bs-col-sm-5,.bk-bs-col-md-5,.bk-bs-col-lg-5,.bk-bs-col-xs-6,.bk-bs-col-sm-6,.bk-bs-col-md-6,.bk-bs-col-lg-6,.bk-bs-col-xs-7,.bk-bs-col-sm-7,.bk-bs-col-md-7,.bk-bs-col-lg-7,.bk-bs-col-xs-8,.bk-bs-col-sm-8,.bk-bs-col-md-8,.bk-bs-col-lg-8,.bk-bs-col-xs-9,.bk-bs-col-sm-9,.bk-bs-col-md-9,.bk-bs-col-lg-9,.bk-bs-col-xs-10,.bk-bs-col-sm-10,.bk-bs-col-md-10,.bk-bs-col-lg-10,.bk-bs-col-xs-11,.bk-bs-col-sm-11,.bk-bs-col-md-11,.bk-bs-col-lg-11,.bk-bs-col-xs-12,.bk-bs-col-sm-12,.bk-bs-col-md-12,.bk-bs-col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.bk-bs-col-xs-1,.bk-bs-col-xs-2,.bk-bs-col-xs-3,.bk-bs-col-xs-4,.bk-bs-col-xs-5,.bk-bs-col-xs-6,.bk-bs-col-xs-7,.bk-bs-col-xs-8,.bk-bs-col-xs-9,.bk-bs-col-xs-10,.bk-bs-col-xs-11,.bk-bs-col-xs-12{float:left}.bk-bs-col-xs-12{width:100%}.bk-bs-col-xs-11{width:91.66666667%}.bk-bs-col-xs-10{width:83.33333333%}.bk-bs-col-xs-9{width:75%}.bk-bs-col-xs-8{width:66.66666667%}.bk-bs-col-xs-7{width:58.33333333%}.bk-bs-col-xs-6{width:50%}.bk-bs-col-xs-5{width:41.66666667%}.bk-bs-col-xs-4{width:33.33333333%}.bk-bs-col-xs-3{width:25%}.bk-bs-col-xs-2{width:16.66666667%}.bk-bs-col-xs-1{width:8.33333333%}.bk-bs-col-xs-pull-12{right:100%}.bk-bs-col-xs-pull-11{right:91.66666667%}.bk-bs-col-xs-pull-10{right:83.33333333%}.bk-bs-col-xs-pull-9{right:75%}.bk-bs-col-xs-pull-8{right:66.66666667%}.bk-bs-col-xs-pull-7{right:58.33333333%}.bk-bs-col-xs-pull-6{right:50%}.bk-bs-col-xs-pull-5{right:41.66666667%}.bk-bs-col-xs-pull-4{right:33.33333333%}.bk-bs-col-xs-pull-3{right:25%}.bk-bs-col-xs-pull-2{right:16.66666667%}.bk-bs-col-xs-pull-1{right:8.33333333%}.bk-bs-col-xs-pull-0{right:0}.bk-bs-col-xs-push-12{left:100%}.bk-bs-col-xs-push-11{left:91.66666667%}.bk-bs-col-xs-push-10{left:83.33333333%}.bk-bs-col-xs-push-9{left:75%}.bk-bs-col-xs-push-8{left:66.66666667%}.bk-bs-col-xs-push-7{left:58.33333333%}.bk-bs-col-xs-push-6{left:50%}.bk-bs-col-xs-push-5{left:41.66666667%}.bk-bs-col-xs-push-4{left:33.33333333%}.bk-bs-col-xs-push-3{left:25%}.bk-bs-col-xs-push-2{left:16.66666667%}.bk-bs-col-xs-push-1{left:8.33333333%}.bk-bs-col-xs-push-0{left:0}.bk-bs-col-xs-offset-12{margin-left:100%}.bk-bs-col-xs-offset-11{margin-left:91.66666667%}.bk-bs-col-xs-offset-10{margin-left:83.33333333%}.bk-bs-col-xs-offset-9{margin-left:75%}.bk-bs-col-xs-offset-8{margin-left:66.66666667%}.bk-bs-col-xs-offset-7{margin-left:58.33333333%}.bk-bs-col-xs-offset-6{margin-left:50%}.bk-bs-col-xs-offset-5{margin-left:41.66666667%}.bk-bs-col-xs-offset-4{margin-left:33.33333333%}.bk-bs-col-xs-offset-3{margin-left:25%}.bk-bs-col-xs-offset-2{margin-left:16.66666667%}.bk-bs-col-xs-offset-1{margin-left:8.33333333%}.bk-bs-col-xs-offset-0{margin-left:0}@media(min-width:768px){.bk-bs-col-sm-1,.bk-bs-col-sm-2,.bk-bs-col-sm-3,.bk-bs-col-sm-4,.bk-bs-col-sm-5,.bk-bs-col-sm-6,.bk-bs-col-sm-7,.bk-bs-col-sm-8,.bk-bs-col-sm-9,.bk-bs-col-sm-10,.bk-bs-col-sm-11,.bk-bs-col-sm-12{float:left}.bk-bs-col-sm-12{width:100%}.bk-bs-col-sm-11{width:91.66666667%}.bk-bs-col-sm-10{width:83.33333333%}.bk-bs-col-sm-9{width:75%}.bk-bs-col-sm-8{width:66.66666667%}.bk-bs-col-sm-7{width:58.33333333%}.bk-bs-col-sm-6{width:50%}.bk-bs-col-sm-5{width:41.66666667%}.bk-bs-col-sm-4{width:33.33333333%}.bk-bs-col-sm-3{width:25%}.bk-bs-col-sm-2{width:16.66666667%}.bk-bs-col-sm-1{width:8.33333333%}.bk-bs-col-sm-pull-12{right:100%}.bk-bs-col-sm-pull-11{right:91.66666667%}.bk-bs-col-sm-pull-10{right:83.33333333%}.bk-bs-col-sm-pull-9{right:75%}.bk-bs-col-sm-pull-8{right:66.66666667%}.bk-bs-col-sm-pull-7{right:58.33333333%}.bk-bs-col-sm-pull-6{right:50%}.bk-bs-col-sm-pull-5{right:41.66666667%}.bk-bs-col-sm-pull-4{right:33.33333333%}.bk-bs-col-sm-pull-3{right:25%}.bk-bs-col-sm-pull-2{right:16.66666667%}.bk-bs-col-sm-pull-1{right:8.33333333%}.bk-bs-col-sm-pull-0{right:0}.bk-bs-col-sm-push-12{left:100%}.bk-bs-col-sm-push-11{left:91.66666667%}.bk-bs-col-sm-push-10{left:83.33333333%}.bk-bs-col-sm-push-9{left:75%}.bk-bs-col-sm-push-8{left:66.66666667%}.bk-bs-col-sm-push-7{left:58.33333333%}.bk-bs-col-sm-push-6{left:50%}.bk-bs-col-sm-push-5{left:41.66666667%}.bk-bs-col-sm-push-4{left:33.33333333%}.bk-bs-col-sm-push-3{left:25%}.bk-bs-col-sm-push-2{left:16.66666667%}.bk-bs-col-sm-push-1{left:8.33333333%}.bk-bs-col-sm-push-0{left:0}.bk-bs-col-sm-offset-12{margin-left:100%}.bk-bs-col-sm-offset-11{margin-left:91.66666667%}.bk-bs-col-sm-offset-10{margin-left:83.33333333%}.bk-bs-col-sm-offset-9{margin-left:75%}.bk-bs-col-sm-offset-8{margin-left:66.66666667%}.bk-bs-col-sm-offset-7{margin-left:58.33333333%}.bk-bs-col-sm-offset-6{margin-left:50%}.bk-bs-col-sm-offset-5{margin-left:41.66666667%}.bk-bs-col-sm-offset-4{margin-left:33.33333333%}.bk-bs-col-sm-offset-3{margin-left:25%}.bk-bs-col-sm-offset-2{margin-left:16.66666667%}.bk-bs-col-sm-offset-1{margin-left:8.33333333%}.bk-bs-col-sm-offset-0{margin-left:0}}@media(min-width:992px){.bk-bs-col-md-1,.bk-bs-col-md-2,.bk-bs-col-md-3,.bk-bs-col-md-4,.bk-bs-col-md-5,.bk-bs-col-md-6,.bk-bs-col-md-7,.bk-bs-col-md-8,.bk-bs-col-md-9,.bk-bs-col-md-10,.bk-bs-col-md-11,.bk-bs-col-md-12{float:left}.bk-bs-col-md-12{width:100%}.bk-bs-col-md-11{width:91.66666667%}.bk-bs-col-md-10{width:83.33333333%}.bk-bs-col-md-9{width:75%}.bk-bs-col-md-8{width:66.66666667%}.bk-bs-col-md-7{width:58.33333333%}.bk-bs-col-md-6{width:50%}.bk-bs-col-md-5{width:41.66666667%}.bk-bs-col-md-4{width:33.33333333%}.bk-bs-col-md-3{width:25%}.bk-bs-col-md-2{width:16.66666667%}.bk-bs-col-md-1{width:8.33333333%}.bk-bs-col-md-pull-12{right:100%}.bk-bs-col-md-pull-11{right:91.66666667%}.bk-bs-col-md-pull-10{right:83.33333333%}.bk-bs-col-md-pull-9{right:75%}.bk-bs-col-md-pull-8{right:66.66666667%}.bk-bs-col-md-pull-7{right:58.33333333%}.bk-bs-col-md-pull-6{right:50%}.bk-bs-col-md-pull-5{right:41.66666667%}.bk-bs-col-md-pull-4{right:33.33333333%}.bk-bs-col-md-pull-3{right:25%}.bk-bs-col-md-pull-2{right:16.66666667%}.bk-bs-col-md-pull-1{right:8.33333333%}.bk-bs-col-md-pull-0{right:0}.bk-bs-col-md-push-12{left:100%}.bk-bs-col-md-push-11{left:91.66666667%}.bk-bs-col-md-push-10{left:83.33333333%}.bk-bs-col-md-push-9{left:75%}.bk-bs-col-md-push-8{left:66.66666667%}.bk-bs-col-md-push-7{left:58.33333333%}.bk-bs-col-md-push-6{left:50%}.bk-bs-col-md-push-5{left:41.66666667%}.bk-bs-col-md-push-4{left:33.33333333%}.bk-bs-col-md-push-3{left:25%}.bk-bs-col-md-push-2{left:16.66666667%}.bk-bs-col-md-push-1{left:8.33333333%}.bk-bs-col-md-push-0{left:0}.bk-bs-col-md-offset-12{margin-left:100%}.bk-bs-col-md-offset-11{margin-left:91.66666667%}.bk-bs-col-md-offset-10{margin-left:83.33333333%}.bk-bs-col-md-offset-9{margin-left:75%}.bk-bs-col-md-offset-8{margin-left:66.66666667%}.bk-bs-col-md-offset-7{margin-left:58.33333333%}.bk-bs-col-md-offset-6{margin-left:50%}.bk-bs-col-md-offset-5{margin-left:41.66666667%}.bk-bs-col-md-offset-4{margin-left:33.33333333%}.bk-bs-col-md-offset-3{margin-left:25%}.bk-bs-col-md-offset-2{margin-left:16.66666667%}.bk-bs-col-md-offset-1{margin-left:8.33333333%}.bk-bs-col-md-offset-0{margin-left:0}}@media(min-width:1200px){.bk-bs-col-lg-1,.bk-bs-col-lg-2,.bk-bs-col-lg-3,.bk-bs-col-lg-4,.bk-bs-col-lg-5,.bk-bs-col-lg-6,.bk-bs-col-lg-7,.bk-bs-col-lg-8,.bk-bs-col-lg-9,.bk-bs-col-lg-10,.bk-bs-col-lg-11,.bk-bs-col-lg-12{float:left}.bk-bs-col-lg-12{width:100%}.bk-bs-col-lg-11{width:91.66666667%}.bk-bs-col-lg-10{width:83.33333333%}.bk-bs-col-lg-9{width:75%}.bk-bs-col-lg-8{width:66.66666667%}.bk-bs-col-lg-7{width:58.33333333%}.bk-bs-col-lg-6{width:50%}.bk-bs-col-lg-5{width:41.66666667%}.bk-bs-col-lg-4{width:33.33333333%}.bk-bs-col-lg-3{width:25%}.bk-bs-col-lg-2{width:16.66666667%}.bk-bs-col-lg-1{width:8.33333333%}.bk-bs-col-lg-pull-12{right:100%}.bk-bs-col-lg-pull-11{right:91.66666667%}.bk-bs-col-lg-pull-10{right:83.33333333%}.bk-bs-col-lg-pull-9{right:75%}.bk-bs-col-lg-pull-8{right:66.66666667%}.bk-bs-col-lg-pull-7{right:58.33333333%}.bk-bs-col-lg-pull-6{right:50%}.bk-bs-col-lg-pull-5{right:41.66666667%}.bk-bs-col-lg-pull-4{right:33.33333333%}.bk-bs-col-lg-pull-3{right:25%}.bk-bs-col-lg-pull-2{right:16.66666667%}.bk-bs-col-lg-pull-1{right:8.33333333%}.bk-bs-col-lg-pull-0{right:0}.bk-bs-col-lg-push-12{left:100%}.bk-bs-col-lg-push-11{left:91.66666667%}.bk-bs-col-lg-push-10{left:83.33333333%}.bk-bs-col-lg-push-9{left:75%}.bk-bs-col-lg-push-8{left:66.66666667%}.bk-bs-col-lg-push-7{left:58.33333333%}.bk-bs-col-lg-push-6{left:50%}.bk-bs-col-lg-push-5{left:41.66666667%}.bk-bs-col-lg-push-4{left:33.33333333%}.bk-bs-col-lg-push-3{left:25%}.bk-bs-col-lg-push-2{left:16.66666667%}.bk-bs-col-lg-push-1{left:8.33333333%}.bk-bs-col-lg-push-0{left:0}.bk-bs-col-lg-offset-12{margin-left:100%}.bk-bs-col-lg-offset-11{margin-left:91.66666667%}.bk-bs-col-lg-offset-10{margin-left:83.33333333%}.bk-bs-col-lg-offset-9{margin-left:75%}.bk-bs-col-lg-offset-8{margin-left:66.66666667%}.bk-bs-col-lg-offset-7{margin-left:58.33333333%}.bk-bs-col-lg-offset-6{margin-left:50%}.bk-bs-col-lg-offset-5{margin-left:41.66666667%}.bk-bs-col-lg-offset-4{margin-left:33.33333333%}.bk-bs-col-lg-offset-3{margin-left:25%}.bk-bs-col-lg-offset-2{margin-left:16.66666667%}.bk-bs-col-lg-offset-1{margin-left:8.33333333%}.bk-bs-col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.bk-bs-table{width:100%;margin-bottom:20px}.bk-bs-table>thead>tr>th,.bk-bs-table>tbody>tr>th,.bk-bs-table>tfoot>tr>th,.bk-bs-table>thead>tr>td,.bk-bs-table>tbody>tr>td,.bk-bs-table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.bk-bs-table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.bk-bs-table>caption+thead>tr:first-child>th,.bk-bs-table>colgroup+thead>tr:first-child>th,.bk-bs-table>thead:first-child>tr:first-child>th,.bk-bs-table>caption+thead>tr:first-child>td,.bk-bs-table>colgroup+thead>tr:first-child>td,.bk-bs-table>thead:first-child>tr:first-child>td{border-top:0}.bk-bs-table>tbody+tbody{border-top:2px solid #ddd}.bk-bs-table .bk-bs-table{background-color:#fff}.bk-bs-table-condensed>thead>tr>th,.bk-bs-table-condensed>tbody>tr>th,.bk-bs-table-condensed>tfoot>tr>th,.bk-bs-table-condensed>thead>tr>td,.bk-bs-table-condensed>tbody>tr>td,.bk-bs-table-condensed>tfoot>tr>td{padding:5px}.bk-bs-table-bordered{border:1px solid #ddd}.bk-bs-table-bordered>thead>tr>th,.bk-bs-table-bordered>tbody>tr>th,.bk-bs-table-bordered>tfoot>tr>th,.bk-bs-table-bordered>thead>tr>td,.bk-bs-table-bordered>tbody>tr>td,.bk-bs-table-bordered>tfoot>tr>td{border:1px solid #ddd}.bk-bs-table-bordered>thead>tr>th,.bk-bs-table-bordered>thead>tr>td{border-bottom-width:2px}.bk-bs-table-striped>tbody>tr:nth-child(odd)>td,.bk-bs-table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.bk-bs-table-hover>tbody>tr:hover>td,.bk-bs-table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*=\"col-\"]{position:static;float:none;display:table-column}table td[class*=\"col-\"],table th[class*=\"col-\"]{position:static;float:none;display:table-cell}.bk-bs-table>thead>tr>td.active,.bk-bs-table>tbody>tr>td.active,.bk-bs-table>tfoot>tr>td.active,.bk-bs-table>thead>tr>th.active,.bk-bs-table>tbody>tr>th.active,.bk-bs-table>tfoot>tr>th.active,.bk-bs-table>thead>tr.active>td,.bk-bs-table>tbody>tr.active>td,.bk-bs-table>tfoot>tr.active>td,.bk-bs-table>thead>tr.active>th,.bk-bs-table>tbody>tr.active>th,.bk-bs-table>tfoot>tr.active>th{background-color:#f5f5f5}.bk-bs-table-hover>tbody>tr>td.active:hover,.bk-bs-table-hover>tbody>tr>th.active:hover,.bk-bs-table-hover>tbody>tr.active:hover>td,.bk-bs-table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.bk-bs-table>thead>tr>td.success,.bk-bs-table>tbody>tr>td.success,.bk-bs-table>tfoot>tr>td.success,.bk-bs-table>thead>tr>th.success,.bk-bs-table>tbody>tr>th.success,.bk-bs-table>tfoot>tr>th.success,.bk-bs-table>thead>tr.success>td,.bk-bs-table>tbody>tr.success>td,.bk-bs-table>tfoot>tr.success>td,.bk-bs-table>thead>tr.success>th,.bk-bs-table>tbody>tr.success>th,.bk-bs-table>tfoot>tr.success>th{background-color:#dff0d8}.bk-bs-table-hover>tbody>tr>td.success:hover,.bk-bs-table-hover>tbody>tr>th.success:hover,.bk-bs-table-hover>tbody>tr.success:hover>td,.bk-bs-table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.bk-bs-table>thead>tr>td.info,.bk-bs-table>tbody>tr>td.info,.bk-bs-table>tfoot>tr>td.info,.bk-bs-table>thead>tr>th.info,.bk-bs-table>tbody>tr>th.info,.bk-bs-table>tfoot>tr>th.info,.bk-bs-table>thead>tr.info>td,.bk-bs-table>tbody>tr.info>td,.bk-bs-table>tfoot>tr.info>td,.bk-bs-table>thead>tr.info>th,.bk-bs-table>tbody>tr.info>th,.bk-bs-table>tfoot>tr.info>th{background-color:#d9edf7}.bk-bs-table-hover>tbody>tr>td.info:hover,.bk-bs-table-hover>tbody>tr>th.info:hover,.bk-bs-table-hover>tbody>tr.info:hover>td,.bk-bs-table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.bk-bs-table>thead>tr>td.warning,.bk-bs-table>tbody>tr>td.warning,.bk-bs-table>tfoot>tr>td.warning,.bk-bs-table>thead>tr>th.warning,.bk-bs-table>tbody>tr>th.warning,.bk-bs-table>tfoot>tr>th.warning,.bk-bs-table>thead>tr.warning>td,.bk-bs-table>tbody>tr.warning>td,.bk-bs-table>tfoot>tr.warning>td,.bk-bs-table>thead>tr.warning>th,.bk-bs-table>tbody>tr.warning>th,.bk-bs-table>tfoot>tr.warning>th{background-color:#fcf8e3}.bk-bs-table-hover>tbody>tr>td.warning:hover,.bk-bs-table-hover>tbody>tr>th.warning:hover,.bk-bs-table-hover>tbody>tr.warning:hover>td,.bk-bs-table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.bk-bs-table>thead>tr>td.danger,.bk-bs-table>tbody>tr>td.danger,.bk-bs-table>tfoot>tr>td.danger,.bk-bs-table>thead>tr>th.danger,.bk-bs-table>tbody>tr>th.danger,.bk-bs-table>tfoot>tr>th.danger,.bk-bs-table>thead>tr.danger>td,.bk-bs-table>tbody>tr.danger>td,.bk-bs-table>tfoot>tr.danger>td,.bk-bs-table>thead>tr.danger>th,.bk-bs-table>tbody>tr.danger>th,.bk-bs-table>tfoot>tr.danger>th{background-color:#f2dede}.bk-bs-table-hover>tbody>tr>td.danger:hover,.bk-bs-table-hover>tbody>tr>th.danger:hover,.bk-bs-table-hover>tbody>tr.danger:hover>td,.bk-bs-table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media(max-width:767px){.bk-bs-table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}.bk-bs-table-responsive>.bk-bs-table{margin-bottom:0}.bk-bs-table-responsive>.bk-bs-table>thead>tr>th,.bk-bs-table-responsive>.bk-bs-table>tbody>tr>th,.bk-bs-table-responsive>.bk-bs-table>tfoot>tr>th,.bk-bs-table-responsive>.bk-bs-table>thead>tr>td,.bk-bs-table-responsive>.bk-bs-table>tbody>tr>td,.bk-bs-table-responsive>.bk-bs-table>tfoot>tr>td{white-space:nowrap}.bk-bs-table-responsive>.bk-bs-table-bordered{border:0}.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr>th:first-child,.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr>th:first-child,.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr>th:first-child,.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr>td:first-child,.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr>td:first-child,.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr>td:first-child{border-left:0}.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr>th:last-child,.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr>th:last-child,.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr>th:last-child,.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr>td:last-child,.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr>td:last-child,.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr>td:last-child{border-right:0}.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr:last-child>th,.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr:last-child>th,.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr:last-child>td,.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type=\"search\"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=\"radio\"],input[type=\"checkbox\"]{margin:4px 0 0;margin-top:1px \\9;line-height:normal}input[type=\"file\"]{display:block}input[type=\"range\"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=\"file\"]:focus,input[type=\"radio\"]:focus,input[type=\"checkbox\"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.bk-bs-form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-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-bs-form-control: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,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,0.6)}.bk-bs-form-control::-moz-placeholder{color:#999;opacity:1}.bk-bs-form-control:-ms-input-placeholder{color:#999}.bk-bs-form-control::-webkit-input-placeholder{color:#999}.bk-bs-form-control[disabled],.bk-bs-form-control[readonly],fieldset[disabled] .bk-bs-form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.bk-bs-form-control{height:auto}input[type=\"search\"]{-webkit-appearance:none}input[type=\"date\"]{line-height:34px}.bk-bs-form-group{margin-bottom:15px}.bk-bs-radio,.bk-bs-checkbox{display:block;min-height:20px;margin-top:10px;margin-bottom:10px;padding-left:20px}.bk-bs-radio label,.bk-bs-checkbox label{display:inline;font-weight:normal;cursor:pointer}.bk-bs-radio input[type=\"radio\"],.bk-bs-radio-inline input[type=\"radio\"],.bk-bs-checkbox input[type=\"checkbox\"],.bk-bs-checkbox-inline input[type=\"checkbox\"]{float:left;margin-left:-20px}.bk-bs-radio+.bk-bs-radio,.bk-bs-checkbox+.bk-bs-checkbox{margin-top:-5px}.bk-bs-radio-inline,.bk-bs-checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.bk-bs-radio-inline+.bk-bs-radio-inline,.bk-bs-checkbox-inline+.bk-bs-checkbox-inline{margin-top:0;margin-left:10px}input[type=\"radio\"][disabled],input[type=\"checkbox\"][disabled],.bk-bs-radio[disabled],.bk-bs-radio-inline[disabled],.bk-bs-checkbox[disabled],.bk-bs-checkbox-inline[disabled],fieldset[disabled] input[type=\"radio\"],fieldset[disabled] input[type=\"checkbox\"],fieldset[disabled] .bk-bs-radio,fieldset[disabled] .bk-bs-radio-inline,fieldset[disabled] .bk-bs-checkbox,fieldset[disabled] .bk-bs-checkbox-inline{cursor:not-allowed}.bk-bs-input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.bk-bs-input-sm{height:30px;line-height:30px}textarea.bk-bs-input-sm,select[multiple].bk-bs-input-sm{height:auto}.bk-bs-input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.bk-bs-input-lg{height:46px;line-height:46px}textarea.bk-bs-input-lg,select[multiple].bk-bs-input-lg{height:auto}.bk-bs-has-feedback{position:relative}.bk-bs-has-feedback .bk-bs-form-control{padding-right:42.5px}.bk-bs-has-feedback .bk-bs-form-control-feedback{position:absolute;top:25px;right:0;display:block;width:34px;height:34px;line-height:34px;text-align:center}.bk-bs-has-success .bk-bs-help-block,.bk-bs-has-success .bk-bs-control-label,.bk-bs-has-success .bk-bs-radio,.bk-bs-has-success .bk-bs-checkbox,.bk-bs-has-success .bk-bs-radio-inline,.bk-bs-has-success .bk-bs-checkbox-inline{color:#3c763d}.bk-bs-has-success .bk-bs-form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.bk-bs-has-success .bk-bs-form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168}.bk-bs-has-success .bk-bs-input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.bk-bs-has-success .bk-bs-form-control-feedback{color:#3c763d}.bk-bs-has-warning .bk-bs-help-block,.bk-bs-has-warning .bk-bs-control-label,.bk-bs-has-warning .bk-bs-radio,.bk-bs-has-warning .bk-bs-checkbox,.bk-bs-has-warning .bk-bs-radio-inline,.bk-bs-has-warning .bk-bs-checkbox-inline{color:#8a6d3b}.bk-bs-has-warning .bk-bs-form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.bk-bs-has-warning .bk-bs-form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b}.bk-bs-has-warning .bk-bs-input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.bk-bs-has-warning .bk-bs-form-control-feedback{color:#8a6d3b}.bk-bs-has-error .bk-bs-help-block,.bk-bs-has-error .bk-bs-control-label,.bk-bs-has-error .bk-bs-radio,.bk-bs-has-error .bk-bs-checkbox,.bk-bs-has-error .bk-bs-radio-inline,.bk-bs-has-error .bk-bs-checkbox-inline{color:#a94442}.bk-bs-has-error .bk-bs-form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.bk-bs-has-error .bk-bs-form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483}.bk-bs-has-error .bk-bs-input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.bk-bs-has-error .bk-bs-form-control-feedback{color:#a94442}.bk-bs-form-control-static{margin-bottom:0}.bk-bs-help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.bk-bs-form-inline .bk-bs-form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.bk-bs-form-inline .bk-bs-form-control{display:inline-block;width:auto;vertical-align:middle}.bk-bs-form-inline .bk-bs-input-group>.bk-bs-form-control{width:100%}.bk-bs-form-inline .bk-bs-control-label{margin-bottom:0;vertical-align:middle}.bk-bs-form-inline .bk-bs-radio,.bk-bs-form-inline .bk-bs-checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.bk-bs-form-inline .bk-bs-radio input[type=\"radio\"],.bk-bs-form-inline .bk-bs-checkbox input[type=\"checkbox\"]{float:none;margin-left:0}.bk-bs-form-inline .bk-bs-has-feedback .bk-bs-form-control-feedback{top:0}}.bk-bs-form-horizontal .bk-bs-control-label,.bk-bs-form-horizontal .bk-bs-radio,.bk-bs-form-horizontal .bk-bs-checkbox,.bk-bs-form-horizontal .bk-bs-radio-inline,.bk-bs-form-horizontal .bk-bs-checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.bk-bs-form-horizontal .bk-bs-radio,.bk-bs-form-horizontal .bk-bs-checkbox{min-height:27px}.bk-bs-form-horizontal .bk-bs-form-group{margin-left:-15px;margin-right:-15px}.bk-bs-form-horizontal .bk-bs-form-control-static{padding-top:7px}@media(min-width:768px){.bk-bs-form-horizontal .bk-bs-control-label{text-align:right}}.bk-bs-form-horizontal .bk-bs-has-feedback .bk-bs-form-control-feedback{top:0;right:15px}.bk-bs-btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bk-bs-btn:focus,.bk-bs-btn:active:focus,.bk-bs-btn.bk-bs-active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.bk-bs-btn:hover,.bk-bs-btn:focus{color:#333;text-decoration:none}.bk-bs-btn:active,.bk-bs-btn.bk-bs-active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.bk-bs-btn.bk-bs-disabled,.bk-bs-btn[disabled],fieldset[disabled] .bk-bs-btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.bk-bs-btn-default{color:#333;background-color:#fff;border-color:#ccc}.bk-bs-btn-default:hover,.bk-bs-btn-default:focus,.bk-bs-btn-default:active,.bk-bs-btn-default.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.bk-bs-btn-default:active,.bk-bs-btn-default.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-default{background-image:none}.bk-bs-btn-default.bk-bs-disabled,.bk-bs-btn-default[disabled],fieldset[disabled] .bk-bs-btn-default,.bk-bs-btn-default.bk-bs-disabled:hover,.bk-bs-btn-default[disabled]:hover,fieldset[disabled] .bk-bs-btn-default:hover,.bk-bs-btn-default.bk-bs-disabled:focus,.bk-bs-btn-default[disabled]:focus,fieldset[disabled] .bk-bs-btn-default:focus,.bk-bs-btn-default.bk-bs-disabled:active,.bk-bs-btn-default[disabled]:active,fieldset[disabled] .bk-bs-btn-default:active,.bk-bs-btn-default.bk-bs-disabled.bk-bs-active,.bk-bs-btn-default[disabled].bk-bs-active,fieldset[disabled] .bk-bs-btn-default.bk-bs-active{background-color:#fff;border-color:#ccc}.bk-bs-btn-default .bk-bs-badge{color:#fff;background-color:#333}.bk-bs-btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.bk-bs-btn-primary:hover,.bk-bs-btn-primary:focus,.bk-bs-btn-primary:active,.bk-bs-btn-primary.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.bk-bs-btn-primary:active,.bk-bs-btn-primary.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-primary{background-image:none}.bk-bs-btn-primary.bk-bs-disabled,.bk-bs-btn-primary[disabled],fieldset[disabled] .bk-bs-btn-primary,.bk-bs-btn-primary.bk-bs-disabled:hover,.bk-bs-btn-primary[disabled]:hover,fieldset[disabled] .bk-bs-btn-primary:hover,.bk-bs-btn-primary.bk-bs-disabled:focus,.bk-bs-btn-primary[disabled]:focus,fieldset[disabled] .bk-bs-btn-primary:focus,.bk-bs-btn-primary.bk-bs-disabled:active,.bk-bs-btn-primary[disabled]:active,fieldset[disabled] .bk-bs-btn-primary:active,.bk-bs-btn-primary.bk-bs-disabled.bk-bs-active,.bk-bs-btn-primary[disabled].bk-bs-active,fieldset[disabled] .bk-bs-btn-primary.bk-bs-active{background-color:#428bca;border-color:#357ebd}.bk-bs-btn-primary .bk-bs-badge{color:#428bca;background-color:#fff}.bk-bs-btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.bk-bs-btn-success:hover,.bk-bs-btn-success:focus,.bk-bs-btn-success:active,.bk-bs-btn-success.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-success{color:#fff;background-color:#47a447;border-color:#398439}.bk-bs-btn-success:active,.bk-bs-btn-success.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-success{background-image:none}.bk-bs-btn-success.bk-bs-disabled,.bk-bs-btn-success[disabled],fieldset[disabled] .bk-bs-btn-success,.bk-bs-btn-success.bk-bs-disabled:hover,.bk-bs-btn-success[disabled]:hover,fieldset[disabled] .bk-bs-btn-success:hover,.bk-bs-btn-success.bk-bs-disabled:focus,.bk-bs-btn-success[disabled]:focus,fieldset[disabled] .bk-bs-btn-success:focus,.bk-bs-btn-success.bk-bs-disabled:active,.bk-bs-btn-success[disabled]:active,fieldset[disabled] .bk-bs-btn-success:active,.bk-bs-btn-success.bk-bs-disabled.bk-bs-active,.bk-bs-btn-success[disabled].bk-bs-active,fieldset[disabled] .bk-bs-btn-success.bk-bs-active{background-color:#5cb85c;border-color:#4cae4c}.bk-bs-btn-success .bk-bs-badge{color:#5cb85c;background-color:#fff}.bk-bs-btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.bk-bs-btn-info:hover,.bk-bs-btn-info:focus,.bk-bs-btn-info:active,.bk-bs-btn-info.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.bk-bs-btn-info:active,.bk-bs-btn-info.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-info{background-image:none}.bk-bs-btn-info.bk-bs-disabled,.bk-bs-btn-info[disabled],fieldset[disabled] .bk-bs-btn-info,.bk-bs-btn-info.bk-bs-disabled:hover,.bk-bs-btn-info[disabled]:hover,fieldset[disabled] .bk-bs-btn-info:hover,.bk-bs-btn-info.bk-bs-disabled:focus,.bk-bs-btn-info[disabled]:focus,fieldset[disabled] .bk-bs-btn-info:focus,.bk-bs-btn-info.bk-bs-disabled:active,.bk-bs-btn-info[disabled]:active,fieldset[disabled] .bk-bs-btn-info:active,.bk-bs-btn-info.bk-bs-disabled.bk-bs-active,.bk-bs-btn-info[disabled].bk-bs-active,fieldset[disabled] .bk-bs-btn-info.bk-bs-active{background-color:#5bc0de;border-color:#46b8da}.bk-bs-btn-info .bk-bs-badge{color:#5bc0de;background-color:#fff}.bk-bs-btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.bk-bs-btn-warning:hover,.bk-bs-btn-warning:focus,.bk-bs-btn-warning:active,.bk-bs-btn-warning.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.bk-bs-btn-warning:active,.bk-bs-btn-warning.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-warning{background-image:none}.bk-bs-btn-warning.bk-bs-disabled,.bk-bs-btn-warning[disabled],fieldset[disabled] .bk-bs-btn-warning,.bk-bs-btn-warning.bk-bs-disabled:hover,.bk-bs-btn-warning[disabled]:hover,fieldset[disabled] .bk-bs-btn-warning:hover,.bk-bs-btn-warning.bk-bs-disabled:focus,.bk-bs-btn-warning[disabled]:focus,fieldset[disabled] .bk-bs-btn-warning:focus,.bk-bs-btn-warning.bk-bs-disabled:active,.bk-bs-btn-warning[disabled]:active,fieldset[disabled] .bk-bs-btn-warning:active,.bk-bs-btn-warning.bk-bs-disabled.bk-bs-active,.bk-bs-btn-warning[disabled].bk-bs-active,fieldset[disabled] .bk-bs-btn-warning.bk-bs-active{background-color:#f0ad4e;border-color:#eea236}.bk-bs-btn-warning .bk-bs-badge{color:#f0ad4e;background-color:#fff}.bk-bs-btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.bk-bs-btn-danger:hover,.bk-bs-btn-danger:focus,.bk-bs-btn-danger:active,.bk-bs-btn-danger.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.bk-bs-btn-danger:active,.bk-bs-btn-danger.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-danger{background-image:none}.bk-bs-btn-danger.bk-bs-disabled,.bk-bs-btn-danger[disabled],fieldset[disabled] .bk-bs-btn-danger,.bk-bs-btn-danger.bk-bs-disabled:hover,.bk-bs-btn-danger[disabled]:hover,fieldset[disabled] .bk-bs-btn-danger:hover,.bk-bs-btn-danger.bk-bs-disabled:focus,.bk-bs-btn-danger[disabled]:focus,fieldset[disabled] .bk-bs-btn-danger:focus,.bk-bs-btn-danger.bk-bs-disabled:active,.bk-bs-btn-danger[disabled]:active,fieldset[disabled] .bk-bs-btn-danger:active,.bk-bs-btn-danger.bk-bs-disabled.bk-bs-active,.bk-bs-btn-danger[disabled].bk-bs-active,fieldset[disabled] .bk-bs-btn-danger.bk-bs-active{background-color:#d9534f;border-color:#d43f3a}.bk-bs-btn-danger .bk-bs-badge{color:#d9534f;background-color:#fff}.bk-bs-btn-link{color:#428bca;font-weight:normal;cursor:pointer;border-radius:0}.bk-bs-btn-link,.bk-bs-btn-link:active,.bk-bs-btn-link[disabled],fieldset[disabled] .bk-bs-btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bk-bs-btn-link,.bk-bs-btn-link:hover,.bk-bs-btn-link:focus,.bk-bs-btn-link:active{border-color:transparent}.bk-bs-btn-link:hover,.bk-bs-btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.bk-bs-btn-link[disabled]:hover,fieldset[disabled] .bk-bs-btn-link:hover,.bk-bs-btn-link[disabled]:focus,fieldset[disabled] .bk-bs-btn-link:focus{color:#999;text-decoration:none}.bk-bs-btn-lg,.bk-bs-btn-group-lg>.bk-bs-btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bk-bs-btn-sm,.bk-bs-btn-group-sm>.bk-bs-btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.bk-bs-btn-xs,.bk-bs-btn-group-xs>.bk-bs-btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.bk-bs-btn-block{display:block;width:100%;padding-left:0;padding-right:0}.bk-bs-btn-block+.bk-bs-btn-block{margin-top:5px}input[type=\"submit\"].bk-bs-btn-block,input[type=\"reset\"].bk-bs-btn-block,input[type=\"button\"].bk-bs-btn-block{width:100%}.bk-bs-caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.bk-bs-dropdown{position:relative}.bk-bs-dropdown-toggle:focus{outline:0}.bk-bs-dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.bk-bs-dropdown-menu.bk-bs-pull-right{right:0;left:auto}.bk-bs-dropdown-menu .bk-bs-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.bk-bs-dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.42857143;color:#333;white-space:nowrap}.bk-bs-dropdown-menu>li>a:hover,.bk-bs-dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.bk-bs-dropdown-menu>.bk-bs-active>a,.bk-bs-dropdown-menu>.bk-bs-active>a:hover,.bk-bs-dropdown-menu>.bk-bs-active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#428bca}.bk-bs-dropdown-menu>.bk-bs-disabled>a,.bk-bs-dropdown-menu>.bk-bs-disabled>a:hover,.bk-bs-dropdown-menu>.bk-bs-disabled>a:focus{color:#999}.bk-bs-dropdown-menu>.bk-bs-disabled>a:hover,.bk-bs-dropdown-menu>.bk-bs-disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.bk-bs-Microsoft.bk-bs-gradient(enabled = false);cursor:not-allowed}.bk-bs-open>.bk-bs-dropdown-menu{display:block}.bk-bs-open>a{outline:0}.bk-bs-dropdown-menu-right{left:auto;right:0}.bk-bs-dropdown-menu-left{left:0;right:auto}.bk-bs-dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#999}.bk-bs-dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.bk-bs-pull-right>.bk-bs-dropdown-menu{right:0;left:auto}.bk-bs-dropup .bk-bs-caret,.bk-bs-navbar-fixed-bottom .bk-bs-dropdown .bk-bs-caret{border-top:0;border-bottom:4px solid;content:\"\"}.bk-bs-dropup .bk-bs-dropdown-menu,.bk-bs-navbar-fixed-bottom .bk-bs-dropdown .bk-bs-dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.bk-bs-navbar-right .bk-bs-dropdown-menu{left:auto;right:0}.bk-bs-navbar-right .bk-bs-dropdown-menu-left{left:0;right:auto}}.bk-bs-btn-group,.bk-bs-btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.bk-bs-btn-group>.bk-bs-btn,.bk-bs-btn-group-vertical>.bk-bs-btn{position:relative;float:left}.bk-bs-btn-group>.bk-bs-btn:hover,.bk-bs-btn-group-vertical>.bk-bs-btn:hover,.bk-bs-btn-group>.bk-bs-btn:focus,.bk-bs-btn-group-vertical>.bk-bs-btn:focus,.bk-bs-btn-group>.bk-bs-btn:active,.bk-bs-btn-group-vertical>.bk-bs-btn:active,.bk-bs-btn-group>.bk-bs-btn.bk-bs-active,.bk-bs-btn-group-vertical>.bk-bs-btn.bk-bs-active{z-index:2}.bk-bs-btn-group>.bk-bs-btn:focus,.bk-bs-btn-group-vertical>.bk-bs-btn:focus{outline:0}.bk-bs-btn-group .bk-bs-btn+.bk-bs-btn,.bk-bs-btn-group .bk-bs-btn+.bk-bs-btn-group,.bk-bs-btn-group .bk-bs-btn-group+.bk-bs-btn,.bk-bs-btn-group .bk-bs-btn-group+.bk-bs-btn-group{margin-left:-1px}.bk-bs-btn-toolbar{margin-left:-5px}.bk-bs-btn-toolbar .bk-bs-btn-group,.bk-bs-btn-toolbar .bk-bs-input-group{float:left}.bk-bs-btn-toolbar>.bk-bs-btn,.bk-bs-btn-toolbar>.bk-bs-btn-group,.bk-bs-btn-toolbar>.bk-bs-input-group{margin-left:5px}.bk-bs-btn-group>.bk-bs-btn:not(:first-child):not(:last-child):not(.bk-bs-dropdown-toggle){border-radius:0}.bk-bs-btn-group>.bk-bs-btn:first-child{margin-left:0}.bk-bs-btn-group>.bk-bs-btn:first-child:not(:last-child):not(.bk-bs-dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.bk-bs-btn-group>.bk-bs-btn:last-child:not(:first-child),.bk-bs-btn-group>.bk-bs-dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.bk-bs-btn-group>.bk-bs-btn-group{float:left}.bk-bs-btn-group>.bk-bs-btn-group:not(:first-child):not(:last-child)>.bk-bs-btn{border-radius:0}.bk-bs-btn-group>.bk-bs-btn-group:first-child>.bk-bs-btn:last-child,.bk-bs-btn-group>.bk-bs-btn-group:first-child>.bk-bs-dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.bk-bs-btn-group>.bk-bs-btn-group:last-child>.bk-bs-btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.bk-bs-btn-group .bk-bs-dropdown-toggle:active,.bk-bs-btn-group.bk-bs-open .bk-bs-dropdown-toggle{outline:0}.bk-bs-btn-group>.bk-bs-btn+.bk-bs-dropdown-toggle{padding-left:8px;padding-right:8px}.bk-bs-btn-group>.bk-bs-btn-lg+.bk-bs-dropdown-toggle{padding-left:12px;padding-right:12px}.bk-bs-btn-group.bk-bs-open .bk-bs-dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.bk-bs-btn-group.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-link{-webkit-box-shadow:none;box-shadow:none}.bk-bs-btn .bk-bs-caret{margin-left:0}.bk-bs-btn-lg .bk-bs-caret{border-width:5px 5px 0;border-bottom-width:0}.bk-bs-dropup .bk-bs-btn-lg .bk-bs-caret{border-width:0 5px 5px}.bk-bs-btn-group-vertical>.bk-bs-btn,.bk-bs-btn-group-vertical>.bk-bs-btn-group,.bk-bs-btn-group-vertical>.bk-bs-btn-group>.bk-bs-btn{display:block;float:none;width:100%;max-width:100%}.bk-bs-btn-group-vertical>.bk-bs-btn-group>.bk-bs-btn{float:none}.bk-bs-btn-group-vertical>.bk-bs-btn+.bk-bs-btn,.bk-bs-btn-group-vertical>.bk-bs-btn+.bk-bs-btn-group,.bk-bs-btn-group-vertical>.bk-bs-btn-group+.bk-bs-btn,.bk-bs-btn-group-vertical>.bk-bs-btn-group+.bk-bs-btn-group{margin-top:-1px;margin-left:0}.bk-bs-btn-group-vertical>.bk-bs-btn:not(:first-child):not(:last-child){border-radius:0}.bk-bs-btn-group-vertical>.bk-bs-btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.bk-bs-btn-group-vertical>.bk-bs-btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.bk-bs-btn-group-vertical>.bk-bs-btn-group:not(:first-child):not(:last-child)>.bk-bs-btn{border-radius:0}.bk-bs-btn-group-vertical>.bk-bs-btn-group:first-child:not(:last-child)>.bk-bs-btn:last-child,.bk-bs-btn-group-vertical>.bk-bs-btn-group:first-child:not(:last-child)>.bk-bs-dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.bk-bs-btn-group-vertical>.bk-bs-btn-group:last-child:not(:first-child)>.bk-bs-btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.bk-bs-btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.bk-bs-btn-group-justified>.bk-bs-btn,.bk-bs-btn-group-justified>.bk-bs-btn-group{float:none;display:table-cell;width:1%}.bk-bs-btn-group-justified>.bk-bs-btn-group .bk-bs-btn{width:100%}[data-bk-bs-toggle=\"buttons\"]>.bk-bs-btn>input[type=\"radio\"],[data-bk-bs-toggle=\"buttons\"]>.bk-bs-btn>input[type=\"checkbox\"]{display:none}.bk-bs-input-group{position:relative;display:table;border-collapse:separate}.bk-bs-input-group[class*=\"col-\"]{float:none;padding-left:0;padding-right:0}.bk-bs-input-group .bk-bs-form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.bk-bs-input-group-lg>.bk-bs-form-control,.bk-bs-input-group-lg>.bk-bs-input-group-addon,.bk-bs-input-group-lg>.bk-bs-input-group-btn>.bk-bs-btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.bk-bs-input-group-lg>.bk-bs-form-control,select.bk-bs-input-group-lg>.bk-bs-input-group-addon,select.bk-bs-input-group-lg>.bk-bs-input-group-btn>.bk-bs-btn{height:46px;line-height:46px}textarea.bk-bs-input-group-lg>.bk-bs-form-control,textarea.bk-bs-input-group-lg>.bk-bs-input-group-addon,textarea.bk-bs-input-group-lg>.bk-bs-input-group-btn>.bk-bs-btn,select[multiple].bk-bs-input-group-lg>.bk-bs-form-control,select[multiple].bk-bs-input-group-lg>.bk-bs-input-group-addon,select[multiple].bk-bs-input-group-lg>.bk-bs-input-group-btn>.bk-bs-btn{height:auto}.bk-bs-input-group-sm>.bk-bs-form-control,.bk-bs-input-group-sm>.bk-bs-input-group-addon,.bk-bs-input-group-sm>.bk-bs-input-group-btn>.bk-bs-btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.bk-bs-input-group-sm>.bk-bs-form-control,select.bk-bs-input-group-sm>.bk-bs-input-group-addon,select.bk-bs-input-group-sm>.bk-bs-input-group-btn>.bk-bs-btn{height:30px;line-height:30px}textarea.bk-bs-input-group-sm>.bk-bs-form-control,textarea.bk-bs-input-group-sm>.bk-bs-input-group-addon,textarea.bk-bs-input-group-sm>.bk-bs-input-group-btn>.bk-bs-btn,select[multiple].bk-bs-input-group-sm>.bk-bs-form-control,select[multiple].bk-bs-input-group-sm>.bk-bs-input-group-addon,select[multiple].bk-bs-input-group-sm>.bk-bs-input-group-btn>.bk-bs-btn{height:auto}.bk-bs-input-group-addon,.bk-bs-input-group-btn,.bk-bs-input-group .bk-bs-form-control{display:table-cell}.bk-bs-input-group-addon:not(:first-child):not(:last-child),.bk-bs-input-group-btn:not(:first-child):not(:last-child),.bk-bs-input-group .bk-bs-form-control:not(:first-child):not(:last-child){border-radius:0}.bk-bs-input-group-addon,.bk-bs-input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.bk-bs-input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.bk-bs-input-group-addon.bk-bs-input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.bk-bs-input-group-addon.bk-bs-input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.bk-bs-input-group-addon input[type=\"radio\"],.bk-bs-input-group-addon input[type=\"checkbox\"]{margin-top:0}.bk-bs-input-group .bk-bs-form-control:first-child,.bk-bs-input-group-addon:first-child,.bk-bs-input-group-btn:first-child>.bk-bs-btn,.bk-bs-input-group-btn:first-child>.bk-bs-btn-group>.bk-bs-btn,.bk-bs-input-group-btn:first-child>.bk-bs-dropdown-toggle,.bk-bs-input-group-btn:last-child>.bk-bs-btn:not(:last-child):not(.bk-bs-dropdown-toggle),.bk-bs-input-group-btn:last-child>.bk-bs-btn-group:not(:last-child)>.bk-bs-btn{border-bottom-right-radius:0;border-top-right-radius:0}.bk-bs-input-group-addon:first-child{border-right:0}.bk-bs-input-group .bk-bs-form-control:last-child,.bk-bs-input-group-addon:last-child,.bk-bs-input-group-btn:last-child>.bk-bs-btn,.bk-bs-input-group-btn:last-child>.bk-bs-btn-group>.bk-bs-btn,.bk-bs-input-group-btn:last-child>.bk-bs-dropdown-toggle,.bk-bs-input-group-btn:first-child>.bk-bs-btn:not(:first-child),.bk-bs-input-group-btn:first-child>.bk-bs-btn-group:not(:first-child)>.bk-bs-btn{border-bottom-left-radius:0;border-top-left-radius:0}.bk-bs-input-group-addon:last-child{border-left:0}.bk-bs-input-group-btn{position:relative;font-size:0;white-space:nowrap}.bk-bs-input-group-btn>.bk-bs-btn{position:relative}.bk-bs-input-group-btn>.bk-bs-btn+.bk-bs-btn{margin-left:-1px}.bk-bs-input-group-btn>.bk-bs-btn:hover,.bk-bs-input-group-btn>.bk-bs-btn:focus,.bk-bs-input-group-btn>.bk-bs-btn:active{z-index:2}.bk-bs-input-group-btn:first-child>.bk-bs-btn,.bk-bs-input-group-btn:first-child>.bk-bs-btn-group{margin-right:-1px}.bk-bs-input-group-btn:last-child>.bk-bs-btn,.bk-bs-input-group-btn:last-child>.bk-bs-btn-group{margin-left:-1px}.bk-bs-nav{margin-bottom:0;padding-left:0;list-style:none}.bk-bs-nav>li{position:relative;display:block}.bk-bs-nav>li>a{position:relative;display:block;padding:10px 15px}.bk-bs-nav>li>a:hover,.bk-bs-nav>li>a:focus{text-decoration:none;background-color:#eee}.bk-bs-nav>li.bk-bs-disabled>a{color:#999}.bk-bs-nav>li.bk-bs-disabled>a:hover,.bk-bs-nav>li.bk-bs-disabled>a:focus{color:#999;text-decoration:none;background-color:transparent;cursor:not-allowed}.bk-bs-nav .bk-bs-open>a,.bk-bs-nav .bk-bs-open>a:hover,.bk-bs-nav .bk-bs-open>a:focus{background-color:#eee;border-color:#428bca}.bk-bs-nav .bk-bs-nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.bk-bs-nav>li>a>img{max-width:none}.bk-bs-nav-tabs{border-bottom:1px solid #ddd}.bk-bs-nav-tabs>li{float:left;margin-bottom:-1px}.bk-bs-nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.bk-bs-nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.bk-bs-nav-tabs>li.bk-bs-active>a,.bk-bs-nav-tabs>li.bk-bs-active>a:hover,.bk-bs-nav-tabs>li.bk-bs-active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.bk-bs-nav-tabs.bk-bs-nav-justified{width:100%;border-bottom:0}.bk-bs-nav-tabs.bk-bs-nav-justified>li{float:none}.bk-bs-nav-tabs.bk-bs-nav-justified>li>a{text-align:center;margin-bottom:5px}.bk-bs-nav-tabs.bk-bs-nav-justified>.bk-bs-dropdown .bk-bs-dropdown-menu{top:auto;left:auto}@media(min-width:768px){.bk-bs-nav-tabs.bk-bs-nav-justified>li{display:table-cell;width:1%}.bk-bs-nav-tabs.bk-bs-nav-justified>li>a{margin-bottom:0}}.bk-bs-nav-tabs.bk-bs-nav-justified>li>a{margin-right:0;border-radius:4px}.bk-bs-nav-tabs.bk-bs-nav-justified>.bk-bs-active>a,.bk-bs-nav-tabs.bk-bs-nav-justified>.bk-bs-active>a:hover,.bk-bs-nav-tabs.bk-bs-nav-justified>.bk-bs-active>a:focus{border:1px solid #ddd}@media(min-width:768px){.bk-bs-nav-tabs.bk-bs-nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.bk-bs-nav-tabs.bk-bs-nav-justified>.bk-bs-active>a,.bk-bs-nav-tabs.bk-bs-nav-justified>.bk-bs-active>a:hover,.bk-bs-nav-tabs.bk-bs-nav-justified>.bk-bs-active>a:focus{border-bottom-color:#fff}}.bk-bs-nav-pills>li{float:left}.bk-bs-nav-pills>li>a{border-radius:4px}.bk-bs-nav-pills>li+li{margin-left:2px}.bk-bs-nav-pills>li.bk-bs-active>a,.bk-bs-nav-pills>li.bk-bs-active>a:hover,.bk-bs-nav-pills>li.bk-bs-active>a:focus{color:#fff;background-color:#428bca}.bk-bs-nav-stacked>li{float:none}.bk-bs-nav-stacked>li+li{margin-top:2px;margin-left:0}.bk-bs-nav-justified{width:100%}.bk-bs-nav-justified>li{float:none}.bk-bs-nav-justified>li>a{text-align:center;margin-bottom:5px}.bk-bs-nav-justified>.bk-bs-dropdown .bk-bs-dropdown-menu{top:auto;left:auto}@media(min-width:768px){.bk-bs-nav-justified>li{display:table-cell;width:1%}.bk-bs-nav-justified>li>a{margin-bottom:0}}.bk-bs-nav-tabs-justified{border-bottom:0}.bk-bs-nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.bk-bs-nav-tabs-justified>.bk-bs-active>a,.bk-bs-nav-tabs-justified>.bk-bs-active>a:hover,.bk-bs-nav-tabs-justified>.bk-bs-active>a:focus{border:1px solid #ddd}@media(min-width:768px){.bk-bs-nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.bk-bs-nav-tabs-justified>.bk-bs-active>a,.bk-bs-nav-tabs-justified>.bk-bs-active>a:hover,.bk-bs-nav-tabs-justified>.bk-bs-active>a:focus{border-bottom-color:#fff}}.bk-bs-tab-content>.bk-bs-tab-pane{display:none}.bk-bs-tab-content>.bk-bs-active{display:block}.bk-bs-nav-tabs .bk-bs-dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.bk-bs-label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.bk-bs-label[href]:hover,.bk-bs-label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.bk-bs-label:empty{display:none}.bk-bs-btn .bk-bs-label{position:relative;top:-1px}.bk-bs-label-default{background-color:#999}.bk-bs-label-default[href]:hover,.bk-bs-label-default[href]:focus{background-color:gray}.bk-bs-label-primary{background-color:#428bca}.bk-bs-label-primary[href]:hover,.bk-bs-label-primary[href]:focus{background-color:#3071a9}.bk-bs-label-success{background-color:#5cb85c}.bk-bs-label-success[href]:hover,.bk-bs-label-success[href]:focus{background-color:#449d44}.bk-bs-label-info{background-color:#5bc0de}.bk-bs-label-info[href]:hover,.bk-bs-label-info[href]:focus{background-color:#31b0d5}.bk-bs-label-warning{background-color:#f0ad4e}.bk-bs-label-warning[href]:hover,.bk-bs-label-warning[href]:focus{background-color:#ec971f}.bk-bs-label-danger{background-color:#d9534f}.bk-bs-label-danger[href]:hover,.bk-bs-label-danger[href]:focus{background-color:#c9302c}.bk-bs-panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.bk-bs-panel-body{padding:15px}.bk-bs-panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.bk-bs-panel-heading>.bk-bs-dropdown .bk-bs-dropdown-toggle{color:inherit}.bk-bs-panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.bk-bs-panel-title>a{color:inherit}.bk-bs-panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.bk-bs-panel>.bk-bs-list-group{margin-bottom:0}.bk-bs-panel>.bk-bs-list-group .bk-bs-list-group-item{border-width:1px 0;border-radius:0}.bk-bs-panel>.bk-bs-list-group:first-child .bk-bs-list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.bk-bs-panel>.bk-bs-list-group:last-child .bk-bs-list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.bk-bs-panel-heading+.bk-bs-list-group .bk-bs-list-group-item:first-child{border-top-width:0}.bk-bs-panel>.bk-bs-table,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table{margin-bottom:0}.bk-bs-panel>.bk-bs-table:first-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.bk-bs-panel>.bk-bs-table:first-child>thead:first-child>tr:first-child td:first-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child>thead:first-child>tr:first-child td:first-child,.bk-bs-panel>.bk-bs-table:first-child>tbody:first-child>tr:first-child td:first-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child>tbody:first-child>tr:first-child td:first-child,.bk-bs-panel>.bk-bs-table:first-child>thead:first-child>tr:first-child th:first-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child>thead:first-child>tr:first-child th:first-child,.bk-bs-panel>.bk-bs-table:first-child>tbody:first-child>tr:first-child th:first-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.bk-bs-panel>.bk-bs-table:first-child>thead:first-child>tr:first-child td:last-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child>thead:first-child>tr:first-child td:last-child,.bk-bs-panel>.bk-bs-table:first-child>tbody:first-child>tr:first-child td:last-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child>tbody:first-child>tr:first-child td:last-child,.bk-bs-panel>.bk-bs-table:first-child>thead:first-child>tr:first-child th:last-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child>thead:first-child>tr:first-child th:last-child,.bk-bs-panel>.bk-bs-table:first-child>tbody:first-child>tr:first-child th:last-child,.bk-bs-panel>.bk-bs-table-responsive:first-child>.bk-bs-table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.bk-bs-panel>.bk-bs-table:last-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.bk-bs-panel>.bk-bs-table:last-child>tbody:last-child>tr:last-child td:first-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child>tbody:last-child>tr:last-child td:first-child,.bk-bs-panel>.bk-bs-table:last-child>tfoot:last-child>tr:last-child td:first-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child>tfoot:last-child>tr:last-child td:first-child,.bk-bs-panel>.bk-bs-table:last-child>tbody:last-child>tr:last-child th:first-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child>tbody:last-child>tr:last-child th:first-child,.bk-bs-panel>.bk-bs-table:last-child>tfoot:last-child>tr:last-child th:first-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.bk-bs-panel>.bk-bs-table:last-child>tbody:last-child>tr:last-child td:last-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child>tbody:last-child>tr:last-child td:last-child,.bk-bs-panel>.bk-bs-table:last-child>tfoot:last-child>tr:last-child td:last-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child>tfoot:last-child>tr:last-child td:last-child,.bk-bs-panel>.bk-bs-table:last-child>tbody:last-child>tr:last-child th:last-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child>tbody:last-child>tr:last-child th:last-child,.bk-bs-panel>.bk-bs-table:last-child>tfoot:last-child>tr:last-child th:last-child,.bk-bs-panel>.bk-bs-table-responsive:last-child>.bk-bs-table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.bk-bs-panel>.bk-bs-panel-body+.bk-bs-table,.bk-bs-panel>.bk-bs-panel-body+.bk-bs-table-responsive{border-top:1px solid #ddd}.bk-bs-panel>.bk-bs-table>tbody:first-child>tr:first-child th,.bk-bs-panel>.bk-bs-table>tbody:first-child>tr:first-child td{border-top:0}.bk-bs-panel>.bk-bs-table-bordered,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered{border:0}.bk-bs-panel>.bk-bs-table-bordered>thead>tr>th:first-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr>th:first-child,.bk-bs-panel>.bk-bs-table-bordered>tbody>tr>th:first-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr>th:first-child,.bk-bs-panel>.bk-bs-table-bordered>tfoot>tr>th:first-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr>th:first-child,.bk-bs-panel>.bk-bs-table-bordered>thead>tr>td:first-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr>td:first-child,.bk-bs-panel>.bk-bs-table-bordered>tbody>tr>td:first-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr>td:first-child,.bk-bs-panel>.bk-bs-table-bordered>tfoot>tr>td:first-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr>td:first-child{border-left:0}.bk-bs-panel>.bk-bs-table-bordered>thead>tr>th:last-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr>th:last-child,.bk-bs-panel>.bk-bs-table-bordered>tbody>tr>th:last-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr>th:last-child,.bk-bs-panel>.bk-bs-table-bordered>tfoot>tr>th:last-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr>th:last-child,.bk-bs-panel>.bk-bs-table-bordered>thead>tr>td:last-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr>td:last-child,.bk-bs-panel>.bk-bs-table-bordered>tbody>tr>td:last-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr>td:last-child,.bk-bs-panel>.bk-bs-table-bordered>tfoot>tr>td:last-child,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr>td:last-child{border-right:0}.bk-bs-panel>.bk-bs-table-bordered>thead>tr:first-child>td,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr:first-child>td,.bk-bs-panel>.bk-bs-table-bordered>tbody>tr:first-child>td,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr:first-child>td,.bk-bs-panel>.bk-bs-table-bordered>thead>tr:first-child>th,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>thead>tr:first-child>th,.bk-bs-panel>.bk-bs-table-bordered>tbody>tr:first-child>th,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr:first-child>th{border-bottom:0}.bk-bs-panel>.bk-bs-table-bordered>tbody>tr:last-child>td,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr:last-child>td,.bk-bs-panel>.bk-bs-table-bordered>tfoot>tr:last-child>td,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr:last-child>td,.bk-bs-panel>.bk-bs-table-bordered>tbody>tr:last-child>th,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tbody>tr:last-child>th,.bk-bs-panel>.bk-bs-table-bordered>tfoot>tr:last-child>th,.bk-bs-panel>.bk-bs-table-responsive>.bk-bs-table-bordered>tfoot>tr:last-child>th{border-bottom:0}.bk-bs-panel>.bk-bs-table-responsive{border:0;margin-bottom:0}.bk-bs-panel-group{margin-bottom:20px}.bk-bs-panel-group .bk-bs-panel{margin-bottom:0;border-radius:4px;overflow:hidden}.bk-bs-panel-group .bk-bs-panel+.bk-bs-panel{margin-top:5px}.bk-bs-panel-group .bk-bs-panel-heading{border-bottom:0}.bk-bs-panel-group .bk-bs-panel-heading+.bk-bs-panel-collapse .bk-bs-panel-body{border-top:1px solid #ddd}.bk-bs-panel-group .bk-bs-panel-footer{border-top:0}.bk-bs-panel-group .bk-bs-panel-footer+.bk-bs-panel-collapse .bk-bs-panel-body{border-bottom:1px solid #ddd}.bk-bs-panel-default{border-color:#ddd}.bk-bs-panel-default>.bk-bs-panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.bk-bs-panel-default>.bk-bs-panel-heading+.bk-bs-panel-collapse .bk-bs-panel-body{border-top-color:#ddd}.bk-bs-panel-default>.bk-bs-panel-footer+.bk-bs-panel-collapse .bk-bs-panel-body{border-bottom-color:#ddd}.bk-bs-panel-primary{border-color:#428bca}.bk-bs-panel-primary>.bk-bs-panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.bk-bs-panel-primary>.bk-bs-panel-heading+.bk-bs-panel-collapse .bk-bs-panel-body{border-top-color:#428bca}.bk-bs-panel-primary>.bk-bs-panel-footer+.bk-bs-panel-collapse .bk-bs-panel-body{border-bottom-color:#428bca}.bk-bs-panel-success{border-color:#d6e9c6}.bk-bs-panel-success>.bk-bs-panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.bk-bs-panel-success>.bk-bs-panel-heading+.bk-bs-panel-collapse .bk-bs-panel-body{border-top-color:#d6e9c6}.bk-bs-panel-success>.bk-bs-panel-footer+.bk-bs-panel-collapse .bk-bs-panel-body{border-bottom-color:#d6e9c6}.bk-bs-panel-info{border-color:#bce8f1}.bk-bs-panel-info>.bk-bs-panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.bk-bs-panel-info>.bk-bs-panel-heading+.bk-bs-panel-collapse .bk-bs-panel-body{border-top-color:#bce8f1}.bk-bs-panel-info>.bk-bs-panel-footer+.bk-bs-panel-collapse .bk-bs-panel-body{border-bottom-color:#bce8f1}.bk-bs-panel-warning{border-color:#faebcc}.bk-bs-panel-warning>.bk-bs-panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.bk-bs-panel-warning>.bk-bs-panel-heading+.bk-bs-panel-collapse .bk-bs-panel-body{border-top-color:#faebcc}.bk-bs-panel-warning>.bk-bs-panel-footer+.bk-bs-panel-collapse .bk-bs-panel-body{border-bottom-color:#faebcc}.bk-bs-panel-danger{border-color:#ebccd1}.bk-bs-panel-danger>.bk-bs-panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.bk-bs-panel-danger>.bk-bs-panel-heading+.bk-bs-panel-collapse .bk-bs-panel-body{border-top-color:#ebccd1}.bk-bs-panel-danger>.bk-bs-panel-footer+.bk-bs-panel-collapse .bk-bs-panel-body{border-bottom-color:#ebccd1}.bk-bs-close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.bk-bs-close:hover,.bk-bs-close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.bk-bs-close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.bk-bs-modal-open{overflow:hidden}.bk-bs-modal{display:none;overflow:auto;overflow-y:scroll;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.bk-bs-modal.bk-bs-fade .bk-bs-modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.bk-bs-modal.bk-bs-in .bk-bs-modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bk-bs-modal-dialog{position:relative;width:auto;margin:10px}.bk-bs-modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box;outline:0}.bk-bs-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.bk-bs-modal-backdrop.bk-bs-fade{opacity:0;filter:alpha(opacity=0)}.bk-bs-modal-backdrop.bk-bs-in{opacity:.5;filter:alpha(opacity=50)}.bk-bs-modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.42857143px}.bk-bs-modal-header .bk-bs-close{margin-top:-2px}.bk-bs-modal-title{margin:0;line-height:1.42857143}.bk-bs-modal-body{position:relative;padding:20px}.bk-bs-modal-footer{margin-top:15px;padding:19px 20px 20px;text-align:right;border-top:1px solid #e5e5e5}.bk-bs-modal-footer .bk-bs-btn+.bk-bs-btn{margin-left:5px;margin-bottom:0}.bk-bs-modal-footer .bk-bs-btn-group .bk-bs-btn+.bk-bs-btn{margin-left:-1px}.bk-bs-modal-footer .bk-bs-btn-block+.bk-bs-btn-block{margin-left:0}@media(min-width:768px){.bk-bs-modal-dialog{width:600px;margin:30px auto}.bk-bs-modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}.bk-bs-modal-sm{width:300px}}@media(min-width:992px){.bk-bs-modal-lg{width:900px}}.bk-bs-clearfix:before,.bk-bs-clearfix:after,.bk-bs-container:before,.bk-bs-container:after,.bk-bs-container-fluid:before,.bk-bs-container-fluid:after,.bk-bs-row:before,.bk-bs-row:after,.bk-bs-form-horizontal .bk-bs-form-group:before,.bk-bs-form-horizontal .bk-bs-form-group:after,.bk-bs-btn-toolbar:before,.bk-bs-btn-toolbar:after,.bk-bs-btn-group-vertical>.bk-bs-btn-group:before,.bk-bs-btn-group-vertical>.bk-bs-btn-group:after,.bk-bs-nav:before,.bk-bs-nav:after,.bk-bs-panel-body:before,.bk-bs-panel-body:after,.bk-bs-modal-footer:before,.bk-bs-modal-footer:after,.bk-crossfilter-row:before,.bk-crossfilter-row:after{content:\" \";display:table}.bk-bs-clearfix:after,.bk-bs-container:after,.bk-bs-container-fluid:after,.bk-bs-row:after,.bk-bs-form-horizontal .bk-bs-form-group:after,.bk-bs-btn-toolbar:after,.bk-bs-btn-group-vertical>.bk-bs-btn-group:after,.bk-bs-nav:after,.bk-bs-panel-body:after,.bk-bs-modal-footer:after,.bk-crossfilter-row:after{clear:both}.bk-bs-center-block{display:block;margin-left:auto;margin-right:auto}.bk-bs-pull-right{float:right !important}.bk-bs-pull-left{float:left !important}.bk-bs-hide{display:none !important}.bk-bs-show{display:block !important}.bk-bs-invisible{visibility:hidden}.bk-bs-text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.bk-bs-hidden{display:none !important;visibility:hidden !important}.bk-bs-affix{position:fixed}@font-face{font-family:'FontAwesome';src:url('data:font/eot;base64,[encoded data, 74676 characters]') format('embedded-opentype'),url(\"data:application/x-font-woff;base64,[encoded data, 87272 characters]\") format('woff'),url(\"data:font/ttf;base64,[encoded data, 149548 characters]\") format('truetype');font-weight:normal;font-style:normal}.bk-fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bk-fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.bk-fa-2x{font-size:2em}.bk-fa-3x{font-size:3em}.bk-fa-4x{font-size:4em}.bk-fa-5x{font-size:5em}.bk-fa-fw{width:1.28571429em;text-align:center}.bk-fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.bk-fa-ul>li{position:relative}.bk-fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.bk-fa-li.bk-fa-lg{left:-1.85714286em}.bk-fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.bk-fa.pull-left{margin-right:.3em}.bk-fa.pull-right{margin-left:.3em}.bk-fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.bk-fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.bk-fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.bk-fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.bk-fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1);-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.bk-fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1);-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .bk-fa-rotate-90,:root .bk-fa-rotate-180,:root .bk-fa-rotate-270,:root .bk-fa-flip-horizontal,:root .bk-fa-flip-vertical{filter:none}.bk-fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.bk-fa-stack-1x,.bk-fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.bk-fa-stack-1x{line-height:inherit}.bk-fa-stack-2x{font-size:2em}.bk-fa-inverse{color:#fff}.bk-fa-glass:before{content:\"\\f000\"}.bk-fa-music:before{content:\"\\f001\"}.bk-fa-search:before{content:\"\\f002\"}.bk-fa-envelope-o:before{content:\"\\f003\"}.bk-fa-heart:before{content:\"\\f004\"}.bk-fa-star:before{content:\"\\f005\"}.bk-fa-star-o:before{content:\"\\f006\"}.bk-fa-user:before{content:\"\\f007\"}.bk-fa-film:before{content:\"\\f008\"}.bk-fa-th-large:before{content:\"\\f009\"}.bk-fa-th:before{content:\"\\f00a\"}.bk-fa-th-list:before{content:\"\\f00b\"}.bk-fa-check:before{content:\"\\f00c\"}.bk-fa-remove:before,.bk-fa-close:before,.bk-fa-times:before{content:\"\\f00d\"}.bk-fa-search-plus:before{content:\"\\f00e\"}.bk-fa-search-minus:before{content:\"\\f010\"}.bk-fa-power-off:before{content:\"\\f011\"}.bk-fa-signal:before{content:\"\\f012\"}.bk-fa-gear:before,.bk-fa-cog:before{content:\"\\f013\"}.bk-fa-trash-o:before{content:\"\\f014\"}.bk-fa-home:before{content:\"\\f015\"}.bk-fa-file-o:before{content:\"\\f016\"}.bk-fa-clock-o:before{content:\"\\f017\"}.bk-fa-road:before{content:\"\\f018\"}.bk-fa-download:before{content:\"\\f019\"}.bk-fa-arrow-circle-o-down:before{content:\"\\f01a\"}.bk-fa-arrow-circle-o-up:before{content:\"\\f01b\"}.bk-fa-inbox:before{content:\"\\f01c\"}.bk-fa-play-circle-o:before{content:\"\\f01d\"}.bk-fa-rotate-right:before,.bk-fa-repeat:before{content:\"\\f01e\"}.bk-fa-refresh:before{content:\"\\f021\"}.bk-fa-list-alt:before{content:\"\\f022\"}.bk-fa-lock:before{content:\"\\f023\"}.bk-fa-flag:before{content:\"\\f024\"}.bk-fa-headphones:before{content:\"\\f025\"}.bk-fa-volume-off:before{content:\"\\f026\"}.bk-fa-volume-down:before{content:\"\\f027\"}.bk-fa-volume-up:before{content:\"\\f028\"}.bk-fa-qrcode:before{content:\"\\f029\"}.bk-fa-barcode:before{content:\"\\f02a\"}.bk-fa-tag:before{content:\"\\f02b\"}.bk-fa-tags:before{content:\"\\f02c\"}.bk-fa-book:before{content:\"\\f02d\"}.bk-fa-bookmark:before{content:\"\\f02e\"}.bk-fa-print:before{content:\"\\f02f\"}.bk-fa-camera:before{content:\"\\f030\"}.bk-fa-font:before{content:\"\\f031\"}.bk-fa-bold:before{content:\"\\f032\"}.bk-fa-italic:before{content:\"\\f033\"}.bk-fa-text-height:before{content:\"\\f034\"}.bk-fa-text-width:before{content:\"\\f035\"}.bk-fa-align-left:before{content:\"\\f036\"}.bk-fa-align-center:before{content:\"\\f037\"}.bk-fa-align-right:before{content:\"\\f038\"}.bk-fa-align-justify:before{content:\"\\f039\"}.bk-fa-list:before{content:\"\\f03a\"}.bk-fa-dedent:before,.bk-fa-outdent:before{content:\"\\f03b\"}.bk-fa-indent:before{content:\"\\f03c\"}.bk-fa-video-camera:before{content:\"\\f03d\"}.bk-fa-photo:before,.bk-fa-image:before,.bk-fa-picture-o:before{content:\"\\f03e\"}.bk-fa-pencil:before{content:\"\\f040\"}.bk-fa-map-marker:before{content:\"\\f041\"}.bk-fa-adjust:before{content:\"\\f042\"}.bk-fa-tint:before{content:\"\\f043\"}.bk-fa-edit:before,.bk-fa-pencil-square-o:before{content:\"\\f044\"}.bk-fa-share-square-o:before{content:\"\\f045\"}.bk-fa-check-square-o:before{content:\"\\f046\"}.bk-fa-arrows:before{content:\"\\f047\"}.bk-fa-step-backward:before{content:\"\\f048\"}.bk-fa-fast-backward:before{content:\"\\f049\"}.bk-fa-backward:before{content:\"\\f04a\"}.bk-fa-play:before{content:\"\\f04b\"}.bk-fa-pause:before{content:\"\\f04c\"}.bk-fa-stop:before{content:\"\\f04d\"}.bk-fa-forward:before{content:\"\\f04e\"}.bk-fa-fast-forward:before{content:\"\\f050\"}.bk-fa-step-forward:before{content:\"\\f051\"}.bk-fa-eject:before{content:\"\\f052\"}.bk-fa-chevron-left:before{content:\"\\f053\"}.bk-fa-chevron-right:before{content:\"\\f054\"}.bk-fa-plus-circle:before{content:\"\\f055\"}.bk-fa-minus-circle:before{content:\"\\f056\"}.bk-fa-times-circle:before{content:\"\\f057\"}.bk-fa-check-circle:before{content:\"\\f058\"}.bk-fa-question-circle:before{content:\"\\f059\"}.bk-fa-info-circle:before{content:\"\\f05a\"}.bk-fa-crosshairs:before{content:\"\\f05b\"}.bk-fa-times-circle-o:before{content:\"\\f05c\"}.bk-fa-check-circle-o:before{content:\"\\f05d\"}.bk-fa-ban:before{content:\"\\f05e\"}.bk-fa-arrow-left:before{content:\"\\f060\"}.bk-fa-arrow-right:before{content:\"\\f061\"}.bk-fa-arrow-up:before{content:\"\\f062\"}.bk-fa-arrow-down:before{content:\"\\f063\"}.bk-fa-mail-forward:before,.bk-fa-share:before{content:\"\\f064\"}.bk-fa-expand:before{content:\"\\f065\"}.bk-fa-compress:before{content:\"\\f066\"}.bk-fa-plus:before{content:\"\\f067\"}.bk-fa-minus:before{content:\"\\f068\"}.bk-fa-asterisk:before{content:\"\\f069\"}.bk-fa-exclamation-circle:before{content:\"\\f06a\"}.bk-fa-gift:before{content:\"\\f06b\"}.bk-fa-leaf:before{content:\"\\f06c\"}.bk-fa-fire:before{content:\"\\f06d\"}.bk-fa-eye:before{content:\"\\f06e\"}.bk-fa-eye-slash:before{content:\"\\f070\"}.bk-fa-warning:before,.bk-fa-exclamation-triangle:before{content:\"\\f071\"}.bk-fa-plane:before{content:\"\\f072\"}.bk-fa-calendar:before{content:\"\\f073\"}.bk-fa-random:before{content:\"\\f074\"}.bk-fa-comment:before{content:\"\\f075\"}.bk-fa-magnet:before{content:\"\\f076\"}.bk-fa-chevron-up:before{content:\"\\f077\"}.bk-fa-chevron-down:before{content:\"\\f078\"}.bk-fa-retweet:before{content:\"\\f079\"}.bk-fa-shopping-cart:before{content:\"\\f07a\"}.bk-fa-folder:before{content:\"\\f07b\"}.bk-fa-folder-open:before{content:\"\\f07c\"}.bk-fa-arrows-v:before{content:\"\\f07d\"}.bk-fa-arrows-h:before{content:\"\\f07e\"}.bk-fa-bar-chart-o:before,.bk-fa-bar-chart:before{content:\"\\f080\"}.bk-fa-twitter-square:before{content:\"\\f081\"}.bk-fa-facebook-square:before{content:\"\\f082\"}.bk-fa-camera-retro:before{content:\"\\f083\"}.bk-fa-key:before{content:\"\\f084\"}.bk-fa-gears:before,.bk-fa-cogs:before{content:\"\\f085\"}.bk-fa-comments:before{content:\"\\f086\"}.bk-fa-thumbs-o-up:before{content:\"\\f087\"}.bk-fa-thumbs-o-down:before{content:\"\\f088\"}.bk-fa-star-half:before{content:\"\\f089\"}.bk-fa-heart-o:before{content:\"\\f08a\"}.bk-fa-sign-out:before{content:\"\\f08b\"}.bk-fa-linkedin-square:before{content:\"\\f08c\"}.bk-fa-thumb-tack:before{content:\"\\f08d\"}.bk-fa-external-link:before{content:\"\\f08e\"}.bk-fa-sign-in:before{content:\"\\f090\"}.bk-fa-trophy:before{content:\"\\f091\"}.bk-fa-github-square:before{content:\"\\f092\"}.bk-fa-upload:before{content:\"\\f093\"}.bk-fa-lemon-o:before{content:\"\\f094\"}.bk-fa-phone:before{content:\"\\f095\"}.bk-fa-square-o:before{content:\"\\f096\"}.bk-fa-bookmark-o:before{content:\"\\f097\"}.bk-fa-phone-square:before{content:\"\\f098\"}.bk-fa-twitter:before{content:\"\\f099\"}.bk-fa-facebook:before{content:\"\\f09a\"}.bk-fa-github:before{content:\"\\f09b\"}.bk-fa-unlock:before{content:\"\\f09c\"}.bk-fa-credit-card:before{content:\"\\f09d\"}.bk-fa-rss:before{content:\"\\f09e\"}.bk-fa-hdd-o:before{content:\"\\f0a0\"}.bk-fa-bullhorn:before{content:\"\\f0a1\"}.bk-fa-bell:before{content:\"\\f0f3\"}.bk-fa-certificate:before{content:\"\\f0a3\"}.bk-fa-hand-o-right:before{content:\"\\f0a4\"}.bk-fa-hand-o-left:before{content:\"\\f0a5\"}.bk-fa-hand-o-up:before{content:\"\\f0a6\"}.bk-fa-hand-o-down:before{content:\"\\f0a7\"}.bk-fa-arrow-circle-left:before{content:\"\\f0a8\"}.bk-fa-arrow-circle-right:before{content:\"\\f0a9\"}.bk-fa-arrow-circle-up:before{content:\"\\f0aa\"}.bk-fa-arrow-circle-down:before{content:\"\\f0ab\"}.bk-fa-globe:before{content:\"\\f0ac\"}.bk-fa-wrench:before{content:\"\\f0ad\"}.bk-fa-tasks:before{content:\"\\f0ae\"}.bk-fa-filter:before{content:\"\\f0b0\"}.bk-fa-briefcase:before{content:\"\\f0b1\"}.bk-fa-arrows-alt:before{content:\"\\f0b2\"}.bk-fa-group:before,.bk-fa-users:before{content:\"\\f0c0\"}.bk-fa-chain:before,.bk-fa-link:before{content:\"\\f0c1\"}.bk-fa-cloud:before{content:\"\\f0c2\"}.bk-fa-flask:before{content:\"\\f0c3\"}.bk-fa-cut:before,.bk-fa-scissors:before{content:\"\\f0c4\"}.bk-fa-copy:before,.bk-fa-files-o:before{content:\"\\f0c5\"}.bk-fa-paperclip:before{content:\"\\f0c6\"}.bk-fa-save:before,.bk-fa-floppy-o:before{content:\"\\f0c7\"}.bk-fa-square:before{content:\"\\f0c8\"}.bk-fa-navicon:before,.bk-fa-reorder:before,.bk-fa-bars:before{content:\"\\f0c9\"}.bk-fa-list-ul:before{content:\"\\f0ca\"}.bk-fa-list-ol:before{content:\"\\f0cb\"}.bk-fa-strikethrough:before{content:\"\\f0cc\"}.bk-fa-underline:before{content:\"\\f0cd\"}.bk-fa-table:before{content:\"\\f0ce\"}.bk-fa-magic:before{content:\"\\f0d0\"}.bk-fa-truck:before{content:\"\\f0d1\"}.bk-fa-pinterest:before{content:\"\\f0d2\"}.bk-fa-pinterest-square:before{content:\"\\f0d3\"}.bk-fa-google-plus-square:before{content:\"\\f0d4\"}.bk-fa-google-plus:before{content:\"\\f0d5\"}.bk-fa-money:before{content:\"\\f0d6\"}.bk-fa-caret-down:before{content:\"\\f0d7\"}.bk-fa-caret-up:before{content:\"\\f0d8\"}.bk-fa-caret-left:before{content:\"\\f0d9\"}.bk-fa-caret-right:before{content:\"\\f0da\"}.bk-fa-columns:before{content:\"\\f0db\"}.bk-fa-unsorted:before,.bk-fa-sort:before{content:\"\\f0dc\"}.bk-fa-sort-down:before,.bk-fa-sort-desc:before{content:\"\\f0dd\"}.bk-fa-sort-up:before,.bk-fa-sort-asc:before{content:\"\\f0de\"}.bk-fa-envelope:before{content:\"\\f0e0\"}.bk-fa-linkedin:before{content:\"\\f0e1\"}.bk-fa-rotate-left:before,.bk-fa-undo:before{content:\"\\f0e2\"}.bk-fa-legal:before,.bk-fa-gavel:before{content:\"\\f0e3\"}.bk-fa-dashboard:before,.bk-fa-tachometer:before{content:\"\\f0e4\"}.bk-fa-comment-o:before{content:\"\\f0e5\"}.bk-fa-comments-o:before{content:\"\\f0e6\"}.bk-fa-flash:before,.bk-fa-bolt:before{content:\"\\f0e7\"}.bk-fa-sitemap:before{content:\"\\f0e8\"}.bk-fa-umbrella:before{content:\"\\f0e9\"}.bk-fa-paste:before,.bk-fa-clipboard:before{content:\"\\f0ea\"}.bk-fa-lightbulb-o:before{content:\"\\f0eb\"}.bk-fa-exchange:before{content:\"\\f0ec\"}.bk-fa-cloud-download:before{content:\"\\f0ed\"}.bk-fa-cloud-upload:before{content:\"\\f0ee\"}.bk-fa-user-md:before{content:\"\\f0f0\"}.bk-fa-stethoscope:before{content:\"\\f0f1\"}.bk-fa-suitcase:before{content:\"\\f0f2\"}.bk-fa-bell-o:before{content:\"\\f0a2\"}.bk-fa-coffee:before{content:\"\\f0f4\"}.bk-fa-cutlery:before{content:\"\\f0f5\"}.bk-fa-file-text-o:before{content:\"\\f0f6\"}.bk-fa-building-o:before{content:\"\\f0f7\"}.bk-fa-hospital-o:before{content:\"\\f0f8\"}.bk-fa-ambulance:before{content:\"\\f0f9\"}.bk-fa-medkit:before{content:\"\\f0fa\"}.bk-fa-fighter-jet:before{content:\"\\f0fb\"}.bk-fa-beer:before{content:\"\\f0fc\"}.bk-fa-h-square:before{content:\"\\f0fd\"}.bk-fa-plus-square:before{content:\"\\f0fe\"}.bk-fa-angle-double-left:before{content:\"\\f100\"}.bk-fa-angle-double-right:before{content:\"\\f101\"}.bk-fa-angle-double-up:before{content:\"\\f102\"}.bk-fa-angle-double-down:before{content:\"\\f103\"}.bk-fa-angle-left:before{content:\"\\f104\"}.bk-fa-angle-right:before{content:\"\\f105\"}.bk-fa-angle-up:before{content:\"\\f106\"}.bk-fa-angle-down:before{content:\"\\f107\"}.bk-fa-desktop:before{content:\"\\f108\"}.bk-fa-laptop:before{content:\"\\f109\"}.bk-fa-tablet:before{content:\"\\f10a\"}.bk-fa-mobile-phone:before,.bk-fa-mobile:before{content:\"\\f10b\"}.bk-fa-circle-o:before{content:\"\\f10c\"}.bk-fa-quote-left:before{content:\"\\f10d\"}.bk-fa-quote-right:before{content:\"\\f10e\"}.bk-fa-spinner:before{content:\"\\f110\"}.bk-fa-circle:before{content:\"\\f111\"}.bk-fa-mail-reply:before,.bk-fa-reply:before{content:\"\\f112\"}.bk-fa-github-alt:before{content:\"\\f113\"}.bk-fa-folder-o:before{content:\"\\f114\"}.bk-fa-folder-open-o:before{content:\"\\f115\"}.bk-fa-smile-o:before{content:\"\\f118\"}.bk-fa-frown-o:before{content:\"\\f119\"}.bk-fa-meh-o:before{content:\"\\f11a\"}.bk-fa-gamepad:before{content:\"\\f11b\"}.bk-fa-keyboard-o:before{content:\"\\f11c\"}.bk-fa-flag-o:before{content:\"\\f11d\"}.bk-fa-flag-checkered:before{content:\"\\f11e\"}.bk-fa-terminal:before{content:\"\\f120\"}.bk-fa-code:before{content:\"\\f121\"}.bk-fa-mail-reply-all:before,.bk-fa-reply-all:before{content:\"\\f122\"}.bk-fa-star-half-empty:before,.bk-fa-star-half-full:before,.bk-fa-star-half-o:before{content:\"\\f123\"}.bk-fa-location-arrow:before{content:\"\\f124\"}.bk-fa-crop:before{content:\"\\f125\"}.bk-fa-code-fork:before{content:\"\\f126\"}.bk-fa-unlink:before,.bk-fa-chain-broken:before{content:\"\\f127\"}.bk-fa-question:before{content:\"\\f128\"}.bk-fa-info:before{content:\"\\f129\"}.bk-fa-exclamation:before{content:\"\\f12a\"}.bk-fa-superscript:before{content:\"\\f12b\"}.bk-fa-subscript:before{content:\"\\f12c\"}.bk-fa-eraser:before{content:\"\\f12d\"}.bk-fa-puzzle-piece:before{content:\"\\f12e\"}.bk-fa-microphone:before{content:\"\\f130\"}.bk-fa-microphone-slash:before{content:\"\\f131\"}.bk-fa-shield:before{content:\"\\f132\"}.bk-fa-calendar-o:before{content:\"\\f133\"}.bk-fa-fire-extinguisher:before{content:\"\\f134\"}.bk-fa-rocket:before{content:\"\\f135\"}.bk-fa-maxcdn:before{content:\"\\f136\"}.bk-fa-chevron-circle-left:before{content:\"\\f137\"}.bk-fa-chevron-circle-right:before{content:\"\\f138\"}.bk-fa-chevron-circle-up:before{content:\"\\f139\"}.bk-fa-chevron-circle-down:before{content:\"\\f13a\"}.bk-fa-html5:before{content:\"\\f13b\"}.bk-fa-css3:before{content:\"\\f13c\"}.bk-fa-anchor:before{content:\"\\f13d\"}.bk-fa-unlock-alt:before{content:\"\\f13e\"}.bk-fa-bullseye:before{content:\"\\f140\"}.bk-fa-ellipsis-h:before{content:\"\\f141\"}.bk-fa-ellipsis-v:before{content:\"\\f142\"}.bk-fa-rss-square:before{content:\"\\f143\"}.bk-fa-play-circle:before{content:\"\\f144\"}.bk-fa-ticket:before{content:\"\\f145\"}.bk-fa-minus-square:before{content:\"\\f146\"}.bk-fa-minus-square-o:before{content:\"\\f147\"}.bk-fa-level-up:before{content:\"\\f148\"}.bk-fa-level-down:before{content:\"\\f149\"}.bk-fa-check-square:before{content:\"\\f14a\"}.bk-fa-pencil-square:before{content:\"\\f14b\"}.bk-fa-external-link-square:before{content:\"\\f14c\"}.bk-fa-share-square:before{content:\"\\f14d\"}.bk-fa-compass:before{content:\"\\f14e\"}.bk-fa-toggle-down:before,.bk-fa-caret-square-o-down:before{content:\"\\f150\"}.bk-fa-toggle-up:before,.bk-fa-caret-square-o-up:before{content:\"\\f151\"}.bk-fa-toggle-right:before,.bk-fa-caret-square-o-right:before{content:\"\\f152\"}.bk-fa-euro:before,.bk-fa-eur:before{content:\"\\f153\"}.bk-fa-gbp:before{content:\"\\f154\"}.bk-fa-dollar:before,.bk-fa-usd:before{content:\"\\f155\"}.bk-fa-rupee:before,.bk-fa-inr:before{content:\"\\f156\"}.bk-fa-cny:before,.bk-fa-rmb:before,.bk-fa-yen:before,.bk-fa-jpy:before{content:\"\\f157\"}.bk-fa-ruble:before,.bk-fa-rouble:before,.bk-fa-rub:before{content:\"\\f158\"}.bk-fa-won:before,.bk-fa-krw:before{content:\"\\f159\"}.bk-fa-bitcoin:before,.bk-fa-btc:before{content:\"\\f15a\"}.bk-fa-file:before{content:\"\\f15b\"}.bk-fa-file-text:before{content:\"\\f15c\"}.bk-fa-sort-alpha-asc:before{content:\"\\f15d\"}.bk-fa-sort-alpha-desc:before{content:\"\\f15e\"}.bk-fa-sort-amount-asc:before{content:\"\\f160\"}.bk-fa-sort-amount-desc:before{content:\"\\f161\"}.bk-fa-sort-numeric-asc:before{content:\"\\f162\"}.bk-fa-sort-numeric-desc:before{content:\"\\f163\"}.bk-fa-thumbs-up:before{content:\"\\f164\"}.bk-fa-thumbs-down:before{content:\"\\f165\"}.bk-fa-youtube-square:before{content:\"\\f166\"}.bk-fa-youtube:before{content:\"\\f167\"}.bk-fa-xing:before{content:\"\\f168\"}.bk-fa-xing-square:before{content:\"\\f169\"}.bk-fa-youtube-play:before{content:\"\\f16a\"}.bk-fa-dropbox:before{content:\"\\f16b\"}.bk-fa-stack-overflow:before{content:\"\\f16c\"}.bk-fa-instagram:before{content:\"\\f16d\"}.bk-fa-flickr:before{content:\"\\f16e\"}.bk-fa-adn:before{content:\"\\f170\"}.bk-fa-bitbucket:before{content:\"\\f171\"}.bk-fa-bitbucket-square:before{content:\"\\f172\"}.bk-fa-tumblr:before{content:\"\\f173\"}.bk-fa-tumblr-square:before{content:\"\\f174\"}.bk-fa-long-arrow-down:before{content:\"\\f175\"}.bk-fa-long-arrow-up:before{content:\"\\f176\"}.bk-fa-long-arrow-left:before{content:\"\\f177\"}.bk-fa-long-arrow-right:before{content:\"\\f178\"}.bk-fa-apple:before{content:\"\\f179\"}.bk-fa-windows:before{content:\"\\f17a\"}.bk-fa-android:before{content:\"\\f17b\"}.bk-fa-linux:before{content:\"\\f17c\"}.bk-fa-dribbble:before{content:\"\\f17d\"}.bk-fa-skype:before{content:\"\\f17e\"}.bk-fa-foursquare:before{content:\"\\f180\"}.bk-fa-trello:before{content:\"\\f181\"}.bk-fa-female:before{content:\"\\f182\"}.bk-fa-male:before{content:\"\\f183\"}.bk-fa-gittip:before{content:\"\\f184\"}.bk-fa-sun-o:before{content:\"\\f185\"}.bk-fa-moon-o:before{content:\"\\f186\"}.bk-fa-archive:before{content:\"\\f187\"}.bk-fa-bug:before{content:\"\\f188\"}.bk-fa-vk:before{content:\"\\f189\"}.bk-fa-weibo:before{content:\"\\f18a\"}.bk-fa-renren:before{content:\"\\f18b\"}.bk-fa-pagelines:before{content:\"\\f18c\"}.bk-fa-stack-exchange:before{content:\"\\f18d\"}.bk-fa-arrow-circle-o-right:before{content:\"\\f18e\"}.bk-fa-arrow-circle-o-left:before{content:\"\\f190\"}.bk-fa-toggle-left:before,.bk-fa-caret-square-o-left:before{content:\"\\f191\"}.bk-fa-dot-circle-o:before{content:\"\\f192\"}.bk-fa-wheelchair:before{content:\"\\f193\"}.bk-fa-vimeo-square:before{content:\"\\f194\"}.bk-fa-turkish-lira:before,.bk-fa-try:before{content:\"\\f195\"}.bk-fa-plus-square-o:before{content:\"\\f196\"}.bk-fa-space-shuttle:before{content:\"\\f197\"}.bk-fa-slack:before{content:\"\\f198\"}.bk-fa-envelope-square:before{content:\"\\f199\"}.bk-fa-wordpress:before{content:\"\\f19a\"}.bk-fa-openid:before{content:\"\\f19b\"}.bk-fa-institution:before,.bk-fa-bank:before,.bk-fa-university:before{content:\"\\f19c\"}.bk-fa-mortar-board:before,.bk-fa-graduation-cap:before{content:\"\\f19d\"}.bk-fa-yahoo:before{content:\"\\f19e\"}.bk-fa-google:before{content:\"\\f1a0\"}.bk-fa-reddit:before{content:\"\\f1a1\"}.bk-fa-reddit-square:before{content:\"\\f1a2\"}.bk-fa-stumbleupon-circle:before{content:\"\\f1a3\"}.bk-fa-stumbleupon:before{content:\"\\f1a4\"}.bk-fa-delicious:before{content:\"\\f1a5\"}.bk-fa-digg:before{content:\"\\f1a6\"}.bk-fa-pied-piper:before{content:\"\\f1a7\"}.bk-fa-pied-piper-alt:before{content:\"\\f1a8\"}.bk-fa-drupal:before{content:\"\\f1a9\"}.bk-fa-joomla:before{content:\"\\f1aa\"}.bk-fa-language:before{content:\"\\f1ab\"}.bk-fa-fax:before{content:\"\\f1ac\"}.bk-fa-building:before{content:\"\\f1ad\"}.bk-fa-child:before{content:\"\\f1ae\"}.bk-fa-paw:before{content:\"\\f1b0\"}.bk-fa-spoon:before{content:\"\\f1b1\"}.bk-fa-cube:before{content:\"\\f1b2\"}.bk-fa-cubes:before{content:\"\\f1b3\"}.bk-fa-behance:before{content:\"\\f1b4\"}.bk-fa-behance-square:before{content:\"\\f1b5\"}.bk-fa-steam:before{content:\"\\f1b6\"}.bk-fa-steam-square:before{content:\"\\f1b7\"}.bk-fa-recycle:before{content:\"\\f1b8\"}.bk-fa-automobile:before,.bk-fa-car:before{content:\"\\f1b9\"}.bk-fa-cab:before,.bk-fa-taxi:before{content:\"\\f1ba\"}.bk-fa-tree:before{content:\"\\f1bb\"}.bk-fa-spotify:before{content:\"\\f1bc\"}.bk-fa-deviantart:before{content:\"\\f1bd\"}.bk-fa-soundcloud:before{content:\"\\f1be\"}.bk-fa-database:before{content:\"\\f1c0\"}.bk-fa-file-pdf-o:before{content:\"\\f1c1\"}.bk-fa-file-word-o:before{content:\"\\f1c2\"}.bk-fa-file-excel-o:before{content:\"\\f1c3\"}.bk-fa-file-powerpoint-o:before{content:\"\\f1c4\"}.bk-fa-file-photo-o:before,.bk-fa-file-picture-o:before,.bk-fa-file-image-o:before{content:\"\\f1c5\"}.bk-fa-file-zip-o:before,.bk-fa-file-archive-o:before{content:\"\\f1c6\"}.bk-fa-file-sound-o:before,.bk-fa-file-audio-o:before{content:\"\\f1c7\"}.bk-fa-file-movie-o:before,.bk-fa-file-video-o:before{content:\"\\f1c8\"}.bk-fa-file-code-o:before{content:\"\\f1c9\"}.bk-fa-vine:before{content:\"\\f1ca\"}.bk-fa-codepen:before{content:\"\\f1cb\"}.bk-fa-jsfiddle:before{content:\"\\f1cc\"}.bk-fa-life-bouy:before,.bk-fa-life-buoy:before,.bk-fa-life-saver:before,.bk-fa-support:before,.bk-fa-life-ring:before{content:\"\\f1cd\"}.bk-fa-circle-o-notch:before{content:\"\\f1ce\"}.bk-fa-ra:before,.bk-fa-rebel:before{content:\"\\f1d0\"}.bk-fa-ge:before,.bk-fa-empire:before{content:\"\\f1d1\"}.bk-fa-git-square:before{content:\"\\f1d2\"}.bk-fa-git:before{content:\"\\f1d3\"}.bk-fa-hacker-news:before{content:\"\\f1d4\"}.bk-fa-tencent-weibo:before{content:\"\\f1d5\"}.bk-fa-qq:before{content:\"\\f1d6\"}.bk-fa-wechat:before,.bk-fa-weixin:before{content:\"\\f1d7\"}.bk-fa-send:before,.bk-fa-paper-plane:before{content:\"\\f1d8\"}.bk-fa-send-o:before,.bk-fa-paper-plane-o:before{content:\"\\f1d9\"}.bk-fa-history:before{content:\"\\f1da\"}.bk-fa-circle-thin:before{content:\"\\f1db\"}.bk-fa-header:before{content:\"\\f1dc\"}.bk-fa-paragraph:before{content:\"\\f1dd\"}.bk-fa-sliders:before{content:\"\\f1de\"}.bk-fa-share-alt:before{content:\"\\f1e0\"}.bk-fa-share-alt-square:before{content:\"\\f1e1\"}.bk-fa-bomb:before{content:\"\\f1e2\"}.bk-fa-soccer-ball-o:before,.bk-fa-futbol-o:before{content:\"\\f1e3\"}.bk-fa-tty:before{content:\"\\f1e4\"}.bk-fa-binoculars:before{content:\"\\f1e5\"}.bk-fa-plug:before{content:\"\\f1e6\"}.bk-fa-slideshare:before{content:\"\\f1e7\"}.bk-fa-twitch:before{content:\"\\f1e8\"}.bk-fa-yelp:before{content:\"\\f1e9\"}.bk-fa-newspaper-o:before{content:\"\\f1ea\"}.bk-fa-wifi:before{content:\"\\f1eb\"}.bk-fa-calculator:before{content:\"\\f1ec\"}.bk-fa-paypal:before{content:\"\\f1ed\"}.bk-fa-google-wallet:before{content:\"\\f1ee\"}.bk-fa-cc-visa:before{content:\"\\f1f0\"}.bk-fa-cc-mastercard:before{content:\"\\f1f1\"}.bk-fa-cc-discover:before{content:\"\\f1f2\"}.bk-fa-cc-amex:before{content:\"\\f1f3\"}.bk-fa-cc-paypal:before{content:\"\\f1f4\"}.bk-fa-cc-stripe:before{content:\"\\f1f5\"}.bk-fa-bell-slash:before{content:\"\\f1f6\"}.bk-fa-bell-slash-o:before{content:\"\\f1f7\"}.bk-fa-trash:before{content:\"\\f1f8\"}.bk-fa-copyright:before{content:\"\\f1f9\"}.bk-fa-at:before{content:\"\\f1fa\"}.bk-fa-eyedropper:before{content:\"\\f1fb\"}.bk-fa-paint-brush:before{content:\"\\f1fc\"}.bk-fa-birthday-cake:before{content:\"\\f1fd\"}.bk-fa-area-chart:before{content:\"\\f1fe\"}.bk-fa-pie-chart:before{content:\"\\f200\"}.bk-fa-line-chart:before{content:\"\\f201\"}.bk-fa-lastfm:before{content:\"\\f202\"}.bk-fa-lastfm-square:before{content:\"\\f203\"}.bk-fa-toggle-off:before{content:\"\\f204\"}.bk-fa-toggle-on:before{content:\"\\f205\"}.bk-fa-bicycle:before{content:\"\\f206\"}.bk-fa-bus:before{content:\"\\f207\"}.bk-fa-ioxhost:before{content:\"\\f208\"}.bk-fa-angellist:before{content:\"\\f209\"}.bk-fa-cc:before{content:\"\\f20a\"}.bk-fa-shekel:before,.bk-fa-sheqel:before,.bk-fa-ils:before{content:\"\\f20b\"}.bk-fa-meanpath:before{content:\"\\f20c\"}/*!\n",
       "         * jQuery UI CSS Framework 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/category/theming/\n",
       "         */.bk-ui-helper-hidden{display:none}.bk-ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.bk-ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.bk-ui-helper-clearfix:before,.bk-ui-helper-clearfix:after{content:\"\";display:table;border-collapse:collapse}.bk-ui-helper-clearfix:after{clear:both}.bk-ui-helper-clearfix{min-height:0}.bk-ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.bk-ui-front{z-index:100}.bk-ui-state-disabled{cursor:default !important}.bk-ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.bk-ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}/*!\n",
       "         * jQuery UI Accordion 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/accordion/#theming\n",
       "         */.bk-ui-accordion .bk-ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.bk-ui-accordion .bk-ui-accordion-icons{padding-left:2.2em}.bk-ui-accordion .bk-ui-accordion-icons .bk-ui-accordion-icons{padding-left:2.2em}.bk-ui-accordion .bk-ui-accordion-header .bk-ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.bk-ui-accordion .bk-ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}/*!\n",
       "         * jQuery UI Autocomplete 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/autocomplete/#theming\n",
       "         */.bk-ui-autocomplete{position:absolute;top:0;left:0;cursor:default}/*!\n",
       "         * jQuery UI Button 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/button/#theming\n",
       "         */.bk-ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.bk-ui-button,.bk-ui-button:link,.bk-ui-button:visited,.bk-ui-button:hover,.bk-ui-button:active{text-decoration:none}.bk-ui-button-icon-only{width:2.2em}button.bk-ui-button-icon-only{width:2.4em}.bk-ui-button-icons-only{width:3.4em}button.bk-ui-button-icons-only{width:3.7em}.bk-ui-button .bk-ui-button-text{display:block;line-height:normal}.bk-ui-button-text-only .bk-ui-button-text{padding:.4em 1em}.bk-ui-button-icon-only .bk-ui-button-text,.bk-ui-button-icons-only .bk-ui-button-text{padding:.4em;text-indent:-9999999px}.bk-ui-button-text-icon-primary .bk-ui-button-text,.bk-ui-button-text-icons .bk-ui-button-text{padding:.4em 1em .4em 2.1em}.bk-ui-button-text-icon-secondary .bk-ui-button-text,.bk-ui-button-text-icons .bk-ui-button-text{padding:.4em 2.1em .4em 1em}.bk-ui-button-text-icons .bk-ui-button-text{padding-left:2.1em;padding-right:2.1em}input.bk-ui-button{padding:.4em 1em}.bk-ui-button-icon-only .bk-ui-icon,.bk-ui-button-text-icon-primary .bk-ui-icon,.bk-ui-button-text-icon-secondary .bk-ui-icon,.bk-ui-button-text-icons .bk-ui-icon,.bk-ui-button-icons-only .bk-ui-icon{position:absolute;top:50%;margin-top:-8px}.bk-ui-button-icon-only .bk-ui-icon{left:50%;margin-left:-8px}.bk-ui-button-text-icon-primary .bk-ui-button-icon-primary,.bk-ui-button-text-icons .bk-ui-button-icon-primary,.bk-ui-button-icons-only .bk-ui-button-icon-primary{left:.5em}.bk-ui-button-text-icon-secondary .bk-ui-button-icon-secondary,.bk-ui-button-text-icons .bk-ui-button-icon-secondary,.bk-ui-button-icons-only .bk-ui-button-icon-secondary{right:.5em}.bk-ui-buttonset{margin-right:7px}.bk-ui-buttonset .bk-ui-button{margin-left:0;margin-right:-.3em}input.bk-ui-button::-moz-focus-inner,button.bk-ui-button::-moz-focus-inner{border:0;padding:0}/*!\n",
       "         * jQuery UI Datepicker 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/datepicker/#theming\n",
       "         */.bk-ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.bk-ui-datepicker .bk-ui-datepicker-header{position:relative;padding:.2em 0}.bk-ui-datepicker .bk-ui-datepicker-prev,.bk-ui-datepicker .bk-ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.bk-ui-datepicker .bk-ui-datepicker-prev-hover,.bk-ui-datepicker .bk-ui-datepicker-next-hover{top:1px}.bk-ui-datepicker .bk-ui-datepicker-prev{left:2px}.bk-ui-datepicker .bk-ui-datepicker-next{right:2px}.bk-ui-datepicker .bk-ui-datepicker-prev-hover{left:1px}.bk-ui-datepicker .bk-ui-datepicker-next-hover{right:1px}.bk-ui-datepicker .bk-ui-datepicker-prev span,.bk-ui-datepicker .bk-ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.bk-ui-datepicker .bk-ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.bk-ui-datepicker .bk-ui-datepicker-title select{font-size:1em;margin:1px 0}.bk-ui-datepicker select.bk-ui-datepicker-month,.bk-ui-datepicker select.bk-ui-datepicker-year{width:45%}.bk-ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.bk-ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.bk-ui-datepicker td{border:0;padding:1px}.bk-ui-datepicker td span,.bk-ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.bk-ui-datepicker .bk-ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.bk-ui-datepicker .bk-ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.bk-ui-datepicker .bk-ui-datepicker-buttonpane button.bk-ui-datepicker-current{float:left}.bk-ui-datepicker.bk-ui-datepicker-multi{width:auto}.bk-ui-datepicker-multi .bk-ui-datepicker-group{float:left}.bk-ui-datepicker-multi .bk-ui-datepicker-group table{width:95%;margin:0 auto .4em}.bk-ui-datepicker-multi-2 .bk-ui-datepicker-group{width:50%}.bk-ui-datepicker-multi-3 .bk-ui-datepicker-group{width:33.3%}.bk-ui-datepicker-multi-4 .bk-ui-datepicker-group{width:25%}.bk-ui-datepicker-multi .bk-ui-datepicker-group-last .bk-ui-datepicker-header,.bk-ui-datepicker-multi .bk-ui-datepicker-group-middle .bk-ui-datepicker-header{border-left-width:0}.bk-ui-datepicker-multi .bk-ui-datepicker-buttonpane{clear:left}.bk-ui-datepicker-row-break{clear:both;width:100%;font-size:0}.bk-ui-datepicker-rtl{direction:rtl}.bk-ui-datepicker-rtl .bk-ui-datepicker-prev{right:2px;left:auto}.bk-ui-datepicker-rtl .bk-ui-datepicker-next{left:2px;right:auto}.bk-ui-datepicker-rtl .bk-ui-datepicker-prev:hover{right:1px;left:auto}.bk-ui-datepicker-rtl .bk-ui-datepicker-next:hover{left:1px;right:auto}.bk-ui-datepicker-rtl .bk-ui-datepicker-buttonpane{clear:right}.bk-ui-datepicker-rtl .bk-ui-datepicker-buttonpane button{float:left}.bk-ui-datepicker-rtl .bk-ui-datepicker-buttonpane button.bk-ui-datepicker-current,.bk-ui-datepicker-rtl .bk-ui-datepicker-group{float:right}.bk-ui-datepicker-rtl .bk-ui-datepicker-group-last .bk-ui-datepicker-header,.bk-ui-datepicker-rtl .bk-ui-datepicker-group-middle .bk-ui-datepicker-header{border-right-width:0;border-left-width:1px}/*!\n",
       "         * jQuery UI Dialog 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/dialog/#theming\n",
       "         */.bk-ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.bk-ui-dialog .bk-ui-dialog-titlebar{padding:.4em 1em;position:relative}.bk-ui-dialog .bk-ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.bk-ui-dialog .bk-ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.bk-ui-dialog .bk-ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0;overflow:auto}.bk-ui-dialog .bk-ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.bk-ui-dialog .bk-ui-dialog-buttonpane .bk-ui-dialog-buttonset{float:right}.bk-ui-dialog .bk-ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.bk-ui-dialog .bk-ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.bk-ui-draggable .bk-ui-dialog-titlebar{cursor:move}/*!\n",
       "         * jQuery UI Draggable 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         */.bk-ui-draggable-handle{-ms-touch-action:none;touch-action:none}/*!\n",
       "         * jQuery UI Menu 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/menu/#theming\n",
       "         */.bk-ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.bk-ui-menu .bk-ui-menu{position:absolute}.bk-ui-menu .bk-ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\")}.bk-ui-menu .bk-ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.bk-ui-menu .bk-ui-state-focus,.bk-ui-menu .bk-ui-state-active{margin:-1px}.bk-ui-menu-icons{position:relative}.bk-ui-menu-icons .bk-ui-menu-item{padding-left:2em}.bk-ui-menu .bk-ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.bk-ui-menu .bk-ui-menu-icon{left:auto;right:0}/*!\n",
       "         * jQuery UI Progressbar 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/progressbar/#theming\n",
       "         */.bk-ui-progressbar{height:2em;text-align:left;overflow:hidden}.bk-ui-progressbar .bk-ui-progressbar-value{margin:-1px;height:100%}.bk-ui-progressbar .bk-ui-progressbar-overlay{background:url(\"data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==\");height:100%;filter:alpha(opacity=25);opacity:.25}.bk-ui-progressbar-indeterminate .bk-ui-progressbar-value{background-image:none}/*!\n",
       "         * jQuery UI Resizable 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         */.bk-ui-resizable{position:relative}.bk-ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.bk-ui-resizable-disabled .bk-ui-resizable-handle,.bk-ui-resizable-autohide .bk-ui-resizable-handle{display:none}.bk-ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.bk-ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.bk-ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.bk-ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.bk-ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.bk-ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.bk-ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.bk-ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}/*!\n",
       "         * jQuery UI Selectable 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         */.bk-ui-selectable{-ms-touch-action:none;touch-action:none}.bk-ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}/*!\n",
       "         * jQuery UI Selectmenu 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/selectmenu/#theming\n",
       "         */.bk-ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.bk-ui-selectmenu-menu .bk-ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.bk-ui-selectmenu-menu .bk-ui-menu .bk-ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px .4em;margin:.5em 0 0 0;height:auto;border:0}.bk-ui-selectmenu-open{display:block}.bk-ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.bk-ui-selectmenu-button span.bk-ui-icon{right:.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.bk-ui-selectmenu-button span.bk-ui-selectmenu-text{text-align:left;padding:.4em 2.1em .4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/*!\n",
       "         * jQuery UI Sortable 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         */.bk-ui-sortable-handle{-ms-touch-action:none;touch-action:none}/*!\n",
       "         * jQuery UI Slider 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/slider/#theming\n",
       "         */.bk-ui-slider{position:relative;text-align:left}.bk-ui-slider .bk-ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.bk-ui-slider .bk-ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.bk-ui-slider.bk-ui-state-disabled .bk-ui-slider-handle,.bk-ui-slider.bk-ui-state-disabled .bk-ui-slider-range{filter:inherit}.bk-ui-slider-horizontal{height:.8em}.bk-ui-slider-horizontal .bk-ui-slider-handle{top:-.3em;margin-left:-.6em}.bk-ui-slider-horizontal .bk-ui-slider-range{top:0;height:100%}.bk-ui-slider-horizontal .bk-ui-slider-range-min{left:0}.bk-ui-slider-horizontal .bk-ui-slider-range-max{right:0}.bk-ui-slider-vertical{width:.8em;height:100px}.bk-ui-slider-vertical .bk-ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.bk-ui-slider-vertical .bk-ui-slider-range{left:0;width:100%}.bk-ui-slider-vertical .bk-ui-slider-range-min{bottom:0}.bk-ui-slider-vertical .bk-ui-slider-range-max{top:0}/*!\n",
       "         * jQuery UI Spinner 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/spinner/#theming\n",
       "         */.bk-ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.bk-ui-spinner-input{border:0;background:0;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.bk-ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.bk-ui-spinner a.bk-ui-spinner-button{border-top:0;border-bottom:0;border-right:0}.bk-ui-spinner .bk-ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.bk-ui-spinner-up{top:0}.bk-ui-spinner-down{bottom:0}.bk-ui-spinner .bk-ui-icon-triangle-1-s{background-position:-65px -16px}/*!\n",
       "         * jQuery UI Tabs 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/tabs/#theming\n",
       "         */.bk-ui-tabs{position:relative;padding:.2em}.bk-ui-tabs .bk-ui-tabs-nav{margin:0;padding:.2em .2em 0}.bk-ui-tabs .bk-ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.bk-ui-tabs .bk-ui-tabs-nav .bk-ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.bk-ui-tabs .bk-ui-tabs-nav li.bk-ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.bk-ui-tabs .bk-ui-tabs-nav li.bk-ui-tabs-active .bk-ui-tabs-anchor,.bk-ui-tabs .bk-ui-tabs-nav li.bk-ui-state-disabled .bk-ui-tabs-anchor,.bk-ui-tabs .bk-ui-tabs-nav li.bk-ui-tabs-loading .bk-ui-tabs-anchor{cursor:text}.bk-ui-tabs-collapsible .bk-ui-tabs-nav li.bk-ui-tabs-active .bk-ui-tabs-anchor{cursor:pointer}.bk-ui-tabs .bk-ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0}/*!\n",
       "         * jQuery UI Tooltip 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/tooltip/#theming\n",
       "         */.bk-ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .bk-ui-tooltip{border-width:2px}/*!\n",
       "         * jQuery UI CSS Framework 1.11.2\n",
       "         * http://jqueryui.com\n",
       "         *\n",
       "         * Copyright 2014 jQuery Foundation and other contributors\n",
       "         * Released under the MIT license.\n",
       "         * http://jquery.org/license\n",
       "         *\n",
       "         * http://api.jqueryui.com/category/theming/\n",
       "         *\n",
       "         * To view and modify this theme, visit http://jqueryui.com/themeroller/\n",
       "         */.bk-ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.bk-ui-widget .bk-ui-widget{font-size:1em}.bk-ui-widget input,.bk-ui-widget select,.bk-ui-widget textarea,.bk-ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.bk-ui-widget-content{border:1px solid #aaa;background:#fff url(\"images/ui-bg_flat_75_ffffff_40x100.png\") 50% 50% repeat-x;color:#222}.bk-ui-widget-content a{color:#222}.bk-ui-widget-header{border:1px solid #aaa;background:#ccc url(\"images/ui-bg_highlight-soft_75_cccccc_1x100.png\") 50% 50% repeat-x;color:#222;font-weight:bold}.bk-ui-widget-header a{color:#222}.bk-ui-state-default,.bk-ui-widget-content .bk-ui-state-default,.bk-ui-widget-header .bk-ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(\"images/ui-bg_glass_75_e6e6e6_1x400.png\") 50% 50% repeat-x;font-weight:normal;color:#555}.bk-ui-state-default a,.bk-ui-state-default a:link,.bk-ui-state-default a:visited{color:#555;text-decoration:none}.bk-ui-state-hover,.bk-ui-widget-content .bk-ui-state-hover,.bk-ui-widget-header .bk-ui-state-hover,.bk-ui-state-focus,.bk-ui-widget-content .bk-ui-state-focus,.bk-ui-widget-header .bk-ui-state-focus{border:1px solid #999;background:#dadada url(\"images/ui-bg_glass_75_dadada_1x400.png\") 50% 50% repeat-x;font-weight:normal;color:#212121}.bk-ui-state-hover a,.bk-ui-state-hover a:hover,.bk-ui-state-hover a:link,.bk-ui-state-hover a:visited,.bk-ui-state-focus a,.bk-ui-state-focus a:hover,.bk-ui-state-focus a:link,.bk-ui-state-focus a:visited{color:#212121;text-decoration:none}.bk-ui-state-active,.bk-ui-widget-content .bk-ui-state-active,.bk-ui-widget-header .bk-ui-state-active{border:1px solid #aaa;background:#fff url(\"images/ui-bg_glass_65_ffffff_1x400.png\") 50% 50% repeat-x;font-weight:normal;color:#212121}.bk-ui-state-active a,.bk-ui-state-active a:link,.bk-ui-state-active a:visited{color:#212121;text-decoration:none}.bk-ui-state-highlight,.bk-ui-widget-content .bk-ui-state-highlight,.bk-ui-widget-header .bk-ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(\"images/ui-bg_glass_55_fbf9ee_1x400.png\") 50% 50% repeat-x;color:#363636}.bk-ui-state-highlight a,.bk-ui-widget-content .bk-ui-state-highlight a,.bk-ui-widget-header .bk-ui-state-highlight a{color:#363636}.bk-ui-state-error,.bk-ui-widget-content .bk-ui-state-error,.bk-ui-widget-header .bk-ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(\"images/ui-bg_glass_95_fef1ec_1x400.png\") 50% 50% repeat-x;color:#cd0a0a}.bk-ui-state-error a,.bk-ui-widget-content .bk-ui-state-error a,.bk-ui-widget-header .bk-ui-state-error a{color:#cd0a0a}.bk-ui-state-error-text,.bk-ui-widget-content .bk-ui-state-error-text,.bk-ui-widget-header .bk-ui-state-error-text{color:#cd0a0a}.bk-ui-priority-primary,.bk-ui-widget-content .bk-ui-priority-primary,.bk-ui-widget-header .bk-ui-priority-primary{font-weight:bold}.bk-ui-priority-secondary,.bk-ui-widget-content .bk-ui-priority-secondary,.bk-ui-widget-header .bk-ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.bk-ui-state-disabled,.bk-ui-widget-content .bk-ui-state-disabled,.bk-ui-widget-header .bk-ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.bk-ui-state-disabled .bk-ui-icon{filter:Alpha(Opacity=35)}.bk-ui-icon{width:16px;height:16px}.bk-ui-icon,.bk-ui-widget-content .bk-ui-icon{background-image:url(\"images/ui-icons_222222_256x240.png\")}.bk-ui-widget-header .bk-ui-icon{background-image:url(\"images/ui-icons_222222_256x240.png\")}.bk-ui-state-default .bk-ui-icon{background-image:url(\"images/ui-icons_888888_256x240.png\")}.bk-ui-state-hover .bk-ui-icon,.bk-ui-state-focus .bk-ui-icon{background-image:url(\"images/ui-icons_454545_256x240.png\")}.bk-ui-state-active .bk-ui-icon{background-image:url(\"images/ui-icons_454545_256x240.png\")}.bk-ui-state-highlight .bk-ui-icon{background-image:url(\"images/ui-icons_2e83ff_256x240.png\")}.bk-ui-state-error .bk-ui-icon,.bk-ui-state-error-text .bk-ui-icon{background-image:url(\"images/ui-icons_cd0a0a_256x240.png\")}.bk-ui-icon-blank{background-position:16px 16px}.bk-ui-icon-carat-1-n{background-position:0 0}.bk-ui-icon-carat-1-ne{background-position:-16px 0}.bk-ui-icon-carat-1-e{background-position:-32px 0}.bk-ui-icon-carat-1-se{background-position:-48px 0}.bk-ui-icon-carat-1-s{background-position:-64px 0}.bk-ui-icon-carat-1-sw{background-position:-80px 0}.bk-ui-icon-carat-1-w{background-position:-96px 0}.bk-ui-icon-carat-1-nw{background-position:-112px 0}.bk-ui-icon-carat-2-n-s{background-position:-128px 0}.bk-ui-icon-carat-2-e-w{background-position:-144px 0}.bk-ui-icon-triangle-1-n{background-position:0 -16px}.bk-ui-icon-triangle-1-ne{background-position:-16px -16px}.bk-ui-icon-triangle-1-e{background-position:-32px -16px}.bk-ui-icon-triangle-1-se{background-position:-48px -16px}.bk-ui-icon-triangle-1-s{background-position:-64px -16px}.bk-ui-icon-triangle-1-sw{background-position:-80px -16px}.bk-ui-icon-triangle-1-w{background-position:-96px -16px}.bk-ui-icon-triangle-1-nw{background-position:-112px -16px}.bk-ui-icon-triangle-2-n-s{background-position:-128px -16px}.bk-ui-icon-triangle-2-e-w{background-position:-144px -16px}.bk-ui-icon-arrow-1-n{background-position:0 -32px}.bk-ui-icon-arrow-1-ne{background-position:-16px -32px}.bk-ui-icon-arrow-1-e{background-position:-32px -32px}.bk-ui-icon-arrow-1-se{background-position:-48px -32px}.bk-ui-icon-arrow-1-s{background-position:-64px -32px}.bk-ui-icon-arrow-1-sw{background-position:-80px -32px}.bk-ui-icon-arrow-1-w{background-position:-96px -32px}.bk-ui-icon-arrow-1-nw{background-position:-112px -32px}.bk-ui-icon-arrow-2-n-s{background-position:-128px -32px}.bk-ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.bk-ui-icon-arrow-2-e-w{background-position:-160px -32px}.bk-ui-icon-arrow-2-se-nw{background-position:-176px -32px}.bk-ui-icon-arrowstop-1-n{background-position:-192px -32px}.bk-ui-icon-arrowstop-1-e{background-position:-208px -32px}.bk-ui-icon-arrowstop-1-s{background-position:-224px -32px}.bk-ui-icon-arrowstop-1-w{background-position:-240px -32px}.bk-ui-icon-arrowthick-1-n{background-position:0 -48px}.bk-ui-icon-arrowthick-1-ne{background-position:-16px -48px}.bk-ui-icon-arrowthick-1-e{background-position:-32px -48px}.bk-ui-icon-arrowthick-1-se{background-position:-48px -48px}.bk-ui-icon-arrowthick-1-s{background-position:-64px -48px}.bk-ui-icon-arrowthick-1-sw{background-position:-80px -48px}.bk-ui-icon-arrowthick-1-w{background-position:-96px -48px}.bk-ui-icon-arrowthick-1-nw{background-position:-112px -48px}.bk-ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.bk-ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.bk-ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.bk-ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.bk-ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.bk-ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.bk-ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.bk-ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.bk-ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.bk-ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.bk-ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.bk-ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.bk-ui-icon-arrowreturn-1-w{background-position:-64px -64px}.bk-ui-icon-arrowreturn-1-n{background-position:-80px -64px}.bk-ui-icon-arrowreturn-1-e{background-position:-96px -64px}.bk-ui-icon-arrowreturn-1-s{background-position:-112px -64px}.bk-ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.bk-ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.bk-ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.bk-ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.bk-ui-icon-arrow-4{background-position:0 -80px}.bk-ui-icon-arrow-4-diag{background-position:-16px -80px}.bk-ui-icon-extlink{background-position:-32px -80px}.bk-ui-icon-newwin{background-position:-48px -80px}.bk-ui-icon-refresh{background-position:-64px -80px}.bk-ui-icon-shuffle{background-position:-80px -80px}.bk-ui-icon-transfer-e-w{background-position:-96px -80px}.bk-ui-icon-transferthick-e-w{background-position:-112px -80px}.bk-ui-icon-folder-collapsed{background-position:0 -96px}.bk-ui-icon-folder-open{background-position:-16px -96px}.bk-ui-icon-document{background-position:-32px -96px}.bk-ui-icon-document-b{background-position:-48px -96px}.bk-ui-icon-note{background-position:-64px -96px}.bk-ui-icon-mail-closed{background-position:-80px -96px}.bk-ui-icon-mail-open{background-position:-96px -96px}.bk-ui-icon-suitcase{background-position:-112px -96px}.bk-ui-icon-comment{background-position:-128px -96px}.bk-ui-icon-person{background-position:-144px -96px}.bk-ui-icon-print{background-position:-160px -96px}.bk-ui-icon-trash{background-position:-176px -96px}.bk-ui-icon-locked{background-position:-192px -96px}.bk-ui-icon-unlocked{background-position:-208px -96px}.bk-ui-icon-bookmark{background-position:-224px -96px}.bk-ui-icon-tag{background-position:-240px -96px}.bk-ui-icon-home{background-position:0 -112px}.bk-ui-icon-flag{background-position:-16px -112px}.bk-ui-icon-calendar{background-position:-32px -112px}.bk-ui-icon-cart{background-position:-48px -112px}.bk-ui-icon-pencil{background-position:-64px -112px}.bk-ui-icon-clock{background-position:-80px -112px}.bk-ui-icon-disk{background-position:-96px -112px}.bk-ui-icon-calculator{background-position:-112px -112px}.bk-ui-icon-zoomin{background-position:-128px -112px}.bk-ui-icon-zoomout{background-position:-144px -112px}.bk-ui-icon-search{background-position:-160px -112px}.bk-ui-icon-wrench{background-position:-176px -112px}.bk-ui-icon-gear{background-position:-192px -112px}.bk-ui-icon-heart{background-position:-208px -112px}.bk-ui-icon-star{background-position:-224px -112px}.bk-ui-icon-link{background-position:-240px -112px}.bk-ui-icon-cancel{background-position:0 -128px}.bk-ui-icon-plus{background-position:-16px -128px}.bk-ui-icon-plusthick{background-position:-32px -128px}.bk-ui-icon-minus{background-position:-48px -128px}.bk-ui-icon-minusthick{background-position:-64px -128px}.bk-ui-icon-close{background-position:-80px -128px}.bk-ui-icon-closethick{background-position:-96px -128px}.bk-ui-icon-key{background-position:-112px -128px}.bk-ui-icon-lightbulb{background-position:-128px -128px}.bk-ui-icon-scissors{background-position:-144px -128px}.bk-ui-icon-clipboard{background-position:-160px -128px}.bk-ui-icon-copy{background-position:-176px -128px}.bk-ui-icon-contact{background-position:-192px -128px}.bk-ui-icon-image{background-position:-208px -128px}.bk-ui-icon-video{background-position:-224px -128px}.bk-ui-icon-script{background-position:-240px -128px}.bk-ui-icon-alert{background-position:0 -144px}.bk-ui-icon-info{background-position:-16px -144px}.bk-ui-icon-notice{background-position:-32px -144px}.bk-ui-icon-help{background-position:-48px -144px}.bk-ui-icon-check{background-position:-64px -144px}.bk-ui-icon-bullet{background-position:-80px -144px}.bk-ui-icon-radio-on{background-position:-96px -144px}.bk-ui-icon-radio-off{background-position:-112px -144px}.bk-ui-icon-pin-w{background-position:-128px -144px}.bk-ui-icon-pin-s{background-position:-144px -144px}.bk-ui-icon-play{background-position:0 -160px}.bk-ui-icon-pause{background-position:-16px -160px}.bk-ui-icon-seek-next{background-position:-32px -160px}.bk-ui-icon-seek-prev{background-position:-48px -160px}.bk-ui-icon-seek-end{background-position:-64px -160px}.bk-ui-icon-seek-start{background-position:-80px -160px}.bk-ui-icon-seek-first{background-position:-80px -160px}.bk-ui-icon-stop{background-position:-96px -160px}.bk-ui-icon-eject{background-position:-112px -160px}.bk-ui-icon-volume-off{background-position:-128px -160px}.bk-ui-icon-volume-on{background-position:-144px -160px}.bk-ui-icon-power{background-position:0 -176px}.bk-ui-icon-signal-diag{background-position:-16px -176px}.bk-ui-icon-signal{background-position:-32px -176px}.bk-ui-icon-battery-0{background-position:-48px -176px}.bk-ui-icon-battery-1{background-position:-64px -176px}.bk-ui-icon-battery-2{background-position:-80px -176px}.bk-ui-icon-battery-3{background-position:-96px -176px}.bk-ui-icon-circle-plus{background-position:0 -192px}.bk-ui-icon-circle-minus{background-position:-16px -192px}.bk-ui-icon-circle-close{background-position:-32px -192px}.bk-ui-icon-circle-triangle-e{background-position:-48px -192px}.bk-ui-icon-circle-triangle-s{background-position:-64px -192px}.bk-ui-icon-circle-triangle-w{background-position:-80px -192px}.bk-ui-icon-circle-triangle-n{background-position:-96px -192px}.bk-ui-icon-circle-arrow-e{background-position:-112px -192px}.bk-ui-icon-circle-arrow-s{background-position:-128px -192px}.bk-ui-icon-circle-arrow-w{background-position:-144px -192px}.bk-ui-icon-circle-arrow-n{background-position:-160px -192px}.bk-ui-icon-circle-zoomin{background-position:-176px -192px}.bk-ui-icon-circle-zoomout{background-position:-192px -192px}.bk-ui-icon-circle-check{background-position:-208px -192px}.bk-ui-icon-circlesmall-plus{background-position:0 -208px}.bk-ui-icon-circlesmall-minus{background-position:-16px -208px}.bk-ui-icon-circlesmall-close{background-position:-32px -208px}.bk-ui-icon-squaresmall-plus{background-position:-48px -208px}.bk-ui-icon-squaresmall-minus{background-position:-64px -208px}.bk-ui-icon-squaresmall-close{background-position:-80px -208px}.bk-ui-icon-grip-dotted-vertical{background-position:0 -224px}.bk-ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.bk-ui-icon-grip-solid-vertical{background-position:-32px -224px}.bk-ui-icon-grip-solid-horizontal{background-position:-48px -224px}.bk-ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.bk-ui-icon-grip-diagonal-se{background-position:-80px -224px}.bk-ui-corner-all,.bk-ui-corner-top,.bk-ui-corner-left,.bk-ui-corner-tl{border-top-left-radius:4px}.bk-ui-corner-all,.bk-ui-corner-top,.bk-ui-corner-right,.bk-ui-corner-tr{border-top-right-radius:4px}.bk-ui-corner-all,.bk-ui-corner-bottom,.bk-ui-corner-left,.bk-ui-corner-bl{border-bottom-left-radius:4px}.bk-ui-corner-all,.bk-ui-corner-bottom,.bk-ui-corner-right,.bk-ui-corner-br{border-bottom-right-radius:4px}.bk-ui-widget-overlay{background:#aaa url(\"images/ui-bg_flat_0_aaaaaa_40x100.png\") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.bk-ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(\"images/ui-bg_flat_0_aaaaaa_40x100.png\") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}.bk-slick-header.bk-ui-state-default,.bk-slick-headerrow.bk-ui-state-default{width:100%;overflow:hidden;border-left:0}.bk-slick-header-columns,.bk-slick-headerrow-columns{position:relative;white-space:nowrap;cursor:default;overflow:hidden}.bk-slick-header-column.bk-ui-state-default{position:relative;display:inline-block;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;height:16px;line-height:16px;margin:0;padding:4px;border-right:1px solid silver;border-left:0;border-top:0;border-bottom:0;float:left}.bk-slick-headerrow-column.bk-ui-state-default{padding:4px}.bk-slick-header-column-sorted{font-style:italic}.bk-slick-sort-indicator{display:inline-block;width:8px;height:5px;margin-left:4px;margin-top:6px;float:left}.bk-slick-sort-indicator-desc{background:url(images/sort-desc.gif)}.bk-slick-sort-indicator-asc{background:url(images/sort-asc.gif)}.bk-slick-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:col-resize;width:4px;right:0;top:0;height:100%}.bk-slick-sortable-placeholder{background:silver}.grid-canvas{position:relative;outline:0}.bk-slick-row.bk-ui-widget-content,.bk-slick-row.bk-ui-state-active{position:absolute;border:0;width:100%}.bk-slick-cell,.bk-slick-headerrow-column{position:absolute;border:1px solid transparent;border-right:1px dotted silver;border-bottom-color:silver;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;vertical-align:middle;z-index:1;padding:1px 2px 2px 1px;margin:0;white-space:nowrap;cursor:default}.bk-slick-group-toggle{display:inline-block}.bk-slick-cell.highlighted{background:lightskyblue;background:rgba(0,0,255,0.2);-webkit-transition:all .5s;-moz-transition:all .5s;-o-transition:all .5s;transition:all .5s}.bk-slick-cell.flashing{border:1px solid red !important}.bk-slick-cell.editable{z-index:11;overflow:visible;background:white;border-color:black;border-style:solid}.bk-slick-cell:focus{outline:0}.bk-slick-reorder-proxy{display:inline-block;background:blue;opacity:.15;filter:alpha(opacity = 15);cursor:move}.bk-slick-reorder-guide{display:inline-block;height:2px;background:blue;opacity:.7;filter:alpha(opacity = 70)}.bk-slick-selection{z-index:10;position:absolute;border:2px dashed black}.bk-slick-header-columns{background:url('images/header-columns-bg.gif') repeat-x center bottom;border-bottom:1px solid silver}.bk-slick-header-column{background:url('images/header-columns-bg.gif') repeat-x center bottom;border-right:1px solid silver}.bk-slick-header-column:hover,.bk-slick-header-column-active{background:white url('images/header-columns-over-bg.gif') repeat-x center bottom}.bk-slick-headerrow{background:#fafafa}.bk-slick-headerrow-column{background:#fafafa;border-bottom:0;height:100%}.bk-slick-row.bk-ui-state-active{background:#f5f7d7}.bk-slick-row{position:absolute;background:white;border:0;line-height:20px}.bk-slick-row.selected{z-index:10;background:#dfe8f6}.bk-slick-cell{padding-left:4px;padding-right:4px}.bk-slick-group{border-bottom:2px solid silver}.bk-slick-group-toggle{width:9px;height:9px;margin-right:5px}.bk-slick-group-toggle.expanded{background:url(images/collapse.gif) no-repeat center center}.bk-slick-group-toggle.collapsed{background:url(images/expand.gif) no-repeat center center}.bk-slick-group-totals{color:gray;background:white}.bk-slick-cell.selected{background-color:beige}.bk-slick-cell.active{border-color:gray;border-style:solid}.bk-slick-sortable-placeholder{background:silver !important}.bk-slick-row.odd{background:#fafafa}.bk-slick-row.bk-ui-state-active{background:#f5f7d7}.bk-slick-row.loading{opacity:.5;filter:alpha(opacity = 50)}.bk-slick-cell.invalid{border-color:red;-moz-animation-duration:.2s;-webkit-animation-duration:.2s;-moz-animation-name:slickgrid-invalid-hilite;-webkit-animation-name:slickgrid-invalid-hilite}@-moz-keyframes slickgrid-invalid-hilite{from{box-shadow:0 0 6px red}to{box-shadow:none}}@-webkit-keyframes slickgrid-invalid-hilite{from{box-shadow:0 0 6px red}to{box-shadow:none}}.bk-slick-column-name,.bk-slick-sort-indicator{display:inline-block;float:left;margin-bottom:100px}.bk-slick-header-button{display:inline-block;float:right;vertical-align:top;margin:1px;margin-bottom:100px;height:15px;width:15px;background-repeat:no-repeat;background-position:center center;cursor:pointer}.bk-slick-header-button-hidden{width:0;-webkit-transition:.2s width;-ms-transition:.2s width;transition:.2s width}.bk-slick-header-column:hover>.bk-slick-header-button{width:15px}.bk-slick-header-menubutton{position:absolute;right:0;top:0;bottom:0;width:14px;background-repeat:no-repeat;background-position:left center;background-image:url(../images/down.gif);cursor:pointer;display:none;border-left:thin ridge silver}.bk-slick-header-column:hover>.bk-slick-header-menubutton,.bk-slick-header-column-active .bk-slick-header-menubutton{display:inline-block}.bk-slick-header-menu{position:absolute;display:inline-block;margin:0;padding:2px;cursor:default}.bk-slick-header-menuitem{list-style:none;margin:0;padding:0;cursor:pointer}.bk-slick-header-menuicon{display:inline-block;width:16px;height:16px;vertical-align:middle;margin-right:4px;background-repeat:no-repeat;background-position:center center}.bk-slick-header-menucontent{display:inline-block;vertical-align:middle}.bk-slick-header-menuitem-disabled{color:silver}.bk-slick-columnpicker{border:1px solid #718bb7;background:#f0f0f0;padding:6px;-moz-box-shadow:2px 2px 2px silver;-webkit-box-shadow:2px 2px 2px silver;box-shadow:2px 2px 2px silver;min-width:100px;cursor:default}.bk-slick-columnpicker li{list-style:none;margin:0;padding:0;background:0}.bk-slick-columnpicker input{margin:4px}.bk-slick-columnpicker li a{display:block;padding:4px;font-weight:bold}.bk-slick-columnpicker li a:hover{background:white}.bk-slick-pager{width:100%;height:26px;border:1px solid gray;border-top:0;background:url('../images/header-columns-bg.gif') repeat-x center bottom;vertical-align:middle}.bk-slick-pager .bk-slick-pager-status{display:inline-block;padding:6px}.bk-slick-pager .bk-ui-icon-container{display:inline-block;margin:2px;border-color:gray}.bk-slick-pager .bk-slick-pager-nav{display:inline-block;float:left;padding:2px}.bk-slick-pager .bk-slick-pager-settings{display:block;float:right;padding:2px}.bk-slick-pager .bk-slick-pager-settings *{vertical-align:middle}.bk-slick-pager .bk-slick-pager-settings a{padding:2px;text-decoration:underline;cursor:pointer}.bk-ui-rangeSlider{height:22px}.bk-ui-rangeSlider .bk-ui-rangeSlider-innerBar{height:16px;margin:3px 6px;background:#DDD}.bk-ui-rangeSlider .bk-ui-rangeSlider-handle{width:6px;height:22px;background:#AAA;background:rgba(100,100,100,0.3);cursor:col-resize}.bk-ui-rangeSlider .bk-ui-rangeSlider-bar{margin:1px 0;background:#CCC;background:rgba(100,100,150,0.2);height:20px;cursor:move;cursor:grab;cursor:-moz-grab}.bk-ui-rangeSlider .bk-ui-rangeSlider-bar.bk-ui-draggable-dragging{cursor:-moz-grabbing;cursor:grabbing}.bk-ui-rangeSlider-arrow{height:16px;margin:2px 0;width:16px;background-repeat:no-repeat}.bk-ui-rangeSlider-arrow.bk-ui-rangeSlider-leftArrow{background-image:url('icons-classic/resultset_previous.png');background-position:center left}.bk-ui-rangeSlider-arrow.bk-ui-rangeSlider-rightArrow{background-image:url('icons-classic/resultset_next.png');background-position:center right}.bk-ui-rangeSlider-arrow-inner{display:none}.bk-ui-rangeSlider-container{height:22px}.bk-ui-rangeSlider-withArrows .bk-ui-rangeSlider-container{margin:0 11px}.bk-ui-rangeSlider-noArrow .bk-ui-rangeSlider-container{margin:0}.bk-ui-rangeSlider-label{margin:0 2px 2px;background-image:url('icons-classic/label.png');background-position:bottom center;background-repeat:no-repeat;white-space:nowrap;bottom:20px;padding:3px 6px 7px;cursor:col-resize}.bk-ui-rangeSlider-label-inner{display:none}input.bk-ui-editRangeSlider-inputValue{width:3em;vertical-align:middle;text-align:center}.bk-ui-dialog-titlebar{height:16px}.bk-ui-rangeSlider-arrow.bk-ui-rangeSlider-leftArrow{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAPpJREFUeNrE0zFqhVAUBFCL7ElEEBQsXmErWtnZWImF2Gih6FNEfKCoBGMMUQhEULKjrCF1JjsI+j8kxbSnuDOXA8DdE+5PgLIsM0rp100ApTRL0/Q7DENcBpIkqfq+x3Ec8DzvGhBF0VPTNNj3Hdu2wbbt80AQBK+MMez7jnmesa4rTNM8B/i+/1mWJbZtwziOYIxhmiZomnYOcBznI45jLMuCtm2R5zm6rgMh5BxgGMaDruvvrutiGAZkWYa6rqGq6rUjEkLebNtGVVUoigKyLF+vUVGUF8uykCQJJEnCTUMSRfHZMAyIooibp8zz/KMgCPi/Z/otPwMAtKTYr7dLeeEAAAAASUVORK5CYII=\")}.bk-ui-rangeSlider-arrow.bk-ui-rangeSlider-rightArrow{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAPlJREFUeNrE0ztqhlAUBOC/yLoUfKBga2WpKBYKgp21+ncRuYrPK0FtxBRCQCwsXEvWkDqTLagJpJj2K+aceQB4/CaPPwcopV9t2z5vA13XoWmab0LI8xZQliWO48AwDAjD8PUykCQJ9n3Htm3Isgye53WXgDiOsa4r5nnGsiyIogiapo2ngSAIsCwL2rYFpRTjOML3fSiK8nkKcF0X0zSBEII8z0EpheM4kGX54xSg6zr6vkeapqiqCrZtQxTFd5ZlX04BqqqirmsURQHLsiAIwnSpREVRQAiBaZrgOK6/fEZJkmAYBliWfbv1SDzPg2GY5v/GdDU/AwDyYNzeUSg0WgAAAABJRU5ErkJggg==\")}.bk-ui-rangeSlider-label{background-image:url(\"data:image/png;base64,[encoded data, 12460 characters]\")}.bk-slick-sort-indicator-desc{background-image:url(\"data:image/gif;base64,R0lGODlhDQAFAIcAAGGQzUD/QOPu+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAMAAAEALAAAAAANAAUAAAgeAAUAGEgQgIAACBEKLHgwYcKFBh1KFNhQosOKEgMCADs=\")}.bk-slick-sort-indicator-asc{background-image:url(\"data:image/gif;base64,R0lGODlhDQAFAIcAAGGQzUD/QOPu+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAMAAAEALAAAAAANAAUAAAgbAAMIDABgoEGDABIeRJhQ4cKGEA8KmEiRosGAADs=\")}.bk-slick-header-columns{background-image:url(\"data:image/gif;base64,R0lGODlhAgAYAIcAANDQ0Ovs7uzt7+3u8O7v8e/w8vDx8/Hy9Pn5+QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAP8ALAAAAAACABgAAAghABEIHEiwYMEDCA8YWMiwgMMCBAgMmDhAgIAAGAMAABAQADs=\")}.bk-slick-header-column{background-image:url(\"data:image/gif;base64,R0lGODlhAgAYAIcAANDQ0Ovs7uzt7+3u8O7v8e/w8vDx8/Hy9Pn5+QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAP8ALAAAAAACABgAAAghABEIHEiwYMEDCA8YWMiwgMMCBAgMmDhAgIAAGAMAABAQADs=\")}.bk-slick-header-column:hover,.bk-slick-header-column-active{background-image:url(\"data:image/gif;base64,R0lGODlhAgAWAIcAAKrM9tno++vz/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAP8ALAAAAAACABYAAAgUAAUIHEiwoIAACBMqXMhwIQAAAQEAOw==\")}.bk-slick-group-toggle.expanded{background-image:url(\"data:image/gif;base64,R0lGODlhCQAJAPcAAAFGeoCAgNXz/+v5/+v6/+z5/+36//L7//X8//j9/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAACQAJAAAIMwADCBxIUIDBgwIEChgwwECBAgQUFjBAkaJCABgxGlB4AGHCAAIQiBypEEECkScJqgwQEAA7\")}.bk-slick-group-toggle.collapsed{background-image:url(\"data:image/gif;base64,R0lGODlhCQAJAPcAAAFGeoCAgNXz/+v5/+v6/+z5/+36//L7//X8//j9/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAACQAJAAAIOAADCBxIUIDBgwIEChgwAECBAgQUFjAAQIABAwoBaNSIMYCAAwIqGlSIAEHFkiQTIBCgkqDLAAEBADs=\")}.bk-slick-header-menubutton{background-image:url(\"data:image/gif;base64,R0lGODlhDgAOAIABADtKYwAAACH5BAEAAAEALAAAAAAOAA4AAAISjI+py+0PHZgUsGobhTn6DxoFADs=\")}.bk-slick-pager{background-image:url(\"data:image/gif;base64,R0lGODlhAgAYAIcAANDQ0Ovs7uzt7+3u8O7v8e/w8vDx8/Hy9Pn5+QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAP8ALAAAAAACABgAAAghABEIHEiwYMEDCA8YWMiwgMMCBAgMmDhAgIAAGAMAABAQADs=\")}.bk-ui-widget-content{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAABkCAYAAAD0ZHJ6AAAAeUlEQVRoge3OMQHAIBAAsVL/nh8JDDfAkCjImpn5HvbfDpwIVoKVYCVYCVaClWAlWAlWgpVgJVgJVoKVYCVYCVaClWAlWAlWgpVgJVgJVoKVYCVYCVaClWAlWAlWgpVgJVgJVoKVYCVYCVaClWAlWAlWgpVgJVgJVhtqiwTEKTLXTgAAAABJRU5ErkJggg==\")}.bk-ui-widget-header{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAYAAABHLFpgAAAALElEQVQYlWN49OjRfyYGBgaGIUT8//8fSqBx0Yh///4RL8vAwAAVQ2MNOwIAl6g6KkOJwk8AAAAASUVORK5CYII=\")}.bk-ui-state-default,.bk-ui-widget-content .bk-ui-state-default,.bk-ui-widget-header .bk-ui-state-default{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQCAYAAABvWArbAAAANUlEQVQ4je3LMQoAIBADwb38/6t5wFXaWAiCtUiaYZvF9hBACOFbuntVVe11B0CSjjeE8BwThQIJ8dhEl0YAAAAASUVORK5CYII=\")}.bk-ui-state-hover,.bk-ui-widget-content .bk-ui-state-hover,.bk-ui-widget-header .bk-ui-state-hover,.bk-ui-state-focus,.bk-ui-widget-content .bk-ui-state-focus,.bk-ui-widget-header .bk-ui-state-focus{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQCAYAAABvWArbAAAANklEQVQ4jWN48uTJfyYGBgaGUWKUGCWGLfHt2zcoi5GREYNgYmJCZiG42IiB98woMUqMEtgIAMdjCdyg+eEBAAAAAElFTkSuQmCC\")}.bk-ui-state-active,.bk-ui-widget-content .bk-ui-state-active,.bk-ui-widget-header .bk-ui-state-active{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQCAYAAABvWArbAAAAMElEQVQ4je3LIQ4AIBTD0O3f/8wrFgmKhMy8pKJKwkhSKeVbbGuAPU9f4PIopTxgAeS0DRtI4yK0AAAAAElFTkSuQmCC\")}.bk-ui-state-highlight,.bk-ui-widget-content .bk-ui-state-highlight,.bk-ui-widget-header .bk-ui-state-highlight{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQCAYAAABvWArbAAAAP0lEQVQ4je3PMQrAMABC0a/3v2zX0mCXNkOgc6C4PARd5DqPGKCU8luS8SbAQhiCQRgJE56kZTfbbP9RSvnkBsWcEAZRWcgqAAAAAElFTkSuQmCC\")}.bk-ui-state-error,.bk-ui-widget-content .bk-ui-state-error,.bk-ui-widget-header .bk-ui-state-error{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQCAYAAABvWArbAAAAPklEQVQ4je3PMQqAMABD0Z/c/7aCIAXjJIhD10LJ8vgZw30eMUApZV/GhZNgSTjoLYElY/hNMJ/S6gullCkPiCIPCr4NiEwAAAAASUVORK5CYII=\")}.bk-ui-icon,.bk-ui-widget-content .bk-ui-icon,.bk-ui-widget-header .bk-ui-icon{background-image:url(\"data:image/png;base64,[encoded data, 5828 characters]\")}.bk-ui-state-default .bk-ui-icon{background-image:url(\"data:image/png;base64,[encoded data, 5828 characters]\")}.bk-ui-state-hover .bk-ui-icon,.bk-ui-state-focus .bk-ui-icon,.bk-ui-state-active .bk-ui-icon{background-image:url(\"data:image/png;base64,[encoded data, 5828 characters]\")}.bk-ui-state-highlight .bk-ui-icon{background-image:url(\"data:image/png;base64,[encoded data, 5828 characters]\")}.bk-ui-state-error .bk-ui-icon,.bk-ui-state-error-text .bk-ui-icon{background-image:url(\"data:image/png;base64,[encoded data, 5828 characters]\")}.bk-ui-widget-overlay,.bk-ui-widget-shadow{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAABkCAYAAAD0ZHJ6AAAAe0lEQVRoge3OMQHAIBAAMcC/kjdZJHTI0A4XBdkz86wfO18H3hRUBVVBVVAVVAVVQVVQFVQFVUFVUBVUBVVBVVAVVAVVQVVQFVQFVUFVUBVUBVVBVVAVVAVVQVVQFVQFVUFVUBVUBVVBVVAVVAVVQVVQFVQFVUFVUBVUF8O8A8WdY6opAAAAAElFTkSuQmCC\")}.tableelem{padding:2px 10px;border:2px white;background-color:#e0e0e0}.tableheader{background-color:silver}#notebook .bk-plot-wrapper table{border:none !important}#notebook .bk-plot-wrapper table tr{border:none !important}#notebook .bk-plot-wrapper table tr td{border:none !important;padding:0 !important;margin:0 !important}#notebook .bk-plot-wrapper table tr td.bk-plot-above{border-bottom:2px solid #efefef !important}#notebook .bk-plot-wrapper table tr td.bk-plot-below{border-top:2px solid #efefef !important}#notebook .bk-plot-wrapper table tr td.bk-plot-left{border-right:2px solid #efefef !important}#notebook .bk-plot-wrapper table tr td.bk-plot-right{border-left:2px solid #efefef !important}.bk-table table tr td{padding:2px}.bk-table form table tr td{padding:2px}.bk-table form table tr td input{padding:0}.jsp:after,.bk-plot:after,.bk-canvas-wrapper:after,.bk-sidebar:after,.bk-box:after{content:\" \";height:0;display:block;clear:both}.bk-canvas-wrapper .bk-resize-popup{position:absolute;left:0;top:0;width:40px;height:40px;overflow:hidden;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAEnSURBVEiJzZXBioQwDIb/XQuF6U3wCRSEvv8zeFOoB2++QD14aqHSOntYtthxdHesDptTk4Z+hKR/PqqquuNi+7wa8DYIWTplWSJN0yDBGAMhBJxzhyFBJY8AACCErGKv2u4L1lp0XRdVBfBLTwghuN1uUYBNiDHGn4uiQJZl50GmaYJSCm3bou/700BBT4QQAL57IaUEAOR57kEAMAxDHMRaG1wuQc45aK1fBqwgz+wHpJSCUuoayBJ01P6/djHG/jR1hzWDMQbOuZedvak7XAljzAMe/xGlFEmSeP9wJVv/SGsNzjmcc2iaJg6yBbLWghASqHf0dEkpAwl6thpOGWGl1O46iIZQSsE5Dxp9OsQ5h3meV/FxHP05erdaa1HX9W7OW2TlC31ceRWbb5+AAAAAAElFTkSuQmCC);background-position:bottom right;background-repeat:no-repeat;cursor:se-resize}.bk-canvas-wrapper:hover .bk-resize-popup{display:block}.bk-sidebar.bk-logo{margin:5px auto}.bk-logo{position:relative;display:block;background-repeat:no-repeat}.bk-logo.grey{filter:url(\"data:image/svg+xml;utf8,<svgxmlns=\\'http://www.w3.org/2000/svg\\'><filterid=\\'grayscale\\'><feColorMatrixtype=\\'matrix\\'values=\\'0.33330.33330.3333000.33330.33330.3333000.33330.33330.33330000010\\'/></filter></svg>#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/MFFu3j3Gz7gQBLygS2RGumBkL0cubiFRsR3LzVBV1UMk3IrW73PT9C2lYOwhQB4ClhX1AuKpjLcV27oEjyUpNUJCg1CvcejykWTCXyQgzic2HIIBjg3pS6+uRLKAhumZvD4U+tq0jTrgkVKQQtLekfTtxIPAkhTNF6G7kZm7aPp6M9myKVQEoaYaIhEQYvD781DML/RfBGNZXAl4irJiwBa07e/y7cQnBaJghIX6ENl2GR/fGCBoz6cm5qeyEqQA5ZYA5x5eeiV0Qph4gjFAUSwAr6QllQgcxS/Jm25Cr2Tmpsk03XI9NfI31FTZBEOgVOk51adqDBNPCNPSRlkiDXbBEwOU2WxH+I7itQZ62g56OjM33suq1YsZHVtGZSUI2QdyYgkgOthQNIF7BIGDnRAJgJSgj69cUx1gB8PkOGwL4E1gPrM27gIg7NlGKLQApc7BmEnAxP5g/rw4YqBrCDB5xHkw5rdR/1qTrN/hKNo6YUwVDNpFsnjYS8RbidBPcPXFP6R6yfExuOXmN4A3jv1+8ZUwgY9D2OWjUZE6lO88jDwHI8ZixGiMKSeYTBamCoDk6kDAb6y1OcH1a6KpD/fZesoFw5FlIXAVCIiH4PxrV+p2npVDToTBmtjY8t1swh2V61E9KqWiyuPEjM8dbfxuvfa49Zayf9R136Wr8mBSf/T7bNteA8zwaGEUbFpckWwq95n59dUIywKl2fbOIS5e8bWSu0tJ1a5redAYfqkdjesodFajcgaVNWhXo1C9SrkN3Usmv3UMJrc6/DDwkwEntkEJLe67tSLhvyzK8rHDQWleve5CGk4VZEB1r+5bg2E2si+Y0QatDK6jUVkX5eg2YYlp++ZM+rfMNYamAj8Y7MAVWFqaR1f/t2xzU4IHjybBtthzuiAASqv7jTF7jOqDMAakFHgDNsFyP+FhwZHBmH9F7cutIYkQCylYYv1AZSqsn1/+bX51OMMjPSl2nAnM7hnjOx2v53YgNWAzHM9Q/9l0lQWPSCBSyokAtOBC1Rj+w/1Xs+STDp4/E5g7Rs2zm2+oeVd7PUuHKDf6A4r5EsPT5K3gfCnBXNUYnvGzb+KcCczYYWOnLpy4eOXuG2oec0PBN8XQQAnpvS35AvAykr56rWhPBiV4MvtceGLxk5Mr6A1O8IfK7rl7xJ0r9kyumuP4fa0lMqTBLJIAJqEf1J3qE92lMBndlyfRD2YBghHC4hlny7ASqCeWo5zaoDdIWfnIefNGTb9fC73QDfhyBUCNOxrGPSUBfPem9us253YTV+3mcBbdkUYfzmHiLqZbYdIGHHON2ZlemXouaJUOO6TqtdHEQuXYY8Yt+EbDgmlS6RdzkaDTv2P9A3gICiq93sWhb5mc5wVhuU3Y7m5hOc3So7qFT3SLgOXHb/cyOfMn7xROegoC/PTcn3v8gbKPgDopJFk3R/uBPWQiwQ+2/GJevRMObLUzqe/saJjQUQTTftEVMW9tWxPgAocwcj9abNcZe7s+6t2R2xXZG7zyYLp8Q1PiRBBHym5bYuXi8Qt+/LvGu9f/5YDAxABsaRNPH6Xr4D4Sk87a897SOy9v/fKwjoF2eQel95yDESGEF6gEMwKhLwKus3wOVjTtes7qzgLdXTMnNCNoEpbcrtNuq6N7Xh/+eqcbj94xQkp7mdKpW5XbtbR8Z26kgMCAf2UU5YEovRUVRHbu2b3vK1UdDFkDCyMRQxbpdv8nhKAGIa7QaQedzT07fFPny53R738JoVYBdVrnsNx9XZ9v33UeGO+AA2MMUkgqQ5UcdDLZSFeVgONnXeHqSAC5Ew1BXwko0D1Zct3dT1duOjS3MzZnEUJtBuoQAq3SGOLR4ekjn9NC5nVOaYXf9lETrUkmOJy3pOz8OKIb2A1cWhJCCEzOxU2mUPror+2/L3yyM3pkM7jTjr1nBOgkGeyQ7erxpdJsMAS9wb2F9rzMxNY1K2PMU0WtZV82VU8Wp6vbKJVo9Lx/+4cydORdxCCQ/kDGTZCWsRpLu7VD7bfKqL8V2orKTp/PtzaXy42jr6TwAuisi+7JolUG4wY+8vyrISCMtRrLKWpvjAOqx/QGhp0rjRo5xD3x98CWQuOQN8qumRMmI7jKZPUEpzNVZsj4Zbaq1to5tZZsKIydLWojhIXrJnES79EaOzv3du2NytKuxzJKAA6wF8xqEE8s2jo/1wd/khslQGxd81Zg62Bbp31XBH+iETt7Y3ELA0iU6iGDlQ5mexe0VEx4a3x8V1AaYwFJgTiwaOsDmeK2J8nMUOqsnB1A+dcA04ucCYt0urkjmflk9iT2v30q/gZn5rQPvor4n9Ou634PeBzoznes/iot/7WnClKoM/+zCIjH5kwT8ChQjTHPIPTjFV3PpU/Hx+DM/A9U3IXI4SPCYAAAAABJRU5ErkJggg==)}.bk-logo-large{width:75px;height:75px;background-image:url(data:image/png;base64,[encoded data, 6760 characters])}.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>li:last-child:after{content:\"|\";font-size:90%;color:lightgray;display:inline-block;float:left;height:28px;line-height:28px;padding:0 3px}.bk-button-bar-list.bk-bs-dropdown:after{content:\"|\";font-size:90%;color:lightgray;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:lightgray;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:0;border-radius:0 !important;-moz-border-radius:0 !important;-webkit-border-radius:0 !important;background:transparent !important}.bk-button-bar-list .bk-toolbar-button .bk-btn-icon{height:16px;margin:0 !important;border:none !important;background:transparent !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-button-bar-list li::hover .bk-toolbar-button{cursor:pointer;background:transparent !important}.bk-button-bar-list li:hover .bk-toolbar-button span.tip:before{display:inline-block}.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:none !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-below.bk-toolbar-active .bk-button-bar .bk-button-bar-list{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,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-toolbar-button{float:left}.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 10px}.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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo3NzIwRUFGMDYyMjE2ODExOTdBNUNBNjVEQTY5OTRDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDQjA4MDBGRDQ3NjExMUU0QjI1NEVEQTlCODRBRDIyNiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDQjA4MDBGQzQ3NjExMUU0QjI1NEVEQTlCODRBRDIyNiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6N0Y0M0E0Nzk5NDIyNjgxMTk3QTVDQTY1REE2OTk0Q0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NzcyMEVBRjA2MjIxNjgxMTk3QTVDQTY1REE2OTk0Q0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4te1g5AAAAk0lEQVR42mL8//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 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:before,.bk-plot-right.bk-toolbar-active .bk-button-bar:before,.bk-plot-left.bk-toolbar-active .bk-button-bar:after,.bk-plot-right.bk-toolbar-active .bk-button-bar:after{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:before,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown:before{top:}.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:0;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 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:lightgray;display:inline-block;width:0;height:0;position:relative;left:11px;top:3px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.bk-crossfilter-row{margin-left:-15px;margin-right:-15px;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;display:inline-block;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%;margin-bottom:20px;border-top:0;margin-bottom:0;text-align:left}.bk-table>thead>tr>th,.bk-table>tbody>tr>th,.bk-table>tfoot>tr>th,.bk-table>thead>tr>td,.bk-table>tbody>tr>td,.bk-table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.bk-table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.bk-table>caption+thead>tr:first-child>th,.bk-table>colgroup+thead>tr:first-child>th,.bk-table>thead:first-child>tr:first-child>th,.bk-table>caption+thead>tr:first-child>td,.bk-table>colgroup+thead>tr:first-child>td,.bk-table>thead:first-child>tr:first-child>td{border-top:0}.bk-table>tbody+tbody{border-top:2px solid #ddd}.bk-table .bk-bs-table{background-color:#fff}.bk-table>thead>tr>th,.bk-table>tbody>tr>th,.bk-table>tfoot>tr>th,.bk-table>thead>tr>td,.bk-table>tbody>tr>td,.bk-table>tfoot>tr>td{padding:5px}.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-top:0;padding-bottom:0;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;display:inline-block}.bk-facet-label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;background-color:#5bc0de;margin-left:5px;display:inline-block;cursor:pointer}.bk-facet-label[href]:hover,.bk-facet-label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.bk-facet-label:empty{display:none}.bk-bs-btn .bk-facet-label{position:relative;top:-1px}.bk-facet-label[href]:hover,.bk-facet-label[href]:focus{background-color:#31b0d5}.bk-filters-selections .bk-sidebar{-webkit-transform:scale(0.5,0.5) !important;transform:scale(0.5,0.5) !important}.bk-crossfilter .bk-widget-form{padding:5px}.bk-data-table{font-size:11px}.bk-data-table input[type=\"checkbox\"]{margin-left:4px;margin-right:4px}.bk-data-table *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.bk-data-table *:before,.bk-data-table *:after{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.bk-cell-special-defaults{border-right-color:silver;border-right-style:solid;background:#f5f5f5}.bk-cell-select{border-right-color:silver;border-right-style:solid;background:#f5f5f5}.bk-cell-index{border-right-color:silver;border-right-style:solid;background:#f5f5f5;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.active{border-style:dashed}.bk-slick-cell.editable{padding-left:0;padding-right:0}.bk-cell-editor input,.bk-cell-editor select,.bk-cell-editor .bk-ui-spinner{width:100%;height:100%;border:0;margin:0;padding:0;outline:0;background:transparent;vertical-align:baseline}.bk-cell-editor input{padding-left:4px;padding-right:4px}.bk-cell-editor-completion{font-size:11px}.bk-hbox{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:-ms-flexbox;display:box;box-orient:horizontal;box-align:stretch;display:flex;display:-webkit-flex;flex-direction:row;flex-wrap:nowrap}.bk-vbox{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;width:auto}.bk-widget-form{padding:30px 30px 30px 30px;overflow:hidden}.bk-widget-form-group{margin-bottom:15px}.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;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-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,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,0.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-button-bar{margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:2px;position:relative;display:inline-block;vertical-align:middle}.bk-button-bar>.bk-bs-btn{position:relative;float:left}.bk-button-bar>.bk-bs-btn:hover,.bk-button-bar>.bk-bs-btn:focus,.bk-button-bar>.bk-bs-btn:active,.bk-button-bar>.bk-bs-btn.bk-bs-active{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{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px;color:#333;background-color:#fff;border-color:#ccc}.bk-toolbar-button:focus,.bk-toolbar-button:active:focus,.bk-toolbar-button.bk-bs-active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.bk-toolbar-button:hover,.bk-toolbar-button:focus{color:#333;text-decoration:none}.bk-toolbar-button:active,.bk-toolbar-button.bk-bs-active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,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-toolbar-button:hover,.bk-toolbar-button:focus,.bk-toolbar-button:active,.bk-toolbar-button.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-toolbar-button{color:#333;background-color:#ebebeb;border-color:#adadad}.bk-toolbar-button:active,.bk-toolbar-button.bk-bs-active,.bk-bs-open .bk-bs-dropdown-toggle.bk-toolbar-button{background-image:none}.bk-toolbar-button.bk-bs-disabled,.bk-toolbar-button[disabled],fieldset[disabled] .bk-toolbar-button,.bk-toolbar-button.bk-bs-disabled:hover,.bk-toolbar-button[disabled]:hover,fieldset[disabled] .bk-toolbar-button:hover,.bk-toolbar-button.bk-bs-disabled:focus,.bk-toolbar-button[disabled]:focus,fieldset[disabled] .bk-toolbar-button:focus,.bk-toolbar-button.bk-bs-disabled:active,.bk-toolbar-button[disabled]:active,fieldset[disabled] .bk-toolbar-button:active,.bk-toolbar-button.bk-bs-disabled.bk-bs-active,.bk-toolbar-button[disabled].bk-bs-active,fieldset[disabled] .bk-toolbar-button.bk-bs-active{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;margin:-7px 0 0 0;top:50%;width:0;height:0;border-style:solid;border-width:7px 0 7px 0;border-color:transparent;content:\" \";display:block;left:-10px;border-right-width:10px;border-right-color:#1e4b6c}.bk-tooltip.bk-right::after{position:absolute;margin:-7px 0 0 0;top:50%;width:0;height:0;border-style:solid;border-width:7px 0 7px 0;border-color:transparent;content:\" \";display:block;right:-10px;border-left-width:10px;border-left-color:#1e4b6c}.bk-tooltip.bk-tooltip-custom.bk-left::before{border-right-color:black}.bk-tooltip.bk-tooltip-custom.bk-right::after{border-left-color:black}.bk-tooltip.bk-tooltip-custom{border-color:black;background-color:white}.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}\n",
       "        /*# sourceMappingURL=bokeh.min.css.map */\n",
       "        /* END C:\\Users\\Bradlee Speice\\Anaconda3\\lib\\site-packages\\bokeh\\server\\static\\css/bokeh.min.css */\n",
       "</style>\n",
       "    <div>\n",
       "        <a href=\"http://bokeh.pydata.org\" target=\"_blank\" class=\"bk-logo bk-logo-small bk-logo-notebook\"></a>\n",
       "        <span>BokehJS successfully loaded.</span>\n",
       "    </div>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import pickle\n",
    "import pandas as pd\n",
    "import numpy as np\n",
    "from bokeh.plotting import output_notebook, figure, show\n",
    "from bokeh.palettes import RdBu4 as Palette\n",
    "from datetime import datetime\n",
    "import warnings\n",
    "\n",
    "output_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "After taking some time to explore how the weather in North Carolina stacked up over the past years, I was interested in doing the same analysis for other cities. Growing up with family from Binghamton, NY I was always told it was very cloudy there. And Seattle has a nasty reputation for being very depressing and cloudy. All said, the cities I want to examine are:\n",
    "- Binghamton, NY\n",
    "- Cary, NC\n",
    "- Seattle, WA\n",
    "- New York City, NY\n",
    "\n",
    "I'd be interested to try this analysis worldwide at some point - comparing London and Seattle might be an interesting analysis. For now though, we'll stick with trying out the US data.\n",
    "\n",
    "There will be plenty of charts. I want to know: **How has average cloud cover and precipitation chance changed over the years for each city mentioned?** This will hopefully tell us whether Seattle has actually earned its reputation for being a depressing city."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "city_forecasts = pickle.load(open('city_forecasts.p', 'rb'))\n",
    "forecasts_df = pd.DataFrame.from_dict(city_forecasts)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "cities = ['binghamton', 'cary', 'nyc', 'seattle']\n",
    "city_colors = {cities[i]: Palette[i] for i in range(0, 4)}\n",
    "\n",
    "def safe_cover(frame):\n",
    "    if frame and 'cloudCover' in frame:\n",
    "        return frame['cloudCover']\n",
    "    else:\n",
    "        return np.NaN\n",
    "\n",
    "def monthly_avg_cloudcover(city, year, month):\n",
    "    dates = pd.DatetimeIndex(start=datetime(year, month, 1, 12),\n",
    "                             end=datetime(year, month + 1, 1, 12),\n",
    "                             freq='D', closed='left')\n",
    "    cloud_cover_vals = list(map(lambda x: safe_cover(forecasts_df[city][x]['currently']), dates))\n",
    "    cloud_cover_samples = len(list(filter(lambda x: x is not np.NaN, cloud_cover_vals)))\n",
    "    # Ignore an issue with nanmean having all NaN values. We'll discuss the data issues below.\n",
    "    with warnings.catch_warnings():\n",
    "        warnings.simplefilter('ignore')\n",
    "        return np.nanmean(cloud_cover_vals), cloud_cover_samples"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"b4884a12-6ba4-4522-abef-97f57fbc29cd\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"b4884a12-6ba4-4522-abef-97f57fbc29cd\"}}, {\"id\": \"d9ec9e91-1f98-4c37-af6f-0aa93cdd2d64\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"d9ec9e91-1f98-4c37-af6f-0aa93cdd2d64\", \"tags\": [], \"names\": []}}, {\"id\": \"1efa9bba-f651-4d2e-88ea-ce563c14cc39\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"1efa9bba-f651-4d2e-88ea-ce563c14cc39\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"22839836-d087-4859-85bc-ceb282e8a7a2\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"22839836-d087-4859-85bc-ceb282e8a7a2\", \"num_minor_ticks\": 5}}, {\"id\": \"8a04fa05-bea6-49f8-ad99-a2a9b5cf3250\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"8a04fa05-bea6-49f8-ad99-a2a9b5cf3250\"}}, {\"id\": \"d55ed016-a3bd-4e5b-964e-d07520803c11\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"d55ed016-a3bd-4e5b-964e-d07520803c11\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"22839836-d087-4859-85bc-ceb282e8a7a2\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"5219d765-7a33-41d9-bde5-b3acd26ab5db\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"771e26e9-48ee-4825-a174-2b050cdc14f3\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"8118ba3b-7674-49b2-a99c-34f4bb5bc7cb\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"d6439fe5-b00f-4522-97d3-3ab0667cc421\", \"type\": \"ColumnDataSource\"}, \"id\": \"771e26e9-48ee-4825-a174-2b050cdc14f3\", \"glyph\": {\"id\": \"b64a9472-6666-416e-bcc6-cb2912a68f22\", \"type\": \"Line\"}}}, {\"id\": \"4904079a-24d3-4563-8fcc-661c4172ab8a\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"4904079a-24d3-4563-8fcc-661c4172ab8a\", \"data\": {\"y\": [0.42903225806451617, 0.5716129032258064, 0.6193548387096776, 0.8848387096774194, 0.5203225806451612, 0.5432258064516129, \"NaN\", 0.6319354838709678, 0.7064516129032258, 0.5496774193548387, 0.7264516129032259, 0.6538709677419355, 0.6093548387096774, 0.41032258064516125, 0.5919354838709677, 0.436, 0.512258064516129, 0.45225806451612904, 0.5377419354838711, 0.3670967741935484, 0.6435483870967742, 0.5696774193548387, 0.6587096774193549, 0.5854838709677419, 0.05368421052631579, 0.03944444444444444], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"f3b56429-29c0-4c83-8eb1-949f78363ca5\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"f3b56429-29c0-4c83-8eb1-949f78363ca5\", \"tags\": [], \"axis_label\": \"Cloud Cover Percentage\", \"ticker\": {\"id\": \"0424f9a7-6aa9-436b-80c3-846821b12331\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"2af7dd99-2a0a-4132-afe3-e7f7c2776fad\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"5b071d1c-68b0-458b-bde4-bbe17fb1e9fd\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"5b071d1c-68b0-458b-bde4-bbe17fb1e9fd\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"5a51f0e8-85c6-4aad-a0e1-feb10e1675a9\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"5a51f0e8-85c6-4aad-a0e1-feb10e1675a9\"}}, {\"id\": \"d6439fe5-b00f-4522-97d3-3ab0667cc421\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"d6439fe5-b00f-4522-97d3-3ab0667cc421\", \"data\": {\"y\": [0.7206451612903227, 0.6683870967741934, 0.6487096774193548, 0.554516129032258, 0.6319354838709679, 0.635483870967742, 0.6541379310344827, 0.5693548387096775, 0.6058064516129031, 0.5593548387096773, 0.6693548387096774, 0.47322580645161294, 0.4758064516129033, 0.3793548387096774, 0.5467741935483871, 0.3793548387096775, 0.21290322580645157, 0.24935483870967737, 0.21096774193548384, 0.26161290322580644, 0.2670967741935484, 0.15193548387096772, 0.32064516129032256, 0.5935483870967742, 0.17190476190476192, 0.16478260869565217], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"8118ba3b-7674-49b2-a99c-34f4bb5bc7cb\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"8118ba3b-7674-49b2-a99c-34f4bb5bc7cb\"}}, {\"id\": \"2af7dd99-2a0a-4132-afe3-e7f7c2776fad\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"2af7dd99-2a0a-4132-afe3-e7f7c2776fad\", \"doc\": null, \"tags\": []}}, {\"id\": \"19daeefe-dd23-4a91-badd-2d99fd903e50\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"19daeefe-dd23-4a91-badd-2d99fd903e50\", \"data\": {\"y\": [0.7132258064516128, 0.6416129032258064, 0.762258064516129, 0.6109677419354839, 0.7029032258064516, 0.7199999999999999, \"NaN\", 0.3483870967741935, 0.3890322580645161, 0.329032258064516, 0.4996774193548387, 0.4329032258064517, 0.354516129032258, 0.4774193548387097, 0.5548387096774193, 0.3645161290322581, 0.3722580645161291, 0.37935483870967734, 0.41838709677419345, 0.36064516129032254, 0.44967741935483857, 0.27419354838709675, 0.41903225806451616, 0.5132258064516128, 0.19090909090909092, 0.15923076923076923], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"a9caebbd-7447-40e3-920f-c9093387f936\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"a9caebbd-7447-40e3-920f-c9093387f936\"}}, {\"id\": \"35f233bd-dc64-48cb-9a22-93743447b3c6\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"8a04fa05-bea6-49f8-ad99-a2a9b5cf3250\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"19daeefe-dd23-4a91-badd-2d99fd903e50\", \"type\": \"ColumnDataSource\"}, \"id\": \"35f233bd-dc64-48cb-9a22-93743447b3c6\", \"glyph\": {\"id\": \"a9caebbd-7447-40e3-920f-c9093387f936\", \"type\": \"Line\"}}}, {\"id\": \"3203989d-e17b-4b6b-b0c1-18f13cdf61be\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"eb9413ac-a9f8-453e-bcab-c1a142ea31dd\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"83ed1ad0-0d27-48a3-a7bb-cac77052cadc\", \"type\": \"ColumnDataSource\"}, \"id\": \"3203989d-e17b-4b6b-b0c1-18f13cdf61be\", \"glyph\": {\"id\": \"6311254a-0d17-40d4-8b96-2970e76b0661\", \"type\": \"Line\"}}}, {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"06844e29-9ec6-44d5-87d4-5e61450a2bd2\", \"type\": \"PanTool\"}, {\"id\": \"f5c800fc-3884-489b-a46a-c03c5f76c726\", \"type\": \"WheelZoomTool\"}, {\"id\": \"d2d2c775-c82d-46d1-a720-2cca129f6061\", \"type\": \"BoxZoomTool\"}, {\"id\": \"5b071d1c-68b0-458b-bde4-bbe17fb1e9fd\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"ae74a984-e56f-4a58-95d5-e2ec5c7908ff\", \"type\": \"ResizeTool\"}, {\"id\": \"1efa9bba-f651-4d2e-88ea-ce563c14cc39\", \"type\": \"ResetTool\"}, {\"id\": \"baf82795-5f14-4c93-b73e-5d7f093d5231\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"f3b56429-29c0-4c83-8eb1-949f78363ca5\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"51e90b6c-f348-4c98-a28a-c3bf2fc56d1a\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"d55ed016-a3bd-4e5b-964e-d07520803c11\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"title\": \"July Average Cloud Cover\", \"renderers\": [{\"id\": \"d55ed016-a3bd-4e5b-964e-d07520803c11\", \"type\": \"LinearAxis\"}, {\"id\": \"477ceae0-0514-4a5a-9619-e39d261e2f58\", \"type\": \"Grid\"}, {\"id\": \"f3b56429-29c0-4c83-8eb1-949f78363ca5\", \"type\": \"LinearAxis\"}, {\"id\": \"efa2c7fe-8550-4a6b-9d4b-95aa0075a260\", \"type\": \"Grid\"}, {\"id\": \"947a74fa-980a-48d2-acec-1afcbaaf4e0f\", \"type\": \"Legend\"}, {\"id\": \"35f233bd-dc64-48cb-9a22-93743447b3c6\", \"type\": \"GlyphRenderer\"}, {\"id\": \"3203989d-e17b-4b6b-b0c1-18f13cdf61be\", \"type\": \"GlyphRenderer\"}, {\"id\": \"771e26e9-48ee-4825-a174-2b050cdc14f3\", \"type\": \"GlyphRenderer\"}, {\"id\": \"83a5031e-6a96-406b-b6de-be32bed7d376\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"172cae0a-81a5-48e4-8351-6a638af721e5\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"d9ec9e91-1f98-4c37-af6f-0aa93cdd2d64\", \"type\": \"DataRange1d\"}}}, {\"id\": \"06844e29-9ec6-44d5-87d4-5e61450a2bd2\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"06844e29-9ec6-44d5-87d4-5e61450a2bd2\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"172cae0a-81a5-48e4-8351-6a638af721e5\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"172cae0a-81a5-48e4-8351-6a638af721e5\", \"tags\": [], \"names\": []}}, {\"id\": \"d2d2c775-c82d-46d1-a720-2cca129f6061\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"d2d2c775-c82d-46d1-a720-2cca129f6061\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"477ceae0-0514-4a5a-9619-e39d261e2f58\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"477ceae0-0514-4a5a-9619-e39d261e2f58\", \"ticker\": {\"id\": \"22839836-d087-4859-85bc-ceb282e8a7a2\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"51e90b6c-f348-4c98-a28a-c3bf2fc56d1a\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"51e90b6c-f348-4c98-a28a-c3bf2fc56d1a\", \"geometries\": []}}, {\"id\": \"83a5031e-6a96-406b-b6de-be32bed7d376\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"b4884a12-6ba4-4522-abef-97f57fbc29cd\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"4904079a-24d3-4563-8fcc-661c4172ab8a\", \"type\": \"ColumnDataSource\"}, \"id\": \"83a5031e-6a96-406b-b6de-be32bed7d376\", \"glyph\": {\"id\": \"5a51f0e8-85c6-4aad-a0e1-feb10e1675a9\", \"type\": \"Line\"}}}, {\"id\": \"5219d765-7a33-41d9-bde5-b3acd26ab5db\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"5219d765-7a33-41d9-bde5-b3acd26ab5db\", \"doc\": null, \"tags\": []}}, {\"id\": \"947a74fa-980a-48d2-acec-1afcbaaf4e0f\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"947a74fa-980a-48d2-acec-1afcbaaf4e0f\", \"legends\": [[\"binghamton\", [{\"id\": \"35f233bd-dc64-48cb-9a22-93743447b3c6\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"3203989d-e17b-4b6b-b0c1-18f13cdf61be\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"771e26e9-48ee-4825-a174-2b050cdc14f3\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"83a5031e-6a96-406b-b6de-be32bed7d376\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"f5c800fc-3884-489b-a46a-c03c5f76c726\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"f5c800fc-3884-489b-a46a-c03c5f76c726\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"b64a9472-6666-416e-bcc6-cb2912a68f22\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"b64a9472-6666-416e-bcc6-cb2912a68f22\"}}, {\"id\": \"6311254a-0d17-40d4-8b96-2970e76b0661\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"6311254a-0d17-40d4-8b96-2970e76b0661\"}}, {\"id\": \"baf82795-5f14-4c93-b73e-5d7f093d5231\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"baf82795-5f14-4c93-b73e-5d7f093d5231\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"eb9413ac-a9f8-453e-bcab-c1a142ea31dd\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"eb9413ac-a9f8-453e-bcab-c1a142ea31dd\"}}, {\"id\": \"efa2c7fe-8550-4a6b-9d4b-95aa0075a260\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"efa2c7fe-8550-4a6b-9d4b-95aa0075a260\", \"ticker\": {\"id\": \"0424f9a7-6aa9-436b-80c3-846821b12331\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"id\": \"ae74a984-e56f-4a58-95d5-e2ec5c7908ff\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"ae74a984-e56f-4a58-95d5-e2ec5c7908ff\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"a104c547-ab08-494b-96bf-e9ba30599c1b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"83ed1ad0-0d27-48a3-a7bb-cac77052cadc\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"83ed1ad0-0d27-48a3-a7bb-cac77052cadc\", \"data\": {\"y\": [0.5335483870967742, 0.5903225806451613, 0.4796774193548388, 0.43774193548387097, 0.5967741935483871, 0.47548387096774186, 0.6033333333333334, 0.5216129032258064, 0.5816129032258064, 0.5896774193548387, 0.6803225806451614, 0.7035483870967741, 0.42709677419354836, 0.516774193548387, 0.43096774193548393, 0.4374193548387097, 0.32032258064516134, 0.39967741935483875, 0.375483870967742, 0.5061290322580646, 0.4625806451612904, 0.3635483870967742, 0.4838709677419355, 0.6041935483870967, 0.22565217391304346, 0.1603448275862069], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"0424f9a7-6aa9-436b-80c3-846821b12331\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"0424f9a7-6aa9-436b-80c3-846821b12331\", \"num_minor_ticks\": 5}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': 'd78f4f79-bae2-406b-84fa-31eef82b0790', 'modelid': 'a104c547-ab08-494b-96bf-e9ba30599c1b'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"d78f4f79-bae2-406b-84fa-31eef82b0790\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"4b0986e4-d5fb-42a3-a952-550319c33387\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"4b0986e4-d5fb-42a3-a952-550319c33387\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"f408bbd3-ea64-48bc-9097-612cd3ca18ea\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"f408bbd3-ea64-48bc-9097-612cd3ca18ea\", \"doc\": null, \"tags\": []}}, {\"id\": \"15562c2b-7f90-4c92-8bac-40ec09136aed\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"15562c2b-7f90-4c92-8bac-40ec09136aed\", \"data\": {\"y\": [0.6993548387096774, 0.6167741935483871, 0.5538709677419356, 0.6629032258064516, 0.5548387096774193, 0.6132258064516127, 0.776, 0.5329032258064517, 0.4423333333333333, 0.6799999999999999, 0.6809677419354838, 0.6583870967741937, 0.5341935483870969, 0.5141935483870967, 0.6645161290322581, 0.5593548387096774, 0.4729032258064516, 0.6303333333333333, 0.5448387096774193, 0.6329032258064516, 0.6458064516129032, 0.5526666666666666, 0.4745161290322581, 0.0, 0.069375, 0.08526315789473685], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"d1563daf-7a5f-4ec2-a45b-630f900d02b5\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"d1563daf-7a5f-4ec2-a45b-630f900d02b5\", \"geometries\": []}}, {\"id\": \"59bc643a-0588-4b5a-b2ef-9c2809026532\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"29103846-3255-4d73-b7c9-fa8b68e30f6a\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"e667f73b-7eb9-4746-a78a-f63a426cee8c\", \"type\": \"ColumnDataSource\"}, \"id\": \"59bc643a-0588-4b5a-b2ef-9c2809026532\", \"glyph\": {\"id\": \"129dec42-95d9-426b-9c3b-6bb35ac62684\", \"type\": \"Line\"}}}, {\"id\": \"1326b20f-6852-4723-92e0-2095f49f781e\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"1326b20f-6852-4723-92e0-2095f49f781e\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"ae49370b-ae18-4ac8-82f7-a6c566ea068a\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"ae49370b-ae18-4ac8-82f7-a6c566ea068a\"}}, {\"id\": \"684b2f42-902d-4b0a-995e-17ec9f0bed9d\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"684b2f42-902d-4b0a-995e-17ec9f0bed9d\"}}, {\"id\": \"a568f3e4-2215-457e-8ac7-67741ddbfae7\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"a568f3e4-2215-457e-8ac7-67741ddbfae7\", \"tags\": [], \"names\": []}}, {\"id\": \"d1594aff-65cc-4bd5-804d-f9eb87760820\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"d1594aff-65cc-4bd5-804d-f9eb87760820\", \"num_minor_ticks\": 5}}, {\"id\": \"cef111e3-f074-4c6e-b440-b7a4c505c6e5\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"cef111e3-f074-4c6e-b440-b7a4c505c6e5\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"b5d6f3d8-00bc-4177-b709-3271ec34199c\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"b5d6f3d8-00bc-4177-b709-3271ec34199c\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": []}}, {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"4e1eeddf-605a-450d-9a13-5d9c9b3fb370\", \"type\": \"PanTool\"}, {\"id\": \"4b0986e4-d5fb-42a3-a952-550319c33387\", \"type\": \"WheelZoomTool\"}, {\"id\": \"b5d6f3d8-00bc-4177-b709-3271ec34199c\", \"type\": \"BoxZoomTool\"}, {\"id\": \"1326b20f-6852-4723-92e0-2095f49f781e\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"cef111e3-f074-4c6e-b440-b7a4c505c6e5\", \"type\": \"ResizeTool\"}, {\"id\": \"09935d2e-c85d-4244-9bfb-411ab7ca9799\", \"type\": \"ResetTool\"}, {\"id\": \"8db04ad5-5e6b-466d-a748-8c835d0fee75\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"ec2aea8f-fae1-445f-bb5f-a254137b87c1\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"d1563daf-7a5f-4ec2-a45b-630f900d02b5\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"d4e8ae06-5a92-4ee8-98fe-4b925158da38\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"title\": \"August Average Cloud Cover\", \"renderers\": [{\"id\": \"d4e8ae06-5a92-4ee8-98fe-4b925158da38\", \"type\": \"LinearAxis\"}, {\"id\": \"f6bb2a55-a63f-41a2-bfb9-4b8f12daf942\", \"type\": \"Grid\"}, {\"id\": \"ec2aea8f-fae1-445f-bb5f-a254137b87c1\", \"type\": \"LinearAxis\"}, {\"id\": \"fba6c9d0-d64e-465a-9825-adb725ef60e4\", \"type\": \"Grid\"}, {\"id\": \"080afcc4-3e22-41ae-8107-20c3954612b9\", \"type\": \"Legend\"}, {\"id\": \"21baf1d6-ad1b-4368-8a98-0324df880009\", \"type\": \"GlyphRenderer\"}, {\"id\": \"91a171d4-a17b-4f61-9123-b81d32721d35\", \"type\": \"GlyphRenderer\"}, {\"id\": \"59bc643a-0588-4b5a-b2ef-9c2809026532\", \"type\": \"GlyphRenderer\"}, {\"id\": \"78fe2922-0ced-46ec-884a-e35e55ca7187\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"d3ce5766-852c-4c18-87af-5b7c1033f2d3\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"a568f3e4-2215-457e-8ac7-67741ddbfae7\", \"type\": \"DataRange1d\"}}}, {\"id\": \"4e1eeddf-605a-450d-9a13-5d9c9b3fb370\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"4e1eeddf-605a-450d-9a13-5d9c9b3fb370\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"b2de634e-5a9f-4228-8fd5-7dc2ed6ee5d8\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"b2de634e-5a9f-4228-8fd5-7dc2ed6ee5d8\", \"num_minor_ticks\": 5}}, {\"id\": \"e667f73b-7eb9-4746-a78a-f63a426cee8c\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"e667f73b-7eb9-4746-a78a-f63a426cee8c\", \"data\": {\"y\": [0.6183870967741935, 0.5674193548387096, 0.5925806451612904, 0.5725806451612903, 0.6335483870967743, 0.4732258064516129, 0.581, 0.588709677419355, 0.5690000000000001, 0.6354838709677418, 0.6274193548387096, 0.547741935483871, 0.5241935483870968, 0.43225806451612897, 0.4751612903225806, 0.34677419354838707, 0.35516129032258065, 0.30866666666666664, 0.31483870967741934, 0.38709677419354843, 0.4303225806451612, 0.3333333333333333, 0.2703225806451613, 0.0, 0.17800000000000002, 0.1689655172413793], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"f9802f3b-0415-450e-ae3e-c3a796778bdf\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"f9802f3b-0415-450e-ae3e-c3a796778bdf\"}}, {\"id\": \"d4e8ae06-5a92-4ee8-98fe-4b925158da38\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"d4e8ae06-5a92-4ee8-98fe-4b925158da38\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"d1594aff-65cc-4bd5-804d-f9eb87760820\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"f408bbd3-ea64-48bc-9097-612cd3ca18ea\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"fba6c9d0-d64e-465a-9825-adb725ef60e4\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"fba6c9d0-d64e-465a-9825-adb725ef60e4\", \"ticker\": {\"id\": \"b2de634e-5a9f-4228-8fd5-7dc2ed6ee5d8\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"id\": \"56384119-9490-4285-9998-d49522043ad5\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"56384119-9490-4285-9998-d49522043ad5\", \"data\": {\"y\": [0.6529032258064517, 0.6212903225806452, 0.6741935483870969, 0.7296774193548388, 0.7429032258064515, 0.5577419354838709, 0.526, 0.48741935483870963, 0.2990322580645161, 0.503225806451613, 0.4893548387096774, 0.37322580645161285, 0.3796774193548388, 0.47580645161290325, 0.5470967741935484, 0.44870967741935486, 0.3983870967741936, 0.3309999999999999, 0.397741935483871, 0.4961290322580646, 0.4716129032258064, 0.5163333333333333, 0.4299999999999999, 0.0, 0.16894736842105265, 0.2011538461538461], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"a6450855-4f6b-41dd-bbcd-37cf89f4cc4b\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"a6450855-4f6b-41dd-bbcd-37cf89f4cc4b\"}}, {\"id\": \"080afcc4-3e22-41ae-8107-20c3954612b9\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"080afcc4-3e22-41ae-8107-20c3954612b9\", \"legends\": [[\"binghamton\", [{\"id\": \"21baf1d6-ad1b-4368-8a98-0324df880009\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"91a171d4-a17b-4f61-9123-b81d32721d35\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"59bc643a-0588-4b5a-b2ef-9c2809026532\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"78fe2922-0ced-46ec-884a-e35e55ca7187\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"78fe2922-0ced-46ec-884a-e35e55ca7187\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"0dbfe564-2dcb-4b0a-9847-23268ade620f\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"15562c2b-7f90-4c92-8bac-40ec09136aed\", \"type\": \"ColumnDataSource\"}, \"id\": \"78fe2922-0ced-46ec-884a-e35e55ca7187\", \"glyph\": {\"id\": \"f9802f3b-0415-450e-ae3e-c3a796778bdf\", \"type\": \"Line\"}}}, {\"id\": \"0dbfe564-2dcb-4b0a-9847-23268ade620f\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"0dbfe564-2dcb-4b0a-9847-23268ade620f\"}}, {\"id\": \"f6bb2a55-a63f-41a2-bfb9-4b8f12daf942\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"f6bb2a55-a63f-41a2-bfb9-4b8f12daf942\", \"ticker\": {\"id\": \"d1594aff-65cc-4bd5-804d-f9eb87760820\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"09935d2e-c85d-4244-9bfb-411ab7ca9799\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"09935d2e-c85d-4244-9bfb-411ab7ca9799\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"29103846-3255-4d73-b7c9-fa8b68e30f6a\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"29103846-3255-4d73-b7c9-fa8b68e30f6a\"}}, {\"id\": \"b83c6bd1-13f0-4ae3-b076-d5306f011af6\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"b83c6bd1-13f0-4ae3-b076-d5306f011af6\", \"data\": {\"y\": [0.6532258064516128, 0.6990322580645162, 0.6735483870967741, 0.5064516129032258, 0.5329032258064517, 0.5306451612903227, 0.5311111111111111, 0.48516129032258065, 0.5106451612903226, 0.6361290322580646, 0.5535483870967742, 0.40419354838709676, 0.4232258064516129, 0.4661290322580645, 0.5380645161290323, 0.40709677419354834, 0.44677419354838716, 0.3223333333333334, 0.44677419354838716, 0.537741935483871, 0.49064516129032254, 0.364, 0.5296774193548387, 0.0, 0.18809523809523812, 0.16185185185185186], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"8db04ad5-5e6b-466d-a748-8c835d0fee75\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"8db04ad5-5e6b-466d-a748-8c835d0fee75\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"91a171d4-a17b-4f61-9123-b81d32721d35\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"6f70989e-4e2d-4cc7-aa49-95b055becb5d\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"b83c6bd1-13f0-4ae3-b076-d5306f011af6\", \"type\": \"ColumnDataSource\"}, \"id\": \"91a171d4-a17b-4f61-9123-b81d32721d35\", \"glyph\": {\"id\": \"ae49370b-ae18-4ac8-82f7-a6c566ea068a\", \"type\": \"Line\"}}}, {\"id\": \"d6c96946-4d64-42ed-8e79-92a8af1e807a\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"d6c96946-4d64-42ed-8e79-92a8af1e807a\", \"doc\": null, \"tags\": []}}, {\"id\": \"ec2aea8f-fae1-445f-bb5f-a254137b87c1\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"ec2aea8f-fae1-445f-bb5f-a254137b87c1\", \"tags\": [], \"axis_label\": \"Cloud Cover Percentage\", \"ticker\": {\"id\": \"b2de634e-5a9f-4228-8fd5-7dc2ed6ee5d8\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"b1957c21-6e06-4789-ba73-3c3bd181a307\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"d6c96946-4d64-42ed-8e79-92a8af1e807a\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"129dec42-95d9-426b-9c3b-6bb35ac62684\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"129dec42-95d9-426b-9c3b-6bb35ac62684\"}}, {\"id\": \"21baf1d6-ad1b-4368-8a98-0324df880009\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"a6450855-4f6b-41dd-bbcd-37cf89f4cc4b\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"56384119-9490-4285-9998-d49522043ad5\", \"type\": \"ColumnDataSource\"}, \"id\": \"21baf1d6-ad1b-4368-8a98-0324df880009\", \"glyph\": {\"id\": \"684b2f42-902d-4b0a-995e-17ec9f0bed9d\", \"type\": \"Line\"}}}, {\"id\": \"d3ce5766-852c-4c18-87af-5b7c1033f2d3\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"d3ce5766-852c-4c18-87af-5b7c1033f2d3\", \"tags\": [], \"names\": []}}, {\"id\": \"6f70989e-4e2d-4cc7-aa49-95b055becb5d\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"6f70989e-4e2d-4cc7-aa49-95b055becb5d\"}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': 'f8ff6948-64af-4dba-b9b1-e921a9369fa6', 'modelid': 'b1957c21-6e06-4789-ba73-3c3bd181a307'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"f8ff6948-64af-4dba-b9b1-e921a9369fa6\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"69571a0d-ab41-45ed-ad3e-dcd5255b1147\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"69571a0d-ab41-45ed-ad3e-dcd5255b1147\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"cbeb15db-7cde-4590-bbc7-38afa88f3d28\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"cbeb15db-7cde-4590-bbc7-38afa88f3d28\", \"legends\": [[\"binghamton\", [{\"id\": \"fb5d6738-449f-43cf-897f-3e41c41b1a06\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"af3df3c3-73e4-48fe-a28d-da8bea9eed5e\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"07b16bf5-6b17-4383-b5b9-3d3c68ca68bd\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"853c9cc4-e0cd-49b5-b631-8ef1fc71fbd2\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"2b271825-3b94-4304-91bf-3d08d4131989\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"2b271825-3b94-4304-91bf-3d08d4131989\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"07b16bf5-6b17-4383-b5b9-3d3c68ca68bd\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"eafefd4d-f787-414f-aa22-6536bccf692b\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"73c14396-fb07-47e8-a060-dfaab068c205\", \"type\": \"ColumnDataSource\"}, \"id\": \"07b16bf5-6b17-4383-b5b9-3d3c68ca68bd\", \"glyph\": {\"id\": \"2497be02-9cdb-40c3-ae56-afd471a56dbd\", \"type\": \"Line\"}}}, {\"id\": \"bfb3dcb6-297d-453b-9936-0adc72f35f14\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"bfb3dcb6-297d-453b-9936-0adc72f35f14\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"43f51922-49bd-400c-a27c-f7c97f89da73\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"d8d61574-cc54-47c8-a59a-ab56b43065f8\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"e7611fd3-2469-4421-8ffb-e5b4c21c6389\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"e7611fd3-2469-4421-8ffb-e5b4c21c6389\"}}, {\"id\": \"c9388a7f-cc63-444c-84ee-f7463b7618e5\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"c9388a7f-cc63-444c-84ee-f7463b7618e5\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"125749a2-9cdd-4558-a801-f8a30af520a4\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"125749a2-9cdd-4558-a801-f8a30af520a4\"}}, {\"id\": \"e23a72b5-34fa-4467-befb-a453984225b7\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"e23a72b5-34fa-4467-befb-a453984225b7\", \"num_minor_ticks\": 5}}, {\"id\": \"f80c6a9b-e8a7-4328-8dd9-f662724c3db3\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"f80c6a9b-e8a7-4328-8dd9-f662724c3db3\", \"tags\": [], \"names\": []}}, {\"id\": \"ade16eb5-302a-4122-8ffc-23d81cc0913b\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"ade16eb5-302a-4122-8ffc-23d81cc0913b\", \"data\": {\"y\": [0.6846666666666666, 0.5103333333333333, 0.7086666666666666, 0.47900000000000004, 0.6426666666666667, 0.645, 0.7875862068965517, 0.6486666666666665, 0.4963333333333333, 0.4126666666666666, 0.6416666666666667, 0.6946666666666668, 0.5624137931034483, 0.5653333333333334, 0.7806666666666666, 0.6273333333333333, 0.505, 0.6756666666666666, 0.47600000000000003, 0.417, 0.833, 0.45199999999999996, 0.4203333333333334, 0.0, 0.0775, 0.19200000000000003], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"a4ca4169-d134-4bc1-bba5-89de14ca6d6c\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"a4ca4169-d134-4bc1-bba5-89de14ca6d6c\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"2c205f2f-f94e-49b0-b45a-8e51e790c199\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"2c205f2f-f94e-49b0-b45a-8e51e790c199\"}}, {\"id\": \"2497be02-9cdb-40c3-ae56-afd471a56dbd\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"2497be02-9cdb-40c3-ae56-afd471a56dbd\"}}, {\"id\": \"0e4e9ada-6ae8-4ed7-a478-d7b49ef18196\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"0e4e9ada-6ae8-4ed7-a478-d7b49ef18196\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"62faeb34-2b3d-4619-afe0-a89aac29747b\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"62faeb34-2b3d-4619-afe0-a89aac29747b\", \"ticker\": {\"id\": \"43f51922-49bd-400c-a27c-f7c97f89da73\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"af3df3c3-73e4-48fe-a28d-da8bea9eed5e\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"2c205f2f-f94e-49b0-b45a-8e51e790c199\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"3fc050cc-34d7-4a31-a5d6-5e8e51dcbce0\", \"type\": \"ColumnDataSource\"}, \"id\": \"af3df3c3-73e4-48fe-a28d-da8bea9eed5e\", \"glyph\": {\"id\": \"125749a2-9cdd-4558-a801-f8a30af520a4\", \"type\": \"Line\"}}}, {\"id\": \"5fd85b4f-0999-4338-be45-939295348864\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"5fd85b4f-0999-4338-be45-939295348864\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"43f51922-49bd-400c-a27c-f7c97f89da73\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"43f51922-49bd-400c-a27c-f7c97f89da73\", \"num_minor_ticks\": 5}}, {\"id\": \"75f04cb9-6796-4a2e-bd9a-dbe28725b7d2\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"75f04cb9-6796-4a2e-bd9a-dbe28725b7d2\", \"doc\": null, \"tags\": []}}, {\"id\": \"866b84f5-bcf2-494e-ba58-77c69bf4af0a\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"866b84f5-bcf2-494e-ba58-77c69bf4af0a\", \"data\": {\"y\": [0.7283333333333335, 0.5700000000000001, 0.6843333333333332, 0.7646666666666667, 0.7246666666666667, 0.5999999999999999, 0.5765517241379311, 0.5566666666666666, 0.3773333333333333, 0.5073333333333333, 0.41499999999999987, 0.43533333333333335, 0.3858620689655172, 0.5713333333333332, 0.4596666666666666, 0.3389999999999999, 0.6133333333333332, 0.30766666666666664, 0.43966666666666665, 0.499, 0.5066666666666666, 0.6539999999999999, 0.5556666666666668, 0.0, 0.13869565217391305, 0.1225925925925926], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"3fc050cc-34d7-4a31-a5d6-5e8e51dcbce0\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"3fc050cc-34d7-4a31-a5d6-5e8e51dcbce0\", \"data\": {\"y\": [0.49999999999999994, 0.5026666666666667, 0.6086666666666667, 0.526, 0.4683333333333333, 0.6596666666666667, 0.4693333333333333, 0.5576666666666666, 0.43799999999999994, 0.5730000000000001, 0.6706666666666664, 0.3756666666666666, 0.6148275862068965, 0.465, 0.5736666666666667, 0.409, 0.45066666666666666, 0.304, 0.6056666666666667, 0.5263333333333333, 0.35433333333333333, 0.5363333333333333, 0.453, 0.0, 0.1827777777777778, 0.18416666666666667], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"44dfa236-24d7-475e-a032-72d1bc8f191d\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"44dfa236-24d7-475e-a032-72d1bc8f191d\"}}, {\"id\": \"fb5d6738-449f-43cf-897f-3e41c41b1a06\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"abcca8cc-3b65-4833-bd8f-7d42b5e209aa\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"866b84f5-bcf2-494e-ba58-77c69bf4af0a\", \"type\": \"ColumnDataSource\"}, \"id\": \"fb5d6738-449f-43cf-897f-3e41c41b1a06\", \"glyph\": {\"id\": \"898879de-ccf4-48d3-8fb2-42a4c8c0f22f\", \"type\": \"Line\"}}}, {\"id\": \"254f9781-b83b-4621-8d6f-2b48a73fc9e1\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"254f9781-b83b-4621-8d6f-2b48a73fc9e1\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"8e073098-005d-4ab6-8ccf-91f7ee7e465a\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"8e073098-005d-4ab6-8ccf-91f7ee7e465a\", \"geometries\": []}}, {\"id\": \"eafefd4d-f787-414f-aa22-6536bccf692b\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"eafefd4d-f787-414f-aa22-6536bccf692b\"}}, {\"id\": \"898879de-ccf4-48d3-8fb2-42a4c8c0f22f\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"898879de-ccf4-48d3-8fb2-42a4c8c0f22f\"}}, {\"id\": \"960a2911-6543-46a4-b85d-6e9ed168ee29\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"960a2911-6543-46a4-b85d-6e9ed168ee29\", \"tags\": [], \"axis_label\": \"Cloud Cover Percentage\", \"ticker\": {\"id\": \"e23a72b5-34fa-4467-befb-a453984225b7\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"75f04cb9-6796-4a2e-bd9a-dbe28725b7d2\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"ad9f6ecb-320e-4525-8a8a-0d021d868287\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"ad9f6ecb-320e-4525-8a8a-0d021d868287\", \"tags\": [], \"names\": []}}, {\"id\": \"abcca8cc-3b65-4833-bd8f-7d42b5e209aa\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"abcca8cc-3b65-4833-bd8f-7d42b5e209aa\"}}, {\"id\": \"7c0f5b72-683e-4ed8-acfd-b70cd4c6db66\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"7c0f5b72-683e-4ed8-acfd-b70cd4c6db66\", \"ticker\": {\"id\": \"e23a72b5-34fa-4467-befb-a453984225b7\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"subtype\": \"Figure\", \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"5fd85b4f-0999-4338-be45-939295348864\", \"type\": \"PanTool\"}, {\"id\": \"254f9781-b83b-4621-8d6f-2b48a73fc9e1\", \"type\": \"WheelZoomTool\"}, {\"id\": \"c9388a7f-cc63-444c-84ee-f7463b7618e5\", \"type\": \"BoxZoomTool\"}, {\"id\": \"2b271825-3b94-4304-91bf-3d08d4131989\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"a4ca4169-d134-4bc1-bba5-89de14ca6d6c\", \"type\": \"ResizeTool\"}, {\"id\": \"0e4e9ada-6ae8-4ed7-a478-d7b49ef18196\", \"type\": \"ResetTool\"}, {\"id\": \"69571a0d-ab41-45ed-ad3e-dcd5255b1147\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"960a2911-6543-46a4-b85d-6e9ed168ee29\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"8e073098-005d-4ab6-8ccf-91f7ee7e465a\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"bfb3dcb6-297d-453b-9936-0adc72f35f14\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"59bce0b0-9352-47c4-b086-0d6cf947e66b\", \"title\": \"September Average Cloud Cover\", \"renderers\": [{\"id\": \"bfb3dcb6-297d-453b-9936-0adc72f35f14\", \"type\": \"LinearAxis\"}, {\"id\": \"62faeb34-2b3d-4619-afe0-a89aac29747b\", \"type\": \"Grid\"}, {\"id\": \"960a2911-6543-46a4-b85d-6e9ed168ee29\", \"type\": \"LinearAxis\"}, {\"id\": \"7c0f5b72-683e-4ed8-acfd-b70cd4c6db66\", \"type\": \"Grid\"}, {\"id\": \"cbeb15db-7cde-4590-bbc7-38afa88f3d28\", \"type\": \"Legend\"}, {\"id\": \"fb5d6738-449f-43cf-897f-3e41c41b1a06\", \"type\": \"GlyphRenderer\"}, {\"id\": \"af3df3c3-73e4-48fe-a28d-da8bea9eed5e\", \"type\": \"GlyphRenderer\"}, {\"id\": \"07b16bf5-6b17-4383-b5b9-3d3c68ca68bd\", \"type\": \"GlyphRenderer\"}, {\"id\": \"853c9cc4-e0cd-49b5-b631-8ef1fc71fbd2\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"ad9f6ecb-320e-4525-8a8a-0d021d868287\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"f80c6a9b-e8a7-4328-8dd9-f662724c3db3\", \"type\": \"DataRange1d\"}}}, {\"id\": \"d8d61574-cc54-47c8-a59a-ab56b43065f8\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"d8d61574-cc54-47c8-a59a-ab56b43065f8\", \"doc\": null, \"tags\": []}}, {\"id\": \"853c9cc4-e0cd-49b5-b631-8ef1fc71fbd2\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"44dfa236-24d7-475e-a032-72d1bc8f191d\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"ade16eb5-302a-4122-8ffc-23d81cc0913b\", \"type\": \"ColumnDataSource\"}, \"id\": \"853c9cc4-e0cd-49b5-b631-8ef1fc71fbd2\", \"glyph\": {\"id\": \"e7611fd3-2469-4421-8ffb-e5b4c21c6389\", \"type\": \"Line\"}}}, {\"id\": \"73c14396-fb07-47e8-a060-dfaab068c205\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"73c14396-fb07-47e8-a060-dfaab068c205\", \"data\": {\"y\": [0.6203333333333333, 0.5426666666666666, 0.6256666666666668, 0.6793333333333333, 0.6166666666666666, 0.5653333333333332, 0.6893333333333334, 0.672, 0.514, 0.6556666666666667, 0.5693333333333334, 0.5216666666666666, 0.5286206896551725, 0.4739999999999999, 0.49699999999999994, 0.30033333333333334, 0.4596666666666666, 0.18799999999999997, 0.3950000000000001, 0.4036666666666667, 0.424, 0.4699999999999999, 0.39766666666666667, 0.0, 0.1581818181818182, 0.14639999999999997], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': '9a405ee2-f650-4c4e-ac2b-b1b1b94d78d7', 'modelid': '59bce0b0-9352-47c4-b086-0d6cf947e66b'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"9a405ee2-f650-4c4e-ac2b-b1b1b94d78d7\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"0ec2035d-b00f-45d7-9469-b01dfb23342a\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"0ec2035d-b00f-45d7-9469-b01dfb23342a\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"a022bffc-4c3a-4f3d-a23a-7955a0e6810c\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"a022bffc-4c3a-4f3d-a23a-7955a0e6810c\", \"legends\": [[\"binghamton\", [{\"id\": \"8057e574-e761-4646-92e1-58b278cd699e\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"255306bb-f28b-465a-b256-98500e904d36\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"265f9282-1e94-4bfc-8dfe-3eae39c62668\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"0ca69917-586d-4ebd-8d3c-ec571c44579e\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"0762a2bd-f115-49ee-9d3a-2161048c1383\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"0762a2bd-f115-49ee-9d3a-2161048c1383\", \"doc\": null, \"tags\": []}}, {\"id\": \"315931c5-36a7-4251-b704-1100498e63eb\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"315931c5-36a7-4251-b704-1100498e63eb\", \"doc\": null, \"tags\": []}}, {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"767b55da-cef8-4845-96ae-d34b398d367f\", \"type\": \"PanTool\"}, {\"id\": \"6e1ab38d-f43b-4ad0-8af9-6c7d369c83b3\", \"type\": \"WheelZoomTool\"}, {\"id\": \"0a32f4a9-00c0-4551-8755-de5f6473ac20\", \"type\": \"BoxZoomTool\"}, {\"id\": \"0ec2035d-b00f-45d7-9469-b01dfb23342a\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"0cbd41a6-ba1d-497c-b3c5-9714917314c1\", \"type\": \"ResizeTool\"}, {\"id\": \"0520210a-323e-4464-9109-ec740ee7a161\", \"type\": \"ResetTool\"}, {\"id\": \"66a975c9-134d-4744-92fc-6d680733e186\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"e781fc07-679b-4cc9-b49e-6610394c743c\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"75555f98-10ea-44bb-9a8d-ccf57bdb7199\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"d7a83d7a-980d-42bd-856a-aaae8c057c5e\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"title\": \"October Average Cloud Cover\", \"renderers\": [{\"id\": \"d7a83d7a-980d-42bd-856a-aaae8c057c5e\", \"type\": \"LinearAxis\"}, {\"id\": \"d07ace9b-436b-492d-b3b5-6404ab8a6094\", \"type\": \"Grid\"}, {\"id\": \"e781fc07-679b-4cc9-b49e-6610394c743c\", \"type\": \"LinearAxis\"}, {\"id\": \"940c074a-beb9-4a14-8048-e8e9f45e9a53\", \"type\": \"Grid\"}, {\"id\": \"a022bffc-4c3a-4f3d-a23a-7955a0e6810c\", \"type\": \"Legend\"}, {\"id\": \"8057e574-e761-4646-92e1-58b278cd699e\", \"type\": \"GlyphRenderer\"}, {\"id\": \"255306bb-f28b-465a-b256-98500e904d36\", \"type\": \"GlyphRenderer\"}, {\"id\": \"265f9282-1e94-4bfc-8dfe-3eae39c62668\", \"type\": \"GlyphRenderer\"}, {\"id\": \"0ca69917-586d-4ebd-8d3c-ec571c44579e\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"7e1778b5-5e27-46d3-9270-158dd201eefa\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"e2c1c877-4752-47df-bf78-f8149544d469\", \"type\": \"DataRange1d\"}}}, {\"id\": \"bda07a8b-eaa0-4429-8e69-f4090f1fab9e\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"bda07a8b-eaa0-4429-8e69-f4090f1fab9e\", \"data\": {\"y\": [0.6132258064516128, 0.5522580645161289, 0.5525806451612902, 0.5851612903225807, 0.5409677419354838, 0.557741935483871, 0.5425806451612903, 0.5603225806451612, 0.5793548387096774, 0.5303225806451614, 0.5416129032258067, 0.44741935483870965, 0.6061290322580644, 0.48516129032258065, 0.5267741935483871, 0.6600000000000001, 0.45419354838709686, 0.4112903225806452, 0.27774193548387094, 0.529032258064516, 0.38451612903225796, 0.37999999999999995, 0.4125806451612903, 0.0, 0.12199999999999998, 0.1860869565217391], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"cd13359a-6fb1-41fe-ae23-d13dcba3c850\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"cd13359a-6fb1-41fe-ae23-d13dcba3c850\"}}, {\"id\": \"255306bb-f28b-465a-b256-98500e904d36\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"46115385-6488-4dfd-bd42-0b5a95510825\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"c92a1266-af3a-4084-8d3b-74b514b10427\", \"type\": \"ColumnDataSource\"}, \"id\": \"255306bb-f28b-465a-b256-98500e904d36\", \"glyph\": {\"id\": \"8612d519-a62c-46e2-992f-af5fb5f3b82e\", \"type\": \"Line\"}}}, {\"id\": \"8057e574-e761-4646-92e1-58b278cd699e\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"a864c756-5a1b-4248-ada0-53ab0b232e21\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"e40d36b1-9e3b-495a-ac62-9eec8d1f8c48\", \"type\": \"ColumnDataSource\"}, \"id\": \"8057e574-e761-4646-92e1-58b278cd699e\", \"glyph\": {\"id\": \"e3ce8500-81e0-4ab6-b5d3-48e15f0b6d2c\", \"type\": \"Line\"}}}, {\"id\": \"0ca69917-586d-4ebd-8d3c-ec571c44579e\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"78e936e7-48e4-4d48-abf2-58954a45ee82\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"fd8506b3-c6f1-4ca2-aef1-d59c4371fd60\", \"type\": \"ColumnDataSource\"}, \"id\": \"0ca69917-586d-4ebd-8d3c-ec571c44579e\", \"glyph\": {\"id\": \"366faf5b-1cb7-49e8-9e01-468699d08f8f\", \"type\": \"Line\"}}}, {\"id\": \"366faf5b-1cb7-49e8-9e01-468699d08f8f\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"366faf5b-1cb7-49e8-9e01-468699d08f8f\"}}, {\"id\": \"7e1778b5-5e27-46d3-9270-158dd201eefa\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"7e1778b5-5e27-46d3-9270-158dd201eefa\", \"tags\": [], \"names\": []}}, {\"id\": \"a864c756-5a1b-4248-ada0-53ab0b232e21\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"a864c756-5a1b-4248-ada0-53ab0b232e21\"}}, {\"id\": \"e3ce8500-81e0-4ab6-b5d3-48e15f0b6d2c\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"e3ce8500-81e0-4ab6-b5d3-48e15f0b6d2c\"}}, {\"id\": \"767b55da-cef8-4845-96ae-d34b398d367f\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"767b55da-cef8-4845-96ae-d34b398d367f\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"940c074a-beb9-4a14-8048-e8e9f45e9a53\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"940c074a-beb9-4a14-8048-e8e9f45e9a53\", \"ticker\": {\"id\": \"d36bcc03-481e-442d-be96-09ecf51ec1b7\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"id\": \"8612d519-a62c-46e2-992f-af5fb5f3b82e\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"8612d519-a62c-46e2-992f-af5fb5f3b82e\"}}, {\"id\": \"265f9282-1e94-4bfc-8dfe-3eae39c62668\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"1e701f5c-2f55-4d96-8d6e-c7a03b38b06f\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"bda07a8b-eaa0-4429-8e69-f4090f1fab9e\", \"type\": \"ColumnDataSource\"}, \"id\": \"265f9282-1e94-4bfc-8dfe-3eae39c62668\", \"glyph\": {\"id\": \"cd13359a-6fb1-41fe-ae23-d13dcba3c850\", \"type\": \"Line\"}}}, {\"id\": \"0cbd41a6-ba1d-497c-b3c5-9714917314c1\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"0cbd41a6-ba1d-497c-b3c5-9714917314c1\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"d36bcc03-481e-442d-be96-09ecf51ec1b7\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"d36bcc03-481e-442d-be96-09ecf51ec1b7\", \"num_minor_ticks\": 5}}, {\"id\": \"0520210a-323e-4464-9109-ec740ee7a161\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"0520210a-323e-4464-9109-ec740ee7a161\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"78e936e7-48e4-4d48-abf2-58954a45ee82\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"78e936e7-48e4-4d48-abf2-58954a45ee82\"}}, {\"id\": \"46115385-6488-4dfd-bd42-0b5a95510825\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"46115385-6488-4dfd-bd42-0b5a95510825\"}}, {\"id\": \"0a32f4a9-00c0-4551-8755-de5f6473ac20\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"0a32f4a9-00c0-4551-8755-de5f6473ac20\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"c92a1266-af3a-4084-8d3b-74b514b10427\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"c92a1266-af3a-4084-8d3b-74b514b10427\", \"data\": {\"y\": [0.4774193548387096, 0.4464516129032258, 0.4335483870967742, 0.5816129032258065, 0.617741935483871, 0.4867741935483871, 0.352258064516129, 0.4416129032258065, 0.4658064516129032, 0.4474193548387097, 0.27548387096774196, 0.18161290322580642, 0.6880645161290322, 0.4651612903225806, 0.6435483870967743, 0.44193548387096776, 0.445483870967742, 0.4283870967741935, 0.3738709677419354, 0.6009677419354839, 0.2887096774193549, 0.3587096774193549, 0.4964516129032257, 0.0, 0.10793103448275865, 0.09652173913043477], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"fd8506b3-c6f1-4ca2-aef1-d59c4371fd60\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"fd8506b3-c6f1-4ca2-aef1-d59c4371fd60\", \"data\": {\"y\": [0.8332258064516128, 0.6358064516129033, 0.8170967741935483, 0.7663333333333332, 0.7164516129032257, 0.8035483870967741, 0.7674193548387097, 0.8623333333333334, 0.8263333333333335, 0.6738709677419353, 0.6925806451612904, 0.8170967741935484, 0.7103333333333333, 0.8200000000000002, 0.7067741935483871, 0.7706451612903225, 0.7074193548387097, 0.7637931034482758, 0.6458064516129032, 0.6433333333333333, 0.6564516129032257, 0.8354838709677419, 0.6399999999999999, 0.0, 0.14125000000000001, 0.15357142857142855], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"66a975c9-134d-4744-92fc-6d680733e186\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"66a975c9-134d-4744-92fc-6d680733e186\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"e781fc07-679b-4cc9-b49e-6610394c743c\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"e781fc07-679b-4cc9-b49e-6610394c743c\", \"tags\": [], \"axis_label\": \"Cloud Cover Percentage\", \"ticker\": {\"id\": \"d36bcc03-481e-442d-be96-09ecf51ec1b7\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"315931c5-36a7-4251-b704-1100498e63eb\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"6e1ab38d-f43b-4ad0-8af9-6c7d369c83b3\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"6e1ab38d-f43b-4ad0-8af9-6c7d369c83b3\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"aa97ee67-74dd-4233-a0b9-24a20ba443b7\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"aa97ee67-74dd-4233-a0b9-24a20ba443b7\", \"num_minor_ticks\": 5}}, {\"id\": \"d7a83d7a-980d-42bd-856a-aaae8c057c5e\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"d7a83d7a-980d-42bd-856a-aaae8c057c5e\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"aa97ee67-74dd-4233-a0b9-24a20ba443b7\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"0762a2bd-f115-49ee-9d3a-2161048c1383\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"1e701f5c-2f55-4d96-8d6e-c7a03b38b06f\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"1e701f5c-2f55-4d96-8d6e-c7a03b38b06f\"}}, {\"id\": \"e40d36b1-9e3b-495a-ac62-9eec8d1f8c48\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"e40d36b1-9e3b-495a-ac62-9eec8d1f8c48\", \"data\": {\"y\": [0.6961290322580646, 0.6241935483870968, 0.6606451612903228, 0.6796774193548387, 0.6680645161290323, 0.6438709677419354, 0.4832258064516128, 0.4019354838709678, 0.5977419354838711, 0.46548387096774196, 0.4851612903225806, 0.4206451612903225, 0.6663333333333333, 0.4841935483870968, 0.5964516129032258, 0.6780645161290324, 0.5725806451612904, 0.49193548387096775, 0.3929032258064516, 0.7148387096774195, 0.5345161290322581, 0.6061290322580645, 0.7341935483870967, 0.0, 0.15312499999999998, 0.1165], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"d07ace9b-436b-492d-b3b5-6404ab8a6094\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"d07ace9b-436b-492d-b3b5-6404ab8a6094\", \"ticker\": {\"id\": \"aa97ee67-74dd-4233-a0b9-24a20ba443b7\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"d7f176e0-e632-41b4-8afd-2fa738e2632e\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"75555f98-10ea-44bb-9a8d-ccf57bdb7199\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"75555f98-10ea-44bb-9a8d-ccf57bdb7199\", \"geometries\": []}}, {\"id\": \"e2c1c877-4752-47df-bf78-f8149544d469\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"e2c1c877-4752-47df-bf78-f8149544d469\", \"tags\": [], \"names\": []}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': '8b963c2b-3eb1-4b73-baf5-51cc6b77adc9', 'modelid': 'd7f176e0-e632-41b4-8afd-2fa738e2632e'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"8b963c2b-3eb1-4b73-baf5-51cc6b77adc9\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"ae930158-5b27-4860-b070-b66afe882f10\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"ae930158-5b27-4860-b070-b66afe882f10\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"9f56a786-f61c-4977-882c-b650093714ed\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"9f56a786-f61c-4977-882c-b650093714ed\"}}, {\"id\": \"408be208-3747-4f58-a14a-a2c5061055a6\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"408be208-3747-4f58-a14a-a2c5061055a6\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"3bfc2b98-f7f5-447e-9d31-e79d5689a6b8\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"3bfc2b98-f7f5-447e-9d31-e79d5689a6b8\"}}, {\"id\": \"4fdeb424-9a35-42f2-847e-129f660a39e4\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"4fdeb424-9a35-42f2-847e-129f660a39e4\", \"num_minor_ticks\": 5}}, {\"id\": \"6a141002-e3b8-4668-b28a-63d882de5efd\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"6a141002-e3b8-4668-b28a-63d882de5efd\", \"data\": {\"y\": [0.7170000000000001, 0.8149999999999998, 0.8280000000000001, 0.7963333333333332, 0.7516666666666666, 0.8503333333333335, 0.7786666666666667, 0.7166666666666667, 0.5978571428571428, 0.632, 0.6456666666666667, 0.559655172413793, 0.7356666666666667, 0.5863333333333334, 0.6243333333333333, 0.5806666666666666, 0.5303333333333333, 0.5786206896551724, 0.7256666666666667, 0.5196666666666667, 0.5756666666666667, 0.3973333333333333, 0.47966666666666663, 0.0, 0.1725, 0.05611111111111111], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"182dff23-30dc-45dd-b704-dccc38a945ed\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"182dff23-30dc-45dd-b704-dccc38a945ed\", \"legends\": [[\"binghamton\", [{\"id\": \"be5cfebe-b5f9-4431-8bc1-d60d2677555b\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"6d596c88-e0a3-4ae8-85bc-797dd3a7be1c\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"5d2fc041-7c02-42dd-b546-44b8b8134c05\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"3a47193b-63db-4f1c-afa9-9c92f910356c\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"f660c4ae-2f32-48ae-96a6-4f4ac083d9be\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"f660c4ae-2f32-48ae-96a6-4f4ac083d9be\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"df309b20-9ce2-4e07-bb7c-94a654471da0\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"df309b20-9ce2-4e07-bb7c-94a654471da0\", \"tags\": [], \"names\": []}}, {\"id\": \"3a47193b-63db-4f1c-afa9-9c92f910356c\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"47afb1aa-9902-4df9-97e6-95925a388cf5\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"93c1c31f-713e-45dc-a82d-df942fd5653b\", \"type\": \"ColumnDataSource\"}, \"id\": \"3a47193b-63db-4f1c-afa9-9c92f910356c\", \"glyph\": {\"id\": \"2e41dce4-a21c-444b-877d-2383cb2b8de0\", \"type\": \"Line\"}}}, {\"id\": \"491399e9-f2a6-4a2d-8dfe-aa8251bd2c85\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"491399e9-f2a6-4a2d-8dfe-aa8251bd2c85\"}}, {\"id\": \"2e41dce4-a21c-444b-877d-2383cb2b8de0\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"2e41dce4-a21c-444b-877d-2383cb2b8de0\"}}, {\"id\": \"f19655d3-fbb4-468e-bea6-d17d3ae40f31\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"f19655d3-fbb4-468e-bea6-d17d3ae40f31\", \"ticker\": {\"id\": \"5653333c-cc7c-4677-a80e-57c0af9e4ae7\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"id\": \"5d2fc041-7c02-42dd-b546-44b8b8134c05\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"9f56a786-f61c-4977-882c-b650093714ed\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"e7a0e4ea-a039-4eb3-8d69-9059eb7b069d\", \"type\": \"ColumnDataSource\"}, \"id\": \"5d2fc041-7c02-42dd-b546-44b8b8134c05\", \"glyph\": {\"id\": \"3bfc2b98-f7f5-447e-9d31-e79d5689a6b8\", \"type\": \"Line\"}}}, {\"id\": \"47afb1aa-9902-4df9-97e6-95925a388cf5\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"47afb1aa-9902-4df9-97e6-95925a388cf5\"}}, {\"id\": \"a9d48a05-2ede-4dac-910b-273fab910b82\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"a9d48a05-2ede-4dac-910b-273fab910b82\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"a0c4fe09-ab32-4899-a950-36de136bc33e\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"a0c4fe09-ab32-4899-a950-36de136bc33e\"}}, {\"id\": \"d8dfafe5-4702-4dfb-a03e-b45712f4d720\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"d8dfafe5-4702-4dfb-a03e-b45712f4d720\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"fefbbe2a-a32a-41fd-bd6d-12698df087c9\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"fefbbe2a-a32a-41fd-bd6d-12698df087c9\", \"tags\": [], \"axis_label\": \"Cloud Cover Percentage\", \"ticker\": {\"id\": \"5653333c-cc7c-4677-a80e-57c0af9e4ae7\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"493fe1a9-7522-455f-8b0f-aab5be0e0083\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"6456d552-c6e2-4f90-86eb-7015a45f4548\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"6456d552-c6e2-4f90-86eb-7015a45f4548\", \"ticker\": {\"id\": \"4fdeb424-9a35-42f2-847e-129f660a39e4\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"493fe1a9-7522-455f-8b0f-aab5be0e0083\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"493fe1a9-7522-455f-8b0f-aab5be0e0083\", \"doc\": null, \"tags\": []}}, {\"id\": \"5653333c-cc7c-4677-a80e-57c0af9e4ae7\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"5653333c-cc7c-4677-a80e-57c0af9e4ae7\", \"num_minor_ticks\": 5}}, {\"id\": \"d551f4f8-e0f7-4f68-823b-a31d0d5daaab\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"d551f4f8-e0f7-4f68-823b-a31d0d5daaab\", \"data\": {\"y\": [0.378, 0.5566666666666666, 0.6566666666666666, 0.5883333333333334, 0.593, 0.5199999999999999, 0.5883333333333334, 0.5673333333333334, 0.5425, 0.349, 0.5266666666666667, 0.32172413793103455, 0.4406666666666667, 0.5409999999999999, 0.48766666666666664, 0.4086666666666667, 0.4366666666666666, 0.397, 0.4636666666666666, 0.545, 0.36433333333333334, 0.37466666666666665, 0.40933333333333344, 0.0, 0.12291666666666667, 0.076], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"5c8d7158-91ce-468d-870c-a8ff69886a4c\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"5c8d7158-91ce-468d-870c-a8ff69886a4c\", \"doc\": null, \"tags\": []}}, {\"id\": \"93c1c31f-713e-45dc-a82d-df942fd5653b\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"93c1c31f-713e-45dc-a82d-df942fd5653b\", \"data\": {\"y\": [0.9003333333333334, 0.8909999999999999, 0.8483333333333333, 0.721, 0.86, 0.8386666666666666, 0.8967857142857143, 0.732, 0.8892857142857143, 0.7903333333333333, 0.6796666666666665, 0.8365517241379311, 0.6855172413793104, 0.717, 0.8010344827586209, 0.844, 0.7473333333333333, 0.72, 0.734, 0.7739999999999999, 0.734, 0.6686666666666665, 0.7693333333333333, 0.0, 0.028181818181818183, 0.17384615384615387], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"9f26141f-d2f6-4b33-923b-528a696d8668\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"9f26141f-d2f6-4b33-923b-528a696d8668\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"4fdeb424-9a35-42f2-847e-129f660a39e4\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"5c8d7158-91ce-468d-870c-a8ff69886a4c\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"3dd8322a-25d7-4ea2-ae8a-7de7b2574270\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"3dd8322a-25d7-4ea2-ae8a-7de7b2574270\"}}, {\"id\": \"fe6f592d-9161-4320-936b-a8481fe82707\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"fe6f592d-9161-4320-936b-a8481fe82707\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"c93922fa-4ad9-43f4-b7a8-143787d02330\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"c93922fa-4ad9-43f4-b7a8-143787d02330\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"382d0a3a-8752-4bd1-ad12-56d4cc8b629f\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"382d0a3a-8752-4bd1-ad12-56d4cc8b629f\"}}, {\"id\": \"e7a0e4ea-a039-4eb3-8d69-9059eb7b069d\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"e7a0e4ea-a039-4eb3-8d69-9059eb7b069d\", \"data\": {\"y\": [0.6086666666666666, 0.7286666666666667, 0.7336666666666666, 0.6786666666666665, 0.6093333333333333, 0.7603333333333335, 0.6406666666666666, 0.6883333333333334, 0.5896551724137931, 0.5860000000000001, 0.6826666666666666, 0.47586206896551725, 0.6889655172413793, 0.46068965517241384, 0.42499999999999993, 0.3893333333333333, 0.4190000000000001, 0.4589999999999999, 0.576, 0.4633333333333333, 0.30366666666666664, 0.27299999999999996, 0.5516666666666666, 0.0, 0.159375, 0.15850000000000003], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"6d596c88-e0a3-4ae8-85bc-797dd3a7be1c\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"3dd8322a-25d7-4ea2-ae8a-7de7b2574270\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"d551f4f8-e0f7-4f68-823b-a31d0d5daaab\", \"type\": \"ColumnDataSource\"}, \"id\": \"6d596c88-e0a3-4ae8-85bc-797dd3a7be1c\", \"glyph\": {\"id\": \"382d0a3a-8752-4bd1-ad12-56d4cc8b629f\", \"type\": \"Line\"}}}, {\"id\": \"56e8366d-fd87-4184-8983-51d6637aad23\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"56e8366d-fd87-4184-8983-51d6637aad23\", \"geometries\": []}}, {\"id\": \"be5cfebe-b5f9-4431-8bc1-d60d2677555b\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"491399e9-f2a6-4a2d-8dfe-aa8251bd2c85\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"6a141002-e3b8-4668-b28a-63d882de5efd\", \"type\": \"ColumnDataSource\"}, \"id\": \"be5cfebe-b5f9-4431-8bc1-d60d2677555b\", \"glyph\": {\"id\": \"a0c4fe09-ab32-4899-a950-36de136bc33e\", \"type\": \"Line\"}}}, {\"subtype\": \"Figure\", \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"a9d48a05-2ede-4dac-910b-273fab910b82\", \"type\": \"PanTool\"}, {\"id\": \"408be208-3747-4f58-a14a-a2c5061055a6\", \"type\": \"WheelZoomTool\"}, {\"id\": \"fe6f592d-9161-4320-936b-a8481fe82707\", \"type\": \"BoxZoomTool\"}, {\"id\": \"d8dfafe5-4702-4dfb-a03e-b45712f4d720\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"ae930158-5b27-4860-b070-b66afe882f10\", \"type\": \"ResizeTool\"}, {\"id\": \"c93922fa-4ad9-43f4-b7a8-143787d02330\", \"type\": \"ResetTool\"}, {\"id\": \"f660c4ae-2f32-48ae-96a6-4f4ac083d9be\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"fefbbe2a-a32a-41fd-bd6d-12698df087c9\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"56e8366d-fd87-4184-8983-51d6637aad23\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"9f26141f-d2f6-4b33-923b-528a696d8668\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"6e2229f4-5116-426d-b2dd-779a826fc4bd\", \"title\": \"November Average Cloud Cover\", \"renderers\": [{\"id\": \"9f26141f-d2f6-4b33-923b-528a696d8668\", \"type\": \"LinearAxis\"}, {\"id\": \"6456d552-c6e2-4f90-86eb-7015a45f4548\", \"type\": \"Grid\"}, {\"id\": \"fefbbe2a-a32a-41fd-bd6d-12698df087c9\", \"type\": \"LinearAxis\"}, {\"id\": \"f19655d3-fbb4-468e-bea6-d17d3ae40f31\", \"type\": \"Grid\"}, {\"id\": \"182dff23-30dc-45dd-b704-dccc38a945ed\", \"type\": \"Legend\"}, {\"id\": \"be5cfebe-b5f9-4431-8bc1-d60d2677555b\", \"type\": \"GlyphRenderer\"}, {\"id\": \"6d596c88-e0a3-4ae8-85bc-797dd3a7be1c\", \"type\": \"GlyphRenderer\"}, {\"id\": \"5d2fc041-7c02-42dd-b546-44b8b8134c05\", \"type\": \"GlyphRenderer\"}, {\"id\": \"3a47193b-63db-4f1c-afa9-9c92f910356c\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"86f8a90b-5ee0-43fc-a5aa-0a4314627d7e\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"df309b20-9ce2-4e07-bb7c-94a654471da0\", \"type\": \"DataRange1d\"}}}, {\"id\": \"86f8a90b-5ee0-43fc-a5aa-0a4314627d7e\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"86f8a90b-5ee0-43fc-a5aa-0a4314627d7e\", \"tags\": [], \"names\": []}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': 'd6cf7ff5-8ad9-4bb0-bfc0-cbf365fd43e0', 'modelid': '6e2229f4-5116-426d-b2dd-779a826fc4bd'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"d6cf7ff5-8ad9-4bb0-bfc0-cbf365fd43e0\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "years = range(1990, 2016)\n",
    "def city_avg_cc(city, month):\n",
    "    return [monthly_avg_cloudcover(city, y, month) for y in years]\n",
    "\n",
    "months = [\n",
    "    ('July', 7),\n",
    "    ('August', 8),\n",
    "    ('September', 9),\n",
    "    ('October', 10),\n",
    "    ('November', 11)\n",
    "]\n",
    "\n",
    "for month, month_id in months:\n",
    "    month_averages = {city: city_avg_cc(city, month_id) for city in cities}\n",
    "    f = figure(title=\"{} Average Cloud Cover\".format(month),\n",
    "               x_axis_label='Year',\n",
    "               y_axis_label='Cloud Cover Percentage')\n",
    "    for city in cities:\n",
    "        f.line(years, [x[0] for x in month_averages[city]],\n",
    "               legend=city, color=city_colors[city])\n",
    "    show(f)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Well, as it so happens it looks like there are some data issues. July's data is a bit sporadic, and 2013 seems to be missing from most months as well. I think really only two things can really be confirmed here:\n",
    "- Seattle, specifically for the months of October and November, is in fact significantly more cloudy on average than are other cities\n",
    "- All cities surveyed have seen average cloud cover decline over the months studied. There are data issues, but the trend seems clear.\n",
    "\n",
    "Let's now move from cloud cover data to looking at average rainfall chance."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"5d9119f0-bcbf-4bb1-a024-e0c0132770d2\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"5d9119f0-bcbf-4bb1-a024-e0c0132770d2\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"f2343843-bfde-47a9-a346-bb17c1854f2e\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"f2343843-bfde-47a9-a346-bb17c1854f2e\", \"tags\": [], \"names\": []}}, {\"id\": \"1e0564f7-4457-43a4-aa84-7d1c4fa862d9\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"1e0564f7-4457-43a4-aa84-7d1c4fa862d9\", \"tags\": [], \"names\": []}}, {\"id\": \"81c82739-5b41-42cf-96da-e65a31a05ad7\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"81c82739-5b41-42cf-96da-e65a31a05ad7\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"794669ac-162d-4bb9-8a31-a11b9994eda1\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"794669ac-162d-4bb9-8a31-a11b9994eda1\", \"tags\": [], \"axis_label\": \"Precipitation Chance Percentage\", \"ticker\": {\"id\": \"8331c8f9-2fdd-4938-9969-a75e45d3f6a5\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"1e86f20e-7160-4558-946c-9be53dd63a24\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"d01f8a75-a4e6-4554-b3cf-c407bbfb4930\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"d01f8a75-a4e6-4554-b3cf-c407bbfb4930\", \"ticker\": {\"id\": \"34979a59-447d-42e0-a09e-9a1414417daa\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"a2d0980b-c635-4784-bfe8-8320ab2e987d\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"a2d0980b-c635-4784-bfe8-8320ab2e987d\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"b4a32b2e-e09f-4b1c-834d-38fefd249c19\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"f8e6a166-ef2d-4248-bcf5-ce698663d27c\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"44d018fb-8fe4-48de-b18a-4e87d84f4738\", \"type\": \"ColumnDataSource\"}, \"id\": \"b4a32b2e-e09f-4b1c-834d-38fefd249c19\", \"glyph\": {\"id\": \"836f11b3-b8a2-46ac-bd77-f74ece21bb2c\", \"type\": \"Line\"}}}, {\"id\": \"44d018fb-8fe4-48de-b18a-4e87d84f4738\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"44d018fb-8fe4-48de-b18a-4e87d84f4738\", \"data\": {\"y\": [0.42903225806451617, 0.5716129032258064, 0.6193548387096776, 0.8848387096774194, 0.5203225806451612, 0.5432258064516129, \"NaN\", 0.6319354838709678, 0.7064516129032258, 0.5496774193548387, 0.7264516129032259, 0.6538709677419355, 0.6093548387096774, 0.41032258064516125, 0.5919354838709677, 0.436, 0.512258064516129, 0.45225806451612904, 0.5377419354838711, 0.3670967741935484, 0.6435483870967742, 0.5696774193548387, 0.6587096774193549, 0.5854838709677419, 0.05368421052631579, 0.03944444444444444], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"ff8023a4-54cd-4571-bb71-bf1bccade93d\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"ff8023a4-54cd-4571-bb71-bf1bccade93d\", \"geometries\": []}}, {\"id\": \"174526b2-7107-45f0-9ae3-03e3b0da7e63\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"174526b2-7107-45f0-9ae3-03e3b0da7e63\", \"data\": {\"y\": [0.7206451612903227, 0.6683870967741934, 0.6487096774193548, 0.554516129032258, 0.6319354838709679, 0.635483870967742, 0.6541379310344827, 0.5693548387096775, 0.6058064516129031, 0.5593548387096773, 0.6693548387096774, 0.47322580645161294, 0.4758064516129033, 0.3793548387096774, 0.5467741935483871, 0.3793548387096775, 0.21290322580645157, 0.24935483870967737, 0.21096774193548384, 0.26161290322580644, 0.2670967741935484, 0.15193548387096772, 0.32064516129032256, 0.5935483870967742, 0.17190476190476192, 0.16478260869565217], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"34979a59-447d-42e0-a09e-9a1414417daa\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"34979a59-447d-42e0-a09e-9a1414417daa\", \"num_minor_ticks\": 5}}, {\"id\": \"01648c14-d99c-4559-b30c-ceaabbfd0697\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"01648c14-d99c-4559-b30c-ceaabbfd0697\", \"data\": {\"y\": [0.5335483870967742, 0.5903225806451613, 0.4796774193548388, 0.43774193548387097, 0.5967741935483871, 0.47548387096774186, 0.6033333333333334, 0.5216129032258064, 0.5816129032258064, 0.5896774193548387, 0.6803225806451614, 0.7035483870967741, 0.42709677419354836, 0.516774193548387, 0.43096774193548393, 0.4374193548387097, 0.32032258064516134, 0.39967741935483875, 0.375483870967742, 0.5061290322580646, 0.4625806451612904, 0.3635483870967742, 0.4838709677419355, 0.6041935483870967, 0.22565217391304346, 0.1603448275862069], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"424ebf07-03b3-4590-8bda-ec17ffbcffdc\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"424ebf07-03b3-4590-8bda-ec17ffbcffdc\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"06c0e35f-6323-4fde-ba4b-b79102e7b543\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"06c0e35f-6323-4fde-ba4b-b79102e7b543\"}}, {\"id\": \"cb2ca3ff-d976-4ee3-a067-fc1f7d44f48c\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"cb2ca3ff-d976-4ee3-a067-fc1f7d44f48c\"}}, {\"id\": \"ec69fff8-68ae-4fe9-a587-122575a2e729\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"ec69fff8-68ae-4fe9-a587-122575a2e729\", \"ticker\": {\"id\": \"8331c8f9-2fdd-4938-9969-a75e45d3f6a5\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"424ebf07-03b3-4590-8bda-ec17ffbcffdc\", \"type\": \"PanTool\"}, {\"id\": \"748db56e-f574-40be-8ea6-04df36a0b6fe\", \"type\": \"WheelZoomTool\"}, {\"id\": \"752ec72a-c726-4297-aefb-29b2b9bb3c12\", \"type\": \"BoxZoomTool\"}, {\"id\": \"5d9119f0-bcbf-4bb1-a024-e0c0132770d2\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"a2d0980b-c635-4784-bfe8-8320ab2e987d\", \"type\": \"ResizeTool\"}, {\"id\": \"81c82739-5b41-42cf-96da-e65a31a05ad7\", \"type\": \"ResetTool\"}, {\"id\": \"28c55b57-755b-49cb-b5ed-8131eac451df\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"794669ac-162d-4bb9-8a31-a11b9994eda1\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"ff8023a4-54cd-4571-bb71-bf1bccade93d\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"4053febd-1ee0-4de0-884f-d888bce81b64\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"title\": \"July Average Precipitation Chance\", \"renderers\": [{\"id\": \"4053febd-1ee0-4de0-884f-d888bce81b64\", \"type\": \"LinearAxis\"}, {\"id\": \"d01f8a75-a4e6-4554-b3cf-c407bbfb4930\", \"type\": \"Grid\"}, {\"id\": \"794669ac-162d-4bb9-8a31-a11b9994eda1\", \"type\": \"LinearAxis\"}, {\"id\": \"ec69fff8-68ae-4fe9-a587-122575a2e729\", \"type\": \"Grid\"}, {\"id\": \"000c5734-588c-4dcd-8fb2-5b399385f286\", \"type\": \"Legend\"}, {\"id\": \"dec433f8-5bdf-4601-8b93-af64d4fab92e\", \"type\": \"GlyphRenderer\"}, {\"id\": \"b46dc7ce-b928-4e45-a5ea-3e9730c5d275\", \"type\": \"GlyphRenderer\"}, {\"id\": \"95481ae8-a570-46be-a14f-438a3d375e69\", \"type\": \"GlyphRenderer\"}, {\"id\": \"b4a32b2e-e09f-4b1c-834d-38fefd249c19\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"1e0564f7-4457-43a4-aa84-7d1c4fa862d9\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"f2343843-bfde-47a9-a346-bb17c1854f2e\", \"type\": \"DataRange1d\"}}}, {\"id\": \"000c5734-588c-4dcd-8fb2-5b399385f286\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"000c5734-588c-4dcd-8fb2-5b399385f286\", \"legends\": [[\"binghamton\", [{\"id\": \"dec433f8-5bdf-4601-8b93-af64d4fab92e\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"b46dc7ce-b928-4e45-a5ea-3e9730c5d275\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"95481ae8-a570-46be-a14f-438a3d375e69\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"b4a32b2e-e09f-4b1c-834d-38fefd249c19\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"752ec72a-c726-4297-aefb-29b2b9bb3c12\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"752ec72a-c726-4297-aefb-29b2b9bb3c12\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"8331c8f9-2fdd-4938-9969-a75e45d3f6a5\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"8331c8f9-2fdd-4938-9969-a75e45d3f6a5\", \"num_minor_ticks\": 5}}, {\"id\": \"95481ae8-a570-46be-a14f-438a3d375e69\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"06c0e35f-6323-4fde-ba4b-b79102e7b543\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"174526b2-7107-45f0-9ae3-03e3b0da7e63\", \"type\": \"ColumnDataSource\"}, \"id\": \"95481ae8-a570-46be-a14f-438a3d375e69\", \"glyph\": {\"id\": \"af9e70b1-fc12-44ed-ab55-0e1b4ae48e2e\", \"type\": \"Line\"}}}, {\"id\": \"748db56e-f574-40be-8ea6-04df36a0b6fe\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"748db56e-f574-40be-8ea6-04df36a0b6fe\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"2c9d9aae-80be-4d54-913f-b6331c5c134d\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"2c9d9aae-80be-4d54-913f-b6331c5c134d\", \"data\": {\"y\": [0.7132258064516128, 0.6416129032258064, 0.762258064516129, 0.6109677419354839, 0.7029032258064516, 0.7199999999999999, \"NaN\", 0.3483870967741935, 0.3890322580645161, 0.329032258064516, 0.4996774193548387, 0.4329032258064517, 0.354516129032258, 0.4774193548387097, 0.5548387096774193, 0.3645161290322581, 0.3722580645161291, 0.37935483870967734, 0.41838709677419345, 0.36064516129032254, 0.44967741935483857, 0.27419354838709675, 0.41903225806451616, 0.5132258064516128, 0.19090909090909092, 0.15923076923076923], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"836f11b3-b8a2-46ac-bd77-f74ece21bb2c\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"836f11b3-b8a2-46ac-bd77-f74ece21bb2c\"}}, {\"id\": \"a3e6d14b-dd51-4c89-8e89-771317b6ead2\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"a3e6d14b-dd51-4c89-8e89-771317b6ead2\"}}, {\"id\": \"dec433f8-5bdf-4601-8b93-af64d4fab92e\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"b368e339-cf75-4f9f-a2c1-921693fc39c7\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"2c9d9aae-80be-4d54-913f-b6331c5c134d\", \"type\": \"ColumnDataSource\"}, \"id\": \"dec433f8-5bdf-4601-8b93-af64d4fab92e\", \"glyph\": {\"id\": \"3258fb09-7bdf-4af5-9156-b38273df2954\", \"type\": \"Line\"}}}, {\"id\": \"b368e339-cf75-4f9f-a2c1-921693fc39c7\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"b368e339-cf75-4f9f-a2c1-921693fc39c7\"}}, {\"id\": \"4053febd-1ee0-4de0-884f-d888bce81b64\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"4053febd-1ee0-4de0-884f-d888bce81b64\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"34979a59-447d-42e0-a09e-9a1414417daa\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"3c1f7b46-857e-4dd4-b610-67aa5706f633\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"af9e70b1-fc12-44ed-ab55-0e1b4ae48e2e\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"af9e70b1-fc12-44ed-ab55-0e1b4ae48e2e\"}}, {\"id\": \"f8e6a166-ef2d-4248-bcf5-ce698663d27c\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"f8e6a166-ef2d-4248-bcf5-ce698663d27c\"}}, {\"id\": \"3258fb09-7bdf-4af5-9156-b38273df2954\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"3258fb09-7bdf-4af5-9156-b38273df2954\"}}, {\"id\": \"1e86f20e-7160-4558-946c-9be53dd63a24\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"1e86f20e-7160-4558-946c-9be53dd63a24\", \"doc\": null, \"tags\": []}}, {\"id\": \"28c55b57-755b-49cb-b5ed-8131eac451df\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"28c55b57-755b-49cb-b5ed-8131eac451df\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"b46dc7ce-b928-4e45-a5ea-3e9730c5d275\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"cb2ca3ff-d976-4ee3-a067-fc1f7d44f48c\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"01648c14-d99c-4559-b30c-ceaabbfd0697\", \"type\": \"ColumnDataSource\"}, \"id\": \"b46dc7ce-b928-4e45-a5ea-3e9730c5d275\", \"glyph\": {\"id\": \"a3e6d14b-dd51-4c89-8e89-771317b6ead2\", \"type\": \"Line\"}}}, {\"id\": \"3c1f7b46-857e-4dd4-b610-67aa5706f633\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"3c1f7b46-857e-4dd4-b610-67aa5706f633\", \"doc\": null, \"tags\": []}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': '56f11ba8-4658-474c-acdb-8d582f608ff9', 'modelid': '9fd9aa8a-20f6-4bb4-aaf7-aa750ad73c01'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"56f11ba8-4658-474c-acdb-8d582f608ff9\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"8cfeaa5a-7e7e-4b31-a914-29f27d508f30\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"8cfeaa5a-7e7e-4b31-a914-29f27d508f30\", \"doc\": null, \"tags\": []}}, {\"id\": \"f4c21229-c04a-43bb-afe3-83b977b1c7ef\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"f4c21229-c04a-43bb-afe3-83b977b1c7ef\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"3f125d25-265b-43a0-a48b-e6805edee8b2\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"8cfeaa5a-7e7e-4b31-a914-29f27d508f30\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"d31129c4-f3cd-49e2-98f7-f3906a95d03e\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"d31129c4-f3cd-49e2-98f7-f3906a95d03e\"}}, {\"id\": \"9c833ae0-d8c0-4706-8000-24f9944883e1\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"9bda1b17-a795-40c4-9c58-be58c2d6c9eb\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"eb42c218-be57-461f-9c51-89ff68a70dc0\", \"type\": \"ColumnDataSource\"}, \"id\": \"9c833ae0-d8c0-4706-8000-24f9944883e1\", \"glyph\": {\"id\": \"427e8f6e-cde7-4e47-bfd9-b25f34347cf5\", \"type\": \"Line\"}}}, {\"id\": \"45d924c7-6b68-42d6-b7fe-5a8b0a0e5636\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"45d924c7-6b68-42d6-b7fe-5a8b0a0e5636\", \"doc\": null, \"tags\": []}}, {\"id\": \"8465ede4-1044-4d75-8c6d-512cbf59eda3\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"8465ede4-1044-4d75-8c6d-512cbf59eda3\", \"legends\": [[\"binghamton\", [{\"id\": \"a9d23825-94f6-4eaf-b12a-19d58ca0ba6d\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"03899843-afcd-4ea0-a7e1-20c25bbfbc60\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"1b0be0a1-c7bb-40fe-8cf9-af14f203dc86\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"9c833ae0-d8c0-4706-8000-24f9944883e1\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"a9d23825-94f6-4eaf-b12a-19d58ca0ba6d\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"7fd94bb5-9c95-40c0-8372-1babdc213720\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"20b86354-3c30-4605-b245-066b13472013\", \"type\": \"ColumnDataSource\"}, \"id\": \"a9d23825-94f6-4eaf-b12a-19d58ca0ba6d\", \"glyph\": {\"id\": \"c3ffb219-e131-41cc-aa7a-fe1b08af9910\", \"type\": \"Line\"}}}, {\"id\": \"a7286b3e-8d7f-4550-b0f9-10390820fc01\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"a7286b3e-8d7f-4550-b0f9-10390820fc01\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"c22baa21-77b3-4422-b556-54732851776b\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"c22baa21-77b3-4422-b556-54732851776b\"}}, {\"id\": \"c2a04f87-246a-4460-8cf2-7ee249b40818\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"c2a04f87-246a-4460-8cf2-7ee249b40818\", \"data\": {\"y\": [0.6183870967741935, 0.5674193548387096, 0.5925806451612904, 0.5725806451612903, 0.6335483870967743, 0.4732258064516129, 0.581, 0.588709677419355, 0.5690000000000001, 0.6354838709677418, 0.6274193548387096, 0.547741935483871, 0.5241935483870968, 0.43225806451612897, 0.4751612903225806, 0.34677419354838707, 0.35516129032258065, 0.30866666666666664, 0.31483870967741934, 0.38709677419354843, 0.4303225806451612, 0.3333333333333333, 0.2703225806451613, 0.0, 0.17800000000000002, 0.1689655172413793], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"4ad19f98-ae0e-464e-a4e4-d613c7fe13b2\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"4ad19f98-ae0e-464e-a4e4-d613c7fe13b2\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"7fd94bb5-9c95-40c0-8372-1babdc213720\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"7fd94bb5-9c95-40c0-8372-1babdc213720\"}}, {\"id\": \"eb42c218-be57-461f-9c51-89ff68a70dc0\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"eb42c218-be57-461f-9c51-89ff68a70dc0\", \"data\": {\"y\": [0.6993548387096774, 0.6167741935483871, 0.5538709677419356, 0.6629032258064516, 0.5548387096774193, 0.6132258064516127, 0.776, 0.5329032258064517, 0.4423333333333333, 0.6799999999999999, 0.6809677419354838, 0.6583870967741937, 0.5341935483870969, 0.5141935483870967, 0.6645161290322581, 0.5593548387096774, 0.4729032258064516, 0.6303333333333333, 0.5448387096774193, 0.6329032258064516, 0.6458064516129032, 0.5526666666666666, 0.4745161290322581, 0.0, 0.069375, 0.08526315789473685], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"e0b9572e-f365-4529-9683-c1b81e0bb2b8\", \"type\": \"PanTool\"}, {\"id\": \"7c829505-bb40-478d-8c64-5c51105ab664\", \"type\": \"WheelZoomTool\"}, {\"id\": \"4f76e711-b138-4ee8-a924-e68087b5968d\", \"type\": \"BoxZoomTool\"}, {\"id\": \"4ad19f98-ae0e-464e-a4e4-d613c7fe13b2\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"a0eebae6-5cae-4228-b5fd-b203448ced5f\", \"type\": \"ResizeTool\"}, {\"id\": \"a7286b3e-8d7f-4550-b0f9-10390820fc01\", \"type\": \"ResetTool\"}, {\"id\": \"94906952-8edf-49a4-9580-9f6a68ce485a\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"fd835bee-4021-4240-b51c-7bd9635d4df0\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"b41ca096-49f7-440f-a186-31cb98bf20c6\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"f4c21229-c04a-43bb-afe3-83b977b1c7ef\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"title\": \"August Average Precipitation Chance\", \"renderers\": [{\"id\": \"f4c21229-c04a-43bb-afe3-83b977b1c7ef\", \"type\": \"LinearAxis\"}, {\"id\": \"4df4fc88-f92b-4ec9-bcd4-220c79f27d59\", \"type\": \"Grid\"}, {\"id\": \"fd835bee-4021-4240-b51c-7bd9635d4df0\", \"type\": \"LinearAxis\"}, {\"id\": \"95bb0bc2-2d6e-4e21-92c2-d3a64afaabb1\", \"type\": \"Grid\"}, {\"id\": \"8465ede4-1044-4d75-8c6d-512cbf59eda3\", \"type\": \"Legend\"}, {\"id\": \"a9d23825-94f6-4eaf-b12a-19d58ca0ba6d\", \"type\": \"GlyphRenderer\"}, {\"id\": \"03899843-afcd-4ea0-a7e1-20c25bbfbc60\", \"type\": \"GlyphRenderer\"}, {\"id\": \"1b0be0a1-c7bb-40fe-8cf9-af14f203dc86\", \"type\": \"GlyphRenderer\"}, {\"id\": \"9c833ae0-d8c0-4706-8000-24f9944883e1\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"fde8083d-1e0c-4fde-a0ea-a7a360d03052\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"3ac45d12-ffe2-4aef-b0f8-05231c852cce\", \"type\": \"DataRange1d\"}}}, {\"id\": \"95bb0bc2-2d6e-4e21-92c2-d3a64afaabb1\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"95bb0bc2-2d6e-4e21-92c2-d3a64afaabb1\", \"ticker\": {\"id\": \"9aec0831-6a36-4a9b-9e96-f485662bb59e\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"id\": \"fb6814e1-41f4-43d9-94f3-640c0e69569e\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"fb6814e1-41f4-43d9-94f3-640c0e69569e\"}}, {\"id\": \"b41ca096-49f7-440f-a186-31cb98bf20c6\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"b41ca096-49f7-440f-a186-31cb98bf20c6\", \"geometries\": []}}, {\"id\": \"427e8f6e-cde7-4e47-bfd9-b25f34347cf5\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"427e8f6e-cde7-4e47-bfd9-b25f34347cf5\"}}, {\"id\": \"03899843-afcd-4ea0-a7e1-20c25bbfbc60\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"c22baa21-77b3-4422-b556-54732851776b\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"9628bc0b-b3eb-42f5-848a-e27fd3f70857\", \"type\": \"ColumnDataSource\"}, \"id\": \"03899843-afcd-4ea0-a7e1-20c25bbfbc60\", \"glyph\": {\"id\": \"fb6814e1-41f4-43d9-94f3-640c0e69569e\", \"type\": \"Line\"}}}, {\"id\": \"20b86354-3c30-4605-b245-066b13472013\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"20b86354-3c30-4605-b245-066b13472013\", \"data\": {\"y\": [0.6529032258064517, 0.6212903225806452, 0.6741935483870969, 0.7296774193548388, 0.7429032258064515, 0.5577419354838709, 0.526, 0.48741935483870963, 0.2990322580645161, 0.503225806451613, 0.4893548387096774, 0.37322580645161285, 0.3796774193548388, 0.47580645161290325, 0.5470967741935484, 0.44870967741935486, 0.3983870967741936, 0.3309999999999999, 0.397741935483871, 0.4961290322580646, 0.4716129032258064, 0.5163333333333333, 0.4299999999999999, 0.0, 0.16894736842105265, 0.2011538461538461], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"7c829505-bb40-478d-8c64-5c51105ab664\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"7c829505-bb40-478d-8c64-5c51105ab664\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"fde8083d-1e0c-4fde-a0ea-a7a360d03052\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"fde8083d-1e0c-4fde-a0ea-a7a360d03052\", \"tags\": [], \"names\": []}}, {\"id\": \"3ac45d12-ffe2-4aef-b0f8-05231c852cce\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"3ac45d12-ffe2-4aef-b0f8-05231c852cce\", \"tags\": [], \"names\": []}}, {\"id\": \"1b0be0a1-c7bb-40fe-8cf9-af14f203dc86\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"7e56a422-ca67-4bc9-bee8-4d4ac0fc7478\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"c2a04f87-246a-4460-8cf2-7ee249b40818\", \"type\": \"ColumnDataSource\"}, \"id\": \"1b0be0a1-c7bb-40fe-8cf9-af14f203dc86\", \"glyph\": {\"id\": \"d31129c4-f3cd-49e2-98f7-f3906a95d03e\", \"type\": \"Line\"}}}, {\"id\": \"9628bc0b-b3eb-42f5-848a-e27fd3f70857\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"9628bc0b-b3eb-42f5-848a-e27fd3f70857\", \"data\": {\"y\": [0.6532258064516128, 0.6990322580645162, 0.6735483870967741, 0.5064516129032258, 0.5329032258064517, 0.5306451612903227, 0.5311111111111111, 0.48516129032258065, 0.5106451612903226, 0.6361290322580646, 0.5535483870967742, 0.40419354838709676, 0.4232258064516129, 0.4661290322580645, 0.5380645161290323, 0.40709677419354834, 0.44677419354838716, 0.3223333333333334, 0.44677419354838716, 0.537741935483871, 0.49064516129032254, 0.364, 0.5296774193548387, 0.0, 0.18809523809523812, 0.16185185185185186], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"e0b9572e-f365-4529-9683-c1b81e0bb2b8\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"e0b9572e-f365-4529-9683-c1b81e0bb2b8\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"a0eebae6-5cae-4228-b5fd-b203448ced5f\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"a0eebae6-5cae-4228-b5fd-b203448ced5f\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"9bda1b17-a795-40c4-9c58-be58c2d6c9eb\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"9bda1b17-a795-40c4-9c58-be58c2d6c9eb\"}}, {\"id\": \"c3ffb219-e131-41cc-aa7a-fe1b08af9910\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"c3ffb219-e131-41cc-aa7a-fe1b08af9910\"}}, {\"id\": \"fd835bee-4021-4240-b51c-7bd9635d4df0\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"fd835bee-4021-4240-b51c-7bd9635d4df0\", \"tags\": [], \"axis_label\": \"Precipitation Chance Percentage\", \"ticker\": {\"id\": \"9aec0831-6a36-4a9b-9e96-f485662bb59e\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"45d924c7-6b68-42d6-b7fe-5a8b0a0e5636\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"4f76e711-b138-4ee8-a924-e68087b5968d\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"4f76e711-b138-4ee8-a924-e68087b5968d\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"7e56a422-ca67-4bc9-bee8-4d4ac0fc7478\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"7e56a422-ca67-4bc9-bee8-4d4ac0fc7478\"}}, {\"id\": \"9aec0831-6a36-4a9b-9e96-f485662bb59e\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"9aec0831-6a36-4a9b-9e96-f485662bb59e\", \"num_minor_ticks\": 5}}, {\"id\": \"94906952-8edf-49a4-9580-9f6a68ce485a\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"94906952-8edf-49a4-9580-9f6a68ce485a\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"4df4fc88-f92b-4ec9-bcd4-220c79f27d59\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"4df4fc88-f92b-4ec9-bcd4-220c79f27d59\", \"ticker\": {\"id\": \"3f125d25-265b-43a0-a48b-e6805edee8b2\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"25cba7f1-673b-4421-b96e-7f752c459bbf\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"3f125d25-265b-43a0-a48b-e6805edee8b2\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"3f125d25-265b-43a0-a48b-e6805edee8b2\", \"num_minor_ticks\": 5}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': '3faf01ac-98d4-485c-b8fe-4eb2b75c6848', 'modelid': '25cba7f1-673b-4421-b96e-7f752c459bbf'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"3faf01ac-98d4-485c-b8fe-4eb2b75c6848\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"4f659e25-7cb5-4379-9a53-009cac7ac81e\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"4f659e25-7cb5-4379-9a53-009cac7ac81e\"}}, {\"id\": \"0ee1d186-7b25-41c6-b272-a6806b096458\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"0ee1d186-7b25-41c6-b272-a6806b096458\"}}, {\"id\": \"bb535d98-078d-4cf9-aab1-285c94d3e005\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"bb535d98-078d-4cf9-aab1-285c94d3e005\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"c300e456-02f5-4b06-965c-8d068d197d17\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"c300e456-02f5-4b06-965c-8d068d197d17\", \"ticker\": {\"id\": \"47840619-d51a-47e7-a4c9-66470857f424\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"id\": \"9fd05629-7543-4b36-afb1-2c18aad4fe5d\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"9fd05629-7543-4b36-afb1-2c18aad4fe5d\"}}, {\"id\": \"a7267d3a-1d7a-4550-90d7-40a8e416e1f4\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"a7267d3a-1d7a-4550-90d7-40a8e416e1f4\"}}, {\"id\": \"7a31c9ad-57f4-4e53-bf8e-3fa488c22ee0\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"7a31c9ad-57f4-4e53-bf8e-3fa488c22ee0\"}}, {\"id\": \"35d98fe6-eda2-4ebf-89f7-71d7c909191a\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"0ee1d186-7b25-41c6-b272-a6806b096458\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"833018f4-752a-42ad-8321-c2abec916859\", \"type\": \"ColumnDataSource\"}, \"id\": \"35d98fe6-eda2-4ebf-89f7-71d7c909191a\", \"glyph\": {\"id\": \"7a31c9ad-57f4-4e53-bf8e-3fa488c22ee0\", \"type\": \"Line\"}}}, {\"id\": \"c1cb1b43-7598-4c26-908a-d0ad38d22d12\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"c1cb1b43-7598-4c26-908a-d0ad38d22d12\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"b37929ca-7872-43cf-bcda-f6d927ceebd1\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"b37929ca-7872-43cf-bcda-f6d927ceebd1\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"755db9c3-6abc-4e82-8b39-9558d5ef175d\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"755db9c3-6abc-4e82-8b39-9558d5ef175d\", \"tags\": [], \"axis_label\": \"Precipitation Chance Percentage\", \"ticker\": {\"id\": \"47840619-d51a-47e7-a4c9-66470857f424\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"c6c8a1a7-d02c-424b-b22f-f6865bd00388\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"833018f4-752a-42ad-8321-c2abec916859\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"833018f4-752a-42ad-8321-c2abec916859\", \"data\": {\"y\": [0.6203333333333333, 0.5426666666666666, 0.6256666666666668, 0.6793333333333333, 0.6166666666666666, 0.5653333333333332, 0.6893333333333334, 0.672, 0.514, 0.6556666666666667, 0.5693333333333334, 0.5216666666666666, 0.5286206896551725, 0.4739999999999999, 0.49699999999999994, 0.30033333333333334, 0.4596666666666666, 0.18799999999999997, 0.3950000000000001, 0.4036666666666667, 0.424, 0.4699999999999999, 0.39766666666666667, 0.0, 0.1581818181818182, 0.14639999999999997], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"cae89dc1-92bf-407e-a420-6dbfdef5f72d\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"4f659e25-7cb5-4379-9a53-009cac7ac81e\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"2dd59167-0891-4dea-a377-e452a501e02b\", \"type\": \"ColumnDataSource\"}, \"id\": \"cae89dc1-92bf-407e-a420-6dbfdef5f72d\", \"glyph\": {\"id\": \"9fd05629-7543-4b36-afb1-2c18aad4fe5d\", \"type\": \"Line\"}}}, {\"id\": \"2dd59167-0891-4dea-a377-e452a501e02b\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"2dd59167-0891-4dea-a377-e452a501e02b\", \"data\": {\"y\": [0.7283333333333335, 0.5700000000000001, 0.6843333333333332, 0.7646666666666667, 0.7246666666666667, 0.5999999999999999, 0.5765517241379311, 0.5566666666666666, 0.3773333333333333, 0.5073333333333333, 0.41499999999999987, 0.43533333333333335, 0.3858620689655172, 0.5713333333333332, 0.4596666666666666, 0.3389999999999999, 0.6133333333333332, 0.30766666666666664, 0.43966666666666665, 0.499, 0.5066666666666666, 0.6539999999999999, 0.5556666666666668, 0.0, 0.13869565217391305, 0.1225925925925926], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"198e8175-d0fe-4569-a2a0-2944dc95f9f8\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"a7267d3a-1d7a-4550-90d7-40a8e416e1f4\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"223a3cf8-8c35-48f4-92eb-eff054c465be\", \"type\": \"ColumnDataSource\"}, \"id\": \"198e8175-d0fe-4569-a2a0-2944dc95f9f8\", \"glyph\": {\"id\": \"d30ab0e8-03d0-4cce-b8b1-c6ee5c57b070\", \"type\": \"Line\"}}}, {\"id\": \"f25508d9-9dc6-49cc-9ce0-3b0bce8f0310\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"f25508d9-9dc6-49cc-9ce0-3b0bce8f0310\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"0bbabc6a-f25d-4900-bdad-74252c6252e8\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"3e0d8f08-f4f9-42fb-8265-62a04de1bf96\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"ac4617ec-8ba5-475d-9225-ecb4348195bf\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"ac4617ec-8ba5-475d-9225-ecb4348195bf\"}}, {\"id\": \"34d1d405-6850-4172-abaf-51ceb2957be0\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"34d1d405-6850-4172-abaf-51ceb2957be0\"}}, {\"id\": \"3e0d8f08-f4f9-42fb-8265-62a04de1bf96\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"3e0d8f08-f4f9-42fb-8265-62a04de1bf96\", \"doc\": null, \"tags\": []}}, {\"id\": \"944111b9-8de1-413a-91ae-3e563fd24941\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"944111b9-8de1-413a-91ae-3e563fd24941\", \"data\": {\"y\": [0.6846666666666666, 0.5103333333333333, 0.7086666666666666, 0.47900000000000004, 0.6426666666666667, 0.645, 0.7875862068965517, 0.6486666666666665, 0.4963333333333333, 0.4126666666666666, 0.6416666666666667, 0.6946666666666668, 0.5624137931034483, 0.5653333333333334, 0.7806666666666666, 0.6273333333333333, 0.505, 0.6756666666666666, 0.47600000000000003, 0.417, 0.833, 0.45199999999999996, 0.4203333333333334, 0.0, 0.0775, 0.19200000000000003], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"fe7959f6-2061-4618-9c99-150a30c05f63\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"fe7959f6-2061-4618-9c99-150a30c05f63\", \"tags\": [], \"names\": []}}, {\"id\": \"4621aa26-38a8-4836-9a06-6ae94a5809b5\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"4621aa26-38a8-4836-9a06-6ae94a5809b5\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"dae3d7bb-ffb2-4b1a-a0c3-c89100b678f1\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"dae3d7bb-ffb2-4b1a-a0c3-c89100b678f1\", \"legends\": [[\"binghamton\", [{\"id\": \"cae89dc1-92bf-407e-a420-6dbfdef5f72d\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"198e8175-d0fe-4569-a2a0-2944dc95f9f8\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"35d98fe6-eda2-4ebf-89f7-71d7c909191a\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"1afd2b1c-d54f-48fa-a978-246b34669603\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"612e127a-61ce-491e-b297-e9977fb9595c\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"612e127a-61ce-491e-b297-e9977fb9595c\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"1afd2b1c-d54f-48fa-a978-246b34669603\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"ac4617ec-8ba5-475d-9225-ecb4348195bf\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"944111b9-8de1-413a-91ae-3e563fd24941\", \"type\": \"ColumnDataSource\"}, \"id\": \"1afd2b1c-d54f-48fa-a978-246b34669603\", \"glyph\": {\"id\": \"34d1d405-6850-4172-abaf-51ceb2957be0\", \"type\": \"Line\"}}}, {\"id\": \"d30ab0e8-03d0-4cce-b8b1-c6ee5c57b070\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"d30ab0e8-03d0-4cce-b8b1-c6ee5c57b070\"}}, {\"id\": \"ee023ec8-0a4b-4f15-826b-268420affe3c\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"ee023ec8-0a4b-4f15-826b-268420affe3c\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"c6c8a1a7-d02c-424b-b22f-f6865bd00388\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"c6c8a1a7-d02c-424b-b22f-f6865bd00388\", \"doc\": null, \"tags\": []}}, {\"id\": \"b82268ba-05c1-4e01-8a33-ce2568c69aef\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"b82268ba-05c1-4e01-8a33-ce2568c69aef\", \"tags\": [], \"names\": []}}, {\"id\": \"50b4f9f3-eacd-4415-b044-93e5559eb150\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"50b4f9f3-eacd-4415-b044-93e5559eb150\", \"geometries\": []}}, {\"id\": \"47840619-d51a-47e7-a4c9-66470857f424\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"47840619-d51a-47e7-a4c9-66470857f424\", \"num_minor_ticks\": 5}}, {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"bb535d98-078d-4cf9-aab1-285c94d3e005\", \"type\": \"PanTool\"}, {\"id\": \"b37929ca-7872-43cf-bcda-f6d927ceebd1\", \"type\": \"WheelZoomTool\"}, {\"id\": \"4621aa26-38a8-4836-9a06-6ae94a5809b5\", \"type\": \"BoxZoomTool\"}, {\"id\": \"ee023ec8-0a4b-4f15-826b-268420affe3c\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"0f9c500a-9300-48e5-a608-19b69f057505\", \"type\": \"ResizeTool\"}, {\"id\": \"c1cb1b43-7598-4c26-908a-d0ad38d22d12\", \"type\": \"ResetTool\"}, {\"id\": \"612e127a-61ce-491e-b297-e9977fb9595c\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"755db9c3-6abc-4e82-8b39-9558d5ef175d\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"50b4f9f3-eacd-4415-b044-93e5559eb150\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"f25508d9-9dc6-49cc-9ce0-3b0bce8f0310\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"title\": \"September Average Precipitation Chance\", \"renderers\": [{\"id\": \"f25508d9-9dc6-49cc-9ce0-3b0bce8f0310\", \"type\": \"LinearAxis\"}, {\"id\": \"65339b02-3a7c-4f2e-9876-4a7a35b44f86\", \"type\": \"Grid\"}, {\"id\": \"755db9c3-6abc-4e82-8b39-9558d5ef175d\", \"type\": \"LinearAxis\"}, {\"id\": \"c300e456-02f5-4b06-965c-8d068d197d17\", \"type\": \"Grid\"}, {\"id\": \"dae3d7bb-ffb2-4b1a-a0c3-c89100b678f1\", \"type\": \"Legend\"}, {\"id\": \"cae89dc1-92bf-407e-a420-6dbfdef5f72d\", \"type\": \"GlyphRenderer\"}, {\"id\": \"198e8175-d0fe-4569-a2a0-2944dc95f9f8\", \"type\": \"GlyphRenderer\"}, {\"id\": \"35d98fe6-eda2-4ebf-89f7-71d7c909191a\", \"type\": \"GlyphRenderer\"}, {\"id\": \"1afd2b1c-d54f-48fa-a978-246b34669603\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"fe7959f6-2061-4618-9c99-150a30c05f63\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"b82268ba-05c1-4e01-8a33-ce2568c69aef\", \"type\": \"DataRange1d\"}}}, {\"id\": \"65339b02-3a7c-4f2e-9876-4a7a35b44f86\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"65339b02-3a7c-4f2e-9876-4a7a35b44f86\", \"ticker\": {\"id\": \"0bbabc6a-f25d-4900-bdad-74252c6252e8\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"223a3cf8-8c35-48f4-92eb-eff054c465be\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"223a3cf8-8c35-48f4-92eb-eff054c465be\", \"data\": {\"y\": [0.49999999999999994, 0.5026666666666667, 0.6086666666666667, 0.526, 0.4683333333333333, 0.6596666666666667, 0.4693333333333333, 0.5576666666666666, 0.43799999999999994, 0.5730000000000001, 0.6706666666666664, 0.3756666666666666, 0.6148275862068965, 0.465, 0.5736666666666667, 0.409, 0.45066666666666666, 0.304, 0.6056666666666667, 0.5263333333333333, 0.35433333333333333, 0.5363333333333333, 0.453, 0.0, 0.1827777777777778, 0.18416666666666667], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"0bbabc6a-f25d-4900-bdad-74252c6252e8\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"0bbabc6a-f25d-4900-bdad-74252c6252e8\", \"num_minor_ticks\": 5}}, {\"id\": \"0f9c500a-9300-48e5-a608-19b69f057505\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"0f9c500a-9300-48e5-a608-19b69f057505\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"d3ce1d2d-8527-424d-a4ab-052b6312f2f1\", \"type\": \"Plot\"}, \"tags\": []}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': '6bb8b584-4e31-4bd0-936e-1a5790e8966a', 'modelid': 'd3ce1d2d-8527-424d-a4ab-052b6312f2f1'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"6bb8b584-4e31-4bd0-936e-1a5790e8966a\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"8f7d5a35-1ea2-4a97-8e50-01a8cef49e94\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"8f7d5a35-1ea2-4a97-8e50-01a8cef49e94\"}}, {\"id\": \"1b5d44a2-6616-47a5-a0a8-d87d2a8bc267\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"1b5d44a2-6616-47a5-a0a8-d87d2a8bc267\", \"tags\": [], \"names\": []}}, {\"id\": \"4405466e-9e7a-4235-8f8c-3e373bb01914\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"933aa1ab-0e9f-4d21-93bc-fb61ef71c3e0\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"c7fc74fd-8e2e-4967-ab76-5690078c386e\", \"type\": \"ColumnDataSource\"}, \"id\": \"4405466e-9e7a-4235-8f8c-3e373bb01914\", \"glyph\": {\"id\": \"3eb68a3c-8892-4430-98a9-f6f6895f237e\", \"type\": \"Line\"}}}, {\"id\": \"67d41c16-de52-4506-ba14-9442f2708971\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"67d41c16-de52-4506-ba14-9442f2708971\", \"data\": {\"y\": [0.6961290322580646, 0.6241935483870968, 0.6606451612903228, 0.6796774193548387, 0.6680645161290323, 0.6438709677419354, 0.4832258064516128, 0.4019354838709678, 0.5977419354838711, 0.46548387096774196, 0.4851612903225806, 0.4206451612903225, 0.6663333333333333, 0.4841935483870968, 0.5964516129032258, 0.6780645161290324, 0.5725806451612904, 0.49193548387096775, 0.3929032258064516, 0.7148387096774195, 0.5345161290322581, 0.6061290322580645, 0.7341935483870967, 0.0, 0.15312499999999998, 0.1165], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"c1f7a20b-170e-4d1e-8030-17a9e0e8f154\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"c1f7a20b-170e-4d1e-8030-17a9e0e8f154\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"b240d673-78a2-43a4-82da-60bd0f967ea1\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"b240d673-78a2-43a4-82da-60bd0f967ea1\", \"num_minor_ticks\": 5}}, {\"id\": \"5daa49d2-85b9-4e8a-911c-2a2905217a9d\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"5daa49d2-85b9-4e8a-911c-2a2905217a9d\"}}, {\"id\": \"0b89f159-d0fa-4d6c-a8fa-476d24a79048\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"0b89f159-d0fa-4d6c-a8fa-476d24a79048\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"31ff416f-4a33-4311-944a-998f120259e5\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"31ff416f-4a33-4311-944a-998f120259e5\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"8edb37e8-c96a-4e9b-9b29-f42973e1c0e5\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"8edb37e8-c96a-4e9b-9b29-f42973e1c0e5\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"a078423a-8e46-4d2f-91f2-d5d957ac64e0\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"a078423a-8e46-4d2f-91f2-d5d957ac64e0\"}}, {\"id\": \"72b9484b-42ea-4a0b-aed3-feac05d1d922\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"72b9484b-42ea-4a0b-aed3-feac05d1d922\", \"num_minor_ticks\": 5}}, {\"id\": \"4ac9102f-e0fb-4fe5-99c6-39c19b51d962\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"4ac9102f-e0fb-4fe5-99c6-39c19b51d962\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": []}}, {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"de65cf7c-6277-4f5d-9f44-e547b27b754f\", \"type\": \"PanTool\"}, {\"id\": \"31ff416f-4a33-4311-944a-998f120259e5\", \"type\": \"WheelZoomTool\"}, {\"id\": \"4ac9102f-e0fb-4fe5-99c6-39c19b51d962\", \"type\": \"BoxZoomTool\"}, {\"id\": \"0b89f159-d0fa-4d6c-a8fa-476d24a79048\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"8edb37e8-c96a-4e9b-9b29-f42973e1c0e5\", \"type\": \"ResizeTool\"}, {\"id\": \"4fc41451-5577-4c77-8d04-593e21646eb1\", \"type\": \"ResetTool\"}, {\"id\": \"c1f7a20b-170e-4d1e-8030-17a9e0e8f154\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"8fa2d7df-d9ef-4a4c-97cb-8b873cb90ffb\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"6c6a285c-0d08-47ce-b4c5-661b84a0af57\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"341cf9b3-4671-40f9-a0dc-a0eb90c05922\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"title\": \"October Average Precipitation Chance\", \"renderers\": [{\"id\": \"341cf9b3-4671-40f9-a0dc-a0eb90c05922\", \"type\": \"LinearAxis\"}, {\"id\": \"5978deba-4b41-441d-a3de-db70854e9aaf\", \"type\": \"Grid\"}, {\"id\": \"8fa2d7df-d9ef-4a4c-97cb-8b873cb90ffb\", \"type\": \"LinearAxis\"}, {\"id\": \"5f68455b-3b31-4f68-b3e5-a72ecde2ffbd\", \"type\": \"Grid\"}, {\"id\": \"665f1d56-115c-406b-be47-1e87ab34a3b3\", \"type\": \"Legend\"}, {\"id\": \"f37490da-85e3-46fd-ad21-a115724bdde0\", \"type\": \"GlyphRenderer\"}, {\"id\": \"daabc7c8-8af6-48b5-8020-1a1931b0b078\", \"type\": \"GlyphRenderer\"}, {\"id\": \"d073ddd9-334e-40bd-8628-b6983482e846\", \"type\": \"GlyphRenderer\"}, {\"id\": \"4405466e-9e7a-4235-8f8c-3e373bb01914\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"1b5d44a2-6616-47a5-a0a8-d87d2a8bc267\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"821604e2-bf52-459c-9fcb-be72cfcd43bc\", \"type\": \"DataRange1d\"}}}, {\"id\": \"4fc41451-5577-4c77-8d04-593e21646eb1\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"4fc41451-5577-4c77-8d04-593e21646eb1\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"933aa1ab-0e9f-4d21-93bc-fb61ef71c3e0\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"933aa1ab-0e9f-4d21-93bc-fb61ef71c3e0\"}}, {\"id\": \"6c6a285c-0d08-47ce-b4c5-661b84a0af57\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"6c6a285c-0d08-47ce-b4c5-661b84a0af57\", \"geometries\": []}}, {\"id\": \"f3a31394-db43-453c-81f1-05fcf0e98ffb\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"f3a31394-db43-453c-81f1-05fcf0e98ffb\"}}, {\"id\": \"c33187c2-fede-48d9-b3cd-1e7d4255cd7b\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"c33187c2-fede-48d9-b3cd-1e7d4255cd7b\"}}, {\"id\": \"665f1d56-115c-406b-be47-1e87ab34a3b3\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"665f1d56-115c-406b-be47-1e87ab34a3b3\", \"legends\": [[\"binghamton\", [{\"id\": \"f37490da-85e3-46fd-ad21-a115724bdde0\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"daabc7c8-8af6-48b5-8020-1a1931b0b078\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"d073ddd9-334e-40bd-8628-b6983482e846\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"4405466e-9e7a-4235-8f8c-3e373bb01914\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"daabc7c8-8af6-48b5-8020-1a1931b0b078\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"c33187c2-fede-48d9-b3cd-1e7d4255cd7b\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"93fc81d7-efd1-4637-bd89-39b676adf92e\", \"type\": \"ColumnDataSource\"}, \"id\": \"daabc7c8-8af6-48b5-8020-1a1931b0b078\", \"glyph\": {\"id\": \"8f7d5a35-1ea2-4a97-8e50-01a8cef49e94\", \"type\": \"Line\"}}}, {\"id\": \"8fa2d7df-d9ef-4a4c-97cb-8b873cb90ffb\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"8fa2d7df-d9ef-4a4c-97cb-8b873cb90ffb\", \"tags\": [], \"axis_label\": \"Precipitation Chance Percentage\", \"ticker\": {\"id\": \"b240d673-78a2-43a4-82da-60bd0f967ea1\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"70fb30ca-4edd-4ed4-b1bf-64b380e46586\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"8f87ab01-3aa0-42d0-89c1-714d54b27f6e\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"8f87ab01-3aa0-42d0-89c1-714d54b27f6e\", \"data\": {\"y\": [0.6132258064516128, 0.5522580645161289, 0.5525806451612902, 0.5851612903225807, 0.5409677419354838, 0.557741935483871, 0.5425806451612903, 0.5603225806451612, 0.5793548387096774, 0.5303225806451614, 0.5416129032258067, 0.44741935483870965, 0.6061290322580644, 0.48516129032258065, 0.5267741935483871, 0.6600000000000001, 0.45419354838709686, 0.4112903225806452, 0.27774193548387094, 0.529032258064516, 0.38451612903225796, 0.37999999999999995, 0.4125806451612903, 0.0, 0.12199999999999998, 0.1860869565217391], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"f37490da-85e3-46fd-ad21-a115724bdde0\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"f3a31394-db43-453c-81f1-05fcf0e98ffb\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"67d41c16-de52-4506-ba14-9442f2708971\", \"type\": \"ColumnDataSource\"}, \"id\": \"f37490da-85e3-46fd-ad21-a115724bdde0\", \"glyph\": {\"id\": \"f436d74d-52f3-4831-98cf-03c1cd85fde7\", \"type\": \"Line\"}}}, {\"id\": \"5978deba-4b41-441d-a3de-db70854e9aaf\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"5978deba-4b41-441d-a3de-db70854e9aaf\", \"ticker\": {\"id\": \"72b9484b-42ea-4a0b-aed3-feac05d1d922\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"3eb68a3c-8892-4430-98a9-f6f6895f237e\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"3eb68a3c-8892-4430-98a9-f6f6895f237e\"}}, {\"id\": \"821604e2-bf52-459c-9fcb-be72cfcd43bc\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"821604e2-bf52-459c-9fcb-be72cfcd43bc\", \"tags\": [], \"names\": []}}, {\"id\": \"341cf9b3-4671-40f9-a0dc-a0eb90c05922\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"341cf9b3-4671-40f9-a0dc-a0eb90c05922\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"72b9484b-42ea-4a0b-aed3-feac05d1d922\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"ccca32d3-6753-4a00-91a5-23b15a8674da\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"f436d74d-52f3-4831-98cf-03c1cd85fde7\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"f436d74d-52f3-4831-98cf-03c1cd85fde7\"}}, {\"id\": \"5f68455b-3b31-4f68-b3e5-a72ecde2ffbd\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"5f68455b-3b31-4f68-b3e5-a72ecde2ffbd\", \"ticker\": {\"id\": \"b240d673-78a2-43a4-82da-60bd0f967ea1\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}, {\"id\": \"d073ddd9-334e-40bd-8628-b6983482e846\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"a078423a-8e46-4d2f-91f2-d5d957ac64e0\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"8f87ab01-3aa0-42d0-89c1-714d54b27f6e\", \"type\": \"ColumnDataSource\"}, \"id\": \"d073ddd9-334e-40bd-8628-b6983482e846\", \"glyph\": {\"id\": \"5daa49d2-85b9-4e8a-911c-2a2905217a9d\", \"type\": \"Line\"}}}, {\"id\": \"c7fc74fd-8e2e-4967-ab76-5690078c386e\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"c7fc74fd-8e2e-4967-ab76-5690078c386e\", \"data\": {\"y\": [0.8332258064516128, 0.6358064516129033, 0.8170967741935483, 0.7663333333333332, 0.7164516129032257, 0.8035483870967741, 0.7674193548387097, 0.8623333333333334, 0.8263333333333335, 0.6738709677419353, 0.6925806451612904, 0.8170967741935484, 0.7103333333333333, 0.8200000000000002, 0.7067741935483871, 0.7706451612903225, 0.7074193548387097, 0.7637931034482758, 0.6458064516129032, 0.6433333333333333, 0.6564516129032257, 0.8354838709677419, 0.6399999999999999, 0.0, 0.14125000000000001, 0.15357142857142855], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"93fc81d7-efd1-4637-bd89-39b676adf92e\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"93fc81d7-efd1-4637-bd89-39b676adf92e\", \"data\": {\"y\": [0.4774193548387096, 0.4464516129032258, 0.4335483870967742, 0.5816129032258065, 0.617741935483871, 0.4867741935483871, 0.352258064516129, 0.4416129032258065, 0.4658064516129032, 0.4474193548387097, 0.27548387096774196, 0.18161290322580642, 0.6880645161290322, 0.4651612903225806, 0.6435483870967743, 0.44193548387096776, 0.445483870967742, 0.4283870967741935, 0.3738709677419354, 0.6009677419354839, 0.2887096774193549, 0.3587096774193549, 0.4964516129032257, 0.0, 0.10793103448275865, 0.09652173913043477], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"70fb30ca-4edd-4ed4-b1bf-64b380e46586\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"70fb30ca-4edd-4ed4-b1bf-64b380e46586\", \"doc\": null, \"tags\": []}}, {\"id\": \"de65cf7c-6277-4f5d-9f44-e547b27b754f\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"de65cf7c-6277-4f5d-9f44-e547b27b754f\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"310debb9-349e-4bb4-b2b9-06eff1d32eb6\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"ccca32d3-6753-4a00-91a5-23b15a8674da\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"ccca32d3-6753-4a00-91a5-23b15a8674da\", \"doc\": null, \"tags\": []}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': '52f77e18-7aa6-4f4b-af3b-df2ff741ed92', 'modelid': '310debb9-349e-4bb4-b2b9-06eff1d32eb6'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"52f77e18-7aa6-4f4b-af3b-df2ff741ed92\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<script type=\"text/javascript\">\n",
       "        Bokeh.$(function() {\n",
       "        var all_models = [{\"id\": \"a0dca3d2-dc5b-4b17-9929-29d1c62fb98e\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"a0dca3d2-dc5b-4b17-9929-29d1c62fb98e\"}}, {\"id\": \"875304ce-10db-4428-ae8c-61a63c33c6b8\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#f4a582\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"875304ce-10db-4428-ae8c-61a63c33c6b8\"}}, {\"id\": \"d721667b-4189-4af1-beb5-6f13abdf68a4\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#92c5de\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"d721667b-4189-4af1-beb5-6f13abdf68a4\"}}, {\"id\": \"7cefab13-0ab5-4aa9-9758-7bc4bb57c81b\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"7cefab13-0ab5-4aa9-9758-7bc4bb57c81b\", \"tags\": [], \"names\": []}}, {\"id\": \"292c568b-8e5e-4e02-bcd0-c9c9737eee98\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"292c568b-8e5e-4e02-bcd0-c9c9737eee98\", \"doc\": null, \"tags\": []}}, {\"id\": \"aaee78a0-aad4-4925-b2ba-987a3d67cef0\", \"type\": \"DataRange1d\", \"attributes\": {\"doc\": null, \"renderers\": [], \"callback\": null, \"id\": \"aaee78a0-aad4-4925-b2ba-987a3d67cef0\", \"tags\": [], \"names\": []}}, {\"id\": \"b645170c-0b11-4346-bdbc-5d8e6f2e33f2\", \"type\": \"BasicTickFormatter\", \"attributes\": {\"id\": \"b645170c-0b11-4346-bdbc-5d8e6f2e33f2\", \"doc\": null, \"tags\": []}}, {\"id\": \"7ad3acc4-0977-4ee8-b04d-02008ab97a90\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"7ad3acc4-0977-4ee8-b04d-02008ab97a90\", \"num_minor_ticks\": 5}}, {\"id\": \"8379af94-0e3d-470e-949f-768a26518fa4\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"8379af94-0e3d-470e-949f-768a26518fa4\", \"data\": {\"y\": [0.6086666666666666, 0.7286666666666667, 0.7336666666666666, 0.6786666666666665, 0.6093333333333333, 0.7603333333333335, 0.6406666666666666, 0.6883333333333334, 0.5896551724137931, 0.5860000000000001, 0.6826666666666666, 0.47586206896551725, 0.6889655172413793, 0.46068965517241384, 0.42499999999999993, 0.3893333333333333, 0.4190000000000001, 0.4589999999999999, 0.576, 0.4633333333333333, 0.30366666666666664, 0.27299999999999996, 0.5516666666666666, 0.0, 0.159375, 0.15850000000000003], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"749fd181-3593-40c7-b259-5b9d1bc1d1a9\", \"type\": \"BoxZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"749fd181-3593-40c7-b259-5b9d1bc1d1a9\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"b8ca2ef6-ba02-483e-a54f-63f82ab56f61\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#0571b0\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"b8ca2ef6-ba02-483e-a54f-63f82ab56f61\"}}, {\"id\": \"ed20f084-83c1-4a40-a03b-3fcef6d0a217\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"ed20f084-83c1-4a40-a03b-3fcef6d0a217\"}}, {\"id\": \"5350849e-1a43-44c4-847d-b5515623ed15\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"5350849e-1a43-44c4-847d-b5515623ed15\", \"data\": {\"y\": [0.9003333333333334, 0.8909999999999999, 0.8483333333333333, 0.721, 0.86, 0.8386666666666666, 0.8967857142857143, 0.732, 0.8892857142857143, 0.7903333333333333, 0.6796666666666665, 0.8365517241379311, 0.6855172413793104, 0.717, 0.8010344827586209, 0.844, 0.7473333333333333, 0.72, 0.734, 0.7739999999999999, 0.734, 0.6686666666666665, 0.7693333333333333, 0.0, 0.028181818181818183, 0.17384615384615387], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"ec995b7e-b91f-4901-9705-baecbeff2933\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"ec995b7e-b91f-4901-9705-baecbeff2933\", \"ticker\": {\"id\": \"7ad3acc4-0977-4ee8-b04d-02008ab97a90\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 0}}, {\"id\": \"a35b10ee-8007-4b64-a269-9226d3bf330c\", \"type\": \"ResetTool\", \"attributes\": {\"doc\": null, \"id\": \"a35b10ee-8007-4b64-a269-9226d3bf330c\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"04c604b7-6783-4349-ac27-53f67b4b0f58\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"04c604b7-6783-4349-ac27-53f67b4b0f58\", \"data\": {\"y\": [0.378, 0.5566666666666666, 0.6566666666666666, 0.5883333333333334, 0.593, 0.5199999999999999, 0.5883333333333334, 0.5673333333333334, 0.5425, 0.349, 0.5266666666666667, 0.32172413793103455, 0.4406666666666667, 0.5409999999999999, 0.48766666666666664, 0.4086666666666667, 0.4366666666666666, 0.397, 0.4636666666666666, 0.545, 0.36433333333333334, 0.37466666666666665, 0.40933333333333344, 0.0, 0.12291666666666667, 0.076], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"d21fde7c-33c2-4ace-ae45-dab51a5474f8\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"d21fde7c-33c2-4ace-ae45-dab51a5474f8\"}}, {\"id\": \"d754dce4-d25a-44c9-9bd7-40885161161b\", \"type\": \"ResizeTool\", \"attributes\": {\"doc\": null, \"id\": \"d754dce4-d25a-44c9-9bd7-40885161161b\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"090cc7fc-57c8-421e-b94b-3b0ce20d663f\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"090cc7fc-57c8-421e-b94b-3b0ce20d663f\", \"tags\": [], \"axis_label\": \"Year\", \"ticker\": {\"id\": \"7ad3acc4-0977-4ee8-b04d-02008ab97a90\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"b645170c-0b11-4346-bdbc-5d8e6f2e33f2\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"8d035fdc-e5f3-4d60-9b89-4695192a0620\", \"type\": \"BasicTicker\", \"attributes\": {\"doc\": null, \"mantissas\": [2, 5, 10], \"tags\": [], \"id\": \"8d035fdc-e5f3-4d60-9b89-4695192a0620\", \"num_minor_ticks\": 5}}, {\"id\": \"a593446f-50be-4c14-8883-a203effcbcf7\", \"type\": \"ColumnDataSource\", \"attributes\": {\"doc\": null, \"tags\": [], \"callback\": null, \"column_names\": [\"y\", \"x\"], \"id\": \"a593446f-50be-4c14-8883-a203effcbcf7\", \"data\": {\"y\": [0.7170000000000001, 0.8149999999999998, 0.8280000000000001, 0.7963333333333332, 0.7516666666666666, 0.8503333333333335, 0.7786666666666667, 0.7166666666666667, 0.5978571428571428, 0.632, 0.6456666666666667, 0.559655172413793, 0.7356666666666667, 0.5863333333333334, 0.6243333333333333, 0.5806666666666666, 0.5303333333333333, 0.5786206896551724, 0.7256666666666667, 0.5196666666666667, 0.5756666666666667, 0.3973333333333333, 0.47966666666666663, 0.0, 0.1725, 0.05611111111111111], \"x\": [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015]}, \"selected\": {\"2d\": {\"indices\": []}, \"0d\": {\"flag\": false, \"indices\": []}, \"1d\": {\"indices\": []}}}}, {\"id\": \"be4522be-8e6b-4a76-8f41-ffde7643ccc1\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"a0dca3d2-dc5b-4b17-9929-29d1c62fb98e\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"a593446f-50be-4c14-8883-a203effcbcf7\", \"type\": \"ColumnDataSource\"}, \"id\": \"be4522be-8e6b-4a76-8f41-ffde7643ccc1\", \"glyph\": {\"id\": \"b8ca2ef6-ba02-483e-a54f-63f82ab56f61\", \"type\": \"Line\"}}}, {\"id\": \"b421a546-19e2-4dd4-b3ee-666925eec551\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"ed20f084-83c1-4a40-a03b-3fcef6d0a217\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"8379af94-0e3d-470e-949f-768a26518fa4\", \"type\": \"ColumnDataSource\"}, \"id\": \"b421a546-19e2-4dd4-b3ee-666925eec551\", \"glyph\": {\"id\": \"875304ce-10db-4428-ae8c-61a63c33c6b8\", \"type\": \"Line\"}}}, {\"id\": \"b2bdd454-54aa-425f-8f5f-0806b35ee3be\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#ca0020\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 1.0}, \"id\": \"b2bdd454-54aa-425f-8f5f-0806b35ee3be\"}}, {\"id\": \"e84a3c96-a065-43f9-b032-127a552afdc7\", \"type\": \"Line\", \"attributes\": {\"doc\": null, \"line_color\": {\"value\": \"#1f77b4\"}, \"y\": {\"field\": \"y\"}, \"tags\": [], \"x\": {\"field\": \"x\"}, \"line_alpha\": {\"value\": 0.1}, \"id\": \"e84a3c96-a065-43f9-b032-127a552afdc7\"}}, {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\", \"attributes\": {\"extra_x_ranges\": {}, \"extra_y_ranges\": {}, \"tools\": [{\"id\": \"83541f4f-d391-4a4e-9135-c8f418af861e\", \"type\": \"PanTool\"}, {\"id\": \"4e4975e2-6b4a-4545-b64f-c9ac67e1f8c2\", \"type\": \"WheelZoomTool\"}, {\"id\": \"749fd181-3593-40c7-b259-5b9d1bc1d1a9\", \"type\": \"BoxZoomTool\"}, {\"id\": \"f22c684c-eaca-43a1-b3e3-66c5ef2e5e21\", \"type\": \"PreviewSaveTool\"}, {\"id\": \"d754dce4-d25a-44c9-9bd7-40885161161b\", \"type\": \"ResizeTool\"}, {\"id\": \"a35b10ee-8007-4b64-a269-9226d3bf330c\", \"type\": \"ResetTool\"}, {\"id\": \"683efd07-5375-473f-84c2-b30eb9f1c380\", \"type\": \"HelpTool\"}], \"left\": [{\"id\": \"18719615-00ee-4038-b7e8-95b990779254\", \"type\": \"LinearAxis\"}], \"tool_events\": {\"id\": \"482fcbdb-cb2f-406b-bdfd-ff5c04786d52\", \"type\": \"ToolEvents\"}, \"below\": [{\"id\": \"090cc7fc-57c8-421e-b94b-3b0ce20d663f\", \"type\": \"LinearAxis\"}], \"right\": [], \"tags\": [], \"doc\": null, \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"title\": \"November Average Precipitation Chance\", \"renderers\": [{\"id\": \"090cc7fc-57c8-421e-b94b-3b0ce20d663f\", \"type\": \"LinearAxis\"}, {\"id\": \"ec995b7e-b91f-4901-9705-baecbeff2933\", \"type\": \"Grid\"}, {\"id\": \"18719615-00ee-4038-b7e8-95b990779254\", \"type\": \"LinearAxis\"}, {\"id\": \"1f75e7b1-6794-4532-9332-8169ab0f7d74\", \"type\": \"Grid\"}, {\"id\": \"d4617a10-a446-4b12-871f-4741ee023932\", \"type\": \"Legend\"}, {\"id\": \"be4522be-8e6b-4a76-8f41-ffde7643ccc1\", \"type\": \"GlyphRenderer\"}, {\"id\": \"93796a94-9a48-40f2-9fec-b6ccd8214100\", \"type\": \"GlyphRenderer\"}, {\"id\": \"b421a546-19e2-4dd4-b3ee-666925eec551\", \"type\": \"GlyphRenderer\"}, {\"id\": \"21931e47-28e0-4883-b5ba-cc0c2df60a94\", \"type\": \"GlyphRenderer\"}], \"x_range\": {\"id\": \"aaee78a0-aad4-4925-b2ba-987a3d67cef0\", \"type\": \"DataRange1d\"}, \"above\": [], \"y_range\": {\"id\": \"7cefab13-0ab5-4aa9-9758-7bc4bb57c81b\", \"type\": \"DataRange1d\"}}}, {\"id\": \"482fcbdb-cb2f-406b-bdfd-ff5c04786d52\", \"type\": \"ToolEvents\", \"attributes\": {\"doc\": null, \"tags\": [], \"id\": \"482fcbdb-cb2f-406b-bdfd-ff5c04786d52\", \"geometries\": []}}, {\"id\": \"93796a94-9a48-40f2-9fec-b6ccd8214100\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"d21fde7c-33c2-4ace-ae45-dab51a5474f8\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"04c604b7-6783-4349-ac27-53f67b4b0f58\", \"type\": \"ColumnDataSource\"}, \"id\": \"93796a94-9a48-40f2-9fec-b6ccd8214100\", \"glyph\": {\"id\": \"d721667b-4189-4af1-beb5-6f13abdf68a4\", \"type\": \"Line\"}}}, {\"id\": \"18719615-00ee-4038-b7e8-95b990779254\", \"type\": \"LinearAxis\", \"attributes\": {\"doc\": null, \"id\": \"18719615-00ee-4038-b7e8-95b990779254\", \"tags\": [], \"axis_label\": \"Precipitation Chance Percentage\", \"ticker\": {\"id\": \"8d035fdc-e5f3-4d60-9b89-4695192a0620\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"formatter\": {\"id\": \"292c568b-8e5e-4e02-bcd0-c9c9737eee98\", \"type\": \"BasicTickFormatter\"}}}, {\"id\": \"83541f4f-d391-4a4e-9135-c8f418af861e\", \"type\": \"PanTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"83541f4f-d391-4a4e-9135-c8f418af861e\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"f22c684c-eaca-43a1-b3e3-66c5ef2e5e21\", \"type\": \"PreviewSaveTool\", \"attributes\": {\"doc\": null, \"id\": \"f22c684c-eaca-43a1-b3e3-66c5ef2e5e21\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"683efd07-5375-473f-84c2-b30eb9f1c380\", \"type\": \"HelpTool\", \"attributes\": {\"doc\": null, \"id\": \"683efd07-5375-473f-84c2-b30eb9f1c380\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"d4617a10-a446-4b12-871f-4741ee023932\", \"type\": \"Legend\", \"attributes\": {\"doc\": null, \"id\": \"d4617a10-a446-4b12-871f-4741ee023932\", \"legends\": [[\"binghamton\", [{\"id\": \"be4522be-8e6b-4a76-8f41-ffde7643ccc1\", \"type\": \"GlyphRenderer\"}]], [\"cary\", [{\"id\": \"93796a94-9a48-40f2-9fec-b6ccd8214100\", \"type\": \"GlyphRenderer\"}]], [\"nyc\", [{\"id\": \"b421a546-19e2-4dd4-b3ee-666925eec551\", \"type\": \"GlyphRenderer\"}]], [\"seattle\", [{\"id\": \"21931e47-28e0-4883-b5ba-cc0c2df60a94\", \"type\": \"GlyphRenderer\"}]]], \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"21931e47-28e0-4883-b5ba-cc0c2df60a94\", \"type\": \"GlyphRenderer\", \"attributes\": {\"doc\": null, \"selection_glyph\": null, \"nonselection_glyph\": {\"id\": \"e84a3c96-a065-43f9-b032-127a552afdc7\", \"type\": \"Line\"}, \"tags\": [], \"data_source\": {\"id\": \"5350849e-1a43-44c4-847d-b5515623ed15\", \"type\": \"ColumnDataSource\"}, \"id\": \"21931e47-28e0-4883-b5ba-cc0c2df60a94\", \"glyph\": {\"id\": \"b2bdd454-54aa-425f-8f5f-0806b35ee3be\", \"type\": \"Line\"}}}, {\"id\": \"4e4975e2-6b4a-4545-b64f-c9ac67e1f8c2\", \"type\": \"WheelZoomTool\", \"attributes\": {\"doc\": null, \"dimensions\": [\"width\", \"height\"], \"id\": \"4e4975e2-6b4a-4545-b64f-c9ac67e1f8c2\", \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": []}}, {\"id\": \"1f75e7b1-6794-4532-9332-8169ab0f7d74\", \"type\": \"Grid\", \"attributes\": {\"doc\": null, \"id\": \"1f75e7b1-6794-4532-9332-8169ab0f7d74\", \"ticker\": {\"id\": \"8d035fdc-e5f3-4d60-9b89-4695192a0620\", \"type\": \"BasicTicker\"}, \"plot\": {\"subtype\": \"Figure\", \"id\": \"dde74936-c1de-4952-a961-c1da1ff10836\", \"type\": \"Plot\"}, \"tags\": [], \"dimension\": 1}}];\n",
       "        Bokeh.load_models(all_models);\n",
       "        var plots = [{'modeltype': 'Plot', 'elementid': '6d6352a7-9777-48e6-92c9-7a14b898ad73', 'modelid': 'dde74936-c1de-4952-a961-c1da1ff10836'}];\n",
       "        for (idx in plots) {\n",
       "        \tvar plot = plots[idx];\n",
       "        \tvar model = Bokeh.Collections(plot.modeltype).get(plot.modelid);\n",
       "        \tBokeh.logger.info('Realizing plot:')\n",
       "        \tBokeh.logger.info(' - modeltype: ' + plot.modeltype);\n",
       "        \tBokeh.logger.info(' - modelid: ' + plot.modelid);\n",
       "        \tBokeh.logger.info(' - elementid: ' + plot.elementid);\n",
       "        \tvar view = new model.default_view({\n",
       "        \t\tmodel: model,\n",
       "        \t\tel: '#' + plot.elementid\n",
       "        \t});\n",
       "        \tBokeh.index[plot.modelid] = view;\n",
       "        }\n",
       "    });\n",
       "    </script>\n",
       "<div class=\"plotdiv\" id=\"6d6352a7-9777-48e6-92c9-7a14b898ad73\"></div>\n",
       "\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "def safe_precip(frame):\n",
    "    if frame and 'precipProbability' in frame:\n",
    "        return frame['precipProbability']\n",
    "    else:\n",
    "        return np.NaN\n",
    "\n",
    "def monthly_avg_precip(city, year, month):\n",
    "    dates = pd.DatetimeIndex(start=datetime(year, month, 1, 12),\n",
    "                             end=datetime(year, month + 1, 1, 12),\n",
    "                             freq='D', closed='left')\n",
    "    precip_vals = list(map(lambda x: safe_precip(forecasts_df[city][x]['currently']), dates))\n",
    "    precip_samples = len(list(filter(lambda x: x is not np.NaN, precip_vals)))\n",
    "    # Ignore an issue with nanmean having all NaN values. We'll discuss the data issues below.\n",
    "    with warnings.catch_warnings():\n",
    "        warnings.simplefilter('ignore')\n",
    "        return np.nanmean(precip_vals), precip_samples\n",
    "\n",
    "def city_avg_precip(city, month):\n",
    "    return [monthly_avg_precip(city, y, month) for y in years]\n",
    "\n",
    "for month, month_id in months:\n",
    "    month_averages = {city: city_avg_cc(city, month_id) for city in cities}\n",
    "    f = figure(title=\"{} Average Precipitation Chance\".format(month),\n",
    "               x_axis_label='Year',\n",
    "               y_axis_label='Precipitation Chance Percentage')\n",
    "    for city in cities:\n",
    "        f.line(years, [x[0] for x in month_averages[city]],\n",
    "               legend=city, color=city_colors[city])\n",
    "    show(f)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "The same data issue caveats apply here: 2013 seems to be missing some data, and July has some issues as well. However, this seems to confirm the trends we saw with cloud cover:\n",
    "- Seattle, specifically for the months of August, October, and November has had a consistently higher chance of rain than other cities surveyed.\n",
    "- Average precipitation chance, just like average cloud cover, has been trending down over time.\n",
    "\n",
    "# Conclusion\n",
    "\n",
    "I have to admit I was a bit surprised after doing this analysis. Seattle showed a higher average cloud cover and average precipitation chance than did the other cities surveyed. Maybe Seattle is actually an objectively more depressing city to live in.\n",
    "\n",
    "Well that's all for weather data at the moment. It's been a great experiment, but I think this is about as far as I'll be able to get with weather data without some domain knowledge. Talk again soon!"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.1"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
