rails_modular_admin 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1416) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/list.txt +23 -0
  3. data/app/assets/javascripts/rails_modular_admin/vendor.js +60351 -60351
  4. data/app/assets/javascripts/rails_modular_admin.js +1 -0
  5. data/app/assets/node_modules/animate.css/LICENSE +21 -0
  6. data/app/assets/node_modules/animate.css/README.md +233 -0
  7. data/app/assets/node_modules/animate.css/animate-config.json +120 -0
  8. data/app/assets/node_modules/animate.css/animate.css +3494 -0
  9. data/app/assets/node_modules/animate.css/animate.min.css +11 -0
  10. data/app/assets/node_modules/animate.css/bower.json +5 -0
  11. data/app/assets/node_modules/animate.css/gulpfile.js +107 -0
  12. data/app/assets/node_modules/animate.css/package.json +54 -0
  13. data/app/assets/node_modules/animate.css/source/_base.css +8 -0
  14. data/app/assets/node_modules/animate.css/source/attention_seekers/bounce.css +30 -0
  15. data/app/assets/node_modules/animate.css/source/attention_seekers/flash.css +16 -0
  16. data/app/assets/node_modules/animate.css/source/attention_seekers/headShake.css +30 -0
  17. data/app/assets/node_modules/animate.css/source/attention_seekers/jello.css +40 -0
  18. data/app/assets/node_modules/animate.css/source/attention_seekers/pulse.css +19 -0
  19. data/app/assets/node_modules/animate.css/source/attention_seekers/rubberBand.css +33 -0
  20. data/app/assets/node_modules/animate.css/source/attention_seekers/shake.css +25 -0
  21. data/app/assets/node_modules/animate.css/source/attention_seekers/swing.css +26 -0
  22. data/app/assets/node_modules/animate.css/source/attention_seekers/tada.css +31 -0
  23. data/app/assets/node_modules/animate.css/source/attention_seekers/wobble.css +35 -0
  24. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceIn.css +42 -0
  25. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInDown.css +35 -0
  26. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInLeft.css +35 -0
  27. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInRight.css +35 -0
  28. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInUp.css +35 -0
  29. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOut.css +21 -0
  30. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutDown.css +20 -0
  31. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutLeft.css +15 -0
  32. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutRight.css +15 -0
  33. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutUp.css +20 -0
  34. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeIn.css +13 -0
  35. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInDown.css +15 -0
  36. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInDownBig.css +15 -0
  37. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInLeft.css +15 -0
  38. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInLeftBig.css +15 -0
  39. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInRight.css +15 -0
  40. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInRightBig.css +15 -0
  41. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInUp.css +15 -0
  42. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInUpBig.css +15 -0
  43. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOut.css +13 -0
  44. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutDown.css +14 -0
  45. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutDownBig.css +14 -0
  46. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutLeft.css +14 -0
  47. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutLeftBig.css +14 -0
  48. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutRight.css +14 -0
  49. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutRightBig.css +14 -0
  50. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutUp.css +14 -0
  51. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutUpBig.css +14 -0
  52. data/app/assets/node_modules/animate.css/source/flippers/flip.css +31 -0
  53. data/app/assets/node_modules/animate.css/source/flippers/flipInX.css +30 -0
  54. data/app/assets/node_modules/animate.css/source/flippers/flipInY.css +30 -0
  55. data/app/assets/node_modules/animate.css/source/flippers/flipOutX.css +21 -0
  56. data/app/assets/node_modules/animate.css/source/flippers/flipOutY.css +21 -0
  57. data/app/assets/node_modules/animate.css/source/lightspeed/lightSpeedIn.css +26 -0
  58. data/app/assets/node_modules/animate.css/source/lightspeed/lightSpeedOut.css +15 -0
  59. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateIn.css +17 -0
  60. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInDownLeft.css +17 -0
  61. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInDownRight.css +17 -0
  62. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInUpLeft.css +17 -0
  63. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInUpRight.css +17 -0
  64. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOut.css +16 -0
  65. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutDownLeft.css +16 -0
  66. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutDownRight.css +16 -0
  67. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutUpLeft.css +16 -0
  68. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutUpRight.css +16 -0
  69. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInDown.css +14 -0
  70. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInLeft.css +14 -0
  71. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInRight.css +14 -0
  72. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInUp.css +14 -0
  73. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutDown.css +14 -0
  74. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutLeft.css +14 -0
  75. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutRight.css +14 -0
  76. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutUp.css +14 -0
  77. data/app/assets/node_modules/animate.css/source/specials/hinge.css +31 -0
  78. data/app/assets/node_modules/animate.css/source/specials/jackInTheBox.css +24 -0
  79. data/app/assets/node_modules/animate.css/source/specials/rollIn.css +17 -0
  80. data/app/assets/node_modules/animate.css/source/specials/rollOut.css +16 -0
  81. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomIn.css +14 -0
  82. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInDown.css +17 -0
  83. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInLeft.css +17 -0
  84. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInRight.css +17 -0
  85. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInUp.css +17 -0
  86. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOut.css +18 -0
  87. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutDown.css +18 -0
  88. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutLeft.css +16 -0
  89. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutRight.css +16 -0
  90. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutUp.css +18 -0
  91. data/app/assets/node_modules/bootstrap/LICENSE +22 -0
  92. data/app/assets/node_modules/bootstrap/README.md +171 -0
  93. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.css +1912 -0
  94. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.css.map +1 -0
  95. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css +7 -0
  96. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css.map +1 -0
  97. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css +330 -0
  98. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css.map +1 -0
  99. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css +8 -0
  100. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css.map +1 -0
  101. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.css +8981 -0
  102. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.css.map +1 -0
  103. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.min.css +7 -0
  104. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.min.css.map +1 -0
  105. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js +6444 -0
  106. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js.map +1 -0
  107. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
  108. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -0
  109. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.js +3927 -0
  110. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.js.map +1 -0
  111. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.min.js +7 -0
  112. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.min.js.map +1 -0
  113. data/app/assets/node_modules/bootstrap/js/dist/alert.js +178 -0
  114. data/app/assets/node_modules/bootstrap/js/dist/alert.js.map +1 -0
  115. data/app/assets/node_modules/bootstrap/js/dist/button.js +167 -0
  116. data/app/assets/node_modules/bootstrap/js/dist/button.js.map +1 -0
  117. data/app/assets/node_modules/bootstrap/js/dist/carousel.js +508 -0
  118. data/app/assets/node_modules/bootstrap/js/dist/carousel.js.map +1 -0
  119. data/app/assets/node_modules/bootstrap/js/dist/collapse.js +367 -0
  120. data/app/assets/node_modules/bootstrap/js/dist/collapse.js.map +1 -0
  121. data/app/assets/node_modules/bootstrap/js/dist/dropdown.js +489 -0
  122. data/app/assets/node_modules/bootstrap/js/dist/dropdown.js.map +1 -0
  123. data/app/assets/node_modules/bootstrap/js/dist/index.js +23 -0
  124. data/app/assets/node_modules/bootstrap/js/dist/index.js.map +1 -0
  125. data/app/assets/node_modules/bootstrap/js/dist/modal.js +585 -0
  126. data/app/assets/node_modules/bootstrap/js/dist/modal.js.map +1 -0
  127. data/app/assets/node_modules/bootstrap/js/dist/popover.js +206 -0
  128. data/app/assets/node_modules/bootstrap/js/dist/popover.js.map +1 -0
  129. data/app/assets/node_modules/bootstrap/js/dist/scrollspy.js +319 -0
  130. data/app/assets/node_modules/bootstrap/js/dist/scrollspy.js.map +1 -0
  131. data/app/assets/node_modules/bootstrap/js/dist/tab.js +251 -0
  132. data/app/assets/node_modules/bootstrap/js/dist/tab.js.map +1 -0
  133. data/app/assets/node_modules/bootstrap/js/dist/tooltip.js +674 -0
  134. data/app/assets/node_modules/bootstrap/js/dist/tooltip.js.map +1 -0
  135. data/app/assets/node_modules/bootstrap/js/dist/util.js +132 -0
  136. data/app/assets/node_modules/bootstrap/js/dist/util.js.map +1 -0
  137. data/app/assets/node_modules/bootstrap/js/src/alert.js +183 -0
  138. data/app/assets/node_modules/bootstrap/js/src/button.js +175 -0
  139. data/app/assets/node_modules/bootstrap/js/src/carousel.js +517 -0
  140. data/app/assets/node_modules/bootstrap/js/src/collapse.js +394 -0
  141. data/app/assets/node_modules/bootstrap/js/src/dropdown.js +487 -0
  142. data/app/assets/node_modules/bootstrap/js/src/index.js +50 -0
  143. data/app/assets/node_modules/bootstrap/js/src/modal.js +579 -0
  144. data/app/assets/node_modules/bootstrap/js/src/popover.js +188 -0
  145. data/app/assets/node_modules/bootstrap/js/src/scrollspy.js +329 -0
  146. data/app/assets/node_modules/bootstrap/js/src/tab.js +263 -0
  147. data/app/assets/node_modules/bootstrap/js/src/tooltip.js +723 -0
  148. data/app/assets/node_modules/bootstrap/js/src/util.js +153 -0
  149. data/app/assets/node_modules/bootstrap/package.json +218 -0
  150. data/app/assets/node_modules/bootstrap/scss/_alert.scss +51 -0
  151. data/app/assets/node_modules/bootstrap/scss/_badge.scss +47 -0
  152. data/app/assets/node_modules/bootstrap/scss/_breadcrumb.scss +41 -0
  153. data/app/assets/node_modules/bootstrap/scss/_button-group.scss +172 -0
  154. data/app/assets/node_modules/bootstrap/scss/_buttons.scss +144 -0
  155. data/app/assets/node_modules/bootstrap/scss/_card.scss +301 -0
  156. data/app/assets/node_modules/bootstrap/scss/_carousel.scss +236 -0
  157. data/app/assets/node_modules/bootstrap/scss/_close.scss +34 -0
  158. data/app/assets/node_modules/bootstrap/scss/_code.scss +48 -0
  159. data/app/assets/node_modules/bootstrap/scss/_custom-forms.scss +421 -0
  160. data/app/assets/node_modules/bootstrap/scss/_dropdown.scss +166 -0
  161. data/app/assets/node_modules/bootstrap/scss/_forms.scss +335 -0
  162. data/app/assets/node_modules/bootstrap/scss/_functions.scss +86 -0
  163. data/app/assets/node_modules/bootstrap/scss/_grid.scss +52 -0
  164. data/app/assets/node_modules/bootstrap/scss/_images.scss +42 -0
  165. data/app/assets/node_modules/bootstrap/scss/_input-group.scss +158 -0
  166. data/app/assets/node_modules/bootstrap/scss/_jumbotron.scss +16 -0
  167. data/app/assets/node_modules/bootstrap/scss/_list-group.scss +115 -0
  168. data/app/assets/node_modules/bootstrap/scss/_media.scss +8 -0
  169. data/app/assets/node_modules/bootstrap/scss/_mixins.scss +41 -0
  170. data/app/assets/node_modules/bootstrap/scss/_modal.scss +168 -0
  171. data/app/assets/node_modules/bootstrap/scss/_nav.scss +118 -0
  172. data/app/assets/node_modules/bootstrap/scss/_navbar.scss +299 -0
  173. data/app/assets/node_modules/bootstrap/scss/_pagination.scss +78 -0
  174. data/app/assets/node_modules/bootstrap/scss/_popover.scss +183 -0
  175. data/app/assets/node_modules/bootstrap/scss/_print.scss +141 -0
  176. data/app/assets/node_modules/bootstrap/scss/_progress.scss +34 -0
  177. data/app/assets/node_modules/bootstrap/scss/_reboot.scss +480 -0
  178. data/app/assets/node_modules/bootstrap/scss/_root.scss +19 -0
  179. data/app/assets/node_modules/bootstrap/scss/_tables.scss +188 -0
  180. data/app/assets/node_modules/bootstrap/scss/_tooltip.scss +115 -0
  181. data/app/assets/node_modules/bootstrap/scss/_transitions.scss +22 -0
  182. data/app/assets/node_modules/bootstrap/scss/_type.scss +125 -0
  183. data/app/assets/node_modules/bootstrap/scss/_utilities.scss +15 -0
  184. data/app/assets/node_modules/bootstrap/scss/_variables.scss +929 -0
  185. data/app/assets/node_modules/bootstrap/scss/bootstrap-grid.scss +32 -0
  186. data/app/assets/node_modules/bootstrap/scss/bootstrap-reboot.scss +12 -0
  187. data/app/assets/node_modules/bootstrap/scss/bootstrap.scss +42 -0
  188. data/app/assets/node_modules/bootstrap/scss/mixins/_alert.scss +13 -0
  189. data/app/assets/node_modules/bootstrap/scss/mixins/_background-variant.scss +21 -0
  190. data/app/assets/node_modules/bootstrap/scss/mixins/_badge.scss +12 -0
  191. data/app/assets/node_modules/bootstrap/scss/mixins/_border-radius.scss +35 -0
  192. data/app/assets/node_modules/bootstrap/scss/mixins/_box-shadow.scss +5 -0
  193. data/app/assets/node_modules/bootstrap/scss/mixins/_breakpoints.scss +123 -0
  194. data/app/assets/node_modules/bootstrap/scss/mixins/_buttons.scss +109 -0
  195. data/app/assets/node_modules/bootstrap/scss/mixins/_caret.scss +66 -0
  196. data/app/assets/node_modules/bootstrap/scss/mixins/_clearfix.scss +7 -0
  197. data/app/assets/node_modules/bootstrap/scss/mixins/_float.scss +11 -0
  198. data/app/assets/node_modules/bootstrap/scss/mixins/_forms.scss +147 -0
  199. data/app/assets/node_modules/bootstrap/scss/mixins/_gradients.scss +45 -0
  200. data/app/assets/node_modules/bootstrap/scss/mixins/_grid-framework.scss +67 -0
  201. data/app/assets/node_modules/bootstrap/scss/mixins/_grid.scss +52 -0
  202. data/app/assets/node_modules/bootstrap/scss/mixins/_hover.scss +37 -0
  203. data/app/assets/node_modules/bootstrap/scss/mixins/_image.scss +36 -0
  204. data/app/assets/node_modules/bootstrap/scss/mixins/_list-group.scss +21 -0
  205. data/app/assets/node_modules/bootstrap/scss/mixins/_lists.scss +7 -0
  206. data/app/assets/node_modules/bootstrap/scss/mixins/_nav-divider.scss +10 -0
  207. data/app/assets/node_modules/bootstrap/scss/mixins/_pagination.scss +22 -0
  208. data/app/assets/node_modules/bootstrap/scss/mixins/_reset-text.scss +17 -0
  209. data/app/assets/node_modules/bootstrap/scss/mixins/_resize.scss +6 -0
  210. data/app/assets/node_modules/bootstrap/scss/mixins/_screen-reader.scss +33 -0
  211. data/app/assets/node_modules/bootstrap/scss/mixins/_size.scss +6 -0
  212. data/app/assets/node_modules/bootstrap/scss/mixins/_table-row.scss +30 -0
  213. data/app/assets/node_modules/bootstrap/scss/mixins/_text-emphasis.scss +14 -0
  214. data/app/assets/node_modules/bootstrap/scss/mixins/_text-hide.scss +13 -0
  215. data/app/assets/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  216. data/app/assets/node_modules/bootstrap/scss/mixins/_transition.scss +13 -0
  217. data/app/assets/node_modules/bootstrap/scss/mixins/_visibility.scss +7 -0
  218. data/app/assets/node_modules/bootstrap/scss/utilities/_align.scss +8 -0
  219. data/app/assets/node_modules/bootstrap/scss/utilities/_background.scss +19 -0
  220. data/app/assets/node_modules/bootstrap/scss/utilities/_borders.scss +59 -0
  221. data/app/assets/node_modules/bootstrap/scss/utilities/_clearfix.scss +3 -0
  222. data/app/assets/node_modules/bootstrap/scss/utilities/_display.scss +38 -0
  223. data/app/assets/node_modules/bootstrap/scss/utilities/_embed.scss +52 -0
  224. data/app/assets/node_modules/bootstrap/scss/utilities/_flex.scss +51 -0
  225. data/app/assets/node_modules/bootstrap/scss/utilities/_float.scss +9 -0
  226. data/app/assets/node_modules/bootstrap/scss/utilities/_position.scss +37 -0
  227. data/app/assets/node_modules/bootstrap/scss/utilities/_screenreaders.scss +11 -0
  228. data/app/assets/node_modules/bootstrap/scss/utilities/_shadows.scss +6 -0
  229. data/app/assets/node_modules/bootstrap/scss/utilities/_sizing.scss +12 -0
  230. data/app/assets/node_modules/bootstrap/scss/utilities/_spacing.scss +51 -0
  231. data/app/assets/node_modules/bootstrap/scss/utilities/_text.scss +58 -0
  232. data/app/assets/node_modules/bootstrap/scss/utilities/_visibility.scss +11 -0
  233. data/app/assets/node_modules/clone/LICENSE +18 -0
  234. data/app/assets/node_modules/clone/README.md +178 -0
  235. data/app/assets/node_modules/clone/clone.iml +10 -0
  236. data/app/assets/node_modules/clone/clone.js +251 -0
  237. data/app/assets/node_modules/clone/package.json +56 -0
  238. data/app/assets/node_modules/deep-equal/LICENSE +18 -0
  239. data/app/assets/node_modules/deep-equal/example/cmp.js +11 -0
  240. data/app/assets/node_modules/deep-equal/index.js +94 -0
  241. data/app/assets/node_modules/deep-equal/lib/is_arguments.js +20 -0
  242. data/app/assets/node_modules/deep-equal/lib/keys.js +9 -0
  243. data/app/assets/node_modules/deep-equal/package.json +58 -0
  244. data/app/assets/node_modules/deep-equal/readme.markdown +61 -0
  245. data/app/assets/node_modules/deep-equal/test/cmp.js +95 -0
  246. data/app/assets/node_modules/dropzone/CONTRIBUTING.md +6 -0
  247. data/app/assets/node_modules/dropzone/LICENSE +12 -0
  248. data/app/assets/node_modules/dropzone/README.md +36 -0
  249. data/app/assets/node_modules/dropzone/bower.json +16 -0
  250. data/app/assets/node_modules/dropzone/component.json +10 -0
  251. data/app/assets/node_modules/dropzone/composer.json +18 -0
  252. data/app/assets/node_modules/dropzone/dist/basic.css +39 -0
  253. data/app/assets/node_modules/dropzone/dist/dropzone-amd-module.js +3541 -0
  254. data/app/assets/node_modules/dropzone/dist/dropzone.css +388 -0
  255. data/app/assets/node_modules/dropzone/dist/dropzone.js +3526 -0
  256. data/app/assets/node_modules/dropzone/dist/min/basic.min.css +1 -0
  257. data/app/assets/node_modules/dropzone/dist/min/dropzone-amd-module.min.js +2 -0
  258. data/app/assets/node_modules/dropzone/dist/min/dropzone.min.css +1 -0
  259. data/app/assets/node_modules/dropzone/dist/min/dropzone.min.js +2 -0
  260. data/app/assets/node_modules/dropzone/dist/readme.md +10 -0
  261. data/app/assets/node_modules/dropzone/index.js +1 -0
  262. data/app/assets/node_modules/dropzone/package.json +40 -0
  263. data/app/assets/node_modules/eve-raphael/LICENSE +202 -0
  264. data/app/assets/node_modules/eve-raphael/README.md +5 -0
  265. data/app/assets/node_modules/eve-raphael/bower.json +17 -0
  266. data/app/assets/node_modules/eve-raphael/component.json +13 -0
  267. data/app/assets/node_modules/eve-raphael/e.html +66 -0
  268. data/app/assets/node_modules/eve-raphael/eve.js +426 -0
  269. data/app/assets/node_modules/eve-raphael/package.json +15 -0
  270. data/app/assets/node_modules/eventemitter3/LICENSE +21 -0
  271. data/app/assets/node_modules/eventemitter3/README.md +105 -0
  272. data/app/assets/node_modules/eventemitter3/index.d.ts +50 -0
  273. data/app/assets/node_modules/eventemitter3/index.js +311 -0
  274. data/app/assets/node_modules/eventemitter3/package.json +51 -0
  275. data/app/assets/node_modules/eventemitter3/umd/eventemitter3.min.js +1 -0
  276. data/app/assets/node_modules/extend/CHANGELOG.md +77 -0
  277. data/app/assets/node_modules/extend/LICENSE +23 -0
  278. data/app/assets/node_modules/extend/README.md +81 -0
  279. data/app/assets/node_modules/extend/component.json +32 -0
  280. data/app/assets/node_modules/extend/index.js +86 -0
  281. data/app/assets/node_modules/extend/package.json +43 -0
  282. data/app/assets/node_modules/fast-diff/README.md +24 -0
  283. data/app/assets/node_modules/fast-diff/diff.js +738 -0
  284. data/app/assets/node_modules/fast-diff/package.json +24 -0
  285. data/app/assets/node_modules/fast-diff/test.js +91 -0
  286. data/app/assets/node_modules/jquery/AUTHORS.txt +313 -0
  287. data/app/assets/node_modules/jquery/LICENSE.txt +36 -0
  288. data/app/assets/node_modules/jquery/README.md +67 -0
  289. data/app/assets/node_modules/jquery/bower.json +14 -0
  290. data/app/assets/node_modules/jquery/dist/core.js +399 -0
  291. data/app/assets/node_modules/jquery/dist/jquery.js +10364 -0
  292. data/app/assets/node_modules/jquery/dist/jquery.min.js +2 -0
  293. data/app/assets/node_modules/jquery/dist/jquery.min.map +1 -0
  294. data/app/assets/node_modules/jquery/dist/jquery.slim.js +8269 -0
  295. data/app/assets/node_modules/jquery/dist/jquery.slim.min.js +2 -0
  296. data/app/assets/node_modules/jquery/dist/jquery.slim.min.map +1 -0
  297. data/app/assets/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  298. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.js +2272 -0
  299. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  300. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  301. data/app/assets/node_modules/jquery/package.json +108 -0
  302. data/app/assets/node_modules/jquery/src/ajax/jsonp.js +103 -0
  303. data/app/assets/node_modules/jquery/src/ajax/load.js +77 -0
  304. data/app/assets/node_modules/jquery/src/ajax/parseXML.js +30 -0
  305. data/app/assets/node_modules/jquery/src/ajax/script.js +77 -0
  306. data/app/assets/node_modules/jquery/src/ajax/var/location.js +5 -0
  307. data/app/assets/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  308. data/app/assets/node_modules/jquery/src/ajax/var/rquery.js +5 -0
  309. data/app/assets/node_modules/jquery/src/ajax/xhr.js +170 -0
  310. data/app/assets/node_modules/jquery/src/ajax.js +856 -0
  311. data/app/assets/node_modules/jquery/src/attributes/attr.js +141 -0
  312. data/app/assets/node_modules/jquery/src/attributes/classes.js +186 -0
  313. data/app/assets/node_modules/jquery/src/attributes/prop.js +143 -0
  314. data/app/assets/node_modules/jquery/src/attributes/support.js +33 -0
  315. data/app/assets/node_modules/jquery/src/attributes/val.js +191 -0
  316. data/app/assets/node_modules/jquery/src/attributes.js +13 -0
  317. data/app/assets/node_modules/jquery/src/callbacks.js +236 -0
  318. data/app/assets/node_modules/jquery/src/core/DOMEval.js +30 -0
  319. data/app/assets/node_modules/jquery/src/core/access.js +72 -0
  320. data/app/assets/node_modules/jquery/src/core/camelCase.js +23 -0
  321. data/app/assets/node_modules/jquery/src/core/init.js +129 -0
  322. data/app/assets/node_modules/jquery/src/core/nodeName.js +13 -0
  323. data/app/assets/node_modules/jquery/src/core/parseHTML.js +65 -0
  324. data/app/assets/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
  325. data/app/assets/node_modules/jquery/src/core/ready.js +86 -0
  326. data/app/assets/node_modules/jquery/src/core/readyException.js +13 -0
  327. data/app/assets/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
  328. data/app/assets/node_modules/jquery/src/core/support.js +20 -0
  329. data/app/assets/node_modules/jquery/src/core/toType.js +20 -0
  330. data/app/assets/node_modules/jquery/src/core/var/rsingleTag.js +6 -0
  331. data/app/assets/node_modules/jquery/src/core.js +399 -0
  332. data/app/assets/node_modules/jquery/src/css/addGetHookIf.js +26 -0
  333. data/app/assets/node_modules/jquery/src/css/adjustCSS.js +73 -0
  334. data/app/assets/node_modules/jquery/src/css/curCSS.js +65 -0
  335. data/app/assets/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  336. data/app/assets/node_modules/jquery/src/css/showHide.js +105 -0
  337. data/app/assets/node_modules/jquery/src/css/support.js +102 -0
  338. data/app/assets/node_modules/jquery/src/css/var/cssExpand.js +5 -0
  339. data/app/assets/node_modules/jquery/src/css/var/getStyles.js +17 -0
  340. data/app/assets/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
  341. data/app/assets/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
  342. data/app/assets/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
  343. data/app/assets/node_modules/jquery/src/css/var/swap.js +26 -0
  344. data/app/assets/node_modules/jquery/src/css.js +481 -0
  345. data/app/assets/node_modules/jquery/src/data/Data.js +162 -0
  346. data/app/assets/node_modules/jquery/src/data/var/acceptData.js +19 -0
  347. data/app/assets/node_modules/jquery/src/data/var/dataPriv.js +7 -0
  348. data/app/assets/node_modules/jquery/src/data/var/dataUser.js +7 -0
  349. data/app/assets/node_modules/jquery/src/data.js +180 -0
  350. data/app/assets/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
  351. data/app/assets/node_modules/jquery/src/deferred.js +399 -0
  352. data/app/assets/node_modules/jquery/src/deprecated.js +98 -0
  353. data/app/assets/node_modules/jquery/src/dimensions.js +57 -0
  354. data/app/assets/node_modules/jquery/src/effects/Tween.js +123 -0
  355. data/app/assets/node_modules/jquery/src/effects/animatedSelector.js +15 -0
  356. data/app/assets/node_modules/jquery/src/effects.js +702 -0
  357. data/app/assets/node_modules/jquery/src/event/ajax.js +22 -0
  358. data/app/assets/node_modules/jquery/src/event/alias.js +29 -0
  359. data/app/assets/node_modules/jquery/src/event/focusin.js +55 -0
  360. data/app/assets/node_modules/jquery/src/event/support.js +11 -0
  361. data/app/assets/node_modules/jquery/src/event/trigger.js +199 -0
  362. data/app/assets/node_modules/jquery/src/event.js +748 -0
  363. data/app/assets/node_modules/jquery/src/exports/amd.js +26 -0
  364. data/app/assets/node_modules/jquery/src/exports/global.js +34 -0
  365. data/app/assets/node_modules/jquery/src/jquery.js +40 -0
  366. data/app/assets/node_modules/jquery/src/manipulation/_evalUrl.js +23 -0
  367. data/app/assets/node_modules/jquery/src/manipulation/buildFragment.js +105 -0
  368. data/app/assets/node_modules/jquery/src/manipulation/getAll.js +32 -0
  369. data/app/assets/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
  370. data/app/assets/node_modules/jquery/src/manipulation/support.js +35 -0
  371. data/app/assets/node_modules/jquery/src/manipulation/var/rcheckableType.js +5 -0
  372. data/app/assets/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
  373. data/app/assets/node_modules/jquery/src/manipulation/var/rtagName.js +5 -0
  374. data/app/assets/node_modules/jquery/src/manipulation/wrapMap.js +29 -0
  375. data/app/assets/node_modules/jquery/src/manipulation.js +486 -0
  376. data/app/assets/node_modules/jquery/src/offset.js +233 -0
  377. data/app/assets/node_modules/jquery/src/queue/delay.js +24 -0
  378. data/app/assets/node_modules/jquery/src/queue.js +145 -0
  379. data/app/assets/node_modules/jquery/src/selector-native.js +237 -0
  380. data/app/assets/node_modules/jquery/src/selector-sizzle.js +19 -0
  381. data/app/assets/node_modules/jquery/src/selector.js +3 -0
  382. data/app/assets/node_modules/jquery/src/serialize.js +132 -0
  383. data/app/assets/node_modules/jquery/src/traversing/findFilter.js +97 -0
  384. data/app/assets/node_modules/jquery/src/traversing/var/dir.js +22 -0
  385. data/app/assets/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
  386. data/app/assets/node_modules/jquery/src/traversing/var/siblings.js +17 -0
  387. data/app/assets/node_modules/jquery/src/traversing.js +191 -0
  388. data/app/assets/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
  389. data/app/assets/node_modules/jquery/src/var/arr.js +5 -0
  390. data/app/assets/node_modules/jquery/src/var/class2type.js +6 -0
  391. data/app/assets/node_modules/jquery/src/var/concat.js +7 -0
  392. data/app/assets/node_modules/jquery/src/var/document.js +5 -0
  393. data/app/assets/node_modules/jquery/src/var/documentElement.js +7 -0
  394. data/app/assets/node_modules/jquery/src/var/fnToString.js +7 -0
  395. data/app/assets/node_modules/jquery/src/var/getProto.js +5 -0
  396. data/app/assets/node_modules/jquery/src/var/hasOwn.js +7 -0
  397. data/app/assets/node_modules/jquery/src/var/indexOf.js +7 -0
  398. data/app/assets/node_modules/jquery/src/var/isFunction.js +13 -0
  399. data/app/assets/node_modules/jquery/src/var/isWindow.js +8 -0
  400. data/app/assets/node_modules/jquery/src/var/pnum.js +5 -0
  401. data/app/assets/node_modules/jquery/src/var/push.js +7 -0
  402. data/app/assets/node_modules/jquery/src/var/rcssNum.js +9 -0
  403. data/app/assets/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
  404. data/app/assets/node_modules/jquery/src/var/slice.js +7 -0
  405. data/app/assets/node_modules/jquery/src/var/support.js +6 -0
  406. data/app/assets/node_modules/jquery/src/var/toString.js +7 -0
  407. data/app/assets/node_modules/jquery/src/wrap.js +78 -0
  408. data/app/assets/node_modules/jquery-flot/API.md +1498 -0
  409. data/app/assets/node_modules/jquery-flot/CONTRIBUTING.md +98 -0
  410. data/app/assets/node_modules/jquery-flot/FAQ.md +75 -0
  411. data/app/assets/node_modules/jquery-flot/LICENSE.txt +22 -0
  412. data/app/assets/node_modules/jquery-flot/Makefile +12 -0
  413. data/app/assets/node_modules/jquery-flot/NEWS.md +1026 -0
  414. data/app/assets/node_modules/jquery-flot/PLUGINS.md +143 -0
  415. data/app/assets/node_modules/jquery-flot/README.md +110 -0
  416. data/app/assets/node_modules/jquery-flot/component.json +8 -0
  417. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-1.json +4 -0
  418. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-2.json +4 -0
  419. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-3.json +4 -0
  420. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-4.json +4 -0
  421. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-5.json +4 -0
  422. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth.json +4 -0
  423. data/app/assets/node_modules/jquery-flot/examples/ajax/data-japan-gdp-growth.json +4 -0
  424. data/app/assets/node_modules/jquery-flot/examples/ajax/data-usa-gdp-growth.json +4 -0
  425. data/app/assets/node_modules/jquery-flot/examples/ajax/index.html +173 -0
  426. data/app/assets/node_modules/jquery-flot/examples/annotating/index.html +87 -0
  427. data/app/assets/node_modules/jquery-flot/examples/axes-interacting/index.html +97 -0
  428. data/app/assets/node_modules/jquery-flot/examples/axes-multiple/index.html +77 -0
  429. data/app/assets/node_modules/jquery-flot/examples/axes-time/index.html +137 -0
  430. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/date.js +893 -0
  431. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/index.html +114 -0
  432. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/africa +1181 -0
  433. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/antarctica +413 -0
  434. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/asia +2717 -0
  435. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/australasia +1719 -0
  436. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/backward +117 -0
  437. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/etcetera +81 -0
  438. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/europe +2856 -0
  439. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/factory +10 -0
  440. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/iso3166.tab +276 -0
  441. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/leapseconds +100 -0
  442. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/northamerica +3235 -0
  443. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/pacificnew +28 -0
  444. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar87 +390 -0
  445. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar88 +390 -0
  446. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar89 +395 -0
  447. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/southamerica +1711 -0
  448. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/systemv +38 -0
  449. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/yearistype.sh +38 -0
  450. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/zone.tab +441 -0
  451. data/app/assets/node_modules/jquery-flot/examples/background.png +0 -0
  452. data/app/assets/node_modules/jquery-flot/examples/basic-options/index.html +91 -0
  453. data/app/assets/node_modules/jquery-flot/examples/basic-usage/index.html +57 -0
  454. data/app/assets/node_modules/jquery-flot/examples/canvas/index.html +75 -0
  455. data/app/assets/node_modules/jquery-flot/examples/categories/index.html +64 -0
  456. data/app/assets/node_modules/jquery-flot/examples/examples.css +97 -0
  457. data/app/assets/node_modules/jquery-flot/examples/image/hs-2004-27-a-large-web.jpg +0 -0
  458. data/app/assets/node_modules/jquery-flot/examples/image/index.html +69 -0
  459. data/app/assets/node_modules/jquery-flot/examples/index.html +80 -0
  460. data/app/assets/node_modules/jquery-flot/examples/interacting/index.html +118 -0
  461. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-down.gif +0 -0
  462. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-left.gif +0 -0
  463. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-right.gif +0 -0
  464. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-up.gif +0 -0
  465. data/app/assets/node_modules/jquery-flot/examples/navigate/index.html +153 -0
  466. data/app/assets/node_modules/jquery-flot/examples/percentiles/index.html +79 -0
  467. data/app/assets/node_modules/jquery-flot/examples/realtime/index.html +122 -0
  468. data/app/assets/node_modules/jquery-flot/examples/resize/index.html +76 -0
  469. data/app/assets/node_modules/jquery-flot/examples/selection/index.html +152 -0
  470. data/app/assets/node_modules/jquery-flot/examples/series-errorbars/index.html +150 -0
  471. data/app/assets/node_modules/jquery-flot/examples/series-pie/index.html +818 -0
  472. data/app/assets/node_modules/jquery-flot/examples/series-toggle/index.html +121 -0
  473. data/app/assets/node_modules/jquery-flot/examples/series-types/index.html +90 -0
  474. data/app/assets/node_modules/jquery-flot/examples/shared/jquery-ui/jquery-ui.min.css +6 -0
  475. data/app/assets/node_modules/jquery-flot/examples/stacking/index.html +107 -0
  476. data/app/assets/node_modules/jquery-flot/examples/symbols/index.html +76 -0
  477. data/app/assets/node_modules/jquery-flot/examples/threshold/index.html +76 -0
  478. data/app/assets/node_modules/jquery-flot/examples/tracking/index.html +135 -0
  479. data/app/assets/node_modules/jquery-flot/examples/visitors/index.html +147 -0
  480. data/app/assets/node_modules/jquery-flot/examples/zooming/index.html +144 -0
  481. data/app/assets/node_modules/jquery-flot/excanvas.js +1428 -0
  482. data/app/assets/node_modules/jquery-flot/excanvas.min.js +1 -0
  483. data/app/assets/node_modules/jquery-flot/flot.jquery.json +27 -0
  484. data/app/assets/node_modules/jquery-flot/jquery.colorhelpers.js +180 -0
  485. data/app/assets/node_modules/jquery-flot/jquery.flot.canvas.js +345 -0
  486. data/app/assets/node_modules/jquery-flot/jquery.flot.categories.js +190 -0
  487. data/app/assets/node_modules/jquery-flot/jquery.flot.crosshair.js +176 -0
  488. data/app/assets/node_modules/jquery-flot/jquery.flot.errorbars.js +353 -0
  489. data/app/assets/node_modules/jquery-flot/jquery.flot.fillbetween.js +226 -0
  490. data/app/assets/node_modules/jquery-flot/jquery.flot.image.js +241 -0
  491. data/app/assets/node_modules/jquery-flot/jquery.flot.js +3168 -0
  492. data/app/assets/node_modules/jquery-flot/jquery.flot.navigate.js +346 -0
  493. data/app/assets/node_modules/jquery-flot/jquery.flot.pie.js +820 -0
  494. data/app/assets/node_modules/jquery-flot/jquery.flot.resize.js +59 -0
  495. data/app/assets/node_modules/jquery-flot/jquery.flot.selection.js +360 -0
  496. data/app/assets/node_modules/jquery-flot/jquery.flot.stack.js +188 -0
  497. data/app/assets/node_modules/jquery-flot/jquery.flot.symbol.js +71 -0
  498. data/app/assets/node_modules/jquery-flot/jquery.flot.threshold.js +142 -0
  499. data/app/assets/node_modules/jquery-flot/jquery.flot.time.js +432 -0
  500. data/app/assets/node_modules/jquery-flot/jquery.js +9472 -0
  501. data/app/assets/node_modules/jquery-flot/package.json +11 -0
  502. data/app/assets/node_modules/jquery-sparkline/Changelog.txt +324 -0
  503. data/app/assets/node_modules/jquery-sparkline/README.md +19 -0
  504. data/app/assets/node_modules/jquery-sparkline/build.js +13 -0
  505. data/app/assets/node_modules/jquery-sparkline/jquery.sparkline.js +3068 -0
  506. data/app/assets/node_modules/jquery-sparkline/jquery.sparkline.min.js +2 -0
  507. data/app/assets/node_modules/jquery-sparkline/package.json +32 -0
  508. data/app/assets/node_modules/jquery-sparkline/src/base.js +415 -0
  509. data/app/assets/node_modules/jquery-sparkline/src/chart-bar.js +256 -0
  510. data/app/assets/node_modules/jquery-sparkline/src/chart-box.js +186 -0
  511. data/app/assets/node_modules/jquery-sparkline/src/chart-bullet.js +131 -0
  512. data/app/assets/node_modules/jquery-sparkline/src/chart-discrete.js +66 -0
  513. data/app/assets/node_modules/jquery-sparkline/src/chart-line.js +350 -0
  514. data/app/assets/node_modules/jquery-sparkline/src/chart-pie.js +117 -0
  515. data/app/assets/node_modules/jquery-sparkline/src/chart-tristate.js +98 -0
  516. data/app/assets/node_modules/jquery-sparkline/src/defaults.js +156 -0
  517. data/app/assets/node_modules/jquery-sparkline/src/footer.js +1 -0
  518. data/app/assets/node_modules/jquery-sparkline/src/header.js +222 -0
  519. data/app/assets/node_modules/jquery-sparkline/src/interact.js +247 -0
  520. data/app/assets/node_modules/jquery-sparkline/src/rangemap.js +39 -0
  521. data/app/assets/node_modules/jquery-sparkline/src/simpledraw.js +55 -0
  522. data/app/assets/node_modules/jquery-sparkline/src/utils.js +224 -0
  523. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-base.js +147 -0
  524. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-canvas.js +193 -0
  525. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-vml.js +165 -0
  526. data/app/assets/node_modules/jquery-touchswipe/LICENSE +24 -0
  527. data/app/assets/node_modules/jquery-touchswipe/README.md +81 -0
  528. data/app/assets/node_modules/jquery-touchswipe/bower.json +8 -0
  529. data/app/assets/node_modules/jquery-touchswipe/demos/Any_finger_swipe.html +49 -0
  530. data/app/assets/node_modules/jquery-touchswipe/demos/Basic_swipe.html +48 -0
  531. data/app/assets/node_modules/jquery-touchswipe/demos/Enable_and_destroy.html +95 -0
  532. data/app/assets/node_modules/jquery-touchswipe/demos/Excluded_children.html +82 -0
  533. data/app/assets/node_modules/jquery-touchswipe/demos/Finger_swipe.html +61 -0
  534. data/app/assets/node_modules/jquery-touchswipe/demos/Handlers_and_events.html +128 -0
  535. data/app/assets/node_modules/jquery-touchswipe/demos/Hold.html +61 -0
  536. data/app/assets/node_modules/jquery-touchswipe/demos/Image_gallery_example.html +148 -0
  537. data/app/assets/node_modules/jquery-touchswipe/demos/Options.html +90 -0
  538. data/app/assets/node_modules/jquery-touchswipe/demos/Page_scrolling.html +109 -0
  539. data/app/assets/node_modules/jquery-touchswipe/demos/Page_zoom.html +50 -0
  540. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch.html +57 -0
  541. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch_and_Swipe.html +81 -0
  542. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch_status.html +51 -0
  543. data/app/assets/node_modules/jquery-touchswipe/demos/Single_swipe.html +51 -0
  544. data/app/assets/node_modules/jquery-touchswipe/demos/Stop_propegation.html +57 -0
  545. data/app/assets/node_modules/jquery-touchswipe/demos/Swipe_status.html +82 -0
  546. data/app/assets/node_modules/jquery-touchswipe/demos/Tap_vs_swipe.html +114 -0
  547. data/app/assets/node_modules/jquery-touchswipe/demos/Thresholds.html +109 -0
  548. data/app/assets/node_modules/jquery-touchswipe/demos/Trigger_handlers.html +158 -0
  549. data/app/assets/node_modules/jquery-touchswipe/demos/css/main.css +110 -0
  550. data/app/assets/node_modules/jquery-touchswipe/demos/index.html +74 -0
  551. data/app/assets/node_modules/jquery-touchswipe/demos/js/jquery.ui.ipad.js +223 -0
  552. data/app/assets/node_modules/jquery-touchswipe/demos/js/main.js +240 -0
  553. data/app/assets/node_modules/jquery-touchswipe/demos/tutorials.json +22 -0
  554. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.html +188 -0
  555. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.defaults.html +1174 -0
  556. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.directions.html +311 -0
  557. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.fingers.html +319 -0
  558. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.html +4205 -0
  559. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.pageScroll.html +272 -0
  560. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.phases.html +265 -0
  561. data/app/assets/node_modules/jquery-touchswipe/docs/$.html +186 -0
  562. data/app/assets/node_modules/jquery-touchswipe/docs/css/main.css +110 -0
  563. data/app/assets/node_modules/jquery-touchswipe/docs/index.html +101 -0
  564. data/app/assets/node_modules/jquery-touchswipe/docs/jquery.touchSwipe.js.html +2168 -0
  565. data/app/assets/node_modules/jquery-touchswipe/docs/js/jquery.ui.ipad.js +223 -0
  566. data/app/assets/node_modules/jquery-touchswipe/docs/js/main.js +85 -0
  567. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/linenumber.js +25 -0
  568. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
  569. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/lang-css.js +2 -0
  570. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/prettify.js +28 -0
  571. data/app/assets/node_modules/jquery-touchswipe/docs/styles/jsdoc.css +625 -0
  572. data/app/assets/node_modules/jquery-touchswipe/docs/styles/prettify.css +79 -0
  573. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Any_finger_swipe.html +108 -0
  574. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Basic_swipe.html +107 -0
  575. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Enable_and_destroy.html +154 -0
  576. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Excluded_children.html +141 -0
  577. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Finger_swipe.html +120 -0
  578. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Handlers_and_events.html +187 -0
  579. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Hold.html +120 -0
  580. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Image_gallery_example.html +207 -0
  581. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Options.html +149 -0
  582. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Page_scrolling.html +168 -0
  583. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Page_zoom.html +109 -0
  584. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch.html +116 -0
  585. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch_and_Swipe.html +140 -0
  586. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch_status.html +110 -0
  587. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Single_swipe.html +110 -0
  588. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Stop_propegation.html +116 -0
  589. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Swipe_status.html +141 -0
  590. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Tap_vs_swipe.html +173 -0
  591. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Thresholds.html +168 -0
  592. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Trigger_handlers.html +217 -0
  593. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-index_.html +133 -0
  594. data/app/assets/node_modules/jquery-touchswipe/jquery.touchSwipe.js +2109 -0
  595. data/app/assets/node_modules/jquery-touchswipe/jquery.touchSwipe.min.js +14 -0
  596. data/app/assets/node_modules/jquery-touchswipe/package.json +47 -0
  597. data/app/assets/node_modules/jquery-validation/LICENSE.md +22 -0
  598. data/app/assets/node_modules/jquery-validation/README.md +76 -0
  599. data/app/assets/node_modules/jquery-validation/changelog.md +639 -0
  600. data/app/assets/node_modules/jquery-validation/dist/additional-methods.js +1158 -0
  601. data/app/assets/node_modules/jquery-validation/dist/jquery.validate.js +1601 -0
  602. data/app/assets/node_modules/jquery-validation/dist/jquery.validate.min.js +4 -0
  603. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ar.js +35 -0
  604. data/app/assets/node_modules/jquery-validation/dist/localization/messages_az.js +35 -0
  605. data/app/assets/node_modules/jquery-validation/dist/localization/messages_bg.js +35 -0
  606. data/app/assets/node_modules/jquery-validation/dist/localization/messages_bn_BD.js +35 -0
  607. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ca.js +35 -0
  608. data/app/assets/node_modules/jquery-validation/dist/localization/messages_cs.js +35 -0
  609. data/app/assets/node_modules/jquery-validation/dist/localization/messages_da.js +32 -0
  610. data/app/assets/node_modules/jquery-validation/dist/localization/messages_de.js +32 -0
  611. data/app/assets/node_modules/jquery-validation/dist/localization/messages_el.js +35 -0
  612. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es.js +38 -0
  613. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es_AR.js +39 -0
  614. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es_PE.js +39 -0
  615. data/app/assets/node_modules/jquery-validation/dist/localization/messages_et.js +33 -0
  616. data/app/assets/node_modules/jquery-validation/dist/localization/messages_eu.js +35 -0
  617. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fa.js +38 -0
  618. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fi.js +33 -0
  619. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fr.js +63 -0
  620. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ge.js +35 -0
  621. data/app/assets/node_modules/jquery-validation/dist/localization/messages_gl.js +40 -0
  622. data/app/assets/node_modules/jquery-validation/dist/localization/messages_he.js +35 -0
  623. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hr.js +35 -0
  624. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hu.js +35 -0
  625. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hy_AM.js +35 -0
  626. data/app/assets/node_modules/jquery-validation/dist/localization/messages_id.js +34 -0
  627. data/app/assets/node_modules/jquery-validation/dist/localization/messages_is.js +33 -0
  628. data/app/assets/node_modules/jquery-validation/dist/localization/messages_it.js +39 -0
  629. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ja.js +36 -0
  630. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ka.js +35 -0
  631. data/app/assets/node_modules/jquery-validation/dist/localization/messages_kk.js +35 -0
  632. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ko.js +35 -0
  633. data/app/assets/node_modules/jquery-validation/dist/localization/messages_lt.js +35 -0
  634. data/app/assets/node_modules/jquery-validation/dist/localization/messages_lv.js +35 -0
  635. data/app/assets/node_modules/jquery-validation/dist/localization/messages_mk.js +35 -0
  636. data/app/assets/node_modules/jquery-validation/dist/localization/messages_my.js +35 -0
  637. data/app/assets/node_modules/jquery-validation/dist/localization/messages_nl.js +46 -0
  638. data/app/assets/node_modules/jquery-validation/dist/localization/messages_no.js +36 -0
  639. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pl.js +37 -0
  640. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pt_BR.js +88 -0
  641. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pt_PT.js +39 -0
  642. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ro.js +35 -0
  643. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ru.js +35 -0
  644. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sd.js +35 -0
  645. data/app/assets/node_modules/jquery-validation/dist/localization/messages_si.js +35 -0
  646. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sk.js +32 -0
  647. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sl.js +35 -0
  648. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sr.js +35 -0
  649. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sr_lat.js +35 -0
  650. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sv.js +33 -0
  651. data/app/assets/node_modules/jquery-validation/dist/localization/messages_th.js +35 -0
  652. data/app/assets/node_modules/jquery-validation/dist/localization/messages_tj.js +35 -0
  653. data/app/assets/node_modules/jquery-validation/dist/localization/messages_tr.js +36 -0
  654. data/app/assets/node_modules/jquery-validation/dist/localization/messages_uk.js +35 -0
  655. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ur.js +35 -0
  656. data/app/assets/node_modules/jquery-validation/dist/localization/messages_vi.js +35 -0
  657. data/app/assets/node_modules/jquery-validation/dist/localization/messages_zh.js +35 -0
  658. data/app/assets/node_modules/jquery-validation/dist/localization/messages_zh_TW.js +36 -0
  659. data/app/assets/node_modules/jquery-validation/dist/localization/methods_de.js +24 -0
  660. data/app/assets/node_modules/jquery-validation/dist/localization/methods_es_CL.js +24 -0
  661. data/app/assets/node_modules/jquery-validation/dist/localization/methods_fi.js +24 -0
  662. data/app/assets/node_modules/jquery-validation/dist/localization/methods_nl.js +24 -0
  663. data/app/assets/node_modules/jquery-validation/dist/localization/methods_pt.js +21 -0
  664. data/app/assets/node_modules/jquery-validation/package.json +61 -0
  665. data/app/assets/node_modules/jquery.browser/Gruntfile.js +62 -0
  666. data/app/assets/node_modules/jquery.browser/MIT-LICENSE.txt +21 -0
  667. data/app/assets/node_modules/jquery.browser/README.md +117 -0
  668. data/app/assets/node_modules/jquery.browser/bower.json +13 -0
  669. data/app/assets/node_modules/jquery.browser/browser.jquery.json +37 -0
  670. data/app/assets/node_modules/jquery.browser/dist/jquery.browser.js +193 -0
  671. data/app/assets/node_modules/jquery.browser/dist/jquery.browser.min.js +14 -0
  672. data/app/assets/node_modules/jquery.browser/package.json +30 -0
  673. data/app/assets/node_modules/jquery.browser/test/casperserver.js +257 -0
  674. data/app/assets/node_modules/jquery.browser/test/index.html +13 -0
  675. data/app/assets/node_modules/jquery.browser/test/src/jquery-1.10.2.min.js +6 -0
  676. data/app/assets/node_modules/jquery.browser/test/src/require/test.js +21 -0
  677. data/app/assets/node_modules/jquery.browser/test/test.js +962 -0
  678. data/app/assets/node_modules/jquery.flot.tooltip/CONTRIBUTING.md +9 -0
  679. data/app/assets/node_modules/jquery.flot.tooltip/Gruntfile.js +72 -0
  680. data/app/assets/node_modules/jquery.flot.tooltip/README.md +267 -0
  681. data/app/assets/node_modules/jquery.flot.tooltip/bower.json +13 -0
  682. data/app/assets/node_modules/jquery.flot.tooltip/examples/basic.html +45 -0
  683. data/app/assets/node_modules/jquery.flot.tooltip/examples/curved-lines.html +59 -0
  684. data/app/assets/node_modules/jquery.flot.tooltip/examples/custom-label-text.html +114 -0
  685. data/app/assets/node_modules/jquery.flot.tooltip/examples/custom_ticks.html +78 -0
  686. data/app/assets/node_modules/jquery.flot.tooltip/examples/dollar_in_tickformatter.html +68 -0
  687. data/app/assets/node_modules/jquery.flot.tooltip/examples/index.html +36 -0
  688. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/curvedLines.js +483 -0
  689. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/excanvas.min.js +1 -0
  690. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.js +3168 -0
  691. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.pie.js +820 -0
  692. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.stack.js +184 -0
  693. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.threshold.js +142 -0
  694. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.time.js +432 -0
  695. data/app/assets/node_modules/jquery.flot.tooltip/examples/many_series.html +78 -0
  696. data/app/assets/node_modules/jquery.flot.tooltip/examples/multiple-axes.html +78 -0
  697. data/app/assets/node_modules/jquery.flot.tooltip/examples/pie.html +87 -0
  698. data/app/assets/node_modules/jquery.flot.tooltip/examples/real_data.html +133 -0
  699. data/app/assets/node_modules/jquery.flot.tooltip/examples/stacking.html +97 -0
  700. data/app/assets/node_modules/jquery.flot.tooltip/examples/threshold.html +97 -0
  701. data/app/assets/node_modules/jquery.flot.tooltip/examples/time_bars.html +77 -0
  702. data/app/assets/node_modules/jquery.flot.tooltip/examples/two_chars.html +63 -0
  703. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.js +606 -0
  704. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.min.js +12 -0
  705. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.source.js +595 -0
  706. data/app/assets/node_modules/jquery.flot.tooltip/package.json +37 -0
  707. data/app/assets/node_modules/jqvmap/CHANGELOG.md +118 -0
  708. data/app/assets/node_modules/jqvmap/CONTRIBUTING.md +118 -0
  709. data/app/assets/node_modules/jqvmap/LICENSE +43 -0
  710. data/app/assets/node_modules/jqvmap/README.md +495 -0
  711. data/app/assets/node_modules/jqvmap/REGIONS.md +405 -0
  712. data/app/assets/node_modules/jqvmap/bower.json +32 -0
  713. data/app/assets/node_modules/jqvmap/create/README.md +207 -0
  714. data/app/assets/node_modules/jqvmap/create/config/continent.json +64 -0
  715. data/app/assets/node_modules/jqvmap/create/config/new-york.json +16 -0
  716. data/app/assets/node_modules/jqvmap/create/config/syria.json +16 -0
  717. data/app/assets/node_modules/jqvmap/create/jqvmap.py +573 -0
  718. data/app/assets/node_modules/jqvmap/dist/jquery.vmap.js +1281 -0
  719. data/app/assets/node_modules/jqvmap/dist/jquery.vmap.min.js +10 -0
  720. data/app/assets/node_modules/jqvmap/dist/jqvmap.css +50 -0
  721. data/app/assets/node_modules/jqvmap/dist/jqvmap.min.css +1 -0
  722. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.africa.js +2 -0
  723. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.asia.js +2 -0
  724. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.australia.js +2 -0
  725. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.europe.js +2 -0
  726. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.north-america.js +2 -0
  727. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.south-america.js +2 -0
  728. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.algeria.js +2 -0
  729. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.argentina.js +1 -0
  730. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.brazil.js +2 -0
  731. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.canada.js +2 -0
  732. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.europe.js +2 -0
  733. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.france.js +1 -0
  734. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.germany.js +2 -0
  735. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.greece.js +1 -0
  736. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.iran.js +6 -0
  737. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.iraq.js +1 -0
  738. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.russia.js +2 -0
  739. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.tunisia.js +2 -0
  740. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.turkey.js +11 -0
  741. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.usa.js +2 -0
  742. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.world.js +2 -0
  743. data/app/assets/node_modules/jqvmap/examples/algeria.html +27 -0
  744. data/app/assets/node_modules/jqvmap/examples/argentina.html +33 -0
  745. data/app/assets/node_modules/jqvmap/examples/brazil.html +33 -0
  746. data/app/assets/node_modules/jqvmap/examples/continents.html +172 -0
  747. data/app/assets/node_modules/jqvmap/examples/europe.html +27 -0
  748. data/app/assets/node_modules/jqvmap/examples/france.html +27 -0
  749. data/app/assets/node_modules/jqvmap/examples/germany.html +33 -0
  750. data/app/assets/node_modules/jqvmap/examples/greece.html +33 -0
  751. data/app/assets/node_modules/jqvmap/examples/images/background.png +0 -0
  752. data/app/assets/node_modules/jqvmap/examples/images/flag.png +0 -0
  753. data/app/assets/node_modules/jqvmap/examples/images/globe.png +0 -0
  754. data/app/assets/node_modules/jqvmap/examples/images/marker/black.png +0 -0
  755. data/app/assets/node_modules/jqvmap/examples/images/marker/blue.png +0 -0
  756. data/app/assets/node_modules/jqvmap/examples/images/marker/green.png +0 -0
  757. data/app/assets/node_modules/jqvmap/examples/images/marker/grey.png +0 -0
  758. data/app/assets/node_modules/jqvmap/examples/images/marker/orange.png +0 -0
  759. data/app/assets/node_modules/jqvmap/examples/images/marker/purple.png +0 -0
  760. data/app/assets/node_modules/jqvmap/examples/images/marker/red.png +0 -0
  761. data/app/assets/node_modules/jqvmap/examples/images/marker/white.png +0 -0
  762. data/app/assets/node_modules/jqvmap/examples/images/marker/yellow.png +0 -0
  763. data/app/assets/node_modules/jqvmap/examples/images/thumb.jpg +0 -0
  764. data/app/assets/node_modules/jqvmap/examples/images/tip.png +0 -0
  765. data/app/assets/node_modules/jqvmap/examples/inactive_regions.html +62 -0
  766. data/app/assets/node_modules/jqvmap/examples/iran.html +44 -0
  767. data/app/assets/node_modules/jqvmap/examples/iraq.html +44 -0
  768. data/app/assets/node_modules/jqvmap/examples/js/jquery.vmap.sampledata.js +1 -0
  769. data/app/assets/node_modules/jqvmap/examples/labels.html +146 -0
  770. data/app/assets/node_modules/jqvmap/examples/mobile.html +59 -0
  771. data/app/assets/node_modules/jqvmap/examples/multi.html +29 -0
  772. data/app/assets/node_modules/jqvmap/examples/pins.html +236 -0
  773. data/app/assets/node_modules/jqvmap/examples/pins_custom.html +127 -0
  774. data/app/assets/node_modules/jqvmap/examples/responsive.html +45 -0
  775. data/app/assets/node_modules/jqvmap/examples/russia.html +33 -0
  776. data/app/assets/node_modules/jqvmap/examples/touch_detect.html +46 -0
  777. data/app/assets/node_modules/jqvmap/examples/tunisia.html +33 -0
  778. data/app/assets/node_modules/jqvmap/examples/turkey.html +26 -0
  779. data/app/assets/node_modules/jqvmap/examples/usa.html +37 -0
  780. data/app/assets/node_modules/jqvmap/examples/world.html +35 -0
  781. data/app/assets/node_modules/jqvmap/grunt/bump.js +22 -0
  782. data/app/assets/node_modules/jqvmap/grunt/changelog.js +14 -0
  783. data/app/assets/node_modules/jqvmap/grunt/clean.js +5 -0
  784. data/app/assets/node_modules/jqvmap/grunt/concat.js +23 -0
  785. data/app/assets/node_modules/jqvmap/grunt/index.js +2 -0
  786. data/app/assets/node_modules/jqvmap/grunt/qunit.js +3 -0
  787. data/app/assets/node_modules/jqvmap/grunt/shell.js +6 -0
  788. data/app/assets/node_modules/jqvmap/grunt/uglify.js +19 -0
  789. data/app/assets/node_modules/jqvmap/gruntfile.js +21 -0
  790. data/app/assets/node_modules/jqvmap/node_modules/jquery/AUTHORS.txt +217 -0
  791. data/app/assets/node_modules/jqvmap/node_modules/jquery/CONTRIBUTING.md +214 -0
  792. data/app/assets/node_modules/jqvmap/node_modules/jquery/MIT-LICENSE.txt +21 -0
  793. data/app/assets/node_modules/jqvmap/node_modules/jquery/README.md +368 -0
  794. data/app/assets/node_modules/jqvmap/node_modules/jquery/bower.json +28 -0
  795. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.js +10351 -0
  796. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.min.js +6 -0
  797. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.min.map +1 -0
  798. data/app/assets/node_modules/jqvmap/node_modules/jquery/package.json +54 -0
  799. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/jsonp.js +89 -0
  800. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/load.js +75 -0
  801. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/parseJSON.js +51 -0
  802. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/parseXML.js +31 -0
  803. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/script.js +93 -0
  804. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  805. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/var/rquery.js +3 -0
  806. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/xhr.js +197 -0
  807. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax.js +801 -0
  808. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/attr.js +271 -0
  809. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/classes.js +157 -0
  810. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/prop.js +134 -0
  811. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/support.js +62 -0
  812. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/val.js +178 -0
  813. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes.js +11 -0
  814. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/callbacks.js +205 -0
  815. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/access.js +60 -0
  816. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/init.js +132 -0
  817. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/parseHTML.js +39 -0
  818. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/ready.js +152 -0
  819. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/var/rsingleTag.js +4 -0
  820. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core.js +540 -0
  821. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/addGetHookIf.js +32 -0
  822. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/curCSS.js +124 -0
  823. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/defaultDisplay.js +69 -0
  824. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/hiddenVisibleSelectors.js +20 -0
  825. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/support.js +151 -0
  826. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/swap.js +28 -0
  827. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/cssExpand.js +3 -0
  828. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/isHidden.js +13 -0
  829. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/rmargin.js +3 -0
  830. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
  831. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css.js +504 -0
  832. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data/accepts.js +21 -0
  833. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data/support.js +25 -0
  834. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data.js +335 -0
  835. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/deferred.js +150 -0
  836. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/deprecated.js +13 -0
  837. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/dimensions.js +50 -0
  838. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/Tween.js +114 -0
  839. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/animatedSelector.js +13 -0
  840. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/support.js +55 -0
  841. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects.js +656 -0
  842. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/ajax.js +13 -0
  843. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/alias.js +39 -0
  844. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/support.js +26 -0
  845. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event.js +1037 -0
  846. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/exports/amd.js +24 -0
  847. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/exports/global.js +32 -0
  848. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/intro.js +44 -0
  849. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/jquery.js +38 -0
  850. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/_evalUrl.js +18 -0
  851. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/support.js +76 -0
  852. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
  853. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation.js +744 -0
  854. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/offset.js +211 -0
  855. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/outro.js +1 -0
  856. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/queue/delay.js +22 -0
  857. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/queue.js +142 -0
  858. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/selector-sizzle.js +14 -0
  859. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/selector.js +1 -0
  860. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/serialize.js +110 -0
  861. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.js +2067 -0
  862. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.min.js +3 -0
  863. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.min.map +1 -0
  864. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/empty.js +0 -0
  865. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/mixed_sort.html +22 -0
  866. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/testinit.js +136 -0
  867. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/index.html +242 -0
  868. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/jquery.js +9597 -0
  869. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/extending.js +95 -0
  870. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/selector.js +1149 -0
  871. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/utilities.js +169 -0
  872. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/support.js +58 -0
  873. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing/findFilter.js +100 -0
  874. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
  875. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing.js +200 -0
  876. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/class2type.js +4 -0
  877. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/concat.js +5 -0
  878. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/deletedIds.js +3 -0
  879. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/hasOwn.js +5 -0
  880. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/indexOf.js +5 -0
  881. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/pnum.js +3 -0
  882. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/push.js +5 -0
  883. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/rnotwhite.js +3 -0
  884. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/slice.js +5 -0
  885. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/strundefined.js +3 -0
  886. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/support.js +4 -0
  887. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/toString.js +5 -0
  888. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/wrap.js +76 -0
  889. data/app/assets/node_modules/jqvmap/package.json +45 -0
  890. data/app/assets/node_modules/jqvmap/src/Base.js +80 -0
  891. data/app/assets/node_modules/jqvmap/src/ColorScale/arrayToRgb.js +9 -0
  892. data/app/assets/node_modules/jqvmap/src/ColorScale/getColor.js +41 -0
  893. data/app/assets/node_modules/jqvmap/src/ColorScale/rgbToArray.js +4 -0
  894. data/app/assets/node_modules/jqvmap/src/ColorScale/setColors.js +6 -0
  895. data/app/assets/node_modules/jqvmap/src/ColorScale/setMax.js +8 -0
  896. data/app/assets/node_modules/jqvmap/src/ColorScale/setMin.js +9 -0
  897. data/app/assets/node_modules/jqvmap/src/ColorScale/setNormalizeFunction.js +13 -0
  898. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorAdd.js +7 -0
  899. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorLength.js +7 -0
  900. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorMult.js +7 -0
  901. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorSubtract.js +7 -0
  902. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorToNum.js +7 -0
  903. data/app/assets/node_modules/jqvmap/src/ColorScale.js +18 -0
  904. data/app/assets/node_modules/jqvmap/src/JQVMap/applyTransform.js +31 -0
  905. data/app/assets/node_modules/jqvmap/src/JQVMap/bindZoomButtons.js +9 -0
  906. data/app/assets/node_modules/jqvmap/src/JQVMap/deselect.js +18 -0
  907. data/app/assets/node_modules/jqvmap/src/JQVMap/getCountryId.js +3 -0
  908. data/app/assets/node_modules/jqvmap/src/JQVMap/getPin.js +4 -0
  909. data/app/assets/node_modules/jqvmap/src/JQVMap/getPinId.js +3 -0
  910. data/app/assets/node_modules/jqvmap/src/JQVMap/getPins.js +11 -0
  911. data/app/assets/node_modules/jqvmap/src/JQVMap/highlight.js +12 -0
  912. data/app/assets/node_modules/jqvmap/src/JQVMap/isSelected.js +3 -0
  913. data/app/assets/node_modules/jqvmap/src/JQVMap/makeDraggable.js +159 -0
  914. data/app/assets/node_modules/jqvmap/src/JQVMap/placePins.js +46 -0
  915. data/app/assets/node_modules/jqvmap/src/JQVMap/positionPins.js +19 -0
  916. data/app/assets/node_modules/jqvmap/src/JQVMap/removePin.js +4 -0
  917. data/app/assets/node_modules/jqvmap/src/JQVMap/removePins.js +3 -0
  918. data/app/assets/node_modules/jqvmap/src/JQVMap/reset.js +9 -0
  919. data/app/assets/node_modules/jqvmap/src/JQVMap/resize.js +13 -0
  920. data/app/assets/node_modules/jqvmap/src/JQVMap/select.js +18 -0
  921. data/app/assets/node_modules/jqvmap/src/JQVMap/selectIndex.js +9 -0
  922. data/app/assets/node_modules/jqvmap/src/JQVMap/setBackgroundColor.js +3 -0
  923. data/app/assets/node_modules/jqvmap/src/JQVMap/setColors.js +15 -0
  924. data/app/assets/node_modules/jqvmap/src/JQVMap/setNormalizeFunction.js +7 -0
  925. data/app/assets/node_modules/jqvmap/src/JQVMap/setScale.js +4 -0
  926. data/app/assets/node_modules/jqvmap/src/JQVMap/setScaleColors.js +7 -0
  927. data/app/assets/node_modules/jqvmap/src/JQVMap/setValues.js +36 -0
  928. data/app/assets/node_modules/jqvmap/src/JQVMap/unhighlight.js +8 -0
  929. data/app/assets/node_modules/jqvmap/src/JQVMap/zoomIn.js +17 -0
  930. data/app/assets/node_modules/jqvmap/src/JQVMap/zoomOut.js +17 -0
  931. data/app/assets/node_modules/jqvmap/src/JQVMap.js +243 -0
  932. data/app/assets/node_modules/jqvmap/src/VectorCanvas/applyTransformParams.js +8 -0
  933. data/app/assets/node_modules/jqvmap/src/VectorCanvas/createGroup.js +19 -0
  934. data/app/assets/node_modules/jqvmap/src/VectorCanvas/createPath.js +75 -0
  935. data/app/assets/node_modules/jqvmap/src/VectorCanvas/pathSvgToVml.js +103 -0
  936. data/app/assets/node_modules/jqvmap/src/VectorCanvas/setSize.js +24 -0
  937. data/app/assets/node_modules/jqvmap/src/VectorCanvas.js +42 -0
  938. data/app/assets/node_modules/jqvmap/tests/index.html +32 -0
  939. data/app/assets/node_modules/jqvmap/tests/qunit/qunit.css +291 -0
  940. data/app/assets/node_modules/jqvmap/tests/qunit/qunit.js +3828 -0
  941. data/app/assets/node_modules/jqvmap/tests/tests.js +422 -0
  942. data/app/assets/node_modules/metismenu/LICENSE +20 -0
  943. data/app/assets/node_modules/metismenu/README.md +361 -0
  944. data/app/assets/node_modules/metismenu/changelog.md +22 -0
  945. data/app/assets/node_modules/metismenu/dist/cjs/index.js +327 -0
  946. data/app/assets/node_modules/metismenu/dist/metisMenu.css +132 -0
  947. data/app/assets/node_modules/metismenu/dist/metisMenu.css.map +1 -0
  948. data/app/assets/node_modules/metismenu/dist/metisMenu.js +332 -0
  949. data/app/assets/node_modules/metismenu/dist/metisMenu.js.map +1 -0
  950. data/app/assets/node_modules/metismenu/dist/metisMenu.min.css +9 -0
  951. data/app/assets/node_modules/metismenu/dist/metisMenu.min.css.map +1 -0
  952. data/app/assets/node_modules/metismenu/dist/metisMenu.min.js +10 -0
  953. data/app/assets/node_modules/metismenu/dist/metisMenu.min.js.map +1 -0
  954. data/app/assets/node_modules/metismenu/dist/modules/index.js +323 -0
  955. data/app/assets/node_modules/metismenu/package.json +122 -0
  956. data/app/assets/node_modules/metismenu/src/index.js +260 -0
  957. data/app/assets/node_modules/metismenu/src/metisMenu.css +116 -0
  958. data/app/assets/node_modules/metismenu/src/util.js +61 -0
  959. data/app/assets/node_modules/metismenu/types/metismenu.d.ts +25 -0
  960. data/app/assets/node_modules/morris.js/Gruntfile.js +90 -0
  961. data/app/assets/node_modules/morris.js/README.md +234 -0
  962. data/app/assets/node_modules/morris.js/bower.json +20 -0
  963. data/app/assets/node_modules/morris.js/bower.travis.json +20 -0
  964. data/app/assets/node_modules/morris.js/examples/_template.html +18 -0
  965. data/app/assets/node_modules/morris.js/examples/area-as-line.html +31 -0
  966. data/app/assets/node_modules/morris.js/examples/area.html +34 -0
  967. data/app/assets/node_modules/morris.js/examples/bar-colors.html +44 -0
  968. data/app/assets/node_modules/morris.js/examples/bar-no-axes.html +31 -0
  969. data/app/assets/node_modules/morris.js/examples/bar.html +32 -0
  970. data/app/assets/node_modules/morris.js/examples/days.html +37 -0
  971. data/app/assets/node_modules/morris.js/examples/decimal-custom-hover.html +37 -0
  972. data/app/assets/node_modules/morris.js/examples/diagonal-xlabels-bar.html +38 -0
  973. data/app/assets/node_modules/morris.js/examples/diagonal-xlabels.html +38 -0
  974. data/app/assets/node_modules/morris.js/examples/donut-colors.html +38 -0
  975. data/app/assets/node_modules/morris.js/examples/donut-formatter.html +27 -0
  976. data/app/assets/node_modules/morris.js/examples/donut.html +29 -0
  977. data/app/assets/node_modules/morris.js/examples/dst.html +30 -0
  978. data/app/assets/node_modules/morris.js/examples/events.html +57 -0
  979. data/app/assets/node_modules/morris.js/examples/goals.html +33 -0
  980. data/app/assets/node_modules/morris.js/examples/lib/example.css +13 -0
  981. data/app/assets/node_modules/morris.js/examples/lib/example.js +4 -0
  982. data/app/assets/node_modules/morris.js/examples/months-no-smooth.html +38 -0
  983. data/app/assets/node_modules/morris.js/examples/negative.html +36 -0
  984. data/app/assets/node_modules/morris.js/examples/no-grid.html +38 -0
  985. data/app/assets/node_modules/morris.js/examples/non-continuous.html +42 -0
  986. data/app/assets/node_modules/morris.js/examples/non-date.html +37 -0
  987. data/app/assets/node_modules/morris.js/examples/quarters.html +54 -0
  988. data/app/assets/node_modules/morris.js/examples/resize.html +42 -0
  989. data/app/assets/node_modules/morris.js/examples/stacked_bars.html +31 -0
  990. data/app/assets/node_modules/morris.js/examples/timestamps.html +38 -0
  991. data/app/assets/node_modules/morris.js/examples/updating.html +49 -0
  992. data/app/assets/node_modules/morris.js/examples/weeks.html +53 -0
  993. data/app/assets/node_modules/morris.js/examples/years.html +37 -0
  994. data/app/assets/node_modules/morris.js/less/morris.core.less +27 -0
  995. data/app/assets/node_modules/morris.js/lib/morris.area.coffee +66 -0
  996. data/app/assets/node_modules/morris.js/lib/morris.bar.coffee +208 -0
  997. data/app/assets/node_modules/morris.js/lib/morris.coffee +43 -0
  998. data/app/assets/node_modules/morris.js/lib/morris.donut.coffee +213 -0
  999. data/app/assets/node_modules/morris.js/lib/morris.grid.coffee +499 -0
  1000. data/app/assets/node_modules/morris.js/lib/morris.hover.coffee +44 -0
  1001. data/app/assets/node_modules/morris.js/lib/morris.line.coffee +405 -0
  1002. data/app/assets/node_modules/morris.js/morris.css +2 -0
  1003. data/app/assets/node_modules/morris.js/morris.js +1892 -0
  1004. data/app/assets/node_modules/morris.js/morris.min.js +7 -0
  1005. data/app/assets/node_modules/morris.js/package.json +36 -0
  1006. data/app/assets/node_modules/morris.js/spec/lib/area/area_spec.coffee +60 -0
  1007. data/app/assets/node_modules/morris.js/spec/lib/bar/bar_spec.coffee +127 -0
  1008. data/app/assets/node_modules/morris.js/spec/lib/bar/colours.coffee +36 -0
  1009. data/app/assets/node_modules/morris.js/spec/lib/commas_spec.coffee +38 -0
  1010. data/app/assets/node_modules/morris.js/spec/lib/donut/donut_spec.coffee +76 -0
  1011. data/app/assets/node_modules/morris.js/spec/lib/grid/auto_grid_lines_spec.coffee +25 -0
  1012. data/app/assets/node_modules/morris.js/spec/lib/grid/set_data_spec.coffee +208 -0
  1013. data/app/assets/node_modules/morris.js/spec/lib/grid/y_label_format_spec.coffee +15 -0
  1014. data/app/assets/node_modules/morris.js/spec/lib/hover_spec.coffee +64 -0
  1015. data/app/assets/node_modules/morris.js/spec/lib/label_series_spec.coffee +186 -0
  1016. data/app/assets/node_modules/morris.js/spec/lib/line/line_spec.coffee +211 -0
  1017. data/app/assets/node_modules/morris.js/spec/lib/pad_spec.coffee +17 -0
  1018. data/app/assets/node_modules/morris.js/spec/lib/parse_time_spec.coffee +35 -0
  1019. data/app/assets/node_modules/morris.js/spec/specs.html +34 -0
  1020. data/app/assets/node_modules/morris.js/spec/support/placeholder.coffee +6 -0
  1021. data/app/assets/node_modules/morris.js/spec/viz/examples.js +56 -0
  1022. data/app/assets/node_modules/morris.js/spec/viz/exemplary/area0.png +0 -0
  1023. data/app/assets/node_modules/morris.js/spec/viz/exemplary/bar0.png +0 -0
  1024. data/app/assets/node_modules/morris.js/spec/viz/exemplary/line0.png +0 -0
  1025. data/app/assets/node_modules/morris.js/spec/viz/exemplary/stacked_bar0.png +0 -0
  1026. data/app/assets/node_modules/morris.js/spec/viz/run.sh +32 -0
  1027. data/app/assets/node_modules/morris.js/spec/viz/test.html +34 -0
  1028. data/app/assets/node_modules/morris.js/spec/viz/visual_specs.js +66 -0
  1029. data/app/assets/node_modules/nprogress/History.md +110 -0
  1030. data/app/assets/node_modules/nprogress/License.md +19 -0
  1031. data/app/assets/node_modules/nprogress/Notes.md +25 -0
  1032. data/app/assets/node_modules/nprogress/Readme.md +197 -0
  1033. data/app/assets/node_modules/nprogress/bower.json +27 -0
  1034. data/app/assets/node_modules/nprogress/component.json +19 -0
  1035. data/app/assets/node_modules/nprogress/nprogress.css +74 -0
  1036. data/app/assets/node_modules/nprogress/nprogress.js +476 -0
  1037. data/app/assets/node_modules/nprogress/package.json +47 -0
  1038. data/app/assets/node_modules/nprogress/test/component.html +26 -0
  1039. data/app/assets/node_modules/nprogress/test/test.js +175 -0
  1040. data/app/assets/node_modules/parchment/LICENSE +29 -0
  1041. data/app/assets/node_modules/parchment/README.md +274 -0
  1042. data/app/assets/node_modules/parchment/dist/parchment.js +1749 -0
  1043. data/app/assets/node_modules/parchment/dist/parchment.js.map +1 -0
  1044. data/app/assets/node_modules/parchment/dist/src/attributor/attributor.d.ts +17 -0
  1045. data/app/assets/node_modules/parchment/dist/src/attributor/class.d.ts +8 -0
  1046. data/app/assets/node_modules/parchment/dist/src/attributor/store.d.ts +15 -0
  1047. data/app/assets/node_modules/parchment/dist/src/attributor/style.d.ts +8 -0
  1048. data/app/assets/node_modules/parchment/dist/src/blot/abstract/blot.d.ts +63 -0
  1049. data/app/assets/node_modules/parchment/dist/src/blot/abstract/container.d.ts +40 -0
  1050. data/app/assets/node_modules/parchment/dist/src/blot/abstract/format.d.ts +18 -0
  1051. data/app/assets/node_modules/parchment/dist/src/blot/abstract/leaf.d.ts +11 -0
  1052. data/app/assets/node_modules/parchment/dist/src/blot/abstract/parent.d.ts +41 -0
  1053. data/app/assets/node_modules/parchment/dist/src/blot/abstract/shadow.d.ts +38 -0
  1054. data/app/assets/node_modules/parchment/dist/src/blot/block.d.ts +15 -0
  1055. data/app/assets/node_modules/parchment/dist/src/blot/embed.d.ts +11 -0
  1056. data/app/assets/node_modules/parchment/dist/src/blot/inline.d.ts +14 -0
  1057. data/app/assets/node_modules/parchment/dist/src/blot/scroll.d.ts +24 -0
  1058. data/app/assets/node_modules/parchment/dist/src/blot/text.d.ts +26 -0
  1059. data/app/assets/node_modules/parchment/dist/src/collection/linked-list.d.ts +19 -0
  1060. data/app/assets/node_modules/parchment/dist/src/collection/linked-node.d.ts +6 -0
  1061. data/app/assets/node_modules/parchment/dist/src/parchment.d.ts +35 -0
  1062. data/app/assets/node_modules/parchment/dist/src/registry.d.ts +31 -0
  1063. data/app/assets/node_modules/parchment/package.json +44 -0
  1064. data/app/assets/node_modules/parchment/src/attributor/attributor.ts +61 -0
  1065. data/app/assets/node_modules/parchment/src/attributor/class.ts +44 -0
  1066. data/app/assets/node_modules/parchment/src/attributor/store.ts +73 -0
  1067. data/app/assets/node_modules/parchment/src/attributor/style.ts +44 -0
  1068. data/app/assets/node_modules/parchment/src/blot/abstract/blot.ts +58 -0
  1069. data/app/assets/node_modules/parchment/src/blot/abstract/container.ts +268 -0
  1070. data/app/assets/node_modules/parchment/src/blot/abstract/format.ts +71 -0
  1071. data/app/assets/node_modules/parchment/src/blot/abstract/leaf.ts +33 -0
  1072. data/app/assets/node_modules/parchment/src/blot/abstract/shadow.ts +174 -0
  1073. data/app/assets/node_modules/parchment/src/blot/block.ts +53 -0
  1074. data/app/assets/node_modules/parchment/src/blot/embed.ts +29 -0
  1075. data/app/assets/node_modules/parchment/src/blot/inline.ts +64 -0
  1076. data/app/assets/node_modules/parchment/src/blot/scroll.ts +166 -0
  1077. data/app/assets/node_modules/parchment/src/blot/text.ts +93 -0
  1078. data/app/assets/node_modules/parchment/src/collection/linked-list.ts +143 -0
  1079. data/app/assets/node_modules/parchment/src/collection/linked-node.ts +8 -0
  1080. data/app/assets/node_modules/parchment/src/parchment.ts +46 -0
  1081. data/app/assets/node_modules/parchment/src/registry.ts +133 -0
  1082. data/app/assets/node_modules/parchment/tsconfig.json +9 -0
  1083. data/app/assets/node_modules/popper.js/README.md +219 -0
  1084. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.js +1093 -0
  1085. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.js.map +1 -0
  1086. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.min.js +5 -0
  1087. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.min.js.map +1 -0
  1088. data/app/assets/node_modules/popper.js/dist/esm/popper.js +2520 -0
  1089. data/app/assets/node_modules/popper.js/dist/esm/popper.js.map +1 -0
  1090. data/app/assets/node_modules/popper.js/dist/esm/popper.min.js +5 -0
  1091. data/app/assets/node_modules/popper.js/dist/esm/popper.min.js.map +1 -0
  1092. data/app/assets/node_modules/popper.js/dist/popper-utils.js +1042 -0
  1093. data/app/assets/node_modules/popper.js/dist/popper-utils.js.map +1 -0
  1094. data/app/assets/node_modules/popper.js/dist/popper-utils.min.js +5 -0
  1095. data/app/assets/node_modules/popper.js/dist/popper-utils.min.js.map +1 -0
  1096. data/app/assets/node_modules/popper.js/dist/popper.js +2372 -0
  1097. data/app/assets/node_modules/popper.js/dist/popper.js.map +1 -0
  1098. data/app/assets/node_modules/popper.js/dist/popper.min.js +5 -0
  1099. data/app/assets/node_modules/popper.js/dist/popper.min.js.map +1 -0
  1100. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.js +1131 -0
  1101. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.js.map +1 -0
  1102. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.min.js +5 -0
  1103. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.min.js.map +1 -0
  1104. data/app/assets/node_modules/popper.js/dist/umd/popper.js +2528 -0
  1105. data/app/assets/node_modules/popper.js/dist/umd/popper.js.map +1 -0
  1106. data/app/assets/node_modules/popper.js/dist/umd/popper.min.js +5 -0
  1107. data/app/assets/node_modules/popper.js/dist/umd/popper.min.js.map +1 -0
  1108. data/app/assets/node_modules/popper.js/index.d.ts +159 -0
  1109. data/app/assets/node_modules/popper.js/package.json +54 -0
  1110. data/app/assets/node_modules/quill/CHANGELOG.md +734 -0
  1111. data/app/assets/node_modules/quill/LICENSE +30 -0
  1112. data/app/assets/node_modules/quill/README.md +109 -0
  1113. data/app/assets/node_modules/quill/assets/base.styl +304 -0
  1114. data/app/assets/node_modules/quill/assets/bubble/toolbar.styl +14 -0
  1115. data/app/assets/node_modules/quill/assets/bubble/tooltip.styl +49 -0
  1116. data/app/assets/node_modules/quill/assets/bubble.styl +45 -0
  1117. data/app/assets/node_modules/quill/assets/core.styl +183 -0
  1118. data/app/assets/node_modules/quill/assets/favicon.png +0 -0
  1119. data/app/assets/node_modules/quill/assets/icons/align-center.svg +5 -0
  1120. data/app/assets/node_modules/quill/assets/icons/align-justify.svg +5 -0
  1121. data/app/assets/node_modules/quill/assets/icons/align-left.svg +5 -0
  1122. data/app/assets/node_modules/quill/assets/icons/align-right.svg +5 -0
  1123. data/app/assets/node_modules/quill/assets/icons/attachment.svg +3 -0
  1124. data/app/assets/node_modules/quill/assets/icons/audio.svg +5 -0
  1125. data/app/assets/node_modules/quill/assets/icons/authorship.svg +5 -0
  1126. data/app/assets/node_modules/quill/assets/icons/background.svg +52 -0
  1127. data/app/assets/node_modules/quill/assets/icons/blockquote.svg +6 -0
  1128. data/app/assets/node_modules/quill/assets/icons/bold.svg +4 -0
  1129. data/app/assets/node_modules/quill/assets/icons/clean.svg +7 -0
  1130. data/app/assets/node_modules/quill/assets/icons/code.svg +5 -0
  1131. data/app/assets/node_modules/quill/assets/icons/color.svg +5 -0
  1132. data/app/assets/node_modules/quill/assets/icons/comment.svg +3 -0
  1133. data/app/assets/node_modules/quill/assets/icons/direction-ltr.svg +7 -0
  1134. data/app/assets/node_modules/quill/assets/icons/direction-rtl.svg +7 -0
  1135. data/app/assets/node_modules/quill/assets/icons/dropdown.svg +4 -0
  1136. data/app/assets/node_modules/quill/assets/icons/embed.svg +3 -0
  1137. data/app/assets/node_modules/quill/assets/icons/emoji.svg +6 -0
  1138. data/app/assets/node_modules/quill/assets/icons/float-center.svg +5 -0
  1139. data/app/assets/node_modules/quill/assets/icons/float-full.svg +5 -0
  1140. data/app/assets/node_modules/quill/assets/icons/float-left.svg +7 -0
  1141. data/app/assets/node_modules/quill/assets/icons/float-right.svg +7 -0
  1142. data/app/assets/node_modules/quill/assets/icons/font.svg +5 -0
  1143. data/app/assets/node_modules/quill/assets/icons/formula.svg +5 -0
  1144. data/app/assets/node_modules/quill/assets/icons/hashtag.svg +6 -0
  1145. data/app/assets/node_modules/quill/assets/icons/header-2.svg +3 -0
  1146. data/app/assets/node_modules/quill/assets/icons/header-3.svg +3 -0
  1147. data/app/assets/node_modules/quill/assets/icons/header-4.svg +3 -0
  1148. data/app/assets/node_modules/quill/assets/icons/header-5.svg +3 -0
  1149. data/app/assets/node_modules/quill/assets/icons/header-6.svg +3 -0
  1150. data/app/assets/node_modules/quill/assets/icons/header.svg +3 -0
  1151. data/app/assets/node_modules/quill/assets/icons/horizontal-rule.svg +4 -0
  1152. data/app/assets/node_modules/quill/assets/icons/image.svg +5 -0
  1153. data/app/assets/node_modules/quill/assets/icons/indent.svg +6 -0
  1154. data/app/assets/node_modules/quill/assets/icons/italic.svg +5 -0
  1155. data/app/assets/node_modules/quill/assets/icons/link.svg +5 -0
  1156. data/app/assets/node_modules/quill/assets/icons/list-bullet.svg +8 -0
  1157. data/app/assets/node_modules/quill/assets/icons/list-check.svg +8 -0
  1158. data/app/assets/node_modules/quill/assets/icons/list-ordered.svg +9 -0
  1159. data/app/assets/node_modules/quill/assets/icons/map.svg +5 -0
  1160. data/app/assets/node_modules/quill/assets/icons/mention.svg +4 -0
  1161. data/app/assets/node_modules/quill/assets/icons/more.svg +3 -0
  1162. data/app/assets/node_modules/quill/assets/icons/outdent.svg +6 -0
  1163. data/app/assets/node_modules/quill/assets/icons/redo.svg +4 -0
  1164. data/app/assets/node_modules/quill/assets/icons/size-decrease.svg +5 -0
  1165. data/app/assets/node_modules/quill/assets/icons/size-increase.svg +6 -0
  1166. data/app/assets/node_modules/quill/assets/icons/size.svg +6 -0
  1167. data/app/assets/node_modules/quill/assets/icons/spacing.svg +9 -0
  1168. data/app/assets/node_modules/quill/assets/icons/speech.svg +6 -0
  1169. data/app/assets/node_modules/quill/assets/icons/strike.svg +5 -0
  1170. data/app/assets/node_modules/quill/assets/icons/subscript.svg +4 -0
  1171. data/app/assets/node_modules/quill/assets/icons/superscript.svg +4 -0
  1172. data/app/assets/node_modules/quill/assets/icons/table-border-all.svg +5 -0
  1173. data/app/assets/node_modules/quill/assets/icons/table-border-bottom.svg +28 -0
  1174. data/app/assets/node_modules/quill/assets/icons/table-border-left.svg +28 -0
  1175. data/app/assets/node_modules/quill/assets/icons/table-border-none.svg +25 -0
  1176. data/app/assets/node_modules/quill/assets/icons/table-border-outside.svg +35 -0
  1177. data/app/assets/node_modules/quill/assets/icons/table-border-right.svg +28 -0
  1178. data/app/assets/node_modules/quill/assets/icons/table-border-top.svg +28 -0
  1179. data/app/assets/node_modules/quill/assets/icons/table-delete-cells.svg +13 -0
  1180. data/app/assets/node_modules/quill/assets/icons/table-delete-columns.svg +8 -0
  1181. data/app/assets/node_modules/quill/assets/icons/table-delete-rows.svg +9 -0
  1182. data/app/assets/node_modules/quill/assets/icons/table-insert-cells.svg +13 -0
  1183. data/app/assets/node_modules/quill/assets/icons/table-insert-columns.svg +8 -0
  1184. data/app/assets/node_modules/quill/assets/icons/table-insert-rows.svg +9 -0
  1185. data/app/assets/node_modules/quill/assets/icons/table-merge-cells.svg +4 -0
  1186. data/app/assets/node_modules/quill/assets/icons/table-unmerge-cells.svg +7 -0
  1187. data/app/assets/node_modules/quill/assets/icons/table.svg +11 -0
  1188. data/app/assets/node_modules/quill/assets/icons/underline.svg +4 -0
  1189. data/app/assets/node_modules/quill/assets/icons/undo.svg +4 -0
  1190. data/app/assets/node_modules/quill/assets/icons/video.svg +14 -0
  1191. data/app/assets/node_modules/quill/assets/snow/toolbar.styl +26 -0
  1192. data/app/assets/node_modules/quill/assets/snow/tooltip.styl +53 -0
  1193. data/app/assets/node_modules/quill/assets/snow.styl +18 -0
  1194. data/app/assets/node_modules/quill/blots/block.js +174 -0
  1195. data/app/assets/node_modules/quill/blots/break.js +29 -0
  1196. data/app/assets/node_modules/quill/blots/container.js +9 -0
  1197. data/app/assets/node_modules/quill/blots/cursor.js +116 -0
  1198. data/app/assets/node_modules/quill/blots/embed.js +79 -0
  1199. data/app/assets/node_modules/quill/blots/inline.js +50 -0
  1200. data/app/assets/node_modules/quill/blots/scroll.js +173 -0
  1201. data/app/assets/node_modules/quill/blots/text.js +5 -0
  1202. data/app/assets/node_modules/quill/core/editor.js +267 -0
  1203. data/app/assets/node_modules/quill/core/emitter.js +63 -0
  1204. data/app/assets/node_modules/quill/core/logger.js +22 -0
  1205. data/app/assets/node_modules/quill/core/module.js +10 -0
  1206. data/app/assets/node_modules/quill/core/polyfill.js +63 -0
  1207. data/app/assets/node_modules/quill/core/quill.js +506 -0
  1208. data/app/assets/node_modules/quill/core/selection.js +355 -0
  1209. data/app/assets/node_modules/quill/core/theme.js +30 -0
  1210. data/app/assets/node_modules/quill/core.js +36 -0
  1211. data/app/assets/node_modules/quill/dist/quill.bubble.css +952 -0
  1212. data/app/assets/node_modules/quill/dist/quill.core.css +397 -0
  1213. data/app/assets/node_modules/quill/dist/quill.core.js +8522 -0
  1214. data/app/assets/node_modules/quill/dist/quill.js +11489 -0
  1215. data/app/assets/node_modules/quill/dist/quill.min.js +8 -0
  1216. data/app/assets/node_modules/quill/dist/quill.min.js.map +1 -0
  1217. data/app/assets/node_modules/quill/dist/quill.snow.css +945 -0
  1218. data/app/assets/node_modules/quill/formats/align.js +12 -0
  1219. data/app/assets/node_modules/quill/formats/background.js +11 -0
  1220. data/app/assets/node_modules/quill/formats/blockquote.js +9 -0
  1221. data/app/assets/node_modules/quill/formats/bold.js +22 -0
  1222. data/app/assets/node_modules/quill/formats/code.js +118 -0
  1223. data/app/assets/node_modules/quill/formats/color.js +21 -0
  1224. data/app/assets/node_modules/quill/formats/direction.js +12 -0
  1225. data/app/assets/node_modules/quill/formats/font.js +18 -0
  1226. data/app/assets/node_modules/quill/formats/header.js +13 -0
  1227. data/app/assets/node_modules/quill/formats/image.js +57 -0
  1228. data/app/assets/node_modules/quill/formats/indent.js +31 -0
  1229. data/app/assets/node_modules/quill/formats/italic.js +7 -0
  1230. data/app/assets/node_modules/quill/formats/link.js +41 -0
  1231. data/app/assets/node_modules/quill/formats/list.js +130 -0
  1232. data/app/assets/node_modules/quill/formats/script.js +23 -0
  1233. data/app/assets/node_modules/quill/formats/size.js +12 -0
  1234. data/app/assets/node_modules/quill/formats/strike.js +7 -0
  1235. data/app/assets/node_modules/quill/formats/underline.js +7 -0
  1236. data/app/assets/node_modules/quill/formats/video.js +53 -0
  1237. data/app/assets/node_modules/quill/modules/clipboard.js +358 -0
  1238. data/app/assets/node_modules/quill/modules/formula.js +42 -0
  1239. data/app/assets/node_modules/quill/modules/history.js +120 -0
  1240. data/app/assets/node_modules/quill/modules/keyboard.js +494 -0
  1241. data/app/assets/node_modules/quill/modules/syntax.js +81 -0
  1242. data/app/assets/node_modules/quill/modules/toolbar.js +261 -0
  1243. data/app/assets/node_modules/quill/package.json +99 -0
  1244. data/app/assets/node_modules/quill/quill.js +104 -0
  1245. data/app/assets/node_modules/quill/themes/base.js +264 -0
  1246. data/app/assets/node_modules/quill/themes/bubble.js +111 -0
  1247. data/app/assets/node_modules/quill/themes/snow.js +120 -0
  1248. data/app/assets/node_modules/quill/ui/color-picker.js +35 -0
  1249. data/app/assets/node_modules/quill/ui/icon-picker.js +23 -0
  1250. data/app/assets/node_modules/quill/ui/icons.js +49 -0
  1251. data/app/assets/node_modules/quill/ui/picker.js +186 -0
  1252. data/app/assets/node_modules/quill/ui/tooltip.js +53 -0
  1253. data/app/assets/node_modules/quill-delta/CHANGELOG.md +48 -0
  1254. data/app/assets/node_modules/quill-delta/LICENSE +21 -0
  1255. data/app/assets/node_modules/quill-delta/README.md +639 -0
  1256. data/app/assets/node_modules/quill-delta/lib/delta.js +325 -0
  1257. data/app/assets/node_modules/quill-delta/lib/op.js +139 -0
  1258. data/app/assets/node_modules/quill-delta/package.json +40 -0
  1259. data/app/assets/node_modules/raphael/CONTRIBUTING.md +22 -0
  1260. data/app/assets/node_modules/raphael/Gruntfile.js +72 -0
  1261. data/app/assets/node_modules/raphael/README.md +75 -0
  1262. data/app/assets/node_modules/raphael/bower.json +31 -0
  1263. data/app/assets/node_modules/raphael/dev/banner.txt +8 -0
  1264. data/app/assets/node_modules/raphael/dev/raphael.amd.js +5 -0
  1265. data/app/assets/node_modules/raphael/dev/raphael.core.js +5405 -0
  1266. data/app/assets/node_modules/raphael/dev/raphael.svg.js +1424 -0
  1267. data/app/assets/node_modules/raphael/dev/raphael.vml.js +999 -0
  1268. data/app/assets/node_modules/raphael/dev/raphaelTest.html +39 -0
  1269. data/app/assets/node_modules/raphael/dev/test/index.html +31 -0
  1270. data/app/assets/node_modules/raphael/dev/test/svg/dom.js +317 -0
  1271. data/app/assets/node_modules/raphael/dev/test/vml/dom.js +5 -0
  1272. data/app/assets/node_modules/raphael/history.md +155 -0
  1273. data/app/assets/node_modules/raphael/license.txt +21 -0
  1274. data/app/assets/node_modules/raphael/package.json +47 -0
  1275. data/app/assets/node_modules/raphael/raphael.js +8353 -0
  1276. data/app/assets/node_modules/raphael/raphael.min.js +3 -0
  1277. data/app/assets/node_modules/raphael/raphael.no-deps.js +7927 -0
  1278. data/app/assets/node_modules/raphael/raphael.no-deps.min.js +3 -0
  1279. data/app/assets/node_modules/raphael/webpack.config.js +64 -0
  1280. data/app/assets/node_modules/raphael/yarn.lock +2012 -0
  1281. data/app/assets/node_modules/responsive-toolkit/CHANGELOG.md +70 -0
  1282. data/app/assets/node_modules/responsive-toolkit/LICENSE +21 -0
  1283. data/app/assets/node_modules/responsive-toolkit/README.md +155 -0
  1284. data/app/assets/node_modules/responsive-toolkit/bower.json +22 -0
  1285. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/index.html +53 -0
  1286. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/main.js +42 -0
  1287. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/style.css +109 -0
  1288. data/app/assets/node_modules/responsive-toolkit/demos/custom/index.html +23 -0
  1289. data/app/assets/node_modules/responsive-toolkit/demos/custom/main.js +36 -0
  1290. data/app/assets/node_modules/responsive-toolkit/demos/custom/style.css +19 -0
  1291. data/app/assets/node_modules/responsive-toolkit/demos/foundation/index.html +25 -0
  1292. data/app/assets/node_modules/responsive-toolkit/demos/foundation/main.js +28 -0
  1293. data/app/assets/node_modules/responsive-toolkit/demos/foundation/style.css +3 -0
  1294. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit-1.5.0.js +49 -0
  1295. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit-1.5.0.min.js +8 -0
  1296. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit.js +238 -0
  1297. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit.min.js +8 -0
  1298. data/app/assets/node_modules/responsive-toolkit/gulpfile.js +38 -0
  1299. data/app/assets/node_modules/responsive-toolkit/package.json +28 -0
  1300. data/app/assets/node_modules/responsive-toolkit/src/bootstrap-toolkit.js +238 -0
  1301. data/app/assets/node_modules/sortablejs/README.md +636 -0
  1302. data/app/assets/node_modules/sortablejs/Sortable.js +1540 -0
  1303. data/app/assets/node_modules/sortablejs/Sortable.min.js +2 -0
  1304. data/app/assets/node_modules/sortablejs/package.json +48 -0
  1305. data/app/assets/node_modules/tether/CHANGELOG.md +13 -0
  1306. data/app/assets/node_modules/tether/CONTRIBUTING.md +59 -0
  1307. data/app/assets/node_modules/tether/LICENSE +8 -0
  1308. data/app/assets/node_modules/tether/README.md +116 -0
  1309. data/app/assets/node_modules/tether/bower.json +26 -0
  1310. data/app/assets/node_modules/tether/component.json +22 -0
  1311. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows-dark.css +150 -0
  1312. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows-dark.min.css +1 -0
  1313. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows.css +153 -0
  1314. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows.min.css +1 -0
  1315. data/app/assets/node_modules/tether/dist/css/tether-theme-basic.css +21 -0
  1316. data/app/assets/node_modules/tether/dist/css/tether-theme-basic.min.css +1 -0
  1317. data/app/assets/node_modules/tether/dist/css/tether.css +8 -0
  1318. data/app/assets/node_modules/tether/dist/css/tether.min.css +1 -0
  1319. data/app/assets/node_modules/tether/dist/js/tether.js +1813 -0
  1320. data/app/assets/node_modules/tether/dist/js/tether.min.js +1 -0
  1321. data/app/assets/node_modules/tether/docs/1-Overview/1-why_you_should_use_tether.md +43 -0
  1322. data/app/assets/node_modules/tether/docs/1-Overview/2-repositioning.md +46 -0
  1323. data/app/assets/node_modules/tether/docs/1-Overview/3-why_we_dont_support_IE_8.md +47 -0
  1324. data/app/assets/node_modules/tether/docs/2-Examples/1-list_of_examples.md +27 -0
  1325. data/app/assets/node_modules/tether/docs/2-Examples/2-projects_using_tether.md +45 -0
  1326. data/app/assets/node_modules/tether/docs/3-Advanced/1-embedding_tether.md +9 -0
  1327. data/app/assets/node_modules/tether/docs/3-Advanced/2-extending_tether.md +54 -0
  1328. data/app/assets/node_modules/tether/docs/coffee/intro.coffee +113 -0
  1329. data/app/assets/node_modules/tether/docs/css/intro.css +218 -0
  1330. data/app/assets/node_modules/tether/docs/intro.md +591 -0
  1331. data/app/assets/node_modules/tether/docs/js/intro.js +117 -0
  1332. data/app/assets/node_modules/tether/docs/js/markAttachment.js +51 -0
  1333. data/app/assets/node_modules/tether/docs/sass/intro.sass +233 -0
  1334. data/app/assets/node_modules/tether/docs/welcome/browser-demo.html +76 -0
  1335. data/app/assets/node_modules/tether/docs/welcome/coffee/welcome.coffee +212 -0
  1336. data/app/assets/node_modules/tether/docs/welcome/css/browser-demo.css +86 -0
  1337. data/app/assets/node_modules/tether/docs/welcome/css/prism.css +2 -0
  1338. data/app/assets/node_modules/tether/docs/welcome/css/welcome.css +247 -0
  1339. data/app/assets/node_modules/tether/docs/welcome/index.html +226 -0
  1340. data/app/assets/node_modules/tether/docs/welcome/js/drop.js +239 -0
  1341. data/app/assets/node_modules/tether/docs/welcome/js/jquery.js +9597 -0
  1342. data/app/assets/node_modules/tether/docs/welcome/js/log.js +134 -0
  1343. data/app/assets/node_modules/tether/docs/welcome/js/tether-v0.1.3.js +2 -0
  1344. data/app/assets/node_modules/tether/docs/welcome/js/welcome.js +193 -0
  1345. data/app/assets/node_modules/tether/docs/welcome/sass/_inline-block.sass +6 -0
  1346. data/app/assets/node_modules/tether/docs/welcome/sass/browser-demo.sass +93 -0
  1347. data/app/assets/node_modules/tether/docs/welcome/sass/welcome.sass +285 -0
  1348. data/app/assets/node_modules/tether/examples/chosen/chosen-sprite.png +0 -0
  1349. data/app/assets/node_modules/tether/examples/chosen/chosen-sprite@2x.png +0 -0
  1350. data/app/assets/node_modules/tether/examples/chosen/chosen.css +430 -0
  1351. data/app/assets/node_modules/tether/examples/chosen/chosen.js +1166 -0
  1352. data/app/assets/node_modules/tether/examples/chosen/index.html +110 -0
  1353. data/app/assets/node_modules/tether/examples/common/css/style.css +48 -0
  1354. data/app/assets/node_modules/tether/examples/content-visible/index.html +64 -0
  1355. data/app/assets/node_modules/tether/examples/dolls/dolls.css +18 -0
  1356. data/app/assets/node_modules/tether/examples/dolls/dolls.js +83 -0
  1357. data/app/assets/node_modules/tether/examples/dolls/index.html +7 -0
  1358. data/app/assets/node_modules/tether/examples/element-scroll/index.html +499 -0
  1359. data/app/assets/node_modules/tether/examples/enable-disable/index.html +37 -0
  1360. data/app/assets/node_modules/tether/examples/facebook/facebook.css +86 -0
  1361. data/app/assets/node_modules/tether/examples/facebook/index.html +209 -0
  1362. data/app/assets/node_modules/tether/examples/out-of-bounds/index.html +38 -0
  1363. data/app/assets/node_modules/tether/examples/pin/index.html +30 -0
  1364. data/app/assets/node_modules/tether/examples/resources/css/base.css +10 -0
  1365. data/app/assets/node_modules/tether/examples/resources/js/jquery.js +9597 -0
  1366. data/app/assets/node_modules/tether/examples/resources/js/log.js +134 -0
  1367. data/app/assets/node_modules/tether/examples/scroll/index.html +922 -0
  1368. data/app/assets/node_modules/tether/examples/simple/index.html +30 -0
  1369. data/app/assets/node_modules/tether/examples/testbed/index.html +36 -0
  1370. data/app/assets/node_modules/tether/examples/tooltip/index.html +86 -0
  1371. data/app/assets/node_modules/tether/examples/viewport/colors.css +145 -0
  1372. data/app/assets/node_modules/tether/examples/viewport/index.html +70 -0
  1373. data/app/assets/node_modules/tether/gulpfile.js +97 -0
  1374. data/app/assets/node_modules/tether/package.json +40 -0
  1375. data/app/assets/node_modules/tether/src/css/helpers/_tether-theme-arrows.sass +192 -0
  1376. data/app/assets/node_modules/tether/src/css/helpers/_tether-theme-basic.sass +14 -0
  1377. data/app/assets/node_modules/tether/src/css/helpers/_tether.sass +12 -0
  1378. data/app/assets/node_modules/tether/src/css/mixins/_inline-block.sass +6 -0
  1379. data/app/assets/node_modules/tether/src/css/mixins/_pie-clearfix.sass +7 -0
  1380. data/app/assets/node_modules/tether/src/css/tether-theme-arrows-dark.sass +12 -0
  1381. data/app/assets/node_modules/tether/src/css/tether-theme-arrows.sass +12 -0
  1382. data/app/assets/node_modules/tether/src/css/tether-theme-basic.sass +10 -0
  1383. data/app/assets/node_modules/tether/src/css/tether.sass +5 -0
  1384. data/app/assets/node_modules/tether/src/js/abutment.js +61 -0
  1385. data/app/assets/node_modules/tether/src/js/constraint.js +366 -0
  1386. data/app/assets/node_modules/tether/src/js/markAttachment.js +46 -0
  1387. data/app/assets/node_modules/tether/src/js/shift.js +32 -0
  1388. data/app/assets/node_modules/tether/src/js/tether.js +811 -0
  1389. data/app/assets/node_modules/tether/src/js/utils.js +370 -0
  1390. data/app/assets/node_modules/tinycolor2/Gruntfile.js +59 -0
  1391. data/app/assets/node_modules/tinycolor2/LICENSE +20 -0
  1392. data/app/assets/node_modules/tinycolor2/README.md +469 -0
  1393. data/app/assets/node_modules/tinycolor2/bower.json +9 -0
  1394. data/app/assets/node_modules/tinycolor2/demo/demo.css +23 -0
  1395. data/app/assets/node_modules/tinycolor2/demo/jquery-1.9.1.js +9597 -0
  1396. data/app/assets/node_modules/tinycolor2/dist/tinycolor-min.js +4 -0
  1397. data/app/assets/node_modules/tinycolor2/docs/docco.css +192 -0
  1398. data/app/assets/node_modules/tinycolor2/docs/tinycolor.html +1023 -0
  1399. data/app/assets/node_modules/tinycolor2/index.html +207 -0
  1400. data/app/assets/node_modules/tinycolor2/package.json +31 -0
  1401. data/app/assets/node_modules/tinycolor2/test/index.html +19 -0
  1402. data/app/assets/node_modules/tinycolor2/test/qunit.css +244 -0
  1403. data/app/assets/node_modules/tinycolor2/test/qunit.js +2152 -0
  1404. data/app/assets/node_modules/tinycolor2/test/test.js +791 -0
  1405. data/app/assets/node_modules/tinycolor2/tinycolor.js +1195 -0
  1406. data/app/assets/stylesheets/rails_modular_admin/application.scss +2 -3
  1407. data/app/assets/stylesheets/rails_modular_admin.scss +0 -1
  1408. data/config/initializers/assets.rb +4 -29
  1409. data/lib/rails_modular_admin/engine.rb +30 -2
  1410. data/lib/rails_modular_admin/version.rb +1 -1
  1411. metadata +1419 -8
  1412. data/app/controllers/rails_modular_admin/application_controller.rb +0 -5
  1413. data/app/helpers/rails_modular_admin/application_helper.rb +0 -4
  1414. data/app/jobs/rails_modular_admin/application_job.rb +0 -4
  1415. data/app/mailers/rails_modular_admin/application_mailer.rb +0 -6
  1416. data/app/models/rails_modular_admin/application_record.rb +0 -5
