rearview 1.0.0-jruby

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1980) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1 -0
  3. data/Rakefile +30 -0
  4. data/app/assets/javascripts/rearview/application.js +13 -0
  5. data/app/assets/stylesheets/rearview/application.css +13 -0
  6. data/app/controllers/rearview/application_controller.rb +6 -0
  7. data/app/controllers/rearview/dashboard_children_controller.rb +25 -0
  8. data/app/controllers/rearview/dashboards_controller.rb +46 -0
  9. data/app/controllers/rearview/home_controller.rb +6 -0
  10. data/app/controllers/rearview/jobs_controller.rb +81 -0
  11. data/app/controllers/rearview/monitor_controller.rb +12 -0
  12. data/app/controllers/rearview/user_controller.rb +21 -0
  13. data/app/helpers/rearview/application_helper.rb +22 -0
  14. data/app/mailers/rearview/alert_mailer.rb +13 -0
  15. data/app/models/rearview/dashboard.rb +11 -0
  16. data/app/models/rearview/job.rb +174 -0
  17. data/app/models/rearview/job_data.rb +13 -0
  18. data/app/models/rearview/job_error.rb +120 -0
  19. data/app/models/rearview/user.rb +5 -0
  20. data/app/views/devise/sessions/new.html.erb +21 -0
  21. data/app/views/devise/shared/_links.erb +25 -0
  22. data/app/views/layouts/devise/sessions.html.erb +51 -0
  23. data/app/views/layouts/rearview/application.html.erb +14 -0
  24. data/app/views/rearview/alert_mailer/alert_email.text.erb +7 -0
  25. data/app/views/rearview/dashboards/_dashboard.json.jbuilder +11 -0
  26. data/app/views/rearview/dashboards/errors.json.jbuilder +5 -0
  27. data/app/views/rearview/dashboards/index.json.jbuilder +5 -0
  28. data/app/views/rearview/dashboards/show.json.jbuilder +1 -0
  29. data/app/views/rearview/home/show.html.erb +54 -0
  30. data/app/views/rearview/job_data/_job_data.json.jbuilder +6 -0
  31. data/app/views/rearview/job_errors/_job_error.json.jbuilder +4 -0
  32. data/app/views/rearview/jobs/_job.json.jbuilder +4 -0
  33. data/app/views/rearview/jobs/data.json.jbuilder +1 -0
  34. data/app/views/rearview/jobs/errors.json.jbuilder +3 -0
  35. data/app/views/rearview/jobs/index.json.jbuilder +4 -0
  36. data/app/views/rearview/jobs/show.json.jbuilder +1 -0
  37. data/app/views/rearview/layouts/application.html.erb +14 -0
  38. data/app/views/rearview/monitor/create.json.jbuilder +6 -0
  39. data/app/views/rearview/user/_user.json.jbuilder +4 -0
  40. data/app/views/rearview/user/show.json.jbuilder +1 -0
  41. data/bin/rails +8 -0
  42. data/config/initializers/unlimited_strength_cryptography.rb +5 -0
  43. data/config/locales/devise.en.yml +59 -0
  44. data/config/routes.rb +30 -0
  45. data/db/migrate/20131106162900_base_schema.rb +73 -0
  46. data/lib/generators/rearview/install_generator.rb +20 -0
  47. data/lib/generators/templates/README.md +12 -0
  48. data/lib/generators/templates/rearview.rb +48 -0
  49. data/lib/jar/commons-validator-1.4.0.jar +0 -0
  50. data/lib/jar/quartz-2.1.7.jar +0 -0
  51. data/lib/rearview/alerts/base.rb +20 -0
  52. data/lib/rearview/alerts/campfire_alert.rb +50 -0
  53. data/lib/rearview/alerts/email_alert.rb +44 -0
  54. data/lib/rearview/alerts/pagerduty_alert.rb +65 -0
  55. data/lib/rearview/alerts.rb +20 -0
  56. data/lib/rearview/alerts_handler.rb +34 -0
  57. data/lib/rearview/concerns/models/user.rb +15 -0
  58. data/lib/rearview/concerns/models.rb +5 -0
  59. data/lib/rearview/concerns.rb +5 -0
  60. data/lib/rearview/configuration.rb +59 -0
  61. data/lib/rearview/constants_module_maker.rb +59 -0
  62. data/lib/rearview/cron_helper.rb +24 -0
  63. data/lib/rearview/distribute.rb +36 -0
  64. data/lib/rearview/engine.rb +36 -0
  65. data/lib/rearview/ext/state_machine.rb +15 -0
  66. data/lib/rearview/graphite_parser.rb +20 -0
  67. data/lib/rearview/logger.rb +10 -0
  68. data/lib/rearview/monitor_runner.rb +277 -0
  69. data/lib/rearview/monitor_service.rb +70 -0
  70. data/lib/rearview/monitor_supervisor.rb +54 -0
  71. data/lib/rearview/monitor_task.rb +50 -0
  72. data/lib/rearview/results_handler.rb +38 -0
  73. data/lib/rearview/sandbox.rb +47 -0
  74. data/lib/rearview/templates/monitor.rb +164 -0
  75. data/lib/rearview/templates/utilities.rb +100 -0
  76. data/lib/rearview/uri_helper.rb +7 -0
  77. data/lib/rearview/version.rb +3 -0
  78. data/lib/rearview.rb +75 -0
  79. data/lib/tasks/rearview_tasks.rake +3 -0
  80. data/public/favicon.ico +0 -0
  81. data/public/help/alert.html +20 -0
  82. data/public/help/quick.html +34 -0
  83. data/public/monitors/index.json +3 -0
  84. data/public/monitors/outage.rb +2 -0
  85. data/public/rearview/build.txt +295 -0
  86. data/public/rearview/css/rearview.css +1 -0
  87. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.eot +0 -0
  88. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.svg +249 -0
  89. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.ttf +0 -0
  90. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.woff +0 -0
  91. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold.otf +0 -0
  92. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.eot +0 -0
  93. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.svg +250 -0
  94. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.ttf +0 -0
  95. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.woff +0 -0
  96. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular.otf +0 -0
  97. data/public/rearview/img/livingsocial-logo-white.svg +107 -0
  98. data/public/rearview/img/login/company-logo.svg +107 -0
  99. data/public/rearview/img/noise-light.png +0 -0
  100. data/public/rearview/img/noise.png +0 -0
  101. data/public/rearview/img/rearview.svg +19 -0
  102. data/public/rearview/img/rearviewlogo.png +0 -0
  103. data/public/rearview/img/rearviewlogo_small.png +0 -0
  104. data/public/rearview/img/sample-monitor.png +0 -0
  105. data/public/rearview/js/app.build.js +0 -0
  106. data/public/rearview/js/app.js +1 -0
  107. data/public/rearview/js/collection/dashboard.js +1 -0
  108. data/public/rearview/js/collection/monitor.js +1 -0
  109. data/public/rearview/js/main.js +402 -0
  110. data/public/rearview/js/model/base.js +1 -0
  111. data/public/rearview/js/model/dashboard.js +1 -0
  112. data/public/rearview/js/model/monitor.js +1 -0
  113. data/public/rearview/js/model/user.js +1 -0
  114. data/public/rearview/js/route/index.js +1 -0
  115. data/public/rearview/js/util/highcharts-gray-theme.js +1 -0
  116. data/public/rearview/js/util/templar.js +1 -0
  117. data/public/rearview/js/view/addcategory.js +1 -0
  118. data/public/rearview/js/view/adddashboard.js +1 -0
  119. data/public/rearview/js/view/addmonitor.js +1 -0
  120. data/public/rearview/js/view/alert.js +1 -0
  121. data/public/rearview/js/view/alerttimeline.js +1 -0
  122. data/public/rearview/js/view/base.js +1 -0
  123. data/public/rearview/js/view/dashboard.js +1 -0
  124. data/public/rearview/js/view/dashboardtile.js +1 -0
  125. data/public/rearview/js/view/deletemonitor.js +1 -0
  126. data/public/rearview/js/view/ecosystem.js +1 -0
  127. data/public/rearview/js/view/expandedmonitor.js +1 -0
  128. data/public/rearview/js/view/header.js +1 -0
  129. data/public/rearview/js/view/primarynav.js +1 -0
  130. data/public/rearview/js/view/resetmonitor.js +1 -0
  131. data/public/rearview/js/view/secondarynav.js +1 -0
  132. data/public/rearview/js/view/smallmonitor.js +1 -0
  133. data/public/rearview/less/alert.less +45 -0
  134. data/public/rearview/less/dashboard.less +173 -0
  135. data/public/rearview/less/ecosystem.less +221 -0
  136. data/public/rearview/less/elements.less +168 -0
  137. data/public/rearview/less/expandedmonitor.less +283 -0
  138. data/public/rearview/less/header.less +76 -0
  139. data/public/rearview/less/login.less +1050 -0
  140. data/public/rearview/less/primarynav.less +151 -0
  141. data/public/rearview/less/rearview.less +1207 -0
  142. data/public/rearview/login/icons/rearview.svg +19 -0
  143. data/public/rearview/templates/addcategory.hbs +38 -0
  144. data/public/rearview/templates/adddashboard.hbs +26 -0
  145. data/public/rearview/templates/addmonitor.hbs +10 -0
  146. data/public/rearview/templates/alert.hbs +4 -0
  147. data/public/rearview/templates/alerttimeline.hbs +15 -0
  148. data/public/rearview/templates/dashboard.hbs +35 -0
  149. data/public/rearview/templates/dashboardtile.hbs +22 -0
  150. data/public/rearview/templates/deletemonitor.hbs +16 -0
  151. data/public/rearview/templates/expandedmonitor.hbs +191 -0
  152. data/public/rearview/templates/header.hbs +9 -0
  153. data/public/rearview/templates/primarynav.hbs +50 -0
  154. data/public/rearview/templates/resetmonitor.hbs +16 -0
  155. data/public/rearview/templates/schedulemonitor.hbs +78 -0
  156. data/public/rearview/templates/secondarynav.hbs +11 -0
  157. data/public/rearview/templates/setmetrics.hbs +53 -0
  158. data/public/rearview/templates/smallmonitor.hbs +52 -0
  159. data/public/rearview/templates/test.txt +1 -0
  160. data/public/rearview/test/spec/model/application.js +1 -0
  161. data/public/rearview/test/spec/model/job.js +1 -0
  162. data/public/rearview/test/spec/model/user.js +1 -0
  163. data/public/rearview/test/spec/view/base.js +1 -0
  164. data/public/rearview/vendor/backbone/js/backbone.js +6 -0
  165. data/public/rearview/vendor/backbone/plugins/backbone-localStorage/js/backbone-localStorage.js +1 -0
  166. data/public/rearview/vendor/backbone/plugins/backbone-mediator/js/backbone-mediator.js +15 -0
  167. data/public/rearview/vendor/bootstrap/css/bootstrap-responsive.css +1088 -0
  168. data/public/rearview/vendor/bootstrap/css/bootstrap-responsive.min.css +9 -0
  169. data/public/rearview/vendor/bootstrap/css/bootstrap.css +5209 -0
  170. data/public/rearview/vendor/bootstrap/css/bootstrap.min.css +9 -0
  171. data/public/rearview/vendor/bootstrap/img/glyphicons-halflings-white.png +0 -0
  172. data/public/rearview/vendor/bootstrap/img/glyphicons-halflings.png +0 -0
  173. data/public/rearview/vendor/bootstrap/js/bootstrap.js +249 -0
  174. data/public/rearview/vendor/bootstrap/js/bootstrap.min.js +7 -0
  175. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/LICENSE +202 -0
  176. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/README.md +305 -0
  177. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/build/build.less +66 -0
  178. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/build/build_standalone.less +69 -0
  179. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/css/datepicker.css +271 -0
  180. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js +21 -0
  181. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.cs.js +1 -0
  182. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.da.js +1 -0
  183. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js +1 -0
  184. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js +1 -0
  185. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.fi.js +1 -0
  186. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js +1 -0
  187. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.id.js +1 -0
  188. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.is.js +1 -0
  189. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js +1 -0
  190. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ja.js +1 -0
  191. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.kr.js +1 -0
  192. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.lt.js +1 -0
  193. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.lv.js +1 -0
  194. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ms.js +14 -0
  195. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.nb.js +1 -0
  196. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl.js +1 -0
  197. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pl.js +1 -0
  198. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt-BR.js +1 -0
  199. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt.js +1 -0
  200. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ru.js +1 -0
  201. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.sv.js +1 -0
  202. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.th.js +1 -0
  203. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.tr.js +1 -0
  204. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js +1 -0
  205. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-TW.js +1 -0
  206. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/less/datepicker.less +147 -0
  207. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/README.md +55 -0
  208. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/_coverage.html +26 -0
  209. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/coverage.js +1 -0
  210. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/jquery-1.7.1.min.js +5 -0
  211. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/mock.js +1 -0
  212. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit-logging.js +1 -0
  213. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit.css +170 -0
  214. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit.js +37 -0
  215. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/utils.js +1 -0
  216. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/run-qunit.js +1 -0
  217. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/component.js +1 -0
  218. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/events.js +1 -0
  219. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/formats.js +1 -0
  220. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/2011.js +1 -0
  221. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/2012.js +1 -0
  222. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/all.js +1 -0
  223. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/2011.js +1 -0
  224. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/2012.js +1 -0
  225. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/all.js +1 -0
  226. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/options.js +1 -0
  227. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/tests.html +45 -0
  228. data/public/rearview/vendor/bootstrap/plugins/font-awesome/css/font-awesome-ie7.css +1203 -0
  229. data/public/rearview/vendor/bootstrap/plugins/font-awesome/css/font-awesome-ie7.min.css +384 -0
  230. data/public/rearview/vendor/bootstrap/plugins/font-awesome/css/font-awesome.css +1457 -0
  231. data/public/rearview/vendor/bootstrap/plugins/font-awesome/css/font-awesome.min.css +403 -0
  232. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/FontAwesome.otf +0 -0
  233. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.eot +0 -0
  234. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.svg +399 -0
  235. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.ttf +0 -0
  236. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.woff +0 -0
  237. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/bootstrap.less +84 -0
  238. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/core.less +129 -0
  239. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/extras.less +93 -0
  240. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/font-awesome-ie7.less +1953 -0
  241. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/font-awesome.less +33 -0
  242. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/icons.less +381 -0
  243. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/mixins.less +48 -0
  244. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/path.less +14 -0
  245. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/variables.less +735 -0
  246. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_bootstrap.scss +84 -0
  247. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_core.scss +129 -0
  248. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_extras.scss +93 -0
  249. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_icons.scss +381 -0
  250. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_mixins.scss +48 -0
  251. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_path.scss +14 -0
  252. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_variables.scss +734 -0
  253. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/font-awesome-ie7.scss +1953 -0
  254. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/font-awesome.scss +33 -0
  255. data/public/rearview/vendor/codemirror/LICENSE +23 -0
  256. data/public/rearview/vendor/codemirror/README.md +8 -0
  257. data/public/rearview/vendor/codemirror/demo/activeline.html +73 -0
  258. data/public/rearview/vendor/codemirror/demo/changemode.html +51 -0
  259. data/public/rearview/vendor/codemirror/demo/closetag.html +66 -0
  260. data/public/rearview/vendor/codemirror/demo/complete.html +71 -0
  261. data/public/rearview/vendor/codemirror/demo/emacs.html +60 -0
  262. data/public/rearview/vendor/codemirror/demo/folding.html +62 -0
  263. data/public/rearview/vendor/codemirror/demo/formatting.html +81 -0
  264. data/public/rearview/vendor/codemirror/demo/fullscreen.html +147 -0
  265. data/public/rearview/vendor/codemirror/demo/loadmode.html +40 -0
  266. data/public/rearview/vendor/codemirror/demo/marker.html +53 -0
  267. data/public/rearview/vendor/codemirror/demo/matchhighlighter.html +38 -0
  268. data/public/rearview/vendor/codemirror/demo/multiplex.html +60 -0
  269. data/public/rearview/vendor/codemirror/demo/mustache.html +58 -0
  270. data/public/rearview/vendor/codemirror/demo/preview.html +76 -0
  271. data/public/rearview/vendor/codemirror/demo/resize.html +42 -0
  272. data/public/rearview/vendor/codemirror/demo/runmode.html +50 -0
  273. data/public/rearview/vendor/codemirror/demo/search.html +85 -0
  274. data/public/rearview/vendor/codemirror/demo/theme.html +79 -0
  275. data/public/rearview/vendor/codemirror/demo/vim.html +53 -0
  276. data/public/rearview/vendor/codemirror/demo/visibletabs.html +53 -0
  277. data/public/rearview/vendor/codemirror/demo/xmlcomplete.html +71 -0
  278. data/public/rearview/vendor/codemirror/doc/baboon.png +0 -0
  279. data/public/rearview/vendor/codemirror/doc/baboon_vector.svg +153 -0
  280. data/public/rearview/vendor/codemirror/doc/compress.html +163 -0
  281. data/public/rearview/vendor/codemirror/doc/docs.css +138 -0
  282. data/public/rearview/vendor/codemirror/doc/internals.html +497 -0
  283. data/public/rearview/vendor/codemirror/doc/manual.html +1224 -0
  284. data/public/rearview/vendor/codemirror/doc/oldrelease.html +305 -0
  285. data/public/rearview/vendor/codemirror/doc/reporting.html +60 -0
  286. data/public/rearview/vendor/codemirror/doc/upgrade_v2.2.html +98 -0
  287. data/public/rearview/vendor/codemirror/index.html +472 -0
  288. data/public/rearview/vendor/codemirror/keymap/emacs.js +1 -0
  289. data/public/rearview/vendor/codemirror/keymap/vim.js +1 -0
  290. data/public/rearview/vendor/codemirror/lib/codemirror.css +149 -0
  291. data/public/rearview/vendor/codemirror/lib/codemirror.js +2 -0
  292. data/public/rearview/vendor/codemirror/lib/util/closetag.js +20 -0
  293. data/public/rearview/vendor/codemirror/lib/util/dialog.css +24 -0
  294. data/public/rearview/vendor/codemirror/lib/util/dialog.js +1 -0
  295. data/public/rearview/vendor/codemirror/lib/util/foldcode.js +5 -0
  296. data/public/rearview/vendor/codemirror/lib/util/formatting.js +1 -0
  297. data/public/rearview/vendor/codemirror/lib/util/javascript-hint.js +1 -0
  298. data/public/rearview/vendor/codemirror/lib/util/loadmode.js +1 -0
  299. data/public/rearview/vendor/codemirror/lib/util/match-highlighter.js +1 -0
  300. data/public/rearview/vendor/codemirror/lib/util/multiplex.js +1 -0
  301. data/public/rearview/vendor/codemirror/lib/util/overlay.js +1 -0
  302. data/public/rearview/vendor/codemirror/lib/util/pig-hint.js +1 -0
  303. data/public/rearview/vendor/codemirror/lib/util/runmode-standalone.js +1 -0
  304. data/public/rearview/vendor/codemirror/lib/util/runmode.js +1 -0
  305. data/public/rearview/vendor/codemirror/lib/util/search.js +1 -0
  306. data/public/rearview/vendor/codemirror/lib/util/searchcursor.js +1 -0
  307. data/public/rearview/vendor/codemirror/lib/util/simple-hint.css +16 -0
  308. data/public/rearview/vendor/codemirror/lib/util/simple-hint.js +1 -0
  309. data/public/rearview/vendor/codemirror/lib/util/xml-hint.js +1 -0
  310. data/public/rearview/vendor/codemirror/mode/clike/clike.js +1 -0
  311. data/public/rearview/vendor/codemirror/mode/clike/index.html +102 -0
  312. data/public/rearview/vendor/codemirror/mode/clike/scala.html +766 -0
  313. data/public/rearview/vendor/codemirror/mode/clojure/clojure.js +1 -0
  314. data/public/rearview/vendor/codemirror/mode/clojure/index.html +67 -0
  315. data/public/rearview/vendor/codemirror/mode/coffeescript/LICENSE +22 -0
  316. data/public/rearview/vendor/codemirror/mode/coffeescript/coffeescript.js +1 -0
  317. data/public/rearview/vendor/codemirror/mode/coffeescript/index.html +728 -0
  318. data/public/rearview/vendor/codemirror/mode/commonlisp/commonlisp.js +1 -0
  319. data/public/rearview/vendor/codemirror/mode/commonlisp/index.html +165 -0
  320. data/public/rearview/vendor/codemirror/mode/css/css.js +1 -0
  321. data/public/rearview/vendor/codemirror/mode/css/index.html +58 -0
  322. data/public/rearview/vendor/codemirror/mode/css/test.js +1 -0
  323. data/public/rearview/vendor/codemirror/mode/diff/diff.js +1 -0
  324. data/public/rearview/vendor/codemirror/mode/diff/index.html +105 -0
  325. data/public/rearview/vendor/codemirror/mode/ecl/ecl.js +1 -0
  326. data/public/rearview/vendor/codemirror/mode/ecl/index.html +42 -0
  327. data/public/rearview/vendor/codemirror/mode/erlang/erlang.js +1 -0
  328. data/public/rearview/vendor/codemirror/mode/erlang/index.html +63 -0
  329. data/public/rearview/vendor/codemirror/mode/gfm/gfm.js +1 -0
  330. data/public/rearview/vendor/codemirror/mode/gfm/index.html +48 -0
  331. data/public/rearview/vendor/codemirror/mode/go/go.js +1 -0
  332. data/public/rearview/vendor/codemirror/mode/go/index.html +73 -0
  333. data/public/rearview/vendor/codemirror/mode/groovy/groovy.js +1 -0
  334. data/public/rearview/vendor/codemirror/mode/groovy/index.html +72 -0
  335. data/public/rearview/vendor/codemirror/mode/haskell/haskell.js +1 -0
  336. data/public/rearview/vendor/codemirror/mode/haskell/index.html +61 -0
  337. data/public/rearview/vendor/codemirror/mode/haxe/haxe.js +1 -0
  338. data/public/rearview/vendor/codemirror/mode/haxe/index.html +91 -0
  339. data/public/rearview/vendor/codemirror/mode/htmlembedded/htmlembedded.js +1 -0
  340. data/public/rearview/vendor/codemirror/mode/htmlembedded/index.html +50 -0
  341. data/public/rearview/vendor/codemirror/mode/htmlmixed/htmlmixed.js +1 -0
  342. data/public/rearview/vendor/codemirror/mode/htmlmixed/index.html +52 -0
  343. data/public/rearview/vendor/codemirror/mode/javascript/index.html +78 -0
  344. data/public/rearview/vendor/codemirror/mode/javascript/javascript.js +1 -0
  345. data/public/rearview/vendor/codemirror/mode/jinja2/index.html +38 -0
  346. data/public/rearview/vendor/codemirror/mode/jinja2/jinja2.js +1 -0
  347. data/public/rearview/vendor/codemirror/mode/less/index.html +740 -0
  348. data/public/rearview/vendor/codemirror/mode/less/less.js +1 -0
  349. data/public/rearview/vendor/codemirror/mode/lua/index.html +73 -0
  350. data/public/rearview/vendor/codemirror/mode/lua/lua.js +1 -0
  351. data/public/rearview/vendor/codemirror/mode/markdown/index.html +343 -0
  352. data/public/rearview/vendor/codemirror/mode/markdown/markdown.js +1 -0
  353. data/public/rearview/vendor/codemirror/mode/markdown/test.js +1 -0
  354. data/public/rearview/vendor/codemirror/mode/mysql/index.html +42 -0
  355. data/public/rearview/vendor/codemirror/mode/mysql/mysql.js +1 -0
  356. data/public/rearview/vendor/codemirror/mode/ntriples/index.html +33 -0
  357. data/public/rearview/vendor/codemirror/mode/ntriples/ntriples.js +1 -0
  358. data/public/rearview/vendor/codemirror/mode/ocaml/index.html +130 -0
  359. data/public/rearview/vendor/codemirror/mode/ocaml/ocaml.js +1 -0
  360. data/public/rearview/vendor/codemirror/mode/pascal/LICENSE +7 -0
  361. data/public/rearview/vendor/codemirror/mode/pascal/index.html +49 -0
  362. data/public/rearview/vendor/codemirror/mode/pascal/pascal.js +1 -0
  363. data/public/rearview/vendor/codemirror/mode/perl/LICENSE +19 -0
  364. data/public/rearview/vendor/codemirror/mode/perl/index.html +63 -0
  365. data/public/rearview/vendor/codemirror/mode/perl/perl.js +1 -0
  366. data/public/rearview/vendor/codemirror/mode/php/index.html +49 -0
  367. data/public/rearview/vendor/codemirror/mode/php/php.js +1 -0
  368. data/public/rearview/vendor/codemirror/mode/pig/index.html +43 -0
  369. data/public/rearview/vendor/codemirror/mode/pig/pig.js +1 -0
  370. data/public/rearview/vendor/codemirror/mode/plsql/index.html +63 -0
  371. data/public/rearview/vendor/codemirror/mode/plsql/plsql.js +1 -0
  372. data/public/rearview/vendor/codemirror/mode/properties/index.html +41 -0
  373. data/public/rearview/vendor/codemirror/mode/properties/properties.js +1 -0
  374. data/public/rearview/vendor/codemirror/mode/python/LICENSE.txt +21 -0
  375. data/public/rearview/vendor/codemirror/mode/python/index.html +123 -0
  376. data/public/rearview/vendor/codemirror/mode/python/python.js +1 -0
  377. data/public/rearview/vendor/codemirror/mode/r/LICENSE +24 -0
  378. data/public/rearview/vendor/codemirror/mode/r/index.html +74 -0
  379. data/public/rearview/vendor/codemirror/mode/r/r.js +1 -0
  380. data/public/rearview/vendor/codemirror/mode/rpm/changes/changes.js +1 -0
  381. data/public/rearview/vendor/codemirror/mode/rpm/changes/index.html +54 -0
  382. data/public/rearview/vendor/codemirror/mode/rpm/spec/index.html +100 -0
  383. data/public/rearview/vendor/codemirror/mode/rpm/spec/spec.css +5 -0
  384. data/public/rearview/vendor/codemirror/mode/rpm/spec/spec.js +1 -0
  385. data/public/rearview/vendor/codemirror/mode/rst/index.html +526 -0
  386. data/public/rearview/vendor/codemirror/mode/rst/rst.js +1 -0
  387. data/public/rearview/vendor/codemirror/mode/ruby/LICENSE +24 -0
  388. data/public/rearview/vendor/codemirror/mode/ruby/index.html +172 -0
  389. data/public/rearview/vendor/codemirror/mode/ruby/ruby.js +1 -0
  390. data/public/rearview/vendor/codemirror/mode/rust/index.html +49 -0
  391. data/public/rearview/vendor/codemirror/mode/rust/rust.js +1 -0
  392. data/public/rearview/vendor/codemirror/mode/scheme/index.html +65 -0
  393. data/public/rearview/vendor/codemirror/mode/scheme/scheme.js +1 -0
  394. data/public/rearview/vendor/codemirror/mode/shell/index.html +50 -0
  395. data/public/rearview/vendor/codemirror/mode/shell/shell.js +1 -0
  396. data/public/rearview/vendor/codemirror/mode/sieve/LICENSE +23 -0
  397. data/public/rearview/vendor/codemirror/mode/sieve/index.html +81 -0
  398. data/public/rearview/vendor/codemirror/mode/sieve/sieve.js +6 -0
  399. data/public/rearview/vendor/codemirror/mode/smalltalk/index.html +56 -0
  400. data/public/rearview/vendor/codemirror/mode/smalltalk/smalltalk.js +1 -0
  401. data/public/rearview/vendor/codemirror/mode/smarty/index.html +83 -0
  402. data/public/rearview/vendor/codemirror/mode/smarty/smarty.js +1 -0
  403. data/public/rearview/vendor/codemirror/mode/sparql/index.html +41 -0
  404. data/public/rearview/vendor/codemirror/mode/sparql/sparql.js +1 -0
  405. data/public/rearview/vendor/codemirror/mode/stex/index.html +98 -0
  406. data/public/rearview/vendor/codemirror/mode/stex/stex.js +1 -0
  407. data/public/rearview/vendor/codemirror/mode/stex/test.js +1 -0
  408. data/public/rearview/vendor/codemirror/mode/tiddlywiki/index.html +141 -0
  409. data/public/rearview/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  410. data/public/rearview/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js +17 -0
  411. data/public/rearview/vendor/codemirror/mode/tiki/index.html +83 -0
  412. data/public/rearview/vendor/codemirror/mode/tiki/tiki.css +22 -0
  413. data/public/rearview/vendor/codemirror/mode/tiki/tiki.js +1 -0
  414. data/public/rearview/vendor/codemirror/mode/vb/LICENSE.txt +21 -0
  415. data/public/rearview/vendor/codemirror/mode/vb/index.html +89 -0
  416. data/public/rearview/vendor/codemirror/mode/vb/vb.js +1 -0
  417. data/public/rearview/vendor/codemirror/mode/vbscript/index.html +43 -0
  418. data/public/rearview/vendor/codemirror/mode/vbscript/vbscript.js +1 -0
  419. data/public/rearview/vendor/codemirror/mode/velocity/index.html +104 -0
  420. data/public/rearview/vendor/codemirror/mode/velocity/velocity.js +1 -0
  421. data/public/rearview/vendor/codemirror/mode/verilog/index.html +211 -0
  422. data/public/rearview/vendor/codemirror/mode/verilog/verilog.js +1 -0
  423. data/public/rearview/vendor/codemirror/mode/xml/index.html +45 -0
  424. data/public/rearview/vendor/codemirror/mode/xml/xml.js +1 -0
  425. data/public/rearview/vendor/codemirror/mode/xquery/LICENSE +20 -0
  426. data/public/rearview/vendor/codemirror/mode/xquery/index.html +223 -0
  427. data/public/rearview/vendor/codemirror/mode/xquery/test/index.html +27 -0
  428. data/public/rearview/vendor/codemirror/mode/xquery/test/testBase.js +1 -0
  429. data/public/rearview/vendor/codemirror/mode/xquery/test/testEmptySequenceKeyword.js +1 -0
  430. data/public/rearview/vendor/codemirror/mode/xquery/test/testMultiAttr.js +1 -0
  431. data/public/rearview/vendor/codemirror/mode/xquery/test/testNamespaces.js +1 -0
  432. data/public/rearview/vendor/codemirror/mode/xquery/test/testProcessingInstructions.js +1 -0
  433. data/public/rearview/vendor/codemirror/mode/xquery/test/testQuotes.js +1 -0
  434. data/public/rearview/vendor/codemirror/mode/xquery/xquery.js +24 -0
  435. data/public/rearview/vendor/codemirror/mode/yaml/index.html +68 -0
  436. data/public/rearview/vendor/codemirror/mode/yaml/yaml.js +1 -0
  437. data/public/rearview/vendor/codemirror/package.json +21 -0
  438. data/public/rearview/vendor/codemirror/test/driver.js +1 -0
  439. data/public/rearview/vendor/codemirror/test/index.html +168 -0
  440. data/public/rearview/vendor/codemirror/test/lint/lint.js +1 -0
  441. data/public/rearview/vendor/codemirror/test/lint/parse-js.js +60 -0
  442. data/public/rearview/vendor/codemirror/test/mode_test.css +9 -0
  443. data/public/rearview/vendor/codemirror/test/mode_test.js +1 -0
  444. data/public/rearview/vendor/codemirror/test/phantom_driver.js +1 -0
  445. data/public/rearview/vendor/codemirror/test/run.js +32 -0
  446. data/public/rearview/vendor/codemirror/test/test.js +1 -0
  447. data/public/rearview/vendor/codemirror/theme/ambiance.css +67 -0
  448. data/public/rearview/vendor/codemirror/theme/blackboard.css +23 -0
  449. data/public/rearview/vendor/codemirror/theme/cobalt.css +17 -0
  450. data/public/rearview/vendor/codemirror/theme/eclipse.css +24 -0
  451. data/public/rearview/vendor/codemirror/theme/elegant.css +10 -0
  452. data/public/rearview/vendor/codemirror/theme/erlang-dark.css +20 -0
  453. data/public/rearview/vendor/codemirror/theme/lesser-dark.css +37 -0
  454. data/public/rearview/vendor/codemirror/theme/monokai.css +23 -0
  455. data/public/rearview/vendor/codemirror/theme/neat.css +9 -0
  456. data/public/rearview/vendor/codemirror/theme/night.css +19 -0
  457. data/public/rearview/vendor/codemirror/theme/rubyblue.css +19 -0
  458. data/public/rearview/vendor/codemirror/theme/vibrant-ink.css +24 -0
  459. data/public/rearview/vendor/codemirror/theme/xq-dark.css +42 -0
  460. data/public/rearview/vendor/handlebars/js/handlebars.js +2 -0
  461. data/public/rearview/vendor/highcharts/examples/area-basic/index.htm +94 -0
  462. data/public/rearview/vendor/highcharts/examples/area-inverted/index.htm +91 -0
  463. data/public/rearview/vendor/highcharts/examples/area-missing/index.htm +85 -0
  464. data/public/rearview/vendor/highcharts/examples/area-negative/index.htm +55 -0
  465. data/public/rearview/vendor/highcharts/examples/area-stacked/index.htm +86 -0
  466. data/public/rearview/vendor/highcharts/examples/area-stacked-percent/index.htm +82 -0
  467. data/public/rearview/vendor/highcharts/examples/arearange/index.htm +62 -0
  468. data/public/rearview/vendor/highcharts/examples/areaspline/index.htm +85 -0
  469. data/public/rearview/vendor/highcharts/examples/bar-basic/index.htm +89 -0
  470. data/public/rearview/vendor/highcharts/examples/bar-negative-stack/index.htm +87 -0
  471. data/public/rearview/vendor/highcharts/examples/bar-stacked/index.htm +67 -0
  472. data/public/rearview/vendor/highcharts/examples/column-basic/index.htm +97 -0
  473. data/public/rearview/vendor/highcharts/examples/column-drilldown/index.htm +155 -0
  474. data/public/rearview/vendor/highcharts/examples/column-negative/index.htm +55 -0
  475. data/public/rearview/vendor/highcharts/examples/column-parsed/index.htm +120 -0
  476. data/public/rearview/vendor/highcharts/examples/column-rotated-labels/index.htm +100 -0
  477. data/public/rearview/vendor/highcharts/examples/column-stacked/index.htm +86 -0
  478. data/public/rearview/vendor/highcharts/examples/column-stacked-and-grouped/index.htm +79 -0
  479. data/public/rearview/vendor/highcharts/examples/column-stacked-percent/index.htm +63 -0
  480. data/public/rearview/vendor/highcharts/examples/columnrange/index.htm +87 -0
  481. data/public/rearview/vendor/highcharts/examples/combo/index.htm +102 -0
  482. data/public/rearview/vendor/highcharts/examples/combo-dual-axes/index.htm +101 -0
  483. data/public/rearview/vendor/highcharts/examples/combo-multi-axes/index.htm +137 -0
  484. data/public/rearview/vendor/highcharts/examples/combo-regression/index.htm +60 -0
  485. data/public/rearview/vendor/highcharts/examples/dynamic-click-to-add/index.htm +88 -0
  486. data/public/rearview/vendor/highcharts/examples/dynamic-master-detail/index.htm +371 -0
  487. data/public/rearview/vendor/highcharts/examples/dynamic-update/index.htm +96 -0
  488. data/public/rearview/vendor/highcharts/examples/gauge-clock/index.htm +174 -0
  489. data/public/rearview/vendor/highcharts/examples/gauge-dual/index.htm +122 -0
  490. data/public/rearview/vendor/highcharts/examples/gauge-speedometer/index.htm +133 -0
  491. data/public/rearview/vendor/highcharts/examples/gauge-vu-meter/index.htm +148 -0
  492. data/public/rearview/vendor/highcharts/examples/line-ajax/analytics.tsv +87 -0
  493. data/public/rearview/vendor/highcharts/examples/line-ajax/index.htm +188 -0
  494. data/public/rearview/vendor/highcharts/examples/line-basic/index.htm +81 -0
  495. data/public/rearview/vendor/highcharts/examples/line-labels/index.htm +66 -0
  496. data/public/rearview/vendor/highcharts/examples/line-log-axis/index.htm +53 -0
  497. data/public/rearview/vendor/highcharts/examples/line-time-series/index.htm +206 -0
  498. data/public/rearview/vendor/highcharts/examples/pie-basic/index.htm +70 -0
  499. data/public/rearview/vendor/highcharts/examples/pie-donut/index.htm +146 -0
  500. data/public/rearview/vendor/highcharts/examples/pie-gradient/index.htm +83 -0
  501. data/public/rearview/vendor/highcharts/examples/pie-legend/index.htm +69 -0
  502. data/public/rearview/vendor/highcharts/examples/polar/index.htm +79 -0
  503. data/public/rearview/vendor/highcharts/examples/polar-spider/index.htm +75 -0
  504. data/public/rearview/vendor/highcharts/examples/polar-wind-rose/index.htm +307 -0
  505. data/public/rearview/vendor/highcharts/examples/scatter/index.htm +197 -0
  506. data/public/rearview/vendor/highcharts/examples/spline-inverted/index.htm +87 -0
  507. data/public/rearview/vendor/highcharts/examples/spline-irregular-time/index.htm +133 -0
  508. data/public/rearview/vendor/highcharts/examples/spline-plot-bands/index.htm +169 -0
  509. data/public/rearview/vendor/highcharts/examples/spline-symbols/index.htm +87 -0
  510. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/pom.xml +106 -0
  511. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/controller/ExportController.java +229 -0
  512. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/filters/DefaultEncodingFilter.java +79 -0
  513. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/MimeType.java +34 -0
  514. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/SVGRasterizer.java +77 -0
  515. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/SVGRasterizerException.java +22 -0
  516. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/resources/log4j.properties +17 -0
  517. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/webapp/WEB-INF/web.xml +22 -0
  518. data/public/rearview/vendor/highcharts/exporting-server/java/install.txt +10 -0
  519. data/public/rearview/vendor/highcharts/exporting-server/php/index-with-imagick.php +112 -0
  520. data/public/rearview/vendor/highcharts/exporting-server/php/index.php +112 -0
  521. data/public/rearview/vendor/highcharts/gfx/vml-radial-gradient.png +0 -0
  522. data/public/rearview/vendor/highcharts/graphics/skies.jpg +0 -0
  523. data/public/rearview/vendor/highcharts/graphics/snow.png +0 -0
  524. data/public/rearview/vendor/highcharts/graphics/sun.png +0 -0
  525. data/public/rearview/vendor/highcharts/index.htm +79 -0
  526. data/public/rearview/vendor/highcharts/js/adapters/mootools-adapter.js +10 -0
  527. data/public/rearview/vendor/highcharts/js/adapters/mootools-adapter.src.js +10 -0
  528. data/public/rearview/vendor/highcharts/js/adapters/prototype-adapter.js +11 -0
  529. data/public/rearview/vendor/highcharts/js/adapters/prototype-adapter.src.js +11 -0
  530. data/public/rearview/vendor/highcharts/js/highcharts-more.js +9 -0
  531. data/public/rearview/vendor/highcharts/js/highcharts.js +12 -0
  532. data/public/rearview/vendor/highcharts/js/highcharts.src.js +12 -0
  533. data/public/rearview/vendor/highcharts/js/modules/canvas-tools.js +23 -0
  534. data/public/rearview/vendor/highcharts/js/modules/canvas-tools.src.js +29 -0
  535. data/public/rearview/vendor/highcharts/js/modules/data.js +9 -0
  536. data/public/rearview/vendor/highcharts/js/modules/data.src.js +9 -0
  537. data/public/rearview/vendor/highcharts/js/modules/exporting.js +10 -0
  538. data/public/rearview/vendor/highcharts/js/modules/exporting.src.js +10 -0
  539. data/public/rearview/vendor/highcharts/js/themes/dark-blue.js +1 -0
  540. data/public/rearview/vendor/highcharts/js/themes/dark-green.js +1 -0
  541. data/public/rearview/vendor/highcharts/js/themes/gray.js +1 -0
  542. data/public/rearview/vendor/highcharts/js/themes/grid.js +1 -0
  543. data/public/rearview/vendor/highcharts/js/themes/skies.js +1 -0
  544. data/public/rearview/vendor/jasmine/SpecRunner.html +53 -0
  545. data/public/rearview/vendor/jasmine/lib/jasmine-1.3.1/MIT.LICENSE +20 -0
  546. data/public/rearview/vendor/jasmine/lib/jasmine-1.3.1/jasmine-html.js +1 -0
  547. data/public/rearview/vendor/jasmine/lib/jasmine-1.3.1/jasmine.css +80 -0
  548. data/public/rearview/vendor/jasmine/lib/jasmine-1.3.1/jasmine.js +2 -0
  549. data/public/rearview/vendor/jasmine/spec/PlayerSpec.js +1 -0
  550. data/public/rearview/vendor/jasmine/spec/SpecHelper.js +1 -0
  551. data/public/rearview/vendor/jasmine/src/Player.js +1 -0
  552. data/public/rearview/vendor/jasmine/src/Song.js +1 -0
  553. data/public/rearview/vendor/jquery/js/jquery.js +24 -0
  554. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/animated-overlay.gif +0 -0
  555. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  556. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  557. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  558. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  559. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  560. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  561. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  562. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  563. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  564. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  565. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  566. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  567. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  568. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  569. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/jquery-ui-1.10.3.custom.css +732 -0
  570. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/jquery-ui-1.10.3.custom.min.css +6 -0
  571. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/AUTHORS.txt +245 -0
  572. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/Gruntfile.js +1 -0
  573. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/MIT-LICENSE.txt +26 -0
  574. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/README.md +99 -0
  575. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/addClass/default.html +45 -0
  576. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/addClass/index.html +14 -0
  577. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/animate/default.html +55 -0
  578. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/animate/index.html +14 -0
  579. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/alt-field.html +29 -0
  580. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/animation.html +51 -0
  581. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/buttonbar.html +28 -0
  582. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/date-formats.html +40 -0
  583. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/date-range.html +44 -0
  584. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/default.html +26 -0
  585. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/dropdown-month-year.html +29 -0
  586. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/icon-trigger.html +30 -0
  587. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/images/calendar.gif +0 -0
  588. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/index.html +27 -0
  589. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/inline.html +26 -0
  590. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-ar.js +1 -0
  591. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-fr.js +1 -0
  592. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-he.js +1 -0
  593. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-zh-TW.js +1 -0
  594. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/localization.html +41 -0
  595. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/min-max.html +26 -0
  596. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/multiple-calendars.html +29 -0
  597. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/other-months.html +30 -0
  598. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/show-week.html +32 -0
  599. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/demos.css +16 -0
  600. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/constrain-movement.html +58 -0
  601. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/cursor-style.html +42 -0
  602. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/default.html +32 -0
  603. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/delay-start.html +38 -0
  604. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/events.html +70 -0
  605. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/handle.html +41 -0
  606. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/index.html +24 -0
  607. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/revert.html +37 -0
  608. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/scroll.html +44 -0
  609. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/snap-to.html +61 -0
  610. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/sortable.html +50 -0
  611. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/visual-feedback.html +70 -0
  612. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/accepted-elements.html +53 -0
  613. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/default.html +46 -0
  614. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  615. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  616. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  617. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  618. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  619. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  620. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  621. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  622. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/index.html +20 -0
  623. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/photo-manager.html +182 -0
  624. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/propagation.html +73 -0
  625. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/revert.html +54 -0
  626. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/shopping-cart.html +94 -0
  627. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/visual-feedback.html +72 -0
  628. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/default.html +102 -0
  629. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/easing.html +102 -0
  630. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/index.html +15 -0
  631. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/hide/default.html +95 -0
  632. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/hide/index.html +14 -0
  633. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/calendar.gif +0 -0
  634. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  635. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-config-on.gif +0 -0
  636. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  637. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  638. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/icon-docs-info.gif +0 -0
  639. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/pbar-ani.gif +0 -0
  640. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/index.html +26 -0
  641. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/removeClass/default.html +45 -0
  642. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/removeClass/index.html +14 -0
  643. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/show/default.html +97 -0
  644. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/show/index.html +14 -0
  645. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/switchClass/default.html +40 -0
  646. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/switchClass/index.html +14 -0
  647. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggle/default.html +103 -0
  648. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggle/index.html +14 -0
  649. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggleClass/default.html +39 -0
  650. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggleClass/index.html +14 -0
  651. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/widget/default.html +178 -0
  652. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/widget/index.html +14 -0
  653. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/blind-effect.html +58 -0
  654. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/bounce-effect.html +61 -0
  655. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/clip-effect.html +55 -0
  656. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/datepicker.html +946 -0
  657. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/draggable.html +741 -0
  658. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/drop-effect.html +55 -0
  659. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/droppable.html +548 -0
  660. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/explode-effect.html +52 -0
  661. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/fade-effect.html +43 -0
  662. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/fold-effect.html +61 -0
  663. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/highlight-effect.html +52 -0
  664. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/jQuery.widget.html +611 -0
  665. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/mouse.html +216 -0
  666. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/puff-effect.html +52 -0
  667. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/pulsate-effect.html +52 -0
  668. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/scale-effect.html +82 -0
  669. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/shake-effect.html +66 -0
  670. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/size-effect.html +65 -0
  671. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/slide-effect.html +59 -0
  672. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/transfer-effect.html +61 -0
  673. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.culture.de-DE.js +14 -0
  674. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.culture.ja-JP.js +14 -0
  675. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.js +11 -0
  676. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/jquery.mousewheel.js +13 -0
  677. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/jshint.js +34 -0
  678. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/qunit.css +178 -0
  679. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/qunit.js +37 -0
  680. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/jquery-1.9.1.js +24 -0
  681. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/package.json +70 -0
  682. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/animated-overlay.gif +0 -0
  683. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  684. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  685. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  686. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  687. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  688. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  689. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  690. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  691. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  692. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  693. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  694. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  695. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  696. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery-ui.css +599 -0
  697. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.all.css +659 -0
  698. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.base.css +269 -0
  699. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.core.css +73 -0
  700. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.datepicker.css +174 -0
  701. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.theme.css +380 -0
  702. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/animated-overlay.gif +0 -0
  703. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  704. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  705. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  706. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  707. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  708. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  709. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  710. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  711. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png +0 -0
  712. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png +0 -0
  713. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png +0 -0
  714. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png +0 -0
  715. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
  716. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery-ui.min.css +6 -0
  717. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.core.min.css +4 -0
  718. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.datepicker.min.css +4 -0
  719. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.theme.min.css +4 -0
  720. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/animated-overlay.gif +0 -0
  721. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  722. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  723. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  724. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  725. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  726. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  727. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  728. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  729. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  730. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  731. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  732. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  733. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  734. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  735. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery-ui.css +600 -0
  736. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.all.css +659 -0
  737. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.base.css +269 -0
  738. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.core.css +73 -0
  739. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.datepicker.css +174 -0
  740. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.theme.css +380 -0
  741. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/animated-overlay.gif +0 -0
  742. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  743. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  744. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  745. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  746. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  747. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  748. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  749. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  750. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_loop_25_000000_21x21.png +0 -0
  751. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_222222_256x240.png +0 -0
  752. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_4b8e0b_256x240.png +0 -0
  753. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_a83300_256x240.png +0 -0
  754. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_cccccc_256x240.png +0 -0
  755. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_ffffff_256x240.png +0 -0
  756. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery-ui.min.css +6 -0
  757. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.core.min.css +4 -0
  758. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.datepicker.min.css +4 -0
  759. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.theme.min.css +4 -0
  760. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery-ui-i18n.js +7 -0
  761. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +1 -0
  762. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +1 -0
  763. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +1 -0
  764. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +1 -0
  765. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-be.js +1 -0
  766. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +1 -0
  767. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +1 -0
  768. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +1 -0
  769. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +1 -0
  770. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js +1 -0
  771. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +1 -0
  772. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +1 -0
  773. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +1 -0
  774. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +1 -0
  775. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +1 -0
  776. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +1 -0
  777. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +1 -0
  778. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +1 -0
  779. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +1 -0
  780. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +1 -0
  781. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +1 -0
  782. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +1 -0
  783. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +1 -0
  784. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CA.js +1 -0
  785. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +1 -0
  786. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +1 -0
  787. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +1 -0
  788. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +1 -0
  789. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js +1 -0
  790. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +1 -0
  791. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +1 -0
  792. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +1 -0
  793. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +1 -0
  794. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +1 -0
  795. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +1 -0
  796. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +1 -0
  797. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ka.js +1 -0
  798. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js +1 -0
  799. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-km.js +1 -0
  800. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +1 -0
  801. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ky.js +1 -0
  802. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js +1 -0
  803. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +1 -0
  804. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +1 -0
  805. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js +1 -0
  806. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +1 -0
  807. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +1 -0
  808. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nb.js +1 -0
  809. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js +1 -0
  810. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +1 -0
  811. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nn.js +1 -0
  812. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +1 -0
  813. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +1 -0
  814. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +1 -0
  815. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +1 -0
  816. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +1 -0
  817. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +1 -0
  818. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +1 -0
  819. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +1 -0
  820. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +1 -0
  821. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +1 -0
  822. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +1 -0
  823. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +1 -0
  824. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +1 -0
  825. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +1 -0
  826. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +1 -0
  827. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +1 -0
  828. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +1 -0
  829. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +1 -0
  830. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +1 -0
  831. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +1 -0
  832. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +1 -0
  833. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +1 -0
  834. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery-ui.custom.js +19 -0
  835. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.core.js +12 -0
  836. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.datepicker.js +16 -0
  837. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.draggable.js +17 -0
  838. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.droppable.js +18 -0
  839. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-blind.js +15 -0
  840. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-bounce.js +15 -0
  841. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-clip.js +15 -0
  842. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-drop.js +15 -0
  843. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-explode.js +15 -0
  844. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-fade.js +15 -0
  845. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-fold.js +15 -0
  846. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-highlight.js +15 -0
  847. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-pulsate.js +15 -0
  848. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-scale.js +15 -0
  849. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-shake.js +15 -0
  850. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-slide.js +15 -0
  851. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-transfer.js +15 -0
  852. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect.js +23 -0
  853. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.mouse.js +15 -0
  854. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.widget.js +12 -0
  855. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery-ui-i18n.min.js +7 -0
  856. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-af.min.js +5 -0
  857. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js +5 -0
  858. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar.min.js +5 -0
  859. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-az.min.js +5 -0
  860. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-be.min.js +5 -0
  861. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bg.min.js +5 -0
  862. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bs.min.js +5 -0
  863. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ca.min.js +5 -0
  864. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cs.min.js +5 -0
  865. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js +5 -0
  866. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-da.min.js +5 -0
  867. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-de.min.js +5 -0
  868. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-el.min.js +5 -0
  869. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js +5 -0
  870. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js +5 -0
  871. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js +5 -0
  872. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eo.min.js +5 -0
  873. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-es.min.js +5 -0
  874. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-et.min.js +5 -0
  875. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eu.min.js +5 -0
  876. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fa.min.js +5 -0
  877. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fi.min.js +5 -0
  878. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fo.min.js +5 -0
  879. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js +5 -0
  880. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js +5 -0
  881. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr.min.js +5 -0
  882. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-gl.min.js +5 -0
  883. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-he.min.js +5 -0
  884. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hi.min.js +5 -0
  885. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hr.min.js +5 -0
  886. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hu.min.js +5 -0
  887. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hy.min.js +5 -0
  888. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-id.min.js +5 -0
  889. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-is.min.js +5 -0
  890. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-it.min.js +5 -0
  891. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ja.min.js +5 -0
  892. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ka.min.js +5 -0
  893. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-kk.min.js +5 -0
  894. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-km.min.js +5 -0
  895. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ko.min.js +5 -0
  896. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ky.min.js +5 -0
  897. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lb.min.js +5 -0
  898. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lt.min.js +5 -0
  899. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lv.min.js +5 -0
  900. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-mk.min.js +5 -0
  901. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ml.min.js +5 -0
  902. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ms.min.js +5 -0
  903. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nb.min.js +5 -0
  904. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js +5 -0
  905. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl.min.js +5 -0
  906. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nn.min.js +5 -0
  907. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-no.min.js +5 -0
  908. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pl.min.js +5 -0
  909. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js +5 -0
  910. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt.min.js +5 -0
  911. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-rm.min.js +5 -0
  912. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ro.min.js +5 -0
  913. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ru.min.js +5 -0
  914. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sk.min.js +5 -0
  915. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sl.min.js +5 -0
  916. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sq.min.js +5 -0
  917. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js +5 -0
  918. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr.min.js +5 -0
  919. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sv.min.js +5 -0
  920. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ta.min.js +5 -0
  921. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-th.min.js +5 -0
  922. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tj.min.js +5 -0
  923. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tr.min.js +5 -0
  924. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-uk.min.js +5 -0
  925. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-vi.min.js +5 -0
  926. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js +5 -0
  927. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js +5 -0
  928. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js +5 -0
  929. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery-ui.custom.min.js +8 -0
  930. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.core.min.js +5 -0
  931. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.datepicker.min.js +6 -0
  932. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.draggable.min.js +5 -0
  933. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.droppable.min.js +5 -0
  934. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-blind.min.js +5 -0
  935. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js +5 -0
  936. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-clip.min.js +5 -0
  937. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-drop.min.js +5 -0
  938. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-explode.min.js +5 -0
  939. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-fade.min.js +5 -0
  940. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-fold.min.js +5 -0
  941. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js +5 -0
  942. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js +5 -0
  943. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-scale.min.js +5 -0
  944. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-shake.min.js +5 -0
  945. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-slide.min.js +5 -0
  946. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js +5 -0
  947. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect.min.js +5 -0
  948. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.mouse.min.js +5 -0
  949. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.widget.min.js +5 -0
  950. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.core.jquery.json +61 -0
  951. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.datepicker.jquery.json +66 -0
  952. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.draggable.jquery.json +66 -0
  953. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.droppable.jquery.json +67 -0
  954. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-blind.jquery.json +65 -0
  955. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-bounce.jquery.json +65 -0
  956. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-clip.jquery.json +65 -0
  957. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-drop.jquery.json +65 -0
  958. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-explode.jquery.json +65 -0
  959. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-fade.jquery.json +65 -0
  960. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-fold.jquery.json +65 -0
  961. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-highlight.jquery.json +65 -0
  962. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-pulsate.jquery.json +65 -0
  963. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-scale.jquery.json +65 -0
  964. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-shake.jquery.json +65 -0
  965. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-slide.jquery.json +65 -0
  966. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-transfer.jquery.json +63 -0
  967. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect.jquery.json +68 -0
  968. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.mouse.jquery.json +64 -0
  969. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.widget.jquery.json +64 -0
  970. data/public/rearview/vendor/jquery/plugins/jquery-ui/js/jquery-ui-1.10.3.custom.js +10 -0
  971. data/public/rearview/vendor/jquery/plugins/jquery-ui/js/jquery-ui-1.10.3.custom.min.js +10 -0
  972. data/public/rearview/vendor/jquery/plugins/jquery.validate.js +14 -0
  973. data/public/rearview/vendor/jquery/plugins/timepicker-ui/css/jquery.timepicker.css +31 -0
  974. data/public/rearview/vendor/jquery/plugins/timepicker-ui/js/jquery.timepicker.js +11 -0
  975. data/public/rearview/vendor/less/js/less.js +13 -0
  976. data/public/rearview/vendor/parsley/js/parsley.js +1 -0
  977. data/public/rearview/vendor/parsley/js/parsley.min.js +1 -0
  978. data/public/rearview/vendor/require/js/require.js +31 -0
  979. data/public/rearview/vendor/require/plugins/domready/domready.js +7 -0
  980. data/public/rearview/vendor/timeline/examples/example.json +38 -0
  981. data/public/rearview/vendor/timeline/examples/timeline_json.html +143 -0
  982. data/public/rearview/vendor/timeline/timeline.css +114 -0
  983. data/public/rearview/vendor/timeline/timeline.js +45 -0
  984. data/public/rearview/vendor/underscore/js/underscore.js +5 -0
  985. data/public/rearview/vendor/underscore/plugins/underscore-string/js/underscore.string.js +10 -0
  986. data/public/rearview/vendor/xdate/js/xdate.js +1 -0
  987. data/public/rearview-src/css/rearview.css +1 -0
  988. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.eot +0 -0
  989. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.svg +249 -0
  990. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.ttf +0 -0
  991. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.woff +0 -0
  992. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold.otf +0 -0
  993. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.eot +0 -0
  994. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.svg +250 -0
  995. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.ttf +0 -0
  996. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.woff +0 -0
  997. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular.otf +0 -0
  998. data/public/rearview-src/img/livingsocial-logo-white.svg +107 -0
  999. data/public/rearview-src/img/login/company-logo.svg +107 -0
  1000. data/public/rearview-src/img/noise-light.png +0 -0
  1001. data/public/rearview-src/img/noise.png +0 -0
  1002. data/public/rearview-src/img/rearview.svg +19 -0
  1003. data/public/rearview-src/img/rearviewlogo.png +0 -0
  1004. data/public/rearview-src/img/rearviewlogo_small.png +0 -0
  1005. data/public/rearview-src/img/sample-monitor.png +0 -0
  1006. data/public/rearview-src/js/app.build.js +15 -0
  1007. data/public/rearview-src/js/app.js +295 -0
  1008. data/public/rearview-src/js/collection/dashboard.js +41 -0
  1009. data/public/rearview-src/js/collection/monitor.js +53 -0
  1010. data/public/rearview-src/js/main.js +89 -0
  1011. data/public/rearview-src/js/model/base.js +34 -0
  1012. data/public/rearview-src/js/model/dashboard.js +47 -0
  1013. data/public/rearview-src/js/model/monitor.js +67 -0
  1014. data/public/rearview-src/js/model/user.js +81 -0
  1015. data/public/rearview-src/js/route/index.js +47 -0
  1016. data/public/rearview-src/js/util/highcharts-gray-theme.js +266 -0
  1017. data/public/rearview-src/js/util/templar.js +178 -0
  1018. data/public/rearview-src/js/view/addcategory.js +250 -0
  1019. data/public/rearview-src/js/view/adddashboard.js +166 -0
  1020. data/public/rearview-src/js/view/addmonitor.js +679 -0
  1021. data/public/rearview-src/js/view/alert.js +47 -0
  1022. data/public/rearview-src/js/view/alerttimeline.js +340 -0
  1023. data/public/rearview-src/js/view/base.js +535 -0
  1024. data/public/rearview-src/js/view/dashboard.js +493 -0
  1025. data/public/rearview-src/js/view/dashboardtile.js +146 -0
  1026. data/public/rearview-src/js/view/deletemonitor.js +68 -0
  1027. data/public/rearview-src/js/view/ecosystem.js +90 -0
  1028. data/public/rearview-src/js/view/expandedmonitor.js +706 -0
  1029. data/public/rearview-src/js/view/header.js +43 -0
  1030. data/public/rearview-src/js/view/primarynav.js +63 -0
  1031. data/public/rearview-src/js/view/resetmonitor.js +101 -0
  1032. data/public/rearview-src/js/view/secondarynav.js +45 -0
  1033. data/public/rearview-src/js/view/smallmonitor.js +416 -0
  1034. data/public/rearview-src/less/alert.less +45 -0
  1035. data/public/rearview-src/less/dashboard.less +173 -0
  1036. data/public/rearview-src/less/ecosystem.less +221 -0
  1037. data/public/rearview-src/less/elements.less +168 -0
  1038. data/public/rearview-src/less/expandedmonitor.less +283 -0
  1039. data/public/rearview-src/less/header.less +76 -0
  1040. data/public/rearview-src/less/login.less +1050 -0
  1041. data/public/rearview-src/less/primarynav.less +151 -0
  1042. data/public/rearview-src/less/rearview.less +1207 -0
  1043. data/public/rearview-src/login/icons/rearview.svg +19 -0
  1044. data/public/rearview-src/templates/addcategory.hbs +38 -0
  1045. data/public/rearview-src/templates/adddashboard.hbs +26 -0
  1046. data/public/rearview-src/templates/addmonitor.hbs +10 -0
  1047. data/public/rearview-src/templates/alert.hbs +4 -0
  1048. data/public/rearview-src/templates/alerttimeline.hbs +15 -0
  1049. data/public/rearview-src/templates/dashboard.hbs +35 -0
  1050. data/public/rearview-src/templates/dashboardtile.hbs +22 -0
  1051. data/public/rearview-src/templates/deletemonitor.hbs +16 -0
  1052. data/public/rearview-src/templates/expandedmonitor.hbs +191 -0
  1053. data/public/rearview-src/templates/header.hbs +9 -0
  1054. data/public/rearview-src/templates/primarynav.hbs +50 -0
  1055. data/public/rearview-src/templates/resetmonitor.hbs +16 -0
  1056. data/public/rearview-src/templates/schedulemonitor.hbs +78 -0
  1057. data/public/rearview-src/templates/secondarynav.hbs +11 -0
  1058. data/public/rearview-src/templates/setmetrics.hbs +53 -0
  1059. data/public/rearview-src/templates/smallmonitor.hbs +52 -0
  1060. data/public/rearview-src/templates/test.txt +1 -0
  1061. data/public/rearview-src/test/spec/model/application.js +60 -0
  1062. data/public/rearview-src/test/spec/model/job.js +109 -0
  1063. data/public/rearview-src/test/spec/model/user.js +50 -0
  1064. data/public/rearview-src/test/spec/view/base.js +58 -0
  1065. data/public/rearview-src/vendor/backbone/js/backbone.js +1431 -0
  1066. data/public/rearview-src/vendor/backbone/plugins/backbone-localStorage/js/backbone-localStorage.js +130 -0
  1067. data/public/rearview-src/vendor/backbone/plugins/backbone-mediator/js/backbone-mediator.js +221 -0
  1068. data/public/rearview-src/vendor/bootstrap/css/bootstrap-responsive.css +1109 -0
  1069. data/public/rearview-src/vendor/bootstrap/css/bootstrap-responsive.min.css +9 -0
  1070. data/public/rearview-src/vendor/bootstrap/css/bootstrap.css +6167 -0
  1071. data/public/rearview-src/vendor/bootstrap/css/bootstrap.min.css +9 -0
  1072. data/public/rearview-src/vendor/bootstrap/img/glyphicons-halflings-white.png +0 -0
  1073. data/public/rearview-src/vendor/bootstrap/img/glyphicons-halflings.png +0 -0
  1074. data/public/rearview-src/vendor/bootstrap/js/bootstrap.js +2280 -0
  1075. data/public/rearview-src/vendor/bootstrap/js/bootstrap.min.js +6 -0
  1076. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/LICENSE +202 -0
  1077. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/README.md +305 -0
  1078. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/build/build.less +66 -0
  1079. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/build/build_standalone.less +69 -0
  1080. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/css/datepicker.css +274 -0
  1081. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js +841 -0
  1082. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.cs.js +14 -0
  1083. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.da.js +14 -0
  1084. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js +14 -0
  1085. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js +14 -0
  1086. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.fi.js +14 -0
  1087. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js +14 -0
  1088. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.id.js +13 -0
  1089. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.is.js +14 -0
  1090. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js +14 -0
  1091. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ja.js +13 -0
  1092. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.kr.js +13 -0
  1093. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.lt.js +15 -0
  1094. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.lv.js +16 -0
  1095. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ms.js +14 -0
  1096. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.nb.js +14 -0
  1097. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl.js +14 -0
  1098. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pl.js +14 -0
  1099. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt-BR.js +14 -0
  1100. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt.js +14 -0
  1101. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ru.js +14 -0
  1102. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.sv.js +14 -0
  1103. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.th.js +14 -0
  1104. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.tr.js +15 -0
  1105. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js +14 -0
  1106. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-TW.js +13 -0
  1107. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/less/datepicker.less +147 -0
  1108. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/README.md +55 -0
  1109. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/_coverage.html +26 -0
  1110. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/coverage.js +48 -0
  1111. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/jquery-1.7.1.min.js +4 -0
  1112. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/mock.js +26 -0
  1113. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit-logging.js +29 -0
  1114. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit.css +235 -0
  1115. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit.js +1669 -0
  1116. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/utils.js +21 -0
  1117. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/run-qunit.js +157 -0
  1118. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/component.js +157 -0
  1119. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/events.js +80 -0
  1120. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/formats.js +195 -0
  1121. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/2011.js +86 -0
  1122. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/2012.js +410 -0
  1123. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/all.js +26 -0
  1124. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/2011.js +66 -0
  1125. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/2012.js +251 -0
  1126. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/all.js +33 -0
  1127. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/options.js +264 -0
  1128. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/tests.html +45 -0
  1129. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/css/font-awesome-ie7.css +1203 -0
  1130. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/css/font-awesome-ie7.min.css +384 -0
  1131. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/css/font-awesome.css +1479 -0
  1132. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/css/font-awesome.min.css +403 -0
  1133. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/FontAwesome.otf +0 -0
  1134. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.eot +0 -0
  1135. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.svg +399 -0
  1136. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.ttf +0 -0
  1137. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.woff +0 -0
  1138. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/bootstrap.less +84 -0
  1139. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/core.less +129 -0
  1140. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/extras.less +93 -0
  1141. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/font-awesome-ie7.less +1953 -0
  1142. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/font-awesome.less +33 -0
  1143. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/icons.less +381 -0
  1144. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/mixins.less +48 -0
  1145. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/path.less +14 -0
  1146. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/variables.less +735 -0
  1147. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_bootstrap.scss +84 -0
  1148. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_core.scss +129 -0
  1149. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_extras.scss +93 -0
  1150. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_icons.scss +381 -0
  1151. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_mixins.scss +48 -0
  1152. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_path.scss +14 -0
  1153. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_variables.scss +734 -0
  1154. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/font-awesome-ie7.scss +1953 -0
  1155. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/font-awesome.scss +33 -0
  1156. data/public/rearview-src/vendor/codemirror/LICENSE +23 -0
  1157. data/public/rearview-src/vendor/codemirror/README.md +8 -0
  1158. data/public/rearview-src/vendor/codemirror/demo/activeline.html +73 -0
  1159. data/public/rearview-src/vendor/codemirror/demo/changemode.html +51 -0
  1160. data/public/rearview-src/vendor/codemirror/demo/closetag.html +66 -0
  1161. data/public/rearview-src/vendor/codemirror/demo/complete.html +71 -0
  1162. data/public/rearview-src/vendor/codemirror/demo/emacs.html +60 -0
  1163. data/public/rearview-src/vendor/codemirror/demo/folding.html +62 -0
  1164. data/public/rearview-src/vendor/codemirror/demo/formatting.html +81 -0
  1165. data/public/rearview-src/vendor/codemirror/demo/fullscreen.html +147 -0
  1166. data/public/rearview-src/vendor/codemirror/demo/loadmode.html +40 -0
  1167. data/public/rearview-src/vendor/codemirror/demo/marker.html +53 -0
  1168. data/public/rearview-src/vendor/codemirror/demo/matchhighlighter.html +38 -0
  1169. data/public/rearview-src/vendor/codemirror/demo/multiplex.html +60 -0
  1170. data/public/rearview-src/vendor/codemirror/demo/mustache.html +58 -0
  1171. data/public/rearview-src/vendor/codemirror/demo/preview.html +76 -0
  1172. data/public/rearview-src/vendor/codemirror/demo/resize.html +42 -0
  1173. data/public/rearview-src/vendor/codemirror/demo/runmode.html +50 -0
  1174. data/public/rearview-src/vendor/codemirror/demo/search.html +85 -0
  1175. data/public/rearview-src/vendor/codemirror/demo/theme.html +79 -0
  1176. data/public/rearview-src/vendor/codemirror/demo/vim.html +53 -0
  1177. data/public/rearview-src/vendor/codemirror/demo/visibletabs.html +53 -0
  1178. data/public/rearview-src/vendor/codemirror/demo/xmlcomplete.html +71 -0
  1179. data/public/rearview-src/vendor/codemirror/doc/baboon.png +0 -0
  1180. data/public/rearview-src/vendor/codemirror/doc/baboon_vector.svg +153 -0
  1181. data/public/rearview-src/vendor/codemirror/doc/compress.html +163 -0
  1182. data/public/rearview-src/vendor/codemirror/doc/docs.css +165 -0
  1183. data/public/rearview-src/vendor/codemirror/doc/internals.html +497 -0
  1184. data/public/rearview-src/vendor/codemirror/doc/manual.html +1224 -0
  1185. data/public/rearview-src/vendor/codemirror/doc/oldrelease.html +305 -0
  1186. data/public/rearview-src/vendor/codemirror/doc/reporting.html +60 -0
  1187. data/public/rearview-src/vendor/codemirror/doc/upgrade_v2.2.html +98 -0
  1188. data/public/rearview-src/vendor/codemirror/index.html +472 -0
  1189. data/public/rearview-src/vendor/codemirror/keymap/emacs.js +29 -0
  1190. data/public/rearview-src/vendor/codemirror/keymap/vim.js +789 -0
  1191. data/public/rearview-src/vendor/codemirror/lib/codemirror.css +173 -0
  1192. data/public/rearview-src/vendor/codemirror/lib/codemirror.js +3143 -0
  1193. data/public/rearview-src/vendor/codemirror/lib/util/closetag.js +164 -0
  1194. data/public/rearview-src/vendor/codemirror/lib/util/dialog.css +27 -0
  1195. data/public/rearview-src/vendor/codemirror/lib/util/dialog.js +70 -0
  1196. data/public/rearview-src/vendor/codemirror/lib/util/foldcode.js +196 -0
  1197. data/public/rearview-src/vendor/codemirror/lib/util/formatting.js +193 -0
  1198. data/public/rearview-src/vendor/codemirror/lib/util/javascript-hint.js +134 -0
  1199. data/public/rearview-src/vendor/codemirror/lib/util/loadmode.js +51 -0
  1200. data/public/rearview-src/vendor/codemirror/lib/util/match-highlighter.js +44 -0
  1201. data/public/rearview-src/vendor/codemirror/lib/util/multiplex.js +77 -0
  1202. data/public/rearview-src/vendor/codemirror/lib/util/overlay.js +54 -0
  1203. data/public/rearview-src/vendor/codemirror/lib/util/pig-hint.js +123 -0
  1204. data/public/rearview-src/vendor/codemirror/lib/util/runmode-standalone.js +90 -0
  1205. data/public/rearview-src/vendor/codemirror/lib/util/runmode.js +53 -0
  1206. data/public/rearview-src/vendor/codemirror/lib/util/search.js +118 -0
  1207. data/public/rearview-src/vendor/codemirror/lib/util/searchcursor.js +119 -0
  1208. data/public/rearview-src/vendor/codemirror/lib/util/simple-hint.css +16 -0
  1209. data/public/rearview-src/vendor/codemirror/lib/util/simple-hint.js +97 -0
  1210. data/public/rearview-src/vendor/codemirror/lib/util/xml-hint.js +137 -0
  1211. data/public/rearview-src/vendor/codemirror/mode/clike/clike.js +284 -0
  1212. data/public/rearview-src/vendor/codemirror/mode/clike/index.html +102 -0
  1213. data/public/rearview-src/vendor/codemirror/mode/clike/scala.html +766 -0
  1214. data/public/rearview-src/vendor/codemirror/mode/clojure/clojure.js +206 -0
  1215. data/public/rearview-src/vendor/codemirror/mode/clojure/index.html +67 -0
  1216. data/public/rearview-src/vendor/codemirror/mode/coffeescript/LICENSE +22 -0
  1217. data/public/rearview-src/vendor/codemirror/mode/coffeescript/coffeescript.js +346 -0
  1218. data/public/rearview-src/vendor/codemirror/mode/coffeescript/index.html +728 -0
  1219. data/public/rearview-src/vendor/codemirror/mode/commonlisp/commonlisp.js +101 -0
  1220. data/public/rearview-src/vendor/codemirror/mode/commonlisp/index.html +165 -0
  1221. data/public/rearview-src/vendor/codemirror/mode/css/css.js +448 -0
  1222. data/public/rearview-src/vendor/codemirror/mode/css/index.html +58 -0
  1223. data/public/rearview-src/vendor/codemirror/mode/css/test.js +501 -0
  1224. data/public/rearview-src/vendor/codemirror/mode/diff/diff.js +32 -0
  1225. data/public/rearview-src/vendor/codemirror/mode/diff/index.html +105 -0
  1226. data/public/rearview-src/vendor/codemirror/mode/ecl/ecl.js +203 -0
  1227. data/public/rearview-src/vendor/codemirror/mode/ecl/index.html +42 -0
  1228. data/public/rearview-src/vendor/codemirror/mode/erlang/erlang.js +463 -0
  1229. data/public/rearview-src/vendor/codemirror/mode/erlang/index.html +63 -0
  1230. data/public/rearview-src/vendor/codemirror/mode/gfm/gfm.js +150 -0
  1231. data/public/rearview-src/vendor/codemirror/mode/gfm/index.html +48 -0
  1232. data/public/rearview-src/vendor/codemirror/mode/go/go.js +170 -0
  1233. data/public/rearview-src/vendor/codemirror/mode/go/index.html +73 -0
  1234. data/public/rearview-src/vendor/codemirror/mode/groovy/groovy.js +210 -0
  1235. data/public/rearview-src/vendor/codemirror/mode/groovy/index.html +72 -0
  1236. data/public/rearview-src/vendor/codemirror/mode/haskell/haskell.js +242 -0
  1237. data/public/rearview-src/vendor/codemirror/mode/haskell/index.html +61 -0
  1238. data/public/rearview-src/vendor/codemirror/mode/haxe/haxe.js +429 -0
  1239. data/public/rearview-src/vendor/codemirror/mode/haxe/index.html +91 -0
  1240. data/public/rearview-src/vendor/codemirror/mode/htmlembedded/htmlembedded.js +72 -0
  1241. data/public/rearview-src/vendor/codemirror/mode/htmlembedded/index.html +50 -0
  1242. data/public/rearview-src/vendor/codemirror/mode/htmlmixed/htmlmixed.js +84 -0
  1243. data/public/rearview-src/vendor/codemirror/mode/htmlmixed/index.html +52 -0
  1244. data/public/rearview-src/vendor/codemirror/mode/javascript/index.html +78 -0
  1245. data/public/rearview-src/vendor/codemirror/mode/javascript/javascript.js +361 -0
  1246. data/public/rearview-src/vendor/codemirror/mode/jinja2/index.html +38 -0
  1247. data/public/rearview-src/vendor/codemirror/mode/jinja2/jinja2.js +42 -0
  1248. data/public/rearview-src/vendor/codemirror/mode/less/index.html +740 -0
  1249. data/public/rearview-src/vendor/codemirror/mode/less/less.js +266 -0
  1250. data/public/rearview-src/vendor/codemirror/mode/lua/index.html +73 -0
  1251. data/public/rearview-src/vendor/codemirror/mode/lua/lua.js +140 -0
  1252. data/public/rearview-src/vendor/codemirror/mode/markdown/index.html +343 -0
  1253. data/public/rearview-src/vendor/codemirror/mode/markdown/markdown.js +382 -0
  1254. data/public/rearview-src/vendor/codemirror/mode/markdown/test.js +1084 -0
  1255. data/public/rearview-src/vendor/codemirror/mode/mysql/index.html +42 -0
  1256. data/public/rearview-src/vendor/codemirror/mode/mysql/mysql.js +186 -0
  1257. data/public/rearview-src/vendor/codemirror/mode/ntriples/index.html +33 -0
  1258. data/public/rearview-src/vendor/codemirror/mode/ntriples/ntriples.js +172 -0
  1259. data/public/rearview-src/vendor/codemirror/mode/ocaml/index.html +130 -0
  1260. data/public/rearview-src/vendor/codemirror/mode/ocaml/ocaml.js +114 -0
  1261. data/public/rearview-src/vendor/codemirror/mode/pascal/LICENSE +7 -0
  1262. data/public/rearview-src/vendor/codemirror/mode/pascal/index.html +49 -0
  1263. data/public/rearview-src/vendor/codemirror/mode/pascal/pascal.js +94 -0
  1264. data/public/rearview-src/vendor/codemirror/mode/perl/LICENSE +19 -0
  1265. data/public/rearview-src/vendor/codemirror/mode/perl/index.html +63 -0
  1266. data/public/rearview-src/vendor/codemirror/mode/perl/perl.js +816 -0
  1267. data/public/rearview-src/vendor/codemirror/mode/php/index.html +49 -0
  1268. data/public/rearview-src/vendor/codemirror/mode/php/php.js +148 -0
  1269. data/public/rearview-src/vendor/codemirror/mode/pig/index.html +43 -0
  1270. data/public/rearview-src/vendor/codemirror/mode/pig/pig.js +172 -0
  1271. data/public/rearview-src/vendor/codemirror/mode/plsql/index.html +63 -0
  1272. data/public/rearview-src/vendor/codemirror/mode/plsql/plsql.js +217 -0
  1273. data/public/rearview-src/vendor/codemirror/mode/properties/index.html +41 -0
  1274. data/public/rearview-src/vendor/codemirror/mode/properties/properties.js +63 -0
  1275. data/public/rearview-src/vendor/codemirror/mode/python/LICENSE.txt +21 -0
  1276. data/public/rearview-src/vendor/codemirror/mode/python/index.html +123 -0
  1277. data/public/rearview-src/vendor/codemirror/mode/python/python.js +338 -0
  1278. data/public/rearview-src/vendor/codemirror/mode/r/LICENSE +24 -0
  1279. data/public/rearview-src/vendor/codemirror/mode/r/index.html +74 -0
  1280. data/public/rearview-src/vendor/codemirror/mode/r/r.js +141 -0
  1281. data/public/rearview-src/vendor/codemirror/mode/rpm/changes/changes.js +19 -0
  1282. data/public/rearview-src/vendor/codemirror/mode/rpm/changes/index.html +54 -0
  1283. data/public/rearview-src/vendor/codemirror/mode/rpm/spec/index.html +100 -0
  1284. data/public/rearview-src/vendor/codemirror/mode/rpm/spec/spec.css +5 -0
  1285. data/public/rearview-src/vendor/codemirror/mode/rpm/spec/spec.js +66 -0
  1286. data/public/rearview-src/vendor/codemirror/mode/rst/index.html +526 -0
  1287. data/public/rearview-src/vendor/codemirror/mode/rst/rst.js +326 -0
  1288. data/public/rearview-src/vendor/codemirror/mode/ruby/LICENSE +24 -0
  1289. data/public/rearview-src/vendor/codemirror/mode/ruby/index.html +172 -0
  1290. data/public/rearview-src/vendor/codemirror/mode/ruby/ruby.js +195 -0
  1291. data/public/rearview-src/vendor/codemirror/mode/rust/index.html +49 -0
  1292. data/public/rearview-src/vendor/codemirror/mode/rust/rust.js +432 -0
  1293. data/public/rearview-src/vendor/codemirror/mode/scheme/index.html +65 -0
  1294. data/public/rearview-src/vendor/codemirror/mode/scheme/scheme.js +230 -0
  1295. data/public/rearview-src/vendor/codemirror/mode/shell/index.html +50 -0
  1296. data/public/rearview-src/vendor/codemirror/mode/shell/shell.js +118 -0
  1297. data/public/rearview-src/vendor/codemirror/mode/sieve/LICENSE +23 -0
  1298. data/public/rearview-src/vendor/codemirror/mode/sieve/index.html +81 -0
  1299. data/public/rearview-src/vendor/codemirror/mode/sieve/sieve.js +156 -0
  1300. data/public/rearview-src/vendor/codemirror/mode/smalltalk/index.html +56 -0
  1301. data/public/rearview-src/vendor/codemirror/mode/smalltalk/smalltalk.js +139 -0
  1302. data/public/rearview-src/vendor/codemirror/mode/smarty/index.html +83 -0
  1303. data/public/rearview-src/vendor/codemirror/mode/smarty/smarty.js +148 -0
  1304. data/public/rearview-src/vendor/codemirror/mode/sparql/index.html +41 -0
  1305. data/public/rearview-src/vendor/codemirror/mode/sparql/sparql.js +143 -0
  1306. data/public/rearview-src/vendor/codemirror/mode/stex/index.html +98 -0
  1307. data/public/rearview-src/vendor/codemirror/mode/stex/stex.js +182 -0
  1308. data/public/rearview-src/vendor/codemirror/mode/stex/test.js +343 -0
  1309. data/public/rearview-src/vendor/codemirror/mode/tiddlywiki/index.html +141 -0
  1310. data/public/rearview-src/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  1311. data/public/rearview-src/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js +384 -0
  1312. data/public/rearview-src/vendor/codemirror/mode/tiki/index.html +83 -0
  1313. data/public/rearview-src/vendor/codemirror/mode/tiki/tiki.css +26 -0
  1314. data/public/rearview-src/vendor/codemirror/mode/tiki/tiki.js +309 -0
  1315. data/public/rearview-src/vendor/codemirror/mode/vb/LICENSE.txt +21 -0
  1316. data/public/rearview-src/vendor/codemirror/mode/vb/index.html +89 -0
  1317. data/public/rearview-src/vendor/codemirror/mode/vb/vb.js +260 -0
  1318. data/public/rearview-src/vendor/codemirror/mode/vbscript/index.html +43 -0
  1319. data/public/rearview-src/vendor/codemirror/mode/vbscript/vbscript.js +26 -0
  1320. data/public/rearview-src/vendor/codemirror/mode/velocity/index.html +104 -0
  1321. data/public/rearview-src/vendor/codemirror/mode/velocity/velocity.js +146 -0
  1322. data/public/rearview-src/vendor/codemirror/mode/verilog/index.html +211 -0
  1323. data/public/rearview-src/vendor/codemirror/mode/verilog/verilog.js +194 -0
  1324. data/public/rearview-src/vendor/codemirror/mode/xml/index.html +45 -0
  1325. data/public/rearview-src/vendor/codemirror/mode/xml/xml.js +318 -0
  1326. data/public/rearview-src/vendor/codemirror/mode/xquery/LICENSE +20 -0
  1327. data/public/rearview-src/vendor/codemirror/mode/xquery/index.html +223 -0
  1328. data/public/rearview-src/vendor/codemirror/mode/xquery/test/index.html +27 -0
  1329. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testBase.js +42 -0
  1330. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testEmptySequenceKeyword.js +16 -0
  1331. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testMultiAttr.js +16 -0
  1332. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testNamespaces.js +91 -0
  1333. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testProcessingInstructions.js +16 -0
  1334. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testQuotes.js +19 -0
  1335. data/public/rearview-src/vendor/codemirror/mode/xquery/xquery.js +451 -0
  1336. data/public/rearview-src/vendor/codemirror/mode/yaml/index.html +68 -0
  1337. data/public/rearview-src/vendor/codemirror/mode/yaml/yaml.js +95 -0
  1338. data/public/rearview-src/vendor/codemirror/package.json +21 -0
  1339. data/public/rearview-src/vendor/codemirror/test/driver.js +129 -0
  1340. data/public/rearview-src/vendor/codemirror/test/index.html +168 -0
  1341. data/public/rearview-src/vendor/codemirror/test/lint/lint.js +120 -0
  1342. data/public/rearview-src/vendor/codemirror/test/lint/parse-js.js +1372 -0
  1343. data/public/rearview-src/vendor/codemirror/test/mode_test.css +10 -0
  1344. data/public/rearview-src/vendor/codemirror/test/mode_test.js +203 -0
  1345. data/public/rearview-src/vendor/codemirror/test/phantom_driver.js +30 -0
  1346. data/public/rearview-src/vendor/codemirror/test/run.js +32 -0
  1347. data/public/rearview-src/vendor/codemirror/test/test.js +672 -0
  1348. data/public/rearview-src/vendor/codemirror/theme/ambiance.css +81 -0
  1349. data/public/rearview-src/vendor/codemirror/theme/blackboard.css +25 -0
  1350. data/public/rearview-src/vendor/codemirror/theme/cobalt.css +18 -0
  1351. data/public/rearview-src/vendor/codemirror/theme/eclipse.css +25 -0
  1352. data/public/rearview-src/vendor/codemirror/theme/elegant.css +10 -0
  1353. data/public/rearview-src/vendor/codemirror/theme/erlang-dark.css +21 -0
  1354. data/public/rearview-src/vendor/codemirror/theme/lesser-dark.css +44 -0
  1355. data/public/rearview-src/vendor/codemirror/theme/monokai.css +28 -0
  1356. data/public/rearview-src/vendor/codemirror/theme/neat.css +9 -0
  1357. data/public/rearview-src/vendor/codemirror/theme/night.css +21 -0
  1358. data/public/rearview-src/vendor/codemirror/theme/rubyblue.css +21 -0
  1359. data/public/rearview-src/vendor/codemirror/theme/vibrant-ink.css +27 -0
  1360. data/public/rearview-src/vendor/codemirror/theme/xq-dark.css +46 -0
  1361. data/public/rearview-src/vendor/handlebars/js/handlebars.js +1920 -0
  1362. data/public/rearview-src/vendor/highcharts/examples/area-basic/index.htm +94 -0
  1363. data/public/rearview-src/vendor/highcharts/examples/area-inverted/index.htm +91 -0
  1364. data/public/rearview-src/vendor/highcharts/examples/area-missing/index.htm +85 -0
  1365. data/public/rearview-src/vendor/highcharts/examples/area-negative/index.htm +55 -0
  1366. data/public/rearview-src/vendor/highcharts/examples/area-stacked/index.htm +86 -0
  1367. data/public/rearview-src/vendor/highcharts/examples/area-stacked-percent/index.htm +82 -0
  1368. data/public/rearview-src/vendor/highcharts/examples/arearange/index.htm +62 -0
  1369. data/public/rearview-src/vendor/highcharts/examples/areaspline/index.htm +85 -0
  1370. data/public/rearview-src/vendor/highcharts/examples/bar-basic/index.htm +89 -0
  1371. data/public/rearview-src/vendor/highcharts/examples/bar-negative-stack/index.htm +87 -0
  1372. data/public/rearview-src/vendor/highcharts/examples/bar-stacked/index.htm +67 -0
  1373. data/public/rearview-src/vendor/highcharts/examples/column-basic/index.htm +97 -0
  1374. data/public/rearview-src/vendor/highcharts/examples/column-drilldown/index.htm +155 -0
  1375. data/public/rearview-src/vendor/highcharts/examples/column-negative/index.htm +55 -0
  1376. data/public/rearview-src/vendor/highcharts/examples/column-parsed/index.htm +120 -0
  1377. data/public/rearview-src/vendor/highcharts/examples/column-rotated-labels/index.htm +100 -0
  1378. data/public/rearview-src/vendor/highcharts/examples/column-stacked/index.htm +86 -0
  1379. data/public/rearview-src/vendor/highcharts/examples/column-stacked-and-grouped/index.htm +79 -0
  1380. data/public/rearview-src/vendor/highcharts/examples/column-stacked-percent/index.htm +63 -0
  1381. data/public/rearview-src/vendor/highcharts/examples/columnrange/index.htm +87 -0
  1382. data/public/rearview-src/vendor/highcharts/examples/combo/index.htm +102 -0
  1383. data/public/rearview-src/vendor/highcharts/examples/combo-dual-axes/index.htm +101 -0
  1384. data/public/rearview-src/vendor/highcharts/examples/combo-multi-axes/index.htm +137 -0
  1385. data/public/rearview-src/vendor/highcharts/examples/combo-regression/index.htm +60 -0
  1386. data/public/rearview-src/vendor/highcharts/examples/dynamic-click-to-add/index.htm +88 -0
  1387. data/public/rearview-src/vendor/highcharts/examples/dynamic-master-detail/index.htm +371 -0
  1388. data/public/rearview-src/vendor/highcharts/examples/dynamic-update/index.htm +96 -0
  1389. data/public/rearview-src/vendor/highcharts/examples/gauge-clock/index.htm +174 -0
  1390. data/public/rearview-src/vendor/highcharts/examples/gauge-dual/index.htm +122 -0
  1391. data/public/rearview-src/vendor/highcharts/examples/gauge-speedometer/index.htm +133 -0
  1392. data/public/rearview-src/vendor/highcharts/examples/gauge-vu-meter/index.htm +148 -0
  1393. data/public/rearview-src/vendor/highcharts/examples/line-ajax/analytics.tsv +87 -0
  1394. data/public/rearview-src/vendor/highcharts/examples/line-ajax/index.htm +188 -0
  1395. data/public/rearview-src/vendor/highcharts/examples/line-basic/index.htm +81 -0
  1396. data/public/rearview-src/vendor/highcharts/examples/line-labels/index.htm +66 -0
  1397. data/public/rearview-src/vendor/highcharts/examples/line-log-axis/index.htm +53 -0
  1398. data/public/rearview-src/vendor/highcharts/examples/line-time-series/index.htm +206 -0
  1399. data/public/rearview-src/vendor/highcharts/examples/pie-basic/index.htm +70 -0
  1400. data/public/rearview-src/vendor/highcharts/examples/pie-donut/index.htm +146 -0
  1401. data/public/rearview-src/vendor/highcharts/examples/pie-gradient/index.htm +83 -0
  1402. data/public/rearview-src/vendor/highcharts/examples/pie-legend/index.htm +69 -0
  1403. data/public/rearview-src/vendor/highcharts/examples/polar/index.htm +79 -0
  1404. data/public/rearview-src/vendor/highcharts/examples/polar-spider/index.htm +75 -0
  1405. data/public/rearview-src/vendor/highcharts/examples/polar-wind-rose/index.htm +307 -0
  1406. data/public/rearview-src/vendor/highcharts/examples/scatter/index.htm +197 -0
  1407. data/public/rearview-src/vendor/highcharts/examples/spline-inverted/index.htm +87 -0
  1408. data/public/rearview-src/vendor/highcharts/examples/spline-irregular-time/index.htm +133 -0
  1409. data/public/rearview-src/vendor/highcharts/examples/spline-plot-bands/index.htm +169 -0
  1410. data/public/rearview-src/vendor/highcharts/examples/spline-symbols/index.htm +87 -0
  1411. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/pom.xml +106 -0
  1412. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/controller/ExportController.java +229 -0
  1413. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/filters/DefaultEncodingFilter.java +79 -0
  1414. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/MimeType.java +34 -0
  1415. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/SVGRasterizer.java +77 -0
  1416. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/SVGRasterizerException.java +22 -0
  1417. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/resources/log4j.properties +17 -0
  1418. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/webapp/WEB-INF/web.xml +22 -0
  1419. data/public/rearview-src/vendor/highcharts/exporting-server/java/install.txt +10 -0
  1420. data/public/rearview-src/vendor/highcharts/exporting-server/php/index-with-imagick.php +112 -0
  1421. data/public/rearview-src/vendor/highcharts/exporting-server/php/index.php +112 -0
  1422. data/public/rearview-src/vendor/highcharts/gfx/vml-radial-gradient.png +0 -0
  1423. data/public/rearview-src/vendor/highcharts/graphics/skies.jpg +0 -0
  1424. data/public/rearview-src/vendor/highcharts/graphics/snow.png +0 -0
  1425. data/public/rearview-src/vendor/highcharts/graphics/sun.png +0 -0
  1426. data/public/rearview-src/vendor/highcharts/index.htm +79 -0
  1427. data/public/rearview-src/vendor/highcharts/js/adapters/mootools-adapter.js +13 -0
  1428. data/public/rearview-src/vendor/highcharts/js/adapters/mootools-adapter.src.js +327 -0
  1429. data/public/rearview-src/vendor/highcharts/js/adapters/prototype-adapter.js +16 -0
  1430. data/public/rearview-src/vendor/highcharts/js/adapters/prototype-adapter.src.js +385 -0
  1431. data/public/rearview-src/vendor/highcharts/js/highcharts-more.js +35 -0
  1432. data/public/rearview-src/vendor/highcharts/js/highcharts.js +249 -0
  1433. data/public/rearview-src/vendor/highcharts/js/highcharts.src.js +15111 -0
  1434. data/public/rearview-src/vendor/highcharts/js/modules/canvas-tools.js +133 -0
  1435. data/public/rearview-src/vendor/highcharts/js/modules/canvas-tools.src.js +3113 -0
  1436. data/public/rearview-src/vendor/highcharts/js/modules/data.js +11 -0
  1437. data/public/rearview-src/vendor/highcharts/js/modules/data.src.js +277 -0
  1438. data/public/rearview-src/vendor/highcharts/js/modules/exporting.js +23 -0
  1439. data/public/rearview-src/vendor/highcharts/js/modules/exporting.src.js +736 -0
  1440. data/public/rearview-src/vendor/highcharts/js/themes/dark-blue.js +263 -0
  1441. data/public/rearview-src/vendor/highcharts/js/themes/dark-green.js +263 -0
  1442. data/public/rearview-src/vendor/highcharts/js/themes/gray.js +262 -0
  1443. data/public/rearview-src/vendor/highcharts/js/themes/grid.js +95 -0
  1444. data/public/rearview-src/vendor/highcharts/js/themes/skies.js +89 -0
  1445. data/public/rearview-src/vendor/jasmine/SpecRunner.html +53 -0
  1446. data/public/rearview-src/vendor/jasmine/lib/jasmine-1.3.1/MIT.LICENSE +20 -0
  1447. data/public/rearview-src/vendor/jasmine/lib/jasmine-1.3.1/jasmine-html.js +680 -0
  1448. data/public/rearview-src/vendor/jasmine/lib/jasmine-1.3.1/jasmine.css +82 -0
  1449. data/public/rearview-src/vendor/jasmine/lib/jasmine-1.3.1/jasmine.js +2600 -0
  1450. data/public/rearview-src/vendor/jasmine/spec/PlayerSpec.js +58 -0
  1451. data/public/rearview-src/vendor/jasmine/spec/SpecHelper.js +9 -0
  1452. data/public/rearview-src/vendor/jasmine/src/Player.js +22 -0
  1453. data/public/rearview-src/vendor/jasmine/src/Song.js +7 -0
  1454. data/public/rearview-src/vendor/jquery/js/jquery.js +9440 -0
  1455. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/animated-overlay.gif +0 -0
  1456. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1457. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1458. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1459. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  1460. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  1461. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  1462. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  1463. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1464. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  1465. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  1466. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  1467. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  1468. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  1469. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  1470. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/jquery-ui-1.10.3.custom.css +785 -0
  1471. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/jquery-ui-1.10.3.custom.min.css +7 -0
  1472. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/AUTHORS.txt +245 -0
  1473. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/Gruntfile.js +378 -0
  1474. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/MIT-LICENSE.txt +26 -0
  1475. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/README.md +99 -0
  1476. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/addClass/default.html +45 -0
  1477. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/addClass/index.html +14 -0
  1478. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/animate/default.html +55 -0
  1479. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/animate/index.html +14 -0
  1480. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/alt-field.html +29 -0
  1481. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/animation.html +51 -0
  1482. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/buttonbar.html +28 -0
  1483. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/date-formats.html +40 -0
  1484. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/date-range.html +44 -0
  1485. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/default.html +26 -0
  1486. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/dropdown-month-year.html +29 -0
  1487. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/icon-trigger.html +30 -0
  1488. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/images/calendar.gif +0 -0
  1489. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/index.html +27 -0
  1490. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/inline.html +26 -0
  1491. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-ar.js +23 -0
  1492. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-fr.js +25 -0
  1493. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-he.js +23 -0
  1494. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-zh-TW.js +23 -0
  1495. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/localization.html +41 -0
  1496. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/min-max.html +26 -0
  1497. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/multiple-calendars.html +29 -0
  1498. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/other-months.html +30 -0
  1499. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/show-week.html +32 -0
  1500. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/demos.css +19 -0
  1501. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/constrain-movement.html +58 -0
  1502. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/cursor-style.html +42 -0
  1503. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/default.html +32 -0
  1504. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/delay-start.html +38 -0
  1505. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/events.html +70 -0
  1506. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/handle.html +41 -0
  1507. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/index.html +24 -0
  1508. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/revert.html +37 -0
  1509. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/scroll.html +44 -0
  1510. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/snap-to.html +61 -0
  1511. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/sortable.html +50 -0
  1512. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/visual-feedback.html +70 -0
  1513. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/accepted-elements.html +53 -0
  1514. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/default.html +46 -0
  1515. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  1516. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  1517. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  1518. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  1519. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  1520. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  1521. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  1522. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  1523. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/index.html +20 -0
  1524. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/photo-manager.html +182 -0
  1525. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/propagation.html +73 -0
  1526. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/revert.html +54 -0
  1527. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/shopping-cart.html +94 -0
  1528. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/visual-feedback.html +72 -0
  1529. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/default.html +102 -0
  1530. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/easing.html +102 -0
  1531. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/index.html +15 -0
  1532. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/hide/default.html +95 -0
  1533. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/hide/index.html +14 -0
  1534. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/calendar.gif +0 -0
  1535. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  1536. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-config-on.gif +0 -0
  1537. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  1538. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  1539. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/icon-docs-info.gif +0 -0
  1540. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/pbar-ani.gif +0 -0
  1541. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/index.html +26 -0
  1542. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/removeClass/default.html +45 -0
  1543. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/removeClass/index.html +14 -0
  1544. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/show/default.html +97 -0
  1545. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/show/index.html +14 -0
  1546. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/switchClass/default.html +40 -0
  1547. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/switchClass/index.html +14 -0
  1548. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggle/default.html +103 -0
  1549. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggle/index.html +14 -0
  1550. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggleClass/default.html +39 -0
  1551. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggleClass/index.html +14 -0
  1552. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/widget/default.html +178 -0
  1553. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/widget/index.html +14 -0
  1554. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/blind-effect.html +58 -0
  1555. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/bounce-effect.html +61 -0
  1556. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/clip-effect.html +55 -0
  1557. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/datepicker.html +946 -0
  1558. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/draggable.html +741 -0
  1559. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/drop-effect.html +55 -0
  1560. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/droppable.html +548 -0
  1561. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/explode-effect.html +52 -0
  1562. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/fade-effect.html +43 -0
  1563. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/fold-effect.html +61 -0
  1564. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/highlight-effect.html +52 -0
  1565. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/jQuery.widget.html +611 -0
  1566. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/mouse.html +216 -0
  1567. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/puff-effect.html +52 -0
  1568. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/pulsate-effect.html +52 -0
  1569. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/scale-effect.html +82 -0
  1570. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/shake-effect.html +66 -0
  1571. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/size-effect.html +65 -0
  1572. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/slide-effect.html +59 -0
  1573. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/transfer-effect.html +61 -0
  1574. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.culture.de-DE.js +81 -0
  1575. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.culture.ja-JP.js +100 -0
  1576. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.js +1573 -0
  1577. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/jquery.mousewheel.js +101 -0
  1578. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/jshint.js +4835 -0
  1579. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/qunit.css +244 -0
  1580. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/qunit.js +2152 -0
  1581. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/jquery-1.9.1.js +9597 -0
  1582. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/package.json +70 -0
  1583. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/animated-overlay.gif +0 -0
  1584. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1585. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1586. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1587. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1588. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1589. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1590. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1591. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1592. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  1593. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  1594. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  1595. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  1596. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  1597. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery-ui.css +648 -0
  1598. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.all.css +12 -0
  1599. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.base.css +25 -0
  1600. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.core.css +93 -0
  1601. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.datepicker.css +178 -0
  1602. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.theme.css +406 -0
  1603. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/animated-overlay.gif +0 -0
  1604. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1605. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1606. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1607. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1608. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1609. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1610. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1611. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1612. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png +0 -0
  1613. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png +0 -0
  1614. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png +0 -0
  1615. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png +0 -0
  1616. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
  1617. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery-ui.min.css +7 -0
  1618. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.core.min.css +5 -0
  1619. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.datepicker.min.css +5 -0
  1620. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.theme.min.css +5 -0
  1621. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/animated-overlay.gif +0 -0
  1622. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1623. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1624. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1625. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  1626. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  1627. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  1628. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  1629. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1630. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  1631. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  1632. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  1633. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  1634. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  1635. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  1636. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery-ui.css +649 -0
  1637. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.all.css +12 -0
  1638. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.base.css +25 -0
  1639. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.core.css +93 -0
  1640. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.datepicker.css +178 -0
  1641. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.theme.css +406 -0
  1642. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/animated-overlay.gif +0 -0
  1643. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1644. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1645. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1646. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  1647. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  1648. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  1649. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  1650. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1651. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_loop_25_000000_21x21.png +0 -0
  1652. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_222222_256x240.png +0 -0
  1653. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_4b8e0b_256x240.png +0 -0
  1654. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_a83300_256x240.png +0 -0
  1655. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_cccccc_256x240.png +0 -0
  1656. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_ffffff_256x240.png +0 -0
  1657. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery-ui.min.css +7 -0
  1658. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.core.min.css +5 -0
  1659. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.datepicker.min.css +5 -0
  1660. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.theme.min.css +5 -0
  1661. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery-ui-i18n.js +1645 -0
  1662. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  1663. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
  1664. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
  1665. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  1666. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-be.js +23 -0
  1667. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  1668. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  1669. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  1670. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  1671. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js +23 -0
  1672. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  1673. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  1674. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  1675. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
  1676. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  1677. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
  1678. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  1679. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  1680. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  1681. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  1682. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +59 -0
  1683. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  1684. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  1685. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CA.js +23 -0
  1686. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  1687. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
  1688. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
  1689. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  1690. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js +23 -0
  1691. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  1692. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  1693. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  1694. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  1695. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  1696. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  1697. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  1698. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ka.js +21 -0
  1699. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js +23 -0
  1700. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-km.js +23 -0
  1701. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  1702. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ky.js +24 -0
  1703. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js +23 -0
  1704. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  1705. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  1706. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js +23 -0
  1707. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
  1708. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  1709. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nb.js +22 -0
  1710. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js +23 -0
  1711. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  1712. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nn.js +22 -0
  1713. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  1714. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  1715. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  1716. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
  1717. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
  1718. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  1719. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  1720. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  1721. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  1722. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  1723. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  1724. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  1725. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  1726. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  1727. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  1728. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
  1729. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  1730. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +24 -0
  1731. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  1732. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  1733. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  1734. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  1735. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery-ui.custom.js +6562 -0
  1736. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.core.js +320 -0
  1737. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.datepicker.js +2038 -0
  1738. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.draggable.js +958 -0
  1739. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.droppable.js +372 -0
  1740. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-blind.js +82 -0
  1741. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-bounce.js +113 -0
  1742. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-clip.js +67 -0
  1743. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-drop.js +65 -0
  1744. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-explode.js +97 -0
  1745. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-fade.js +30 -0
  1746. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-fold.js +76 -0
  1747. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-highlight.js +50 -0
  1748. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-pulsate.js +63 -0
  1749. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-scale.js +318 -0
  1750. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-shake.js +74 -0
  1751. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-slide.js +64 -0
  1752. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-transfer.js +47 -0
  1753. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect.js +1289 -0
  1754. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.mouse.js +169 -0
  1755. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.widget.js +521 -0
  1756. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery-ui-i18n.min.js +7 -0
  1757. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-af.min.js +5 -0
  1758. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js +5 -0
  1759. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar.min.js +5 -0
  1760. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-az.min.js +5 -0
  1761. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-be.min.js +5 -0
  1762. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bg.min.js +5 -0
  1763. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bs.min.js +5 -0
  1764. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ca.min.js +5 -0
  1765. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cs.min.js +5 -0
  1766. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js +5 -0
  1767. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-da.min.js +5 -0
  1768. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-de.min.js +5 -0
  1769. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-el.min.js +5 -0
  1770. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js +5 -0
  1771. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js +5 -0
  1772. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js +5 -0
  1773. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eo.min.js +5 -0
  1774. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-es.min.js +5 -0
  1775. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-et.min.js +5 -0
  1776. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eu.min.js +5 -0
  1777. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fa.min.js +5 -0
  1778. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fi.min.js +5 -0
  1779. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fo.min.js +5 -0
  1780. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js +5 -0
  1781. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js +5 -0
  1782. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr.min.js +5 -0
  1783. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-gl.min.js +5 -0
  1784. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-he.min.js +5 -0
  1785. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hi.min.js +5 -0
  1786. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hr.min.js +5 -0
  1787. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hu.min.js +5 -0
  1788. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hy.min.js +5 -0
  1789. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-id.min.js +5 -0
  1790. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-is.min.js +5 -0
  1791. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-it.min.js +5 -0
  1792. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ja.min.js +5 -0
  1793. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ka.min.js +5 -0
  1794. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-kk.min.js +5 -0
  1795. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-km.min.js +5 -0
  1796. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ko.min.js +5 -0
  1797. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ky.min.js +5 -0
  1798. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lb.min.js +5 -0
  1799. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lt.min.js +5 -0
  1800. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lv.min.js +5 -0
  1801. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-mk.min.js +5 -0
  1802. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ml.min.js +5 -0
  1803. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ms.min.js +5 -0
  1804. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nb.min.js +5 -0
  1805. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js +5 -0
  1806. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl.min.js +5 -0
  1807. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nn.min.js +5 -0
  1808. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-no.min.js +5 -0
  1809. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pl.min.js +5 -0
  1810. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js +5 -0
  1811. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt.min.js +5 -0
  1812. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-rm.min.js +5 -0
  1813. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ro.min.js +5 -0
  1814. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ru.min.js +5 -0
  1815. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sk.min.js +5 -0
  1816. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sl.min.js +5 -0
  1817. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sq.min.js +5 -0
  1818. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js +5 -0
  1819. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr.min.js +5 -0
  1820. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sv.min.js +5 -0
  1821. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ta.min.js +5 -0
  1822. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-th.min.js +5 -0
  1823. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tj.min.js +5 -0
  1824. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tr.min.js +5 -0
  1825. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-uk.min.js +5 -0
  1826. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-vi.min.js +5 -0
  1827. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js +5 -0
  1828. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js +5 -0
  1829. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js +5 -0
  1830. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery-ui.custom.min.js +7 -0
  1831. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.core.min.js +5 -0
  1832. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.datepicker.min.js +6 -0
  1833. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.draggable.min.js +5 -0
  1834. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.droppable.min.js +5 -0
  1835. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-blind.min.js +5 -0
  1836. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js +5 -0
  1837. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-clip.min.js +5 -0
  1838. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-drop.min.js +5 -0
  1839. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-explode.min.js +5 -0
  1840. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-fade.min.js +5 -0
  1841. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-fold.min.js +5 -0
  1842. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js +5 -0
  1843. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js +5 -0
  1844. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-scale.min.js +5 -0
  1845. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-shake.min.js +5 -0
  1846. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-slide.min.js +5 -0
  1847. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js +5 -0
  1848. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect.min.js +5 -0
  1849. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.mouse.min.js +5 -0
  1850. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.widget.min.js +5 -0
  1851. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.core.jquery.json +61 -0
  1852. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.datepicker.jquery.json +66 -0
  1853. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.draggable.jquery.json +66 -0
  1854. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.droppable.jquery.json +67 -0
  1855. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-blind.jquery.json +65 -0
  1856. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-bounce.jquery.json +65 -0
  1857. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-clip.jquery.json +65 -0
  1858. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-drop.jquery.json +65 -0
  1859. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-explode.jquery.json +65 -0
  1860. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-fade.jquery.json +65 -0
  1861. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-fold.jquery.json +65 -0
  1862. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-highlight.jquery.json +65 -0
  1863. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-pulsate.jquery.json +65 -0
  1864. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-scale.jquery.json +65 -0
  1865. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-shake.jquery.json +65 -0
  1866. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-slide.jquery.json +65 -0
  1867. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-transfer.jquery.json +63 -0
  1868. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect.jquery.json +68 -0
  1869. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.mouse.jquery.json +64 -0
  1870. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.widget.jquery.json +64 -0
  1871. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/js/jquery-ui-1.10.3.custom.js +7935 -0
  1872. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/js/jquery-ui-1.10.3.custom.min.js +7 -0
  1873. data/public/rearview-src/vendor/jquery/plugins/jquery.validate.js +51 -0
  1874. data/public/rearview-src/vendor/jquery/plugins/timepicker-ui/css/jquery.timepicker.css +31 -0
  1875. data/public/rearview-src/vendor/jquery/plugins/timepicker-ui/js/jquery.timepicker.js +2162 -0
  1876. data/public/rearview-src/vendor/less/js/less.js +11 -0
  1877. data/public/rearview-src/vendor/parsley/js/parsley.js +421 -0
  1878. data/public/rearview-src/vendor/parsley/js/parsley.min.js +27 -0
  1879. data/public/rearview-src/vendor/require/js/require.js +11408 -0
  1880. data/public/rearview-src/vendor/require/plugins/domready/domready.js +129 -0
  1881. data/public/rearview-src/vendor/timeline/examples/example.json +38 -0
  1882. data/public/rearview-src/vendor/timeline/examples/timeline_json.html +143 -0
  1883. data/public/rearview-src/vendor/timeline/timeline.css +130 -0
  1884. data/public/rearview-src/vendor/timeline/timeline.js +5055 -0
  1885. data/public/rearview-src/vendor/underscore/js/underscore.js +1227 -0
  1886. data/public/rearview-src/vendor/underscore/plugins/underscore-string/js/underscore.string.js +644 -0
  1887. data/public/rearview-src/vendor/xdate/js/xdate.js +802 -0
  1888. data/script/rails +8 -0
  1889. data/spec/controllers/dashboard_children_controller_spec.rb +35 -0
  1890. data/spec/controllers/dashboards_controller_spec.rb +62 -0
  1891. data/spec/controllers/jobs_controller_spec.rb +94 -0
  1892. data/spec/controllers/monitor_controller_spec.rb +19 -0
  1893. data/spec/controllers/user_controller_spec.rb +24 -0
  1894. data/spec/data/create_application.json +3 -0
  1895. data/spec/data/create_job.json +17 -0
  1896. data/spec/data/create_monitor.json +17 -0
  1897. data/spec/data/large_set.dat +1 -0
  1898. data/spec/data/metric_a.dat +60 -0
  1899. data/spec/data/metric_b.dat +59 -0
  1900. data/spec/data/monitor.dat +1 -0
  1901. data/spec/data/nan.dat +3 -0
  1902. data/spec/data/test.dat +3 -0
  1903. data/spec/dummy/README.rdoc +28 -0
  1904. data/spec/dummy/Rakefile +6 -0
  1905. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  1906. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  1907. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  1908. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  1909. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  1910. data/spec/dummy/bin/bundle +3 -0
  1911. data/spec/dummy/bin/rails +4 -0
  1912. data/spec/dummy/bin/rake +4 -0
  1913. data/spec/dummy/config/application.rb +23 -0
  1914. data/spec/dummy/config/boot.rb +5 -0
  1915. data/spec/dummy/config/database.yml +20 -0
  1916. data/spec/dummy/config/environment.rb +5 -0
  1917. data/spec/dummy/config/environments/development.rb +29 -0
  1918. data/spec/dummy/config/environments/production.rb +80 -0
  1919. data/spec/dummy/config/environments/test.rb +36 -0
  1920. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  1921. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  1922. data/spec/dummy/config/initializers/inflections.rb +16 -0
  1923. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  1924. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  1925. data/spec/dummy/config/initializers/session_store.rb +3 -0
  1926. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  1927. data/spec/dummy/config/locales/en.yml +23 -0
  1928. data/spec/dummy/config/routes.rb +4 -0
  1929. data/spec/dummy/config.ru +4 -0
  1930. data/spec/dummy/db/development.sqlite3 +0 -0
  1931. data/spec/dummy/db/schema.rb +85 -0
  1932. data/spec/dummy/db/test.sqlite3 +0 -0
  1933. data/spec/dummy/log/development.log +38 -0
  1934. data/spec/dummy/log/test.log +4886 -0
  1935. data/spec/dummy/public/404.html +58 -0
  1936. data/spec/dummy/public/422.html +58 -0
  1937. data/spec/dummy/public/500.html +57 -0
  1938. data/spec/dummy/public/favicon.ico +0 -0
  1939. data/spec/dummy/sandbox/Gemfile +7 -0
  1940. data/spec/dummy/sandbox/Gemfile.lock +18 -0
  1941. data/spec/dummy/sandbox/verify_sandbox.rb +23 -0
  1942. data/spec/dummy/script/rails +6 -0
  1943. data/spec/factories/dashboards.rb +11 -0
  1944. data/spec/factories/job_datas.rb +12 -0
  1945. data/spec/factories/job_errors.rb +11 -0
  1946. data/spec/factories/jobs.rb +20 -0
  1947. data/spec/factories/users.rb +12 -0
  1948. data/spec/lib/rearview/alerts/campfire_alert_spec.rb +103 -0
  1949. data/spec/lib/rearview/alerts/email_alert_spec.rb +89 -0
  1950. data/spec/lib/rearview/alerts/pagerduty_alert_spec.rb +75 -0
  1951. data/spec/lib/rearview/alerts_handler_spec.rb +43 -0
  1952. data/spec/lib/rearview/configuration_spec.rb +29 -0
  1953. data/spec/lib/rearview/cron_helper_spec.rb +42 -0
  1954. data/spec/lib/rearview/graphite_parser_spec.rb +24 -0
  1955. data/spec/lib/rearview/monitor_runner_spec.rb +182 -0
  1956. data/spec/lib/rearview/monitor_service_spec.rb +114 -0
  1957. data/spec/lib/rearview/monitor_supervisor_spec.rb +53 -0
  1958. data/spec/lib/rearview/monitor_task_spec.rb +29 -0
  1959. data/spec/lib/rearview/rearview_spec.rb +6 -0
  1960. data/spec/lib/rearview/results_handler_spec.rb +19 -0
  1961. data/spec/lib/rearview/templates/utilities_spec.rb +79 -0
  1962. data/spec/lib/rearview/uri_helper_spec.rb +12 -0
  1963. data/spec/mailers/alert_mailer_spec.rb +37 -0
  1964. data/spec/models/dashboard_spec.rb +14 -0
  1965. data/spec/models/job_data_spec.rb +14 -0
  1966. data/spec/models/job_error_spec.rb +214 -0
  1967. data/spec/models/job_spec.rb +188 -0
  1968. data/spec/models/user_spec.rb +18 -0
  1969. data/spec/spec_helper.rb +32 -0
  1970. data/spec/support/authentication_helper.rb +14 -0
  1971. data/spec/support/json_factory.rb +73 -0
  1972. data/spec/views/dashboards/index.json.jbuilder_spec.rb +31 -0
  1973. data/spec/views/dashboards/show.json.jbuilder_spec.rb +25 -0
  1974. data/spec/views/jobs/data.json.jbuilder_spec.rb +27 -0
  1975. data/spec/views/jobs/errors.json.jbuilder_spec.rb +41 -0
  1976. data/spec/views/jobs/index.json.jbuilder_spec.rb +31 -0
  1977. data/spec/views/jobs/show.json.jbuilder_spec.rb +34 -0
  1978. data/spec/views/user/show.json.jbuilder_spec.rb +26 -0
  1979. data/tasks/rearview.rake +9 -0
  1980. metadata +2350 -0
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license Highcharts JS v2.3.3 (2012-10-04)
3
+ *
4
+ * (c) 2009-2011 Torstein Hønsi
5
+ *
6
+ * License: www.highcharts.com/license
7
+ */
8
+
9
+ !function(){function t(t,e){var i;t||(t={});for(i in e)t[i]=e[i];return t}function e(){for(var t=0,e=arguments,i=e.length,n={};i>t;t++)n[e[t++]]=e[t];return n}function i(t,e){return parseInt(t,e||10)}function n(t){return"string"==typeof t}function r(t){return"object"==typeof t}function o(t){return"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"number"==typeof t}function s(t){return ue.log(t)/ue.LN10}function l(t){return ue.pow(10,t)}function h(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}}function c(t){return t!==V&&null!==t}function d(t,e,i){var o,a,s="setAttribute";if(n(e))c(i)?t[s](e,i):t&&t.getAttribute&&(a=t.getAttribute(e));else if(c(e)&&r(e))for(o in e)t[s](o,e[o]);return a}function p(t){return o(t)?t:[t]}function u(){var t,e,i=arguments,n=i.length;for(t=0;n>t;t++)if(e=i[t],"undefined"!=typeof e&&null!==e)return e}function g(e,i){Se&&i&&i.opacity!==V&&(i.filter="alpha(opacity="+100*i.opacity+")"),t(e.style,i)}function f(e,i,n,r,o){var a=de.createElement(e);return i&&t(a,i),o&&g(a,{padding:0,border:Ve,margin:0}),n&&g(a,n),r&&r.appendChild(a),a}function m(e,i){var n=function(){};return n.prototype=new e,t(n.prototype,i),n}function v(t){return t=(t||0).toString(),t.indexOf(".")>-1?t.split(".")[1].length:0}function y(t,e,n,r){var o=_.lang,a=t,s=-1===e?v(t):isNaN(e=xe(e))?2:e,l=void 0===n?o.decimalPoint:n,h=void 0===r?o.thousandsSep:r,c=0>a?"-":"",d=String(i(a=xe(+a||0).toFixed(s))),p=d.length>3?d.length%3:0;return c+(p?d.substr(0,p)+h:"")+d.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+h)+(s?l+xe(a-d).toFixed(s).slice(2):"")}function x(t,e){return new Array((e||2)+1-String(t).length).join(0)+t}function b(t,e,i){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(n),i.apply(this,t)}}function k(t,e,i,n){var r,o;for(i=u(i,1),r=t/i,e||(e=[1,2,2.5,5,10],n&&n.allowDecimals===!1&&(1===i?e=[1,2,5,10]:.1>=i&&(e=[1/i]))),o=0;o<e.length&&(t=e[o],!(r<=(e[o]+(e[o+1]||e[o]))/2));o++);return t*=i}function w(t,e){var i,n,r=e||[[qe,[1,2,5,10,20,25,50,100,200,500]],[Qe,[1,2,5,10,15,30]],[ti,[1,2,5,10,15,30]],[ei,[1,2,3,4,6,8,12]],[ii,[1,2]],[ni,[1,2]],[ri,[1,2,3,4,6]],[oi,null]],o=r[r.length-1],a=q[o[0]],s=o[1];for(n=0;n<r.length;n++)if(o=r[n],a=q[o[0]],s=o[1],r[n+1]){var l=(a*s[s.length-1]+q[r[n+1][0]])/2;if(l>=t)break}return a===q[oi]&&5*a>t&&(s=[1,2,5]),a===q[oi]&&5*a>t&&(s=[1,2,5]),i=k(t/a,s),{unitRange:a,count:i,unitName:o[0]}}function T(e,i,n,r){var o,a,s=[],l={},h=_.global.useUTC,c=new Date(i),d=e.unitRange,p=e.count;d>=q[Qe]&&(c.setMilliseconds(0),c.setSeconds(d>=q[ti]?0:p*fe(c.getSeconds()/p))),d>=q[ti]&&c[ae](d>=q[ei]?0:p*fe(c[te]()/p)),d>=q[ei]&&c[se](d>=q[ii]?0:p*fe(c[ee]()/p)),d>=q[ii]&&c[le](d>=q[ri]?1:p*fe(c[ne]()/p)),d>=q[ri]&&(c[he](d>=q[oi]?0:p*fe(c[re]()/p)),a=c[oe]()),d>=q[oi]&&(a-=a%p,c[ce](a)),d===q[ni]&&c[le](c[ne]()-c[ie]()+u(r,1)),o=1,a=c[oe]();for(var g=c.getTime(),f=c[re](),m=c[ne](),v=h?0:(864e5+1e3*60*c.getTimezoneOffset())%864e5;n>g;)s.push(g),d===q[oi]?g=Q(a+o*p,0):d===q[ri]?g=Q(a,f+o*p):h||d!==q[ii]&&d!==q[ni]?(g+=d*p,d<=q[ei]&&g%q[ii]===v&&(l[g]=ii)):g=Q(a,f,m+o*p*(d===q[ii]?1:7)),o++;return s.push(g),s.info=t(e,{higherRanks:l,totalRange:d*p}),s}function L(){this.color=0,this.symbol=0}function P(t,e){var i,n,r=t.length;for(n=0;r>n;n++)t[n].ss_i=n;for(t.sort(function(t,n){return i=e(t,n),0===i?t.ss_i-n.ss_i:i}),n=0;r>n;n++)delete t[n].ss_i}function S(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}function A(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i}function C(t,e){var i;for(i in t)t[i]&&t[i]!==e&&t[i].destroy&&t[i].destroy(),delete t[i]}function M(t){U||(U=f(Ee)),t&&U.appendChild(t),U.innerHTML=""}function I(t,e){var i="Highcharts error #"+t+": www.highcharts.com/errors/"+t;if(e)throw i;pe.console&&console.log(i)}function B(t){return parseFloat(t.toPrecision(14))}function D(t,e){$=u(t,e.animation)}function z(){var t=_.global.useUTC,e=t?"getUTC":"get",i=t?"setUTC":"set";Q=t?Date.UTC:function(t,e,i,n,r,o){return new Date(t,e,u(i,1),u(n,0),u(r,0),u(o,0)).getTime()},te=e+"Minutes",ee=e+"Hours",ie=e+"Day",ne=e+"Date",re=e+"Month",oe=e+"FullYear",ae=i+"Minutes",se=i+"Hours",le=i+"Date",he=i+"Month",ce=i+"FullYear"}function O(t){return _=ki(_,t),z(),_}function R(){return _}function H(){}function W(t,e,i){this.axis=t,this.pos=e,this.type=i||"",this.isNew=!0,i||this.addLabel()}function E(t,e){return this.axis=t,e&&(this.options=e,this.id=e.id),this}function G(t,e,i,n,r,o){var a=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e,this.x=n,this.stack=r,this.percent="percent"===o,this.alignOptions={align:e.align||(a?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(a?"middle":i?"bottom":"top"),y:u(e.y,a?4:i?14:-6),x:u(e.x,a?i?-6:6:0)},this.textAlign=e.textAlign||(a?i?"right":"left":"center")}function X(){this.init.apply(this,arguments)}function N(t,e){var n=e.borderWidth,r=e.style,o=i(r.padding);this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.label=t.renderer.label("",0,0,e.shape,null,null,e.useHTML,null,"tooltip").attr({padding:o,fill:e.backgroundColor,"stroke-width":n,r:e.borderRadius,zIndex:8}).css(r).css({padding:0}).hide().add(),ze||this.label.shadow(e.shadow),this.shared=e.shared}function F(t,e){var i=ze?"":e.chart.zoomType;this.zoomX=/x/.test(i),this.zoomY=/y/.test(i),this.options=e,this.chart=t,this.init(t,e.tooltip)}function Y(t){this.init(t)}function j(t,e){var i,n=t.series;t.series=null,i=ki(_,t),i.series=t.series=n;var o=i.chart,a=o.margin,s=r(a)?a:[a,a,a,a];this.optionsMarginTop=u(o.marginTop,s[0]),this.optionsMarginRight=u(o.marginRight,s[1]),this.optionsMarginBottom=u(o.marginBottom,s[2]),this.optionsMarginLeft=u(o.marginLeft,s[3]);var l=o.events;this.runChartClick=l&&!!l.click,this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.hasCartesianSeries=o.showAxes,this.init(l)}var V,Z,U,_,K,$,J,q,Q,te,ee,ie,ne,re,oe,ae,se,le,he,ce,de=document,pe=window,ue=Math,ge=ue.round,fe=ue.floor,me=ue.ceil,ve=ue.max,ye=ue.min,xe=ue.abs,be=ue.cos,ke=ue.sin,we=ue.PI,Te=2*we/360,Le=navigator.userAgent,Pe=pe.opera,Se=/msie/i.test(Le)&&!Pe,Ae=8===de.documentMode,Ce=/AppleWebKit/.test(Le),Me=/Firefox/.test(Le),Ie="http://www.w3.org/2000/svg",Be=!!de.createElementNS&&!!de.createElementNS(Ie,"svg").createSVGRect,De=Me&&parseInt(Le.split("Firefox/")[1],10)<4,ze=!Be&&!Se&&!!de.createElement("canvas").getContext,Oe=de.documentElement.ontouchstart!==V,Re={},He=0,We=function(){},Ee="div",Ge="absolute",Xe="relative",Ne="hidden",Fe="highcharts-",Ye="visible",je="px",Ve="none",Ze="M",Ue="L",_e="rgba(192,192,192,"+(Be?1e-6:.002)+")",Ke="",$e="hover",Je="select",qe="millisecond",Qe="second",ti="minute",ei="hour",ii="day",ni="week",ri="month",oi="year",ai="fill",si="linearGradient",li="stops",hi="stroke",ci="stroke-width",di={};pe.Highcharts={},K=function(t,e,i){if(!c(e)||isNaN(e))return"Invalid date";t=u(t,"%Y-%m-%d %H:%M:%S");var n,r=new Date(e),o=r[ee](),a=r[ie](),s=r[ne](),l=r[re](),h=r[oe](),d=_.lang,p=d.weekdays,g={a:p[a].substr(0,3),A:p[a],d:x(s),e:s,b:d.shortMonths[l],B:d.months[l],m:x(l+1),y:h.toString().substr(2,2),Y:h,H:x(o),I:x(o%12||12),l:o%12||12,M:x(r[te]()),p:12>o?"AM":"PM",P:12>o?"am":"pm",S:x(r.getSeconds()),L:x(ge(e%1e3),3)};for(n in g)t=t.replace("%"+n,g[n]);return i?t.substr(0,1).toUpperCase()+t.substr(1):t},L.prototype={wrapColor:function(t){this.color>=t&&(this.color=0)},wrapSymbol:function(t){this.symbol>=t&&(this.symbol=0)}},q=e(qe,1,Qe,1e3,ti,6e4,ei,36e5,ii,864e5,ni,6048e5,ri,2592e6,oi,31556952e3),J={init:function(t,e,i){e=e||"";var n,r,o,a,s,l=t.shift,h=e.indexOf("C")>-1,c=h?7:3,d=e.split(" "),p=[].concat(i),u=function(t){for(o=t.length;o--;)t[o]===Ze&&t.splice(o+1,0,t[o+1],t[o+2],t[o+1],t[o+2])};if(h&&(u(d),u(p)),t.isArea&&(a=d.splice(d.length-6,6),s=p.splice(p.length-6,6)),l<=p.length/c)for(;l--;)p=[].concat(p).splice(0,c).concat(p);if(t.shift=0,d.length)for(n=p.length;d.length<n;)r=[].concat(d).splice(d.length-c,c),h&&(r[c-6]=r[c-2],r[c-5]=r[c-1]),d=d.concat(r);return a&&(d=d.concat(a),p=p.concat(s)),[d,p]},step:function(t,e,i,n){var r,o=[],a=t.length;if(1===i)o=n;else if(a===e.length&&1>i)for(;a--;)r=parseFloat(t[a]),o[a]=isNaN(r)?t[a]:i*parseFloat(e[a]-r)+r;else o=e;return o}},function(e){pe.HighchartsAdapter=pe.HighchartsAdapter||e&&{init:function(t){var i,n=e.fx,r=n.step,o=e.Tween,a=o&&o.propHooks;e.extend(e.easing,{easeOutQuad:function(t,e,i,n,r){return-n*(e/=r)*(e-2)+i}}),e.each(["cur","_default","width","height"],function(t,e){var i,s,l=r;"cur"===e?l=n.prototype:"_default"===e&&o&&(l=a[e],e="set"),i=l[e],i&&(l[e]=function(n){return n=t?n:this,s=n.elem,s.attr?s.attr(n.prop,"cur"===e?V:n.now):i.apply(this,arguments)})}),i=function(e){var i,n=e.elem;e.started||(i=t.init(n,n.d,n.toD),e.start=i[0],e.end=i[1],e.started=!0),n.attr("d",t.step(e.start,e.end,e.pos,n.toD))},o?a.d={set:i}:r.d=i,this.each=Array.prototype.forEach?function(t,e){return Array.prototype.forEach.call(t,e)}:function(t,e){for(var i=0,n=t.length;n>i;i++)if(e.call(t[i],t[i],i,t)===!1)return i}},getScript:e.getScript,inArray:e.inArray,adapterRun:function(t,i){return e(t)[i]()},grep:e.grep,map:function(t,e){for(var i=[],n=0,r=t.length;r>n;n++)i[n]=e.call(t[n],t[n],n,t);return i},merge:function(){var t=arguments;return e.extend(!0,null,t[0],t[1],t[2],t[3])},offset:function(t){return e(t).offset()},addEvent:function(t,i,n){e(t).bind(i,n)},removeEvent:function(t,i,n){var r=de.removeEventListener?"removeEventListener":"detachEvent";de[r]&&!t[r]&&(t[r]=function(){}),e(t).unbind(i,n)},fireEvent:function(i,n,r,o){var a,s=e.Event(n),l="detached"+n;!Se&&r&&(delete r.layerX,delete r.layerY),t(s,r),i[n]&&(i[l]=i[n],i[n]=null),e.each(["preventDefault","stopPropagation"],function(t,e){var i=s[e];s[e]=function(){try{i.call(s)}catch(t){"preventDefault"===e&&(a=!0)}}}),e(i).trigger(s),i[l]&&(i[n]=i[l],i[l]=null),!o||s.isDefaultPrevented()||a||o(s)},washMouseEvent:function(t){var e=t.originalEvent||t;return e.pageX===V&&(e.pageX=t.pageX,e.pageY=t.pageY),e},animate:function(t,i,n){var r=e(t);i.d&&(t.toD=i.d,i.d=1),r.stop(),r.animate(i,n)},stop:function(t){e(t).stop()}}}(pe.jQuery);var pi=pe.HighchartsAdapter,ui=pi||{};pi&&pi.init.call(pi,J);var gi=ui.adapterRun,fi=ui.getScript,mi=ui.inArray,vi=ui.each,yi=ui.grep,xi=ui.offset,bi=ui.map,ki=ui.merge,wi=ui.addEvent,Ti=ui.removeEvent,Li=ui.fireEvent,Pi=ui.washMouseEvent,Si=ui.animate,Ai=ui.stop,Ci={enabled:!0,align:"center",x:0,y:15,style:{color:"#666",fontSize:"11px",lineHeight:"14px"}};_={colors:["#4572A7","#AA4643","#89A54E","#80699B","#3D96AE","#DB843D","#92A8CD","#A47D7C","#B5CA92"],symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:","},global:{useUTC:!0,canvasToolsURL:"http://code.highcharts.com/2.3.3/modules/canvas-tools.js",VMLRadialGradientURL:"http://code.highcharts.com/2.3.3/gfx/vml-radial-gradient.png"},chart:{borderColor:"#4572A7",borderRadius:5,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacingTop:10,spacingRight:10,spacingBottom:15,spacingLeft:10,style:{fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',fontSize:"12px"},backgroundColor:"#FFFFFF",plotBorderColor:"#C0C0C0",resetZoomButton:{theme:{zIndex:20},position:{align:"right",x:-10,y:10}}},title:{text:"Chart title",align:"center",y:15,style:{color:"#3E576F",fontSize:"16px"}},subtitle:{text:"",align:"center",y:30,style:{color:"#6D869F"}},plotOptions:{line:{allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},lineWidth:2,shadow:!0,marker:{enabled:!0,lineWidth:0,radius:4,lineColor:"#FFFFFF",states:{hover:{enabled:!0},select:{fillColor:"#FFFFFF",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:ki(Ci,{enabled:!1,formatter:function(){return this.y},verticalAlign:"bottom",y:0}),cropThreshold:300,pointRange:0,showInLegend:!0,states:{hover:{marker:{}},select:{marker:{}}},stickyTracking:!0}},labels:{style:{position:Ge,color:"#3E576F"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderWidth:1,borderColor:"#909090",borderRadius:5,navigation:{activeColor:"#3E576F",inactiveColor:"#CCC"},shadow:!1,itemStyle:{cursor:"pointer",color:"#3E576F",fontSize:"12px"},itemHoverStyle:{color:"#000"},itemHiddenStyle:{color:"#CCC"},itemCheckboxStyle:{position:Ge,width:"13px",height:"13px"},symbolWidth:16,symbolPadding:5,verticalAlign:"bottom",x:0,y:0},loading:{labelStyle:{fontWeight:"bold",position:Xe,top:"1em"},style:{position:Ge,backgroundColor:"white",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,backgroundColor:"rgba(255, 255, 255, .85)",borderWidth:2,borderRadius:5,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{series.color}">{series.name}</span>: <b>{point.y}</b><br/>',shadow:!0,shared:ze,snap:Oe?25:10,style:{color:"#333333",fontSize:"12px",padding:"5px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"10px"}}};var Mi=_.plotOptions,Ii=Mi.line;z();var Bi=function(t){function e(t){s=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/.exec(t),s?l=[i(s[1]),i(s[2]),i(s[3]),parseFloat(s[4],10)]:(s=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(t),s&&(l=[i(s[1],16),i(s[2],16),i(s[3],16),1]))}function n(e){var i;return i=l&&!isNaN(l[0])?"rgb"===e?"rgb("+l[0]+","+l[1]+","+l[2]+")":"a"===e?l[3]:"rgba("+l.join(",")+")":t}function r(t){if(a(t)&&0!==t){var e;for(e=0;3>e;e++)l[e]+=i(255*t),l[e]<0&&(l[e]=0),l[e]>255&&(l[e]=255)}return this}function o(t){return l[3]=t,this}var s,l=[];return e(t),{get:n,brighten:r,setOpacity:o}};H.prototype={init:function(t,e){var i=this;i.element="span"===e?f(e):de.createElementNS(Ie,e),i.renderer=t,i.attrSetters={}},animate:function(t,e,i){var n=u(e,$,!0);Ai(this),n?(n=ki(n),i&&(n.complete=i),Si(this,t,n)):(this.attr(t),i&&i())},attr:function(t,e){var r,o,a,s,l,h,p,u,g,f=this,m=f.element,v=m.nodeName.toLowerCase(),y=f.renderer,x=f.attrSetters,b=f.shadows,k=f;if(n(t)&&c(e)&&(r=t,t={},t[r]=e),n(t))r=t,"circle"===v?r={x:"cx",y:"cy"}[r]||r:"strokeWidth"===r&&(r="stroke-width"),k=d(m,r)||f[r]||0,"d"!==r&&"visibility"!==r&&(k=parseFloat(k));else for(r in t)if(h=!1,o=t[r],a=x[r]&&x[r].call(f,o,r),a!==!1){if(a!==V&&(o=a),"d"===r)o&&o.join&&(o=o.join(" ")),/(NaN| {2}|^$)/.test(o)&&(o="M 0 0");else if("x"===r&&"text"===v){for(s=0;s<m.childNodes.length;s++)l=m.childNodes[s],d(l,"x")===d(m,"x")&&d(l,"x",o);f.rotation&&d(m,"transform","rotate("+f.rotation+" "+o+" "+i(t.y||d(m,"y"))+")")}else if("fill"===r)o=y.color(o,m,r);else if("circle"!==v||"x"!==r&&"y"!==r)if("rect"===v&&"r"===r)d(m,{rx:o,ry:o}),h=!0;else if("translateX"===r||"translateY"===r||"rotation"===r||"verticalAlign"===r)g=!0,h=!0;else if("stroke"===r)o=y.color(o,m,r);else if("dashstyle"===r){if(r="stroke-dasharray",o=o&&o.toLowerCase(),"solid"===o)o=Ve;else if(o){for(o=o.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(","),s=o.length;s--;)o[s]=i(o[s])*t["stroke-width"];o=o.join(",")}}else"isTracker"===r?f[r]=o:"width"===r?o=i(o):"align"===r?(r="text-anchor",o={left:"start",center:"middle",right:"end"}[o]):"title"===r&&(p=m.getElementsByTagName("title")[0],p||(p=de.createElementNS(Ie,"title"),m.appendChild(p)),p.textContent=o);else r={x:"cx",y:"cy"}[r]||r;if("strokeWidth"===r&&(r="stroke-width"),Ce&&"stroke-width"===r&&0===o&&(o=1e-6),f.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)/.test(r)&&(u||(f.symbolAttr(t),u=!0),h=!0),b&&/^(width|height|visibility|x|y|d|transform)$/.test(r))for(s=b.length;s--;)d(b[s],r,"height"===r?ve(o-(b[s].cutHeight||0),0):o);("width"===r||"height"===r)&&"rect"===v&&0>o&&(o=0),f[r]=o,g&&f.updateTransform(),"text"===r?(o!==f.textStr&&delete f.bBox,f.textStr=o,f.added&&y.buildText(f)):h||d(m,r,o)}return k},symbolAttr:function(t){var e=this;vi(["x","y","r","start","end","width","height","innerR","anchorX","anchorY"],function(i){e[i]=u(t[i],e[i])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},clip:function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":Ve)},crisp:function(t,e,i,n,r){var o,a,s=this,l={},h={};t=t||s.strokeWidth||s.attr&&s.attr("stroke-width")||0,a=ge(t)%2/2,h.x=fe(e||s.x||0)+a,h.y=fe(i||s.y||0)+a,h.width=fe((n||s.width||0)-2*a),h.height=fe((r||s.height||0)-2*a),h.strokeWidth=t;for(o in h)s[o]!==h[o]&&(s[o]=l[o]=h[o]);return l},css:function(e){var i,n=this,r=n.element,o=e&&e.width&&"text"===r.nodeName.toLowerCase(),a="",s=function(t,e){return"-"+e.toLowerCase()};if(e&&e.color&&(e.fill=e.color),e=t(n.styles,e),n.styles=e,ze&&o&&delete e.width,Se&&!Be)o&&delete e.width,g(n.element,e);else{for(i in e)a+=i.replace(/([A-Z])/g,s)+":"+e[i]+";";n.attr({style:a})}return o&&n.added&&n.renderer.buildText(n),n},on:function(t,e){var i=e;return Oe&&"click"===t&&(t="touchstart",i=function(t){t.preventDefault(),e()}),this.element["on"+t]=i,this},setRadialReference:function(t){return this.element.radialReference=t,this},translate:function(t,e){return this.attr({translateX:t,translateY:e})},invert:function(){var t=this;return t.inverted=!0,t.updateTransform(),t},htmlCss:function(e){var i=this,n=i.element,r=e&&"SPAN"===n.tagName&&e.width;return r&&(delete e.width,i.textWidth=r,i.updateTransform()),i.styles=t(i.styles,e),g(i.element,e),i},htmlGetBBox:function(){var t=this,e=t.element,i=t.bBox;return i||("text"===e.nodeName&&(e.style.position=Ge),i=t.bBox={x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}),i},htmlUpdateTransform:function(){if(!this.added)return this.alignOnAdd=!0,void 0;var t=this,e=t.renderer,n=t.element,r=t.translateX||0,o=t.translateY||0,a=t.x||0,s=t.y||0,l=t.textAlign||"left",h={left:0,center:.5,right:1}[l],d=l&&"left"!==l,p=t.shadows;if((r||o)&&(g(n,{marginLeft:r,marginTop:o}),p&&vi(p,function(t){g(t,{marginLeft:r+1,marginTop:o+1})})),t.inverted&&vi(n.childNodes,function(t){e.invertChild(t,n)}),"SPAN"===n.tagName){var f,m,v,y,x,b=t.rotation,k=0,w=1,T=0,L=i(t.textWidth),P=t.xCorr||0,S=t.yCorr||0,A=[b,l,n.innerHTML,t.textWidth].join(","),C={};A!==t.cTT&&(c(b)&&(e.isSVG?(x=Se?"-ms-transform":Ce?"-webkit-transform":Me?"MozTransform":Pe?"-o-transform":"",C[x]=C.transform="rotate("+b+"deg)"):(k=b*Te,w=be(k),T=ke(k),C.filter=b?["progid:DXImageTransform.Microsoft.Matrix(M11=",w,", M12=",-T,", M21=",T,", M22=",w,", sizingMethod='auto expand')"].join(""):Ve),g(n,C)),f=u(t.elemWidth,n.offsetWidth),m=u(t.elemHeight,n.offsetHeight),f>L&&/[ \-]/.test(n.innerText)&&(g(n,{width:L+je,display:"block",whiteSpace:"normal"}),f=L),v=e.fontMetrics(n.style.fontSize).b,P=0>w&&-f,S=0>T&&-m,y=0>w*T,P+=T*v*(y?1-h:h),S-=w*v*(b?y?h:1-h:1),d&&(P-=f*h*(0>w?-1:1),b&&(S-=m*h*(0>T?-1:1)),g(n,{textAlign:l})),t.xCorr=P,t.yCorr=S),g(n,{left:a+P+je,top:s+S+je}),t.cTT=A}},updateTransform:function(){var t=this,e=t.translateX||0,i=t.translateY||0,n=t.inverted,r=t.rotation,o=[];n&&(e+=t.attr("width"),i+=t.attr("height")),(e||i)&&o.push("translate("+e+","+i+")"),n?o.push("rotate(90) scale(-1,1)"):r&&o.push("rotate("+r+" "+(t.x||0)+" "+(t.y||0)+")"),o.length&&d(t.element,"transform",o.join(" "))},toFront:function(){var t=this.element;return t.parentNode.appendChild(t),this},align:function(t,e,i){var n=this;t?(n.alignOptions=t,n.alignByTranslate=e,i||n.renderer.alignedObjects.push(n)):(t=n.alignOptions,e=n.alignByTranslate),i=u(i,n.renderer);var r=t.align,o=t.verticalAlign,a=(i.x||0)+(t.x||0),s=(i.y||0)+(t.y||0),l={};return("right"===r||"center"===r)&&(a+=(i.width-(t.width||0))/{right:1,center:2}[r]),l[e?"translateX":"x"]=ge(a),("bottom"===o||"middle"===o)&&(s+=(i.height-(t.height||0))/({bottom:1,middle:2}[o]||1)),l[e?"translateY":"y"]=ge(s),n[n.placed?"animate":"attr"](l),n.placed=!0,n.alignAttr=l,n},getBBox:function(){var e,i,n=this,r=n.bBox,o=n.renderer,a=n.rotation,s=n.element,l=n.styles,h=a*Te;if(!r){if(s.namespaceURI===Ie||o.forExport){try{r=s.getBBox?t({},s.getBBox()):{width:s.offsetWidth,height:s.offsetHeight}}catch(c){}(!r||r.width<0)&&(r={width:0,height:0})}else r=n.htmlGetBBox();o.isSVG&&(e=r.width,i=r.height,a&&(r.width=xe(i*ke(h))+xe(e*be(h)),r.height=xe(i*be(h))+xe(e*ke(h)))),Se&&l&&"11px"===l.fontSize&&22.700000762939453===i&&(r.height=14),n.bBox=r}return r},show:function(){return this.attr({visibility:Ye})},hide:function(){return this.attr({visibility:Ne})},add:function(t){var e,n,r,o,a=this.renderer,s=t||a,l=s.element||a.box,h=l.childNodes,p=this.element,u=d(p,"zIndex");if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&a.buildText(this),u&&(s.handleZ=!0,u=i(u)),s.handleZ)for(r=0;r<h.length;r++)if(e=h[r],n=d(e,"zIndex"),e!==p&&(i(n)>u||!c(u)&&c(n))){l.insertBefore(p,e),o=!0;break}return o||l.appendChild(p),this.added=!0,Li(this,"add"),this},safeRemoveChild:function(t){var e=t.parentNode;e&&e.removeChild(t)},destroy:function(){var t,e,i=this,n=i.element||{},r=i.shadows;if(n.onclick=n.onmouseout=n.onmouseover=n.onmousemove=null,Ai(i),i.clipPath&&(i.clipPath=i.clipPath.destroy()),i.stops){for(e=0;e<i.stops.length;e++)i.stops[e]=i.stops[e].destroy();i.stops=null}i.safeRemoveChild(n),r&&vi(r,function(t){i.safeRemoveChild(t)}),h(i.renderer.alignedObjects,i);for(t in i)delete i[t];return null},empty:function(){for(var t=this.element,e=t.childNodes,i=e.length;i--;)t.removeChild(e[i])},shadow:function(t,e,i){var n,r,o,a,s,l,h=[],c=this.element;if(t){for(a=u(t.width,3),s=(t.opacity||.15)/a,l=this.parentInverted?"(-1,-1)":"("+u(t.offsetX,1)+", "+u(t.offsetY,1)+")",n=1;a>=n;n++)r=c.cloneNode(0),o=2*a+1-2*n,d(r,{isShadow:"true",stroke:t.color||"black","stroke-opacity":s*n,"stroke-width":o,transform:"translate"+l,fill:Ve}),i&&(d(r,"height",ve(d(r,"height")-o,0)),r.cutHeight=o),e?e.element.appendChild(r):c.parentNode.insertBefore(r,c),h.push(r);this.shadows=h}return this}};var Di=function(){this.init.apply(this,arguments)};Di.prototype={Element:H,init:function(t,e,i,n){var r,o=this,a=location;r=o.createElement("svg").attr({xmlns:Ie,version:"1.1"}),t.appendChild(r.element),o.isSVG=!0,o.box=r.element,o.boxWrapper=r,o.alignedObjects=[],o.url=(Me||Ce)&&de.getElementsByTagName("base").length?a.href.replace(/#.*?$/,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",o.defs=this.createElement("defs").add(),o.forExport=n,o.gradients={},o.setSize(e,i,!1);var s,l;Me&&t.getBoundingClientRect&&(o.subPixelFix=s=function(){g(t,{left:0,top:0}),l=t.getBoundingClientRect(),g(t,{left:me(l.left)-l.left+je,top:me(l.top)-l.top+je})},s(),wi(pe,"resize",s))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var t=this,e=t.defs;return t.box=null,t.boxWrapper=t.boxWrapper.destroy(),C(t.gradients||{}),t.gradients=null,e&&(t.defs=e.destroy()),t.subPixelFix&&Ti(pe,"resize",t.subPixelFix),t.alignedObjects=null,null},createElement:function(t){var e=new this.Element;return e.init(this,t),e},draw:function(){},buildText:function(t){function e(e){return y[e]=r.getBBox?r.getBBox().height:t.renderer.fontMetrics(r.style.fontSize).h,ge(y[e]-(y[e-1]||0))}for(var n,r=t.element,o=u(t.textStr,"").toString().replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g),a=r.childNodes,s=/style="([^"]+)"/,l=/href="([^"]+)"/,h=d(r,"x"),c=t.styles,p=c&&c.width&&i(c.width),f=c&&c.lineHeight,m="getComputedStyle",v=a.length,y=[];v--;)r.removeChild(a[v]);p&&!t.added&&this.box.appendChild(r),""===o[o.length-1]&&o.pop(),vi(o,function(o,a){var c,u,v=0;o=o.replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||"),c=o.split("|||"),vi(c,function(o){if(""!==o||1===c.length){var y,x={},b=de.createElementNS(Ie,"tspan");if(s.test(o)&&(y=o.match(s)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),d(b,"style",y)),l.test(o)&&(d(b,"onclick",'location.href="'+o.match(l)[1]+'"'),g(b,{cursor:"pointer"})),o=(o.replace(/<(.|\n)*?>/g,"")||" ").replace(/&lt;/g,"<").replace(/&gt;/g,">"),b.appendChild(de.createTextNode(o)),v?x.dx=3:x.x=h,v||(a&&(!Be&&t.renderer.forExport&&g(b,{display:"block"}),u=pe[m]&&i(pe[m](n,null).getPropertyValue("line-height")),(!u||isNaN(u))&&(u=f||n.offsetHeight||e(a)||18),d(b,"dy",u)),n=b),d(b,x),r.appendChild(b),v++,p)for(var k,w,T=o.replace(/([^\^])-/g,"$1- ").split(" "),L=[];T.length||L.length;)delete t.bBox,w=t.getBBox().width,k=w>p,k&&1!==T.length?(b.removeChild(b.firstChild),L.unshift(T.pop())):(T=L,L=[],T.length&&(b=de.createElementNS(Ie,"tspan"),d(b,{dy:f||16,x:h}),y&&d(b,"style",y),r.appendChild(b),w>p&&(p=w))),T.length&&b.appendChild(de.createTextNode(T.join(" ").replace(/- /g,"-")))}})})},button:function(i,n,r,o,a,s,l){var h,c,d,p,u,g=this.label(i,n,r),f=0,m="style",v={x1:0,y1:0,x2:0,y2:1};return a=ki(e(ci,1,hi,"#999",ai,e(si,v,li,[[0,"#FFF"],[1,"#DDD"]]),"r",3,"padding",3,m,e("color","black")),a),d=a[m],delete a[m],s=ki(a,e(hi,"#68A",ai,e(si,v,li,[[0,"#FFF"],[1,"#ACF"]])),s),p=s[m],delete s[m],l=ki(a,e(hi,"#68A",ai,e(si,v,li,[[0,"#9BD"],[1,"#CDF"]])),l),u=l[m],delete l[m],wi(g.element,"mouseenter",function(){g.attr(s).css(p)}),wi(g.element,"mouseleave",function(){h=[a,s,l][f],c=[d,p,u][f],g.attr(h).css(c)}),g.setState=function(t){f=t,t?2===t&&g.attr(l).css(u):g.attr(a).css(d)},g.on("click",function(){o.call(g)}).attr(a).css(t({cursor:"default"},d))},crispLine:function(t,e){return t[1]===t[4]&&(t[1]=t[4]=ge(t[1])-e%2/2),t[2]===t[5]&&(t[2]=t[5]=ge(t[2])+e%2/2),t},path:function(e){var i={fill:Ve};return o(e)?i.d=e:r(e)&&t(i,e),this.createElement("path").attr(i)},circle:function(t,e,i){var n=r(t)?t:{x:t,y:e,r:i};return this.createElement("circle").attr(n)},arc:function(t,e,i,n,o,a){return r(t)&&(e=t.y,i=t.r,n=t.innerR,o=t.start,a=t.end,t=t.x),this.symbol("arc",t||0,e||0,i||0,i||0,{innerR:n||0,start:o||0,end:a||0})},rect:function(t,e,i,n,o,a){o=r(t)?t.r:o;var s=this.createElement("rect").attr({rx:o,ry:o,fill:Ve});return s.attr(r(t)?t:s.crisp(a,t,e,ve(i,0),ve(n,0)))},setSize:function(t,e,i){var n=this,r=n.alignedObjects,o=r.length;for(n.width=t,n.height=e,n.boxWrapper[u(i,!0)?"animate":"attr"]({width:t,height:e});o--;)r[o].align()},g:function(t){var e=this.createElement("g");return c(t)?e.attr({"class":Fe+t}):e},image:function(e,i,n,r,o){var a,s={preserveAspectRatio:Ve};return arguments.length>1&&t(s,{x:i,y:n,width:r,height:o}),a=this.createElement("image").attr(s),a.element.setAttributeNS?a.element.setAttributeNS("http://www.w3.org/1999/xlink","href",e):a.element.setAttribute("hc-svg-href",e),a},symbol:function(e,i,n,r,o,a){var s,l,h,c,d=this.symbols[e],p=d&&d(ge(i),ge(n),r,o,a),u=/^url\((.*?)\)$/;return p?(s=this.path(p),t(s,{symbolName:e,x:i,y:n,width:r,height:o}),a&&t(s,a)):u.test(e)&&(c=function(t,e){t.attr({width:e[0],height:e[1]}),t.alignByTranslate||t.translate(-ge(e[0]/2),-ge(e[1]/2))},l=e.match(u)[1],h=Re[l],s=this.image(l).attr({x:i,y:n}),h?c(s,h):(s.attr({width:0,height:0}),f("img",{onload:function(){var t=this;c(s,Re[l]=[t.width,t.height])},src:l}))),s},symbols:{circle:function(t,e,i,n){var r=.166*i;return[Ze,t+i/2,e,"C",t+i+r,e,t+i+r,e+n,t+i/2,e+n,"C",t-r,e+n,t-r,e,t+i/2,e,"Z"]},square:function(t,e,i,n){return[Ze,t,e,Ue,t+i,e,t+i,e+n,t,e+n,"Z"]},triangle:function(t,e,i,n){return[Ze,t+i/2,e,Ue,t+i,e+n,t,e+n,"Z"]},"triangle-down":function(t,e,i,n){return[Ze,t,e,Ue,t+i,e,t+i/2,e+n,"Z"]},diamond:function(t,e,i,n){return[Ze,t+i/2,e,Ue,t+i,e+n/2,t+i/2,e+n,t,e+n/2,"Z"]},arc:function(t,e,i,n,r){var o=r.start,a=r.r||i||n,s=r.end-1e-6,l=r.innerR,h=r.open,c=be(o),d=ke(o),p=be(s),u=ke(s),g=r.end-o<we?0:1;return[Ze,t+a*c,e+a*d,"A",a,a,0,g,1,t+a*p,e+a*u,h?Ze:Ue,t+l*p,e+l*u,"A",l,l,0,g,0,t+l*c,e+l*d,h?"":"Z"]}},clipRect:function(t,e,i,n){var r,o=Fe+He++,a=this.createElement("clipPath").attr({id:o}).add(this.defs);return r=this.rect(t,e,i,n,0).add(a),r.id=o,r.clipPath=a,r},color:function(e,i,n){var r,a,s=this,l=/^rgba/;if(e&&e.linearGradient?a="linearGradient":e&&e.radialGradient&&(a="radialGradient"),a){var h,p,u,g=e[a],f=s.gradients,m=i.radialReference;return g.id&&f[g.id]||(o(g)&&(e[a]=g={x1:g[0],y1:g[1],x2:g[2],y2:g[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===a&&m&&!c(g.gradientUnits)&&t(g,{cx:m[0]-m[2]/2+g.cx*m[2],cy:m[1]-m[2]/2+g.cy*m[2],r:g.r*m[2],gradientUnits:"userSpaceOnUse"}),g.id=Fe+He++,f[g.id]=h=s.createElement(a).attr(g).add(s.defs),h.stops=[],vi(e.stops,function(t){var e;l.test(t[1])?(r=Bi(t[1]),p=r.get("rgb"),u=r.get("a")):(p=t[1],u=1),e=s.createElement("stop").attr({offset:t[0],"stop-color":p,"stop-opacity":u}).add(h),h.stops.push(e)})),"url("+s.url+"#"+g.id+")"}return l.test(e)?(r=Bi(e),d(i,n+"-opacity",r.get("a")),r.get("rgb")):(i.removeAttribute(n+"-opacity"),e)},text:function(t,e,i,n){var r,o=this,a=_.chart.style,s=ze||!Be&&o.forExport;return n&&!o.forExport?o.html(t,e,i):(e=ge(u(e,0)),i=ge(u(i,0)),r=o.createElement("text").attr({x:e,y:i,text:t}).css({fontFamily:a.fontFamily,fontSize:a.fontSize}),s&&r.css({position:Ge}),r.x=e,r.y=i,r)},html:function(e,i,n){var r=_.chart.style,o=this.createElement("span"),a=o.attrSetters,s=o.element,l=o.renderer;return a.text=function(t){return t!==s.innerHTML&&delete this.bBox,s.innerHTML=t,!1},a.x=a.y=a.align=function(t,e){return"align"===e&&(e="textAlign"),o[e]=t,o.htmlUpdateTransform(),!1},o.attr({text:e,x:ge(i),y:ge(n)}).css({position:Ge,whiteSpace:"nowrap",fontFamily:r.fontFamily,fontSize:r.fontSize}),o.css=o.htmlCss,l.isSVG&&(o.add=function(e){var i,n,r=l.box.parentNode,a=[];if(e){if(i=e.div,!i){for(n=e;n;)a.push(n),n=n.parentGroup;vi(a.reverse(),function(e){var n;i=e.div=e.div||f(Ee,{className:d(e.element,"class")},{position:Ge,left:(e.translateX||0)+je,top:(e.translateY||0)+je},i||r),n=i.style,t(e.attrSetters,{translateX:function(t){n.left=t+je},translateY:function(t){n.top=t+je},visibility:function(t,e){n[e]=t}})})}}else i=r;return i.appendChild(s),o.added=!0,o.alignOnAdd&&o.htmlUpdateTransform(),o}),o},fontMetrics:function(t){t=i(t||11);var e=24>t?t+4:ge(1.2*t),n=ge(.8*e);return{h:e,b:n}},label:function(e,i,n,r,o,a,s,l,h){function d(){var t,e=L.element.style;m=(void 0===v||void 0===y||T.styles.textAlign)&&L.getBBox(),T.width=(v||m.width||0)+2*S,T.height=(y||m.height||0)+2*S,k=S+w.fontMetrics(e&&e.fontSize).b,f||(t=l?-k:0,T.box=f=r?w.symbol(r,-P*S,t,T.width,T.height):w.rect(-P*S,t,T.width,T.height,0,C[ci]),f.add(T)),f.attr(ki({width:T.width,height:T.height},C)),C=null}function p(){var t,e=T.styles,i=e&&e.textAlign,n=S*(1-P);t=l?0:k,!c(v)||"center"!==i&&"right"!==i||(n+={center:.5,right:1}[i]*(v-m.width)),(n!==L.x||t!==L.y)&&L.attr({x:n,y:t}),L.x=n,L.y=t}function u(t,e){f?f.attr(t,e):C[t]=e}function g(){L.add(T),T.attr({text:e,x:i,y:n}),c(o)&&T.attr({anchorX:o,anchorY:a})}var f,m,v,y,x,b,k,w=this,T=w.g(h),L=w.text("",0,0,s).attr({zIndex:1}),P=0,S=3,A=0,C={},M=T.attrSetters;wi(T,"add",g),M.width=function(t){return v=t,!1},M.height=function(t){return y=t,!1},M.padding=function(t){return c(t)&&t!==S&&(S=t,p()),!1},M.align=function(t){return P={left:0,center:.5,right:1}[t],!1},M.text=function(t,e){return L.attr(e,t),d(),p(),!1},M[ci]=function(t,e){return A=t%2/2,u(e,t),!1},M.stroke=M.fill=M.r=function(t,e){return u(e,t),!1},M.anchorX=function(t,e){return o=t,u(e,t+A-x),!1},M.anchorY=function(t,e){return a=t,u(e,t-b),!1},M.x=function(t){return T.x=t,t-=P*((v||m.width)+S),x=ge(t),T.attr("translateX",x),!1
10
+ },M.y=function(t){return b=T.y=ge(t),T.attr("translateY",t),!1};var I=T.css;return t(T,{css:function(t){if(t){var e={};t=ki({},t),vi(["fontSize","fontWeight","fontFamily","color","lineHeight","width"],function(i){t[i]!==V&&(e[i]=t[i],delete t[i])}),L.css(e)}return I.call(T,t)},getBBox:function(){return f.getBBox()},shadow:function(t){return f.shadow(t),T},destroy:function(){Ti(T,"add",g),Ti(T.element,"mouseenter"),Ti(T.element,"mouseleave"),L&&(L=L.destroy()),f&&(f=f.destroy()),H.prototype.destroy.call(T)}})}},Z=Di;var zi;if(!Be&&!ze){var Oi={init:function(t,e){var i=this,n=["<",e,' filled="f" stroked="f"'],r=["position: ",Ge,";"];("shape"===e||e===Ee)&&r.push("left:0;top:0;width:1px;height:1px;"),Ae&&r.push("visibility: ",e===Ee?Ne:Ye),n.push(' style="',r.join(""),'"/>'),e&&(n=e===Ee||"span"===e||"img"===e?n.join(""):t.prepVML(n),i.element=f(n)),i.renderer=t,i.attrSetters={}},add:function(t){var e=this,i=e.renderer,n=e.element,r=i.box,o=t&&t.inverted,a=t?t.element||t:r;return o&&i.invertChild(n,a),a.appendChild(n),e.added=!0,e.alignOnAdd&&!e.deferUpdateTransform&&e.updateTransform(),Li(e,"add"),e},updateTransform:H.prototype.htmlUpdateTransform,attr:function(t,e){var i,r,o,s,l,h,p=this,u=p.element||{},g=u.style,m=u.nodeName,v=p.renderer,y=p.symbolName,x=p.shadows,b=p.attrSetters,k=p;if(n(t)&&c(e)&&(i=t,t={},t[i]=e),n(t))i=t,k="strokeWidth"===i||"stroke-width"===i?p.strokeweight:p[i];else for(i in t)if(r=t[i],h=!1,s=b[i]&&b[i].call(p,r,i),s!==!1&&null!==r){if(s!==V&&(r=s),y&&/^(x|y|r|start|end|width|height|innerR|anchorX|anchorY)/.test(i))l||(p.symbolAttr(t),l=!0),h=!0;else if("d"===i){r=r||[],p.d=r.join(" "),o=r.length;for(var w=[];o--;)w[o]=a(r[o])?ge(10*r[o])-5:"Z"===r[o]?"x":r[o];if(r=w.join(" ")||"x",u.path=r,x)for(o=x.length;o--;)x[o].path=x[o].cutOff?this.cutOffPath(r,x[o].cutOff):r;h=!0}else if("visibility"===i){if(x)for(o=x.length;o--;)x[o].style[i]=r;"DIV"===m&&(r=r===Ne?"-999em":0,i="top"),g[i]=r,h=!0}else if("zIndex"===i)r&&(g[i]=r),h=!0;else if("width"===i||"height"===i)r=ve(0,r),this[i]=r,p.updateClipping?(p[i]=r,p.updateClipping()):g[i]=r,h=!0;else if("x"===i||"y"===i)p[i]=r,g[{x:"left",y:"top"}[i]]=r;else if("class"===i)u.className=r;else if("stroke"===i)r=v.color(r,u,i),i="strokecolor";else if("stroke-width"===i||"strokeWidth"===i)u.stroked=r?!0:!1,i="strokeweight",p[i]=r,a(r)&&(r+=je);else if("dashstyle"===i){var T=u.getElementsByTagName("stroke")[0]||f(v.prepVML(["<stroke/>"]),null,null,u);T[i]=r||"solid",p.dashstyle=r,h=!0}else"fill"===i?"SPAN"===m?g.color=r:(u.filled=r!==Ve?!0:!1,r=v.color(r,u,i,p),i="fillcolor"):"shape"===m&&"rotation"===i?(p[i]=r,u.style.left=-ge(ke(r*Te)+1)+je,u.style.top=ge(be(r*Te))+je):"translateX"===i||"translateY"===i||"rotation"===i?(p[i]=r,p.updateTransform(),h=!0):"text"===i&&(this.bBox=null,u.innerHTML=r,h=!0);h||(Ae?u[i]=r:d(u,i,r))}return k},clip:function(t){var e,i,n=this,r=n.element,o=r.parentNode;return t?(e=t.members,e.push(n),n.destroyClip=function(){h(e,n)},o&&"highcharts-tracker"===o.className&&!Ae&&g(r,{visibility:Ne}),i=t.getCSS(n)):(n.destroyClip&&n.destroyClip(),i={clip:Ae?"inherit":"rect(auto)"}),n.css(i)},css:H.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&M(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),H.prototype.destroy.apply(this)},empty:function(){for(var t,e=this.element,i=e.childNodes,n=i.length;n--;)t=i[n],t.parentNode.removeChild(t)},on:function(t,e){return this.element["on"+t]=function(){var t=pe.event;t.target=t.srcElement,e(t)},this},cutOffPath:function(t,e){var n;return t=t.split(/[ ,]/),n=t.length,(9===n||11===n)&&(t[n-4]=t[n-2]=i(t[n-2])-10*e),t.join(" ")},shadow:function(t,e,n){var r,o,a,s,l,h,c,d=[],p=this.element,g=this.renderer,m=p.style,v=p.path;if(v&&"string"!=typeof v.value&&(v="x"),l=v,t){for(h=u(t.width,3),c=(t.opacity||.15)/h,r=1;3>=r;r++)s=2*h+1-2*r,n&&(l=this.cutOffPath(v.value,s+.5)),a=['<shape isShadow="true" strokeweight="',s,'" filled="false" path="',l,'" coordsize="10 10" style="',p.style.cssText,'" />'],o=f(g.prepVML(a),null,{left:i(m.left)+u(t.offsetX,1),top:i(m.top)+u(t.offsetY,1)}),n&&(o.cutOff=s+1),a=['<stroke color="',t.color||"black",'" opacity="',c*r,'"/>'],f(g.prepVML(a),null,null,o),e?e.element.appendChild(o):p.parentNode.insertBefore(o,p),d.push(o);this.shadows=d}return this}};Oi=m(H,Oi);var Ri={Element:Oi,isIE8:Le.indexOf("MSIE 8.0")>-1,init:function(t,e,i){var n,r,o=this;o.alignedObjects=[],n=o.createElement(Ee),r=n.element,r.style.position=Xe,t.appendChild(n.element),o.box=r,o.boxWrapper=n,o.setSize(e,i,!1),de.namespaces.hcv||(de.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),de.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } ")},isHidden:function(){return!this.box.offsetWidth},clipRect:function(e,i,n,o){var a=this.createElement(),s=r(e);return t(a,{members:[],left:s?e.x:e,top:s?e.y:i,width:s?e.width:n,height:s?e.height:o,getCSS:function(e){var i=e.inverted,n=this,r=n.top,o=n.left,a=o+n.width,s=r+n.height,l={clip:"rect("+ge(i?o:r)+"px,"+ge(i?s:a)+"px,"+ge(i?a:s)+"px,"+ge(i?r:o)+"px)"};return!i&&Ae&&"IMG"!==e.element.nodeName&&t(l,{width:a+je,height:s+je}),l},updateClipping:function(){vi(a.members,function(t){t.css(a.getCSS(t))})}})},color:function(t,e,i,n){var r,o,a,s=this,l=/^rgba/,h=Ve;if(t&&t.linearGradient?a="gradient":t&&t.radialGradient&&(a="pattern"),a){var c,d,p,u,g,m,v,y,x,b,k,w,T=t.linearGradient||t.radialGradient,L="",P=t.stops,S=[],A=function(){o=['<fill colors="'+S.join(",")+'" opacity="',y,'" o:opacity2="',v,'" type="',a,'" ',L,'focus="100%" method="any" />'],f(s.prepVML(o),null,null,e)};if(k=P[0],w=P[P.length-1],k[0]>0&&P.unshift([0,k[1]]),w[0]<1&&P.push([1,w[1]]),vi(P,function(t,e){l.test(t[1])?(r=Bi(t[1]),c=r.get("rgb"),d=r.get("a")):(c=t[1],d=1),S.push(100*t[0]+"% "+c),e?(y=d,x=c):(v=d,b=c)}),"fill"===i)if("gradient"===a)p=T.x1||T[0]||0,u=T.y1||T[1]||0,g=T.x2||T[2]||0,m=T.y2||T[3]||0,L='angle="'+(90-180*ue.atan((m-u)/(g-p))/we)+'"',A();else{var C,M=T.r,I=2*M,B=2*M,D=T.cx,z=T.cy,O=e.radialReference,R=function(){O&&(C=n.getBBox(),D+=(O[0]-C.x)/C.width-.5,z+=(O[1]-C.y)/C.height-.5,I*=O[2]/C.width,B*=O[2]/C.height),L='src="'+_.global.VMLRadialGradientURL+'" '+'size="'+I+","+B+'" '+'origin="0.5,0.5" '+'position="'+D+","+z+'" '+'color2="'+b+'" ',A()};n.added?R():wi(n,"add",R),h=x}else h=c}else if(l.test(t)&&"IMG"!==e.tagName)r=Bi(t),o=["<",i,' opacity="',r.get("a"),'"/>'],f(this.prepVML(o),null,null,e),h=r.get("rgb");else{var H=e.getElementsByTagName(i);H.length&&(H[0].opacity=1),h=t}return h},prepVML:function(t){var e="display:inline-block;behavior:url(#default#VML);",i=this.isIE8;return t=t.join(""),i?(t=t.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),t=-1===t.indexOf('style="')?t.replace("/>",' style="'+e+'" />'):t.replace('style="','style="'+e)):t=t.replace("<","<hcv:"),t},text:Di.prototype.html,path:function(e){var i={coordsize:"10 10"};return o(e)?i.d=e:r(e)&&t(i,e),this.createElement("shape").attr(i)},circle:function(t,e,i){return this.symbol("circle").attr({x:t-i,y:e-i,width:2*i,height:2*i})},g:function(t){var e,i;return t&&(i={className:Fe+t,"class":Fe+t}),e=this.createElement(Ee).attr(i)},image:function(t,e,i,n,r){var o=this.createElement("img").attr({src:t});return arguments.length>1&&o.attr({x:e,y:i,width:n,height:r}),o},rect:function(t,e,i,n,o,a){r(t)&&(e=t.y,i=t.width,n=t.height,a=t.strokeWidth,t=t.x);var s=this.symbol("rect");return s.r=o,s.attr(s.crisp(a,t,e,ve(i,0),ve(n,0)))},invertChild:function(t,e){var n=e.style;g(t,{flip:"x",left:i(n.width)-1,top:i(n.height)-1,rotation:-90})},symbols:{arc:function(t,e,i,n,r){var o,a=r.start,s=r.end,l=r.r||i||n,h=be(a),c=ke(a),d=be(s),p=ke(s),u=r.innerR,g=.08/l,f=u&&.1/u||0;return 0===s-a?["x"]:(g>2*we-s+a?d=-g:f>s-a&&(d=be(a+f)),o=["wa",t-l,e-l,t+l,e+l,t+l*h,e+l*c,t+l*d,e+l*p],r.open&&!u&&o.push("e",Ze,t,e),o.push("at",t-u,e-u,t+u,e+u,t+u*d,e+u*p,t+u*h,e+u*c,"x","e"),o)},circle:function(t,e,i,n){return["wa",t,e,t+i,e+n,t+i,e+n/2,t+i,e+n/2,"e"]},rect:function(t,e,i,n,r){var o,a,s=t+i,l=e+n;return c(r)&&r.r?(a=ye(r.r,i,n),o=[Ze,t+a,e,Ue,s-a,e,"wa",s-2*a,e,s,e+2*a,s-a,e,s,e+a,Ue,s,l-a,"wa",s-2*a,l-2*a,s,l,s,l-a,s-a,l,Ue,t+a,l,"wa",t,l-2*a,t+2*a,l,t+a,l,t,l-a,Ue,t,e+a,"wa",t,e,t+2*a,e+2*a,t,e+a,t+a,e,"x","e"]):o=Di.prototype.symbols.square.apply(0,arguments),o}}};zi=function(){this.init.apply(this,arguments)},zi.prototype=ki(Di.prototype,Ri),Z=zi}var Hi,Wi;ze&&(Hi=function(){Ie="http://www.w3.org/1999/xhtml"},Hi.prototype.symbols={},Wi=function(){function t(){var t,i=e.length;for(t=0;i>t;t++)e[t]();e=[]}var e=[];return{push:function(i,n){0===e.length&&fi(n,t),e.push(i)}}}()),Z=zi||Hi||Di,W.prototype={addLabel:function(){var e,i,n,r,o=this,s=o.axis,h=s.options,d=s.chart,p=s.horiz,u=s.categories,g=o.pos,f=h.labels,m=s.tickPositions,v=u&&p&&u.length&&!f.step&&!f.staggerLines&&!f.rotation&&d.plotWidth/m.length||!p&&d.plotWidth/2,y=g===m[0],x=g===m[m.length-1],b=u&&c(u[g])?u[g]:g,k=o.label,w=m.info;s.isDatetimeAxis&&w&&(r=h.dateTimeLabelFormats[w.higherRanks[g]||w.unitName]),o.isFirst=y,o.isLast=x,e=s.labelFormatter.call({axis:s,chart:d,isFirst:y,isLast:x,dateTimeLabelFormat:r,value:s.isLog?B(l(b)):b}),i=v&&{width:ve(1,ge(v-2*(f.padding||10)))+je},i=t(i,f.style),c(k)?k&&k.attr({text:e}).css(i):(n={align:f.align},a(f.rotation)&&(n.rotation=f.rotation),o.label=c(e)&&f.enabled?d.renderer.text(e,0,0,f.useHTML).attr(n).css(i).add(s.labelGroup):null)},getLabelSize:function(){var t=this.label,e=this.axis;return t?(this.labelBBox=t.getBBox())[e.horiz?"height":"width"]:0},getLabelSides:function(){var t=this.labelBBox,e=this.axis,i=e.options,n=i.labels,r=t.width,o=r*{left:0,center:.5,right:1}[n.align]-n.x;return[-o,r-o]},handleOverflow:function(t,e){var i=!0,n=this.axis,r=n.chart,o=this.isFirst,a=this.isLast,s=e.x,l=n.reversed,h=n.tickPositions;if(o||a){var c=this.getLabelSides(),d=c[0],p=c[1],u=r.plotLeft,g=u+n.len,f=n.ticks[h[t+(o?1:-1)]],m=f&&f.label.xy&&f.label.xy.x+f.getLabelSides()[o?0:1];o&&!l||a&&l?u>s+d&&(s=u-d,f&&s+p>m&&(i=!1)):s+p>g&&(s=g-p,f&&m>s+d&&(i=!1)),e.x=s}return i},getPosition:function(t,e,i,n){var r=this.axis,o=r.chart,a=n&&o.oldChartHeight||o.chartHeight;return{x:t?r.translate(e+i,null,null,n)+r.transB:r.left+r.offset+(r.opposite?(n&&o.oldChartWidth||o.chartWidth)-r.right-r.left:0),y:t?a-r.bottom+r.offset-(r.opposite?r.height:0):a-r.translate(e+i,null,null,n)-r.transB}},getLabelPosition:function(t,e,n,r,o,a,s,l){var h=this.axis,d=h.transA,p=h.reversed,u=h.staggerLines;return t=t+o.x-(a&&r?a*d*(p?-1:1):0),e=e+o.y-(a&&!r?a*d*(p?1:-1):0),c(o.y)||(e+=.9*i(n.styles.lineHeight)-n.getBBox().height/2),u&&(e+=16*(s/(l||1)%u)),{x:t,y:e}},getMarkPath:function(t,e,i,n,r,o){return o.crispLine([Ze,t,e,Ue,t+(r?0:-i),e+(r?i:0)],n)},render:function(t,e){var i,n,r,o=this,a=o.axis,s=a.options,l=a.chart,h=l.renderer,c=a.horiz,d=o.type,p=o.label,g=o.pos,f=s.labels,m=o.gridLine,v=d?d+"Grid":"grid",y=d?d+"Tick":"tick",x=s[v+"LineWidth"],b=s[v+"LineColor"],k=s[v+"LineDashStyle"],w=s[y+"Length"],T=s[y+"Width"]||0,L=s[y+"Color"],P=s[y+"Position"],S=o.mark,A=f.step,C=!0,M=a.tickmarkOffset,I=o.getPosition(c,g,M,e),B=I.x,D=I.y,z=a.staggerLines;x&&(i=a.getPlotLinePath(g+M,x,e),m===V&&(r={stroke:b,"stroke-width":x},k&&(r.dashstyle=k),d||(r.zIndex=1),o.gridLine=m=x?h.path(i).attr(r).add(a.gridGroup):null),!e&&m&&i&&m[o.isNew?"attr":"animate"]({d:i})),T&&w&&("inside"===P&&(w=-w),a.opposite&&(w=-w),n=o.getMarkPath(B,D,w,T,c,h),S?S.animate({d:n}):o.mark=h.path(n).attr({stroke:L,"stroke-width":T}).add(a.axisGroup)),p&&!isNaN(B)&&(p.xy=I=o.getLabelPosition(B,D,p,c,f,M,t,A),o.isFirst&&!u(s.showFirstLabel,1)||o.isLast&&!u(s.showLastLabel,1)?C=!1:z||!c||"justify"!==f.overflow||o.handleOverflow(t,I)||(C=!1),A&&t%A&&(C=!1),C?(p[o.isNew?"attr":"animate"](I),p.show(),o.isNew=!1):p.hide())},destroy:function(){C(this,this.axis)}},E.prototype={render:function(){var t,e,i,n,r,o,a,l=this,h=l.axis,d=h.horiz,p=(h.pointRange||0)/2,g=l.options,f=g.label,m=l.label,v=g.width,y=g.to,x=g.from,b=c(x)&&c(y),k=g.value,w=g.dashStyle,T=l.svgElem,L=[],P=g.color,C=g.zIndex,M=g.events,I=h.chart.renderer;if(h.isLog&&(x=s(x),y=s(y),k=s(k)),v)L=h.getPlotLinePath(k,v),a={stroke:P,"stroke-width":v},w&&(a.dashstyle=w);else{if(!b)return;x=ve(x,h.min-p),y=ye(y,h.max+p),L=h.getPlotBandPath(x,y,g),a={fill:P},g.borderWidth&&(a.stroke=g.borderColor,a["stroke-width"]=g.borderWidth)}if(c(C)&&(a.zIndex=C),T)L?T.animate({d:L},null,T.onGetPath):(T.hide(),T.onGetPath=function(){T.show()});else if(L&&L.length&&(l.svgElem=T=I.path(L).attr(a).add(),M)){t=function(t){T.on(t,function(e){M[t].apply(l,[e])})};for(e in M)t(e)}return f&&c(f.text)&&L&&L.length&&h.width>0&&h.height>0?(f=ki({align:d&&b&&"center",x:d?!b&&4:10,verticalAlign:!d&&b&&"middle",y:d?b?16:10:b?6:-4,rotation:d&&!b&&90},f),m||(l.label=m=I.text(f.text,0,0).attr({align:f.textAlign||f.align,rotation:f.rotation,zIndex:C}).css(f.style).add()),i=[L[1],L[4],u(L[6],L[1])],n=[L[2],L[5],u(L[7],L[2])],r=S(i),o=S(n),m.align(f,!1,{x:r,y:o,width:A(i)-r,height:A(n)-o}),m.show()):m&&m.hide(),l},destroy:function(){var t=this,e=t.axis;h(e.plotLinesAndBands,t),C(t,this.axis)}},G.prototype={destroy:function(){C(this,this.axis)},setTotal:function(t){this.total=t,this.cum=t},render:function(t){var e=this.options.formatter.call(this);this.label?this.label.attr({text:e,visibility:Ne}):this.label=this.axis.chart.renderer.text(e,0,0).css(this.options.style).attr({align:this.textAlign,rotation:this.options.rotation,visibility:Ne}).add(t)},setOffset:function(t,e){var i,n=this,r=n.axis,o=r.chart,a=o.inverted,s=this.isNegative,l=r.translate(this.percent?100:this.total,0,0,0,1),h=r.translate(0),c=xe(l-h),d=o.xAxis[0].translate(this.x)+t,p=o.plotHeight,u={x:a?s?l:l-c:d,y:a?p-d-e:s?p-l-c:p-l,width:a?c:e,height:a?e:c},g=this.label;g&&(g.align(this.alignOptions,null,u),i=g.alignAttr,g.attr({visibility:this.options.crop===!1||o.isInsidePlot(i.x,i.y)?Be?"inherit":Ye:Ne}))}},X.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:Ci,lineColor:"#C0D0E0",lineWidth:1,minPadding:.01,maxPadding:.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:5,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#6D869F",fontWeight:"bold"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{align:"right",x:-8,y:3},lineWidth:0,maxPadding:.05,minPadding:.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Y-values"},stackLabels:{enabled:!1,formatter:function(){return this.total},style:Ci.style}},defaultLeftAxisOptions:{labels:{align:"right",x:-8,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{align:"left",x:8,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{align:"center",x:0,y:14},title:{rotation:0}},defaultTopAxisOptions:{labels:{align:"center",x:0,y:-5},title:{rotation:0}},init:function(t,e){var i=e.isX,n=this;n.horiz=t.inverted?!i:i,n.isXAxis=i,n.xOrY=i?"x":"y",n.opposite=e.opposite,n.side=n.horiz?n.opposite?0:2:n.opposite?1:3,n.setOptions(e);var r=this.options,o=r.type,a="datetime"===o;n.labelFormatter=r.labels.formatter||n.defaultLabelFormatter,n.staggerLines=n.horiz&&r.labels.staggerLines,n.userOptions=e,n.minPixelPadding=0,n.chart=t,n.reversed=r.reversed,n.categories=r.categories,n.isLog="logarithmic"===o,n.isLinked=c(r.linkedTo),n.isDatetimeAxis=a,n.tickmarkOffset=r.categories&&"between"===r.tickmarkPlacement?.5:0,n.ticks={},n.minorTicks={},n.plotLinesAndBands=[],n.alternateBands={},n.len=0,n.minRange=n.userMinRange=r.minRange||r.maxZoom,n.range=r.range,n.offset=r.offset||0,n.stacks={},n.max=null,n.min=null;var h,d=n.options.events;t.axes.push(n),t[i?"xAxis":"yAxis"].push(n),n.series=[],t.inverted&&i&&n.reversed===V&&(n.reversed=!0),n.removePlotBand=n.removePlotBandOrLine,n.removePlotLine=n.removePlotBandOrLine,n.addPlotBand=n.addPlotBandOrLine,n.addPlotLine=n.addPlotBandOrLine;for(h in d)wi(n,h,d[h]);n.isLog&&(n.val2lin=s,n.lin2val=l)},setOptions:function(t){this.options=ki(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],ki(_[this.isXAxis?"xAxis":"yAxis"],t))},defaultLabelFormatter:function(){var t,e,i=this.axis,n=this.value,r=i.categories,o=this.dateTimeLabelFormat,a=_.lang.numericSymbols,s=a&&a.length,l=i.isLog?n:i.tickInterval;if(r)e=n;else if(o)e=K(o,n);else if(s&&l>=1e3)for(;s--&&e===V;)t=Math.pow(1e3,s+1),l>=t&&null!==a[s]&&(e=y(n/t,-1)+a[s]);return e===V&&(e=n>=1e3?y(n,0):y(n,-1)),e},getSeriesExtremes:function(){var t,e=this,i=e.chart,n=e.stacks,r=[],o=[];e.hasVisibleSeries=!1,e.dataMin=e.dataMax=null,vi(e.series,function(a){if(a.visible||!i.options.chart.ignoreHiddenSeries){var s,l,h,d,p,g,f,m,v,y,x,b=a.options,k=b.threshold,w=[],T=0;if(e.hasVisibleSeries=!0,e.isLog&&0>=k&&(k=b.threshold=null),e.isXAxis)f=a.xData,f.length&&(e.dataMin=ye(u(e.dataMin,f[0]),S(f)),e.dataMax=ve(u(e.dataMax,f[0]),A(f)));else{var L,P,C,M,I=a.cropped,D=a.xAxis.getExtremes(),z=!!a.modifyValue;for(s=b.stacking,e.usePercentage="percent"===s,s&&(p=b.stack,d=a.type+u(p,""),g="-"+d,a.stackKey=d,l=r[d]||[],r[d]=l,h=o[g]||[],o[g]=h),e.usePercentage&&(e.dataMin=0,e.dataMax=99),f=a.processedXData,m=a.processedYData,x=m.length,t=0;x>t;t++)if(v=f[t],y=m[t],s&&(L=k>y,P=L?h:l,C=L?g:d,y=P[v]=c(P[v])?B(P[v]+y):y,n[C]||(n[C]={}),n[C][v]||(n[C][v]=new G(e,e.options.stackLabels,L,v,p,s)),n[C][v].setTotal(y)),null!==y&&y!==V&&(z&&(y=a.modifyValue(y)),I||(f[t+1]||v)>=D.min&&(f[t-1]||v)<=D.max))if(M=y.length)for(;M--;)null!==y[M]&&(w[T++]=y[M]);else w[T++]=y;!e.usePercentage&&w.length&&(e.dataMin=ye(u(e.dataMin,w[0]),S(w)),e.dataMax=ve(u(e.dataMax,w[0]),A(w))),c(k)&&(e.dataMin>=k?(e.dataMin=k,e.ignoreMinPadding=!0):e.dataMax<k&&(e.dataMax=k,e.ignoreMaxPadding=!0))}}})},translate:function(t,e,i,n,r,o){var a,s=this,l=s.len,h=1,c=0,d=n?s.oldTransA:s.transA,p=n?s.oldMin:s.min,u=s.options.ordinal||s.isLog&&r;return d||(d=s.transA),i&&(h*=-1,c=l),s.reversed&&(h*=-1,c-=h*l),e?(s.reversed&&(t=l-t),a=t/d+p,u&&(a=s.lin2val(a))):(u&&(t=s.val2lin(t)),a=h*(t-p)*d+c+h*s.minPixelPadding+(o?d*s.pointRange/2:0)),a},getPlotLinePath:function(t,e,i){var n,r,o,a,s,l=this,h=l.chart,c=l.left,d=l.top,p=l.translate(t,null,null,i),u=i&&h.oldChartHeight||h.chartHeight,g=i&&h.oldChartWidth||h.chartWidth,f=l.transB;return n=o=ge(p+f),r=a=ge(u-p-f),isNaN(p)?s=!0:l.horiz?(r=d,a=u-l.bottom,(c>n||n>c+l.width)&&(s=!0)):(n=c,o=g-l.right,(d>r||r>d+l.height)&&(s=!0)),s?null:h.renderer.crispLine([Ze,n,r,Ue,o,a],e||0)},getPlotBandPath:function(t,e){var i=this.getPlotLinePath(e),n=this.getPlotLinePath(t);return n&&i?n.push(i[4],i[5],i[1],i[2]):n=null,n},getLinearTickPositions:function(t,e,i){var n,r,o=B(fe(e/t)*t),a=B(me(i/t)*t),s=[];for(n=o;a>=n&&(s.push(n),n=B(n+t),n!==r);)r=n;return s},getLogTickPositions:function(t,e,i,n){var r=this,o=r.options,a=r.len,h=[];if(n||(r._minorAutoInterval=null),t>=.5)t=ge(t),h=r.getLinearTickPositions(t,e,i);else if(t>=.08){var c,d,p,g,f,m,v,y=fe(e);for(c=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],d=y;i+1>d&&!v;d++)for(g=c.length,p=0;g>p&&!v;p++)f=s(l(d)*c[p]),f>e&&h.push(m),m>i&&(v=!0),m=f}else{var x=l(e),b=l(i),w=o[n?"minorTickInterval":"tickInterval"],T="auto"===w?null:w,L=o.tickPixelInterval/(n?5:1),P=n?a/r.tickPositions.length:a;t=u(T,r._minorAutoInterval,(b-x)*L/(P||1)),t=k(t,null,ue.pow(10,fe(ue.log(t)/ue.LN10))),h=bi(r.getLinearTickPositions(t,x,b),s),n||(r._minorAutoInterval=t/5)}return n||(r.tickInterval=t),h},getMinorTickPositions:function(){var t,e,i,n=this,r=n.tickPositions,o=n.minorTickInterval,a=[];if(n.isLog)for(i=r.length,e=1;i>e;e++)a=a.concat(n.getLogTickPositions(o,r[e-1],r[e],!0));else for(t=n.min+(r[0]-n.min)%o;t<=n.max;t+=o)a.push(t);return a},adjustForMinRange:function(){var t,e,i,n,r,o,a,s,l=this,h=l.options,d=l.min,p=l.max,g=l.dataMax-l.dataMin>=l.minRange;if(l.isXAxis&&l.minRange===V&&!l.isLog&&(c(h.min)||c(h.max)?l.minRange=null:(vi(l.series,function(t){for(r=t.xData,o=t.xIncrement?1:r.length-1,i=o;i>0;i--)n=r[i]-r[i-1],(e===V||e>n)&&(e=n)}),l.minRange=ye(5*e,l.dataMax-l.dataMin))),p-d<l.minRange){var f=l.minRange;t=(f-p+d)/2,a=[d-t,u(h.min,d-t)],g&&(a[2]=l.dataMin),d=A(a),s=[d+f,u(h.max,d+f)],g&&(s[2]=l.dataMax),p=S(s),f>p-d&&(a[0]=p-f,a[1]=u(h.min,p-f),d=A(a))}l.min=d,l.max=p},setAxisTranslation:function(){var t,e=this,i=e.max-e.min,n=0,r=0,o=0,a=e.linkedParent,s=e.transA;e.isXAxis&&(a?(r=a.minPointOffset,o=a.pointRangePadding):vi(e.series,function(e){var i=e.pointRange,a=e.options.pointPlacement,s=e.closestPointRange;n=ve(n,i),r=ve(r,a?0:i/2),o=ve(o,"on"===a?0:i),!e.noSharedTooltip&&c(s)&&(t=c(t)?ye(t,s):s)}),e.minPointOffset=r,e.pointRangePadding=o,e.pointRange=n,e.closestPointRange=t),e.oldTransA=s,e.translationSlope=e.transA=s=e.len/(i+o||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=s*r},setTickPositions:function(t){var e,i,n,r,o=this,a=o.chart,l=o.options,h=o.isLog,d=o.isDatetimeAxis,p=o.isXAxis,g=o.isLinked,f=o.options.tickPositioner,m=l.maxPadding,v=l.minPadding,y=l.tickInterval,x=l.minTickInterval,b=l.tickPixelInterval,L=o.categories;if(g?(o.linkedParent=a[p?"xAxis":"yAxis"][l.linkedTo],n=o.linkedParent.getExtremes(),o.min=u(n.min,n.dataMin),o.max=u(n.max,n.dataMax),l.type!==o.linkedParent.options.type&&I(11,1)):(o.min=u(o.userMin,l.min,o.dataMin),o.max=u(o.userMax,l.max,o.dataMax)),h&&(!t&&ye(o.min,u(o.dataMin,o.min))<=0&&I(10,1),o.min=B(s(o.min)),o.max=B(s(o.max))),o.range&&(o.userMin=o.min=ve(o.min,o.max-o.range),o.userMax=o.max,t&&(o.range=null)),o.adjustForMinRange(),L||o.usePercentage||g||!c(o.min)||!c(o.max)||(i=o.max-o.min||1,c(l.min)||c(o.userMin)||!v||!(o.dataMin<0)&&o.ignoreMinPadding||(o.min-=i*v),c(l.max)||c(o.userMax)||!m||!(o.dataMax>0)&&o.ignoreMaxPadding||(o.max+=i*m)),o.tickInterval=o.min===o.max||void 0===o.min||void 0===o.max?1:g&&!y&&b===o.linkedParent.options.tickPixelInterval?o.linkedParent.tickInterval:u(y,L?1:(o.max-o.min)*b/(o.len||1)),p&&!t&&vi(o.series,function(t){t.processData(o.min!==o.oldMin||o.max!==o.oldMax)}),o.setAxisTranslation(t),o.beforeSetTickPositions&&o.beforeSetTickPositions(),o.postProcessTickInterval&&(o.tickInterval=o.postProcessTickInterval(o.tickInterval)),!y&&o.tickInterval<x&&(o.tickInterval=x),d||h||(e=ue.pow(10,fe(ue.log(o.tickInterval)/ue.LN10)),y||(o.tickInterval=k(o.tickInterval,null,e,l))),o.minorTickInterval="auto"===l.minorTickInterval&&o.tickInterval?o.tickInterval/5:l.minorTickInterval,o.tickPositions=r=l.tickPositions||f&&f.apply(o,[o.min,o.max]),r||(r=d?(o.getNonLinearTimeTicks||T)(w(o.tickInterval,l.units),o.min,o.max,l.startOfWeek,o.ordinalPositions,o.closestPointRange,!0):h?o.getLogTickPositions(o.tickInterval,o.min,o.max):o.getLinearTickPositions(o.tickInterval,o.min,o.max),o.tickPositions=r),!g){var P=r[0],S=r[r.length-1],A=o.minPointOffset||0;l.startOnTick?o.min=P:o.min-A>P&&r.shift(),l.endOnTick?o.max=S:o.max+A<S&&r.pop()}},setMaxTicks:function(){var t=this.chart,e=t.maxTicks,i=this.tickPositions,n=this.xOrY;e||(e={x:0,y:0}),!this.isLinked&&!this.isDatetimeAxis&&i.length>e[n]&&this.options.alignTicks!==!1&&(e[n]=i.length),t.maxTicks=e},adjustTickAmount:function(){var t=this,e=t.chart,i=t.xOrY,n=t.tickPositions,r=e.maxTicks;if(r&&r[i]&&!t.isDatetimeAxis&&!t.categories&&!t.isLinked&&t.options.alignTicks!==!1){var o,a=t.tickAmount,s=n.length;if(t.tickAmount=o=r[i],o>s){for(;n.length<o;)n.push(B(n[n.length-1]+t.tickInterval));t.transA*=(s-1)/(o-1),t.max=n[n.length-1]}c(a)&&o!==a&&(t.isDirty=!0)}},setScale:function(){var t,e,i,n,r=this,o=r.stacks;if(r.oldMin=r.min,r.oldMax=r.max,r.oldAxisLength=r.len,r.setAxisSize(),n=r.len!==r.oldAxisLength,vi(r.series,function(t){(t.isDirtyData||t.isDirty||t.xAxis.isDirty)&&(i=!0)}),(n||i||r.isLinked||r.userMin!==r.oldUserMin||r.userMax!==r.oldUserMax)&&(r.getSeriesExtremes(),r.setTickPositions(),r.oldUserMin=r.userMin,r.oldUserMax=r.userMax,r.isDirty||(r.isDirty=n||r.min!==r.oldMin||r.max!==r.oldMax)),!r.isXAxis)for(t in o)for(e in o[t])o[t][e].cum=o[t][e].total;r.setMaxTicks()},setExtremes:function(e,i,n,r,o){var a=this,s=a.chart;n=u(n,!0),o=t(o,{min:e,max:i}),Li(a,"setExtremes",o,function(){a.userMin=e,a.userMax=i,a.isDirtyExtremes=!0,n&&s.redraw(r)})},zoom:function(t,e){return this.setExtremes(t,e,!1,V,{trigger:"zoom"}),!0},setAxisSize:function(){var t=this,e=t.chart,i=t.options,n=i.offsetLeft||0,r=i.offsetRight||0;t.left=u(i.left,e.plotLeft+n),t.top=u(i.top,e.plotTop),t.width=u(i.width,e.plotWidth-n+r),t.height=u(i.height,e.plotHeight),t.bottom=e.chartHeight-t.height-t.top,t.right=e.chartWidth-t.width-t.left,t.len=ve(t.horiz?t.width:t.height,0)},getExtremes:function(){var t=this,e=t.isLog;return{min:e?B(l(t.min)):t.min,max:e?B(l(t.max)):t.max,dataMin:t.dataMin,dataMax:t.dataMax,userMin:t.userMin,userMax:t.userMax}},getThreshold:function(t){var e=this,i=e.isLog,n=i?l(e.min):e.min,r=i?l(e.max):e.max;return n>t||null===t?t=n:t>r&&(t=r),e.translate(t,0,1,0,1)},addPlotBandOrLine:function(t){var e=new E(this,t).render();return this.plotLinesAndBands.push(e),e},getOffset:function(){var t,e,i,n,r=this,o=r.chart,a=o.renderer,s=r.options,l=r.tickPositions,h=r.ticks,d=r.horiz,p=r.side,g=0,f=0,m=s.title,v=s.labels,y=0,x=o.axisOffset,b=[-1,1,1,-1][p];if(r.hasData=t=r.hasVisibleSeries||c(r.min)&&c(r.max)&&!!l,r.showAxis=e=t||u(s.showEmpty,!0),r.axisGroup||(r.gridGroup=a.g("grid").attr({zIndex:s.gridZIndex||1}).add(),r.axisGroup=a.g("axis").attr({zIndex:s.zIndex||2}).add(),r.labelGroup=a.g("axis-labels").attr({zIndex:v.zIndex||7}).add()),t||r.isLinked)vi(l,function(t){h[t]?h[t].addLabel():h[t]=new W(r,t)}),vi(l,function(t){(0===p||2===p||{1:"left",3:"right"}[p]===v.align)&&(y=ve(h[t].getLabelSize(),y))}),r.staggerLines&&(y+=16*(r.staggerLines-1));else for(n in h)h[n].destroy(),delete h[n];m&&m.text&&(r.axisTitle||(r.axisTitle=a.text(m.text,0,0,m.useHTML).attr({zIndex:7,rotation:m.rotation||0,align:m.textAlign||{low:"left",middle:"center",high:"right"}[m.align]}).css(m.style).add(r.axisGroup),r.axisTitle.isNew=!0),e&&(g=r.axisTitle.getBBox()[d?"height":"width"],f=u(m.margin,d?5:10),i=m.offset),r.axisTitle[e?"show":"hide"]()),r.offset=b*u(s.offset,x[p]),r.axisTitleMargin=u(i,y+f+(2!==p&&y&&b*s.labels[d?"y":"x"])),x[p]=ve(x[p],r.axisTitleMargin+g+b*r.offset)},getLinePath:function(t){var e=this.chart,i=this.opposite,n=this.offset,r=this.horiz,o=this.left+(i?this.width:0)+n,a=e.chartHeight-this.bottom-(i?this.height:0)+n;return this.lineTop=a,e.renderer.crispLine([Ze,r?this.left:o,r?a:this.top,Ue,r?e.chartWidth-this.right:o,r?a:e.chartHeight-this.bottom],t)},getTitlePosition:function(){var t=this.horiz,e=this.left,n=this.top,r=this.len,o=this.options.title,a=t?e:n,s=this.opposite,l=this.offset,h=i(o.style.fontSize||12),c={low:a+(t?0:r),middle:a+r/2,high:a+(t?r:0)}[o.align],d=(t?n+this.height:e)+(t?1:-1)*(s?-1:1)*this.axisTitleMargin+(2===this.side?h:0);return{x:t?c:d+(s?this.width:0)+l+(o.x||0),y:t?d-(s?this.height:0)+l:c+(o.y||0)}},render:function(){var t,e,i,n=this,r=n.chart,o=r.renderer,a=n.options,s=n.isLog,h=n.isLinked,d=n.tickPositions,p=n.axisTitle,u=n.stacks,g=n.ticks,f=n.minorTicks,m=n.alternateBands,v=a.stackLabels,y=a.alternateGridColor,x=n.tickmarkOffset,b=a.lineWidth,k=r.hasRendered,w=k&&c(n.oldMin)&&!isNaN(n.oldMin),T=n.hasData,L=n.showAxis;if((T||h)&&(n.minorTickInterval&&!n.categories&&vi(n.getMinorTickPositions(),function(t){f[t]||(f[t]=new W(n,t,"minor")),w&&f[t].isNew&&f[t].render(null,!0),f[t].isActive=!0,f[t].render()}),vi(d.slice(1).concat([d[0]]),function(t,e){e=e===d.length-1?0:e+1,(!h||t>=n.min&&t<=n.max)&&(g[t]||(g[t]=new W(n,t)),w&&g[t].isNew&&g[t].render(e,!0),g[t].isActive=!0,g[t].render(e))}),y&&vi(d,function(t,r){0===r%2&&t<n.max&&(m[t]||(m[t]=new E(n)),e=t+x,i=d[r+1]!==V?d[r+1]+x:n.max,m[t].options={from:s?l(e):e,to:s?l(i):i,color:y},m[t].render(),m[t].isActive=!0)}),n._addedPlotLB||(vi((a.plotLines||[]).concat(a.plotBands||[]),function(t){n.addPlotBandOrLine(t)}),n._addedPlotLB=!0)),vi([g,f,m],function(t){var e;for(e in t)t[e].isActive?t[e].isActive=!1:(t[e].destroy(),delete t[e])}),b&&(t=n.getLinePath(b),n.axisLine?n.axisLine.animate({d:t}):n.axisLine=o.path(t).attr({stroke:a.lineColor,"stroke-width":b,zIndex:7}).add(n.axisGroup),n.axisLine[L?"show":"hide"]()),p&&L&&(p[p.isNew?"attr":"animate"](n.getTitlePosition()),p.isNew=!1),v&&v.enabled){var P,S,A,C=n.stackTotalGroup;C||(n.stackTotalGroup=C=o.g("stack-labels").attr({visibility:Ye,zIndex:6}).add()),C.translate(r.plotLeft,r.plotTop);for(P in u){S=u[P];for(A in S)S[A].render(C)}}n.isDirty=!1},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,i=e.length;i--;)e[i].id===t&&e[i].destroy()},setTitle:function(t,e){var i=this.chart,n=this.options,r=this.axisTitle;n.title=ki(n.title,t),this.axisTitle=r&&r.destroy(),this.isDirty=!0,u(e,!0)&&i.redraw()},redraw:function(){var t=this,e=t.chart;e.tracker.resetTracker&&e.tracker.resetTracker(!0),t.render(),vi(t.plotLinesAndBands,function(t){t.render()}),vi(t.series,function(t){t.isDirty=!0})},setCategories:function(t,e){var i=this,n=i.chart;i.categories=i.userOptions.categories=t,vi(i.series,function(t){t.translate(),t.setTooltipPoints(!0)}),i.isDirty=!0,u(e,!0)&&n.redraw()},destroy:function(){var t,e=this,i=e.stacks;Ti(e);for(t in i)C(i[t]),i[t]=null;vi([e.ticks,e.minorTicks,e.alternateBands,e.plotLinesAndBands],function(t){C(t)}),vi(["stackTotalGroup","axisLine","axisGroup","gridGroup","labelGroup","axisTitle"],function(t){e[t]&&(e[t]=e[t].destroy())})}},N.prototype={destroy:function(){vi(this.crosshairs,function(t){t&&t.destroy()}),this.label&&(this.label=this.label.destroy())},move:function(e,i,n,r){var o=this,a=o.now,s=o.options.animation!==!1&&!o.isHidden;t(a,{x:s?(2*a.x+e)/3:e,y:s?(a.y+i)/2:i,anchorX:s?(2*a.anchorX+n)/3:n,anchorY:s?(a.anchorY+r)/2:r}),o.label.attr(a),s&&(xe(e-a.x)>1||xe(i-a.y)>1)&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){o&&o.move(e,i,n,r)},32))},hide:function(){if(!this.isHidden){var t=this.chart.hoverPoints;this.label.hide(),t&&vi(t,function(t){t.setState()}),this.chart.hoverPoints=null,this.isHidden=!0}},hideCrosshairs:function(){vi(this.crosshairs,function(t){t&&t.hide()})},getAnchor:function(t,e){var i,n,r=this.chart,o=r.inverted,a=0,s=0;return t=p(t),i=t[0].tooltipPos,i||(vi(t,function(t){n=t.series.yAxis,a+=t.plotX,s+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!o&&n?n.top-r.plotTop:0)}),a/=t.length,s/=t.length,i=[o?r.plotWidth-s:a,this.shared&&!o&&t.length>1&&e?e.chartY-r.plotTop:o?r.plotHeight-a:s]),bi(i,ge)},getPosition:function(t,e,i){var n,r=this.chart,o=r.plotLeft,a=r.plotTop,s=r.plotWidth,l=r.plotHeight,h=u(this.options.distance,12),c=i.plotX,d=i.plotY,p=c+o+(r.inverted?h:-t-h),g=d-e+a+15;return 7>p&&(p=o+ve(c,0)+h),p+t>o+s&&(p-=p+t-(o+s),g=d-e+a-h,n=!0),a+5>g&&(g=a+5,n&&d>=g&&g+e>=d&&(g=d+a+h)),g+e>a+l&&(g=ve(a,a+l-e-h)),{x:p,y:g}},refresh:function(t,e){function i(){var t,e=this,i=e.points||p(e),n=i[0].series;return t=[n.tooltipHeaderFormatter(i[0].key)],vi(i,function(e){n=e.series,t.push(n.tooltipFormatter&&n.tooltipFormatter(e)||e.point.tooltipFormatter(n.tooltipOptions.pointFormat))}),t.push(m.footerFormat||""),t.join("")}var n,r,o,a,s,l,h,c,d=this,g=d.chart,f=d.label,m=d.options,v={},y=[],x=m.formatter||i,b=g.hoverPoints,k=m.crosshairs,w=d.shared;if(a=d.getAnchor(t,e),n=a[0],r=a[1],!w||t.series&&t.series.noSharedTooltip?v=t.getLabelConfig():(g.hoverPoints=t,b&&vi(b,function(t){t.setState()}),vi(t,function(t){t.setState($e),y.push(t.getLabelConfig())}),v={x:t[0].category,y:t[0].y},v.points=y,t=t[0]),s=x.call(v),c=t.series,o=w||!c.isCartesian||c.tooltipOutsidePlot||g.isInsidePlot(n,r),s!==!1&&o?(d.isHidden&&f.show(),f.attr({text:s}),h=m.borderColor||t.color||c.color||"#606060",f.attr({stroke:h}),l=(m.positioner||d.getPosition).call(d,f.width,f.height,{plotX:n,plotY:r}),d.move(ge(l.x),ge(l.y),n+g.plotLeft,r+g.plotTop),d.isHidden=!1):this.hide(),k){k=p(k);
11
+ for(var T,L,P,S=k.length;S--;)P=t.series[S?"yAxis":"xAxis"],k[S]&&P&&(T=P.getPlotLinePath(S?u(t.stackY,t.y):t.x,1),d.crosshairs[S]?d.crosshairs[S].attr({d:T,visibility:Ye}):(L={"stroke-width":k[S].width||1,stroke:k[S].color||"#C0C0C0",zIndex:k[S].zIndex||2},k[S].dashStyle&&(L.dashstyle=k[S].dashStyle),d.crosshairs[S]=g.renderer.path(T).attr(L).add()))}Li(g,"tooltipRefresh",{text:s,x:n+g.plotLeft,y:r+g.plotTop,borderColor:h})}},F.prototype={normalizeMouseEvent:function(e){var i,n,r,o;return e=e||pe.event,e.target||(e.target=e.srcElement),e=Pi(e),o=e.touches?e.touches.item(0):e,this.chartPosition=i=xi(this.chart.container),o.pageX===V?(n=e.x,r=e.y):(n=o.pageX-i.left,r=o.pageY-i.top),t(e,{chartX:ge(n),chartY:ge(r)})},getMouseCoordinates:function(t){var e={xAxis:[],yAxis:[]},i=this.chart;return vi(i.axes,function(n){var r=n.isXAxis,o=i.inverted?!r:r;e[r?"xAxis":"yAxis"].push({axis:n,value:n.translate((o?t.chartX-i.plotLeft:n.top+n.len-t.chartY)-n.minPixelPadding,!0)})}),e},getIndex:function(t){var e=this.chart;return e.inverted?e.plotHeight+e.plotTop-t.chartY:t.chartX-e.plotLeft},onmousemove:function(t){var e,i,n,r,o=this,a=o.chart,s=a.series,l=a.tooltip,h=a.hoverPoint,c=a.hoverSeries,d=a.chartWidth,p=o.getIndex(t);if(l&&o.options.tooltip.shared&&(!c||!c.noSharedTooltip)){for(i=[],n=s.length,r=0;n>r;r++)s[r].visible&&s[r].options.enableMouseTracking!==!1&&!s[r].noSharedTooltip&&s[r].tooltipPoints.length&&(e=s[r].tooltipPoints[p],e._dist=xe(p-e[s[r].xAxis.tooltipPosName||"plotX"]),d=ye(d,e._dist),i.push(e));for(n=i.length;n--;)i[n]._dist>d&&i.splice(n,1);i.length&&i[0].plotX!==o.hoverX&&(l.refresh(i,t),o.hoverX=i[0].plotX)}c&&c.tracker&&(e=c.tooltipPoints[p],e&&e!==h&&e.onMouseOver())},resetTracker:function(t){var e=this,i=e.chart,n=i.hoverSeries,r=i.hoverPoint,o=i.tooltip,a=o&&o.shared?i.hoverPoints:r;t=t&&o&&a,t&&p(a)[0].plotX===V&&(t=!1),t?o.refresh(a):(r&&r.onMouseOut(),n&&n.onMouseOut(),o&&(o.hide(),o.hideCrosshairs()),e.hoverX=null)},setDOMEvents:function(){function e(){if(r.selectionMarker){var t,n={xAxis:[],yAxis:[]},s=r.selectionMarker.getBBox(),l=s.x-o.plotLeft,h=s.y-o.plotTop;i&&(vi(o.axes,function(e){if(e.options.zoomEnabled!==!1){var i=e.isXAxis,r=o.inverted?!i:i,a=e.translate(r?l:o.plotHeight-h-s.height,!0,0,0,1),c=e.translate((r?l+s.width:o.plotHeight-h)-2*e.minPixelPadding,!0,0,0,1);isNaN(a)||isNaN(c)||(n[i?"xAxis":"yAxis"].push({axis:e,min:ye(a,c),max:ve(a,c)}),t=!0)}}),t&&Li(o,"selection",n,function(t){o.zoom(t)})),r.selectionMarker=r.selectionMarker.destroy()}o&&(g(a,{cursor:"auto"}),o.cancelClick=i,o.mouseIsDown=i=!1),Ti(de,Oe?"touchend":"mouseup",e)}var i,n=!0,r=this,o=r.chart,a=o.container,s=r.zoomX&&!o.inverted||r.zoomY&&o.inverted,l=r.zoomY&&!o.inverted||r.zoomX&&o.inverted;r.hideTooltipOnMouseMove=function(t){t=Pi(t),r.chartPosition&&o.hoverSeries&&o.hoverSeries.isCartesian&&!o.isInsidePlot(t.pageX-r.chartPosition.left-o.plotLeft,t.pageY-r.chartPosition.top-o.plotTop)&&r.resetTracker()},r.hideTooltipOnMouseLeave=function(){r.resetTracker(),r.chartPosition=null},a.onmousedown=function(t){t=r.normalizeMouseEvent(t),!Oe&&t.preventDefault&&t.preventDefault(),o.mouseIsDown=!0,o.cancelClick=!1,o.mouseDownX=r.mouseDownX=t.chartX,r.mouseDownY=t.chartY,wi(de,Oe?"touchend":"mouseup",e)};var h=function(t){if(!(t&&t.touches&&t.touches.length>1)){t=r.normalizeMouseEvent(t),Oe||(t.returnValue=!1);var e=t.chartX,a=t.chartY,h=!o.isInsidePlot(e-o.plotLeft,a-o.plotTop);if(Oe&&"touchstart"===t.type&&(d(t.target,"isTracker")?o.runTrackerClick||t.preventDefault():o.runChartClick||h||t.preventDefault()),h&&(e<o.plotLeft?e=o.plotLeft:e>o.plotLeft+o.plotWidth&&(e=o.plotLeft+o.plotWidth),a<o.plotTop?a=o.plotTop:a>o.plotTop+o.plotHeight&&(a=o.plotTop+o.plotHeight)),o.mouseIsDown&&"touchstart"!==t.type&&(i=Math.sqrt(Math.pow(r.mouseDownX-e,2)+Math.pow(r.mouseDownY-a,2)),i>10)){var c=o.isInsidePlot(r.mouseDownX-o.plotLeft,r.mouseDownY-o.plotTop);if(o.hasCartesianSeries&&(r.zoomX||r.zoomY)&&c&&(r.selectionMarker||(r.selectionMarker=o.renderer.rect(o.plotLeft,o.plotTop,s?1:o.plotWidth,l?1:o.plotHeight,0).attr({fill:r.options.chart.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add())),r.selectionMarker&&s){var p=e-r.mouseDownX;r.selectionMarker.attr({width:xe(p),x:(p>0?0:p)+r.mouseDownX})}if(r.selectionMarker&&l){var u=a-r.mouseDownY;r.selectionMarker.attr({height:xe(u),y:(u>0?0:u)+r.mouseDownY})}c&&!r.selectionMarker&&r.options.chart.panning&&o.pan(e)}return h||r.onmousemove(t),n=h,h||!o.hasCartesianSeries}};a.onmousemove=h,wi(a,"mouseleave",r.hideTooltipOnMouseLeave),wi(de,"mousemove",r.hideTooltipOnMouseMove),a.ontouchstart=function(t){(r.zoomX||r.zoomY)&&a.onmousedown(t),h(t)},a.ontouchmove=h,a.ontouchend=function(){i&&r.resetTracker()},a.onclick=function(e){var i,n,a=o.hoverPoint;e=r.normalizeMouseEvent(e),e.cancelBubble=!0,o.cancelClick||(a&&(d(e.target,"isTracker")||d(e.target.parentNode,"isTracker"))?(i=a.plotX,n=a.plotY,t(a,{pageX:r.chartPosition.left+o.plotLeft+(o.inverted?o.plotWidth-n:i),pageY:r.chartPosition.top+o.plotTop+(o.inverted?o.plotHeight-i:n)}),Li(a.series,"click",t(e,{point:a})),a.firePointEvent("click",e)):(t(e,r.getMouseCoordinates(e)),o.isInsidePlot(e.chartX-o.plotLeft,e.chartY-o.plotTop)&&Li(o,"click",e)))}},destroy:function(){var t=this,e=t.chart,i=e.container;e.trackerGroup&&(e.trackerGroup=e.trackerGroup.destroy()),Ti(i,"mouseleave",t.hideTooltipOnMouseLeave),Ti(de,"mousemove",t.hideTooltipOnMouseMove),i.onclick=i.onmousedown=i.onmousemove=i.ontouchstart=i.ontouchend=i.ontouchmove=null,clearInterval(this.tooltipTimeout)},init:function(t,e){t.trackerGroup||(t.trackerGroup=t.renderer.g("tracker").attr({zIndex:9}).add()),e.enabled&&(t.tooltip=new N(t,e)),this.setDOMEvents()}},Y.prototype={init:function(t){var e=this,n=e.options=t.options.legend;if(n.enabled){var r=n.itemStyle,o=u(n.padding,8),a=n.itemMarginTop||0;e.baseline=i(r.fontSize)+3+a,e.itemStyle=r,e.itemHiddenStyle=ki(r,n.itemHiddenStyle),e.itemMarginTop=a,e.padding=o,e.initialItemX=o,e.initialItemY=o-5,e.maxItemWidth=0,e.chart=t,e.itemHeight=0,e.lastLineHeight=0,e.render(),wi(e.chart,"endResize",function(){e.positionCheckboxes()})}},colorizeItem:function(t,e){var i,n,r=this,o=r.options,a=t.legendItem,s=t.legendLine,l=t.legendSymbol,h=r.itemHiddenStyle.color,c=e?o.itemStyle.color:h,d=e?t.color:h,p=t.options&&t.options.marker,u={stroke:d,fill:d};if(a&&a.css({fill:c}),s&&s.attr({stroke:d}),l){if(p){p=t.convertAttribs(p);for(i in p)n=p[i],n!==V&&(u[i]=n)}l.attr(u)}},positionItem:function(t){var e=this,i=e.options,n=i.symbolPadding,r=!i.rtl,o=t._legendItemPos,a=o[0],s=o[1],l=t.checkbox;t.legendGroup&&t.legendGroup.translate(r?a:e.legendWidth-a-2*n-4,s),l&&(l.x=a,l.y=s)},destroyItem:function(t){var e=t.checkbox;vi(["legendItem","legendLine","legendSymbol","legendGroup"],function(e){t[e]&&t[e].destroy()}),e&&M(t.checkbox)},destroy:function(){var t=this,e=t.group,i=t.box;i&&(t.box=i.destroy()),e&&(t.group=e.destroy())},positionCheckboxes:function(){var t=this;vi(t.allItems,function(e){var i=e.checkbox,n=t.group.alignAttr;i&&g(i,{left:n.translateX+e.legendItemWidth+i.x-20+je,top:n.translateY+i.y+3+je})})},renderItem:function(t){var e,i,n,r=this,o=r.chart,a=o.renderer,s=r.options,l="horizontal"===s.layout,h=s.symbolWidth,c=s.symbolPadding,d=r.itemStyle,p=r.itemHiddenStyle,u=r.padding,g=!s.rtl,m=s.width,v=s.itemMarginBottom||0,y=r.itemMarginTop,x=r.initialItemX,b=t.legendItem,k=t.series||t,w=k.options,T=w.showCheckbox;b||(t.legendGroup=a.g("legend-item").attr({zIndex:1}).add(r.scrollGroup),k.drawLegendSymbol(r,t),t.legendItem=b=a.text(s.labelFormatter.call(t),g?h+c:-c,r.baseline,s.useHTML).css(ki(t.visible?d:p)).attr({align:g?"left":"right",zIndex:2}).add(t.legendGroup),t.legendGroup.on("mouseover",function(){t.setState($e),b.css(r.options.itemHoverStyle)}).on("mouseout",function(){b.css(t.visible?d:p),t.setState()}).on("click",function(e){var i="legendItemClick",n=function(){t.setVisible()};e={browserEvent:e},t.firePointEvent?t.firePointEvent(i,e,n):Li(t,i,e,n)}),r.colorizeItem(t,t.visible),w&&T&&(t.checkbox=f("input",{type:"checkbox",checked:t.selected,defaultChecked:t.selected},s.itemCheckboxStyle,o.container),wi(t.checkbox,"click",function(e){var i=e.target;Li(t,"checkboxClick",{checked:i.checked},function(){t.select()})}))),i=b.getBBox(),n=t.legendItemWidth=s.itemWidth||h+c+i.width+u+(T?20:0),r.itemHeight=e=i.height,l&&r.itemX-x+n>(m||o.chartWidth-2*u-x)&&(r.itemX=x,r.itemY+=y+r.lastLineHeight+v,r.lastLineHeight=0),r.maxItemWidth=ve(r.maxItemWidth,n),r.lastItemY=y+r.itemY+v,r.lastLineHeight=ve(e,r.lastLineHeight),t._legendItemPos=[r.itemX,r.itemY],l?r.itemX+=n:(r.itemY+=y+e+v,r.lastLineHeight=e),r.offsetWidth=m||ve(l?r.itemX-x:n,r.offsetWidth)},render:function(){var e,i,n,r,o=this,a=o.chart,s=a.renderer,l=o.group,h=o.box,c=o.options,d=o.padding,p=c.borderWidth,u=c.backgroundColor;o.itemX=o.initialItemX,o.itemY=o.initialItemY,o.offsetWidth=0,o.lastItemY=0,l||(o.group=l=s.g("legend").attr({zIndex:7}).add(),o.contentGroup=s.g().attr({zIndex:1}).add(l),o.scrollGroup=s.g().add(o.contentGroup),o.clipRect=s.clipRect(0,0,9999,a.chartHeight),o.contentGroup.clip(o.clipRect)),e=[],vi(a.series,function(t){var i=t.options;i.showInLegend&&(e=e.concat(t.legendItems||("point"===i.legendType?t.data:t)))}),P(e,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),c.reversed&&e.reverse(),o.allItems=e,o.display=i=!!e.length,vi(e,function(t){o.renderItem(t)}),n=c.width||o.offsetWidth,r=o.lastItemY+o.lastLineHeight,r=o.handleOverflow(r),(p||u)&&(n+=d,r+=d,h?n>0&&r>0&&(h[h.isNew?"attr":"animate"](h.crisp(null,null,null,n,r)),h.isNew=!1):(o.box=h=s.rect(0,0,n,r,c.borderRadius,p||0).attr({stroke:c.borderColor,"stroke-width":p||0,fill:u||Ve}).add(l).shadow(c.shadow),h.isNew=!0),h[i?"show":"hide"]()),o.legendWidth=n,o.legendHeight=r,vi(e,function(t){o.positionItem(t)}),i&&l.align(t({width:n,height:r},c),!0,a.spacingBox),a.isResizing||this.positionCheckboxes()},handleOverflow:function(t){var e,i,n=this,r=this.chart,o=r.renderer,a=this.options,s=a.y,l="top"===a.verticalAlign,h=r.spacingBox.height+(l?-s:s)-this.padding,c=a.maxHeight,d=this.clipRect,p=a.navigation,g=u(p.animation,!0),f=p.arrowSize||12,m=this.nav;return"horizontal"===a.layout&&(h/=2),c&&(h=ye(h,c)),t>h?(this.clipHeight=i=h-20,this.pageCount=e=me(t/i),this.currentPage=u(this.currentPage,1),this.fullHeight=t,d.attr({height:i}),m||(this.nav=m=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,f,f).on("click",function(){n.scroll(-1,g)}).add(m),this.pager=o.text("",15,10).css(p.style).add(m),this.down=o.symbol("triangle-down",0,0,f,f).on("click",function(){n.scroll(1,g)}).add(m)),n.scroll(0),t=h):m&&(d.attr({height:r.chartHeight}),m.hide(),this.scrollGroup.attr({translateY:1})),t},scroll:function(t,e){var i=this.pageCount,n=this.currentPage+t,r=this.clipHeight,o=this.options.navigation,a=o.activeColor,s=o.inactiveColor,l=this.pager,h=this.padding;n>i&&(n=i),n>0&&(e!==V&&D(e,this.chart),this.nav.attr({translateX:h,translateY:r+7,visibility:Ye}),this.up.attr({fill:1===n?s:a}).css({cursor:1===n?"default":"pointer"}),l.attr({text:n+"/"+this.pageCount}),this.down.attr({x:18+this.pager.getBBox().width,fill:n===i?s:a}).css({cursor:n===i?"default":"pointer"}),this.scrollGroup.animate({translateY:-ye(r*(n-1),this.fullHeight-r+h)+1}),l.attr({text:n+"/"+i}),this.currentPage=n)}},j.prototype={initSeries:function(t){var e=this,i=e.options.chart,n=t.type||i.type||i.defaultSeriesType,r=new di[n];return r.init(this,t),r},addSeries:function(t,e,i){var n,r=this;return t&&(D(i,r),e=u(e,!0),Li(r,"addSeries",{options:t},function(){n=r.initSeries(t),r.isDirtyLegend=!0,e&&r.redraw()})),n},isInsidePlot:function(t,e,i){var n=i?e:t,r=i?t:e;return n>=0&&n<=this.plotWidth&&r>=0&&r<=this.plotHeight},adjustTickAmounts:function(){this.options.chart.alignTicks!==!1&&vi(this.axes,function(t){t.adjustTickAmount()}),this.maxTicks=null},redraw:function(t){var e,i,n=this,r=n.axes,o=n.series,a=n.tracker,s=n.legend,l=n.isDirtyLegend,h=n.isDirtyBox,c=o.length,d=c,p=n.renderer,u=p.isHidden(),g=[];for(D(t,n),u&&n.cloneRenderTo();d--;)if(i=o[d],i.isDirty&&i.options.stacking){e=!0;break}if(e)for(d=c;d--;)i=o[d],i.options.stacking&&(i.isDirty=!0);vi(o,function(t){t.isDirty&&"point"===t.options.legendType&&(l=!0)}),l&&s.options.enabled&&(s.render(),n.isDirtyLegend=!1),n.hasCartesianSeries&&(n.isResizing||(n.maxTicks=null,vi(r,function(t){t.setScale()})),n.adjustTickAmounts(),n.getMargins(),vi(r,function(t){t.isDirtyExtremes&&(t.isDirtyExtremes=!1,g.push(function(){Li(t,"afterSetExtremes",t.getExtremes())})),(t.isDirty||h||e)&&(t.redraw(),h=!0)})),h&&n.drawChartBox(),vi(o,function(t){t.isDirty&&t.visible&&(!t.isCartesian||t.xAxis)&&t.redraw()}),a&&a.resetTracker&&a.resetTracker(!0),p.draw(),Li(n,"redraw"),u&&n.cloneRenderTo(!0),vi(g,function(t){t.call()})},showLoading:function(e){var i=this,n=i.options,r=i.loadingDiv,o=n.loading;r||(i.loadingDiv=r=f(Ee,{className:Fe+"loading"},t(o.style,{left:i.plotLeft+je,top:i.plotTop+je,width:i.plotWidth+je,height:i.plotHeight+je,zIndex:10,display:Ve}),i.container),i.loadingSpan=f("span",null,o.labelStyle,r)),i.loadingSpan.innerHTML=e||n.lang.loading,i.loadingShown||(g(r,{opacity:0,display:""}),Si(r,{opacity:o.style.opacity},{duration:o.showDuration||0}),i.loadingShown=!0)},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&Si(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){g(e,{display:Ve})}}),this.loadingShown=!1},get:function(t){var e,i,n,r=this,o=r.axes,a=r.series;for(e=0;e<o.length;e++)if(o[e].options.id===t)return o[e];for(e=0;e<a.length;e++)if(a[e].options.id===t)return a[e];for(e=0;e<a.length;e++)for(n=a[e].points||[],i=0;i<n.length;i++)if(n[i].id===t)return n[i];return null},getAxes:function(){var t,e,i=this,n=this.options,r=n.xAxis||{},o=n.yAxis||{};r=p(r),vi(r,function(t,e){t.index=e,t.isX=!0}),o=p(o),vi(o,function(t,e){t.index=e}),t=r.concat(o),vi(t,function(t){e=new X(i,t)}),i.adjustTickAmounts()},getSelectedPoints:function(){var t=[];return vi(this.series,function(e){t=t.concat(yi(e.points,function(t){return t.selected}))}),t},getSelectedSeries:function(){return yi(this.series,function(t){return t.selected})},showResetZoom:function(){var t=this,e=_.lang,i=t.options.chart.resetZoomButton,n=i.theme,r=n.states,o="chart"===i.relativeTo?null:"plotBox";this.resetZoomButton=t.renderer.button(e.resetZoom,null,null,function(){t.zoomOut()},n,r&&r.hover).attr({align:i.position.align,title:e.resetZoomTitle}).add().align(i.position,!1,t[o]),this.resetZoomButton.alignTo=o},zoomOut:function(){var t=this,e=t.resetZoomButton;Li(t,"selection",{resetSelection:!0},function(){t.zoom()}),e&&(t.resetZoomButton=e.destroy())},zoom:function(t){var e,i=this;!t||t.resetSelection?vi(i.axes,function(t){e=t.zoom()}):vi(t.xAxis.concat(t.yAxis),function(t){var n=t.axis;i.tracker[n.isXAxis?"zoomX":"zoomY"]&&(e=n.zoom(t.min,t.max))}),i.resetZoomButton||i.showResetZoom(),e&&i.redraw(u(i.options.chart.animation,i.pointCount<100))},pan:function(t){var e=this,i=e.xAxis[0],n=e.mouseDownX,r=i.pointRange/2,o=i.getExtremes(),a=i.translate(n-t,!0)+r,s=i.translate(n+e.plotWidth-t,!0)-r,l=e.hoverPoints;l&&vi(l,function(t){t.setState()}),i.series.length&&a>ye(o.dataMin,o.min)&&s<ve(o.dataMax,o.max)&&i.setExtremes(a,s,!0,!1,{trigger:"pan"}),e.mouseDownX=t,g(e.container,{cursor:"move"})},setTitle:function(t,e){var i,n,r=this,o=r.options;r.chartTitleOptions=i=ki(o.title,t),r.chartSubtitleOptions=n=ki(o.subtitle,e),vi([["title",t,i],["subtitle",e,n]],function(t){var e=t[0],i=r[e],n=t[1],o=t[2];i&&n&&(r[e]=i=i.destroy()),o&&o.text&&!i&&(r[e]=r.renderer.text(o.text,0,0,o.useHTML).attr({align:o.align,"class":Fe+e,zIndex:o.zIndex||4}).css(o.style).add().align(o,!1,r.spacingBox))})},getChartSize:function(){var t=this,e=t.options.chart,i=t.renderToClone||t.renderTo;t.containerWidth=gi(i,"width"),t.containerHeight=gi(i,"height"),t.chartWidth=e.width||t.containerWidth||600,t.chartHeight=e.height||(t.containerHeight>19?t.containerHeight:400)},cloneRenderTo:function(t){var e=this.renderToClone,i=this.container;t?e&&(this.renderTo.appendChild(i),M(e),delete this.renderToClone):(i&&this.renderTo.removeChild(i),this.renderToClone=e=this.renderTo.cloneNode(0),g(e,{position:Ge,top:"-9999px",display:"block"}),de.body.appendChild(e),i&&e.appendChild(i))},getContainer:function(){var e,i,r,o,a,s=this,l=s.options.chart;s.renderTo=o=l.renderTo,a=Fe+He++,n(o)&&(s.renderTo=o=de.getElementById(o)),o||I(13,!0),o.innerHTML="",o.offsetWidth||s.cloneRenderTo(),s.getChartSize(),i=s.chartWidth,r=s.chartHeight,s.container=e=f(Ee,{className:Fe+"container"+(l.className?" "+l.className:""),id:a},t({position:Xe,overflow:Ne,width:i+je,height:r+je,textAlign:"left",lineHeight:"normal",zIndex:0},l.style),s.renderToClone||o),s.renderer=l.forExport?new Di(e,i,r,!0):new Z(e,i,r),ze&&s.renderer.create(s,e,i,r)},getMargins:function(){var t,e,i=this,n=i.options.chart,r=n.spacingTop,o=n.spacingRight,a=n.spacingBottom,s=n.spacingLeft,l=i.legend,h=i.optionsMarginTop,d=i.optionsMarginLeft,p=i.optionsMarginRight,g=i.optionsMarginBottom,f=i.chartTitleOptions,m=i.chartSubtitleOptions,v=i.options.legend,y=u(v.margin,10),x=v.x,b=v.y,k=v.align,w=v.verticalAlign;i.resetMargins(),t=i.axisOffset,!i.title&&!i.subtitle||c(i.optionsMarginTop)||(e=ve(i.title&&!f.floating&&!f.verticalAlign&&f.y||0,i.subtitle&&!m.floating&&!m.verticalAlign&&m.y||0),e&&(i.plotTop=ve(i.plotTop,e+u(f.margin,15)+r))),l.display&&!v.floating&&("right"===k?c(p)||(i.marginRight=ve(i.marginRight,l.legendWidth-x+y+o)):"left"===k?c(d)||(i.plotLeft=ve(i.plotLeft,l.legendWidth+x+y+s)):"top"===w?c(h)||(i.plotTop=ve(i.plotTop,l.legendHeight+b+y+r)):"bottom"===w&&(c(g)||(i.marginBottom=ve(i.marginBottom,l.legendHeight-b+y+a)))),i.extraBottomMargin&&(i.marginBottom+=i.extraBottomMargin),i.extraTopMargin&&(i.plotTop+=i.extraTopMargin),i.hasCartesianSeries&&vi(i.axes,function(t){t.getOffset()}),c(d)||(i.plotLeft+=t[3]),c(h)||(i.plotTop+=t[0]),c(g)||(i.marginBottom+=t[2]),c(p)||(i.marginRight+=t[1]),i.setChartSize()},initReflow:function(){function t(t){var o=n.width||gi(r,"width"),a=n.height||gi(r,"height"),s=t?t.target:pe;o&&a&&(s===pe||s===de)&&((o!==i.containerWidth||a!==i.containerHeight)&&(clearTimeout(e),i.reflowTimeout=e=setTimeout(function(){i.container&&i.resize(o,a,!1)},100)),i.containerWidth=o,i.containerHeight=a)}var e,i=this,n=i.options.chart,r=i.renderTo;wi(pe,"resize",t),wi(i,"destroy",function(){Ti(pe,"resize",t)})},resize:function(t,e,i){var n,r,o,a,s=this,l=s.resetZoomButton,h=s.title,d=s.subtitle;s.isResizing+=1,a=function(){s&&Li(s,"endResize",null,function(){s.isResizing-=1})},D(i,s),s.oldChartHeight=s.chartHeight,s.oldChartWidth=s.chartWidth,c(t)&&(s.chartWidth=n=ge(t)),c(e)&&(s.chartHeight=r=ge(e)),g(s.container,{width:n+je,height:r+je}),s.renderer.setSize(n,r,i),s.plotWidth=n-s.plotLeft-s.marginRight,s.plotHeight=r-s.plotTop-s.marginBottom,s.maxTicks=null,vi(s.axes,function(t){t.isDirty=!0,t.setScale()}),vi(s.series,function(t){t.isDirty=!0}),s.isDirtyLegend=!0,s.isDirtyBox=!0,s.getMargins(),o=s.spacingBox,h&&h.align(null,null,o),d&&d.align(null,null,o),l&&l.align&&l.align(null,null,s[l.alignTo]),s.redraw(i),s.oldChartHeight=null,Li(s,"resize"),$===!1?a():setTimeout(a,$&&$.duration||500)},setChartSize:function(){var t,e,i,n,r,o=this,a=o.inverted,s=o.chartWidth,l=o.chartHeight,h=o.options.chart,c=h.spacingTop,d=h.spacingRight,p=h.spacingBottom,u=h.spacingLeft;o.plotLeft=t=ge(o.plotLeft),o.plotTop=e=ge(o.plotTop),o.plotWidth=i=ge(s-t-o.marginRight),o.plotHeight=n=ge(l-e-o.marginBottom),o.plotSizeX=a?n:i,o.plotSizeY=a?i:n,o.plotBorderWidth=r=h.plotBorderWidth||0,o.spacingBox={x:u,y:c,width:s-u-d,height:l-c-p},o.plotBox={x:t,y:e,width:i,height:n},o.clipBox={x:r/2,y:r/2,width:o.plotSizeX-r,height:o.plotSizeY-r},vi(o.axes,function(t){t.setAxisSize(),t.setAxisTranslation()})},resetMargins:function(){var t=this,e=t.options.chart,i=e.spacingTop,n=e.spacingRight,r=e.spacingBottom,o=e.spacingLeft;t.plotTop=u(t.optionsMarginTop,i),t.marginRight=u(t.optionsMarginRight,n),t.marginBottom=u(t.optionsMarginBottom,r),t.plotLeft=u(t.optionsMarginLeft,o),t.axisOffset=[0,0,0,0]},drawChartBox:function(){var t,e,i=this,n=i.options.chart,r=i.renderer,o=i.chartWidth,a=i.chartHeight,s=i.chartBackground,l=i.plotBackground,h=i.plotBorder,c=i.plotBGImage,d=n.borderWidth||0,p=n.backgroundColor,u=n.plotBackgroundColor,g=n.plotBackgroundImage,f=n.plotBorderWidth||0,m=i.plotLeft,v=i.plotTop,y=i.plotWidth,x=i.plotHeight,b=i.plotBox,k=i.clipRect,w=i.clipBox;t=d+(n.shadow?8:0),(d||p)&&(s?s.animate(s.crisp(null,null,null,o-t,a-t)):(e={fill:p||Ve},d&&(e.stroke=n.borderColor,e["stroke-width"]=d),i.chartBackground=r.rect(t/2,t/2,o-t,a-t,n.borderRadius,d).attr(e).add().shadow(n.shadow))),u&&(l?l.animate(b):i.plotBackground=r.rect(m,v,y,x,0).attr({fill:u}).add().shadow(n.plotShadow)),g&&(c?c.animate(b):i.plotBGImage=r.image(g,m,v,y,x).add()),k?k.animate({width:w.width,height:w.height}):i.clipRect=r.clipRect(w),f&&(h?h.animate(h.crisp(null,m,v,y,x)):i.plotBorder=r.rect(m,v,y,x,0,f).attr({stroke:n.plotBorderColor,"stroke-width":f,zIndex:1}).add()),i.isDirtyBox=!1},propFromSeries:function(){var t,e,i,n=this,r=n.options.chart,o=n.options.series;vi(["inverted","angular","polar"],function(a){for(t=di[r.type||r.defaultSeriesType],i=n[a]||r[a]||t&&t.prototype[a],e=o&&o.length;!i&&e--;)t=di[o[e].type],t&&t.prototype[a]&&(i=!0);n[a]=i})},render:function(){var e,n=this,r=n.axes,o=n.renderer,a=n.options,s=a.labels,l=a.credits;n.setTitle(),n.legend=new Y(n),vi(r,function(t){t.setScale()}),n.getMargins(),n.maxTicks=null,vi(r,function(t){t.setTickPositions(!0),t.setMaxTicks()}),n.adjustTickAmounts(),n.getMargins(),n.drawChartBox(),n.hasCartesianSeries&&vi(r,function(t){t.render()}),n.seriesGroup||(n.seriesGroup=o.g("series-group").attr({zIndex:3}).add()),vi(n.series,function(t){t.translate(),t.setTooltipPoints(),t.render()}),s.items&&vi(s.items,function(e){var r=t(s.style,e.style),a=i(r.left)+n.plotLeft,l=i(r.top)+n.plotTop+12;delete r.left,delete r.top,o.text(e.html,a,l).attr({zIndex:2}).css(r).add()}),l.enabled&&!n.credits&&(e=l.href,n.credits=o.text(l.text,0,0).on("click",function(){e&&(location.href=e)}).attr({align:l.position.align,zIndex:8}).css(l.style).add().align(l.position)),n.hasRendered=!0},destroy:function(){var t,e=this,i=e.axes,n=e.series,r=e.container,o=r&&r.parentNode;for(Li(e,"destroy"),Ti(e),t=i.length;t--;)i[t]=i[t].destroy();for(t=n.length;t--;)n[t]=n[t].destroy();vi(["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","tracker","scroller","rangeSelector","legend","resetZoomButton","tooltip","renderer"],function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())}),r&&(r.innerHTML="",Ti(r),o&&M(r));for(t in e)delete e[t]},firstRender:function(){var t=this,e=t.options,i=t.callback,n="onreadystatechange",r="complete";return!Be&&pe==pe.top&&de.readyState!==r||ze&&!pe.canvg?(ze?Wi.push(function(){t.firstRender()},e.global.canvasToolsURL):de.attachEvent(n,function(){de.detachEvent(n,t.firstRender),de.readyState===r&&t.firstRender()}),void 0):(t.getContainer(),Li(t,"init"),Highcharts.RangeSelector&&e.rangeSelector.enabled&&(t.rangeSelector=new Highcharts.RangeSelector(t)),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),vi(e.series||[],function(e){t.initSeries(e)}),Highcharts.Scroller&&(e.navigator.enabled||e.scrollbar.enabled)&&(t.scroller=new Highcharts.Scroller(t)),t.tracker=new F(t,e),t.render(),t.renderer.draw(),i&&i.apply(t,[t]),vi(t.callbacks,function(e){e.apply(t,[t])}),t.cloneRenderTo(!0),Li(t,"load"),void 0)},init:function(t){var e,i=this,n=i.options.chart;if(n.reflow!==!1&&wi(i,"load",i.initReflow),t)for(e in t)wi(i,e,t[e]);i.xAxis=[],i.yAxis=[],i.animation=ze?!1:u(n.animation,!0),i.setSize=i.resize,i.pointCount=0,i.counters=new L,i.firstRender()}},j.prototype.callbacks=[];var Ei=function(){};Ei.prototype={init:function(t,e,i){var n,r=this,o=t.chart.counters;return r.series=t,r.applyOptions(e,i),r.pointAttr={},t.options.colorByPoint&&(n=t.chart.options.colors,r.color=r.color||n[o.color++],o.wrapColor(n.length)),t.chart.pointCount++,r},applyOptions:function(e,i){var n=this,r=n.series,o=typeof e;n.config=e,"number"===o||null===e?n.y=e:"number"==typeof e[0]?(n.x=e[0],n.y=e[1]):"object"===o&&"number"!=typeof e.length?(t(n,e),n.options=e,e.dataLabels&&(r._hasPointLabels=!0),e.marker&&(r._hasPointMarkers=!0)):"string"==typeof e[0]&&(n.name=e[0],n.y=e[1]),n.x===V&&(n.x=i===V?r.autoIncrement():i)},destroy:function(){var t,e=this,i=e.series,n=i.chart,r=n.hoverPoints;n.pointCount--,r&&(e.setState(),h(r,e),r.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),(e.graphic||e.dataLabel)&&(Ti(e),e.destroyElements()),e.legendItem&&n.legend.destroyItem(e);for(t in e)e[t]=null},destroyElements:function(){for(var t,e=this,i=["graphic","tracker","dataLabel","group","connector","shadowGroup"],n=6;n--;)t=i[n],e[t]&&(e[t]=e[t].destroy())},getLabelConfig:function(){var t=this;return{x:t.category,y:t.y,key:t.name||t.category,series:t.series,point:t,percentage:t.percentage,total:t.total||t.stackTotal}},select:function(t,e){var i=this,n=i.series,r=n.chart;t=u(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},function(){i.selected=t,i.setState(t&&Je),e||vi(r.getSelectedPoints(),function(t){t.selected&&t!==i&&(t.selected=!1,t.setState(Ke),t.firePointEvent("unselect"))})})},onMouseOver:function(){var t=this,e=t.series,i=e.chart,n=i.tooltip,r=i.hoverPoint;r&&r!==t&&r.onMouseOut(),t.firePointEvent("mouseOver"),!n||n.shared&&!e.noSharedTooltip||n.refresh(t),t.setState($e),i.hoverPoint=t},onMouseOut:function(){var t=this.series.chart,e=t.hoverPoints;e&&-1!==mi(this,e)||(this.firePointEvent("mouseOut"),this.setState(),t.hoverPoint=null)},tooltipFormatter:function(t){var e,i,r,o,a,s,l,h=this,c=h.series,d=c.tooltipOptions,p=t.match(/\{(series|point)\.[a-zA-Z]+\}/g),g=/[{\.}]/,f={y:0,open:0,high:0,low:0,close:0,percentage:1,total:1};d.valuePrefix=d.valuePrefix||d.yPrefix,d.valueDecimals=d.valueDecimals||d.yDecimals,d.valueSuffix=d.valueSuffix||d.ySuffix;for(l in p)i=p[l],n(i)&&i!==t&&(a=(" "+i).split(g),e={point:h,series:c}[a[1]],s=a[2],e===h&&f.hasOwnProperty(s)?(o=f[s]?s:"value",r=(d[o+"Prefix"]||"")+y(h[s],u(d[o+"Decimals"],-1))+(d[o+"Suffix"]||"")):r=e[s],t=t.replace(i,r));return t},update:function(t,e,i){var n,o=this,a=o.series,s=o.graphic,l=a.data,h=l.length,c=a.chart;e=u(e,!0),o.firePointEvent("update",{options:t},function(){for(o.applyOptions(t),r(t)&&(a.getAttribs(),s&&s.attr(o.pointAttr[a.state])),n=0;h>n;n++)if(l[n]===o){a.xData[n]=o.x,a.yData[n]=o.y,a.options.data[n]=t;break}a.isDirty=!0,a.isDirtyData=!0,e&&c.redraw(i)})},remove:function(t,e){var i,n=this,r=n.series,o=r.chart,a=r.data,s=a.length;D(e,o),t=u(t,!0),n.firePointEvent("remove",null,function(){for(i=0;s>i;i++)if(a[i]===n){a.splice(i,1),r.options.data.splice(i,1),r.xData.splice(i,1),r.yData.splice(i,1);break}n.destroy(),r.isDirty=!0,r.isDirtyData=!0,t&&o.redraw()})},firePointEvent:function(t,e,i){var n=this,r=this.series,o=r.options;(o.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&this.importEvents(),"click"===t&&o.allowPointSelect&&(i=function(t){n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),Li(this,t,e,i)},importEvents:function(){if(!this.hasImportedEvents){var t,e=this,i=ki(e.series.options.point,e.options),n=i.events;e.events=n;for(t in n)wi(e,t,n[t]);this.hasImportedEvents=!0}},setState:function(t){var e,i=this,n=i.plotX,r=i.plotY,o=i.series,a=o.options.states,s=Mi[o.type].marker&&o.options.marker,l=s&&!s.enabled,h=s&&s.states[t],c=h&&h.enabled===!1,d=o.stateMarkerGraphic,p=o.chart,u=i.pointAttr;t=t||Ke,t===i.state||i.selected&&t!==Je||a[t]&&a[t].enabled===!1||t&&(c||l&&!h.enabled)||(i.graphic?(e=s&&i.graphic.symbolName&&u[t].r,i.graphic.attr(ki(u[t],e?{x:n-e,y:r-e,width:2*e,height:2*e}:{}))):(t&&h&&(e=h.radius,d?d.attr({x:n-e,y:r-e}):o.stateMarkerGraphic=d=p.renderer.symbol(o.symbol,n-e,r-e,2*e,2*e).attr(u[t]).add(o.markerGroup)),d&&d[t&&p.isInsidePlot(n,r)?"show":"hide"]()),i.state=t)}};var Gi=function(){};Gi.prototype={isCartesian:!0,type:"line",pointClass:Ei,sorted:!0,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor",r:"radius"},init:function(e,i){var n,r,o=this;o.chart=e,o.options=i=o.setOptions(i),o.bindAxes(),t(o,{name:i.name,state:Ke,pointAttr:{},visible:i.visible!==!1,selected:i.selected===!0}),ze&&(i.animation=!1),r=i.events;for(n in r)wi(o,n,r[n]);(r&&r.click||i.point&&i.point.events&&i.point.events.click||i.allowPointSelect)&&(e.runTrackerClick=!0),o.getColor(),o.getSymbol(),o.setData(i.data,!1),o.isCartesian&&(e.hasCartesianSeries=!0),e.series.push(o),P(e.series,function(t,e){return(t.options.index||0)-(e.options.index||0)}),vi(e.series,function(t,e){t.index=e,t.name=t.name||"Series "+(e+1)})},bindAxes:function(){var t,e=this,i=e.options,n=e.chart;e.isCartesian&&vi(["xAxis","yAxis"],function(r){vi(n[r],function(n){t=n.options,(i[r]===t.index||i[r]===V&&0===t.index)&&(n.series.push(e),e[r]=n,n.isDirty=!0)})})},autoIncrement:function(){var t=this,e=t.options,i=t.xIncrement;return i=u(i,e.pointStart,0),t.pointInterval=u(t.pointInterval,e.pointInterval,1),t.xIncrement=i+t.pointInterval,i},getSegments:function(){var t,e=this,i=-1,n=[],r=e.points,o=r.length;if(o)if(e.options.connectNulls){for(t=o;t--;)null===r[t].y&&r.splice(t,1);r.length&&(n=[r])}else vi(r,function(t,e){null===t.y?(e>i+1&&n.push(r.slice(i+1,e)),i=e):e===o-1&&n.push(r.slice(i+1,e+1))});e.segments=n},setOptions:function(t){var e,i=this.chart,n=i.options,r=n.plotOptions,o=r[this.type],a=t.data;return t.data=null,e=ki(o,r.series,t),e.data=t.data=a,this.tooltipOptions=ki(n.tooltip,e.tooltip),null===o.marker&&delete e.marker,e},getColor:function(){var t=this.options,e=this.chart.options.colors,i=this.chart.counters;this.color=t.color||!t.colorByPoint&&e[i.color++]||"gray",i.wrapColor(e.length)},getSymbol:function(){var t=this,e=t.options.marker,i=t.chart,n=i.options.symbols,r=i.counters;t.symbol=e.symbol||n[r.symbol++],/^url/.test(t.symbol)&&(e.radius=0),r.wrapSymbol(n.length)},drawLegendSymbol:function(t){var e,i,n,r=this.options,o=r.marker,a=t.options,s=a.symbolWidth,l=this.chart.renderer,h=this.legendGroup,c=t.baseline;r.lineWidth&&(n={"stroke-width":r.lineWidth},r.dashStyle&&(n.dashstyle=r.dashStyle),this.legendLine=l.path([Ze,0,c-4,Ue,s,c-4]).attr(n).add(h)),o&&o.enabled&&(e=o.radius,this.legendSymbol=i=l.symbol(this.symbol,s/2-e,c-4-e,2*e,2*e).add(h))},addPoint:function(t,e,i,n){var r,o=this,a=o.data,s=o.graph,l=o.area,h=o.chart,c=o.xData,d=o.yData,p=s&&s.shift||0,g=o.options.data,f=o.pointClass.prototype;D(n,h),s&&i&&(s.shift=p+1),l&&(i&&(l.shift=p+1),l.isArea=!0),e=u(e,!0),r={series:o},f.applyOptions.apply(r,[t]),c.push(r.x),d.push(f.toYData?f.toYData.call(r):r.y),g.push(t),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),c.shift(),d.shift(),g.shift())),o.getAttribs(),o.isDirty=!0,o.isDirtyData=!0,e&&h.redraw()},setData:function(t,e){var i,r=this,s=r.points,l=r.options,h=r.initialColor,d=r.chart,p=null,g=r.xAxis,f=r.pointClass.prototype;r.xIncrement=null,r.pointRange=g&&g.categories?1:l.pointRange,c(h)&&(d.counters.color=h);var m,v=[],y=[],x=t?t.length:[],b=l.turboThreshold||1e3,k=r.pointArrayMap,w=k&&k.length;if(x>b){for(i=0;null===p&&x>i;)p=t[i],i++;if(a(p)){var T=u(l.pointStart,0),L=u(l.pointInterval,1);for(i=0;x>i;i++)v[i]=T,y[i]=t[i],T+=L;r.xIncrement=T}else if(o(p))if(w)for(i=0;x>i;i++)m=t[i],v[i]=m[0],y[i]=m.slice(1,w+1);else for(i=0;x>i;i++)m=t[i],v[i]=m[0],y[i]=m[1]}else for(i=0;x>i;i++)m={series:r},f.applyOptions.apply(m,[t[i]]),v[i]=m.x,y[i]=f.toYData?f.toYData.call(m):m.y;for(n(y[0])&&I(14,!0),r.data=[],r.options.data=t,r.xData=v,r.yData=y,i=s&&s.length||0;i--;)s[i]&&s[i].destroy&&s[i].destroy();g&&(g.minRange=g.userMinRange),r.isDirty=r.isDirtyData=d.isDirtyBox=!0,u(e,!0)&&d.redraw(!1)},remove:function(t,e){var i=this,n=i.chart;t=u(t,!0),i.isRemoving||(i.isRemoving=!0,Li(i,"remove",null,function(){i.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,t&&n.redraw(e)
12
+ })),i.isRemoving=!1},processData:function(t){var e,i,n,r,o=this,a=o.xData,s=o.yData,l=a.length,h=0,c=l,d=o.xAxis,p=o.options,u=p.cropThreshold,g=o.isCartesian;if(g&&!o.isDirty&&!d.isDirty&&!o.yAxis.isDirty&&!t)return!1;if(g&&o.sorted&&(!u||l>u||o.forceCrop)){var f=d.getExtremes(),m=f.min,v=f.max;if(a[l-1]<m||a[0]>v)a=[],s=[];else if(a[0]<m||a[l-1]>v){for(r=0;l>r;r++)if(a[r]>=m){h=ve(0,r-1);break}for(;l>r;r++)if(a[r]>v){c=r+1;break}a=a.slice(h,c),s=s.slice(h,c),e=!0}}for(r=a.length-1;r>0;r--)i=a[r]-a[r-1],i>0&&(n===V||n>i)&&(n=i);o.cropped=e,o.cropStart=h,o.processedXData=a,o.processedYData=s,null===p.pointRange&&(o.pointRange=n||1),o.closestPointRange=n},generatePoints:function(){var t,e,i,n,r=this,o=r.options,a=o.data,s=r.data,l=r.processedXData,h=r.processedYData,c=r.pointClass,d=l.length,u=r.cropStart||0,g=r.hasGroupedData,f=[];if(!s&&!g){var m=[];m.length=a.length,s=r.data=m}for(n=0;d>n;n++)e=u+n,g?f[n]=(new c).init(r,[l[n]].concat(p(h[n]))):(s[e]?i=s[e]:a[e]!==V&&(s[e]=i=(new c).init(r,a[e],l[n])),f[n]=i);if(s&&(d!==(t=s.length)||g))for(n=0;t>n;n++)n!==u||g||(n+=d),s[n]&&(s[n].destroyElements(),s[n].plotX=V);r.data=s,r.points=f},translate:function(){this.processedXData||this.processData(),this.generatePoints();for(var t,e=this,i=e.chart,n=e.options,r=n.stacking,o=e.xAxis,a=o.categories,s=e.yAxis,l=e.points,h=l.length,d=!!e.modifyValue,p=s.series,g=p.length,f="between"===n.pointPlacement;g--;)if(p[g].visible){p[g]===e&&(t=!0);break}for(g=0;h>g;g++){var m,v,y=l[g],x=y.x,b=y.y,k=y.low,w=s.stacks[(b<n.threshold?"-":"")+e.stackKey];y.plotX=o.translate(x,0,0,0,1,f),r&&e.visible&&w&&w[x]&&(m=w[x],v=m.total,m.cum=k=m.cum-b,b=k+b,t&&(k=u(n.threshold,s.min)),s.isLog&&0>=k&&(k=null),"percent"===r&&(k=v?100*k/v:0,b=v?100*b/v:0),y.percentage=v?100*y.y/v:0,y.total=y.stackTotal=v,y.stackY=b),y.yBottom=c(k)?s.translate(k,0,1,0,1):null,d&&(b=e.modifyValue(b,y)),y.plotY="number"==typeof b?ge(10*s.translate(b,0,1,0,1))/10:V,y.clientX=i.inverted?i.plotHeight-y.plotX:y.plotX,y.category=a&&a[y.x]!==V?a[y.x]:y.x}e.getSegments()},setTooltipPoints:function(t){var e,i,n,r,o,a=this,s=[],l=a.xAxis,h=l?l.tooltipLen||l.len:a.chart.plotSizeX,c=l&&l.tooltipPosName||"plotX",d=[];if(a.options.enableMouseTracking!==!1){for(t&&(a.tooltipPoints=null),vi(a.segments||a.points,function(t){s=s.concat(t)}),l&&l.reversed&&(s=s.reverse()),e=s.length,o=0;e>o;o++)for(r=s[o],i=s[o-1]?n+1:0,n=s[o+1]?ve(0,fe((r[c]+(s[o+1]?s[o+1][c]:h))/2)):h;i>=0&&n>=i;)d[i++]=r;a.tooltipPoints=d}},tooltipHeaderFormatter:function(t){var e,i=this,n=i.tooltipOptions,r=n.xDateFormat,o=i.xAxis,s=o&&"datetime"===o.options.type;if(s&&!r)for(e in q)if(q[e]>=o.closestPointRange){r=n.dateTimeLabelFormats[e];break}return n.headerFormat.replace("{point.key}",s&&a(t)?K(r,t):t).replace("{series.name}",i.name).replace("{series.color}",i.color)},onMouseOver:function(){var t=this,e=t.chart,i=e.hoverSeries;i&&i!==t&&i.onMouseOut(),t.options.events.mouseOver&&Li(t,"mouseOver"),t.setState($e),e.hoverSeries=t},onMouseOut:function(){var t=this,e=t.options,i=t.chart,n=i.tooltip,r=i.hoverPoint;r&&r.onMouseOut(),t&&e.events.mouseOut&&Li(t,"mouseOut"),!n||e.stickyTracking||n.shared||n.hide(),t.setState(),i.hoverSeries=null},animate:function(e){var i,n,o,a=this,s=a.chart,l=s.renderer,h=a.options.animation,c=s.clipBox,d=s.inverted;h&&!r(h)&&(h=Mi[a.type].animation),o="_sharedClip"+h.duration+h.easing,e?(i=s[o],n=s[o+"m"],i||(s[o]=i=l.clipRect(t(c,{width:0})),s[o+"m"]=n=l.clipRect(-99,d?-s.plotLeft:-s.plotTop,99,d?s.chartWidth:s.chartHeight)),a.group.clip(i),a.markerGroup.clip(n),a.sharedClipKey=o):(i=s[o],i&&(i.animate({width:s.plotSizeX},h),s[o+"m"].animate({width:s.plotSizeX+99},h)),a.animate=null,a.animationTimeout=setTimeout(function(){a.afterAnimate()},h.duration))},afterAnimate:function(){var t=this.chart,e=this.sharedClipKey,i=this.group;i&&this.options.clip!==!1&&(i.clip(t.clipRect),this.markerGroup.clip()),setTimeout(function(){e&&t[e]&&(t[e]=t[e].destroy(),t[e+"m"]=t[e+"m"].destroy())},100)},drawPoints:function(){var e,i,n,r,o,a,s,l,h,c,d,p,g=this,f=g.points,m=g.chart,v=g.options,y=v.marker,x=g.markerGroup;if(y.enabled||g._hasPointMarkers)for(r=f.length;r--;)o=f[r],i=o.plotX,n=o.plotY,h=o.graphic,c=o.marker||{},d=y.enabled&&c.enabled===V||c.enabled,p=m.isInsidePlot(i,n,m.inverted),d&&n!==V&&!isNaN(n)?(e=o.pointAttr[o.selected?Je:Ke],a=e.r,s=u(c.symbol,g.symbol),l=0===s.indexOf("url"),h?h.attr({visibility:p?Be?"inherit":Ye:Ne}).animate(t({x:i-a,y:n-a},h.symbolName?{width:2*a,height:2*a}:{})):p&&(a>0||l)&&(o.graphic=h=m.renderer.symbol(s,i-a,n-a,2*a,2*a).attr(e).add(x))):h&&(o.graphic=h.destroy())},convertAttribs:function(t,e,i,n){var r,o,a=this.pointAttrToOptions,s={};t=t||{},e=e||{},i=i||{},n=n||{};for(r in a)o=a[r],s[r]=u(t[o],e[r],i[r],n[r]);return s},getAttribs:function(){var e,i,n,r,o,a,s=this,l=Mi[s.type].marker?s.options.marker:s.options,h=l.states,d=h[$e],p=s.color,u={stroke:p,fill:p},g=s.points||[],f=[],m=s.pointAttrToOptions;for(s.options.marker?(d.radius=d.radius||l.radius+2,d.lineWidth=d.lineWidth||l.lineWidth+1):d.color=d.color||Bi(d.color||p).brighten(d.brightness).get(),f[Ke]=s.convertAttribs(l,u),vi([$e,Je],function(t){f[t]=s.convertAttribs(h[t],f[Ke])}),s.pointAttr=f,i=g.length;i--;){if(n=g[i],l=n.options&&n.options.marker||n.options,l&&l.enabled===!1&&(l.radius=0),o=s.options.colorByPoint,n.options)for(a in m)c(l[m[a]])&&(o=!0);o?(l=l||{},r=[],h=l.states||{},e=h[$e]=h[$e]||{},s.options.marker||(e.color=Bi(e.color||n.color).brighten(e.brightness||d.brightness).get()),r[Ke]=s.convertAttribs(t({color:n.color},l),f[Ke]),r[$e]=s.convertAttribs(h[$e],f[$e],r[Ke]),r[Je]=s.convertAttribs(h[Je],f[Je],r[Ke])):r=f,n.pointAttr=r}},destroy:function(){var t,e,i,n,r,o=this,a=o.chart,s=/AppleWebKit\/533/.test(Le),l=o.data||[];for(Li(o,"destroy"),Ti(o),vi(["xAxis","yAxis"],function(t){r=o[t],r&&(h(r.series,o),r.isDirty=!0)}),o.legendItem&&o.chart.legend.destroyItem(o),e=l.length;e--;)i=l[e],i&&i.destroy&&i.destroy();o.points=null,clearTimeout(o.animationTimeout),vi(["area","graph","dataLabelsGroup","group","markerGroup","tracker","trackerGroup"],function(e){o[e]&&(t=s&&"group"===e?"hide":"destroy",o[e][t]())}),a.hoverSeries===o&&(a.hoverSeries=null),h(a.series,o);for(n in o)delete o[n]},drawDataLabels:function(){var t,e,i,n,r=this,o=r.options,a=o.dataLabels,s=r.points;(a.enabled||r._hasPointLabels)&&(r.dlProcessOptions&&r.dlProcessOptions(a),n=r.plotGroup("dataLabelsGroup","data-labels",r.visible?Ye:Ne,6),e=a,vi(s,function(o){var s,l,h,d,p=o.dataLabel,g=!0;if(t=o.options&&o.options.dataLabels,s=e.enabled||t&&t.enabled,p&&!s)o.dataLabel=p.destroy();else if(s){if(d=a.rotation,a=ki(e,t),i=a.formatter.call(o.getLabelConfig(),a),a.style.color=u(a.color,a.style.color,r.color,"black"),p)p.attr({text:i}),g=!1;else if(c(i)){l={fill:a.backgroundColor,stroke:a.borderColor,"stroke-width":a.borderWidth,r:a.borderRadius||0,rotation:d,padding:a.padding,zIndex:1};for(h in l)l[h]===V&&delete l[h];p=o.dataLabel=r.chart.renderer[d?"text":"label"](i,0,-999,null,null,null,a.useHTML).attr(l).css(a.style).add(n).shadow(a.shadow)}p&&r.alignDataLabel(o,p,a,null,g)}}))},alignDataLabel:function(e,i,n,r,o){var a,s=this.chart,l=s.inverted,h=u(e.plotX,-999),c=u(e.plotY,-999),d=i.getBBox();r=t({x:l?s.plotWidth-c:h,y:ge(l?s.plotHeight-h:c),width:0,height:0},r),t(n,{width:d.width,height:d.height}),n.rotation?(a={align:n.align,x:r.x+n.x+r.width/2,y:r.y+n.y+r.height/2},i[o?"attr":"animate"](a)):(i.align(n,null,r),a=i.alignAttr),i.attr({visibility:n.crop===!1||s.isInsidePlot(a.x,a.y)||s.isInsidePlot(h,c,l)?Be?"inherit":Ye:Ne})},getSegmentPath:function(t){var e=this,i=[];return vi(t,function(n,r){if(e.getPointSpline)i.push.apply(i,e.getPointSpline(t,n,r));else{if(i.push(r?Ue:Ze),r&&e.options.step){var o=t[r-1];i.push(n.plotX,o.plotY)}i.push(n.plotX,n.plotY)}}),i},getGraphPath:function(){var t,e=this,i=[],n=[];return vi(e.segments,function(r){t=e.getSegmentPath(r),r.length>1?i=i.concat(t):n.push(r[0])}),e.singlePoints=n,e.graphPath=i,i},drawGraph:function(){var t,e=this.options,i=this.graph,n=this.group,r=e.lineColor||this.color,o=e.lineWidth,a=e.dashStyle,s=this.getGraphPath();i?(Ai(i),i.animate({d:s})):o&&(t={stroke:r,"stroke-width":o,zIndex:1},a&&(t.dashstyle=a),this.graph=this.chart.renderer.path(s).attr(t).add(n).shadow(e.shadow))},invertGroups:function(){function t(){var t={width:e.yAxis.len,height:e.xAxis.len};vi(["group","trackerGroup","markerGroup"],function(i){e[i]&&e[i].attr(t).invert()})}var e=this,i=e.chart;wi(i,"resize",t),wi(e,"destroy",function(){Ti(i,"resize",t)}),t(),e.invertGroups=t},plotGroup:function(t,e,i,n,r){var o=this[t],a=this.chart,s=this.xAxis,l=this.yAxis;return o||(this[t]=o=a.renderer.g(e).attr({visibility:i,zIndex:n||.1}).add(r)),o.translate(s?s.left:a.plotLeft,l?l.top:a.plotTop),o},render:function(){var t,e=this,i=e.chart,n=e.options,r=n.animation,o=r&&!!e.animate,a=e.visible?Ye:Ne,s=n.zIndex,l=e.hasRendered,h=i.seriesGroup;t=e.plotGroup("group","series",a,s,h),e.markerGroup=e.plotGroup("markerGroup","markers",a,s,h),o&&e.animate(!0),e.getAttribs(),t.inverted=i.inverted,e.drawGraph&&e.drawGraph(),e.drawPoints(),e.drawDataLabels(),e.options.enableMouseTracking!==!1&&e.drawTracker(),i.inverted&&e.invertGroups(),n.clip===!1||e.sharedClipKey||l||(t.clip(i.clipRect),this.trackerGroup&&this.trackerGroup.clip(i.clipRect)),o?e.animate():l||e.afterAnimate(),e.isDirty=e.isDirtyData=!1,e.hasRendered=!0},redraw:function(){var t=this,e=t.chart,i=t.isDirtyData,n=t.group;n&&(e.inverted&&n.attr({width:e.plotWidth,height:e.plotHeight}),n.animate({translateX:t.xAxis.left,translateY:t.yAxis.top})),t.translate(),t.setTooltipPoints(!0),t.render(),i&&Li(t,"updatedData")},setState:function(t){var e=this,i=e.options,n=e.graph,r=i.states,o=i.lineWidth;if(t=t||Ke,e.state!==t){if(e.state=t,r[t]&&r[t].enabled===!1)return;t&&(o=r[t].lineWidth||o+1),n&&!n.dashstyle&&n.attr({"stroke-width":o},t?0:500)}},setVisible:function(t,e){var i,n,r,o=this,a=o.chart,s=o.legendItem,l=o.group,h=o.tracker,c=o.dataLabelsGroup,d=o.markerGroup,p=o.points,u=a.options.chart.ignoreHiddenSeries,g=o.visible;if(o.visible=t=t===V?!g:t,i=t?"show":"hide",l&&l[i](),d&&d[i](),h)h[i]();else if(p)for(n=p.length;n--;)r=p[n],r.tracker&&r.tracker[i]();c&&c[i](),s&&a.legend.colorizeItem(o,t),o.isDirty=!0,o.options.stacking&&vi(a.series,function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),u&&(a.isDirtyBox=!0),e!==!1&&a.redraw(),Li(o,i)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){var e=this;e.selected=t=t===V?!e.selected:t,e.checkbox&&(e.checkbox.checked=t),Li(e,t?"select":"unselect")},drawTracker:function(){var t,e,i=this,n=i.options,r=n.trackByArea,o=[].concat(r?i.areaPath:i.graphPath),a=o.length,s=i.chart,l=s.renderer,h=s.options.tooltip.snap,c=i.tracker,d=n.cursor,p=d&&{cursor:d},u=i.singlePoints,g=this.isCartesian&&this.plotGroup("trackerGroup",null,Ye,n.zIndex||1,s.trackerGroup);if(a&&!r)for(e=a+1;e--;)o[e]===Ze&&o.splice(e+1,0,o[e+1]-h,o[e+2],Ue),(e&&o[e]===Ze||e===a)&&o.splice(e,0,Ue,o[e-2]+h,o[e-1]);for(e=0;e<u.length;e++)t=u[e],o.push(Ze,t.plotX-h,t.plotY,Ue,t.plotX+h,t.plotY);c?c.attr({d:o}):i.tracker=l.path(o).attr({isTracker:!0,"stroke-linejoin":"bevel",visibility:i.visible?Ye:Ne,stroke:_e,fill:r?_e:Ve,"stroke-width":n.lineWidth+(r?0:2*h)}).on(Oe?"touchstart":"mouseover",function(){s.hoverSeries!==i&&i.onMouseOver()}).on("mouseout",function(){n.stickyTracking||i.onMouseOut()}).css(p).add(g)}};var Xi=m(Gi);di.line=Xi,Mi.area=ki(Ii,{threshold:0});var Ni=m(Gi,{type:"area",getSegmentPath:function(t){var e,i=Gi.prototype.getSegmentPath.call(this,t),n=[].concat(i),r=this.options,o=i.length;if(3===o&&n.push(Ue,i[1],i[2]),r.stacking&&!this.closedStacks)for(e=t.length-1;e>=0;e--)e<t.length-1&&r.step&&n.push(t[e+1].plotX,t[e].yBottom),n.push(t[e].plotX,t[e].yBottom);else this.closeSegment(n,t);return this.areaPath=this.areaPath.concat(n),i},closeSegment:function(t,e){var i=this.yAxis.getThreshold(this.options.threshold);t.push(Ue,e[e.length-1].plotX,i,Ue,e[0].plotX,i)},drawGraph:function(){this.areaPath=[],Gi.prototype.drawGraph.apply(this);var t=this.areaPath,e=this.options,i=this.area;i?i.animate({d:t}):this.area=this.chart.renderer.path(t).attr({fill:u(e.fillColor,Bi(this.color).setOpacity(e.fillOpacity||.75).get()),zIndex:0}).add(this.group)},drawLegendSymbol:function(t,e){e.legendSymbol=this.chart.renderer.rect(0,t.baseline-11,t.options.symbolWidth,12,2).attr({zIndex:3}).add(e.legendGroup)}});di.area=Ni,Mi.spline=ki(Ii);var Fi=m(Gi,{type:"spline",getPointSpline:function(t,e,i){var n,r,o,a,s,l=1.5,h=l+1,c=e.plotX,d=e.plotY,p=t[i-1],u=t[i+1];if(p&&u){var g,f=p.plotX,m=p.plotY,v=u.plotX,y=u.plotY;n=(l*c+f)/h,r=(l*d+m)/h,o=(l*c+v)/h,a=(l*d+y)/h,g=(a-r)*(o-c)/(o-n)+d-a,r+=g,a+=g,r>m&&r>d?(r=ve(m,d),a=2*d-r):m>r&&d>r&&(r=ye(m,d),a=2*d-r),a>y&&a>d?(a=ve(y,d),r=2*d-a):y>a&&d>a&&(a=ye(y,d),r=2*d-a),e.rightContX=o,e.rightContY=a}return i?(s=["C",p.rightContX||p.plotX,p.rightContY||p.plotY,n||c,r||d,c,d],p.rightContX=p.rightContY=null):s=[Ze,c,d],s}});di.spline=Fi,Mi.areaspline=ki(Mi.area);var Yi=Ni.prototype,ji=m(Fi,{type:"areaspline",closedStacks:!0,getSegmentPath:Yi.getSegmentPath,closeSegment:Yi.closeSegment,drawGraph:Yi.drawGraph});di.areaspline=ji,Mi.column=ki(Ii,{borderColor:"#FFFFFF",borderWidth:1,borderRadius:0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{brightness:.1,shadow:!1},select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}},dataLabels:{align:null,verticalAlign:null,y:null},threshold:0});var Vi=m(Gi,{type:"column",tooltipOutsidePlot:!0,pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color",r:"borderRadius"},init:function(){Gi.prototype.init.apply(this,arguments);var t=this,e=t.chart;e.hasRendered&&vi(e.series,function(e){e.type===t.type&&(e.isDirty=!0)})},translate:function(){var t,e,i=this,n=i.chart,r=i.options,o=r.stacking,a=r.borderWidth,s=0,l=i.xAxis,h=l.reversed,d={};Gi.prototype.translate.apply(i),r.grouping===!1?s=1:vi(n.series,function(n){var r=n.options;n.type===i.type&&n.visible&&i.options.group===r.group&&(r.stacking?(t=n.stackKey,d[t]===V&&(d[t]=s++),e=d[t]):r.grouping!==!1&&(e=s++),n.columnIndex=e)});var p=i.points,g=xe(l.transA)*(l.ordinalSlope||r.pointRange||l.closestPointRange||1),f=g*r.groupPadding,m=g-2*f,v=m/s,y=r.pointWidth,x=c(y)?(v-y)/2:v*r.pointPadding,b=u(y,v-2*x),k=me(ve(b,1+2*a)),w=(h?s-i.columnIndex:i.columnIndex)||0,T=x+(f+w*v-g/2)*(h?-1:1),L=r.threshold,P=i.translatedThreshold=i.yAxis.getThreshold(L),S=u(r.minPointLength,5);vi(p,function(t){var e,r=t.plotY,s=u(t.yBottom,P),l=t.plotX+T,h=me(ye(r,s)),c=me(ve(r,s)-h),d=i.yAxis.stacks[(t.y<0?"-":"")+i.stackKey];o&&i.visible&&d&&d[t.x]&&d[t.x].setOffset(T,k),xe(c)<S&&S&&(c=S,h=xe(h-P)>S?s-S:P-(P>=r?S:0)),t.barX=l,t.pointWidth=b,t.shapeType="rect",t.shapeArgs=e=n.renderer.Element.prototype.crisp.call(0,a,l,h,k,c),a%2&&(e.y-=1,e.height+=1),t.trackerArgs=xe(c)<3&&ki(t.shapeArgs,{height:6,y:h-3})})},getSymbol:We,drawLegendSymbol:Ni.prototype.drawLegendSymbol,drawGraph:We,drawPoints:function(){var t,e=this,i=e.options,n=e.chart.renderer;vi(e.points,function(r){var o=r.plotY,a=r.graphic;o===V||isNaN(o)||null===r.y?a&&(r.graphic=a.destroy()):(t=r.shapeArgs,a?(Ai(a),a.animate(ki(t))):r.graphic=a=n[r.shapeType](t).attr(r.pointAttr[r.selected?Je:Ke]).add(e.group).shadow(i.shadow,null,i.stacking&&!i.borderRadius))})},drawTracker:function(){var t,e,i,n,r,o=this,a=o.chart,s=a.renderer,l=+new Date,h=o.options,c=h.cursor,p=c&&{cursor:c},u=o.isCartesian&&o.plotGroup("trackerGroup",null,Ye,h.zIndex||1,a.trackerGroup);vi(o.points,function(c){e=c.tracker,t=c.trackerArgs||c.shapeArgs,n=c.plotY,r=!o.isCartesian||n!==V&&!isNaN(n),delete t.strokeWidth,null!==c.y&&r&&(e?e.attr(t):c.tracker=s[c.shapeType](t).attr({isTracker:l,fill:_e,visibility:o.visible?Ye:Ne}).on(Oe?"touchstart":"mouseover",function(t){i=t.relatedTarget||t.fromElement,a.hoverSeries!==o&&d(i,"isTracker")!==l&&o.onMouseOver(),c.onMouseOver()}).on("mouseout",function(t){h.stickyTracking||(i=t.relatedTarget||t.toElement,d(i,"isTracker")!==l&&o.onMouseOut())}).css(p).add(c.group||u))})},alignDataLabel:function(t,e,i,n,r){var o=this.chart,a=o.inverted,s=t.below||t.plotY>(this.translatedThreshold||o.plotSizeY),l=this.options.stacking||i.inside;t.shapeArgs&&(n=ki(t.shapeArgs),a&&(n={x:o.plotWidth-n.y-n.height,y:o.plotHeight-n.x-n.width,width:n.height,height:n.width}),l||(a?(n.x+=s?0:n.width,n.width=0):(n.y+=s?n.height:0,n.height=0))),i.align=u(i.align,!a||l?"center":s?"right":"left"),i.verticalAlign=u(i.verticalAlign,a||l?"middle":s?"top":"bottom"),Gi.prototype.alignDataLabel.call(this,t,e,i,n,r)},animate:function(t){var e=this,i=e.points,n=e.options;t||(vi(i,function(t){var i=t.graphic,r=t.shapeArgs,o=e.yAxis,a=n.threshold;i&&(i.attr({height:0,y:c(a)?o.getThreshold(a):o.translate(o.getExtremes().min,0,1,0,1)}),i.animate({height:r.height,y:r.y},n.animation))}),e.animate=null)},remove:function(){var t=this,e=t.chart;e.hasRendered&&vi(e.series,function(e){e.type===t.type&&(e.isDirty=!0)}),Gi.prototype.remove.apply(t,arguments)}});di.column=Vi,Mi.bar=ki(Mi.column);var Zi=m(Vi,{type:"bar",inverted:!0});di.bar=Zi,Mi.scatter=ki(Ii,{lineWidth:0,states:{hover:{lineWidth:0}},tooltip:{headerFormat:'<span style="font-size: 10px; color:{series.color}">{series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});var Ui=m(Gi,{type:"scatter",sorted:!1,translate:function(){var t=this;Gi.prototype.translate.apply(t),vi(t.points,function(e){e.shapeType="circle",e.shapeArgs={x:e.plotX,y:e.plotY,r:t.chart.options.tooltip.snap}})},drawTracker:function(){for(var t,e=this,i=e.options.cursor,n=i&&{cursor:i},r=e.points,o=r.length;o--;)t=r[o].graphic,t&&(t.element._i=o);e._hasTracking?e._hasTracking=!0:e.markerGroup.attr({isTracker:!0}).on(Oe?"touchstart":"mouseover",function(t){e.onMouseOver(),t.target._i!==V&&r[t.target._i].onMouseOver()}).on("mouseout",function(){e.options.stickyTracking||e.onMouseOut()}).css(n)}});di.scatter=Ui,Mi.pie=ki(Ii,{borderColor:"#FFFFFF",borderWidth:1,center:["50%","50%"],colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},legendType:"point",marker:null,size:"75%",showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}}});var _i=m(Ei,{init:function(){Ei.prototype.init.apply(this,arguments);var e,i=this;return t(i,{visible:i.visible!==!1,name:u(i.name,"Slice")}),e=function(){i.slice()},wi(i,"select",e),wi(i,"unselect",e),i},setVisible:function(t){var e,i=this,n=i.series,r=n.chart,o=i.tracker,a=i.dataLabel,s=i.connector,l=i.shadowGroup;i.visible=t=t===V?!i.visible:t,e=t?"show":"hide",i.group[e](),o&&o[e](),a&&a[e](),s&&s[e](),l&&l[e](),i.legendItem&&r.legend.colorizeItem(i,t),!n.isDirty&&n.options.ignoreHiddenPoint&&(n.isDirty=!0,r.redraw())},slice:function(t,e,i){var n,r=this,o=r.series,a=o.chart,s=r.slicedTranslation;D(i,a),e=u(e,!0),t=r.sliced=c(t)?t:!r.sliced,n={translateX:t?s[0]:a.plotLeft,translateY:t?s[1]:a.plotTop},r.group.animate(n),r.shadowGroup&&r.shadowGroup.animate(n)}}),Ki={type:"pie",isCartesian:!1,pointClass:_i,pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:function(){this.initialColor=this.chart.counters.color},animate:function(){var t=this,e=t.points;vi(e,function(e){var i=e.graphic,n=e.shapeArgs,r=-we/2;i&&(i.attr({r:0,start:r,end:r}),i.animate({r:n.r,start:n.start,end:n.end},t.options.animation))}),t.animate=null},setData:function(t,e){Gi.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),u(e,!0)&&this.chart.redraw()},getCenter:function(){var t,e=this.options,n=this.chart,r=n.plotWidth,o=n.plotHeight,a=e.center.concat([e.size,e.innerSize||0]),s=ye(r,o);return bi(a,function(e,n){return t=/%$/.test(e),t?[r,o,s,s][n]*i(e)/100:e})},translate:function(){this.generatePoints();var t,e,i,n,r,o,a,s,l,h=0,c=this,d=-.25,p=1e3,u=c.options,g=u.slicedOffset,f=g+u.borderWidth,m=c.chart,v=c.points,y=2*we,x=u.dataLabels.distance,b=u.ignoreHiddenPoint,k=v.length;for(c.center=t=c.getCenter(),c.getX=function(e,i){return n=ue.asin((e-t[1])/(t[2]/2+x)),t[0]+(i?-1:1)*be(n)*(t[2]/2+x)},s=0;k>s;s++)l=v[s],h+=b&&!l.visible?0:l.y;for(s=0;k>s;s++)l=v[s],r=h?l.y/h:0,e=ge(d*y*p)/p,(!b||l.visible)&&(d+=r),i=ge(d*y*p)/p,l.shapeType="arc",l.shapeArgs={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:e,end:i},n=(i+e)/2,l.slicedTranslation=bi([be(n)*g+m.plotLeft,ke(n)*g+m.plotTop],ge),o=be(n)*t[2]/2,a=ke(n)*t[2]/2,l.tooltipPos=[t[0]+.7*o,t[1]+.7*a],l.labelPos=[t[0]+o+be(n)*x,t[1]+a+ke(n)*x,t[0]+o+be(n)*f,t[1]+a+ke(n)*f,t[0]+o,t[1]+a,0>x?"center":y/4>n?"left":"right",n],l.percentage=100*r,l.total=h;this.setTooltipPoints()},render:function(){var t=this;t.getAttribs(),this.drawPoints(),t.options.enableMouseTracking!==!1&&t.drawTracker(),this.drawDataLabels(),t.options.animation&&t.animate&&t.animate(),t.isDirty=!1},drawPoints:function(){var e,i,n,r,o,a=this,s=a.chart,l=s.renderer,h=a.options.shadow;vi(a.points,function(c){i=c.graphic,o=c.shapeArgs,n=c.group,r=c.shadowGroup,h&&!r&&(r=c.shadowGroup=l.g("shadow").attr({zIndex:4}).add()),n||(n=c.group=l.g("point").attr({zIndex:5}).add()),e=c.sliced?c.slicedTranslation:[s.plotLeft,s.plotTop],n.translate(e[0],e[1]),r&&r.translate(e[0],e[1]),i?i.animate(o):c.graphic=i=l.arc(o).setRadialReference(a.center).attr(t(c.pointAttr[Ke],{"stroke-linejoin":"round"})).add(c.group).shadow(h,r),c.visible===!1&&c.setVisible(!1)})},drawDataLabels:function(){var t,e,i,n,r,o,a,s,l,h,c,d,p=this,g=p.data,f=p.chart,m=p.options.dataLabels,v=u(m.connectorPadding,10),y=u(m.connectorWidth,1),x=u(m.softConnector,!0),b=m.distance,k=p.center,w=k[2]/2,T=k[1],L=b>0,P=[[],[]],S=2;if(m.enabled||p._hasPointLabels)for(Gi.prototype.drawDataLabels.apply(p),vi(g,function(t){t.dataLabel&&P[t.labelPos[7]<we/2?0:1].push(t)}),P[1].reverse(),c=function(t,e){return e.y-t.y},o=P[0][0]&&P[0][0].dataLabel&&(P[0][0].dataLabel.getBBox().height||21);S--;){var A,C,M,I=[],B=[],D=P[S],z=D.length;if(b>0){for(C=T-w-b;T+w+b>=C;C+=o)I.push(C);if(A=I.length,z>A){for(h=[].concat(D),h.sort(c),d=z;d--;)h[d].rank=d;for(d=z;d--;)D[d].rank>=A&&D.splice(d,1);z=D.length}for(d=0;z>d;d++){t=D[d],r=t.labelPos;var O,R,H=9999;for(R=0;A>R;R++)O=xe(I[R]-r[1]),H>O&&(H=O,M=R);if(d>M&&null!==I[d])M=d;else if(z-d+M>A&&null!==I[d])for(M=A-z+d;null===I[M];)M++;else for(;null===I[M];)M++;B.push({i:M,y:I[M]}),I[M]=null}B.sort(c)}for(d=0;z>d;d++){var W,E;t=D[d],r=t.labelPos,n=t.dataLabel,l=t.visible===!1?Ne:Ye,E=r[1],b>0?(W=B.pop(),M=W.i,s=W.y,(E>s&&null!==I[M+1]||s>E&&null!==I[M-1])&&(s=E)):s=E,a=m.justify?k[0]+(S?-1:1)*(w+b):p.getX(0===M||M===I.length-1?E:s,S),n.attr({visibility:l,align:r[6]})[n.moved?"animate":"attr"]({x:a+m.x+({left:v,right:-v}[r[6]]||0),y:s+m.y-10}),n.moved=!0,L&&y&&(e=t.connector,i=x?[Ze,a+("left"===r[6]?5:-5),s,"C",a,s,2*r[2]-r[4],2*r[3]-r[5],r[2],r[3],Ue,r[4],r[5]]:[Ze,a+("left"===r[6]?5:-5),s,Ue,r[2],r[3],Ue,r[4],r[5]],e?(e.animate({d:i}),e.attr("visibility",l)):t.connector=e=p.chart.renderer.path(i).attr({"stroke-width":y,stroke:m.connectorColor||t.color||"#606060",visibility:l,zIndex:3}).translate(f.plotLeft,f.plotTop).add())}}},alignDataLabel:We,drawTracker:Vi.prototype.drawTracker,drawLegendSymbol:Ni.prototype.drawLegendSymbol,getSymbol:function(){}};Ki=m(Gi,Ki),di.pie=Ki,t(Highcharts,{Axis:X,CanVGRenderer:Hi,Chart:j,Color:Bi,Legend:Y,MouseTracker:F,Point:Ei,Tick:W,Tooltip:N,Renderer:Z,Series:Gi,SVGRenderer:Di,VMLRenderer:zi,dateFormat:K,pathAnim:J,getOptions:R,hasBidiBug:De,numberFormat:y,seriesTypes:di,setOptions:O,addEvent:wi,removeEvent:Ti,createElement:f,discardElement:M,css:g,each:vi,extend:t,map:bi,merge:ki,pick:u,splat:p,extendClass:m,pInt:i,wrap:b,svg:Be,canvas:ze,vml:!Be&&!ze,product:"Highcharts",version:"2.3.3"})}();
@@ -0,0 +1,23 @@
1
+ /*
2
+ A class to parse color values
3
+ @author Stoyan Stefanov <sstoo@gmail.com>
4
+ @link http://www.phpied.com/rgb-color-parser-in-javascript/
5
+ Use it if you like it
6
+
7
+ canvg.js - Javascript SVG parser and renderer on Canvas
8
+ MIT Licensed
9
+ Gabe Lerner (gabelerner@gmail.com)
10
+ http://code.google.com/p/canvg/
11
+
12
+ Requires: rgbcolor.js - http://www.phpied.com/rgb-color-parser-in-javascript/
13
+
14
+ Highcharts JS v2.3.3 (2012-10-04)
15
+ CanVGRenderer Extension module
16
+
17
+ (c) 2011-2012 Torstein Hønsi, Erik Olsson
18
+
19
+ License: www.highcharts.com/license
20
+ */
21
+
22
+ function RGBColor(t){this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6));var e,t=t.replace(/ /g,""),t=t.toLowerCase(),i={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(e in i)t==e&&(t=i[e]);var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}];for(e=0;e<n.length;e++){var s=n[e].process,a=n[e].re.exec(t);a&&(channels=s(a),this.r=channels[0],this.g=channels[1],this.b=channels[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==i.length&&(i="0"+i),"#"+t+e+i},this.getHelpXML=function(){for(var t=[],e=0;e<n.length;e++)for(var s=n[e].example,a=0;a<s.length;a++)t[t.length]=s[a];for(var r in i)t[t.length]=r;for(s=document.createElement("ul"),s.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var o=document.createElement("li"),h=new RGBColor(t[e]),l=document.createElement("div");l.style.cssText="margin: 3px; border: 1px solid black; background:"+h.toHex()+"; color:"+h.toHex(),l.appendChild(document.createTextNode("test"));var u=document.createTextNode(" "+t[e]+" -> "+h.toRGB()+" -> "+h.toHex());o.appendChild(l),o.appendChild(u),s.appendChild(o)}catch(f){}return s}}window.console||(window.console={},window.console.log=function(){},window.console.dir=function(){}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){for(var e=0;e<this.length;e++)if(this[e]==t)return e;return-1}),function(){function t(){var t={FRAMERATE:30,MAX_VIRTUAL_PIXELS:3e4};return t.init=function(e){t.Definitions={},t.Styles={},t.Animations=[],t.Images=[],t.ctx=e,t.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrent=function(t,e){this.viewPorts.push({width:t,height:e})},this.RemoveCurrent=function(){this.viewPorts.pop()},this.Current=function(){return this.viewPorts[this.viewPorts.length-1]},this.width=function(){return this.Current().width},this.height=function(){return this.Current().height},this.ComputeSize=function(t){return null!=t&&"number"==typeof t?t:"x"==t?this.width():"y"==t?this.height():Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}},t.init(),t.ImagesLoaded=function(){for(var e=0;e<t.Images.length;e++)if(!t.Images[e].loaded)return!1;return!0},t.trim=function(t){return t.replace(/^\s+|\s+$/g,"")},t.compressSpaces=function(t){return t.replace(/[\s\r\t\n]+/gm," ")},t.ajax=function(t){var e;return(e=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"))?(e.open("GET",t,!1),e.send(null),e.responseText):null},t.parseXml=function(t){if(window.DOMParser)return(new DOMParser).parseFromString(t,"text/xml");var t=t.replace(/<!DOCTYPE svg[^>]*>/,""),e=new ActiveXObject("Microsoft.XMLDOM");return e.async="false",e.loadXML(t),e},t.Property=function(e,i){this.name=e,this.value=i,this.hasValue=function(){return null!=this.value&&""!==this.value},this.numValue=function(){if(!this.hasValue())return 0;var t=parseFloat(this.value);return(this.value+"").match(/%$/)&&(t/=100),t},this.valueOrDefault=function(t){return this.hasValue()?this.value:t},this.numValueOrDefault=function(t){return this.hasValue()?this.numValue():t};var n=this;this.Color={addOpacity:function(e){var i=n.value;if(null!=e&&""!=e){var s=new RGBColor(n.value);s.ok&&(i="rgba("+s.r+", "+s.g+", "+s.b+", "+e+")")}return new t.Property(n.name,i)}},this.Definition={getDefinition:function(){var e=n.value.replace(/^(url\()?#([^\)]+)\)?$/,"$2");return t.Definitions[e]},isUrl:function(){return 0==n.value.indexOf("url(")},getFillStyle:function(e){var i=this.getDefinition();return null!=i&&i.createGradient?i.createGradient(t.ctx,e):null!=i&&i.createPattern?i.createPattern(t.ctx,e):null}},this.Length={DPI:function(){return 96},EM:function(e){var i=12,n=new t.Property("fontSize",t.Font.Parse(t.ctx.font).fontSize);return n.hasValue()&&(i=n.Length.toPixels(e)),i},toPixels:function(e){if(!n.hasValue())return 0;var i=n.value+"";return i.match(/em$/)?n.numValue()*this.EM(e):i.match(/ex$/)?n.numValue()*this.EM(e)/2:i.match(/px$/)?n.numValue():i.match(/pt$/)?1.25*n.numValue():i.match(/pc$/)?15*n.numValue():i.match(/cm$/)?n.numValue()*this.DPI(e)/2.54:i.match(/mm$/)?n.numValue()*this.DPI(e)/25.4:i.match(/in$/)?n.numValue()*this.DPI(e):i.match(/%$/)?n.numValue()*t.ViewPort.ComputeSize(e):n.numValue()}},this.Time={toMilliseconds:function(){if(!n.hasValue())return 0;var t=n.value+"";return t.match(/s$/)?1e3*n.numValue():(t.match(/ms$/),n.numValue())}},this.Angle={toRadians:function(){if(!n.hasValue())return 0;var t=n.value+"";return t.match(/deg$/)?n.numValue()*(Math.PI/180):t.match(/grad$/)?n.numValue()*(Math.PI/200):t.match(/rad$/)?n.numValue():n.numValue()*(Math.PI/180)}}},t.Font=new function(){this.Styles=["normal","italic","oblique","inherit"],this.Variants=["normal","small-caps","inherit"],this.Weights="normal,bold,bolder,lighter,100,200,300,400,500,600,700,800,900,inherit".split(","),this.CreateFont=function(e,i,n,s,a,r){return r=null!=r?this.Parse(r):this.CreateFont("","","","","",t.ctx.font),{fontFamily:a||r.fontFamily,fontSize:s||r.fontSize,fontStyle:e||r.fontStyle,fontWeight:n||r.fontWeight,fontVariant:i||r.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var e=this;this.Parse=function(i){for(var n={},i=t.trim(t.compressSpaces(i||"")).split(" "),s=!1,a=!1,r=!1,o=!1,h="",l=0;l<i.length;l++)a||-1==e.Styles.indexOf(i[l])?o||-1==e.Variants.indexOf(i[l])?r||-1==e.Weights.indexOf(i[l])?s?"inherit"!=i[l]&&(h+=i[l]):("inherit"!=i[l]&&(n.fontSize=i[l].split("/")[0]),a=o=r=s=!0):("inherit"!=i[l]&&(n.fontWeight=i[l]),a=o=r=!0):("inherit"!=i[l]&&(n.fontVariant=i[l]),a=o=!0):("inherit"!=i[l]&&(n.fontStyle=i[l]),a=!0);return""!=h&&(n.fontFamily=h),n}},t.ToNumberArray=function(e){for(var e=t.trim(t.compressSpaces((e||"").replace(/,/g," "))).split(" "),i=0;i<e.length;i++)e[i]=parseFloat(e[i]);return e},t.Point=function(t,e){this.x=t,this.y=e,this.angleTo=function(t){return Math.atan2(t.y-this.y,t.x-this.x)},this.applyTransform=function(t){var e=this.x*t[1]+this.y*t[3]+t[5];this.x=this.x*t[0]+this.y*t[2]+t[4],this.y=e}},t.CreatePoint=function(e){return e=t.ToNumberArray(e),new t.Point(e[0],e[1])},t.CreatePath=function(e){for(var e=t.ToNumberArray(e),i=[],n=0;n<e.length;n+=2)i.push(new t.Point(e[n],e[n+1]));return i},t.BoundingBox=function(t,e,n,s){this.y2=this.x2=this.y1=this.x1=Number.NaN,this.x=function(){return this.x1},this.y=function(){return this.y1},this.width=function(){return this.x2-this.x1},this.height=function(){return this.y2-this.y1},this.addPoint=function(t,e){null!=t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x2=this.x1=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),null!=e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y2=this.y1=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))},this.addX=function(t){this.addPoint(t,null)},this.addY=function(t){this.addPoint(null,t)},this.addBoundingBox=function(t){this.addPoint(t.x1,t.y1),this.addPoint(t.x2,t.y2)},this.addQuadraticCurve=function(t,e,i,n,s,a){i=t+2/3*(i-t),n=e+2/3*(n-e),this.addBezierCurve(t,e,i,i+1/3*(s-t),n,n+1/3*(a-e),s,a)},this.addBezierCurve=function(t,e,n,s,a,r,o,h){var l=[t,e],u=[n,s],f=[a,r],d=[o,h];for(this.addPoint(l[0],l[1]),this.addPoint(d[0],d[1]),i=0;1>=i;i++)t=function(t){return Math.pow(1-t,3)*l[i]+3*Math.pow(1-t,2)*t*u[i]+3*(1-t)*Math.pow(t,2)*f[i]+Math.pow(t,3)*d[i]},e=6*l[i]-12*u[i]+6*f[i],n=-3*l[i]+9*u[i]-9*f[i]+3*d[i],s=3*u[i]-3*l[i],0==n?0!=e&&(e=-s/e,e>0&&1>e&&(0==i&&this.addX(t(e)),1==i&&this.addY(t(e)))):(s=Math.pow(e,2)-4*s*n,0>s||(a=(-e+Math.sqrt(s))/(2*n),a>0&&1>a&&(0==i&&this.addX(t(a)),1==i&&this.addY(t(a))),e=(-e-Math.sqrt(s))/(2*n),e>0&&1>e&&(0==i&&this.addX(t(e)),1==i&&this.addY(t(e)))))},this.isPointInBox=function(t,e){return this.x1<=t&&t<=this.x2&&this.y1<=e&&e<=this.y2},this.addPoint(t,e),this.addPoint(n,s)},t.Transform=function(e){var i=this;this.Type={},this.Type.translate=function(e){this.p=t.CreatePoint(e),this.apply=function(t){t.translate(this.p.x||0,this.p.y||0)},this.applyToPoint=function(t){t.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0])}},this.Type.rotate=function(e){e=t.ToNumberArray(e),this.angle=new t.Property("angle",e[0]),this.cx=e[1]||0,this.cy=e[2]||0,this.apply=function(t){t.translate(this.cx,this.cy),t.rotate(this.angle.Angle.toRadians()),t.translate(-this.cx,-this.cy)},this.applyToPoint=function(t){var e=this.angle.Angle.toRadians();t.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0]),t.applyTransform([Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0]),t.applyTransform([1,0,0,1,-this.p.x||0,-this.p.y||0])}},this.Type.scale=function(e){this.p=t.CreatePoint(e),this.apply=function(t){t.scale(this.p.x||1,this.p.y||this.p.x||1)},this.applyToPoint=function(t){t.applyTransform([this.p.x||0,0,0,this.p.y||0,0,0])}},this.Type.matrix=function(e){this.m=t.ToNumberArray(e),this.apply=function(t){t.transform(this.m[0],this.m[1],this.m[2],this.m[3],this.m[4],this.m[5])},this.applyToPoint=function(t){t.applyTransform(this.m)}},this.Type.SkewBase=function(e){this.base=i.Type.matrix,this.base(e),this.angle=new t.Property("angle",e)},this.Type.SkewBase.prototype=new this.Type.matrix,this.Type.skewX=function(t){this.base=i.Type.SkewBase,this.base(t),this.m=[1,0,Math.tan(this.angle.Angle.toRadians()),1,0,0]},this.Type.skewX.prototype=new this.Type.SkewBase,this.Type.skewY=function(t){this.base=i.Type.SkewBase,this.base(t),this.m=[1,Math.tan(this.angle.Angle.toRadians()),0,1,0,0]},this.Type.skewY.prototype=new this.Type.SkewBase,this.transforms=[],this.apply=function(t){for(var e=0;e<this.transforms.length;e++)this.transforms[e].apply(t)},this.applyToPoint=function(t){for(var e=0;e<this.transforms.length;e++)this.transforms[e].applyToPoint(t)};for(var e=t.trim(t.compressSpaces(e)).split(/\s(?=[a-z])/),n=0;n<e.length;n++){var s=e[n].split("(")[0],a=e[n].split("(")[1].replace(")","");this.transforms.push(new this.Type[s](a))}},t.AspectRatio=function(e,i,n,s,a,r,o,h,l,u){var i=t.compressSpaces(i),i=i.replace(/^defer\s/,""),f=i.split(" ")[0]||"xMidYMid",i=i.split(" ")[1]||"meet",d=n/s,c=a/r,m=Math.min(d,c),p=Math.max(d,c);"meet"==i&&(s*=m,r*=m),"slice"==i&&(s*=p,r*=p),l=new t.Property("refX",l),u=new t.Property("refY",u),l.hasValue()&&u.hasValue()?e.translate(-m*l.Length.toPixels("x"),-m*u.Length.toPixels("y")):(f.match(/^xMid/)&&("meet"==i&&m==c||"slice"==i&&p==c)&&e.translate(n/2-s/2,0),f.match(/YMid$/)&&("meet"==i&&m==d||"slice"==i&&p==d)&&e.translate(0,a/2-r/2),f.match(/^xMax/)&&("meet"==i&&m==c||"slice"==i&&p==c)&&e.translate(n-s,0),f.match(/YMax$/)&&("meet"==i&&m==d||"slice"==i&&p==d)&&e.translate(0,a-r)),"none"==f?e.scale(d,c):"meet"==i?e.scale(m,m):"slice"==i&&e.scale(p,p),e.translate(null==o?0:-o,null==h?0:-h)},t.Element={},t.Element.ElementBase=function(e){if(this.attributes={},this.styles={},this.children=[],this.attribute=function(e,i){var n=this.attributes[e];return null!=n?n:(n=new t.Property(e,""),1==i&&(this.attributes[e]=n),n)},this.style=function(e,i){var n=this.styles[e];return null!=n?n:(n=this.attribute(e),null!=n&&n.hasValue()?n:(n=this.parent,null!=n&&(n=n.style(e),null!=n&&n.hasValue())?n:(n=new t.Property(e,""),1==i&&(this.styles[e]=n),n)))},this.render=function(t){if("none"!=this.style("display").value&&"hidden"!=this.attribute("visibility").value){if(t.save(),this.setContext(t),this.attribute("mask").hasValue()){var e=this.attribute("mask").Definition.getDefinition();null!=e&&e.apply(t,this)}else this.style("filter").hasValue()?(e=this.style("filter").Definition.getDefinition(),null!=e&&e.apply(t,this)):this.renderChildren(t);this.clearContext(t),t.restore()}},this.setContext=function(){},this.clearContext=function(){},this.renderChildren=function(t){for(var e=0;e<this.children.length;e++)this.children[e].render(t)},this.addChild=function(e,i){var n=e;i&&(n=t.CreateElement(e)),n.parent=this,this.children.push(n)},null!=e&&1==e.nodeType){for(var i=0;i<e.childNodes.length;i++){var n=e.childNodes[i];1==n.nodeType&&this.addChild(n,!0)}for(i=0;i<e.attributes.length;i++)n=e.attributes[i],this.attributes[n.nodeName]=new t.Property(n.nodeName,n.nodeValue);if(n=t.Styles[e.nodeName],null!=n)for(var s in n)this.styles[s]=n[s];if(this.attribute("class").hasValue())for(var i=t.compressSpaces(this.attribute("class").value).split(" "),a=0;a<i.length;a++){if(n=t.Styles["."+i[a]],null!=n)for(s in n)this.styles[s]=n[s];if(n=t.Styles[e.nodeName+"."+i[a]],null!=n)for(s in n)this.styles[s]=n[s]}if(this.attribute("style").hasValue())for(n=this.attribute("style").value.split(";"),i=0;i<n.length;i++)""!=t.trim(n[i])&&(e=n[i].split(":"),s=t.trim(e[0]),e=t.trim(e[1]),this.styles[s]=new t.Property(s,e));this.attribute("id").hasValue()&&null==t.Definitions[this.attribute("id").value]&&(t.Definitions[this.attribute("id").value]=this)}},t.Element.RenderedElementBase=function(e){this.base=t.Element.ElementBase,this.base(e),this.setContext=function(e){if(this.style("fill").Definition.isUrl()){var i=this.style("fill").Definition.getFillStyle(this);null!=i&&(e.fillStyle=i)}else this.style("fill").hasValue()&&(i=this.style("fill"),this.style("fill-opacity").hasValue()&&(i=i.Color.addOpacity(this.style("fill-opacity").value)),e.fillStyle="none"==i.value?"rgba(0,0,0,0)":i.value);this.style("stroke").Definition.isUrl()?(i=this.style("stroke").Definition.getFillStyle(this),null!=i&&(e.strokeStyle=i)):this.style("stroke").hasValue()&&(i=this.style("stroke"),this.style("stroke-opacity").hasValue()&&(i=i.Color.addOpacity(this.style("stroke-opacity").value)),e.strokeStyle="none"==i.value?"rgba(0,0,0,0)":i.value),this.style("stroke-width").hasValue()&&(e.lineWidth=this.style("stroke-width").Length.toPixels()),this.style("stroke-linecap").hasValue()&&(e.lineCap=this.style("stroke-linecap").value),this.style("stroke-linejoin").hasValue()&&(e.lineJoin=this.style("stroke-linejoin").value),this.style("stroke-miterlimit").hasValue()&&(e.miterLimit=this.style("stroke-miterlimit").value),"undefined"!=typeof e.font&&(e.font=t.Font.CreateFont(this.style("font-style").value,this.style("font-variant").value,this.style("font-weight").value,this.style("font-size").hasValue()?this.style("font-size").Length.toPixels()+"px":"",this.style("font-family").value).toString()),this.attribute("transform").hasValue()&&new t.Transform(this.attribute("transform").value).apply(e),this.attribute("clip-path").hasValue()&&(i=this.attribute("clip-path").Definition.getDefinition(),null!=i&&i.apply(e)),this.style("opacity").hasValue()&&(e.globalAlpha=this.style("opacity").numValue())}},t.Element.RenderedElementBase.prototype=new t.Element.ElementBase,t.Element.PathElementBase=function(e){this.base=t.Element.RenderedElementBase,this.base(e),this.path=function(e){return null!=e&&e.beginPath(),new t.BoundingBox},this.renderChildren=function(e){this.path(e),t.Mouse.checkPath(this,e),""!=e.fillStyle&&e.fill(),""!=e.strokeStyle&&e.stroke();var i=this.getMarkers();if(null!=i){if(this.style("marker-start").Definition.isUrl()){var n=this.style("marker-start").Definition.getDefinition();n.render(e,i[0][0],i[0][1])}if(this.style("marker-mid").Definition.isUrl())for(var n=this.style("marker-mid").Definition.getDefinition(),s=1;s<i.length-1;s++)n.render(e,i[s][0],i[s][1]);this.style("marker-end").Definition.isUrl()&&(n=this.style("marker-end").Definition.getDefinition(),n.render(e,i[i.length-1][0],i[i.length-1][1]))}},this.getBoundingBox=function(){return this.path()},this.getMarkers=function(){return null}},t.Element.PathElementBase.prototype=new t.Element.RenderedElementBase,t.Element.svg=function(e){this.base=t.Element.RenderedElementBase,this.base(e),this.baseClearContext=this.clearContext,this.clearContext=function(e){this.baseClearContext(e),t.ViewPort.RemoveCurrent()},this.baseSetContext=this.setContext,this.setContext=function(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4,this.baseSetContext(e),this.attribute("x").hasValue()&&this.attribute("y").hasValue()&&e.translate(this.attribute("x").Length.toPixels("x"),this.attribute("y").Length.toPixels("y"));var i=t.ViewPort.width(),n=t.ViewPort.height();if("undefined"==typeof this.root&&this.attribute("width").hasValue()&&this.attribute("height").hasValue()){var i=this.attribute("width").Length.toPixels("x"),n=this.attribute("height").Length.toPixels("y"),s=0,a=0;this.attribute("refX").hasValue()&&this.attribute("refY").hasValue()&&(s=-this.attribute("refX").Length.toPixels("x"),a=-this.attribute("refY").Length.toPixels("y")),e.beginPath(),e.moveTo(s,a),e.lineTo(i,a),e.lineTo(i,n),e.lineTo(s,n),e.closePath(),e.clip()}if(t.ViewPort.SetCurrent(i,n),this.attribute("viewBox").hasValue()){var s=t.ToNumberArray(this.attribute("viewBox").value),a=s[0],r=s[1],i=s[2],n=s[3];t.AspectRatio(e,this.attribute("preserveAspectRatio").value,t.ViewPort.width(),i,t.ViewPort.height(),n,a,r,this.attribute("refX").value,this.attribute("refY").value),t.ViewPort.RemoveCurrent(),t.ViewPort.SetCurrent(s[2],s[3])}}},t.Element.svg.prototype=new t.Element.RenderedElementBase,t.Element.rect=function(e){this.base=t.Element.PathElementBase,this.base(e),this.path=function(e){var i=this.attribute("x").Length.toPixels("x"),n=this.attribute("y").Length.toPixels("y"),s=this.attribute("width").Length.toPixels("x"),a=this.attribute("height").Length.toPixels("y"),r=this.attribute("rx").Length.toPixels("x"),o=this.attribute("ry").Length.toPixels("y");return this.attribute("rx").hasValue()&&!this.attribute("ry").hasValue()&&(o=r),this.attribute("ry").hasValue()&&!this.attribute("rx").hasValue()&&(r=o),null!=e&&(e.beginPath(),e.moveTo(i+r,n),e.lineTo(i+s-r,n),e.quadraticCurveTo(i+s,n,i+s,n+o),e.lineTo(i+s,n+a-o),e.quadraticCurveTo(i+s,n+a,i+s-r,n+a),e.lineTo(i+r,n+a),e.quadraticCurveTo(i,n+a,i,n+a-o),e.lineTo(i,n+o),e.quadraticCurveTo(i,n,i+r,n),e.closePath()),new t.BoundingBox(i,n,i+s,n+a)}},t.Element.rect.prototype=new t.Element.PathElementBase,t.Element.circle=function(e){this.base=t.Element.PathElementBase,this.base(e),this.path=function(e){var i=this.attribute("cx").Length.toPixels("x"),n=this.attribute("cy").Length.toPixels("y"),s=this.attribute("r").Length.toPixels();return null!=e&&(e.beginPath(),e.arc(i,n,s,0,2*Math.PI,!0),e.closePath()),new t.BoundingBox(i-s,n-s,i+s,n+s)}},t.Element.circle.prototype=new t.Element.PathElementBase,t.Element.ellipse=function(e){this.base=t.Element.PathElementBase,this.base(e),this.path=function(e){var i=4*((Math.sqrt(2)-1)/3),n=this.attribute("rx").Length.toPixels("x"),s=this.attribute("ry").Length.toPixels("y"),a=this.attribute("cx").Length.toPixels("x"),r=this.attribute("cy").Length.toPixels("y");return null!=e&&(e.beginPath(),e.moveTo(a,r-s),e.bezierCurveTo(a+i*n,r-s,a+n,r-i*s,a+n,r),e.bezierCurveTo(a+n,r+i*s,a+i*n,r+s,a,r+s),e.bezierCurveTo(a-i*n,r+s,a-n,r+i*s,a-n,r),e.bezierCurveTo(a-n,r-i*s,a-i*n,r-s,a,r-s),e.closePath()),new t.BoundingBox(a-n,r-s,a+n,r+s)}},t.Element.ellipse.prototype=new t.Element.PathElementBase,t.Element.line=function(e){this.base=t.Element.PathElementBase,this.base(e),this.getPoints=function(){return[new t.Point(this.attribute("x1").Length.toPixels("x"),this.attribute("y1").Length.toPixels("y")),new t.Point(this.attribute("x2").Length.toPixels("x"),this.attribute("y2").Length.toPixels("y"))]},this.path=function(e){var i=this.getPoints();return null!=e&&(e.beginPath(),e.moveTo(i[0].x,i[0].y),e.lineTo(i[1].x,i[1].y)),new t.BoundingBox(i[0].x,i[0].y,i[1].x,i[1].y)},this.getMarkers=function(){var t=this.getPoints(),e=t[0].angleTo(t[1]);return[[t[0],e],[t[1],e]]}},t.Element.line.prototype=new t.Element.PathElementBase,t.Element.polyline=function(e){this.base=t.Element.PathElementBase,this.base(e),this.points=t.CreatePath(this.attribute("points").value),this.path=function(e){var i=new t.BoundingBox(this.points[0].x,this.points[0].y);null!=e&&(e.beginPath(),e.moveTo(this.points[0].x,this.points[0].y));for(var n=1;n<this.points.length;n++)i.addPoint(this.points[n].x,this.points[n].y),null!=e&&e.lineTo(this.points[n].x,this.points[n].y);return i},this.getMarkers=function(){for(var t=[],e=0;e<this.points.length-1;e++)t.push([this.points[e],this.points[e].angleTo(this.points[e+1])]);return t.push([this.points[this.points.length-1],t[t.length-1][1]]),t}},t.Element.polyline.prototype=new t.Element.PathElementBase,t.Element.polygon=function(e){this.base=t.Element.polyline,this.base(e),this.basePath=this.path,this.path=function(t){var e=this.basePath(t);return null!=t&&(t.lineTo(this.points[0].x,this.points[0].y),t.closePath()),e}},t.Element.polygon.prototype=new t.Element.polyline,t.Element.path=function(e){this.base=t.Element.PathElementBase,this.base(e),e=this.attribute("d").value,e=e.replace(/,/gm," "),e=e.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),e=e.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),e=e.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2"),e=e.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),e=e.replace(/([0-9])([+\-])/gm,"$1 $2"),e=e.replace(/(\.[0-9]*)(\.)/gm,"$1 $2"),e=e.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),e=t.compressSpaces(e),e=t.trim(e),this.PathParser=new function(e){this.tokens=e.split(" "),this.reset=function(){this.i=-1,this.previousCommand=this.command="",this.start=new t.Point(0,0),this.control=new t.Point(0,0),this.current=new t.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){return this.isEnd()?!0:null!=this.tokens[this.i+1].match(/^[A-Za-z]$/)},this.isRelativeCommand=function(){return this.command==this.command.toLowerCase()},this.getToken=function(){return this.i+=1,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){return this.makeAbsolute(new t.Point(this.getScalar(),this.getScalar()))},this.getAsControlPoint=function(){var t=this.getPoint();return this.control=t},this.getAsCurrentPoint=function(){var t=this.getPoint();return this.current=t},this.getReflectedControlPoint=function(){return"c"!=this.previousCommand.toLowerCase()&&"s"!=this.previousCommand.toLowerCase()?this.current:new t.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},this.makeAbsolute=function(t){return this.isRelativeCommand()&&(t.x=this.current.x+t.x,t.y=this.current.y+t.y),t},this.addMarker=function(t,e,i){null!=i&&this.angles.length>0&&null==this.angles[this.angles.length-1]&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(i)),this.addMarkerAngle(t,null==e?null:e.angleTo(t))},this.addMarkerAngle=function(t,e){this.points.push(t),this.angles.push(e)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var t=0;t<this.angles.length;t++)if(null==this.angles[t])for(var e=t+1;e<this.angles.length;e++)if(null!=this.angles[e]){this.angles[t]=this.angles[e];break}return this.angles}}(e),this.path=function(e){var i=this.PathParser;i.reset();var n=new t.BoundingBox;for(null!=e&&e.beginPath();!i.isEnd();)switch(i.nextCommand(),i.command.toUpperCase()){case"M":var s=i.getAsCurrentPoint();for(i.addMarker(s),n.addPoint(s.x,s.y),null!=e&&e.moveTo(s.x,s.y),i.start=i.current;!i.isCommandOrEnd();)s=i.getAsCurrentPoint(),i.addMarker(s,i.start),n.addPoint(s.x,s.y),null!=e&&e.lineTo(s.x,s.y);break;case"L":for(;!i.isCommandOrEnd();){var a=i.current,s=i.getAsCurrentPoint();i.addMarker(s,a),n.addPoint(s.x,s.y),null!=e&&e.lineTo(s.x,s.y)}break;case"H":for(;!i.isCommandOrEnd();)s=new t.Point((i.isRelativeCommand()?i.current.x:0)+i.getScalar(),i.current.y),i.addMarker(s,i.current),i.current=s,n.addPoint(i.current.x,i.current.y),null!=e&&e.lineTo(i.current.x,i.current.y);break;case"V":for(;!i.isCommandOrEnd();)s=new t.Point(i.current.x,(i.isRelativeCommand()?i.current.y:0)+i.getScalar()),i.addMarker(s,i.current),i.current=s,n.addPoint(i.current.x,i.current.y),null!=e&&e.lineTo(i.current.x,i.current.y);break;case"C":for(;!i.isCommandOrEnd();){var r=i.current,a=i.getPoint(),o=i.getAsControlPoint(),s=i.getAsCurrentPoint();i.addMarker(s,o,a),n.addBezierCurve(r.x,r.y,a.x,a.y,o.x,o.y,s.x,s.y),null!=e&&e.bezierCurveTo(a.x,a.y,o.x,o.y,s.x,s.y)}break;case"S":for(;!i.isCommandOrEnd();)r=i.current,a=i.getReflectedControlPoint(),o=i.getAsControlPoint(),s=i.getAsCurrentPoint(),i.addMarker(s,o,a),n.addBezierCurve(r.x,r.y,a.x,a.y,o.x,o.y,s.x,s.y),null!=e&&e.bezierCurveTo(a.x,a.y,o.x,o.y,s.x,s.y);break;case"Q":for(;!i.isCommandOrEnd();)r=i.current,o=i.getAsControlPoint(),s=i.getAsCurrentPoint(),i.addMarker(s,o,o),n.addQuadraticCurve(r.x,r.y,o.x,o.y,s.x,s.y),null!=e&&e.quadraticCurveTo(o.x,o.y,s.x,s.y);break;case"T":for(;!i.isCommandOrEnd();)r=i.current,o=i.getReflectedControlPoint(),i.control=o,s=i.getAsCurrentPoint(),i.addMarker(s,o,o),n.addQuadraticCurve(r.x,r.y,o.x,o.y,s.x,s.y),null!=e&&e.quadraticCurveTo(o.x,o.y,s.x,s.y);break;case"A":for(;!i.isCommandOrEnd();){var r=i.current,h=i.getScalar(),l=i.getScalar(),a=i.getScalar()*(Math.PI/180),u=i.getScalar(),o=i.getScalar(),s=i.getAsCurrentPoint(),f=new t.Point(Math.cos(a)*(r.x-s.x)/2+Math.sin(a)*(r.y-s.y)/2,-Math.sin(a)*(r.x-s.x)/2+Math.cos(a)*(r.y-s.y)/2),d=Math.pow(f.x,2)/Math.pow(h,2)+Math.pow(f.y,2)/Math.pow(l,2);d>1&&(h*=Math.sqrt(d),l*=Math.sqrt(d)),u=(u==o?-1:1)*Math.sqrt((Math.pow(h,2)*Math.pow(l,2)-Math.pow(h,2)*Math.pow(f.y,2)-Math.pow(l,2)*Math.pow(f.x,2))/(Math.pow(h,2)*Math.pow(f.y,2)+Math.pow(l,2)*Math.pow(f.x,2))),isNaN(u)&&(u=0);var c=new t.Point(u*h*f.y/l,u*-l*f.x/h),r=new t.Point((r.x+s.x)/2+Math.cos(a)*c.x-Math.sin(a)*c.y,(r.y+s.y)/2+Math.sin(a)*c.x+Math.cos(a)*c.y),m=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))*Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)))},p=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))},u=p([1,0],[(f.x-c.x)/h,(f.y-c.y)/l]),d=[(f.x-c.x)/h,(f.y-c.y)/l],c=[(-f.x-c.x)/h,(-f.y-c.y)/l],f=p(d,c);m(d,c)<=-1&&(f=Math.PI),m(d,c)>=1&&(f=0),0==o&&f>0&&(f-=2*Math.PI),1==o&&0>f&&(f+=2*Math.PI),d=new t.Point(r.x-h*Math.cos((u+f)/2),r.y-l*Math.sin((u+f)/2)),i.addMarkerAngle(d,(u+f)/2+(0==o?1:-1)*Math.PI/2),i.addMarkerAngle(s,f+(0==o?1:-1)*Math.PI/2),n.addPoint(s.x,s.y),null!=e&&(m=h>l?h:l,s=h>l?1:h/l,h=h>l?l/h:1,e.translate(r.x,r.y),e.rotate(a),e.scale(s,h),e.arc(0,0,m,u,u+f,1-o),e.scale(1/s,1/h),e.rotate(-a),e.translate(-r.x,-r.y))}break;case"Z":null!=e&&e.closePath(),i.current=i.start}return n},this.getMarkers=function(){for(var t=this.PathParser.getMarkerPoints(),e=this.PathParser.getMarkerAngles(),i=[],n=0;n<t.length;n++)i.push([t[n],e[n]]);return i}},t.Element.path.prototype=new t.Element.PathElementBase,t.Element.pattern=function(e){this.base=t.Element.ElementBase,this.base(e),this.createPattern=function(e){var i=new t.Element.svg;i.attributes.viewBox=new t.Property("viewBox",this.attribute("viewBox").value),i.attributes.x=new t.Property("x",this.attribute("x").value),i.attributes.y=new t.Property("y",this.attribute("y").value),i.attributes.width=new t.Property("width",this.attribute("width").value),i.attributes.height=new t.Property("height",this.attribute("height").value),i.children=this.children;var n=document.createElement("canvas");return n.width=this.attribute("width").Length.toPixels("x"),n.height=this.attribute("height").Length.toPixels("y"),i.render(n.getContext("2d")),e.createPattern(n,"repeat")}},t.Element.pattern.prototype=new t.Element.ElementBase,t.Element.marker=function(e){this.base=t.Element.ElementBase,this.base(e),this.baseRender=this.render,this.render=function(e,i,n){e.translate(i.x,i.y),"auto"==this.attribute("orient").valueOrDefault("auto")&&e.rotate(n),"strokeWidth"==this.attribute("markerUnits").valueOrDefault("strokeWidth")&&e.scale(e.lineWidth,e.lineWidth),e.save();var s=new t.Element.svg;s.attributes.viewBox=new t.Property("viewBox",this.attribute("viewBox").value),s.attributes.refX=new t.Property("refX",this.attribute("refX").value),s.attributes.refY=new t.Property("refY",this.attribute("refY").value),s.attributes.width=new t.Property("width",this.attribute("markerWidth").value),s.attributes.height=new t.Property("height",this.attribute("markerHeight").value),s.attributes.fill=new t.Property("fill",this.attribute("fill").valueOrDefault("black")),s.attributes.stroke=new t.Property("stroke",this.attribute("stroke").valueOrDefault("none")),s.children=this.children,s.render(e),e.restore(),"strokeWidth"==this.attribute("markerUnits").valueOrDefault("strokeWidth")&&e.scale(1/e.lineWidth,1/e.lineWidth),"auto"==this.attribute("orient").valueOrDefault("auto")&&e.rotate(-n),e.translate(-i.x,-i.y)}},t.Element.marker.prototype=new t.Element.ElementBase,t.Element.defs=function(e){this.base=t.Element.ElementBase,this.base(e),this.render=function(){}
23
+ },t.Element.defs.prototype=new t.Element.ElementBase,t.Element.GradientBase=function(e){for(this.base=t.Element.ElementBase,this.base(e),this.gradientUnits=this.attribute("gradientUnits").valueOrDefault("objectBoundingBox"),this.stops=[],e=0;e<this.children.length;e++)this.stops.push(this.children[e]);this.getGradient=function(){},this.createGradient=function(e,i){var n=this;this.attribute("xlink:href").hasValue()&&(n=this.attribute("xlink:href").Definition.getDefinition());for(var s=this.getGradient(e,i),a=0;a<n.stops.length;a++)s.addColorStop(n.stops[a].offset,n.stops[a].color);if(this.attribute("gradientTransform").hasValue()){n=t.ViewPort.viewPorts[0],a=new t.Element.rect,a.attributes.x=new t.Property("x",-t.MAX_VIRTUAL_PIXELS/3),a.attributes.y=new t.Property("y",-t.MAX_VIRTUAL_PIXELS/3),a.attributes.width=new t.Property("width",t.MAX_VIRTUAL_PIXELS),a.attributes.height=new t.Property("height",t.MAX_VIRTUAL_PIXELS);var r=new t.Element.g;return r.attributes.transform=new t.Property("transform",this.attribute("gradientTransform").value),r.children=[a],a=new t.Element.svg,a.attributes.x=new t.Property("x",0),a.attributes.y=new t.Property("y",0),a.attributes.width=new t.Property("width",n.width),a.attributes.height=new t.Property("height",n.height),a.children=[r],r=document.createElement("canvas"),r.width=n.width,r.height=n.height,n=r.getContext("2d"),n.fillStyle=s,a.render(n),n.createPattern(r,"no-repeat")}return s}},t.Element.GradientBase.prototype=new t.Element.ElementBase,t.Element.linearGradient=function(e){this.base=t.Element.GradientBase,this.base(e),this.getGradient=function(t,e){var i=e.getBoundingBox(),n="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("x1").numValue():this.attribute("x1").Length.toPixels("x"),s="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("y1").numValue():this.attribute("y1").Length.toPixels("y"),a="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("x2").numValue():this.attribute("x2").Length.toPixels("x"),i="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("y2").numValue():this.attribute("y2").Length.toPixels("y");return t.createLinearGradient(n,s,a,i)}},t.Element.linearGradient.prototype=new t.Element.GradientBase,t.Element.radialGradient=function(e){this.base=t.Element.GradientBase,this.base(e),this.getGradient=function(t,e){var i=e.getBoundingBox(),n="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("cx").numValue():this.attribute("cx").Length.toPixels("x"),s="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("cy").numValue():this.attribute("cy").Length.toPixels("y"),a=n,r=s;return this.attribute("fx").hasValue()&&(a="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("fx").numValue():this.attribute("fx").Length.toPixels("x")),this.attribute("fy").hasValue()&&(r="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("fy").numValue():this.attribute("fy").Length.toPixels("y")),i="objectBoundingBox"==this.gradientUnits?(i.width()+i.height())/2*this.attribute("r").numValue():this.attribute("r").Length.toPixels(),t.createRadialGradient(a,r,0,n,s,i)}},t.Element.radialGradient.prototype=new t.Element.GradientBase,t.Element.stop=function(e){this.base=t.Element.ElementBase,this.base(e),this.offset=this.attribute("offset").numValue(),e=this.style("stop-color"),this.style("stop-opacity").hasValue()&&(e=e.Color.addOpacity(this.style("stop-opacity").value)),this.color=e.value},t.Element.stop.prototype=new t.Element.ElementBase,t.Element.AnimateBase=function(e){this.base=t.Element.ElementBase,this.base(e),t.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").Time.toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").Time.toMilliseconds(),this.getProperty=function(){var t=this.attribute("attributeType").value,e=this.attribute("attributeName").value;return"CSS"==t?this.parent.style(e,!0):this.parent.attribute(e,!0)},this.initialValue=null,this.removed=!1,this.calcValue=function(){return""},this.update=function(t){if(null==this.initialValue&&(this.initialValue=this.getProperty().value),this.duration>this.maxDuration){if("indefinite"!=this.attribute("repeatCount").value)return"remove"!=this.attribute("fill").valueOrDefault("remove")||this.removed?!1:(this.removed=!0,this.getProperty().value=this.initialValue,!0);this.duration=0}return this.duration+=t,t=!1,this.begin<this.duration&&(t=this.calcValue(),this.attribute("type").hasValue()&&(t=this.attribute("type").value+"("+t+")"),this.getProperty().value=t,t=!0),t},this.progress=function(){return(this.duration-this.begin)/(this.maxDuration-this.begin)}},t.Element.AnimateBase.prototype=new t.Element.ElementBase,t.Element.animate=function(e){this.base=t.Element.AnimateBase,this.base(e),this.calcValue=function(){var t=this.attribute("from").numValue(),e=this.attribute("to").numValue();return t+(e-t)*this.progress()}},t.Element.animate.prototype=new t.Element.AnimateBase,t.Element.animateColor=function(e){this.base=t.Element.AnimateBase,this.base(e),this.calcValue=function(){var t=new RGBColor(this.attribute("from").value),e=new RGBColor(this.attribute("to").value);if(t.ok&&e.ok){var i=t.r+(e.r-t.r)*this.progress(),n=t.g+(e.g-t.g)*this.progress(),t=t.b+(e.b-t.b)*this.progress();return"rgb("+parseInt(i,10)+","+parseInt(n,10)+","+parseInt(t,10)+")"}return this.attribute("from").value}},t.Element.animateColor.prototype=new t.Element.AnimateBase,t.Element.animateTransform=function(e){this.base=t.Element.animate,this.base(e)},t.Element.animateTransform.prototype=new t.Element.animate,t.Element.font=function(e){for(this.base=t.Element.ElementBase,this.base(e),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.isArabic=this.isRTL=!1,this.missingGlyph=this.fontFace=null,this.glyphs=[],e=0;e<this.children.length;e++){var i=this.children[e];"font-face"==i.type?(this.fontFace=i,i.style("font-family").hasValue()&&(t.Definitions[i.style("font-family").value]=this)):"missing-glyph"==i.type?this.missingGlyph=i:"glyph"==i.type&&(""!=i.arabicForm?(this.isArabic=this.isRTL=!0,"undefined"==typeof this.glyphs[i.unicode]&&(this.glyphs[i.unicode]=[]),this.glyphs[i.unicode][i.arabicForm]=i):this.glyphs[i.unicode]=i)}},t.Element.font.prototype=new t.Element.ElementBase,t.Element.fontface=function(e){this.base=t.Element.ElementBase,this.base(e),this.ascent=this.attribute("ascent").value,this.descent=this.attribute("descent").value,this.unitsPerEm=this.attribute("units-per-em").numValue()},t.Element.fontface.prototype=new t.Element.ElementBase,t.Element.missingglyph=function(e){this.base=t.Element.path,this.base(e),this.horizAdvX=0},t.Element.missingglyph.prototype=new t.Element.path,t.Element.glyph=function(e){this.base=t.Element.path,this.base(e),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.unicode=this.attribute("unicode").value,this.arabicForm=this.attribute("arabic-form").value},t.Element.glyph.prototype=new t.Element.path,t.Element.text=function(e){if(this.base=t.Element.RenderedElementBase,this.base(e),null!=e){this.children=[];for(var i=0;i<e.childNodes.length;i++){var n=e.childNodes[i];1==n.nodeType?this.addChild(n,!0):3==n.nodeType&&this.addChild(new t.Element.tspan(n),!1)}}this.baseSetContext=this.setContext,this.setContext=function(t){this.baseSetContext(t),this.style("dominant-baseline").hasValue()&&(t.textBaseline=this.style("dominant-baseline").value),this.style("alignment-baseline").hasValue()&&(t.textBaseline=this.style("alignment-baseline").value)},this.renderChildren=function(t){for(var e=this.style("text-anchor").valueOrDefault("start"),i=this.attribute("x").Length.toPixels("x"),n=this.attribute("y").Length.toPixels("y"),s=0;s<this.children.length;s++){var a=this.children[s];if(a.attribute("x").hasValue()?a.x=a.attribute("x").Length.toPixels("x"):(a.attribute("dx").hasValue()&&(i+=a.attribute("dx").Length.toPixels("x")),a.x=i),i=a.measureText(t),"start"!=e&&(0==s||a.attribute("x").hasValue())){for(var r=i,o=s+1;o<this.children.length;o++){var h=this.children[o];if(h.attribute("x").hasValue())break;r+=h.measureText(t)}a.x-="end"==e?r:r/2}i=a.x+i,a.attribute("y").hasValue()?a.y=a.attribute("y").Length.toPixels("y"):(a.attribute("dy").hasValue()&&(n+=a.attribute("dy").Length.toPixels("y")),a.y=n),n=a.y,a.render(t)}}},t.Element.text.prototype=new t.Element.RenderedElementBase,t.Element.TextElementBase=function(e){this.base=t.Element.RenderedElementBase,this.base(e),this.getGlyph=function(t,e,i){var n=e[i],s=null;if(t.isArabic){var a="isolated";(0==i||" "==e[i-1])&&i<e.length-2&&" "!=e[i+1]&&(a="terminal"),i>0&&" "!=e[i-1]&&i<e.length-2&&" "!=e[i+1]&&(a="medial"),i>0&&" "!=e[i-1]&&(i==e.length-1||" "==e[i+1])&&(a="initial"),"undefined"!=typeof t.glyphs[n]&&(s=t.glyphs[n][a],null==s&&"glyph"==t.glyphs[n].type&&(s=t.glyphs[n]))}else s=t.glyphs[n];return null==s&&(s=t.missingGlyph),s},this.renderChildren=function(e){var i=this.parent.style("font-family").Definition.getDefinition();if(null!=i){var n=this.parent.style("font-size").numValueOrDefault(t.Font.Parse(t.ctx.font).fontSize),s=this.parent.style("font-style").valueOrDefault(t.Font.Parse(t.ctx.font).fontStyle),a=this.getText();i.isRTL&&(a=a.split("").reverse().join(""));for(var r=t.ToNumberArray(this.parent.attribute("dx").value),o=0;o<a.length;o++){var h=this.getGlyph(i,a,o),l=n/i.fontFace.unitsPerEm;e.translate(this.x,this.y),e.scale(l,-l);var u=e.lineWidth;e.lineWidth=e.lineWidth*i.fontFace.unitsPerEm/n,"italic"==s&&e.transform(1,0,.4,1,0,0),h.render(e),"italic"==s&&e.transform(1,0,-.4,1,0,0),e.lineWidth=u,e.scale(1/l,-1/l),e.translate(-this.x,-this.y),this.x+=n*(h.horizAdvX||i.horizAdvX)/i.fontFace.unitsPerEm,"undefined"!=typeof r[o]&&!isNaN(r[o])&&(this.x+=r[o])}}else""!=e.strokeStyle&&e.strokeText(t.compressSpaces(this.getText()),this.x,this.y),""!=e.fillStyle&&e.fillText(t.compressSpaces(this.getText()),this.x,this.y)},this.getText=function(){},this.measureText=function(e){var i=this.parent.style("font-family").Definition.getDefinition();if(null!=i){var e=this.parent.style("font-size").numValueOrDefault(t.Font.Parse(t.ctx.font).fontSize),n=0,s=this.getText();i.isRTL&&(s=s.split("").reverse().join(""));for(var a=t.ToNumberArray(this.parent.attribute("dx").value),r=0;r<s.length;r++){var o=this.getGlyph(i,s,r);n+=(o.horizAdvX||i.horizAdvX)*e/i.fontFace.unitsPerEm,"undefined"!=typeof a[r]&&!isNaN(a[r])&&(n+=a[r])}return n}return i=t.compressSpaces(this.getText()),e.measureText?(e.save(),this.setContext(e),i=e.measureText(i).width,e.restore(),i):10*i.length}},t.Element.TextElementBase.prototype=new t.Element.RenderedElementBase,t.Element.tspan=function(e){this.base=t.Element.TextElementBase,this.base(e),this.text=3==e.nodeType?e.nodeValue:e.childNodes.length>0?e.childNodes[0].nodeValue:e.text,this.getText=function(){return this.text}},t.Element.tspan.prototype=new t.Element.TextElementBase,t.Element.tref=function(e){this.base=t.Element.TextElementBase,this.base(e),this.getText=function(){var t=this.attribute("xlink:href").Definition.getDefinition();return null!=t?t.children[0].getText():void 0}},t.Element.tref.prototype=new t.Element.TextElementBase,t.Element.a=function(e){this.base=t.Element.TextElementBase,this.base(e),this.hasText=!0;for(var i=0;i<e.childNodes.length;i++)3!=e.childNodes[i].nodeType&&(this.hasText=!1);this.text=this.hasText?e.childNodes[0].nodeValue:"",this.getText=function(){return this.text},this.baseRenderChildren=this.renderChildren,this.renderChildren=function(e){if(this.hasText){this.baseRenderChildren(e);var i=new t.Property("fontSize",t.Font.Parse(t.ctx.font).fontSize);t.Mouse.checkBoundingBox(this,new t.BoundingBox(this.x,this.y-i.Length.toPixels("y"),this.x+this.measureText(e),this.y))}else i=new t.Element.g,i.children=this.children,i.parent=this,i.render(e)},this.onclick=function(){window.open(this.attribute("xlink:href").value)},this.onmousemove=function(){t.ctx.canvas.style.cursor="pointer"}},t.Element.a.prototype=new t.Element.TextElementBase,t.Element.image=function(e){this.base=t.Element.RenderedElementBase,this.base(e),t.Images.push(this),this.img=document.createElement("img"),this.loaded=!1;var i=this;this.img.onload=function(){i.loaded=!0},this.img.src=this.attribute("xlink:href").value,this.renderChildren=function(e){var i=this.attribute("x").Length.toPixels("x"),n=this.attribute("y").Length.toPixels("y"),s=this.attribute("width").Length.toPixels("x"),a=this.attribute("height").Length.toPixels("y");0==s||0==a||(e.save(),e.translate(i,n),t.AspectRatio(e,this.attribute("preserveAspectRatio").value,s,this.img.width,a,this.img.height,0,0),e.drawImage(this.img,0,0),e.restore())}},t.Element.image.prototype=new t.Element.RenderedElementBase,t.Element.g=function(e){this.base=t.Element.RenderedElementBase,this.base(e),this.getBoundingBox=function(){for(var e=new t.BoundingBox,i=0;i<this.children.length;i++)e.addBoundingBox(this.children[i].getBoundingBox());return e}},t.Element.g.prototype=new t.Element.RenderedElementBase,t.Element.symbol=function(e){this.base=t.Element.RenderedElementBase,this.base(e),this.baseSetContext=this.setContext,this.setContext=function(e){if(this.baseSetContext(e),this.attribute("viewBox").hasValue()){var i=t.ToNumberArray(this.attribute("viewBox").value),n=i[0],s=i[1];width=i[2],height=i[3],t.AspectRatio(e,this.attribute("preserveAspectRatio").value,this.attribute("width").Length.toPixels("x"),width,this.attribute("height").Length.toPixels("y"),height,n,s),t.ViewPort.SetCurrent(i[2],i[3])}}},t.Element.symbol.prototype=new t.Element.RenderedElementBase,t.Element.style=function(e){this.base=t.Element.ElementBase,this.base(e);for(var e=e.childNodes[0].nodeValue+(e.childNodes.length>1?e.childNodes[1].nodeValue:""),e=e.replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,""),e=t.compressSpaces(e),e=e.split("}"),i=0;i<e.length;i++)if(""!=t.trim(e[i]))for(var n=e[i].split("{"),s=n[0].split(","),n=n[1].split(";"),a=0;a<s.length;a++){var r=t.trim(s[a]);if(""!=r){for(var o={},h=0;h<n.length;h++){var l=n[h].indexOf(":"),u=n[h].substr(0,l),l=n[h].substr(l+1,n[h].length-l);null!=u&&null!=l&&(o[t.trim(u)]=new t.Property(t.trim(u),t.trim(l)))}if(t.Styles[r]=o,"@font-face"==r)for(r=o["font-family"].value.replace(/"/g,""),o=o.src.value.split(","),h=0;h<o.length;h++)if(o[h].indexOf('format("svg")')>0)for(u=o[h].indexOf("url"),l=o[h].indexOf(")",u),u=o[h].substr(u+5,l-u-6),u=t.parseXml(t.ajax(u)).getElementsByTagName("font"),l=0;l<u.length;l++){var f=t.CreateElement(u[l]);t.Definitions[r]=f}}}},t.Element.style.prototype=new t.Element.ElementBase,t.Element.use=function(e){this.base=t.Element.RenderedElementBase,this.base(e),this.baseSetContext=this.setContext,this.setContext=function(t){this.baseSetContext(t),this.attribute("x").hasValue()&&t.translate(this.attribute("x").Length.toPixels("x"),0),this.attribute("y").hasValue()&&t.translate(0,this.attribute("y").Length.toPixels("y"))},this.getDefinition=function(){var t=this.attribute("xlink:href").Definition.getDefinition();return this.attribute("width").hasValue()&&(t.attribute("width",!0).value=this.attribute("width").value),this.attribute("height").hasValue()&&(t.attribute("height",!0).value=this.attribute("height").value),t},this.path=function(t){var e=this.getDefinition();null!=e&&e.path(t)},this.renderChildren=function(t){var e=this.getDefinition();null!=e&&e.render(t)}},t.Element.use.prototype=new t.Element.RenderedElementBase,t.Element.mask=function(e){this.base=t.Element.ElementBase,this.base(e),this.apply=function(t,e){var i=this.attribute("x").Length.toPixels("x"),n=this.attribute("y").Length.toPixels("y"),s=this.attribute("width").Length.toPixels("x"),a=this.attribute("height").Length.toPixels("y"),r=e.attribute("mask").value;e.attribute("mask").value="";var o=document.createElement("canvas");o.width=i+s,o.height=n+a;var h=o.getContext("2d");this.renderChildren(h);var l=document.createElement("canvas");l.width=i+s,l.height=n+a;var u=l.getContext("2d");e.render(u),u.globalCompositeOperation="destination-in",u.fillStyle=h.createPattern(o,"no-repeat"),u.fillRect(0,0,i+s,n+a),t.fillStyle=u.createPattern(l,"no-repeat"),t.fillRect(0,0,i+s,n+a),e.attribute("mask").value=r},this.render=function(){}},t.Element.mask.prototype=new t.Element.ElementBase,t.Element.clipPath=function(e){this.base=t.Element.ElementBase,this.base(e),this.apply=function(t){for(var e=0;e<this.children.length;e++)this.children[e].path&&(this.children[e].path(t),t.clip())},this.render=function(){}},t.Element.clipPath.prototype=new t.Element.ElementBase,t.Element.filter=function(e){this.base=t.Element.ElementBase,this.base(e),this.apply=function(t,e){var i=e.getBoundingBox(),n=this.attribute("x").Length.toPixels("x"),s=this.attribute("y").Length.toPixels("y");(0==n||0==s)&&(n=i.x1,s=i.y1);var a=this.attribute("width").Length.toPixels("x"),r=this.attribute("height").Length.toPixels("y");(0==a||0==r)&&(a=i.width(),r=i.height()),i=e.style("filter").value,e.style("filter").value="";var o=.2*a,h=.2*r,l=document.createElement("canvas");l.width=a+2*o,l.height=r+2*h;var u=l.getContext("2d");u.translate(-n+o,-s+h),e.render(u);for(var f=0;f<this.children.length;f++)this.children[f].apply(u,0,0,a+2*o,r+2*h);t.drawImage(l,0,0,a+2*o,r+2*h,n-o,s-h,a+2*o,r+2*h),e.style("filter",!0).value=i},this.render=function(){}},t.Element.filter.prototype=new t.Element.ElementBase,t.Element.feGaussianBlur=function(e){function i(t,e,i,n,s){for(var a=0;s>a;a++)for(var r=0;n>r;r++)for(var o=t[4*a*n+4*r+3]/255,h=0;4>h;h++){for(var l=i[0]*(0==o?255:t[4*a*n+4*r+h])*(0==o||3==h?1:o),u=1;u<i.length;u++){var f,d=Math.max(r-u,0),c=t[4*a*n+4*d+3]/255,d=Math.min(r+u,n-1),d=t[4*a*n+4*d+3]/255,m=i[u];0==c?f=255:(f=Math.max(r-u,0),f=t[4*a*n+4*f+h]),c=f*(0==c||3==h?1:c),0==d?f=255:(f=Math.min(r+u,n-1),f=t[4*a*n+4*f+h]),l+=m*(c+f*(0==d||3==h?1:d))}e[4*r*s+4*a+h]=l}}this.base=t.Element.ElementBase,this.base(e),this.apply=function(t,e,n,s,a){var n=this.attribute("stdDeviation").numValue(),e=t.getImageData(0,0,s,a),n=Math.max(n,.01),r=Math.ceil(4*n)+1;mask=[];for(var o=0;r>o;o++)mask[o]=Math.exp(-.5*(o/n)*(o/n));for(n=mask,r=0,o=1;o<n.length;o++)r+=Math.abs(n[o]);for(r=2*r+Math.abs(n[0]),o=0;o<n.length;o++)n[o]/=r;tmp=[],i(e.data,tmp,n,s,a),i(tmp,e.data,n,a,s),t.clearRect(0,0,s,a),t.putImageData(e,0,0)}},t.Element.filter.prototype=new t.Element.feGaussianBlur,t.Element.title=function(){},t.Element.title.prototype=new t.Element.ElementBase,t.Element.desc=function(){},t.Element.desc.prototype=new t.Element.ElementBase,t.Element.MISSING=function(t){console.log("ERROR: Element '"+t.nodeName+"' not yet implemented.")},t.Element.MISSING.prototype=new t.Element.ElementBase,t.CreateElement=function(e){var i=e.nodeName.replace(/^[^:]+:/,""),i=i.replace(/\-/g,""),n=null,n="undefined"!=typeof t.Element[i]?new t.Element[i](e):new t.Element.MISSING(e);return n.type=e.nodeName,n},t.load=function(e,i){t.loadXml(e,t.ajax(i))},t.loadXml=function(e,i){t.loadXmlDoc(e,t.parseXml(i))},t.loadXmlDoc=function(e,i){t.init(e);var n=function(t){for(var i=e.canvas;i;)t.x-=i.offsetLeft,t.y-=i.offsetTop,i=i.offsetParent;return window.scrollX&&(t.x+=window.scrollX),window.scrollY&&(t.y+=window.scrollY),t};1!=t.opts.ignoreMouse&&(e.canvas.onclick=function(e){e=n(new t.Point(null!=e?e.clientX:event.clientX,null!=e?e.clientY:event.clientY)),t.Mouse.onclick(e.x,e.y)},e.canvas.onmousemove=function(e){e=n(new t.Point(null!=e?e.clientX:event.clientX,null!=e?e.clientY:event.clientY)),t.Mouse.onmousemove(e.x,e.y)});var s=t.CreateElement(i.documentElement),a=s.root=!0,r=function(){t.ViewPort.Clear(),e.canvas.parentNode&&t.ViewPort.SetCurrent(e.canvas.parentNode.clientWidth,e.canvas.parentNode.clientHeight),1!=t.opts.ignoreDimensions&&(s.style("width").hasValue()&&(e.canvas.width=s.style("width").Length.toPixels("x"),e.canvas.style.width=e.canvas.width+"px"),s.style("height").hasValue()&&(e.canvas.height=s.style("height").Length.toPixels("y"),e.canvas.style.height=e.canvas.height+"px"));var i=e.canvas.clientWidth||e.canvas.width,n=e.canvas.clientHeight||e.canvas.height;if(t.ViewPort.SetCurrent(i,n),null!=t.opts&&null!=t.opts.offsetX&&(s.attribute("x",!0).value=t.opts.offsetX),null!=t.opts&&null!=t.opts.offsetY&&(s.attribute("y",!0).value=t.opts.offsetY),null!=t.opts&&null!=t.opts.scaleWidth&&null!=t.opts.scaleHeight){var r=1,o=1;s.attribute("width").hasValue()&&(r=s.attribute("width").Length.toPixels("x")/t.opts.scaleWidth),s.attribute("height").hasValue()&&(o=s.attribute("height").Length.toPixels("y")/t.opts.scaleHeight),s.attribute("width",!0).value=t.opts.scaleWidth,s.attribute("height",!0).value=t.opts.scaleHeight,s.attribute("viewBox",!0).value="0 0 "+i*r+" "+n*o,s.attribute("preserveAspectRatio",!0).value="none"}1!=t.opts.ignoreClear&&e.clearRect(0,0,i,n),s.render(e),a&&(a=!1,null!=t.opts&&"function"==typeof t.opts.renderCallback&&t.opts.renderCallback())},o=!0;t.ImagesLoaded()&&(o=!1,r()),t.intervalID=setInterval(function(){var e=!1;if(o&&t.ImagesLoaded()&&(o=!1,e=!0),1!=t.opts.ignoreMouse&&(e|=t.Mouse.hasEvents()),1!=t.opts.ignoreAnimation)for(var i=0;i<t.Animations.length;i++)e|=t.Animations[i].update(1e3/t.FRAMERATE);null!=t.opts&&"function"==typeof t.opts.forceRedraw&&1==t.opts.forceRedraw()&&(e=!0),e&&(r(),t.Mouse.runEvents())},1e3/t.FRAMERATE)},t.stop=function(){t.intervalID&&clearInterval(t.intervalID)},t.Mouse=new function(){this.events=[],this.hasEvents=function(){return 0!=this.events.length},this.onclick=function(t,e){this.events.push({type:"onclick",x:t,y:e,run:function(t){t.onclick&&t.onclick()}})},this.onmousemove=function(t,e){this.events.push({type:"onmousemove",x:t,y:e,run:function(t){t.onmousemove&&t.onmousemove()}})},this.eventElements=[],this.checkPath=function(t,e){for(var i=0;i<this.events.length;i++){var n=this.events[i];e.isPointInPath&&e.isPointInPath(n.x,n.y)&&(this.eventElements[i]=t)}},this.checkBoundingBox=function(t,e){for(var i=0;i<this.events.length;i++){var n=this.events[i];e.isPointInBox(n.x,n.y)&&(this.eventElements[i]=t)}},this.runEvents=function(){t.ctx.canvas.style.cursor="";for(var e=0;e<this.events.length;e++)for(var i=this.events[e],n=this.eventElements[e];n;)i.run(n),n=n.parent;this.events=[],this.eventElements=[]}},t}this.canvg=function(e,i,n){if(null==e&&null==i&&null==n)for(var i=document.getElementsByTagName("svg"),s=0;s<i.length;s++){e=i[s],n=document.createElement("canvas"),n.width=e.clientWidth,n.height=e.clientHeight,e.parentNode.insertBefore(n,e),e.parentNode.removeChild(e);var a=document.createElement("div");a.appendChild(e),canvg(n,a.innerHTML)}else n=n||{},"string"==typeof e&&(e=document.getElementById(e)),null==e.svg?(s=t(),e.svg=s):(s=e.svg,s.stop()),s.opts=n,e=e.getContext("2d"),"undefined"!=typeof i.documentElement?s.loadXmlDoc(e,i):"<"==i.substr(0,1)?s.loadXml(e,i):s.load(e,i)}}(),CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.drawSvg=function(t,e,i,n,s){canvg(this.canvas,t,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:e,offsetY:i,scaleWidth:n,scaleHeight:s})}),function(t){var e=t.css,i=t.CanVGRenderer,n=t.SVGRenderer,s=t.extend,a=t.merge,r=t.addEvent,o=t.createElement,h=t.discardElement;s(i.prototype,n.prototype),s(i.prototype,{create:function(t,e,i,n){this.setContainer(e,i,n),this.configure(t)},setContainer:function(t,e,i){var n=t.style,s=t.parentNode,a=n.left,n=n.top,r=t.offsetWidth,h=t.offsetHeight,l={visibility:"hidden",position:"absolute"};this.init.apply(this,[t,e,i]),this.canvas=o("canvas",{width:r,height:h},{position:"relative",left:a,top:n},t),this.ttLine=o("div",null,l,s),this.ttDiv=o("div",null,l,s),this.ttTimer=void 0,this.hiddenSvg=t=o("div",{width:r,height:h},{visibility:"hidden",left:a,top:n},s),t.appendChild(this.box)},configure:function(t){var i=this,n=t.options.tooltip,s=n.borderWidth,o=i.ttDiv,h=n.style,l=i.ttLine,u=parseInt(h.padding,10),h=a(h,{padding:u+"px","background-color":n.backgroundColor,"border-style":"solid","border-width":s+"px","border-radius":n.borderRadius+"px"});n.shadow&&(h=a(h,{"box-shadow":"1px 1px 3px gray","-webkit-box-shadow":"1px 1px 3px gray"})),e(o,h),e(l,{"border-left":"1px solid darkgray"}),r(t,"tooltipRefresh",function(n){var s,a=t.container,r=a.offsetLeft,a=a.offsetTop;o.innerHTML=n.text,s=t.tooltip.getPosition(o.offsetWidth,o.offsetHeight,{plotX:n.x,plotY:n.y}),e(o,{visibility:"visible",left:s.x+"px",top:s.y+"px","border-color":n.borderColor}),e(l,{visibility:"visible",left:r+n.x+"px",top:a+t.plotTop+"px",height:t.plotHeight+"px"}),void 0!==i.ttTimer&&clearTimeout(i.ttTimer),i.ttTimer=setTimeout(function(){e(o,{visibility:"hidden"}),e(l,{visibility:"hidden"})},3e3)})},destroy:function(){return h(this.canvas),void 0!==this.ttTimer&&clearTimeout(this.ttTimer),h(this.ttLine),h(this.ttDiv),h(this.hiddenSvg),n.prototype.destroy.apply(this)},color:function(t,e,i){return t&&t.linearGradient&&(t=t.stops[t.stops.length-1][1]),n.prototype.color.call(this,t,e,i)},draw:function(){window.canvg(this.canvas,this.hiddenSvg.innerHTML)}})}(Highcharts);