@@ -0,0 +1,1892 @@
1
+ /* @license
2
+ morris.js v0.5.0
3
+ Copyright 2014 Olly Smith All rights reserved.
4
+ Licensed under the BSD-2-Clause License.
5
+ */
6
+
7
+
8
+ (function() {
9
+ var $, Morris, minutesSpecHelper, secondsSpecHelper,
10
+ __slice = [].slice,
11
+ __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
12
+ __hasProp = {}.hasOwnProperty,
13
+ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
14
+ __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
15
+
16
+ Morris = window.Morris = {};
17
+
18
+ $ = jQuery;
19
+
20
+ Morris.EventEmitter = (function() {
21
+ function EventEmitter() {}
22
+
23
+ EventEmitter.prototype.on = function(name, handler) {
24
+ if (this.handlers == null) {
25
+ this.handlers = {};
26
+ }
27
+ if (this.handlers[name] == null) {
28
+ this.handlers[name] = [];
29
+ }
30
+ this.handlers[name].push(handler);
31
+ return this;
32
+ };
33
+
34
+ EventEmitter.prototype.fire = function() {
35
+ var args, handler, name, _i, _len, _ref, _results;
36
+ name = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
37
+ if ((this.handlers != null) && (this.handlers[name] != null)) {
38
+ _ref = this.handlers[name];
39
+ _results = [];
40
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
41
+ handler = _ref[_i];
42
+ _results.push(handler.apply(null, args));
43
+ }
44
+ return _results;
45
+ }
46
+ };
47
+
48
+ return EventEmitter;
49
+
50
+ })();
51
+
52
+ Morris.commas = function(num) {
53
+ var absnum, intnum, ret, strabsnum;
54
+ if (num != null) {
55
+ ret = num < 0 ? "-" : "";
56
+ absnum = Math.abs(num);
57
+ intnum = Math.floor(absnum).toFixed(0);
58
+ ret += intnum.replace(/(?=(?:\d{3})+$)(?!^)/g, ',');
59
+ strabsnum = absnum.toString();
60
+ if (strabsnum.length > intnum.length) {
61
+ ret += strabsnum.slice(intnum.length);
62
+ }
63
+ return ret;
64
+ } else {
65
+ return '-';
66
+ }
67
+ };
68
+
69
+ Morris.pad2 = function(number) {
70
+ return (number < 10 ? '0' : '') + number;
71
+ };
72
+
73
+ Morris.Grid = (function(_super) {
74
+ __extends(Grid, _super);
75
+
76
+ function Grid(options) {
77
+ this.resizeHandler = __bind(this.resizeHandler, this);
78
+ var _this = this;
79
+ if (typeof options.element === 'string') {
80
+ this.el = $(document.getElementById(options.element));
81
+ } else {
82
+ this.el = $(options.element);
83
+ }
84
+ if ((this.el == null) || this.el.length === 0) {
85
+ throw new Error("Graph container element not found");
86
+ }
87
+ if (this.el.css('position') === 'static') {
88
+ this.el.css('position', 'relative');
89
+ }
90
+ this.options = $.extend({}, this.gridDefaults, this.defaults || {}, options);
91
+ if (typeof this.options.units === 'string') {
92
+ this.options.postUnits = options.units;
93
+ }
94
+ this.raphael = new Raphael(this.el[0]);
95
+ this.elementWidth = null;
96
+ this.elementHeight = null;
97
+ this.dirty = false;
98
+ this.selectFrom = null;
99
+ if (this.init) {
100
+ this.init();
101
+ }
102
+ this.setData(this.options.data);
103
+ this.el.bind('mousemove', function(evt) {
104
+ var left, offset, right, width, x;
105
+ offset = _this.el.offset();
106
+ x = evt.pageX - offset.left;
107
+ if (_this.selectFrom) {
108
+ left = _this.data[_this.hitTest(Math.min(x, _this.selectFrom))]._x;
109
+ right = _this.data[_this.hitTest(Math.max(x, _this.selectFrom))]._x;
110
+ width = right - left;
111
+ return _this.selectionRect.attr({
112
+ x: left,
113
+ width: width
114
+ });
115
+ } else {
116
+ return _this.fire('hovermove', x, evt.pageY - offset.top);
117
+ }
118
+ });
119
+ this.el.bind('mouseleave', function(evt) {
120
+ if (_this.selectFrom) {
121
+ _this.selectionRect.hide();
122
+ _this.selectFrom = null;
123
+ }
124
+ return _this.fire('hoverout');
125
+ });
126
+ this.el.bind('touchstart touchmove touchend', function(evt) {
127
+ var offset, touch;
128
+ touch = evt.originalEvent.touches[0] || evt.originalEvent.changedTouches[0];
129
+ offset = _this.el.offset();
130
+ return _this.fire('hovermove', touch.pageX - offset.left, touch.pageY - offset.top);
131
+ });
132
+ this.el.bind('click', function(evt) {
133
+ var offset;
134
+ offset = _this.el.offset();
135
+ return _this.fire('gridclick', evt.pageX - offset.left, evt.pageY - offset.top);
136
+ });
137
+ if (this.options.rangeSelect) {
138
+ this.selectionRect = this.raphael.rect(0, 0, 0, this.el.innerHeight()).attr({
139
+ fill: this.options.rangeSelectColor,
140
+ stroke: false
141
+ }).toBack().hide();
142
+ this.el.bind('mousedown', function(evt) {
143
+ var offset;
144
+ offset = _this.el.offset();
145
+ return _this.startRange(evt.pageX - offset.left);
146
+ });
147
+ this.el.bind('mouseup', function(evt) {
148
+ var offset;
149
+ offset = _this.el.offset();
150
+ _this.endRange(evt.pageX - offset.left);
151
+ return _this.fire('hovermove', evt.pageX - offset.left, evt.pageY - offset.top);
152
+ });
153
+ }
154
+ if (this.options.resize) {
155
+ $(window).bind('resize', function(evt) {
156
+ if (_this.timeoutId != null) {
157
+ window.clearTimeout(_this.timeoutId);
158
+ }
159
+ return _this.timeoutId = window.setTimeout(_this.resizeHandler, 100);
160
+ });
161
+ }
162
+ this.el.css('-webkit-tap-highlight-color', 'rgba(0,0,0,0)');
163
+ if (this.postInit) {
164
+ this.postInit();
165
+ }
166
+ }
167
+
168
+ Grid.prototype.gridDefaults = {
169
+ dateFormat: null,
170
+ axes: true,
171
+ grid: true,
172
+ gridLineColor: '#aaa',
173
+ gridStrokeWidth: 0.5,
174
+ gridTextColor: '#888',
175
+ gridTextSize: 12,
176
+ gridTextFamily: 'sans-serif',
177
+ gridTextWeight: 'normal',
178
+ hideHover: false,
179
+ yLabelFormat: null,
180
+ xLabelAngle: 0,
181
+ numLines: 5,
182
+ padding: 25,
183
+ parseTime: true,
184
+ postUnits: '',
185
+ preUnits: '',
186
+ ymax: 'auto',
187
+ ymin: 'auto 0',
188
+ goals: [],
189
+ goalStrokeWidth: 1.0,
190
+ goalLineColors: ['#666633', '#999966', '#cc6666', '#663333'],
191
+ events: [],
192
+ eventStrokeWidth: 1.0,
193
+ eventLineColors: ['#005a04', '#ccffbb', '#3a5f0b', '#005502'],
194
+ rangeSelect: null,
195
+ rangeSelectColor: '#eef',
196
+ resize: false
197
+ };
198
+
199
+ Grid.prototype.setData = function(data, redraw) {
200
+ var e, idx, index, maxGoal, minGoal, ret, row, step, total, y, ykey, ymax, ymin, yval, _ref;
201
+ if (redraw == null) {
202
+ redraw = true;
203
+ }
204
+ this.options.data = data;
205
+ if ((data == null) || data.length === 0) {
206
+ this.data = [];
207
+ this.raphael.clear();
208
+ if (this.hover != null) {
209
+ this.hover.hide();
210
+ }
211
+ return;
212
+ }
213
+ ymax = this.cumulative ? 0 : null;
214
+ ymin = this.cumulative ? 0 : null;
215
+ if (this.options.goals.length > 0) {
216
+ minGoal = Math.min.apply(Math, this.options.goals);
217
+ maxGoal = Math.max.apply(Math, this.options.goals);
218
+ ymin = ymin != null ? Math.min(ymin, minGoal) : minGoal;
219
+ ymax = ymax != null ? Math.max(ymax, maxGoal) : maxGoal;
220
+ }
221
+ this.data = (function() {
222
+ var _i, _len, _results;
223
+ _results = [];
224
+ for (index = _i = 0, _len = data.length; _i < _len; index = ++_i) {
225
+ row = data[index];
226
+ ret = {
227
+ src: row
228
+ };
229
+ ret.label = row[this.options.xkey];
230
+ if (this.options.parseTime) {
231
+ ret.x = Morris.parseDate(ret.label);
232
+ if (this.options.dateFormat) {
233
+ ret.label = this.options.dateFormat(ret.x);
234
+ } else if (typeof ret.label === 'number') {
235
+ ret.label = new Date(ret.label).toString();
236
+ }
237
+ } else {
238
+ ret.x = index;
239
+ if (this.options.xLabelFormat) {
240
+ ret.label = this.options.xLabelFormat(ret);
241
+ }
242
+ }
243
+ total = 0;
244
+ ret.y = (function() {
245
+ var _j, _len1, _ref, _results1;
246
+ _ref = this.options.ykeys;
247
+ _results1 = [];
248
+ for (idx = _j = 0, _len1 = _ref.length; _j < _len1; idx = ++_j) {
249
+ ykey = _ref[idx];
250
+ yval = row[ykey];
251
+ if (typeof yval === 'string') {
252
+ yval = parseFloat(yval);
253
+ }
254
+ if ((yval != null) && typeof yval !== 'number') {
255
+ yval = null;
256
+ }
257
+ if (yval != null) {
258
+ if (this.cumulative) {
259
+ total += yval;
260
+ } else {
261
+ if (ymax != null) {
262
+ ymax = Math.max(yval, ymax);
263
+ ymin = Math.min(yval, ymin);
264
+ } else {
265
+ ymax = ymin = yval;
266
+ }
267
+ }
268
+ }
269
+ if (this.cumulative && (total != null)) {
270
+ ymax = Math.max(total, ymax);
271
+ ymin = Math.min(total, ymin);
272
+ }
273
+ _results1.push(yval);
274
+ }
275
+ return _results1;
276
+ }).call(this);
277
+ _results.push(ret);
278
+ }
279
+ return _results;
280
+ }).call(this);
281
+ if (this.options.parseTime) {
282
+ this.data = this.data.sort(function(a, b) {
283
+ return (a.x > b.x) - (b.x > a.x);
284
+ });
285
+ }
286
+ this.xmin = this.data[0].x;
287
+ this.xmax = this.data[this.data.length - 1].x;
288
+ this.events = [];
289
+ if (this.options.events.length > 0) {
290
+ if (this.options.parseTime) {
291
+ this.events = (function() {
292
+ var _i, _len, _ref, _results;
293
+ _ref = this.options.events;
294
+ _results = [];
295
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
296
+ e = _ref[_i];
297
+ _results.push(Morris.parseDate(e));
298
+ }
299
+ return _results;
300
+ }).call(this);
301
+ } else {
302
+ this.events = this.options.events;
303
+ }
304
+ this.xmax = Math.max(this.xmax, Math.max.apply(Math, this.events));
305
+ this.xmin = Math.min(this.xmin, Math.min.apply(Math, this.events));
306
+ }
307
+ if (this.xmin === this.xmax) {
308
+ this.xmin -= 1;
309
+ this.xmax += 1;
310
+ }
311
+ this.ymin = this.yboundary('min', ymin);
312
+ this.ymax = this.yboundary('max', ymax);
313
+ if (this.ymin === this.ymax) {
314
+ if (ymin) {
315
+ this.ymin -= 1;
316
+ }
317
+ this.ymax += 1;
318
+ }
319
+ if (((_ref = this.options.axes) === true || _ref === 'both' || _ref === 'y') || this.options.grid === true) {
320
+ if (this.options.ymax === this.gridDefaults.ymax && this.options.ymin === this.gridDefaults.ymin) {
321
+ this.grid = this.autoGridLines(this.ymin, this.ymax, this.options.numLines);
322
+ this.ymin = Math.min(this.ymin, this.grid[0]);
323
+ this.ymax = Math.max(this.ymax, this.grid[this.grid.length - 1]);
324
+ } else {
325
+ step = (this.ymax - this.ymin) / (this.options.numLines - 1);
326
+ this.grid = (function() {
327
+ var _i, _ref1, _ref2, _results;
328
+ _results = [];
329
+ for (y = _i = _ref1 = this.ymin, _ref2 = this.ymax; step > 0 ? _i <= _ref2 : _i >= _ref2; y = _i += step) {
330
+ _results.push(y);
331
+ }
332
+ return _results;
333
+ }).call(this);
334
+ }
335
+ }
336
+ this.dirty = true;
337
+ if (redraw) {
338
+ return this.redraw();
339
+ }
340
+ };
341
+
342
+ Grid.prototype.yboundary = function(boundaryType, currentValue) {
343
+ var boundaryOption, suggestedValue;
344
+ boundaryOption = this.options["y" + boundaryType];
345
+ if (typeof boundaryOption === 'string') {
346
+ if (boundaryOption.slice(0, 4) === 'auto') {
347
+ if (boundaryOption.length > 5) {
348
+ suggestedValue = parseInt(boundaryOption.slice(5), 10);
349
+ if (currentValue == null) {
350
+ return suggestedValue;
351
+ }
352
+ return Math[boundaryType](currentValue, suggestedValue);
353
+ } else {
354
+ if (currentValue != null) {
355
+ return currentValue;
356
+ } else {
357
+ return 0;
358
+ }
359
+ }
360
+ } else {
361
+ return parseInt(boundaryOption, 10);
362
+ }
363
+ } else {
364
+ return boundaryOption;
365
+ }
366
+ };
367
+
368
+ Grid.prototype.autoGridLines = function(ymin, ymax, nlines) {
369
+ var gmax, gmin, grid, smag, span, step, unit, y, ymag;
370
+ span = ymax - ymin;
371
+ ymag = Math.floor(Math.log(span) / Math.log(10));
372
+ unit = Math.pow(10, ymag);
373
+ gmin = Math.floor(ymin / unit) * unit;
374
+ gmax = Math.ceil(ymax / unit) * unit;
375
+ step = (gmax - gmin) / (nlines - 1);
376
+ if (unit === 1 && step > 1 && Math.ceil(step) !== step) {
377
+ step = Math.ceil(step);
378
+ gmax = gmin + step * (nlines - 1);
379
+ }
380
+ if (gmin < 0 && gmax > 0) {
381
+ gmin = Math.floor(ymin / step) * step;
382
+ gmax = Math.ceil(ymax / step) * step;
383
+ }
384
+ if (step < 1) {
385
+ smag = Math.floor(Math.log(step) / Math.log(10));
386
+ grid = (function() {
387
+ var _i, _results;
388
+ _results = [];
389
+ for (y = _i = gmin; step > 0 ? _i <= gmax : _i >= gmax; y = _i += step) {
390
+ _results.push(parseFloat(y.toFixed(1 - smag)));
391
+ }
392
+ return _results;
393
+ })();
394
+ } else {
395
+ grid = (function() {
396
+ var _i, _results;
397
+ _results = [];
398
+ for (y = _i = gmin; step > 0 ? _i <= gmax : _i >= gmax; y = _i += step) {
399
+ _results.push(y);
400
+ }
401
+ return _results;
402
+ })();
403
+ }
404
+ return grid;
405
+ };
406
+
407
+ Grid.prototype._calc = function() {
408
+ var bottomOffsets, gridLine, h, i, w, yLabelWidths, _ref, _ref1;
409
+ w = this.el.width();
410
+ h = this.el.height();
411
+ if (this.elementWidth !== w || this.elementHeight !== h || this.dirty) {
412
+ this.elementWidth = w;
413
+ this.elementHeight = h;
414
+ this.dirty = false;
415
+ this.left = this.options.padding;
416
+ this.right = this.elementWidth - this.options.padding;
417
+ this.top = this.options.padding;
418
+ this.bottom = this.elementHeight - this.options.padding;
419
+ if ((_ref = this.options.axes) === true || _ref === 'both' || _ref === 'y') {
420
+ yLabelWidths = (function() {
421
+ var _i, _len, _ref1, _results;
422
+ _ref1 = this.grid;
423
+ _results = [];
424
+ for (_i = 0, _len = _ref1.length; _i < _len; _i++) {
425
+ gridLine = _ref1[_i];
426
+ _results.push(this.measureText(this.yAxisFormat(gridLine)).width);
427
+ }
428
+ return _results;
429
+ }).call(this);
430
+ this.left += Math.max.apply(Math, yLabelWidths);
431
+ }
432
+ if ((_ref1 = this.options.axes) === true || _ref1 === 'both' || _ref1 === 'x') {
433
+ bottomOffsets = (function() {
434
+ var _i, _ref2, _results;
435
+ _results = [];
436
+ for (i = _i = 0, _ref2 = this.data.length; 0 <= _ref2 ? _i < _ref2 : _i > _ref2; i = 0 <= _ref2 ? ++_i : --_i) {
437
+ _results.push(this.measureText(this.data[i].text, -this.options.xLabelAngle).height);
438
+ }
439
+ return _results;
440
+ }).call(this);
441
+ this.bottom -= Math.max.apply(Math, bottomOffsets);
442
+ }
443
+ this.width = Math.max(1, this.right - this.left);
444
+ this.height = Math.max(1, this.bottom - this.top);
445
+ this.dx = this.width / (this.xmax - this.xmin);
446
+ this.dy = this.height / (this.ymax - this.ymin);
447
+ if (this.calc) {
448
+ return this.calc();
449
+ }
450
+ }
451
+ };
452
+
453
+ Grid.prototype.transY = function(y) {
454
+ return this.bottom - (y - this.ymin) * this.dy;
455
+ };
456
+
457
+ Grid.prototype.transX = function(x) {
458
+ if (this.data.length === 1) {
459
+ return (this.left + this.right) / 2;
460
+ } else {
461
+ return this.left + (x - this.xmin) * this.dx;
462
+ }
463
+ };
464
+
465
+ Grid.prototype.redraw = function() {
466
+ this.raphael.clear();
467
+ this._calc();
468
+ this.drawGrid();
469
+ this.drawGoals();
470
+ this.drawEvents();
471
+ if (this.draw) {
472
+ return this.draw();
473
+ }
474
+ };
475
+
476
+ Grid.prototype.measureText = function(text, angle) {
477
+ var ret, tt;
478
+ if (angle == null) {
479
+ angle = 0;
480
+ }
481
+ tt = this.raphael.text(100, 100, text).attr('font-size', this.options.gridTextSize).attr('font-family', this.options.gridTextFamily).attr('font-weight', this.options.gridTextWeight).rotate(angle);
482
+ ret = tt.getBBox();
483
+ tt.remove();
484
+ return ret;
485
+ };
486
+
487
+ Grid.prototype.yAxisFormat = function(label) {
488
+ return this.yLabelFormat(label);
489
+ };
490
+
491
+ Grid.prototype.yLabelFormat = function(label) {
492
+ if (typeof this.options.yLabelFormat === 'function') {
493
+ return this.options.yLabelFormat(label);
494
+ } else {
495
+ return "" + this.options.preUnits + (Morris.commas(label)) + this.options.postUnits;
496
+ }
497
+ };
498
+
499
+ Grid.prototype.drawGrid = function() {
500
+ var lineY, y, _i, _len, _ref, _ref1, _ref2, _results;
501
+ if (this.options.grid === false && ((_ref = this.options.axes) !== true && _ref !== 'both' && _ref !== 'y')) {
502
+ return;
503
+ }
504
+ _ref1 = this.grid;
505
+ _results = [];
506
+ for (_i = 0, _len = _ref1.length; _i < _len; _i++) {
507
+ lineY = _ref1[_i];
508
+ y = this.transY(lineY);
509
+ if ((_ref2 = this.options.axes) === true || _ref2 === 'both' || _ref2 === 'y') {
510
+ this.drawYAxisLabel(this.left - this.options.padding / 2, y, this.yAxisFormat(lineY));
511
+ }
512
+ if (this.options.grid) {
513
+ _results.push(this.drawGridLine("M" + this.left + "," + y + "H" + (this.left + this.width)));
514
+ } else {
515
+ _results.push(void 0);
516
+ }
517
+ }
518
+ return _results;
519
+ };
520
+
521
+ Grid.prototype.drawGoals = function() {
522
+ var color, goal, i, _i, _len, _ref, _results;
523
+ _ref = this.options.goals;
524
+ _results = [];
525
+ for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) {
526
+ goal = _ref[i];
527
+ color = this.options.goalLineColors[i % this.options.goalLineColors.length];
528
+ _results.push(this.drawGoal(goal, color));
529
+ }
530
+ return _results;
531
+ };
532
+
533
+ Grid.prototype.drawEvents = function() {
534
+ var color, event, i, _i, _len, _ref, _results;
535
+ _ref = this.events;
536
+ _results = [];
537
+ for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) {
538
+ event = _ref[i];
539
+ color = this.options.eventLineColors[i % this.options.eventLineColors.length];
540
+ _results.push(this.drawEvent(event, color));
541
+ }
542
+ return _results;
543
+ };
544
+
545
+ Grid.prototype.drawGoal = function(goal, color) {
546
+ return this.raphael.path("M" + this.left + "," + (this.transY(goal)) + "H" + this.right).attr('stroke', color).attr('stroke-width', this.options.goalStrokeWidth);
547
+ };
548
+
549
+ Grid.prototype.drawEvent = function(event, color) {
550
+ return this.raphael.path("M" + (this.transX(event)) + "," + this.bottom + "V" + this.top).attr('stroke', color).attr('stroke-width', this.options.eventStrokeWidth);
551
+ };
552
+
553
+ Grid.prototype.drawYAxisLabel = function(xPos, yPos, text) {
554
+ return this.raphael.text(xPos, yPos, text).attr('font-size', this.options.gridTextSize).attr('font-family', this.options.gridTextFamily).attr('font-weight', this.options.gridTextWeight).attr('fill', this.options.gridTextColor).attr('text-anchor', 'end');
555
+ };
556
+
557
+ Grid.prototype.drawGridLine = function(path) {
558
+ return this.raphael.path(path).attr('stroke', this.options.gridLineColor).attr('stroke-width', this.options.gridStrokeWidth);
559
+ };
560
+
561
+ Grid.prototype.startRange = function(x) {
562
+ this.hover.hide();
563
+ this.selectFrom = x;
564
+ return this.selectionRect.attr({
565
+ x: x,
566
+ width: 0
567
+ }).show();
568
+ };
569
+
570
+ Grid.prototype.endRange = function(x) {
571
+ var end, start;
572
+ if (this.selectFrom) {
573
+ start = Math.min(this.selectFrom, x);
574
+ end = Math.max(this.selectFrom, x);
575
+ this.options.rangeSelect.call(this.el, {
576
+ start: this.data[this.hitTest(start)].x,
577
+ end: this.data[this.hitTest(end)].x
578
+ });
579
+ return this.selectFrom = null;
580
+ }
581
+ };
582
+
583
+ Grid.prototype.resizeHandler = function() {
584
+ this.timeoutId = null;
585
+ this.raphael.setSize(this.el.width(), this.el.height());
586
+ return this.redraw();
587
+ };
588
+
589
+ return Grid;
590
+
591
+ })(Morris.EventEmitter);
592
+
593
+ Morris.parseDate = function(date) {
594
+ var isecs, m, msecs, n, o, offsetmins, p, q, r, ret, secs;
595
+ if (typeof date === 'number') {
596
+ return date;
597
+ }
598
+ m = date.match(/^(\d+) Q(\d)$/);
599
+ n = date.match(/^(\d+)-(\d+)$/);
600
+ o = date.match(/^(\d+)-(\d+)-(\d+)$/);
601
+ p = date.match(/^(\d+) W(\d+)$/);
602
+ q = date.match(/^(\d+)-(\d+)-(\d+)[ T](\d+):(\d+)(Z|([+-])(\d\d):?(\d\d))?$/);
603
+ r = date.match(/^(\d+)-(\d+)-(\d+)[ T](\d+):(\d+):(\d+(\.\d+)?)(Z|([+-])(\d\d):?(\d\d))?$/);
604
+ if (m) {
605
+ return new Date(parseInt(m[1], 10), parseInt(m[2], 10) * 3 - 1, 1).getTime();
606
+ } else if (n) {
607
+ return new Date(parseInt(n[1], 10), parseInt(n[2], 10) - 1, 1).getTime();
608
+ } else if (o) {
609
+ return new Date(parseInt(o[1], 10), parseInt(o[2], 10) - 1, parseInt(o[3], 10)).getTime();
610
+ } else if (p) {
611
+ ret = new Date(parseInt(p[1], 10), 0, 1);
612
+ if (ret.getDay() !== 4) {
613
+ ret.setMonth(0, 1 + ((4 - ret.getDay()) + 7) % 7);
614
+ }
615
+ return ret.getTime() + parseInt(p[2], 10) * 604800000;
616
+ } else if (q) {
617
+ if (!q[6]) {
618
+ return new Date(parseInt(q[1], 10), parseInt(q[2], 10) - 1, parseInt(q[3], 10), parseInt(q[4], 10), parseInt(q[5], 10)).getTime();
619
+ } else {
620
+ offsetmins = 0;
621
+ if (q[6] !== 'Z') {
622
+ offsetmins = parseInt(q[8], 10) * 60 + parseInt(q[9], 10);
623
+ if (q[7] === '+') {
624
+ offsetmins = 0 - offsetmins;
625
+ }
626
+ }
627
+ return Date.UTC(parseInt(q[1], 10), parseInt(q[2], 10) - 1, parseInt(q[3], 10), parseInt(q[4], 10), parseInt(q[5], 10) + offsetmins);
628
+ }
629
+ } else if (r) {
630
+ secs = parseFloat(r[6]);
631
+ isecs = Math.floor(secs);
632
+ msecs = Math.round((secs - isecs) * 1000);
633
+ if (!r[8]) {
634
+ return new Date(parseInt(r[1], 10), parseInt(r[2], 10) - 1, parseInt(r[3], 10), parseInt(r[4], 10), parseInt(r[5], 10), isecs, msecs).getTime();
635
+ } else {
636
+ offsetmins = 0;
637
+ if (r[8] !== 'Z') {
638
+ offsetmins = parseInt(r[10], 10) * 60 + parseInt(r[11], 10);
639
+ if (r[9] === '+') {
640
+ offsetmins = 0 - offsetmins;
641
+ }
642
+ }
643
+ return Date.UTC(parseInt(r[1], 10), parseInt(r[2], 10) - 1, parseInt(r[3], 10), parseInt(r[4], 10), parseInt(r[5], 10) + offsetmins, isecs, msecs);
644
+ }
645
+ } else {
646
+ return new Date(parseInt(date, 10), 0, 1).getTime();
647
+ }
648
+ };
649
+
650
+ Morris.Hover = (function() {
651
+ Hover.defaults = {
652
+ "class": 'morris-hover morris-default-style'
653
+ };
654
+
655
+ function Hover(options) {
656
+ if (options == null) {
657
+ options = {};
658
+ }
659
+ this.options = $.extend({}, Morris.Hover.defaults, options);
660
+ this.el = $("<div class='" + this.options["class"] + "'></div>");
661
+ this.el.hide();
662
+ this.options.parent.append(this.el);
663
+ }
664
+
665
+ Hover.prototype.update = function(html, x, y) {
666
+ if (!html) {
667
+ return this.hide();
668
+ } else {
669
+ this.html(html);
670
+ this.show();
671
+ return this.moveTo(x, y);
672
+ }
673
+ };
674
+
675
+ Hover.prototype.html = function(content) {
676
+ return this.el.html(content);
677
+ };
678
+
679
+ Hover.prototype.moveTo = function(x, y) {
680
+ var hoverHeight, hoverWidth, left, parentHeight, parentWidth, top;
681
+ parentWidth = this.options.parent.innerWidth();
682
+ parentHeight = this.options.parent.innerHeight();
683
+ hoverWidth = this.el.outerWidth();
684
+ hoverHeight = this.el.outerHeight();
685
+ left = Math.min(Math.max(0, x - hoverWidth / 2), parentWidth - hoverWidth);
686
+ if (y != null) {
687
+ top = y - hoverHeight - 10;
688
+ if (top < 0) {
689
+ top = y + 10;
690
+ if (top + hoverHeight > parentHeight) {
691
+ top = parentHeight / 2 - hoverHeight / 2;
692
+ }
693
+ }
694
+ } else {
695
+ top = parentHeight / 2 - hoverHeight / 2;
696
+ }
697
+ return this.el.css({
698
+ left: left + "px",
699
+ top: parseInt(top) + "px"
700
+ });
701
+ };
702
+
703
+ Hover.prototype.show = function() {
704
+ return this.el.show();
705
+ };
706
+
707
+ Hover.prototype.hide = function() {
708
+ return this.el.hide();
709
+ };
710
+
711
+ return Hover;
712
+
713
+ })();
714
+
715
+ Morris.Line = (function(_super) {
716
+ __extends(Line, _super);
717
+
718
+ function Line(options) {
719
+ this.hilight = __bind(this.hilight, this);
720
+ this.onHoverOut = __bind(this.onHoverOut, this);
721
+ this.onHoverMove = __bind(this.onHoverMove, this);
722
+ this.onGridClick = __bind(this.onGridClick, this);
723
+ if (!(this instanceof Morris.Line)) {
724
+ return new Morris.Line(options);
725
+ }
726
+ Line.__super__.constructor.call(this, options);
727
+ }
728
+
729
+ Line.prototype.init = function() {
730
+ if (this.options.hideHover !== 'always') {
731
+ this.hover = new Morris.Hover({
732
+ parent: this.el
733
+ });
734
+ this.on('hovermove', this.onHoverMove);
735
+ this.on('hoverout', this.onHoverOut);
736
+ return this.on('gridclick', this.onGridClick);
737
+ }
738
+ };
739
+
740
+ Line.prototype.defaults = {
741
+ lineWidth: 3,
742
+ pointSize: 4,
743
+ lineColors: ['#0b62a4', '#7A92A3', '#4da74d', '#afd8f8', '#edc240', '#cb4b4b', '#9440ed'],
744
+ pointStrokeWidths: [1],
745
+ pointStrokeColors: ['#ffffff'],
746
+ pointFillColors: [],
747
+ smooth: true,
748
+ xLabels: 'auto',
749
+ xLabelFormat: null,
750
+ xLabelMargin: 24,
751
+ hideHover: false
752
+ };
753
+
754
+ Line.prototype.calc = function() {
755
+ this.calcPoints();
756
+ return this.generatePaths();
757
+ };
758
+
759
+ Line.prototype.calcPoints = function() {
760
+ var row, y, _i, _len, _ref, _results;
761
+ _ref = this.data;
762
+ _results = [];
763
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
764
+ row = _ref[_i];
765
+ row._x = this.transX(row.x);
766
+ row._y = (function() {
767
+ var _j, _len1, _ref1, _results1;
768
+ _ref1 = row.y;
769
+ _results1 = [];
770
+ for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
771
+ y = _ref1[_j];
772
+ if (y != null) {
773
+ _results1.push(this.transY(y));
774
+ } else {
775
+ _results1.push(y);
776
+ }
777
+ }
778
+ return _results1;
779
+ }).call(this);
780
+ _results.push(row._ymax = Math.min.apply(Math, [this.bottom].concat((function() {
781
+ var _j, _len1, _ref1, _results1;
782
+ _ref1 = row._y;
783
+ _results1 = [];
784
+ for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
785
+ y = _ref1[_j];
786
+ if (y != null) {
787
+ _results1.push(y);
788
+ }
789
+ }
790
+ return _results1;
791
+ })())));
792
+ }
793
+ return _results;
794
+ };
795
+
796
+ Line.prototype.hitTest = function(x) {
797
+ var index, r, _i, _len, _ref;
798
+ if (this.data.length === 0) {
799
+ return null;
800
+ }
801
+ _ref = this.data.slice(1);
802
+ for (index = _i = 0, _len = _ref.length; _i < _len; index = ++_i) {
803
+ r = _ref[index];
804
+ if (x < (r._x + this.data[index]._x) / 2) {
805
+ break;
806
+ }
807
+ }
808
+ return index;
809
+ };
810
+
811
+ Line.prototype.onGridClick = function(x, y) {
812
+ var index;
813
+ index = this.hitTest(x);
814
+ return this.fire('click', index, this.data[index].src, x, y);
815
+ };
816
+
817
+ Line.prototype.onHoverMove = function(x, y) {
818
+ var index;
819
+ index = this.hitTest(x);
820
+ return this.displayHoverForRow(index);
821
+ };
822
+
823
+ Line.prototype.onHoverOut = function() {
824
+ if (this.options.hideHover !== false) {
825
+ return this.displayHoverForRow(null);
826
+ }
827
+ };
828
+
829
+ Line.prototype.displayHoverForRow = function(index) {
830
+ var _ref;
831
+ if (index != null) {
832
+ (_ref = this.hover).update.apply(_ref, this.hoverContentForRow(index));
833
+ return this.hilight(index);
834
+ } else {
835
+ this.hover.hide();
836
+ return this.hilight();
837
+ }
838
+ };
839
+
840
+ Line.prototype.hoverContentForRow = function(index) {
841
+ var content, j, row, y, _i, _len, _ref;
842
+ row = this.data[index];
843
+ content = "<div class='morris-hover-row-label'>" + row.label + "</div>";
844
+ _ref = row.y;
845
+ for (j = _i = 0, _len = _ref.length; _i < _len; j = ++_i) {
846
+ y = _ref[j];
847
+ content += "<div class='morris-hover-point' style='color: " + (this.colorFor(row, j, 'label')) + "'>\n " + this.options.labels[j] + ":\n " + (this.yLabelFormat(y)) + "\n</div>";
848
+ }
849
+ if (typeof this.options.hoverCallback === 'function') {
850
+ content = this.options.hoverCallback(index, this.options, content, row.src);
851
+ }
852
+ return [content, row._x, row._ymax];
853
+ };
854
+
855
+ Line.prototype.generatePaths = function() {
856
+ var coords, i, r, smooth;
857
+ return this.paths = (function() {
858
+ var _i, _ref, _ref1, _results;
859
+ _results = [];
860
+ for (i = _i = 0, _ref = this.options.ykeys.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
861
+ smooth = typeof this.options.smooth === "boolean" ? this.options.smooth : (_ref1 = this.options.ykeys[i], __indexOf.call(this.options.smooth, _ref1) >= 0);
862
+ coords = (function() {
863
+ var _j, _len, _ref2, _results1;
864
+ _ref2 = this.data;
865
+ _results1 = [];
866
+ for (_j = 0, _len = _ref2.length; _j < _len; _j++) {
867
+ r = _ref2[_j];
868
+ if (r._y[i] !== void 0) {
869
+ _results1.push({
870
+ x: r._x,
871
+ y: r._y[i]
872
+ });
873
+ }
874
+ }
875
+ return _results1;
876
+ }).call(this);
877
+ if (coords.length > 1) {
878
+ _results.push(Morris.Line.createPath(coords, smooth, this.bottom));
879
+ } else {
880
+ _results.push(null);
881
+ }
882
+ }
883
+ return _results;
884
+ }).call(this);
885
+ };
886
+
887
+ Line.prototype.draw = function() {
888
+ var _ref;
889
+ if ((_ref = this.options.axes) === true || _ref === 'both' || _ref === 'x') {
890
+ this.drawXAxis();
891
+ }
892
+ this.drawSeries();
893
+ if (this.options.hideHover === false) {
894
+ return this.displayHoverForRow(this.data.length - 1);
895
+ }
896
+ };
897
+
898
+ Line.prototype.drawXAxis = function() {
899
+ var drawLabel, l, labels, prevAngleMargin, prevLabelMargin, row, ypos, _i, _len, _results,
900
+ _this = this;
901
+ ypos = this.bottom + this.options.padding / 2;
902
+ prevLabelMargin = null;
903
+ prevAngleMargin = null;
904
+ drawLabel = function(labelText, xpos) {
905
+ var label, labelBox, margin, offset, textBox;
906
+ label = _this.drawXAxisLabel(_this.transX(xpos), ypos, labelText);
907
+ textBox = label.getBBox();
908
+ label.transform("r" + (-_this.options.xLabelAngle));
909
+ labelBox = label.getBBox();
910
+ label.transform("t0," + (labelBox.height / 2) + "...");
911
+ if (_this.options.xLabelAngle !== 0) {
912
+ offset = -0.5 * textBox.width * Math.cos(_this.options.xLabelAngle * Math.PI / 180.0);
913
+ label.transform("t" + offset + ",0...");
914
+ }
915
+ labelBox = label.getBBox();
916
+ if (((prevLabelMargin == null) || prevLabelMargin >= labelBox.x + labelBox.width || (prevAngleMargin != null) && prevAngleMargin >= labelBox.x) && labelBox.x >= 0 && (labelBox.x + labelBox.width) < _this.el.width()) {
917
+ if (_this.options.xLabelAngle !== 0) {
918
+ margin = 1.25 * _this.options.gridTextSize / Math.sin(_this.options.xLabelAngle * Math.PI / 180.0);
919
+ prevAngleMargin = labelBox.x - margin;
920
+ }
921
+ return prevLabelMargin = labelBox.x - _this.options.xLabelMargin;
922
+ } else {
923
+ return label.remove();
924
+ }
925
+ };
926
+ if (this.options.parseTime) {
927
+ if (this.data.length === 1 && this.options.xLabels === 'auto') {
928
+ labels = [[this.data[0].label, this.data[0].x]];
929
+ } else {
930
+ labels = Morris.labelSeries(this.xmin, this.xmax, this.width, this.options.xLabels, this.options.xLabelFormat);
931
+ }
932
+ } else {
933
+ labels = (function() {
934
+ var _i, _len, _ref, _results;
935
+ _ref = this.data;
936
+ _results = [];
937
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
938
+ row = _ref[_i];
939
+ _results.push([row.label, row.x]);
940
+ }
941
+ return _results;
942
+ }).call(this);
943
+ }
944
+ labels.reverse();
945
+ _results = [];
946
+ for (_i = 0, _len = labels.length; _i < _len; _i++) {
947
+ l = labels[_i];
948
+ _results.push(drawLabel(l[0], l[1]));
949
+ }
950
+ return _results;
951
+ };
952
+
953
+ Line.prototype.drawSeries = function() {
954
+ var i, _i, _j, _ref, _ref1, _results;
955
+ this.seriesPoints = [];
956
+ for (i = _i = _ref = this.options.ykeys.length - 1; _ref <= 0 ? _i <= 0 : _i >= 0; i = _ref <= 0 ? ++_i : --_i) {
957
+ this._drawLineFor(i);
958
+ }
959
+ _results = [];
960
+ for (i = _j = _ref1 = this.options.ykeys.length - 1; _ref1 <= 0 ? _j <= 0 : _j >= 0; i = _ref1 <= 0 ? ++_j : --_j) {
961
+ _results.push(this._drawPointFor(i));
962
+ }
963
+ return _results;
964
+ };
965
+
966
+ Line.prototype._drawPointFor = function(index) {
967
+ var circle, row, _i, _len, _ref, _results;
968
+ this.seriesPoints[index] = [];
969
+ _ref = this.data;
970
+ _results = [];
971
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
972
+ row = _ref[_i];
973
+ circle = null;
974
+ if (row._y[index] != null) {
975
+ circle = this.drawLinePoint(row._x, row._y[index], this.colorFor(row, index, 'point'), index);
976
+ }
977
+ _results.push(this.seriesPoints[index].push(circle));
978
+ }
979
+ return _results;
980
+ };
981
+
982
+ Line.prototype._drawLineFor = function(index) {
983
+ var path;
984
+ path = this.paths[index];
985
+ if (path !== null) {
986
+ return this.drawLinePath(path, this.colorFor(null, index, 'line'), index);
987
+ }
988
+ };
989
+
990
+ Line.createPath = function(coords, smooth, bottom) {
991
+ var coord, g, grads, i, ix, lg, path, prevCoord, x1, x2, y1, y2, _i, _len;
992
+ path = "";
993
+ if (smooth) {
994
+ grads = Morris.Line.gradients(coords);
995
+ }
996
+ prevCoord = {
997
+ y: null
998
+ };
999
+ for (i = _i = 0, _len = coords.length; _i < _len; i = ++_i) {
1000
+ coord = coords[i];
1001
+ if (coord.y != null) {
1002
+ if (prevCoord.y != null) {
1003
+ if (smooth) {
1004
+ g = grads[i];
1005
+ lg = grads[i - 1];
1006
+ ix = (coord.x - prevCoord.x) / 4;
1007
+ x1 = prevCoord.x + ix;
1008
+ y1 = Math.min(bottom, prevCoord.y + ix * lg);
1009
+ x2 = coord.x - ix;
1010
+ y2 = Math.min(bottom, coord.y - ix * g);
1011
+ path += "C" + x1 + "," + y1 + "," + x2 + "," + y2 + "," + coord.x + "," + coord.y;
1012
+ } else {
1013
+ path += "L" + coord.x + "," + coord.y;
1014
+ }
1015
+ } else {
1016
+ if (!smooth || (grads[i] != null)) {
1017
+ path += "M" + coord.x + "," + coord.y;
1018
+ }
1019
+ }
1020
+ }
1021
+ prevCoord = coord;
1022
+ }
1023
+ return path;
1024
+ };
1025
+
1026
+ Line.gradients = function(coords) {
1027
+ var coord, grad, i, nextCoord, prevCoord, _i, _len, _results;
1028
+ grad = function(a, b) {
1029
+ return (a.y - b.y) / (a.x - b.x);
1030
+ };
1031
+ _results = [];
1032
+ for (i = _i = 0, _len = coords.length; _i < _len; i = ++_i) {
1033
+ coord = coords[i];
1034
+ if (coord.y != null) {
1035
+ nextCoord = coords[i + 1] || {
1036
+ y: null
1037
+ };
1038
+ prevCoord = coords[i - 1] || {
1039
+ y: null
1040
+ };
1041
+ if ((prevCoord.y != null) && (nextCoord.y != null)) {
1042
+ _results.push(grad(prevCoord, nextCoord));
1043
+ } else if (prevCoord.y != null) {
1044
+ _results.push(grad(prevCoord, coord));
1045
+ } else if (nextCoord.y != null) {
1046
+ _results.push(grad(coord, nextCoord));
1047
+ } else {
1048
+ _results.push(null);
1049
+ }
1050
+ } else {
1051
+ _results.push(null);
1052
+ }
1053
+ }
1054
+ return _results;
1055
+ };
1056
+
1057
+ Line.prototype.hilight = function(index) {
1058
+ var i, _i, _j, _ref, _ref1;
1059
+ if (this.prevHilight !== null && this.prevHilight !== index) {
1060
+ for (i = _i = 0, _ref = this.seriesPoints.length - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
1061
+ if (this.seriesPoints[i][this.prevHilight]) {
1062
+ this.seriesPoints[i][this.prevHilight].animate(this.pointShrinkSeries(i));
1063
+ }
1064
+ }
1065
+ }
1066
+ if (index !== null && this.prevHilight !== index) {
1067
+ for (i = _j = 0, _ref1 = this.seriesPoints.length - 1; 0 <= _ref1 ? _j <= _ref1 : _j >= _ref1; i = 0 <= _ref1 ? ++_j : --_j) {
1068
+ if (this.seriesPoints[i][index]) {
1069
+ this.seriesPoints[i][index].animate(this.pointGrowSeries(i));
1070
+ }
1071
+ }
1072
+ }
1073
+ return this.prevHilight = index;
1074
+ };
1075
+
1076
+ Line.prototype.colorFor = function(row, sidx, type) {
1077
+ if (typeof this.options.lineColors === 'function') {
1078
+ return this.options.lineColors.call(this, row, sidx, type);
1079
+ } else if (type === 'point') {
1080
+ return this.options.pointFillColors[sidx % this.options.pointFillColors.length] || this.options.lineColors[sidx % this.options.lineColors.length];
1081
+ } else {
1082
+ return this.options.lineColors[sidx % this.options.lineColors.length];
1083
+ }
1084
+ };
1085
+
1086
+ Line.prototype.drawXAxisLabel = function(xPos, yPos, text) {
1087
+ return this.raphael.text(xPos, yPos, text).attr('font-size', this.options.gridTextSize).attr('font-family', this.options.gridTextFamily).attr('font-weight', this.options.gridTextWeight).attr('fill', this.options.gridTextColor);
1088
+ };
1089
+
1090
+ Line.prototype.drawLinePath = function(path, lineColor, lineIndex) {
1091
+ return this.raphael.path(path).attr('stroke', lineColor).attr('stroke-width', this.lineWidthForSeries(lineIndex));
1092
+ };
1093
+
1094
+ Line.prototype.drawLinePoint = function(xPos, yPos, pointColor, lineIndex) {
1095
+ return this.raphael.circle(xPos, yPos, this.pointSizeForSeries(lineIndex)).attr('fill', pointColor).attr('stroke-width', this.pointStrokeWidthForSeries(lineIndex)).attr('stroke', this.pointStrokeColorForSeries(lineIndex));
1096
+ };
1097
+
1098
+ Line.prototype.pointStrokeWidthForSeries = function(index) {
1099
+ return this.options.pointStrokeWidths[index % this.options.pointStrokeWidths.length];
1100
+ };
1101
+
1102
+ Line.prototype.pointStrokeColorForSeries = function(index) {
1103
+ return this.options.pointStrokeColors[index % this.options.pointStrokeColors.length];
1104
+ };
1105
+
1106
+ Line.prototype.lineWidthForSeries = function(index) {
1107
+ if (this.options.lineWidth instanceof Array) {
1108
+ return this.options.lineWidth[index % this.options.lineWidth.length];
1109
+ } else {
1110
+ return this.options.lineWidth;
1111
+ }
1112
+ };
1113
+
1114
+ Line.prototype.pointSizeForSeries = function(index) {
1115
+ if (this.options.pointSize instanceof Array) {
1116
+ return this.options.pointSize[index % this.options.pointSize.length];
1117
+ } else {
1118
+ return this.options.pointSize;
1119
+ }
1120
+ };
1121
+
1122
+ Line.prototype.pointGrowSeries = function(index) {
1123
+ return Raphael.animation({
1124
+ r: this.pointSizeForSeries(index) + 3
1125
+ }, 25, 'linear');
1126
+ };
1127
+
1128
+ Line.prototype.pointShrinkSeries = function(index) {
1129
+ return Raphael.animation({
1130
+ r: this.pointSizeForSeries(index)
1131
+ }, 25, 'linear');
1132
+ };
1133
+
1134
+ return Line;
1135
+
1136
+ })(Morris.Grid);
1137
+
1138
+ Morris.labelSeries = function(dmin, dmax, pxwidth, specName, xLabelFormat) {
1139
+ var d, d0, ddensity, name, ret, s, spec, t, _i, _len, _ref;
1140
+ ddensity = 200 * (dmax - dmin) / pxwidth;
1141
+ d0 = new Date(dmin);
1142
+ spec = Morris.LABEL_SPECS[specName];
1143
+ if (spec === void 0) {
1144
+ _ref = Morris.AUTO_LABEL_ORDER;
1145
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
1146
+ name = _ref[_i];
1147
+ s = Morris.LABEL_SPECS[name];
1148
+ if (ddensity >= s.span) {
1149
+ spec = s;
1150
+ break;
1151
+ }
1152
+ }
1153
+ }
1154
+ if (spec === void 0) {
1155
+ spec = Morris.LABEL_SPECS["second"];
1156
+ }
1157
+ if (xLabelFormat) {
1158
+ spec = $.extend({}, spec, {
1159
+ fmt: xLabelFormat
1160
+ });
1161
+ }
1162
+ d = spec.start(d0);
1163
+ ret = [];
1164
+ while ((t = d.getTime()) <= dmax) {
1165
+ if (t >= dmin) {
1166
+ ret.push([spec.fmt(d), t]);
1167
+ }
1168
+ spec.incr(d);
1169
+ }
1170
+ return ret;
1171
+ };
1172
+
1173
+ minutesSpecHelper = function(interval) {
1174
+ return {
1175
+ span: interval * 60 * 1000,
1176
+ start: function(d) {
1177
+ return new Date(d.getFullYear(), d.getMonth(), d.getDate(), d.getHours());
1178
+ },
1179
+ fmt: function(d) {
1180
+ return "" + (Morris.pad2(d.getHours())) + ":" + (Morris.pad2(d.getMinutes()));
1181
+ },
1182
+ incr: function(d) {
1183
+ return d.setUTCMinutes(d.getUTCMinutes() + interval);
1184
+ }
1185
+ };
1186
+ };
1187
+
1188
+ secondsSpecHelper = function(interval) {
1189
+ return {
1190
+ span: interval * 1000,
1191
+ start: function(d) {
1192
+ return new Date(d.getFullYear(), d.getMonth(), d.getDate(), d.getHours(), d.getMinutes());
1193
+ },
1194
+ fmt: function(d) {
1195
+ return "" + (Morris.pad2(d.getHours())) + ":" + (Morris.pad2(d.getMinutes())) + ":" + (Morris.pad2(d.getSeconds()));
1196
+ },
1197
+ incr: function(d) {
1198
+ return d.setUTCSeconds(d.getUTCSeconds() + interval);
1199
+ }
1200
+ };
1201
+ };
1202
+
1203
+ Morris.LABEL_SPECS = {
1204
+ "decade": {
1205
+ span: 172800000000,
1206
+ start: function(d) {
1207
+ return new Date(d.getFullYear() - d.getFullYear() % 10, 0, 1);
1208
+ },
1209
+ fmt: function(d) {
1210
+ return "" + (d.getFullYear());
1211
+ },
1212
+ incr: function(d) {
1213
+ return d.setFullYear(d.getFullYear() + 10);
1214
+ }
1215
+ },
1216
+ "year": {
1217
+ span: 17280000000,
1218
+ start: function(d) {
1219
+ return new Date(d.getFullYear(), 0, 1);
1220
+ },
1221
+ fmt: function(d) {
1222
+ return "" + (d.getFullYear());
1223
+ },
1224
+ incr: function(d) {
1225
+ return d.setFullYear(d.getFullYear() + 1);
1226
+ }
1227
+ },
1228
+ "month": {
1229
+ span: 2419200000,
1230
+ start: function(d) {
1231
+ return new Date(d.getFullYear(), d.getMonth(), 1);
1232
+ },
1233
+ fmt: function(d) {
1234
+ return "" + (d.getFullYear()) + "-" + (Morris.pad2(d.getMonth() + 1));
1235
+ },
1236
+ incr: function(d) {
1237
+ return d.setMonth(d.getMonth() + 1);
1238
+ }
1239
+ },
1240
+ "week": {
1241
+ span: 604800000,
1242
+ start: function(d) {
1243
+ return new Date(d.getFullYear(), d.getMonth(), d.getDate());
1244
+ },
1245
+ fmt: function(d) {
1246
+ return "" + (d.getFullYear()) + "-" + (Morris.pad2(d.getMonth() + 1)) + "-" + (Morris.pad2(d.getDate()));
1247
+ },
1248
+ incr: function(d) {
1249
+ return d.setDate(d.getDate() + 7);
1250
+ }
1251
+ },
1252
+ "day": {
1253
+ span: 86400000,
1254
+ start: function(d) {
1255
+ return new Date(d.getFullYear(), d.getMonth(), d.getDate());
1256
+ },
1257
+ fmt: function(d) {
1258
+ return "" + (d.getFullYear()) + "-" + (Morris.pad2(d.getMonth() + 1)) + "-" + (Morris.pad2(d.getDate()));
1259
+ },
1260
+ incr: function(d) {
1261
+ return d.setDate(d.getDate() + 1);
1262
+ }
1263
+ },
1264
+ "hour": minutesSpecHelper(60),
1265
+ "30min": minutesSpecHelper(30),
1266
+ "15min": minutesSpecHelper(15),
1267
+ "10min": minutesSpecHelper(10),
1268
+ "5min": minutesSpecHelper(5),
1269
+ "minute": minutesSpecHelper(1),
1270
+ "30sec": secondsSpecHelper(30),
1271
+ "15sec": secondsSpecHelper(15),
1272
+ "10sec": secondsSpecHelper(10),
1273
+ "5sec": secondsSpecHelper(5),
1274
+ "second": secondsSpecHelper(1)
1275
+ };
1276
+
1277
+ Morris.AUTO_LABEL_ORDER = ["decade", "year", "month", "week", "day", "hour", "30min", "15min", "10min", "5min", "minute", "30sec", "15sec", "10sec", "5sec", "second"];
1278
+
1279
+ Morris.Area = (function(_super) {
1280
+ var areaDefaults;
1281
+
1282
+ __extends(Area, _super);
1283
+
1284
+ areaDefaults = {
1285
+ fillOpacity: 'auto',
1286
+ behaveLikeLine: false
1287
+ };
1288
+
1289
+ function Area(options) {
1290
+ var areaOptions;
1291
+ if (!(this instanceof Morris.Area)) {
1292
+ return new Morris.Area(options);
1293
+ }
1294
+ areaOptions = $.extend({}, areaDefaults, options);
1295
+ this.cumulative = !areaOptions.behaveLikeLine;
1296
+ if (areaOptions.fillOpacity === 'auto') {
1297
+ areaOptions.fillOpacity = areaOptions.behaveLikeLine ? .8 : 1;
1298
+ }
1299
+ Area.__super__.constructor.call(this, areaOptions);
1300
+ }
1301
+
1302
+ Area.prototype.calcPoints = function() {
1303
+ var row, total, y, _i, _len, _ref, _results;
1304
+ _ref = this.data;
1305
+ _results = [];
1306
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
1307
+ row = _ref[_i];
1308
+ row._x = this.transX(row.x);
1309
+ total = 0;
1310
+ row._y = (function() {
1311
+ var _j, _len1, _ref1, _results1;
1312
+ _ref1 = row.y;
1313
+ _results1 = [];
1314
+ for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
1315
+ y = _ref1[_j];
1316
+ if (this.options.behaveLikeLine) {
1317
+ _results1.push(this.transY(y));
1318
+ } else {
1319
+ total += y || 0;
1320
+ _results1.push(this.transY(total));
1321
+ }
1322
+ }
1323
+ return _results1;
1324
+ }).call(this);
1325
+ _results.push(row._ymax = Math.max.apply(Math, row._y));
1326
+ }
1327
+ return _results;
1328
+ };
1329
+
1330
+ Area.prototype.drawSeries = function() {
1331
+ var i, range, _i, _j, _k, _len, _ref, _ref1, _results, _results1, _results2;
1332
+ this.seriesPoints = [];
1333
+ if (this.options.behaveLikeLine) {
1334
+ range = (function() {
1335
+ _results = [];
1336
+ for (var _i = 0, _ref = this.options.ykeys.length - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; 0 <= _ref ? _i++ : _i--){ _results.push(_i); }
1337
+ return _results;
1338
+ }).apply(this);
1339
+ } else {
1340
+ range = (function() {
1341
+ _results1 = [];
1342
+ for (var _j = _ref1 = this.options.ykeys.length - 1; _ref1 <= 0 ? _j <= 0 : _j >= 0; _ref1 <= 0 ? _j++ : _j--){ _results1.push(_j); }
1343
+ return _results1;
1344
+ }).apply(this);
1345
+ }
1346
+ _results2 = [];
1347
+ for (_k = 0, _len = range.length; _k < _len; _k++) {
1348
+ i = range[_k];
1349
+ this._drawFillFor(i);
1350
+ this._drawLineFor(i);
1351
+ _results2.push(this._drawPointFor(i));
1352
+ }
1353
+ return _results2;
1354
+ };
1355
+
1356
+ Area.prototype._drawFillFor = function(index) {
1357
+ var path;
1358
+ path = this.paths[index];
1359
+ if (path !== null) {
1360
+ path = path + ("L" + (this.transX(this.xmax)) + "," + this.bottom + "L" + (this.transX(this.xmin)) + "," + this.bottom + "Z");
1361
+ return this.drawFilledPath(path, this.fillForSeries(index));
1362
+ }
1363
+ };
1364
+
1365
+ Area.prototype.fillForSeries = function(i) {
1366
+ var color;
1367
+ color = Raphael.rgb2hsl(this.colorFor(this.data[i], i, 'line'));
1368
+ return Raphael.hsl(color.h, this.options.behaveLikeLine ? color.s * 0.9 : color.s * 0.75, Math.min(0.98, this.options.behaveLikeLine ? color.l * 1.2 : color.l * 1.25));
1369
+ };
1370
+
1371
+ Area.prototype.drawFilledPath = function(path, fill) {
1372
+ return this.raphael.path(path).attr('fill', fill).attr('fill-opacity', this.options.fillOpacity).attr('stroke', 'none');
1373
+ };
1374
+
1375
+ return Area;
1376
+
1377
+ })(Morris.Line);
1378
+
1379
+ Morris.Bar = (function(_super) {
1380
+ __extends(Bar, _super);
1381
+
1382
+ function Bar(options) {
1383
+ this.onHoverOut = __bind(this.onHoverOut, this);
1384
+ this.onHoverMove = __bind(this.onHoverMove, this);
1385
+ this.onGridClick = __bind(this.onGridClick, this);
1386
+ if (!(this instanceof Morris.Bar)) {
1387
+ return new Morris.Bar(options);
1388
+ }
1389
+ Bar.__super__.constructor.call(this, $.extend({}, options, {
1390
+ parseTime: false
1391
+ }));
1392
+ }
1393
+
1394
+ Bar.prototype.init = function() {
1395
+ this.cumulative = this.options.stacked;
1396
+ if (this.options.hideHover !== 'always') {
1397
+ this.hover = new Morris.Hover({
1398
+ parent: this.el
1399
+ });
1400
+ this.on('hovermove', this.onHoverMove);
1401
+ this.on('hoverout', this.onHoverOut);
1402
+ return this.on('gridclick', this.onGridClick);
1403
+ }
1404
+ };
1405
+
1406
+ Bar.prototype.defaults = {
1407
+ barSizeRatio: 0.75,
1408
+ barGap: 3,
1409
+ barColors: ['#0b62a4', '#7a92a3', '#4da74d', '#afd8f8', '#edc240', '#cb4b4b', '#9440ed'],
1410
+ barOpacity: 1.0,
1411
+ barRadius: [0, 0, 0, 0],
1412
+ xLabelMargin: 50
1413
+ };
1414
+
1415
+ Bar.prototype.calc = function() {
1416
+ var _ref;
1417
+ this.calcBars();
1418
+ if (this.options.hideHover === false) {
1419
+ return (_ref = this.hover).update.apply(_ref, this.hoverContentForRow(this.data.length - 1));
1420
+ }
1421
+ };
1422
+
1423
+ Bar.prototype.calcBars = function() {
1424
+ var idx, row, y, _i, _len, _ref, _results;
1425
+ _ref = this.data;
1426
+ _results = [];
1427
+ for (idx = _i = 0, _len = _ref.length; _i < _len; idx = ++_i) {
1428
+ row = _ref[idx];
1429
+ row._x = this.left + this.width * (idx + 0.5) / this.data.length;
1430
+ _results.push(row._y = (function() {
1431
+ var _j, _len1, _ref1, _results1;
1432
+ _ref1 = row.y;
1433
+ _results1 = [];
1434
+ for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
1435
+ y = _ref1[_j];
1436
+ if (y != null) {
1437
+ _results1.push(this.transY(y));
1438
+ } else {
1439
+ _results1.push(null);
1440
+ }
1441
+ }
1442
+ return _results1;
1443
+ }).call(this));
1444
+ }
1445
+ return _results;
1446
+ };
1447
+
1448
+ Bar.prototype.draw = function() {
1449
+ var _ref;
1450
+ if ((_ref = this.options.axes) === true || _ref === 'both' || _ref === 'x') {
1451
+ this.drawXAxis();
1452
+ }
1453
+ return this.drawSeries();
1454
+ };
1455
+
1456
+ Bar.prototype.drawXAxis = function() {
1457
+ var i, label, labelBox, margin, offset, prevAngleMargin, prevLabelMargin, row, textBox, ypos, _i, _ref, _results;
1458
+ ypos = this.bottom + (this.options.xAxisLabelTopPadding || this.options.padding / 2);
1459
+ prevLabelMargin = null;
1460
+ prevAngleMargin = null;
1461
+ _results = [];
1462
+ for (i = _i = 0, _ref = this.data.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
1463
+ row = this.data[this.data.length - 1 - i];
1464
+ label = this.drawXAxisLabel(row._x, ypos, row.label);
1465
+ textBox = label.getBBox();
1466
+ label.transform("r" + (-this.options.xLabelAngle));
1467
+ labelBox = label.getBBox();
1468
+ label.transform("t0," + (labelBox.height / 2) + "...");
1469
+ if (this.options.xLabelAngle !== 0) {
1470
+ offset = -0.5 * textBox.width * Math.cos(this.options.xLabelAngle * Math.PI / 180.0);
1471
+ label.transform("t" + offset + ",0...");
1472
+ }
1473
+ if (((prevLabelMargin == null) || prevLabelMargin >= labelBox.x + labelBox.width || (prevAngleMargin != null) && prevAngleMargin >= labelBox.x) && labelBox.x >= 0 && (labelBox.x + labelBox.width) < this.el.width()) {
1474
+ if (this.options.xLabelAngle !== 0) {
1475
+ margin = 1.25 * this.options.gridTextSize / Math.sin(this.options.xLabelAngle * Math.PI / 180.0);
1476
+ prevAngleMargin = labelBox.x - margin;
1477
+ }
1478
+ _results.push(prevLabelMargin = labelBox.x - this.options.xLabelMargin);
1479
+ } else {
1480
+ _results.push(label.remove());
1481
+ }
1482
+ }
1483
+ return _results;
1484
+ };
1485
+
1486
+ Bar.prototype.drawSeries = function() {
1487
+ var barWidth, bottom, groupWidth, idx, lastTop, left, leftPadding, numBars, row, sidx, size, spaceLeft, top, ypos, zeroPos;
1488
+ groupWidth = this.width / this.options.data.length;
1489
+ numBars = this.options.stacked ? 1 : this.options.ykeys.length;
1490
+ barWidth = (groupWidth * this.options.barSizeRatio - this.options.barGap * (numBars - 1)) / numBars;
1491
+ if (this.options.barSize) {
1492
+ barWidth = Math.min(barWidth, this.options.barSize);
1493
+ }
1494
+ spaceLeft = groupWidth - barWidth * numBars - this.options.barGap * (numBars - 1);
1495
+ leftPadding = spaceLeft / 2;
1496
+ zeroPos = this.ymin <= 0 && this.ymax >= 0 ? this.transY(0) : null;
1497
+ return this.bars = (function() {
1498
+ var _i, _len, _ref, _results;
1499
+ _ref = this.data;
1500
+ _results = [];
1501
+ for (idx = _i = 0, _len = _ref.length; _i < _len; idx = ++_i) {
1502
+ row = _ref[idx];
1503
+ lastTop = 0;
1504
+ _results.push((function() {
1505
+ var _j, _len1, _ref1, _results1;
1506
+ _ref1 = row._y;
1507
+ _results1 = [];
1508
+ for (sidx = _j = 0, _len1 = _ref1.length; _j < _len1; sidx = ++_j) {
1509
+ ypos = _ref1[sidx];
1510
+ if (ypos !== null) {
1511
+ if (zeroPos) {
1512
+ top = Math.min(ypos, zeroPos);
1513
+ bottom = Math.max(ypos, zeroPos);
1514
+ } else {
1515
+ top = ypos;
1516
+ bottom = this.bottom;
1517
+ }
1518
+ left = this.left + idx * groupWidth + leftPadding;
1519
+ if (!this.options.stacked) {
1520
+ left += sidx * (barWidth + this.options.barGap);
1521
+ }
1522
+ size = bottom - top;
1523
+ if (this.options.verticalGridCondition && this.options.verticalGridCondition(row.x)) {
1524
+ this.drawBar(this.left + idx * groupWidth, this.top, groupWidth, Math.abs(this.top - this.bottom), this.options.verticalGridColor, this.options.verticalGridOpacity, this.options.barRadius);
1525
+ }
1526
+ if (this.options.stacked) {
1527
+ top -= lastTop;
1528
+ }
1529
+ this.drawBar(left, top, barWidth, size, this.colorFor(row, sidx, 'bar'), this.options.barOpacity, this.options.barRadius);
1530
+ _results1.push(lastTop += size);
1531
+ } else {
1532
+ _results1.push(null);
1533
+ }
1534
+ }
1535
+ return _results1;
1536
+ }).call(this));
1537
+ }
1538
+ return _results;
1539
+ }).call(this);
1540
+ };
1541
+
1542
+ Bar.prototype.colorFor = function(row, sidx, type) {
1543
+ var r, s;
1544
+ if (typeof this.options.barColors === 'function') {
1545
+ r = {
1546
+ x: row.x,
1547
+ y: row.y[sidx],
1548
+ label: row.label
1549
+ };
1550
+ s = {
1551
+ index: sidx,
1552
+ key: this.options.ykeys[sidx],
1553
+ label: this.options.labels[sidx]
1554
+ };
1555
+ return this.options.barColors.call(this, r, s, type);
1556
+ } else {
1557
+ return this.options.barColors[sidx % this.options.barColors.length];
1558
+ }
1559
+ };
1560
+
1561
+ Bar.prototype.hitTest = function(x) {
1562
+ if (this.data.length === 0) {
1563
+ return null;
1564
+ }
1565
+ x = Math.max(Math.min(x, this.right), this.left);
1566
+ return Math.min(this.data.length - 1, Math.floor((x - this.left) / (this.width / this.data.length)));
1567
+ };
1568
+
1569
+ Bar.prototype.onGridClick = function(x, y) {
1570
+ var index;
1571
+ index = this.hitTest(x);
1572
+ return this.fire('click', index, this.data[index].src, x, y);
1573
+ };
1574
+
1575
+ Bar.prototype.onHoverMove = function(x, y) {
1576
+ var index, _ref;
1577
+ index = this.hitTest(x);
1578
+ return (_ref = this.hover).update.apply(_ref, this.hoverContentForRow(index));
1579
+ };
1580
+
1581
+ Bar.prototype.onHoverOut = function() {
1582
+ if (this.options.hideHover !== false) {
1583
+ return this.hover.hide();
1584
+ }
1585
+ };
1586
+
1587
+ Bar.prototype.hoverContentForRow = function(index) {
1588
+ var content, j, row, x, y, _i, _len, _ref;
1589
+ row = this.data[index];
1590
+ content = "<div class='morris-hover-row-label'>" + row.label + "</div>";
1591
+ _ref = row.y;
1592
+ for (j = _i = 0, _len = _ref.length; _i < _len; j = ++_i) {
1593
+ y = _ref[j];
1594
+ content += "<div class='morris-hover-point' style='color: " + (this.colorFor(row, j, 'label')) + "'>\n " + this.options.labels[j] + ":\n " + (this.yLabelFormat(y)) + "\n</div>";
1595
+ }
1596
+ if (typeof this.options.hoverCallback === 'function') {
1597
+ content = this.options.hoverCallback(index, this.options, content, row.src);
1598
+ }
1599
+ x = this.left + (index + 0.5) * this.width / this.data.length;
1600
+ return [content, x];
1601
+ };
1602
+
1603
+ Bar.prototype.drawXAxisLabel = function(xPos, yPos, text) {
1604
+ var label;
1605
+ return label = this.raphael.text(xPos, yPos, text).attr('font-size', this.options.gridTextSize).attr('font-family', this.options.gridTextFamily).attr('font-weight', this.options.gridTextWeight).attr('fill', this.options.gridTextColor);
1606
+ };
1607
+
1608
+ Bar.prototype.drawBar = function(xPos, yPos, width, height, barColor, opacity, radiusArray) {
1609
+ var maxRadius, path;
1610
+ maxRadius = Math.max.apply(Math, radiusArray);
1611
+ if (maxRadius === 0 || maxRadius > height) {
1612
+ path = this.raphael.rect(xPos, yPos, width, height);
1613
+ } else {
1614
+ path = this.raphael.path(this.roundedRect(xPos, yPos, width, height, radiusArray));
1615
+ }
1616
+ return path.attr('fill', barColor).attr('fill-opacity', opacity).attr('stroke', 'none');
1617
+ };
1618
+
1619
+ Bar.prototype.roundedRect = function(x, y, w, h, r) {
1620
+ if (r == null) {
1621
+ r = [0, 0, 0, 0];
1622
+ }
1623
+ return ["M", x, r[0] + y, "Q", x, y, x + r[0], y, "L", x + w - r[1], y, "Q", x + w, y, x + w, y + r[1], "L", x + w, y + h - r[2], "Q", x + w, y + h, x + w - r[2], y + h, "L", x + r[3], y + h, "Q", x, y + h, x, y + h - r[3], "Z"];
1624
+ };
1625
+
1626
+ return Bar;
1627
+
1628
+ })(Morris.Grid);
1629
+
1630
+ Morris.Donut = (function(_super) {
1631
+ __extends(Donut, _super);
1632
+
1633
+ Donut.prototype.defaults = {
1634
+ colors: ['#0B62A4', '#3980B5', '#679DC6', '#95BBD7', '#B0CCE1', '#095791', '#095085', '#083E67', '#052C48', '#042135'],
1635
+ backgroundColor: '#FFFFFF',
1636
+ labelColor: '#000000',
1637
+ formatter: Morris.commas,
1638
+ resize: false
1639
+ };
1640
+
1641
+ function Donut(options) {
1642
+ this.resizeHandler = __bind(this.resizeHandler, this);
1643
+ this.select = __bind(this.select, this);
1644
+ this.click = __bind(this.click, this);
1645
+ var _this = this;
1646
+ if (!(this instanceof Morris.Donut)) {
1647
+ return new Morris.Donut(options);
1648
+ }
1649
+ this.options = $.extend({}, this.defaults, options);
1650
+ if (typeof options.element === 'string') {
1651
+ this.el = $(document.getElementById(options.element));
1652
+ } else {
1653
+ this.el = $(options.element);
1654
+ }
1655
+ if (this.el === null || this.el.length === 0) {
1656
+ throw new Error("Graph placeholder not found.");
1657
+ }
1658
+ if (options.data === void 0 || options.data.length === 0) {
1659
+ return;
1660
+ }
1661
+ this.raphael = new Raphael(this.el[0]);
1662
+ if (this.options.resize) {
1663
+ $(window).bind('resize', function(evt) {
1664
+ if (_this.timeoutId != null) {
1665
+ window.clearTimeout(_this.timeoutId);
1666
+ }
1667
+ return _this.timeoutId = window.setTimeout(_this.resizeHandler, 100);
1668
+ });
1669
+ }
1670
+ this.setData(options.data);
1671
+ }
1672
+
1673
+ Donut.prototype.redraw = function() {
1674
+ var C, cx, cy, i, idx, last, max_value, min, next, seg, total, value, w, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _results;
1675
+ this.raphael.clear();
1676
+ cx = this.el.width() / 2;
1677
+ cy = this.el.height() / 2;
1678
+ w = (Math.min(cx, cy) - 10) / 3;
1679
+ total = 0;
1680
+ _ref = this.values;
1681
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
1682
+ value = _ref[_i];
1683
+ total += value;
1684
+ }
1685
+ min = 5 / (2 * w);
1686
+ C = 1.9999 * Math.PI - min * this.data.length;
1687
+ last = 0;
1688
+ idx = 0;
1689
+ this.segments = [];
1690
+ _ref1 = this.values;
1691
+ for (i = _j = 0, _len1 = _ref1.length; _j < _len1; i = ++_j) {
1692
+ value = _ref1[i];
1693
+ next = last + min + C * (value / total);
1694
+ seg = new Morris.DonutSegment(cx, cy, w * 2, w, last, next, this.data[i].color || this.options.colors[idx % this.options.colors.length], this.options.backgroundColor, idx, this.raphael);
1695
+ seg.render();
1696
+ this.segments.push(seg);
1697
+ seg.on('hover', this.select);
1698
+ seg.on('click', this.click);
1699
+ last = next;
1700
+ idx += 1;
1701
+ }
1702
+ this.text1 = this.drawEmptyDonutLabel(cx, cy - 10, this.options.labelColor, 15, 800);
1703
+ this.text2 = this.drawEmptyDonutLabel(cx, cy + 10, this.options.labelColor, 14);
1704
+ max_value = Math.max.apply(Math, this.values);
1705
+ idx = 0;
1706
+ _ref2 = this.values;
1707
+ _results = [];
1708
+ for (_k = 0, _len2 = _ref2.length; _k < _len2; _k++) {
1709
+ value = _ref2[_k];
1710
+ if (value === max_value) {
1711
+ this.select(idx);
1712
+ break;
1713
+ }
1714
+ _results.push(idx += 1);
1715
+ }
1716
+ return _results;
1717
+ };
1718
+
1719
+ Donut.prototype.setData = function(data) {
1720
+ var row;
1721
+ this.data = data;
1722
+ this.values = (function() {
1723
+ var _i, _len, _ref, _results;
1724
+ _ref = this.data;
1725
+ _results = [];
1726
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
1727
+ row = _ref[_i];
1728
+ _results.push(parseFloat(row.value));
1729
+ }
1730
+ return _results;
1731
+ }).call(this);
1732
+ return this.redraw();
1733
+ };
1734
+
1735
+ Donut.prototype.click = function(idx) {
1736
+ return this.fire('click', idx, this.data[idx]);
1737
+ };
1738
+
1739
+ Donut.prototype.select = function(idx) {
1740
+ var row, s, segment, _i, _len, _ref;
1741
+ _ref = this.segments;
1742
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
1743
+ s = _ref[_i];
1744
+ s.deselect();
1745
+ }
1746
+ segment = this.segments[idx];
1747
+ segment.select();
1748
+ row = this.data[idx];
1749
+ return this.setLabels(row.label, this.options.formatter(row.value, row));
1750
+ };
1751
+
1752
+ Donut.prototype.setLabels = function(label1, label2) {
1753
+ var inner, maxHeightBottom, maxHeightTop, maxWidth, text1bbox, text1scale, text2bbox, text2scale;
1754
+ inner = (Math.min(this.el.width() / 2, this.el.height() / 2) - 10) * 2 / 3;
1755
+ maxWidth = 1.8 * inner;
1756
+ maxHeightTop = inner / 2;
1757
+ maxHeightBottom = inner / 3;
1758
+ this.text1.attr({
1759
+ text: label1,
1760
+ transform: ''
1761
+ });
1762
+ text1bbox = this.text1.getBBox();
1763
+ text1scale = Math.min(maxWidth / text1bbox.width, maxHeightTop / text1bbox.height);
1764
+ this.text1.attr({
1765
+ transform: "S" + text1scale + "," + text1scale + "," + (text1bbox.x + text1bbox.width / 2) + "," + (text1bbox.y + text1bbox.height)
1766
+ });
1767
+ this.text2.attr({
1768
+ text: label2,
1769
+ transform: ''
1770
+ });
1771
+ text2bbox = this.text2.getBBox();
1772
+ text2scale = Math.min(maxWidth / text2bbox.width, maxHeightBottom / text2bbox.height);
1773
+ return this.text2.attr({
1774
+ transform: "S" + text2scale + "," + text2scale + "," + (text2bbox.x + text2bbox.width / 2) + "," + text2bbox.y
1775
+ });
1776
+ };
1777
+
1778
+ Donut.prototype.drawEmptyDonutLabel = function(xPos, yPos, color, fontSize, fontWeight) {
1779
+ var text;
1780
+ text = this.raphael.text(xPos, yPos, '').attr('font-size', fontSize).attr('fill', color);
1781
+ if (fontWeight != null) {
1782
+ text.attr('font-weight', fontWeight);
1783
+ }
1784
+ return text;
1785
+ };
1786
+
1787
+ Donut.prototype.resizeHandler = function() {
1788
+ this.timeoutId = null;
1789
+ this.raphael.setSize(this.el.width(), this.el.height());
1790
+ return this.redraw();
1791
+ };
1792
+
1793
+ return Donut;
1794
+
1795
+ })(Morris.EventEmitter);
1796
+
1797
+ Morris.DonutSegment = (function(_super) {
1798
+ __extends(DonutSegment, _super);
1799
+
1800
+ function DonutSegment(cx, cy, inner, outer, p0, p1, color, backgroundColor, index, raphael) {
1801
+ this.cx = cx;
1802
+ this.cy = cy;
1803
+ this.inner = inner;
1804
+ this.outer = outer;
1805
+ this.color = color;
1806
+ this.backgroundColor = backgroundColor;
1807
+ this.index = index;
1808
+ this.raphael = raphael;
1809
+ this.deselect = __bind(this.deselect, this);
1810
+ this.select = __bind(this.select, this);
1811
+ this.sin_p0 = Math.sin(p0);
1812
+ this.cos_p0 = Math.cos(p0);
1813
+ this.sin_p1 = Math.sin(p1);
1814
+ this.cos_p1 = Math.cos(p1);
1815
+ this.is_long = (p1 - p0) > Math.PI ? 1 : 0;
1816
+ this.path = this.calcSegment(this.inner + 3, this.inner + this.outer - 5);
1817
+ this.selectedPath = this.calcSegment(this.inner + 3, this.inner + this.outer);
1818
+ this.hilight = this.calcArc(this.inner);
1819
+ }
1820
+
1821
+ DonutSegment.prototype.calcArcPoints = function(r) {
1822
+ return [this.cx + r * this.sin_p0, this.cy + r * this.cos_p0, this.cx + r * this.sin_p1, this.cy + r * this.cos_p1];
1823
+ };
1824
+
1825
+ DonutSegment.prototype.calcSegment = function(r1, r2) {
1826
+ var ix0, ix1, iy0, iy1, ox0, ox1, oy0, oy1, _ref, _ref1;
1827
+ _ref = this.calcArcPoints(r1), ix0 = _ref[0], iy0 = _ref[1], ix1 = _ref[2], iy1 = _ref[3];
1828
+ _ref1 = this.calcArcPoints(r2), ox0 = _ref1[0], oy0 = _ref1[1], ox1 = _ref1[2], oy1 = _ref1[3];
1829
+ return ("M" + ix0 + "," + iy0) + ("A" + r1 + "," + r1 + ",0," + this.is_long + ",0," + ix1 + "," + iy1) + ("L" + ox1 + "," + oy1) + ("A" + r2 + "," + r2 + ",0," + this.is_long + ",1," + ox0 + "," + oy0) + "Z";
1830
+ };
1831
+
1832
+ DonutSegment.prototype.calcArc = function(r) {
1833
+ var ix0, ix1, iy0, iy1, _ref;
1834
+ _ref = this.calcArcPoints(r), ix0 = _ref[0], iy0 = _ref[1], ix1 = _ref[2], iy1 = _ref[3];
1835
+ return ("M" + ix0 + "," + iy0) + ("A" + r + "," + r + ",0," + this.is_long + ",0," + ix1 + "," + iy1);
1836
+ };
1837
+
1838
+ DonutSegment.prototype.render = function() {
1839
+ var _this = this;
1840
+ this.arc = this.drawDonutArc(this.hilight, this.color);
1841
+ return this.seg = this.drawDonutSegment(this.path, this.color, this.backgroundColor, function() {
1842
+ return _this.fire('hover', _this.index);
1843
+ }, function() {
1844
+ return _this.fire('click', _this.index);
1845
+ });
1846
+ };
1847
+
1848
+ DonutSegment.prototype.drawDonutArc = function(path, color) {
1849
+ return this.raphael.path(path).attr({
1850
+ stroke: color,
1851
+ 'stroke-width': 2,
1852
+ opacity: 0
1853
+ });
1854
+ };
1855
+
1856
+ DonutSegment.prototype.drawDonutSegment = function(path, fillColor, strokeColor, hoverFunction, clickFunction) {
1857
+ return this.raphael.path(path).attr({
1858
+ fill: fillColor,
1859
+ stroke: strokeColor,
1860
+ 'stroke-width': 3
1861
+ }).hover(hoverFunction).click(clickFunction);
1862
+ };
1863
+
1864
+ DonutSegment.prototype.select = function() {
1865
+ if (!this.selected) {
1866
+ this.seg.animate({
1867
+ path: this.selectedPath
1868
+ }, 150, '<>');
1869
+ this.arc.animate({
1870
+ opacity: 1
1871
+ }, 150, '<>');
1872
+ return this.selected = true;
1873
+ }
1874
+ };
1875
+
1876
+ DonutSegment.prototype.deselect = function() {
1877
+ if (this.selected) {
1878
+ this.seg.animate({
1879
+ path: this.path
1880
+ }, 150, '<>');
1881
+ this.arc.animate({
1882
+ opacity: 0
1883
+ }, 150, '<>');
1884
+ return this.selected = false;
1885
+ }
1886
+ };
1887
+
1888
+ return DonutSegment;
1889
+
1890
+ })(Morris.EventEmitter);
1891
+
1892
+ }).call(this);