radius-rails 0.0.6 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3259) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/README.md +7 -30
  4. data/app/assets/components/Chart.js/.bower.json +20 -0
  5. data/app/assets/components/Chart.js/.travis.yml +13 -0
  6. data/app/assets/components/Chart.js/CONTRIBUTING.md +55 -0
  7. data/app/assets/components/Chart.js/Chart.js +3477 -0
  8. data/app/assets/components/Chart.js/Chart.min.js +11 -0
  9. data/app/assets/components/Chart.js/LICENSE.md +7 -0
  10. data/app/assets/components/Chart.js/README.md +20 -0
  11. data/app/assets/components/Chart.js/bower.json +11 -0
  12. data/app/assets/components/Chart.js/docs/00-Getting-Started.md +203 -0
  13. data/app/assets/components/Chart.js/docs/01-Line-Chart.md +166 -0
  14. data/app/assets/components/Chart.js/docs/02-Bar-Chart.md +149 -0
  15. data/app/assets/components/Chart.js/docs/03-Radar-Chart.md +177 -0
  16. data/app/assets/components/Chart.js/docs/04-Polar-Area-Chart.md +172 -0
  17. data/app/assets/components/Chart.js/docs/05-Pie-Doughnut-Chart.md +158 -0
  18. data/app/assets/components/Chart.js/docs/06-Advanced.md +185 -0
  19. data/app/assets/components/Chart.js/docs/07-Notes.md +42 -0
  20. data/app/assets/components/Chart.js/gulpfile.js +137 -0
  21. data/app/assets/components/Chart.js/package.json +28 -0
  22. data/app/assets/components/Chart.js/samples/bar.html +45 -0
  23. data/app/assets/components/Chart.js/samples/doughnut.html +67 -0
  24. data/app/assets/components/Chart.js/samples/line-customTooltips.html +129 -0
  25. data/app/assets/components/Chart.js/samples/line.html +54 -0
  26. data/app/assets/components/Chart.js/samples/pie-customTooltips.html +156 -0
  27. data/app/assets/components/Chart.js/samples/pie.html +58 -0
  28. data/app/assets/components/Chart.js/samples/polar-area.html +60 -0
  29. data/app/assets/components/Chart.js/samples/radar.html +53 -0
  30. data/app/assets/components/Chart.js/src/Chart.Bar.js +302 -0
  31. data/app/assets/components/Chart.js/src/Chart.Core.js +2021 -0
  32. data/app/assets/components/Chart.js/src/Chart.Doughnut.js +184 -0
  33. data/app/assets/components/Chart.js/src/Chart.Line.js +374 -0
  34. data/app/assets/components/Chart.js/src/Chart.PolarArea.js +250 -0
  35. data/app/assets/components/Chart.js/src/Chart.Radar.js +343 -0
  36. data/app/assets/components/Flot/.bower.json +18 -0
  37. data/app/assets/components/Flot/.travis.yml +3 -0
  38. data/app/assets/components/Flot/API.md +1498 -0
  39. data/app/assets/components/Flot/CONTRIBUTING.md +98 -0
  40. data/app/assets/components/Flot/FAQ.md +75 -0
  41. data/app/assets/components/Flot/LICENSE.txt +22 -0
  42. data/app/assets/components/Flot/NEWS.md +1026 -0
  43. data/app/assets/components/Flot/PLUGINS.md +143 -0
  44. data/app/assets/components/Flot/README.md +110 -0
  45. data/app/assets/components/Flot/component.json +8 -0
  46. data/app/assets/components/Flot/examples/ajax/data-eu-gdp-growth-1.json +4 -0
  47. data/app/assets/components/Flot/examples/ajax/data-eu-gdp-growth-2.json +4 -0
  48. data/app/assets/components/Flot/examples/ajax/data-eu-gdp-growth-3.json +4 -0
  49. data/app/assets/components/Flot/examples/ajax/data-eu-gdp-growth-4.json +4 -0
  50. data/app/assets/components/Flot/examples/ajax/data-eu-gdp-growth-5.json +4 -0
  51. data/app/assets/components/Flot/examples/ajax/data-eu-gdp-growth.json +4 -0
  52. data/app/assets/components/Flot/examples/ajax/data-japan-gdp-growth.json +4 -0
  53. data/app/assets/components/Flot/examples/ajax/data-usa-gdp-growth.json +4 -0
  54. data/app/assets/components/Flot/examples/ajax/index.html +173 -0
  55. data/app/assets/components/Flot/examples/annotating/index.html +87 -0
  56. data/app/assets/components/Flot/examples/axes-interacting/index.html +97 -0
  57. data/app/assets/components/Flot/examples/axes-multiple/index.html +77 -0
  58. data/app/assets/components/Flot/examples/axes-time/index.html +137 -0
  59. data/app/assets/components/Flot/examples/axes-time-zones/date.js +893 -0
  60. data/app/assets/components/Flot/examples/axes-time-zones/index.html +114 -0
  61. data/app/assets/components/Flot/examples/axes-time-zones/tz/iso3166.tab +276 -0
  62. data/app/assets/components/Flot/examples/axes-time-zones/tz/yearistype.sh +38 -0
  63. data/app/assets/components/Flot/examples/axes-time-zones/tz/zone.tab +441 -0
  64. data/app/assets/components/Flot/examples/background.png +0 -0
  65. data/app/assets/components/Flot/examples/basic-options/index.html +91 -0
  66. data/app/assets/components/Flot/examples/basic-usage/index.html +57 -0
  67. data/app/assets/components/Flot/examples/canvas/index.html +75 -0
  68. data/app/assets/components/Flot/examples/categories/index.html +64 -0
  69. data/app/assets/components/Flot/examples/examples.css +97 -0
  70. data/app/assets/components/Flot/examples/image/hs-2004-27-a-large-web.jpg +0 -0
  71. data/app/assets/components/Flot/examples/image/index.html +69 -0
  72. data/app/assets/components/Flot/examples/index.html +80 -0
  73. data/app/assets/components/Flot/examples/interacting/index.html +118 -0
  74. data/app/assets/components/Flot/examples/navigate/arrow-down.gif +0 -0
  75. data/app/assets/components/Flot/examples/navigate/arrow-left.gif +0 -0
  76. data/app/assets/components/Flot/examples/navigate/arrow-right.gif +0 -0
  77. data/app/assets/components/Flot/examples/navigate/arrow-up.gif +0 -0
  78. data/app/assets/components/Flot/examples/navigate/index.html +153 -0
  79. data/app/assets/components/Flot/examples/percentiles/index.html +79 -0
  80. data/app/assets/components/Flot/examples/realtime/index.html +122 -0
  81. data/app/assets/components/Flot/examples/resize/index.html +76 -0
  82. data/app/assets/components/Flot/examples/selection/index.html +152 -0
  83. data/app/assets/components/Flot/examples/series-errorbars/index.html +150 -0
  84. data/app/assets/components/Flot/examples/series-pie/index.html +818 -0
  85. data/app/assets/components/Flot/examples/series-toggle/index.html +121 -0
  86. data/app/assets/components/Flot/examples/series-types/index.html +90 -0
  87. data/app/assets/components/Flot/examples/shared/jquery-ui/jquery-ui.min.css +6 -0
  88. data/app/assets/components/Flot/examples/stacking/index.html +107 -0
  89. data/app/assets/components/Flot/examples/symbols/index.html +76 -0
  90. data/app/assets/components/Flot/examples/threshold/index.html +76 -0
  91. data/app/assets/components/Flot/examples/tracking/index.html +135 -0
  92. data/app/assets/components/Flot/examples/visitors/index.html +147 -0
  93. data/app/assets/components/Flot/examples/zooming/index.html +144 -0
  94. data/app/assets/components/Flot/excanvas.js +1428 -0
  95. data/app/assets/components/Flot/excanvas.min.js +1 -0
  96. data/app/assets/components/Flot/flot.jquery.json +27 -0
  97. data/app/assets/components/Flot/jquery.colorhelpers.js +180 -0
  98. data/app/assets/components/Flot/jquery.flot.canvas.js +345 -0
  99. data/app/assets/components/Flot/jquery.flot.categories.js +190 -0
  100. data/app/assets/components/Flot/jquery.flot.crosshair.js +176 -0
  101. data/app/assets/components/Flot/jquery.flot.errorbars.js +353 -0
  102. data/app/assets/components/Flot/jquery.flot.fillbetween.js +226 -0
  103. data/app/assets/components/Flot/jquery.flot.image.js +241 -0
  104. data/app/assets/components/Flot/jquery.flot.js +3168 -0
  105. data/app/assets/components/Flot/jquery.flot.navigate.js +346 -0
  106. data/app/assets/components/Flot/jquery.flot.pie.js +820 -0
  107. data/app/assets/components/Flot/jquery.flot.resize.js +59 -0
  108. data/app/assets/components/Flot/jquery.flot.selection.js +360 -0
  109. data/app/assets/components/Flot/jquery.flot.stack.js +188 -0
  110. data/app/assets/components/Flot/jquery.flot.symbol.js +71 -0
  111. data/app/assets/components/Flot/jquery.flot.threshold.js +142 -0
  112. data/app/assets/components/Flot/jquery.flot.time.js +432 -0
  113. data/app/assets/components/Flot/jquery.js +9472 -0
  114. data/app/assets/components/Flot/package.json +11 -0
  115. data/app/assets/components/animate.css/.bower.json +23 -0
  116. data/app/assets/components/animate.css/Gruntfile.js +79 -0
  117. data/app/assets/components/animate.css/animate-config.json +119 -0
  118. data/app/assets/components/animate.css/animate.css +3272 -0
  119. data/app/assets/components/animate.css/animate.min.css +6 -0
  120. data/app/assets/components/animate.css/bower.json +12 -0
  121. data/app/assets/components/animate.css/package.json +26 -0
  122. data/app/assets/components/animate.css/source/_base.css +30 -0
  123. data/app/assets/components/animate.css/source/attention_seekers/bounce.css +25 -0
  124. data/app/assets/components/animate.css/source/attention_seekers/flash.css +13 -0
  125. data/app/assets/components/animate.css/source/attention_seekers/jello.css +33 -0
  126. data/app/assets/components/animate.css/source/attention_seekers/pulse.css +19 -0
  127. data/app/assets/components/animate.css/source/attention_seekers/rubberBand.css +33 -0
  128. data/app/assets/components/animate.css/source/attention_seekers/shake.css +17 -0
  129. data/app/assets/components/animate.css/source/attention_seekers/swing.css +26 -0
  130. data/app/assets/components/animate.css/source/attention_seekers/tada.css +25 -0
  131. data/app/assets/components/animate.css/source/attention_seekers/wobble.css +35 -0
  132. data/app/assets/components/animate.css/source/bouncing_entrances/bounceIn.css +36 -0
  133. data/app/assets/components/animate.css/source/bouncing_entrances/bounceInDown.css +31 -0
  134. data/app/assets/components/animate.css/source/bouncing_entrances/bounceInLeft.css +31 -0
  135. data/app/assets/components/animate.css/source/bouncing_entrances/bounceInRight.css +31 -0
  136. data/app/assets/components/animate.css/source/bouncing_entrances/bounceInUp.css +31 -0
  137. data/app/assets/components/animate.css/source/bouncing_exits/bounceOut.css +19 -0
  138. data/app/assets/components/animate.css/source/bouncing_exits/bounceOutDown.css +19 -0
  139. data/app/assets/components/animate.css/source/bouncing_exits/bounceOutLeft.css +15 -0
  140. data/app/assets/components/animate.css/source/bouncing_exits/bounceOutRight.css +15 -0
  141. data/app/assets/components/animate.css/source/bouncing_exits/bounceOutUp.css +19 -0
  142. data/app/assets/components/animate.css/source/fading_entrances/fadeIn.css +8 -0
  143. data/app/assets/components/animate.css/source/fading_entrances/fadeInDown.css +15 -0
  144. data/app/assets/components/animate.css/source/fading_entrances/fadeInDownBig.css +15 -0
  145. data/app/assets/components/animate.css/source/fading_entrances/fadeInLeft.css +15 -0
  146. data/app/assets/components/animate.css/source/fading_entrances/fadeInLeftBig.css +15 -0
  147. data/app/assets/components/animate.css/source/fading_entrances/fadeInRight.css +15 -0
  148. data/app/assets/components/animate.css/source/fading_entrances/fadeInRightBig.css +15 -0
  149. data/app/assets/components/animate.css/source/fading_entrances/fadeInUp.css +15 -0
  150. data/app/assets/components/animate.css/source/fading_entrances/fadeInUpBig.css +15 -0
  151. data/app/assets/components/animate.css/source/fading_exits/fadeOut.css +8 -0
  152. data/app/assets/components/animate.css/source/fading_exits/fadeOutDown.css +14 -0
  153. data/app/assets/components/animate.css/source/fading_exits/fadeOutDownBig.css +14 -0
  154. data/app/assets/components/animate.css/source/fading_exits/fadeOutLeft.css +14 -0
  155. data/app/assets/components/animate.css/source/fading_exits/fadeOutLeftBig.css +14 -0
  156. data/app/assets/components/animate.css/source/fading_exits/fadeOutRight.css +14 -0
  157. data/app/assets/components/animate.css/source/fading_exits/fadeOutRightBig.css +14 -0
  158. data/app/assets/components/animate.css/source/fading_exits/fadeOutUp.css +14 -0
  159. data/app/assets/components/animate.css/source/fading_exits/fadeOutUpBig.css +14 -0
  160. data/app/assets/components/animate.css/source/flippers/flip.css +31 -0
  161. data/app/assets/components/animate.css/source/flippers/flipInX.css +30 -0
  162. data/app/assets/components/animate.css/source/flippers/flipInY.css +30 -0
  163. data/app/assets/components/animate.css/source/flippers/flipOutX.css +20 -0
  164. data/app/assets/components/animate.css/source/flippers/flipOutY.css +20 -0
  165. data/app/assets/components/animate.css/source/lightspeed/lightSpeedIn.css +26 -0
  166. data/app/assets/components/animate.css/source/lightspeed/lightSpeedOut.css +15 -0
  167. data/app/assets/components/animate.css/source/rotating_entrances/rotateIn.css +17 -0
  168. data/app/assets/components/animate.css/source/rotating_entrances/rotateInDownLeft.css +17 -0
  169. data/app/assets/components/animate.css/source/rotating_entrances/rotateInDownRight.css +17 -0
  170. data/app/assets/components/animate.css/source/rotating_entrances/rotateInUpLeft.css +17 -0
  171. data/app/assets/components/animate.css/source/rotating_entrances/rotateInUpRight.css +17 -0
  172. data/app/assets/components/animate.css/source/rotating_exits/rotateOut.css +16 -0
  173. data/app/assets/components/animate.css/source/rotating_exits/rotateOutDownLeft.css +16 -0
  174. data/app/assets/components/animate.css/source/rotating_exits/rotateOutDownRight.css +16 -0
  175. data/app/assets/components/animate.css/source/rotating_exits/rotateOutUpLeft.css +16 -0
  176. data/app/assets/components/animate.css/source/rotating_exits/rotateOutUpRight.css +16 -0
  177. data/app/assets/components/animate.css/source/sliding_entrances/slideInDown.css +14 -0
  178. data/app/assets/components/animate.css/source/sliding_entrances/slideInLeft.css +14 -0
  179. data/app/assets/components/animate.css/source/sliding_entrances/slideInRight.css +14 -0
  180. data/app/assets/components/animate.css/source/sliding_entrances/slideInUp.css +14 -0
  181. data/app/assets/components/animate.css/source/sliding_exits/slideOutDown.css +14 -0
  182. data/app/assets/components/animate.css/source/sliding_exits/slideOutLeft.css +14 -0
  183. data/app/assets/components/animate.css/source/sliding_exits/slideOutRight.css +14 -0
  184. data/app/assets/components/animate.css/source/sliding_exits/slideOutUp.css +14 -0
  185. data/app/assets/components/animate.css/source/specials/hinge.css +28 -0
  186. data/app/assets/components/animate.css/source/specials/rollIn.css +17 -0
  187. data/app/assets/components/animate.css/source/specials/rollOut.css +16 -0
  188. data/app/assets/components/animate.css/source/zooming_entrances/zoomIn.css +14 -0
  189. data/app/assets/components/animate.css/source/zooming_entrances/zoomInDown.css +17 -0
  190. data/app/assets/components/animate.css/source/zooming_entrances/zoomInLeft.css +17 -0
  191. data/app/assets/components/animate.css/source/zooming_entrances/zoomInRight.css +17 -0
  192. data/app/assets/components/animate.css/source/zooming_entrances/zoomInUp.css +17 -0
  193. data/app/assets/components/animate.css/source/zooming_exits/zoomOut.css +18 -0
  194. data/app/assets/components/animate.css/source/zooming_exits/zoomOutDown.css +18 -0
  195. data/app/assets/components/animate.css/source/zooming_exits/zoomOutLeft.css +16 -0
  196. data/app/assets/components/animate.css/source/zooming_exits/zoomOutRight.css +16 -0
  197. data/app/assets/components/animate.css/source/zooming_exits/zoomOutUp.css +18 -0
  198. data/app/assets/components/animo.js/.bower.json +14 -0
  199. data/app/assets/components/animo.js/README.md +19 -0
  200. data/app/assets/components/animo.js/animate+animo.css +3414 -0
  201. data/app/assets/components/animo.js/animo.js +323 -0
  202. data/app/assets/components/animo.js/manifest.json +20 -0
  203. data/app/assets/components/blueimp-canvas-to-blob/.bower.json +44 -0
  204. data/app/assets/components/blueimp-canvas-to-blob/bower.json +35 -0
  205. data/app/assets/components/blueimp-canvas-to-blob/js/canvas-to-blob.js +95 -0
  206. data/app/assets/components/blueimp-canvas-to-blob/js/canvas-to-blob.min.js +1 -0
  207. data/app/assets/components/blueimp-file-upload/.bower.json +73 -0
  208. data/app/assets/components/blueimp-file-upload/bower.json +64 -0
  209. data/app/assets/components/blueimp-file-upload/css/jquery.fileupload-noscript.css +22 -0
  210. data/app/assets/components/blueimp-file-upload/css/jquery.fileupload-ui-noscript.css +17 -0
  211. data/app/assets/components/blueimp-file-upload/css/jquery.fileupload-ui.css +57 -0
  212. data/app/assets/components/blueimp-file-upload/css/jquery.fileupload.css +37 -0
  213. data/app/assets/components/blueimp-file-upload/img/loading.gif +0 -0
  214. data/app/assets/components/blueimp-file-upload/img/progressbar.gif +0 -0
  215. data/app/assets/components/blueimp-file-upload/js/cors/jquery.postmessage-transport.js +120 -0
  216. data/app/assets/components/blueimp-file-upload/js/cors/jquery.xdr-transport.js +89 -0
  217. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload-angular.js +425 -0
  218. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload-audio.js +112 -0
  219. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload-image.js +321 -0
  220. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload-jquery-ui.js +155 -0
  221. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload-process.js +175 -0
  222. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload-ui.js +710 -0
  223. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload-validate.js +122 -0
  224. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload-video.js +112 -0
  225. data/app/assets/components/blueimp-file-upload/js/jquery.fileupload.js +1477 -0
  226. data/app/assets/components/blueimp-file-upload/js/jquery.iframe-transport.js +217 -0
  227. data/app/assets/components/blueimp-file-upload/js/vendor/jquery.ui.widget.js +572 -0
  228. data/app/assets/components/blueimp-load-image/.bower.json +64 -0
  229. data/app/assets/components/blueimp-load-image/bower.json +55 -0
  230. data/app/assets/components/blueimp-load-image/js/load-image-exif-map.js +384 -0
  231. data/app/assets/components/blueimp-load-image/js/load-image-exif.js +299 -0
  232. data/app/assets/components/blueimp-load-image/js/load-image-ios.js +181 -0
  233. data/app/assets/components/blueimp-load-image/js/load-image-meta.js +143 -0
  234. data/app/assets/components/blueimp-load-image/js/load-image-orientation.js +166 -0
  235. data/app/assets/components/blueimp-load-image/js/load-image.all.min.js +1 -0
  236. data/app/assets/components/blueimp-load-image/js/load-image.js +301 -0
  237. data/app/assets/components/blueimp-tmpl/.bower.json +44 -0
  238. data/app/assets/components/blueimp-tmpl/bower.json +35 -0
  239. data/app/assets/components/blueimp-tmpl/js/compile.js +84 -0
  240. data/app/assets/components/blueimp-tmpl/js/runtime.js +47 -0
  241. data/app/assets/components/blueimp-tmpl/js/tmpl.js +87 -0
  242. data/app/assets/components/blueimp-tmpl/js/tmpl.min.js +1 -0
  243. data/app/assets/components/bootstrap/.bower.json +44 -0
  244. data/app/assets/components/bootstrap/Gruntfile.js +531 -0
  245. data/app/assets/components/bootstrap/README.md +137 -0
  246. data/app/assets/components/bootstrap/bower.json +34 -0
  247. data/app/assets/components/bootstrap/dist/css/bootstrap-theme.css +587 -0
  248. data/app/assets/components/bootstrap/dist/css/bootstrap-theme.min.css +5 -0
  249. data/app/assets/components/bootstrap/dist/css/bootstrap.css +6800 -0
  250. data/app/assets/components/bootstrap/dist/css/bootstrap.min.css +5 -0
  251. data/app/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
  252. data/app/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +288 -0
  253. data/app/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
  254. data/app/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
  255. data/app/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
  256. data/app/assets/components/bootstrap/dist/js/bootstrap.js +2363 -0
  257. data/app/assets/components/bootstrap/dist/js/bootstrap.min.js +7 -0
  258. data/app/assets/components/bootstrap/dist/js/npm.js +13 -0
  259. data/app/assets/components/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  260. data/app/assets/components/bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
  261. data/app/assets/components/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  262. data/app/assets/components/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  263. data/app/assets/components/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  264. data/app/assets/components/bootstrap/grunt/.jshintrc +7 -0
  265. data/app/assets/components/bootstrap/grunt/bs-commonjs-generator.js +30 -0
  266. data/app/assets/components/bootstrap/grunt/bs-glyphicons-data-generator.js +42 -0
  267. data/app/assets/components/bootstrap/grunt/bs-lessdoc-parser.js +237 -0
  268. data/app/assets/components/bootstrap/grunt/bs-raw-files-generator.js +44 -0
  269. data/app/assets/components/bootstrap/grunt/configBridge.json +46 -0
  270. data/app/assets/components/bootstrap/grunt/sauce_browsers.yml +82 -0
  271. data/app/assets/components/bootstrap/js/.jscsrc +42 -0
  272. data/app/assets/components/bootstrap/js/.jshintrc +15 -0
  273. data/app/assets/components/bootstrap/js/affix.js +162 -0
  274. data/app/assets/components/bootstrap/js/alert.js +94 -0
  275. data/app/assets/components/bootstrap/js/button.js +120 -0
  276. data/app/assets/components/bootstrap/js/carousel.js +237 -0
  277. data/app/assets/components/bootstrap/js/collapse.js +211 -0
  278. data/app/assets/components/bootstrap/js/dropdown.js +165 -0
  279. data/app/assets/components/bootstrap/js/modal.js +337 -0
  280. data/app/assets/components/bootstrap/js/popover.js +108 -0
  281. data/app/assets/components/bootstrap/js/scrollspy.js +172 -0
  282. data/app/assets/components/bootstrap/js/tab.js +155 -0
  283. data/app/assets/components/bootstrap/js/tooltip.js +514 -0
  284. data/app/assets/components/bootstrap/js/transition.js +59 -0
  285. data/app/assets/components/bootstrap/package.js +25 -0
  286. data/app/assets/components/bootstrap/package.json +87 -0
  287. data/app/assets/components/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  288. data/app/assets/components/bootstrap-colorpicker/alpha.png +0 -0
  289. data/app/assets/components/bootstrap-colorpicker/hue-horizontal.png +0 -0
  290. data/app/assets/components/bootstrap-colorpicker/hue.png +0 -0
  291. data/app/assets/components/bootstrap-colorpicker/saturation.png +0 -0
  292. data/app/assets/components/bootstrap-filestyle/.bower.json +32 -0
  293. data/app/assets/components/bootstrap-filestyle/README.md +32 -0
  294. data/app/assets/components/bootstrap-filestyle/bootstrap-filestyle.jquery.json +33 -0
  295. data/app/assets/components/bootstrap-filestyle/bower.json +23 -0
  296. data/app/assets/components/bootstrap-filestyle/src/bootstrap-filestyle.js +351 -0
  297. data/app/assets/components/bootstrap-filestyle/src/bootstrap-filestyle.min.js +1 -0
  298. data/app/assets/components/bootstrap-tagsinput/.bower.json +51 -0
  299. data/app/assets/components/bootstrap-tagsinput/Gruntfile.js +82 -0
  300. data/app/assets/components/bootstrap-tagsinput/README.md +92 -0
  301. data/app/assets/components/bootstrap-tagsinput/bootstrap-tagsinput.jquery.json +27 -0
  302. data/app/assets/components/bootstrap-tagsinput/bower.json +42 -0
  303. data/app/assets/components/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.js +87 -0
  304. data/app/assets/components/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js +7 -0
  305. data/app/assets/components/bootstrap-tagsinput/dist/bootstrap-tagsinput-typeahead.css +49 -0
  306. data/app/assets/components/bootstrap-tagsinput/dist/bootstrap-tagsinput.css +55 -0
  307. data/app/assets/components/bootstrap-tagsinput/dist/bootstrap-tagsinput.js +663 -0
  308. data/app/assets/components/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js +7 -0
  309. data/app/assets/components/bootstrap-tagsinput/dist/bootstrap-tagsinput.zip +0 -0
  310. data/app/assets/components/bootstrap-tagsinput/examples/assets/app.css +67 -0
  311. data/app/assets/components/bootstrap-tagsinput/examples/assets/app.js +15 -0
  312. data/app/assets/components/bootstrap-tagsinput/examples/assets/app_bs2.js +74 -0
  313. data/app/assets/components/bootstrap-tagsinput/examples/assets/app_bs3.js +95 -0
  314. data/app/assets/components/bootstrap-tagsinput/examples/assets/cities.json +16 -0
  315. data/app/assets/components/bootstrap-tagsinput/examples/assets/citynames.json +16 -0
  316. data/app/assets/components/bootstrap-tagsinput/examples/bootstrap-2.3.2.html +666 -0
  317. data/app/assets/components/bootstrap-tagsinput/examples/index.html +742 -0
  318. data/app/assets/components/bootstrap-tagsinput/karma.conf.js +20 -0
  319. data/app/assets/components/bootstrap-tagsinput/package.json +47 -0
  320. data/app/assets/components/bootstrap-tagsinput/src/bootstrap-tagsinput-angular.js +87 -0
  321. data/app/assets/components/bootstrap-tagsinput/src/bootstrap-tagsinput-typeahead.css +49 -0
  322. data/app/assets/components/bootstrap-tagsinput/src/bootstrap-tagsinput.css +55 -0
  323. data/app/assets/components/bootstrap-tagsinput/src/bootstrap-tagsinput.js +663 -0
  324. data/app/assets/components/bootstrap-tour/.bower.json +30 -0
  325. data/app/assets/components/bootstrap-tour/.editorconfig +21 -0
  326. data/app/assets/components/bootstrap-tour/.travis.yml +14 -0
  327. data/app/assets/components/bootstrap-tour/README.md +77 -0
  328. data/app/assets/components/bootstrap-tour/_config.yml +5 -0
  329. data/app/assets/components/bootstrap-tour/bower.json +20 -0
  330. data/app/assets/components/bootstrap-tour/build/css/bootstrap-tour-standalone.css +728 -0
  331. data/app/assets/components/bootstrap-tour/build/css/bootstrap-tour-standalone.min.css +26 -0
  332. data/app/assets/components/bootstrap-tour/build/css/bootstrap-tour.css +73 -0
  333. data/app/assets/components/bootstrap-tour/build/css/bootstrap-tour.min.css +22 -0
  334. data/app/assets/components/bootstrap-tour/build/js/bootstrap-tour-standalone.js +1374 -0
  335. data/app/assets/components/bootstrap-tour/build/js/bootstrap-tour-standalone.min.js +22 -0
  336. data/app/assets/components/bootstrap-tour/build/js/bootstrap-tour.js +802 -0
  337. data/app/assets/components/bootstrap-tour/build/js/bootstrap-tour.min.js +22 -0
  338. data/app/assets/components/bootstrap-tour/coffeelint.json +127 -0
  339. data/app/assets/components/bootstrap-tour/composer.json +13 -0
  340. data/app/assets/components/bootstrap-tour/gulpfile.coffee +214 -0
  341. data/app/assets/components/bootstrap-tour/gulpfile.js +2 -0
  342. data/app/assets/components/bootstrap-tour/karma.json +19 -0
  343. data/app/assets/components/bootstrap-tour/package.js +3 -0
  344. data/app/assets/components/bootstrap-tour/package.json +83 -0
  345. data/app/assets/components/bootstrap-tour/smart.json +9 -0
  346. data/app/assets/components/bootstrap-tour/src/coffee/bootstrap-tour.coffee +655 -0
  347. data/app/assets/components/bootstrap-tour/src/coffee/bootstrap-tour.docs.coffee +94 -0
  348. data/app/assets/components/bootstrap-tour/src/coffee/bootstrap-tour.spec.coffee +775 -0
  349. data/app/assets/components/bootstrap-wysiwyg/.bower.json +13 -0
  350. data/app/assets/components/bootstrap-wysiwyg/README.md +105 -0
  351. data/app/assets/components/bootstrap-wysiwyg/bootstrap-wysiwyg.js +200 -0
  352. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-apollo.js +2 -0
  353. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-basic.js +3 -0
  354. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-clj.js +18 -0
  355. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-css.js +2 -0
  356. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-dart.js +3 -0
  357. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-erlang.js +2 -0
  358. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-go.js +1 -0
  359. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-hs.js +2 -0
  360. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-lisp.js +3 -0
  361. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-llvm.js +1 -0
  362. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-lua.js +2 -0
  363. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-matlab.js +6 -0
  364. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-ml.js +2 -0
  365. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-mumps.js +2 -0
  366. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-n.js +4 -0
  367. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-pascal.js +3 -0
  368. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-proto.js +1 -0
  369. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-r.js +2 -0
  370. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-rd.js +1 -0
  371. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-scala.js +2 -0
  372. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-sql.js +2 -0
  373. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-tcl.js +3 -0
  374. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-tex.js +1 -0
  375. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-vb.js +2 -0
  376. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-vhdl.js +3 -0
  377. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-wiki.js +2 -0
  378. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-xq.js +3 -0
  379. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/lang-yaml.js +2 -0
  380. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/prettify.css +1 -0
  381. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/prettify.js +30 -0
  382. data/app/assets/components/bootstrap-wysiwyg/external/google-code-prettify/run_prettify.js +34 -0
  383. data/app/assets/components/bootstrap-wysiwyg/external/jquery.hotkeys.js +100 -0
  384. data/app/assets/components/bootstrap-wysiwyg/index.css +42 -0
  385. data/app/assets/components/bootstrap-wysiwyg/index.html +252 -0
  386. data/app/assets/components/bootstrap-wysiwyg/promo-868x350.png +0 -0
  387. data/app/assets/components/bootstrap-wysiwyg/republish.sh +1 -0
  388. data/app/assets/components/chartist/.bower.json +46 -0
  389. data/app/assets/components/chartist/CHANGELOG.md +163 -0
  390. data/app/assets/components/chartist/CODINGSTYLE.md +2500 -0
  391. data/app/assets/components/chartist/CONTRIBUTING.md +62 -0
  392. data/app/assets/components/chartist/README.md +64 -0
  393. data/app/assets/components/chartist/bower.json +35 -0
  394. data/app/assets/components/chartist/dist/chartist.js +4078 -0
  395. data/app/assets/components/chartist/dist/chartist.min.css +1 -0
  396. data/app/assets/components/chartist/dist/chartist.min.js +9 -0
  397. data/app/assets/components/chartist/dist/scss/chartist.scss +232 -0
  398. data/app/assets/components/chartist/dist/scss/settings/_chartist-settings.scss +85 -0
  399. data/app/assets/components/chosen_v1.2.0/.bower.json +14 -0
  400. data/app/assets/components/chosen_v1.2.0/chosen-sprite.png +0 -0
  401. data/app/assets/components/chosen_v1.2.0/chosen-sprite@2x.png +0 -0
  402. data/app/assets/components/chosen_v1.2.0/chosen.css +437 -0
  403. data/app/assets/components/chosen_v1.2.0/chosen.jquery.js +1229 -0
  404. data/app/assets/components/chosen_v1.2.0/chosen.jquery.min.js +2 -0
  405. data/app/assets/components/chosen_v1.2.0/chosen.min.css +3 -0
  406. data/app/assets/components/chosen_v1.2.0/chosen.proto.js +1249 -0
  407. data/app/assets/components/chosen_v1.2.0/chosen.proto.min.js +2 -0
  408. data/app/assets/components/chosen_v1.2.0/docsupport/chosen.png +0 -0
  409. data/app/assets/components/chosen_v1.2.0/docsupport/oss-credit.png +0 -0
  410. data/app/assets/components/chosen_v1.2.0/docsupport/prism.css +108 -0
  411. data/app/assets/components/chosen_v1.2.0/docsupport/prism.js +9 -0
  412. data/app/assets/components/chosen_v1.2.0/docsupport/style.css +204 -0
  413. data/app/assets/components/chosen_v1.2.0/index.html +1479 -0
  414. data/app/assets/components/chosen_v1.2.0/index.proto.html +1483 -0
  415. data/app/assets/components/chosen_v1.2.0/options.html +269 -0
  416. data/app/assets/components/cropper/.bower.json +63 -0
  417. data/app/assets/components/cropper/CHANGELOG.md +351 -0
  418. data/app/assets/components/cropper/LICENSE.md +21 -0
  419. data/app/assets/components/cropper/README.md +941 -0
  420. data/app/assets/components/cropper/bower.json +53 -0
  421. data/app/assets/components/cropper/dist/cropper.css +290 -0
  422. data/app/assets/components/cropper/dist/cropper.js +2519 -0
  423. data/app/assets/components/cropper/dist/cropper.min.css +9 -0
  424. data/app/assets/components/cropper/dist/cropper.min.js +10 -0
  425. data/app/assets/components/cropper/package.json +58 -0
  426. data/app/assets/components/cropper/src/img/bg.png +0 -0
  427. data/app/assets/components/cropper/src/js/bind.js +89 -0
  428. data/app/assets/components/cropper/src/js/build.js +120 -0
  429. data/app/assets/components/cropper/src/js/change.js +404 -0
  430. data/app/assets/components/cropper/src/js/cropper.js +17 -0
  431. data/app/assets/components/cropper/src/js/defaults.js +95 -0
  432. data/app/assets/components/cropper/src/js/handlers.js +191 -0
  433. data/app/assets/components/cropper/src/js/intro.js +24 -0
  434. data/app/assets/components/cropper/src/js/load.js +109 -0
  435. data/app/assets/components/cropper/src/js/methods.js +659 -0
  436. data/app/assets/components/cropper/src/js/outro.js +1 -0
  437. data/app/assets/components/cropper/src/js/plugin.js +37 -0
  438. data/app/assets/components/cropper/src/js/preview.js +93 -0
  439. data/app/assets/components/cropper/src/js/prototype.js +1 -0
  440. data/app/assets/components/cropper/src/js/render.js +392 -0
  441. data/app/assets/components/cropper/src/js/template.js +25 -0
  442. data/app/assets/components/cropper/src/js/utilities.js +173 -0
  443. data/app/assets/components/cropper/src/js/variables.js +73 -0
  444. data/app/assets/components/cropper/src/scss/_main.scss +249 -0
  445. data/app/assets/components/cropper/src/scss/_mixins.scss +23 -0
  446. data/app/assets/components/cropper/src/scss/_utilities.scss +49 -0
  447. data/app/assets/components/cropper/src/scss/_variables.scss +19 -0
  448. data/app/assets/components/cropper/src/scss/cropper.scss +14 -0
  449. data/app/assets/components/d3/.bower.json +36 -0
  450. data/app/assets/components/d3/.gitattributes +5 -0
  451. data/app/assets/components/d3/CONTRIBUTING.md +27 -0
  452. data/app/assets/components/d3/README.md +9 -0
  453. data/app/assets/components/d3/bower.json +25 -0
  454. data/app/assets/components/d3/d3.js +9550 -0
  455. data/app/assets/components/d3/d3.min.js +5 -0
  456. data/app/assets/components/d3/package.js +13 -0
  457. data/app/assets/components/datatable-bootstrap/css/dataTables.bootstrap.css +219 -0
  458. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/Sorting icons.psd +0 -0
  459. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/back_disabled.png +0 -0
  460. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/back_enabled.png +0 -0
  461. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/back_enabled_hover.png +0 -0
  462. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/favicon.ico +0 -0
  463. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/forward_disabled.png +0 -0
  464. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/forward_enabled.png +0 -0
  465. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/forward_enabled_hover.png +0 -0
  466. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/sort_asc.png +0 -0
  467. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/sort_asc_disabled.png +0 -0
  468. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/sort_both.png +0 -0
  469. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/sort_desc.png +0 -0
  470. data/app/assets/components/datatable-bootstrap/datatable-bootstrap/images/sort_desc_disabled.png +0 -0
  471. data/app/assets/components/datatable-bootstrap/js/dataTables.bootstrap.js +251 -0
  472. data/app/assets/components/datatable-bootstrap/js/dataTables.bootstrapPagination.js +117 -0
  473. data/app/assets/components/datatables/.bower.json +42 -0
  474. data/app/assets/components/datatables/Contributing.md +18 -0
  475. data/app/assets/components/datatables/Readme.md +53 -0
  476. data/app/assets/components/datatables/bower.json +32 -0
  477. data/app/assets/components/datatables/license.txt +20 -0
  478. data/app/assets/components/datatables/media/css/dataTables.bootstrap.css +187 -0
  479. data/app/assets/components/datatables/media/css/dataTables.bootstrap.min.css +1 -0
  480. data/app/assets/components/datatables/media/css/dataTables.foundation.css +117 -0
  481. data/app/assets/components/datatables/media/css/dataTables.foundation.min.css +1 -0
  482. data/app/assets/components/datatables/media/css/dataTables.jqueryui.css +482 -0
  483. data/app/assets/components/datatables/media/css/dataTables.jqueryui.min.css +1 -0
  484. data/app/assets/components/datatables/media/css/jquery.dataTables.css +453 -0
  485. data/app/assets/components/datatables/media/css/jquery.dataTables.min.css +1 -0
  486. data/app/assets/components/datatables/media/css/jquery.dataTables_themeroller.css +416 -0
  487. data/app/assets/components/datatables/media/images/Sorting icons.psd +0 -0
  488. data/app/assets/components/datatables/media/images/favicon.ico +0 -0
  489. data/app/assets/components/datatables/media/images/sort_asc.png +0 -0
  490. data/app/assets/components/datatables/media/images/sort_asc_disabled.png +0 -0
  491. data/app/assets/components/datatables/media/images/sort_both.png +0 -0
  492. data/app/assets/components/datatables/media/images/sort_desc.png +0 -0
  493. data/app/assets/components/datatables/media/images/sort_desc_disabled.png +0 -0
  494. data/app/assets/components/datatables/media/js/dataTables.bootstrap.js +220 -0
  495. data/app/assets/components/datatables/media/js/dataTables.bootstrap.min.js +9 -0
  496. data/app/assets/components/datatables/media/js/dataTables.foundation.js +156 -0
  497. data/app/assets/components/datatables/media/js/dataTables.foundation.min.js +8 -0
  498. data/app/assets/components/datatables/media/js/dataTables.jqueryui.js +164 -0
  499. data/app/assets/components/datatables/media/js/dataTables.jqueryui.min.js +9 -0
  500. data/app/assets/components/datatables/media/js/jquery.dataTables.js +15212 -0
  501. data/app/assets/components/datatables/media/js/jquery.dataTables.min.js +164 -0
  502. data/app/assets/components/datatables/media/js/jquery.js +5 -0
  503. data/app/assets/components/datatables-colvis/.bower.json +22 -0
  504. data/app/assets/components/datatables-colvis/License.txt +20 -0
  505. data/app/assets/components/datatables-colvis/README.md +38 -0
  506. data/app/assets/components/datatables-colvis/bower.json +12 -0
  507. data/app/assets/components/datatables-colvis/css/dataTables.colVis.css +185 -0
  508. data/app/assets/components/datatables-colvis/css/dataTables.colvis.jqueryui.css +41 -0
  509. data/app/assets/components/datatables-colvis/examples/button_order.xml +26 -0
  510. data/app/assets/components/datatables-colvis/examples/exclude_columns.xml +28 -0
  511. data/app/assets/components/datatables-colvis/examples/group_columns.xml +40 -0
  512. data/app/assets/components/datatables-colvis/examples/index.xml +18 -0
  513. data/app/assets/components/datatables-colvis/examples/jqueryui.xml +28 -0
  514. data/app/assets/components/datatables-colvis/examples/mouseover.xml +28 -0
  515. data/app/assets/components/datatables-colvis/examples/new_init.xml +26 -0
  516. data/app/assets/components/datatables-colvis/examples/restore.xml +33 -0
  517. data/app/assets/components/datatables-colvis/examples/simple.xml +25 -0
  518. data/app/assets/components/datatables-colvis/examples/text.xml +29 -0
  519. data/app/assets/components/datatables-colvis/examples/title_callback.xml +30 -0
  520. data/app/assets/components/datatables-colvis/examples/two_tables.xml +24 -0
  521. data/app/assets/components/datatables-colvis/examples/two_tables_identical.xml +35 -0
  522. data/app/assets/components/datatables-colvis/js/dataTables.colVis.js +1123 -0
  523. data/app/assets/components/datatables-colvis/make.sh +28 -0
  524. data/app/assets/components/eonasdan-bootstrap-datetimepicker/.gitattributes +63 -0
  525. data/app/assets/components/eonasdan-bootstrap-datetimepicker/.gitignore +12 -0
  526. data/app/assets/components/eonasdan-bootstrap-datetimepicker/.jscs.json +62 -0
  527. data/app/assets/components/eonasdan-bootstrap-datetimepicker/.npmignore +16 -0
  528. data/app/assets/components/eonasdan-bootstrap-datetimepicker/.travis.yml +9 -0
  529. data/app/assets/components/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +38 -0
  530. data/app/assets/components/eonasdan-bootstrap-datetimepicker/Gruntfile.js +195 -0
  531. data/app/assets/components/eonasdan-bootstrap-datetimepicker/LICENSE +21 -0
  532. data/app/assets/components/eonasdan-bootstrap-datetimepicker/README.md +20 -0
  533. data/app/assets/components/eonasdan-bootstrap-datetimepicker/bower.json +34 -0
  534. data/app/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +98 -0
  535. data/app/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +374 -0
  536. data/app/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +5 -0
  537. data/app/assets/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +2 -0
  538. data/app/assets/components/eonasdan-bootstrap-datetimepicker/component.json +9 -0
  539. data/app/assets/components/eonasdan-bootstrap-datetimepicker/composer.json +28 -0
  540. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +237 -0
  541. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +126 -0
  542. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/Events.md +97 -0
  543. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/Extras.md +95 -0
  544. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +22 -0
  545. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/Functions.md +82 -0
  546. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/Installing.md +161 -0
  547. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/Options.md +909 -0
  548. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +6 -0
  549. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +6 -0
  550. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/index.md +644 -0
  551. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/android-chrome-144x144.png +0 -0
  552. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/android-chrome-192x192.png +0 -0
  553. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/android-chrome-36x36.png +0 -0
  554. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/android-chrome-48x48.png +0 -0
  555. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/android-chrome-72x72.png +0 -0
  556. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/android-chrome-96x96.png +0 -0
  557. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-114x114.png +0 -0
  558. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-120x120.png +0 -0
  559. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-144x144.png +0 -0
  560. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-152x152.png +0 -0
  561. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-180x180.png +0 -0
  562. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-57x57.png +0 -0
  563. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-60x60.png +0 -0
  564. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-72x72.png +0 -0
  565. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-76x76.png +0 -0
  566. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon-precomposed.png +0 -0
  567. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/apple-touch-icon.png +0 -0
  568. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/base.html +74 -0
  569. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/browserconfig.xml +12 -0
  570. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/content.html +9 -0
  571. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/css/base.css +107 -0
  572. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/css/prettify-1.0.css +28 -0
  573. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/favicon-16x16.png +0 -0
  574. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/favicon-32x32.png +0 -0
  575. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/favicon-96x96.png +0 -0
  576. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/favicon.ico +0 -0
  577. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/js/base.js +52 -0
  578. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/js/prettify-1.0.min.js +28 -0
  579. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/manifest.json +41 -0
  580. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/mstile-144x144.png +0 -0
  581. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/mstile-150x150.png +0 -0
  582. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/mstile-310x150.png +0 -0
  583. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/mstile-310x310.png +0 -0
  584. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/mstile-70x70.png +0 -0
  585. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/nav.html +76 -0
  586. data/app/assets/components/eonasdan-bootstrap-datetimepicker/docs/theme/toc.html +10 -0
  587. data/app/assets/components/eonasdan-bootstrap-datetimepicker/mkdocs.yml +202 -0
  588. data/app/assets/components/eonasdan-bootstrap-datetimepicker/package.json +51 -0
  589. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2636 -0
  590. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +353 -0
  591. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +17 -0
  592. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +34 -0
  593. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +34 -0
  594. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/NuGet.exe +0 -0
  595. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +2 -0
  596. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +344 -0
  597. data/app/assets/components/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
  598. data/app/assets/components/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +88 -0
  599. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/publicApiSpec.js +1194 -0
  600. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/base.html +65 -0
  601. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/compile.js +17 -0
  602. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/index.js +24 -0
  603. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/out/.gitignore +1 -0
  604. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/pic/.gitignore +1 -0
  605. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/t1.html +11 -0
  606. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/t2.html +7 -0
  607. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/t3.html +6 -0
  608. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/t4.html +6 -0
  609. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/screen-capture/t5.html +1 -0
  610. data/app/assets/components/eonasdan-bootstrap-datetimepicker/test/timezoneDataHelper.js +11 -0
  611. data/app/assets/components/fastclick/.bower.json +23 -0
  612. data/app/assets/components/fastclick/README.md +140 -0
  613. data/app/assets/components/fastclick/bower.json +12 -0
  614. data/app/assets/components/fastclick/lib/fastclick.js +841 -0
  615. data/app/assets/components/flatdoc/.bower.json +39 -0
  616. data/app/assets/components/flatdoc/CONTRIBUTING.md +18 -0
  617. data/app/assets/components/flatdoc/History.md +52 -0
  618. data/app/assets/components/flatdoc/Notes.md +62 -0
  619. data/app/assets/components/flatdoc/Readme.md +309 -0
  620. data/app/assets/components/flatdoc/Reference.md +245 -0
  621. data/app/assets/components/flatdoc/bower.json +30 -0
  622. data/app/assets/components/flatdoc/examples/big-button.html +48 -0
  623. data/app/assets/components/flatdoc/examples/examples.md +110 -0
  624. data/app/assets/components/flatdoc/examples/github.html +42 -0
  625. data/app/assets/components/flatdoc/examples/index.html +45 -0
  626. data/app/assets/components/flatdoc/examples/patterns.html +63 -0
  627. data/app/assets/components/flatdoc/examples/patterns.md +1038 -0
  628. data/app/assets/components/flatdoc/flatdoc.js +548 -0
  629. data/app/assets/components/flatdoc/index.html +87 -0
  630. data/app/assets/components/flatdoc/legacy.js +369 -0
  631. data/app/assets/components/flatdoc/package.json +25 -0
  632. data/app/assets/components/flatdoc/reference.html +52 -0
  633. data/app/assets/components/flatdoc/support/Notes.md +28 -0
  634. data/app/assets/components/flatdoc/support/blur.jpg +0 -0
  635. data/app/assets/components/flatdoc/support/dox2md.js +128 -0
  636. data/app/assets/components/flatdoc/support/legacy-header.js +19 -0
  637. data/app/assets/components/flatdoc/support/preview.jpg +0 -0
  638. data/app/assets/components/flatdoc/support/theme.css +84 -0
  639. data/app/assets/components/flatdoc/support/theme.js +23 -0
  640. data/app/assets/components/flatdoc/support/vendor/html5shiv.js +8 -0
  641. data/app/assets/components/flatdoc/support/vendor/jquery.fillsize.js +74 -0
  642. data/app/assets/components/flatdoc/support/vendor/jquery.js +5 -0
  643. data/app/assets/components/flatdoc/support/vendor/jquery.smartquotes.js +41 -0
  644. data/app/assets/components/flatdoc/support/vendor/respond.js +342 -0
  645. data/app/assets/components/flatdoc/templates/blank.html +27 -0
  646. data/app/assets/components/flatdoc/templates/template.html +67 -0
  647. data/app/assets/components/flatdoc/theme-white/script.js +243 -0
  648. data/app/assets/components/flatdoc/theme-white/style.css +879 -0
  649. data/app/assets/components/flatdoc/theme-white/style.styl +655 -0
  650. data/app/assets/components/flatdoc/v/0.8/flatdoc.js +15 -0
  651. data/app/assets/components/flatdoc/v/0.8/legacy.js +23 -0
  652. data/app/assets/components/flatdoc/v/0.8/templates/blank.html +27 -0
  653. data/app/assets/components/flatdoc/v/0.8/templates/template.html +67 -0
  654. data/app/assets/components/flatdoc/v/0.8/templates/templates/blank.html +27 -0
  655. data/app/assets/components/flatdoc/v/0.8/templates/templates/template.html +67 -0
  656. data/app/assets/components/flatdoc/v/0.8/theme-white/script.js +243 -0
  657. data/app/assets/components/flatdoc/v/0.8/theme-white/style.css +879 -0
  658. data/app/assets/components/flatdoc/v/0.8.0/flatdoc.js +25 -0
  659. data/app/assets/components/flatdoc/v/0.8.0/legacy.js +23 -0
  660. data/app/assets/components/flatdoc/v/0.8.0/templates/blank.html +27 -0
  661. data/app/assets/components/flatdoc/v/0.8.0/templates/template.html +67 -0
  662. data/app/assets/components/flatdoc/v/0.8.0/templates/templates/blank.html +27 -0
  663. data/app/assets/components/flatdoc/v/0.8.0/templates/templates/template.html +67 -0
  664. data/app/assets/components/flatdoc/v/0.8.0/theme-white/script.js +318 -0
  665. data/app/assets/components/flatdoc/v/0.8.0/theme-white/style.css +831 -0
  666. data/app/assets/components/flatdoc/v/0.8.1/flatdoc.js +24 -0
  667. data/app/assets/components/flatdoc/v/0.8.1/legacy.js +23 -0
  668. data/app/assets/components/flatdoc/v/0.8.1/templates/blank.html +27 -0
  669. data/app/assets/components/flatdoc/v/0.8.1/templates/template.html +67 -0
  670. data/app/assets/components/flatdoc/v/0.8.1/templates/templates/blank.html +27 -0
  671. data/app/assets/components/flatdoc/v/0.8.1/templates/templates/template.html +67 -0
  672. data/app/assets/components/flatdoc/v/0.8.1/theme-white/script.js +318 -0
  673. data/app/assets/components/flatdoc/v/0.8.1/theme-white/style.css +879 -0
  674. data/app/assets/components/flatdoc/v/0.8.2/flatdoc.js +24 -0
  675. data/app/assets/components/flatdoc/v/0.8.2/legacy.js +23 -0
  676. data/app/assets/components/flatdoc/v/0.8.2/templates/blank.html +27 -0
  677. data/app/assets/components/flatdoc/v/0.8.2/templates/template.html +67 -0
  678. data/app/assets/components/flatdoc/v/0.8.2/theme-white/script.js +318 -0
  679. data/app/assets/components/flatdoc/v/0.8.2/theme-white/style.css +879 -0
  680. data/app/assets/components/flatdoc/v/0.8.3/flatdoc.js +24 -0
  681. data/app/assets/components/flatdoc/v/0.8.3/legacy.js +23 -0
  682. data/app/assets/components/flatdoc/v/0.8.3/templates/blank.html +27 -0
  683. data/app/assets/components/flatdoc/v/0.8.3/templates/template.html +67 -0
  684. data/app/assets/components/flatdoc/v/0.8.3/theme-white/script.js +318 -0
  685. data/app/assets/components/flatdoc/v/0.8.3/theme-white/style.css +879 -0
  686. data/app/assets/components/flatdoc/v/0.8.4/flatdoc.js +24 -0
  687. data/app/assets/components/flatdoc/v/0.8.4/legacy.js +23 -0
  688. data/app/assets/components/flatdoc/v/0.8.4/templates/blank.html +27 -0
  689. data/app/assets/components/flatdoc/v/0.8.4/templates/template.html +67 -0
  690. data/app/assets/components/flatdoc/v/0.8.4/theme-white/script.js +319 -0
  691. data/app/assets/components/flatdoc/v/0.8.4/theme-white/style.css +879 -0
  692. data/app/assets/components/flatdoc/v/0.8.5/flatdoc.js +25 -0
  693. data/app/assets/components/flatdoc/v/0.8.5/legacy.js +23 -0
  694. data/app/assets/components/flatdoc/v/0.8.5/templates/blank.html +27 -0
  695. data/app/assets/components/flatdoc/v/0.8.5/templates/template.html +67 -0
  696. data/app/assets/components/flatdoc/v/0.8.5/theme-white/script.js +243 -0
  697. data/app/assets/components/flatdoc/v/0.8.5/theme-white/style.css +879 -0
  698. data/app/assets/components/flatdoc/v/0.8.6/flatdoc.js +15 -0
  699. data/app/assets/components/flatdoc/v/0.8.6/legacy.js +23 -0
  700. data/app/assets/components/flatdoc/v/0.8.6/templates/blank.html +27 -0
  701. data/app/assets/components/flatdoc/v/0.8.6/templates/template.html +67 -0
  702. data/app/assets/components/flatdoc/v/0.8.6/theme-white/script.js +243 -0
  703. data/app/assets/components/flatdoc/v/0.8.6/theme-white/style.css +879 -0
  704. data/app/assets/components/flatdoc/v/0.9/flatdoc.js +20 -0
  705. data/app/assets/components/flatdoc/v/0.9/legacy.js +23 -0
  706. data/app/assets/components/flatdoc/v/0.9/templates/blank.html +27 -0
  707. data/app/assets/components/flatdoc/v/0.9/templates/template.html +67 -0
  708. data/app/assets/components/flatdoc/v/0.9/theme-white/script.js +243 -0
  709. data/app/assets/components/flatdoc/v/0.9/theme-white/style.css +879 -0
  710. data/app/assets/components/flatdoc/v/0.9.0/flatdoc.js +20 -0
  711. data/app/assets/components/flatdoc/v/0.9.0/legacy.js +23 -0
  712. data/app/assets/components/flatdoc/v/0.9.0/templates/blank.html +27 -0
  713. data/app/assets/components/flatdoc/v/0.9.0/templates/template.html +67 -0
  714. data/app/assets/components/flatdoc/v/0.9.0/theme-white/script.js +243 -0
  715. data/app/assets/components/flatdoc/v/0.9.0/theme-white/style.css +879 -0
  716. data/app/assets/components/flot-spline/.bower.json +32 -0
  717. data/app/assets/components/flot-spline/bower.json +23 -0
  718. data/app/assets/components/flot-spline/js/jquery.flot.spline.js +212 -0
  719. data/app/assets/components/flot-spline/js/jquery.flot.spline.min.js +1 -0
  720. data/app/assets/components/flot.tooltip/.bower.json +24 -0
  721. data/app/assets/components/flot.tooltip/bower.json +14 -0
  722. data/app/assets/components/flot.tooltip/js/excanvas.min.js +1 -0
  723. data/app/assets/components/flot.tooltip/js/jquery.flot.js +3168 -0
  724. data/app/assets/components/flot.tooltip/js/jquery.flot.tooltip.js +517 -0
  725. data/app/assets/components/flot.tooltip/js/jquery.flot.tooltip.min.js +12 -0
  726. data/app/assets/components/flot.tooltip/js/jquery.flot.tooltip.source.js +506 -0
  727. data/app/assets/components/fullcalendar/.bower.json +62 -0
  728. data/app/assets/components/fullcalendar/bower.json +53 -0
  729. data/app/assets/components/fullcalendar/changelog.md +898 -0
  730. data/app/assets/components/fullcalendar/dist/fullcalendar.css +1069 -0
  731. data/app/assets/components/fullcalendar/dist/fullcalendar.js +11170 -0
  732. data/app/assets/components/fullcalendar/dist/fullcalendar.min.css +5 -0
  733. data/app/assets/components/fullcalendar/dist/fullcalendar.min.js +9 -0
  734. data/app/assets/components/fullcalendar/dist/fullcalendar.print.css +202 -0
  735. data/app/assets/components/fullcalendar/dist/gcal.js +180 -0
  736. data/app/assets/components/fullcalendar/dist/lang/ar-ma.js +1 -0
  737. data/app/assets/components/fullcalendar/dist/lang/ar-sa.js +1 -0
  738. data/app/assets/components/fullcalendar/dist/lang/ar-tn.js +1 -0
  739. data/app/assets/components/fullcalendar/dist/lang/ar.js +1 -0
  740. data/app/assets/components/fullcalendar/dist/lang/bg.js +1 -0
  741. data/app/assets/components/fullcalendar/dist/lang/ca.js +1 -0
  742. data/app/assets/components/fullcalendar/dist/lang/cs.js +1 -0
  743. data/app/assets/components/fullcalendar/dist/lang/da.js +1 -0
  744. data/app/assets/components/fullcalendar/dist/lang/de-at.js +1 -0
  745. data/app/assets/components/fullcalendar/dist/lang/de.js +1 -0
  746. data/app/assets/components/fullcalendar/dist/lang/el.js +1 -0
  747. data/app/assets/components/fullcalendar/dist/lang/en-au.js +1 -0
  748. data/app/assets/components/fullcalendar/dist/lang/en-ca.js +1 -0
  749. data/app/assets/components/fullcalendar/dist/lang/en-gb.js +1 -0
  750. data/app/assets/components/fullcalendar/dist/lang/es.js +1 -0
  751. data/app/assets/components/fullcalendar/dist/lang/fa.js +1 -0
  752. data/app/assets/components/fullcalendar/dist/lang/fi.js +1 -0
  753. data/app/assets/components/fullcalendar/dist/lang/fr-ca.js +1 -0
  754. data/app/assets/components/fullcalendar/dist/lang/fr.js +1 -0
  755. data/app/assets/components/fullcalendar/dist/lang/he.js +1 -0
  756. data/app/assets/components/fullcalendar/dist/lang/hi.js +1 -0
  757. data/app/assets/components/fullcalendar/dist/lang/hr.js +1 -0
  758. data/app/assets/components/fullcalendar/dist/lang/hu.js +1 -0
  759. data/app/assets/components/fullcalendar/dist/lang/id.js +1 -0
  760. data/app/assets/components/fullcalendar/dist/lang/is.js +1 -0
  761. data/app/assets/components/fullcalendar/dist/lang/it.js +1 -0
  762. data/app/assets/components/fullcalendar/dist/lang/ja.js +1 -0
  763. data/app/assets/components/fullcalendar/dist/lang/ko.js +1 -0
  764. data/app/assets/components/fullcalendar/dist/lang/lt.js +1 -0
  765. data/app/assets/components/fullcalendar/dist/lang/lv.js +1 -0
  766. data/app/assets/components/fullcalendar/dist/lang/nb.js +1 -0
  767. data/app/assets/components/fullcalendar/dist/lang/nl.js +1 -0
  768. data/app/assets/components/fullcalendar/dist/lang/pl.js +1 -0
  769. data/app/assets/components/fullcalendar/dist/lang/pt-br.js +1 -0
  770. data/app/assets/components/fullcalendar/dist/lang/pt.js +1 -0
  771. data/app/assets/components/fullcalendar/dist/lang/ro.js +1 -0
  772. data/app/assets/components/fullcalendar/dist/lang/ru.js +1 -0
  773. data/app/assets/components/fullcalendar/dist/lang/sk.js +1 -0
  774. data/app/assets/components/fullcalendar/dist/lang/sl.js +1 -0
  775. data/app/assets/components/fullcalendar/dist/lang/sr-cyrl.js +1 -0
  776. data/app/assets/components/fullcalendar/dist/lang/sr.js +1 -0
  777. data/app/assets/components/fullcalendar/dist/lang/sv.js +1 -0
  778. data/app/assets/components/fullcalendar/dist/lang/th.js +1 -0
  779. data/app/assets/components/fullcalendar/dist/lang/tr.js +1 -0
  780. data/app/assets/components/fullcalendar/dist/lang/uk.js +1 -0
  781. data/app/assets/components/fullcalendar/dist/lang/vi.js +1 -0
  782. data/app/assets/components/fullcalendar/dist/lang/zh-cn.js +1 -0
  783. data/app/assets/components/fullcalendar/dist/lang/zh-tw.js +1 -0
  784. data/app/assets/components/fullcalendar/dist/lang-all.js +4 -0
  785. data/app/assets/components/fullcalendar/license.txt +20 -0
  786. data/app/assets/components/fullcalendar/readme.md +16 -0
  787. data/app/assets/components/html.sortable/.bower.json +53 -0
  788. data/app/assets/components/html.sortable/README.md +408 -0
  789. data/app/assets/components/html.sortable/bower.json +44 -0
  790. data/app/assets/components/html.sortable/dist/html.sortable.angular.js +90 -0
  791. data/app/assets/components/html.sortable/dist/html.sortable.angular.min.js +2 -0
  792. data/app/assets/components/html.sortable/dist/html.sortable.js +429 -0
  793. data/app/assets/components/html.sortable/dist/html.sortable.min.js +2 -0
  794. data/app/assets/components/html.sortable/examples/angular-connected.html +70 -0
  795. data/app/assets/components/html.sortable/examples/angular-connected.js +41 -0
  796. data/app/assets/components/html.sortable/examples/angular-ngRepeat-connected.html +63 -0
  797. data/app/assets/components/html.sortable/examples/angular-ngRepeat-connected.js +30 -0
  798. data/app/assets/components/html.sortable/examples/angular-single.html +60 -0
  799. data/app/assets/components/html.sortable/examples/angular-single.js +20 -0
  800. data/app/assets/components/html.sortable/examples/index.html +324 -0
  801. data/app/assets/components/ika.jvectormap/.bower.json +24 -0
  802. data/app/assets/components/ika.jvectormap/bower.json +16 -0
  803. data/app/assets/components/ika.jvectormap/jquery-jvectormap-1.2.2.css +37 -0
  804. data/app/assets/components/ika.jvectormap/jquery-jvectormap-1.2.2.min.js +8 -0
  805. data/app/assets/components/ika.jvectormap/jquery-jvectormap-europe-merc-en.js +1 -0
  806. data/app/assets/components/ika.jvectormap/jquery-jvectormap-europe-mill-en.js +1 -0
  807. data/app/assets/components/ika.jvectormap/jquery-jvectormap-us-aea-en.js +1 -0
  808. data/app/assets/components/ika.jvectormap/jquery-jvectormap-us-lcc-en.js +1 -0
  809. data/app/assets/components/ika.jvectormap/jquery-jvectormap-us-merc-en.js +1 -0
  810. data/app/assets/components/ika.jvectormap/jquery-jvectormap-us-mill-en.js +1 -0
  811. data/app/assets/components/ika.jvectormap/jquery-jvectormap-world-merc-en.js +1 -0
  812. data/app/assets/components/ika.jvectormap/jquery-jvectormap-world-mill-en.js +1 -0
  813. data/app/assets/components/jQuery-Storage-API/.bower.json +50 -0
  814. data/app/assets/components/jQuery-Storage-API/bower.json +41 -0
  815. data/app/assets/components/jQuery-Storage-API/jquery.storageapi.js +451 -0
  816. data/app/assets/components/jQuery-Storage-API/jquery.storageapi.min.js +2 -0
  817. data/app/assets/components/jQuery-gMap/.bower.json +14 -0
  818. data/app/assets/components/jQuery-gMap/Gruntfile.coffee +24 -0
  819. data/app/assets/components/jQuery-gMap/README.md +111 -0
  820. data/app/assets/components/jQuery-gMap/css/example.css +158 -0
  821. data/app/assets/components/jQuery-gMap/examples.html +150 -0
  822. data/app/assets/components/jQuery-gMap/examples.js +105 -0
  823. data/app/assets/components/jQuery-gMap/images/gmap_pin.png +0 -0
  824. data/app/assets/components/jQuery-gMap/images/gmap_pin_grey.png +0 -0
  825. data/app/assets/components/jQuery-gMap/images/gmap_pin_orange.png +0 -0
  826. data/app/assets/components/jQuery-gMap/jquery.gmap.js +272 -0
  827. data/app/assets/components/jQuery-gMap/jquery.gmap.min.js +10 -0
  828. data/app/assets/components/jQuery-gMap/package.json +28 -0
  829. data/app/assets/components/jqcloud2/.bower.json +54 -0
  830. data/app/assets/components/jqcloud2/Gruntfile.js +96 -0
  831. data/app/assets/components/jqcloud2/LICENSE.txt +24 -0
  832. data/app/assets/components/jqcloud2/README.md +71 -0
  833. data/app/assets/components/jqcloud2/bower.json +41 -0
  834. data/app/assets/components/jqcloud2/dist/jqcloud.css +55 -0
  835. data/app/assets/components/jqcloud2/dist/jqcloud.js +520 -0
  836. data/app/assets/components/jqcloud2/dist/jqcloud.min.css +8 -0
  837. data/app/assets/components/jqcloud2/dist/jqcloud.min.js +8 -0
  838. data/app/assets/components/jqcloud2/package.json +43 -0
  839. data/app/assets/components/jqcloud2/src/jqcloud.css +56 -0
  840. data/app/assets/components/jqcloud2/src/jqcloud.js +521 -0
  841. data/app/assets/components/jqgrid/.bower.json +23 -0
  842. data/app/assets/components/jqgrid/Gruntfile.js +175 -0
  843. data/app/assets/components/jqgrid/README.md +19 -0
  844. data/app/assets/components/jqgrid/bower.json +12 -0
  845. data/app/assets/components/jqgrid/build.gradle +108 -0
  846. data/app/assets/components/jqgrid/build.properties +9 -0
  847. data/app/assets/components/jqgrid/build.xml +85 -0
  848. data/app/assets/components/jqgrid/config.js +17 -0
  849. data/app/assets/components/jqgrid/css/addons/ui.multiselect.css +30 -0
  850. data/app/assets/components/jqgrid/css/ui.jqgrid-bootstrap-ui.css +31 -0
  851. data/app/assets/components/jqgrid/css/ui.jqgrid-bootstrap.css +867 -0
  852. data/app/assets/components/jqgrid/css/ui.jqgrid.css +268 -0
  853. data/app/assets/components/jqgrid/gradle/wrapper/gradle-wrapper.jar +0 -0
  854. data/app/assets/components/jqgrid/gradle/wrapper/gradle-wrapper.properties +6 -0
  855. data/app/assets/components/jqgrid/gradlew.bat +90 -0
  856. data/app/assets/components/jqgrid/install.txt +43 -0
  857. data/app/assets/components/jqgrid/jqGrid.jquery.json +40 -0
  858. data/app/assets/components/jqgrid/jqGrid.js +26 -0
  859. data/app/assets/components/jqgrid/jquery.jqGrid.js +50 -0
  860. data/app/assets/components/jqgrid/jquery.js +4 -0
  861. data/app/assets/components/jqgrid/js/addons/ui.multiselect.js +342 -0
  862. data/app/assets/components/jqgrid/js/grid.base.js +5022 -0
  863. data/app/assets/components/jqgrid/js/grid.celledit.js +520 -0
  864. data/app/assets/components/jqgrid/js/grid.common.js +767 -0
  865. data/app/assets/components/jqgrid/js/grid.filter.js +1467 -0
  866. data/app/assets/components/jqgrid/js/grid.formedit.js +2196 -0
  867. data/app/assets/components/jqgrid/js/grid.grouping.js +703 -0
  868. data/app/assets/components/jqgrid/js/grid.import.js +438 -0
  869. data/app/assets/components/jqgrid/js/grid.inlinedit.js +683 -0
  870. data/app/assets/components/jqgrid/js/grid.jqueryui.js +592 -0
  871. data/app/assets/components/jqgrid/js/grid.pivot.js +544 -0
  872. data/app/assets/components/jqgrid/js/grid.subgrid.js +317 -0
  873. data/app/assets/components/jqgrid/js/grid.treegrid.js +846 -0
  874. data/app/assets/components/jqgrid/js/grid.utils.js +261 -0
  875. data/app/assets/components/jqgrid/js/i18n/grid.locale-ar.js +166 -0
  876. data/app/assets/components/jqgrid/js/i18n/grid.locale-bg.js +172 -0
  877. data/app/assets/components/jqgrid/js/i18n/grid.locale-ca.js +168 -0
  878. data/app/assets/components/jqgrid/js/i18n/grid.locale-cn.js +207 -0
  879. data/app/assets/components/jqgrid/js/i18n/grid.locale-cs.js +168 -0
  880. data/app/assets/components/jqgrid/js/i18n/grid.locale-de.js +215 -0
  881. data/app/assets/components/jqgrid/js/i18n/grid.locale-dk.js +168 -0
  882. data/app/assets/components/jqgrid/js/i18n/grid.locale-el.js +166 -0
  883. data/app/assets/components/jqgrid/js/i18n/grid.locale-en.js +208 -0
  884. data/app/assets/components/jqgrid/js/i18n/grid.locale-es.js +169 -0
  885. data/app/assets/components/jqgrid/js/i18n/grid.locale-fa.js +185 -0
  886. data/app/assets/components/jqgrid/js/i18n/grid.locale-fi.js +169 -0
  887. data/app/assets/components/jqgrid/js/i18n/grid.locale-fr.js +166 -0
  888. data/app/assets/components/jqgrid/js/i18n/grid.locale-gl.js +166 -0
  889. data/app/assets/components/jqgrid/js/i18n/grid.locale-he.js +167 -0
  890. data/app/assets/components/jqgrid/js/i18n/grid.locale-hr.js +202 -0
  891. data/app/assets/components/jqgrid/js/i18n/grid.locale-hu.js +169 -0
  892. data/app/assets/components/jqgrid/js/i18n/grid.locale-id.js +208 -0
  893. data/app/assets/components/jqgrid/js/i18n/grid.locale-is.js +166 -0
  894. data/app/assets/components/jqgrid/js/i18n/grid.locale-it.js +200 -0
  895. data/app/assets/components/jqgrid/js/i18n/grid.locale-ja.js +196 -0
  896. data/app/assets/components/jqgrid/js/i18n/grid.locale-kr.js +168 -0
  897. data/app/assets/components/jqgrid/js/i18n/grid.locale-lt.js +168 -0
  898. data/app/assets/components/jqgrid/js/i18n/grid.locale-me.js +168 -0
  899. data/app/assets/components/jqgrid/js/i18n/grid.locale-nl.js +189 -0
  900. data/app/assets/components/jqgrid/js/i18n/grid.locale-no.js +75 -0
  901. data/app/assets/components/jqgrid/js/i18n/grid.locale-pl.js +172 -0
  902. data/app/assets/components/jqgrid/js/i18n/grid.locale-pt-br.js +176 -0
  903. data/app/assets/components/jqgrid/js/i18n/grid.locale-pt.js +165 -0
  904. data/app/assets/components/jqgrid/js/i18n/grid.locale-ro.js +179 -0
  905. data/app/assets/components/jqgrid/js/i18n/grid.locale-ru.js +169 -0
  906. data/app/assets/components/jqgrid/js/i18n/grid.locale-sk.js +167 -0
  907. data/app/assets/components/jqgrid/js/i18n/grid.locale-sr-latin.js +168 -0
  908. data/app/assets/components/jqgrid/js/i18n/grid.locale-sr.js +168 -0
  909. data/app/assets/components/jqgrid/js/i18n/grid.locale-sv.js +167 -0
  910. data/app/assets/components/jqgrid/js/i18n/grid.locale-th.js +168 -0
  911. data/app/assets/components/jqgrid/js/i18n/grid.locale-tr.js +166 -0
  912. data/app/assets/components/jqgrid/js/i18n/grid.locale-tw.js +169 -0
  913. data/app/assets/components/jqgrid/js/i18n/grid.locale-uk.js +167 -0
  914. data/app/assets/components/jqgrid/js/i18n/grid.locale-vi.js +208 -0
  915. data/app/assets/components/jqgrid/js/jqDnR.js +108 -0
  916. data/app/assets/components/jqgrid/js/jqModal.js +85 -0
  917. data/app/assets/components/jqgrid/js/jquery.fmatter.js +485 -0
  918. data/app/assets/components/jqgrid/js/jquery.jqGrid.js +14674 -0
  919. data/app/assets/components/jqgrid/js/minified/grid.base.js +11 -0
  920. data/app/assets/components/jqgrid/js/minified/grid.celledit.js +8 -0
  921. data/app/assets/components/jqgrid/js/minified/grid.common.js +8 -0
  922. data/app/assets/components/jqgrid/js/minified/grid.filter.js +8 -0
  923. data/app/assets/components/jqgrid/js/minified/grid.formedit.js +9 -0
  924. data/app/assets/components/jqgrid/js/minified/grid.grouping.js +8 -0
  925. data/app/assets/components/jqgrid/js/minified/grid.import.js +8 -0
  926. data/app/assets/components/jqgrid/js/minified/grid.inlinedit.js +8 -0
  927. data/app/assets/components/jqgrid/js/minified/grid.jqueryui.js +8 -0
  928. data/app/assets/components/jqgrid/js/minified/grid.pivot.js +8 -0
  929. data/app/assets/components/jqgrid/js/minified/grid.subgrid.js +8 -0
  930. data/app/assets/components/jqgrid/js/minified/grid.treegrid.js +8 -0
  931. data/app/assets/components/jqgrid/js/minified/grid.utils.js +8 -0
  932. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-ar.js +1 -0
  933. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-bg.js +1 -0
  934. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-ca.js +1 -0
  935. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-cn.js +1 -0
  936. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-cs.js +1 -0
  937. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-de.js +1 -0
  938. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-dk.js +1 -0
  939. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-el.js +1 -0
  940. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-en.js +1 -0
  941. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-es.js +1 -0
  942. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-fa.js +1 -0
  943. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-fi.js +1 -0
  944. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-fr.js +1 -0
  945. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-gl.js +1 -0
  946. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-he.js +1 -0
  947. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-hr.js +1 -0
  948. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-hu.js +1 -0
  949. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-id.js +1 -0
  950. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-is.js +1 -0
  951. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-it.js +1 -0
  952. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-ja.js +1 -0
  953. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-kr.js +1 -0
  954. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-lt.js +1 -0
  955. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-me.js +1 -0
  956. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-nl.js +1 -0
  957. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-no.js +1 -0
  958. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-pl.js +1 -0
  959. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-pt-br.js +1 -0
  960. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-pt.js +1 -0
  961. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-ro.js +1 -0
  962. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-ru.js +1 -0
  963. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-sk.js +1 -0
  964. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-sr-latin.js +1 -0
  965. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-sr.js +1 -0
  966. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-sv.js +1 -0
  967. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-th.js +1 -0
  968. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-tr.js +1 -0
  969. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-tw.js +1 -0
  970. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-ua.js +1 -0
  971. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-uk.js +1 -0
  972. data/app/assets/components/jqgrid/js/minified/i18n/grid.locale-vi.js +1 -0
  973. data/app/assets/components/jqgrid/js/minified/jqDnR.js +8 -0
  974. data/app/assets/components/jqgrid/js/minified/jqModal.js +8 -0
  975. data/app/assets/components/jqgrid/js/minified/jquery.fmatter.js +8 -0
  976. data/app/assets/components/jqgrid/js/minified/jquery.jqGrid.min.js +19 -0
  977. data/app/assets/components/jqgrid/package.json +25 -0
  978. data/app/assets/components/jqgrid/plugins/grid.addons.js +704 -0
  979. data/app/assets/components/jqgrid/plugins/grid.postext.js +64 -0
  980. data/app/assets/components/jqgrid/plugins/grid.setcolumns.js +126 -0
  981. data/app/assets/components/jqgrid/plugins/grid.tbltogrid.js +106 -0
  982. data/app/assets/components/jqgrid/plugins/jquery.contextmenu.js +147 -0
  983. data/app/assets/components/jqgrid/plugins/jquery.searchFilter.js +716 -0
  984. data/app/assets/components/jqgrid/plugins/jquery.tablednd.js +388 -0
  985. data/app/assets/components/jqgrid/plugins/searchFilter.css +6 -0
  986. data/app/assets/components/jquery/.bower.json +38 -0
  987. data/app/assets/components/jquery/MIT-LICENSE.txt +21 -0
  988. data/app/assets/components/jquery/bower.json +28 -0
  989. data/app/assets/components/jquery/dist/jquery.js +9814 -0
  990. data/app/assets/components/jquery/dist/jquery.min.js +5 -0
  991. data/app/assets/components/jquery/src/ajax/jsonp.js +89 -0
  992. data/app/assets/components/jquery/src/ajax/load.js +75 -0
  993. data/app/assets/components/jquery/src/ajax/parseJSON.js +13 -0
  994. data/app/assets/components/jquery/src/ajax/parseXML.js +28 -0
  995. data/app/assets/components/jquery/src/ajax/script.js +64 -0
  996. data/app/assets/components/jquery/src/ajax/var/nonce.js +5 -0
  997. data/app/assets/components/jquery/src/ajax/var/rquery.js +3 -0
  998. data/app/assets/components/jquery/src/ajax/xhr.js +136 -0
  999. data/app/assets/components/jquery/src/ajax.js +786 -0
  1000. data/app/assets/components/jquery/src/attributes/attr.js +141 -0
  1001. data/app/assets/components/jquery/src/attributes/classes.js +158 -0
  1002. data/app/assets/components/jquery/src/attributes/prop.js +94 -0
  1003. data/app/assets/components/jquery/src/attributes/support.js +35 -0
  1004. data/app/assets/components/jquery/src/attributes/val.js +161 -0
  1005. data/app/assets/components/jquery/src/attributes.js +11 -0
  1006. data/app/assets/components/jquery/src/callbacks.js +205 -0
  1007. data/app/assets/components/jquery/src/core/access.js +60 -0
  1008. data/app/assets/components/jquery/src/core/init.js +123 -0
  1009. data/app/assets/components/jquery/src/core/parseHTML.js +39 -0
  1010. data/app/assets/components/jquery/src/core/ready.js +97 -0
  1011. data/app/assets/components/jquery/src/core/var/rsingleTag.js +4 -0
  1012. data/app/assets/components/jquery/src/core.js +502 -0
  1013. data/app/assets/components/jquery/src/css/addGetHookIf.js +22 -0
  1014. data/app/assets/components/jquery/src/css/curCSS.js +57 -0
  1015. data/app/assets/components/jquery/src/css/defaultDisplay.js +70 -0
  1016. data/app/assets/components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  1017. data/app/assets/components/jquery/src/css/support.js +96 -0
  1018. data/app/assets/components/jquery/src/css/swap.js +28 -0
  1019. data/app/assets/components/jquery/src/css/var/cssExpand.js +3 -0
  1020. data/app/assets/components/jquery/src/css/var/getStyles.js +12 -0
  1021. data/app/assets/components/jquery/src/css/var/isHidden.js +13 -0
  1022. data/app/assets/components/jquery/src/css/var/rmargin.js +3 -0
  1023. data/app/assets/components/jquery/src/css/var/rnumnonpx.js +5 -0
  1024. data/app/assets/components/jquery/src/css.js +450 -0
  1025. data/app/assets/components/jquery/src/data/Data.js +181 -0
  1026. data/app/assets/components/jquery/src/data/accepts.js +20 -0
  1027. data/app/assets/components/jquery/src/data/var/data_priv.js +5 -0
  1028. data/app/assets/components/jquery/src/data/var/data_user.js +5 -0
  1029. data/app/assets/components/jquery/src/data.js +178 -0
  1030. data/app/assets/components/jquery/src/deferred.js +149 -0
  1031. data/app/assets/components/jquery/src/deprecated.js +13 -0
  1032. data/app/assets/components/jquery/src/dimensions.js +50 -0
  1033. data/app/assets/components/jquery/src/effects/Tween.js +114 -0
  1034. data/app/assets/components/jquery/src/effects/animatedSelector.js +13 -0
  1035. data/app/assets/components/jquery/src/effects.js +648 -0
  1036. data/app/assets/components/jquery/src/event/ajax.js +13 -0
  1037. data/app/assets/components/jquery/src/event/alias.js +39 -0
  1038. data/app/assets/components/jquery/src/event/support.js +9 -0
  1039. data/app/assets/components/jquery/src/event.js +868 -0
  1040. data/app/assets/components/jquery/src/exports/amd.js +24 -0
  1041. data/app/assets/components/jquery/src/exports/global.js +32 -0
  1042. data/app/assets/components/jquery/src/intro.js +44 -0
  1043. data/app/assets/components/jquery/src/jquery.js +37 -0
  1044. data/app/assets/components/jquery/src/manipulation/_evalUrl.js +18 -0
  1045. data/app/assets/components/jquery/src/manipulation/support.js +32 -0
  1046. data/app/assets/components/jquery/src/manipulation/var/rcheckableType.js +3 -0
  1047. data/app/assets/components/jquery/src/manipulation.js +580 -0
  1048. data/app/assets/components/jquery/src/offset.js +207 -0
  1049. data/app/assets/components/jquery/src/outro.js +1 -0
  1050. data/app/assets/components/jquery/src/queue/delay.js +22 -0
  1051. data/app/assets/components/jquery/src/queue.js +142 -0
  1052. data/app/assets/components/jquery/src/selector-native.js +172 -0
  1053. data/app/assets/components/jquery/src/selector-sizzle.js +14 -0
  1054. data/app/assets/components/jquery/src/selector.js +1 -0
  1055. data/app/assets/components/jquery/src/serialize.js +111 -0
  1056. data/app/assets/components/jquery/src/sizzle/dist/sizzle.js +2067 -0
  1057. data/app/assets/components/jquery/src/sizzle/dist/sizzle.min.js +3 -0
  1058. data/app/assets/components/jquery/src/traversing/findFilter.js +100 -0
  1059. data/app/assets/components/jquery/src/traversing/var/rneedsContext.js +6 -0
  1060. data/app/assets/components/jquery/src/traversing.js +199 -0
  1061. data/app/assets/components/jquery/src/var/arr.js +3 -0
  1062. data/app/assets/components/jquery/src/var/class2type.js +4 -0
  1063. data/app/assets/components/jquery/src/var/concat.js +5 -0
  1064. data/app/assets/components/jquery/src/var/hasOwn.js +5 -0
  1065. data/app/assets/components/jquery/src/var/indexOf.js +5 -0
  1066. data/app/assets/components/jquery/src/var/pnum.js +3 -0
  1067. data/app/assets/components/jquery/src/var/push.js +5 -0
  1068. data/app/assets/components/jquery/src/var/rnotwhite.js +3 -0
  1069. data/app/assets/components/jquery/src/var/slice.js +5 -0
  1070. data/app/assets/components/jquery/src/var/strundefined.js +3 -0
  1071. data/app/assets/components/jquery/src/var/support.js +4 -0
  1072. data/app/assets/components/jquery/src/var/toString.js +5 -0
  1073. data/app/assets/components/jquery/src/wrap.js +79 -0
  1074. data/app/assets/components/jquery-classyloader/.bower.json +13 -0
  1075. data/app/assets/components/jquery-classyloader/css/documentation.css +1 -0
  1076. data/app/assets/components/jquery-classyloader/css/fontawesome-webfont.woff +0 -0
  1077. data/app/assets/components/jquery-classyloader/index.html +317 -0
  1078. data/app/assets/components/jquery-classyloader/js/jquery.classyloader.js +157 -0
  1079. data/app/assets/components/jquery-classyloader/js/jquery.classyloader.min.js +9 -0
  1080. data/app/assets/components/jquery-classyloader/js/jquery.min.js +6 -0
  1081. data/app/assets/components/jquery-knob/.bower.json +22 -0
  1082. data/app/assets/components/jquery-knob/README.md +135 -0
  1083. data/app/assets/components/jquery-knob/bower.json +13 -0
  1084. data/app/assets/components/jquery-knob/dist/jquery.knob.min.js +1 -0
  1085. data/app/assets/components/jquery-knob/excanvas.js +924 -0
  1086. data/app/assets/components/jquery-knob/index.html +303 -0
  1087. data/app/assets/components/jquery-knob/js/jquery.knob.js +802 -0
  1088. data/app/assets/components/jquery-knob/knob.jquery.json +37 -0
  1089. data/app/assets/components/jquery-knob/secretplan.jpg +0 -0
  1090. data/app/assets/components/jquery-localize-i18n/.bower.json +13 -0
  1091. data/app/assets/components/jquery-localize-i18n/.travis.yml +6 -0
  1092. data/app/assets/components/jquery-localize-i18n/CONTRIBUTING.md +32 -0
  1093. data/app/assets/components/jquery-localize-i18n/Gruntfile.coffee +77 -0
  1094. data/app/assets/components/jquery-localize-i18n/README.md +180 -0
  1095. data/app/assets/components/jquery-localize-i18n/dist/jquery.localize.js +191 -0
  1096. data/app/assets/components/jquery-localize-i18n/dist/jquery.localize.min.js +4 -0
  1097. data/app/assets/components/jquery-localize-i18n/examples/absolute_prefix_path.html +25 -0
  1098. data/app/assets/components/jquery-localize-i18n/examples/basic_usage.html +35 -0
  1099. data/app/assets/components/jquery-localize-i18n/examples/custom_callback_usage.html +31 -0
  1100. data/app/assets/components/jquery-localize-i18n/examples/language_and_country.html +24 -0
  1101. data/app/assets/components/jquery-localize-i18n/examples/multiple_language_packs.html +27 -0
  1102. data/app/assets/components/jquery-localize-i18n/examples/ruby_round.gif +0 -0
  1103. data/app/assets/components/jquery-localize-i18n/examples/ruby_square.gif +0 -0
  1104. data/app/assets/components/jquery-localize-i18n/examples/skip_language.html +34 -0
  1105. data/app/assets/components/jquery-localize-i18n/libs/jquery/jquery.js +9555 -0
  1106. data/app/assets/components/jquery-localize-i18n/libs/jquery-loader.js +12 -0
  1107. data/app/assets/components/jquery-localize-i18n/libs/qunit/qunit.css +244 -0
  1108. data/app/assets/components/jquery-localize-i18n/libs/qunit/qunit.js +2152 -0
  1109. data/app/assets/components/jquery-localize-i18n/localize.jquery.json +26 -0
  1110. data/app/assets/components/jquery-localize-i18n/package.json +33 -0
  1111. data/app/assets/components/jquery-localize-i18n/src/jquery.localize.coffee +139 -0
  1112. data/app/assets/components/jquery-localize-i18n/test/.jshintrc +32 -0
  1113. data/app/assets/components/jquery-localize-i18n/test/lang/custom/test-fo.json +1 -0
  1114. data/app/assets/components/jquery-localize-i18n/test/lang/footer-en.json +2 -0
  1115. data/app/assets/components/jquery-localize-i18n/test/lang/header-en.json +2 -0
  1116. data/app/assets/components/jquery-localize-i18n/test/lang/test-en-US.json +1 -0
  1117. data/app/assets/components/jquery-localize-i18n/test/lang/test-en.json +1 -0
  1118. data/app/assets/components/jquery-localize-i18n/test/lang/test-ja-XX.json +1 -0
  1119. data/app/assets/components/jquery-localize-i18n/test/lang/test-ja.foo +4 -0
  1120. data/app/assets/components/jquery-localize-i18n/test/lang/test-ja.json +26 -0
  1121. data/app/assets/components/jquery-localize-i18n/test/lang/test2-ja.json +2 -0
  1122. data/app/assets/components/jquery-localize-i18n/test/localize.html +28 -0
  1123. data/app/assets/components/jquery-localize-i18n/test/localize_test.coffee +175 -0
  1124. data/app/assets/components/jquery-localize-i18n/test/localize_test.js +286 -0
  1125. data/app/assets/components/jquery-localize-i18n/test/qunit_setup.coffee +36 -0
  1126. data/app/assets/components/jquery-localize-i18n/test/qunit_setup.js +57 -0
  1127. data/app/assets/components/jquery-ui/.bower.json +21 -0
  1128. data/app/assets/components/jquery-ui/AUTHORS.txt +284 -0
  1129. data/app/assets/components/jquery-ui/LICENSE.txt +44 -0
  1130. data/app/assets/components/jquery-ui/README.md +11 -0
  1131. data/app/assets/components/jquery-ui/bower.json +12 -0
  1132. data/app/assets/components/jquery-ui/component.json +13 -0
  1133. data/app/assets/components/jquery-ui/composer.json +69 -0
  1134. data/app/assets/components/jquery-ui/jquery-ui.js +16617 -0
  1135. data/app/assets/components/jquery-ui/jquery-ui.min.js +13 -0
  1136. data/app/assets/components/jquery-ui/package.json +71 -0
  1137. data/app/assets/components/jquery-ui/themes/base/accordion.css +36 -0
  1138. data/app/assets/components/jquery-ui/themes/base/all.css +12 -0
  1139. data/app/assets/components/jquery-ui/themes/base/autocomplete.css +16 -0
  1140. data/app/assets/components/jquery-ui/themes/base/base.css +28 -0
  1141. data/app/assets/components/jquery-ui/themes/base/button.css +114 -0
  1142. data/app/assets/components/jquery-ui/themes/base/core.css +93 -0
  1143. data/app/assets/components/jquery-ui/themes/base/datepicker.css +175 -0
  1144. data/app/assets/components/jquery-ui/themes/base/dialog.css +70 -0
  1145. data/app/assets/components/jquery-ui/themes/base/draggable.css +12 -0
  1146. data/app/assets/components/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1147. data/app/assets/components/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1148. data/app/assets/components/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1149. data/app/assets/components/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1150. data/app/assets/components/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1151. data/app/assets/components/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1152. data/app/assets/components/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1153. data/app/assets/components/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1154. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
  1155. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  1156. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  1157. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
  1158. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  1159. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  1160. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  1161. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
  1162. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  1163. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  1164. data/app/assets/components/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  1165. data/app/assets/components/jquery-ui/themes/base/jquery-ui.css +1225 -0
  1166. data/app/assets/components/jquery-ui/themes/base/jquery-ui.min.css +7 -0
  1167. data/app/assets/components/jquery-ui/themes/base/menu.css +63 -0
  1168. data/app/assets/components/jquery-ui/themes/base/progressbar.css +28 -0
  1169. data/app/assets/components/jquery-ui/themes/base/resizable.css +78 -0
  1170. data/app/assets/components/jquery-ui/themes/base/selectable.css +17 -0
  1171. data/app/assets/components/jquery-ui/themes/base/selectmenu.css +59 -0
  1172. data/app/assets/components/jquery-ui/themes/base/slider.css +75 -0
  1173. data/app/assets/components/jquery-ui/themes/base/sortable.css +12 -0
  1174. data/app/assets/components/jquery-ui/themes/base/spinner.css +65 -0
  1175. data/app/assets/components/jquery-ui/themes/base/tabs.css +51 -0
  1176. data/app/assets/components/jquery-ui/themes/base/theme.css +410 -0
  1177. data/app/assets/components/jquery-ui/themes/base/tooltip.css +21 -0
  1178. data/app/assets/components/jquery-ui/themes/black-tie/images/animated-overlay.gif +0 -0
  1179. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  1180. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  1181. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
  1182. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  1183. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  1184. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  1185. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  1186. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  1187. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  1188. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
  1189. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
  1190. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
  1191. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
  1192. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
  1193. data/app/assets/components/jquery-ui/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
  1194. data/app/assets/components/jquery-ui/themes/black-tie/jquery-ui.css +1225 -0
  1195. data/app/assets/components/jquery-ui/themes/black-tie/jquery-ui.min.css +7 -0
  1196. data/app/assets/components/jquery-ui/themes/black-tie/theme.css +410 -0
  1197. data/app/assets/components/jquery-ui/themes/blitzer/images/animated-overlay.gif +0 -0
  1198. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  1199. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  1200. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
  1201. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  1202. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1203. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  1204. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  1205. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  1206. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  1207. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
  1208. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
  1209. data/app/assets/components/jquery-ui/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
  1210. data/app/assets/components/jquery-ui/themes/blitzer/jquery-ui.css +1225 -0
  1211. data/app/assets/components/jquery-ui/themes/blitzer/jquery-ui.min.css +7 -0
  1212. data/app/assets/components/jquery-ui/themes/blitzer/theme.css +410 -0
  1213. data/app/assets/components/jquery-ui/themes/cupertino/images/animated-overlay.gif +0 -0
  1214. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  1215. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  1216. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  1217. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
  1218. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  1219. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  1220. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  1221. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  1222. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  1223. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  1224. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  1225. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
  1226. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  1227. data/app/assets/components/jquery-ui/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  1228. data/app/assets/components/jquery-ui/themes/cupertino/jquery-ui.css +1225 -0
  1229. data/app/assets/components/jquery-ui/themes/cupertino/jquery-ui.min.css +7 -0
  1230. data/app/assets/components/jquery-ui/themes/cupertino/theme.css +410 -0
  1231. data/app/assets/components/jquery-ui/themes/dark-hive/images/animated-overlay.gif +0 -0
  1232. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1233. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1234. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1235. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  1236. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  1237. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  1238. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  1239. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1240. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  1241. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  1242. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  1243. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  1244. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  1245. data/app/assets/components/jquery-ui/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  1246. data/app/assets/components/jquery-ui/themes/dark-hive/jquery-ui.css +1225 -0
  1247. data/app/assets/components/jquery-ui/themes/dark-hive/jquery-ui.min.css +7 -0
  1248. data/app/assets/components/jquery-ui/themes/dark-hive/theme.css +410 -0
  1249. data/app/assets/components/jquery-ui/themes/dot-luv/images/animated-overlay.gif +0 -0
  1250. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  1251. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  1252. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
  1253. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  1254. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  1255. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1256. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
  1257. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  1258. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
  1259. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
  1260. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
  1261. data/app/assets/components/jquery-ui/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
  1262. data/app/assets/components/jquery-ui/themes/dot-luv/jquery-ui.css +1225 -0
  1263. data/app/assets/components/jquery-ui/themes/dot-luv/jquery-ui.min.css +7 -0
  1264. data/app/assets/components/jquery-ui/themes/dot-luv/theme.css +410 -0
  1265. data/app/assets/components/jquery-ui/themes/eggplant/images/animated-overlay.gif +0 -0
  1266. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1267. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  1268. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
  1269. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
  1270. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  1271. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  1272. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  1273. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  1274. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  1275. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
  1276. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
  1277. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
  1278. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
  1279. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
  1280. data/app/assets/components/jquery-ui/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
  1281. data/app/assets/components/jquery-ui/themes/eggplant/jquery-ui.css +1225 -0
  1282. data/app/assets/components/jquery-ui/themes/eggplant/jquery-ui.min.css +7 -0
  1283. data/app/assets/components/jquery-ui/themes/eggplant/theme.css +410 -0
  1284. data/app/assets/components/jquery-ui/themes/excite-bike/images/animated-overlay.gif +0 -0
  1285. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  1286. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  1287. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  1288. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  1289. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
  1290. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
  1291. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  1292. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  1293. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
  1294. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
  1295. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
  1296. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
  1297. data/app/assets/components/jquery-ui/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
  1298. data/app/assets/components/jquery-ui/themes/excite-bike/jquery-ui.css +1225 -0
  1299. data/app/assets/components/jquery-ui/themes/excite-bike/jquery-ui.min.css +7 -0
  1300. data/app/assets/components/jquery-ui/themes/excite-bike/theme.css +410 -0
  1301. data/app/assets/components/jquery-ui/themes/flick/images/animated-overlay.gif +0 -0
  1302. data/app/assets/components/jquery-ui/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1303. data/app/assets/components/jquery-ui/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  1304. data/app/assets/components/jquery-ui/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
  1305. data/app/assets/components/jquery-ui/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1306. data/app/assets/components/jquery-ui/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1307. data/app/assets/components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  1308. data/app/assets/components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  1309. data/app/assets/components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  1310. data/app/assets/components/jquery-ui/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
  1311. data/app/assets/components/jquery-ui/themes/flick/images/ui-icons_454545_256x240.png +0 -0
  1312. data/app/assets/components/jquery-ui/themes/flick/images/ui-icons_666666_256x240.png +0 -0
  1313. data/app/assets/components/jquery-ui/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
  1314. data/app/assets/components/jquery-ui/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
  1315. data/app/assets/components/jquery-ui/themes/flick/jquery-ui.css +1225 -0
  1316. data/app/assets/components/jquery-ui/themes/flick/jquery-ui.min.css +7 -0
  1317. data/app/assets/components/jquery-ui/themes/flick/theme.css +410 -0
  1318. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/animated-overlay.gif +0 -0
  1319. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  1320. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  1321. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  1322. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  1323. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  1324. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  1325. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
  1326. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1327. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  1328. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
  1329. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
  1330. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
  1331. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
  1332. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
  1333. data/app/assets/components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
  1334. data/app/assets/components/jquery-ui/themes/hot-sneaks/jquery-ui.css +1225 -0
  1335. data/app/assets/components/jquery-ui/themes/hot-sneaks/jquery-ui.min.css +7 -0
  1336. data/app/assets/components/jquery-ui/themes/hot-sneaks/theme.css +410 -0
  1337. data/app/assets/components/jquery-ui/themes/humanity/images/animated-overlay.gif +0 -0
  1338. data/app/assets/components/jquery-ui/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  1339. data/app/assets/components/jquery-ui/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  1340. data/app/assets/components/jquery-ui/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
  1341. data/app/assets/components/jquery-ui/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  1342. data/app/assets/components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  1343. data/app/assets/components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  1344. data/app/assets/components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  1345. data/app/assets/components/jquery-ui/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  1346. data/app/assets/components/jquery-ui/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
  1347. data/app/assets/components/jquery-ui/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
  1348. data/app/assets/components/jquery-ui/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
  1349. data/app/assets/components/jquery-ui/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
  1350. data/app/assets/components/jquery-ui/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
  1351. data/app/assets/components/jquery-ui/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
  1352. data/app/assets/components/jquery-ui/themes/humanity/jquery-ui.css +1225 -0
  1353. data/app/assets/components/jquery-ui/themes/humanity/jquery-ui.min.css +7 -0
  1354. data/app/assets/components/jquery-ui/themes/humanity/theme.css +410 -0
  1355. data/app/assets/components/jquery-ui/themes/le-frog/images/animated-overlay.gif +0 -0
  1356. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  1357. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  1358. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  1359. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  1360. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  1361. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  1362. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  1363. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  1364. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  1365. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
  1366. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
  1367. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
  1368. data/app/assets/components/jquery-ui/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
  1369. data/app/assets/components/jquery-ui/themes/le-frog/jquery-ui.css +1225 -0
  1370. data/app/assets/components/jquery-ui/themes/le-frog/jquery-ui.min.css +7 -0
  1371. data/app/assets/components/jquery-ui/themes/le-frog/theme.css +410 -0
  1372. data/app/assets/components/jquery-ui/themes/mint-choc/images/animated-overlay.gif +0 -0
  1373. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1374. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
  1375. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  1376. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  1377. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  1378. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  1379. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  1380. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  1381. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
  1382. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
  1383. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
  1384. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
  1385. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
  1386. data/app/assets/components/jquery-ui/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
  1387. data/app/assets/components/jquery-ui/themes/mint-choc/jquery-ui.css +1225 -0
  1388. data/app/assets/components/jquery-ui/themes/mint-choc/jquery-ui.min.css +7 -0
  1389. data/app/assets/components/jquery-ui/themes/mint-choc/theme.css +410 -0
  1390. data/app/assets/components/jquery-ui/themes/overcast/images/animated-overlay.gif +0 -0
  1391. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1392. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  1393. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
  1394. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  1395. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  1396. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
  1397. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  1398. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  1399. data/app/assets/components/jquery-ui/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  1400. data/app/assets/components/jquery-ui/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
  1401. data/app/assets/components/jquery-ui/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
  1402. data/app/assets/components/jquery-ui/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
  1403. data/app/assets/components/jquery-ui/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
  1404. data/app/assets/components/jquery-ui/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
  1405. data/app/assets/components/jquery-ui/themes/overcast/jquery-ui.css +1225 -0
  1406. data/app/assets/components/jquery-ui/themes/overcast/jquery-ui.min.css +7 -0
  1407. data/app/assets/components/jquery-ui/themes/overcast/theme.css +410 -0
  1408. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/animated-overlay.gif +0 -0
  1409. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  1410. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  1411. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  1412. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  1413. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  1414. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  1415. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  1416. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  1417. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  1418. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
  1419. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
  1420. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
  1421. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
  1422. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
  1423. data/app/assets/components/jquery-ui/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
  1424. data/app/assets/components/jquery-ui/themes/pepper-grinder/jquery-ui.css +1225 -0
  1425. data/app/assets/components/jquery-ui/themes/pepper-grinder/jquery-ui.min.css +7 -0
  1426. data/app/assets/components/jquery-ui/themes/pepper-grinder/theme.css +410 -0
  1427. data/app/assets/components/jquery-ui/themes/redmond/images/animated-overlay.gif +0 -0
  1428. data/app/assets/components/jquery-ui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1429. data/app/assets/components/jquery-ui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  1430. data/app/assets/components/jquery-ui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  1431. data/app/assets/components/jquery-ui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  1432. data/app/assets/components/jquery-ui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1433. data/app/assets/components/jquery-ui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  1434. data/app/assets/components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  1435. data/app/assets/components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  1436. data/app/assets/components/jquery-ui/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  1437. data/app/assets/components/jquery-ui/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  1438. data/app/assets/components/jquery-ui/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  1439. data/app/assets/components/jquery-ui/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  1440. data/app/assets/components/jquery-ui/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  1441. data/app/assets/components/jquery-ui/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  1442. data/app/assets/components/jquery-ui/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  1443. data/app/assets/components/jquery-ui/themes/redmond/jquery-ui.css +1225 -0
  1444. data/app/assets/components/jquery-ui/themes/redmond/jquery-ui.min.css +7 -0
  1445. data/app/assets/components/jquery-ui/themes/redmond/theme.css +410 -0
  1446. data/app/assets/components/jquery-ui/themes/smoothness/images/animated-overlay.gif +0 -0
  1447. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1448. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1449. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1450. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1451. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1452. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1453. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1454. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1455. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  1456. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  1457. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  1458. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  1459. data/app/assets/components/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  1460. data/app/assets/components/jquery-ui/themes/smoothness/jquery-ui.css +1225 -0
  1461. data/app/assets/components/jquery-ui/themes/smoothness/jquery-ui.min.css +7 -0
  1462. data/app/assets/components/jquery-ui/themes/smoothness/theme.css +410 -0
  1463. data/app/assets/components/jquery-ui/themes/south-street/images/animated-overlay.gif +0 -0
  1464. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  1465. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  1466. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  1467. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  1468. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  1469. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  1470. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  1471. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  1472. data/app/assets/components/jquery-ui/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  1473. data/app/assets/components/jquery-ui/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
  1474. data/app/assets/components/jquery-ui/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
  1475. data/app/assets/components/jquery-ui/themes/south-street/images/ui-icons_8DC262_256x240.png +0 -0
  1476. data/app/assets/components/jquery-ui/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
  1477. data/app/assets/components/jquery-ui/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
  1478. data/app/assets/components/jquery-ui/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
  1479. data/app/assets/components/jquery-ui/themes/south-street/jquery-ui.css +1225 -0
  1480. data/app/assets/components/jquery-ui/themes/south-street/jquery-ui.min.css +7 -0
  1481. data/app/assets/components/jquery-ui/themes/south-street/theme.css +410 -0
  1482. data/app/assets/components/jquery-ui/themes/start/images/animated-overlay.gif +0 -0
  1483. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
  1484. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  1485. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
  1486. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  1487. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  1488. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  1489. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  1490. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  1491. data/app/assets/components/jquery-ui/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  1492. data/app/assets/components/jquery-ui/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
  1493. data/app/assets/components/jquery-ui/themes/start/images/ui-icons_056b93_256x240.png +0 -0
  1494. data/app/assets/components/jquery-ui/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
  1495. data/app/assets/components/jquery-ui/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
  1496. data/app/assets/components/jquery-ui/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
  1497. data/app/assets/components/jquery-ui/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
  1498. data/app/assets/components/jquery-ui/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
  1499. data/app/assets/components/jquery-ui/themes/start/jquery-ui.css +1225 -0
  1500. data/app/assets/components/jquery-ui/themes/start/jquery-ui.min.css +7 -0
  1501. data/app/assets/components/jquery-ui/themes/start/theme.css +410 -0
  1502. data/app/assets/components/jquery-ui/themes/sunny/images/animated-overlay.gif +0 -0
  1503. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  1504. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1505. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1506. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  1507. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  1508. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  1509. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  1510. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  1511. data/app/assets/components/jquery-ui/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  1512. data/app/assets/components/jquery-ui/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
  1513. data/app/assets/components/jquery-ui/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
  1514. data/app/assets/components/jquery-ui/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
  1515. data/app/assets/components/jquery-ui/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
  1516. data/app/assets/components/jquery-ui/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
  1517. data/app/assets/components/jquery-ui/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
  1518. data/app/assets/components/jquery-ui/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
  1519. data/app/assets/components/jquery-ui/themes/sunny/jquery-ui.css +1225 -0
  1520. data/app/assets/components/jquery-ui/themes/sunny/jquery-ui.min.css +7 -0
  1521. data/app/assets/components/jquery-ui/themes/sunny/theme.css +410 -0
  1522. data/app/assets/components/jquery-ui/themes/swanky-purse/images/animated-overlay.gif +0 -0
  1523. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  1524. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
  1525. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
  1526. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  1527. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
  1528. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
  1529. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  1530. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  1531. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
  1532. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
  1533. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
  1534. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
  1535. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
  1536. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
  1537. data/app/assets/components/jquery-ui/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
  1538. data/app/assets/components/jquery-ui/themes/swanky-purse/jquery-ui.css +1225 -0
  1539. data/app/assets/components/jquery-ui/themes/swanky-purse/jquery-ui.min.css +7 -0
  1540. data/app/assets/components/jquery-ui/themes/swanky-purse/theme.css +410 -0
  1541. data/app/assets/components/jquery-ui/themes/trontastic/images/animated-overlay.gif +0 -0
  1542. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  1543. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
  1544. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  1545. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  1546. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  1547. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
  1548. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  1549. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  1550. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  1551. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
  1552. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
  1553. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
  1554. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
  1555. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
  1556. data/app/assets/components/jquery-ui/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
  1557. data/app/assets/components/jquery-ui/themes/trontastic/jquery-ui.css +1225 -0
  1558. data/app/assets/components/jquery-ui/themes/trontastic/jquery-ui.min.css +7 -0
  1559. data/app/assets/components/jquery-ui/themes/trontastic/theme.css +410 -0
  1560. data/app/assets/components/jquery-ui/themes/ui-darkness/images/animated-overlay.gif +0 -0
  1561. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1562. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1563. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
  1564. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  1565. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1566. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  1567. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1568. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  1569. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  1570. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
  1571. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
  1572. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
  1573. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
  1574. data/app/assets/components/jquery-ui/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
  1575. data/app/assets/components/jquery-ui/themes/ui-darkness/jquery-ui.css +1225 -0
  1576. data/app/assets/components/jquery-ui/themes/ui-darkness/jquery-ui.min.css +7 -0
  1577. data/app/assets/components/jquery-ui/themes/ui-darkness/theme.css +410 -0
  1578. data/app/assets/components/jquery-ui/themes/ui-lightness/images/animated-overlay.gif +0 -0
  1579. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  1580. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  1581. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  1582. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  1583. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  1584. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1585. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  1586. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  1587. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  1588. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  1589. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  1590. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  1591. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  1592. data/app/assets/components/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  1593. data/app/assets/components/jquery-ui/themes/ui-lightness/jquery-ui.css +1225 -0
  1594. data/app/assets/components/jquery-ui/themes/ui-lightness/jquery-ui.min.css +7 -0
  1595. data/app/assets/components/jquery-ui/themes/ui-lightness/theme.css +410 -0
  1596. data/app/assets/components/jquery-ui/themes/vader/images/animated-overlay.gif +0 -0
  1597. data/app/assets/components/jquery-ui/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1598. data/app/assets/components/jquery-ui/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1599. data/app/assets/components/jquery-ui/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  1600. data/app/assets/components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  1601. data/app/assets/components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  1602. data/app/assets/components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  1603. data/app/assets/components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  1604. data/app/assets/components/jquery-ui/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  1605. data/app/assets/components/jquery-ui/themes/vader/images/ui-icons_666666_256x240.png +0 -0
  1606. data/app/assets/components/jquery-ui/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
  1607. data/app/assets/components/jquery-ui/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
  1608. data/app/assets/components/jquery-ui/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
  1609. data/app/assets/components/jquery-ui/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
  1610. data/app/assets/components/jquery-ui/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
  1611. data/app/assets/components/jquery-ui/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
  1612. data/app/assets/components/jquery-ui/themes/vader/jquery-ui.css +1225 -0
  1613. data/app/assets/components/jquery-ui/themes/vader/jquery-ui.min.css +7 -0
  1614. data/app/assets/components/jquery-ui/themes/vader/theme.css +410 -0
  1615. data/app/assets/components/jquery-ui/ui/.jshintrc +24 -0
  1616. data/app/assets/components/jquery-ui/ui/accordion.js +590 -0
  1617. data/app/assets/components/jquery-ui/ui/autocomplete.js +628 -0
  1618. data/app/assets/components/jquery-ui/ui/button.js +411 -0
  1619. data/app/assets/components/jquery-ui/ui/core.js +304 -0
  1620. data/app/assets/components/jquery-ui/ui/datepicker.js +2084 -0
  1621. data/app/assets/components/jquery-ui/ui/dialog.js +876 -0
  1622. data/app/assets/components/jquery-ui/ui/draggable.js +1132 -0
  1623. data/app/assets/components/jquery-ui/ui/droppable.js +413 -0
  1624. data/app/assets/components/jquery-ui/ui/effect-blind.js +90 -0
  1625. data/app/assets/components/jquery-ui/ui/effect-bounce.js +123 -0
  1626. data/app/assets/components/jquery-ui/ui/effect-clip.js +77 -0
  1627. data/app/assets/components/jquery-ui/ui/effect-drop.js +75 -0
  1628. data/app/assets/components/jquery-ui/ui/effect-explode.js +107 -0
  1629. data/app/assets/components/jquery-ui/ui/effect-fade.js +40 -0
  1630. data/app/assets/components/jquery-ui/ui/effect-fold.js +86 -0
  1631. data/app/assets/components/jquery-ui/ui/effect-highlight.js +60 -0
  1632. data/app/assets/components/jquery-ui/ui/effect-puff.js +60 -0
  1633. data/app/assets/components/jquery-ui/ui/effect-pulsate.js +73 -0
  1634. data/app/assets/components/jquery-ui/ui/effect-scale.js +89 -0
  1635. data/app/assets/components/jquery-ui/ui/effect-shake.js +84 -0
  1636. data/app/assets/components/jquery-ui/ui/effect-size.js +233 -0
  1637. data/app/assets/components/jquery-ui/ui/effect-slide.js +74 -0
  1638. data/app/assets/components/jquery-ui/ui/effect-transfer.js +57 -0
  1639. data/app/assets/components/jquery-ui/ui/effect.js +1301 -0
  1640. data/app/assets/components/jquery-ui/ui/i18n/datepicker-af.js +37 -0
  1641. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ar-DZ.js +37 -0
  1642. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ar.js +38 -0
  1643. data/app/assets/components/jquery-ui/ui/i18n/datepicker-az.js +37 -0
  1644. data/app/assets/components/jquery-ui/ui/i18n/datepicker-be.js +37 -0
  1645. data/app/assets/components/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
  1646. data/app/assets/components/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
  1647. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
  1648. data/app/assets/components/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
  1649. data/app/assets/components/jquery-ui/ui/i18n/datepicker-cy-GB.js +37 -0
  1650. data/app/assets/components/jquery-ui/ui/i18n/datepicker-da.js +37 -0
  1651. data/app/assets/components/jquery-ui/ui/i18n/datepicker-de.js +37 -0
  1652. data/app/assets/components/jquery-ui/ui/i18n/datepicker-el.js +37 -0
  1653. data/app/assets/components/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
  1654. data/app/assets/components/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
  1655. data/app/assets/components/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
  1656. data/app/assets/components/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
  1657. data/app/assets/components/jquery-ui/ui/i18n/datepicker-es.js +37 -0
  1658. data/app/assets/components/jquery-ui/ui/i18n/datepicker-et.js +37 -0
  1659. data/app/assets/components/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
  1660. data/app/assets/components/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
  1661. data/app/assets/components/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
  1662. data/app/assets/components/jquery-ui/ui/i18n/datepicker-fo.js +37 -0
  1663. data/app/assets/components/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
  1664. data/app/assets/components/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
  1665. data/app/assets/components/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
  1666. data/app/assets/components/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
  1667. data/app/assets/components/jquery-ui/ui/i18n/datepicker-he.js +37 -0
  1668. data/app/assets/components/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
  1669. data/app/assets/components/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
  1670. data/app/assets/components/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
  1671. data/app/assets/components/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
  1672. data/app/assets/components/jquery-ui/ui/i18n/datepicker-id.js +37 -0
  1673. data/app/assets/components/jquery-ui/ui/i18n/datepicker-is.js +37 -0
  1674. data/app/assets/components/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
  1675. data/app/assets/components/jquery-ui/ui/i18n/datepicker-it.js +37 -0
  1676. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
  1677. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ka.js +35 -0
  1678. data/app/assets/components/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
  1679. data/app/assets/components/jquery-ui/ui/i18n/datepicker-km.js +37 -0
  1680. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
  1681. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
  1682. data/app/assets/components/jquery-ui/ui/i18n/datepicker-lb.js +37 -0
  1683. data/app/assets/components/jquery-ui/ui/i18n/datepicker-lt.js +37 -0
  1684. data/app/assets/components/jquery-ui/ui/i18n/datepicker-lv.js +37 -0
  1685. data/app/assets/components/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
  1686. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
  1687. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
  1688. data/app/assets/components/jquery-ui/ui/i18n/datepicker-nb.js +36 -0
  1689. data/app/assets/components/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
  1690. data/app/assets/components/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
  1691. data/app/assets/components/jquery-ui/ui/i18n/datepicker-nn.js +36 -0
  1692. data/app/assets/components/jquery-ui/ui/i18n/datepicker-no.js +37 -0
  1693. data/app/assets/components/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
  1694. data/app/assets/components/jquery-ui/ui/i18n/datepicker-pt-BR.js +37 -0
  1695. data/app/assets/components/jquery-ui/ui/i18n/datepicker-pt.js +36 -0
  1696. data/app/assets/components/jquery-ui/ui/i18n/datepicker-rm.js +35 -0
  1697. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
  1698. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
  1699. data/app/assets/components/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
  1700. data/app/assets/components/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
  1701. data/app/assets/components/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
  1702. data/app/assets/components/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
  1703. data/app/assets/components/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
  1704. data/app/assets/components/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
  1705. data/app/assets/components/jquery-ui/ui/i18n/datepicker-ta.js +37 -0
  1706. data/app/assets/components/jquery-ui/ui/i18n/datepicker-th.js +37 -0
  1707. data/app/assets/components/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
  1708. data/app/assets/components/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
  1709. data/app/assets/components/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
  1710. data/app/assets/components/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
  1711. data/app/assets/components/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
  1712. data/app/assets/components/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
  1713. data/app/assets/components/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
  1714. data/app/assets/components/jquery-ui/ui/menu.js +646 -0
  1715. data/app/assets/components/jquery-ui/ui/minified/accordion.min.js +4 -0
  1716. data/app/assets/components/jquery-ui/ui/minified/autocomplete.min.js +4 -0
  1717. data/app/assets/components/jquery-ui/ui/minified/button.min.js +4 -0
  1718. data/app/assets/components/jquery-ui/ui/minified/core.min.js +4 -0
  1719. data/app/assets/components/jquery-ui/ui/minified/datepicker.min.js +5 -0
  1720. data/app/assets/components/jquery-ui/ui/minified/dialog.min.js +4 -0
  1721. data/app/assets/components/jquery-ui/ui/minified/draggable.min.js +4 -0
  1722. data/app/assets/components/jquery-ui/ui/minified/droppable.min.js +4 -0
  1723. data/app/assets/components/jquery-ui/ui/minified/effect-blind.min.js +4 -0
  1724. data/app/assets/components/jquery-ui/ui/minified/effect-bounce.min.js +4 -0
  1725. data/app/assets/components/jquery-ui/ui/minified/effect-clip.min.js +4 -0
  1726. data/app/assets/components/jquery-ui/ui/minified/effect-drop.min.js +4 -0
  1727. data/app/assets/components/jquery-ui/ui/minified/effect-explode.min.js +4 -0
  1728. data/app/assets/components/jquery-ui/ui/minified/effect-fade.min.js +4 -0
  1729. data/app/assets/components/jquery-ui/ui/minified/effect-fold.min.js +4 -0
  1730. data/app/assets/components/jquery-ui/ui/minified/effect-highlight.min.js +4 -0
  1731. data/app/assets/components/jquery-ui/ui/minified/effect-puff.min.js +4 -0
  1732. data/app/assets/components/jquery-ui/ui/minified/effect-pulsate.min.js +4 -0
  1733. data/app/assets/components/jquery-ui/ui/minified/effect-scale.min.js +4 -0
  1734. data/app/assets/components/jquery-ui/ui/minified/effect-shake.min.js +4 -0
  1735. data/app/assets/components/jquery-ui/ui/minified/effect-size.min.js +4 -0
  1736. data/app/assets/components/jquery-ui/ui/minified/effect-slide.min.js +4 -0
  1737. data/app/assets/components/jquery-ui/ui/minified/effect-transfer.min.js +4 -0
  1738. data/app/assets/components/jquery-ui/ui/minified/effect.min.js +4 -0
  1739. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-af.min.js +4 -0
  1740. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.min.js +4 -0
  1741. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ar.min.js +4 -0
  1742. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-az.min.js +4 -0
  1743. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-be.min.js +4 -0
  1744. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-bg.min.js +4 -0
  1745. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-bs.min.js +4 -0
  1746. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ca.min.js +4 -0
  1747. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-cs.min.js +4 -0
  1748. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.min.js +4 -0
  1749. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-da.min.js +4 -0
  1750. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-de.min.js +4 -0
  1751. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-el.min.js +4 -0
  1752. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-en-AU.min.js +4 -0
  1753. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-en-GB.min.js +4 -0
  1754. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.min.js +4 -0
  1755. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-eo.min.js +4 -0
  1756. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-es.min.js +4 -0
  1757. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-et.min.js +4 -0
  1758. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-eu.min.js +4 -0
  1759. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-fa.min.js +4 -0
  1760. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-fi.min.js +4 -0
  1761. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-fo.min.js +4 -0
  1762. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.min.js +4 -0
  1763. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.min.js +4 -0
  1764. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-fr.min.js +4 -0
  1765. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-gl.min.js +4 -0
  1766. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-he.min.js +4 -0
  1767. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-hi.min.js +4 -0
  1768. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-hr.min.js +4 -0
  1769. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-hu.min.js +4 -0
  1770. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-hy.min.js +4 -0
  1771. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-id.min.js +4 -0
  1772. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-is.min.js +4 -0
  1773. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-it-CH.min.js +4 -0
  1774. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-it.min.js +4 -0
  1775. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ja.min.js +4 -0
  1776. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ka.min.js +4 -0
  1777. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-kk.min.js +4 -0
  1778. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-km.min.js +4 -0
  1779. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ko.min.js +4 -0
  1780. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ky.min.js +4 -0
  1781. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-lb.min.js +4 -0
  1782. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-lt.min.js +4 -0
  1783. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-lv.min.js +4 -0
  1784. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-mk.min.js +4 -0
  1785. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ml.min.js +4 -0
  1786. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ms.min.js +4 -0
  1787. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-nb.min.js +4 -0
  1788. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.min.js +4 -0
  1789. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-nl.min.js +4 -0
  1790. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-nn.min.js +4 -0
  1791. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-no.min.js +4 -0
  1792. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-pl.min.js +4 -0
  1793. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.min.js +4 -0
  1794. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-pt.min.js +4 -0
  1795. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-rm.min.js +4 -0
  1796. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ro.min.js +4 -0
  1797. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ru.min.js +4 -0
  1798. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-sk.min.js +4 -0
  1799. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-sl.min.js +4 -0
  1800. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-sq.min.js +4 -0
  1801. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.min.js +4 -0
  1802. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-sr.min.js +4 -0
  1803. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-sv.min.js +4 -0
  1804. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-ta.min.js +4 -0
  1805. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-th.min.js +4 -0
  1806. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-tj.min.js +4 -0
  1807. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-tr.min.js +4 -0
  1808. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-uk.min.js +4 -0
  1809. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-vi.min.js +4 -0
  1810. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.min.js +4 -0
  1811. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.min.js +4 -0
  1812. data/app/assets/components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.min.js +4 -0
  1813. data/app/assets/components/jquery-ui/ui/minified/menu.min.js +4 -0
  1814. data/app/assets/components/jquery-ui/ui/minified/mouse.min.js +4 -0
  1815. data/app/assets/components/jquery-ui/ui/minified/position.min.js +4 -0
  1816. data/app/assets/components/jquery-ui/ui/minified/progressbar.min.js +4 -0
  1817. data/app/assets/components/jquery-ui/ui/minified/resizable.min.js +4 -0
  1818. data/app/assets/components/jquery-ui/ui/minified/selectable.min.js +4 -0
  1819. data/app/assets/components/jquery-ui/ui/minified/selectmenu.min.js +4 -0
  1820. data/app/assets/components/jquery-ui/ui/minified/slider.min.js +4 -0
  1821. data/app/assets/components/jquery-ui/ui/minified/sortable.min.js +4 -0
  1822. data/app/assets/components/jquery-ui/ui/minified/spinner.min.js +4 -0
  1823. data/app/assets/components/jquery-ui/ui/minified/tabs.min.js +4 -0
  1824. data/app/assets/components/jquery-ui/ui/minified/tooltip.min.js +4 -0
  1825. data/app/assets/components/jquery-ui/ui/minified/widget.min.js +4 -0
  1826. data/app/assets/components/jquery-ui/ui/mouse.js +199 -0
  1827. data/app/assets/components/jquery-ui/ui/position.js +517 -0
  1828. data/app/assets/components/jquery-ui/ui/progressbar.js +159 -0
  1829. data/app/assets/components/jquery-ui/ui/resizable.js +1152 -0
  1830. data/app/assets/components/jquery-ui/ui/selectable.js +287 -0
  1831. data/app/assets/components/jquery-ui/ui/selectmenu.js +615 -0
  1832. data/app/assets/components/jquery-ui/ui/slider.js +717 -0
  1833. data/app/assets/components/jquery-ui/ui/sortable.js +1315 -0
  1834. data/app/assets/components/jquery-ui/ui/spinner.js +514 -0
  1835. data/app/assets/components/jquery-ui/ui/tabs.js +886 -0
  1836. data/app/assets/components/jquery-ui/ui/tooltip.js +473 -0
  1837. data/app/assets/components/jquery-ui/ui/widget.js +558 -0
  1838. data/app/assets/components/jquery-validation/.bower.json +40 -0
  1839. data/app/assets/components/jquery-validation/CONTRIBUTING.md +53 -0
  1840. data/app/assets/components/jquery-validation/Gruntfile.js +186 -0
  1841. data/app/assets/components/jquery-validation/LICENSE.md +22 -0
  1842. data/app/assets/components/jquery-validation/README.md +65 -0
  1843. data/app/assets/components/jquery-validation/bower.json +31 -0
  1844. data/app/assets/components/jquery-validation/build/release.js +43 -0
  1845. data/app/assets/components/jquery-validation/changelog.md +534 -0
  1846. data/app/assets/components/jquery-validation/dist/additional-methods.js +998 -0
  1847. data/app/assets/components/jquery-validation/dist/additional-methods.min.js +4 -0
  1848. data/app/assets/components/jquery-validation/dist/jquery.validate.js +1398 -0
  1849. data/app/assets/components/jquery-validation/dist/jquery.validate.min.js +4 -0
  1850. data/app/assets/components/jquery-validation/package.json +57 -0
  1851. data/app/assets/components/jquery-validation/src/additional/accept.js +33 -0
  1852. data/app/assets/components/jquery-validation/src/additional/additional.js +24 -0
  1853. data/app/assets/components/jquery-validation/src/additional/alphanumeric.js +3 -0
  1854. data/app/assets/components/jquery-validation/src/additional/bankaccountNL.js +25 -0
  1855. data/app/assets/components/jquery-validation/src/additional/bankorgiroaccountNL.js +5 -0
  1856. data/app/assets/components/jquery-validation/src/additional/bic.js +16 -0
  1857. data/app/assets/components/jquery-validation/src/additional/cifES.js +61 -0
  1858. data/app/assets/components/jquery-validation/src/additional/cpfBR.js +57 -0
  1859. data/app/assets/components/jquery-validation/src/additional/creditcardtypes.js +69 -0
  1860. data/app/assets/components/jquery-validation/src/additional/currency.js +41 -0
  1861. data/app/assets/components/jquery-validation/src/additional/dateFA.js +3 -0
  1862. data/app/assets/components/jquery-validation/src/additional/dateITA.js +39 -0
  1863. data/app/assets/components/jquery-validation/src/additional/dateNL.js +3 -0
  1864. data/app/assets/components/jquery-validation/src/additional/extension.js +5 -0
  1865. data/app/assets/components/jquery-validation/src/additional/giroaccountNL.js +6 -0
  1866. data/app/assets/components/jquery-validation/src/additional/iban.js +122 -0
  1867. data/app/assets/components/jquery-validation/src/additional/integer.js +3 -0
  1868. data/app/assets/components/jquery-validation/src/additional/ipv4.js +3 -0
  1869. data/app/assets/components/jquery-validation/src/additional/ipv6.js +3 -0
  1870. data/app/assets/components/jquery-validation/src/additional/lettersonly.js +3 -0
  1871. data/app/assets/components/jquery-validation/src/additional/letterswithbasicpunc.js +3 -0
  1872. data/app/assets/components/jquery-validation/src/additional/mobileNL.js +3 -0
  1873. data/app/assets/components/jquery-validation/src/additional/mobileUK.js +13 -0
  1874. data/app/assets/components/jquery-validation/src/additional/nieES.js +34 -0
  1875. data/app/assets/components/jquery-validation/src/additional/nifES.js +25 -0
  1876. data/app/assets/components/jquery-validation/src/additional/notEqualTo.js +3 -0
  1877. data/app/assets/components/jquery-validation/src/additional/nowhitespace.js +3 -0
  1878. data/app/assets/components/jquery-validation/src/additional/pattern.js +22 -0
  1879. data/app/assets/components/jquery-validation/src/additional/phoneNL.js +6 -0
  1880. data/app/assets/components/jquery-validation/src/additional/phoneUK.js +13 -0
  1881. data/app/assets/components/jquery-validation/src/additional/phoneUS.js +21 -0
  1882. data/app/assets/components/jquery-validation/src/additional/phonesUK.js +14 -0
  1883. data/app/assets/components/jquery-validation/src/additional/postalCodeCA.js +16 -0
  1884. data/app/assets/components/jquery-validation/src/additional/postalcodeBR.js +11 -0
  1885. data/app/assets/components/jquery-validation/src/additional/postalcodeIT.js +4 -0
  1886. data/app/assets/components/jquery-validation/src/additional/postalcodeNL.js +3 -0
  1887. data/app/assets/components/jquery-validation/src/additional/postcodeUK.js +4 -0
  1888. data/app/assets/components/jquery-validation/src/additional/require_from_group.js +37 -0
  1889. data/app/assets/components/jquery-validation/src/additional/skip_or_fill_minimum.js +43 -0
  1890. data/app/assets/components/jquery-validation/src/additional/statesUS.js +58 -0
  1891. data/app/assets/components/jquery-validation/src/additional/strippedminlength.js +4 -0
  1892. data/app/assets/components/jquery-validation/src/additional/time.js +3 -0
  1893. data/app/assets/components/jquery-validation/src/additional/time12h.js +3 -0
  1894. data/app/assets/components/jquery-validation/src/additional/url2.js +4 -0
  1895. data/app/assets/components/jquery-validation/src/additional/vinUS.js +54 -0
  1896. data/app/assets/components/jquery-validation/src/additional/zipcodeUS.js +3 -0
  1897. data/app/assets/components/jquery-validation/src/additional/ziprange.js +3 -0
  1898. data/app/assets/components/jquery-validation/src/ajax.js +33 -0
  1899. data/app/assets/components/jquery-validation/src/core.js +1346 -0
  1900. data/app/assets/components/jquery-validation/src/localization/messages_ar.js +23 -0
  1901. data/app/assets/components/jquery-validation/src/localization/messages_bg.js +23 -0
  1902. data/app/assets/components/jquery-validation/src/localization/messages_bn_BD.js +23 -0
  1903. data/app/assets/components/jquery-validation/src/localization/messages_ca.js +23 -0
  1904. data/app/assets/components/jquery-validation/src/localization/messages_cs.js +23 -0
  1905. data/app/assets/components/jquery-validation/src/localization/messages_da.js +20 -0
  1906. data/app/assets/components/jquery-validation/src/localization/messages_de.js +20 -0
  1907. data/app/assets/components/jquery-validation/src/localization/messages_el.js +23 -0
  1908. data/app/assets/components/jquery-validation/src/localization/messages_es.js +26 -0
  1909. data/app/assets/components/jquery-validation/src/localization/messages_es_AR.js +27 -0
  1910. data/app/assets/components/jquery-validation/src/localization/messages_es_PE.js +27 -0
  1911. data/app/assets/components/jquery-validation/src/localization/messages_et.js +21 -0
  1912. data/app/assets/components/jquery-validation/src/localization/messages_eu.js +23 -0
  1913. data/app/assets/components/jquery-validation/src/localization/messages_fa.js +26 -0
  1914. data/app/assets/components/jquery-validation/src/localization/messages_fi.js +21 -0
  1915. data/app/assets/components/jquery-validation/src/localization/messages_fr.js +49 -0
  1916. data/app/assets/components/jquery-validation/src/localization/messages_ge.js +23 -0
  1917. data/app/assets/components/jquery-validation/src/localization/messages_gl.js +28 -0
  1918. data/app/assets/components/jquery-validation/src/localization/messages_he.js +23 -0
  1919. data/app/assets/components/jquery-validation/src/localization/messages_hr.js +23 -0
  1920. data/app/assets/components/jquery-validation/src/localization/messages_hu.js +22 -0
  1921. data/app/assets/components/jquery-validation/src/localization/messages_hy_AM.js +23 -0
  1922. data/app/assets/components/jquery-validation/src/localization/messages_id.js +22 -0
  1923. data/app/assets/components/jquery-validation/src/localization/messages_is.js +21 -0
  1924. data/app/assets/components/jquery-validation/src/localization/messages_it.js +27 -0
  1925. data/app/assets/components/jquery-validation/src/localization/messages_ja.js +23 -0
  1926. data/app/assets/components/jquery-validation/src/localization/messages_ka.js +23 -0
  1927. data/app/assets/components/jquery-validation/src/localization/messages_kk.js +23 -0
  1928. data/app/assets/components/jquery-validation/src/localization/messages_ko.js +23 -0
  1929. data/app/assets/components/jquery-validation/src/localization/messages_lt.js +23 -0
  1930. data/app/assets/components/jquery-validation/src/localization/messages_lv.js +23 -0
  1931. data/app/assets/components/jquery-validation/src/localization/messages_my.js +23 -0
  1932. data/app/assets/components/jquery-validation/src/localization/messages_nl.js +33 -0
  1933. data/app/assets/components/jquery-validation/src/localization/messages_no.js +23 -0
  1934. data/app/assets/components/jquery-validation/src/localization/messages_pl.js +23 -0
  1935. data/app/assets/components/jquery-validation/src/localization/messages_pt_BR.js +29 -0
  1936. data/app/assets/components/jquery-validation/src/localization/messages_pt_PT.js +27 -0
  1937. data/app/assets/components/jquery-validation/src/localization/messages_ro.js +23 -0
  1938. data/app/assets/components/jquery-validation/src/localization/messages_ru.js +23 -0
  1939. data/app/assets/components/jquery-validation/src/localization/messages_si.js +23 -0
  1940. data/app/assets/components/jquery-validation/src/localization/messages_sk.js +20 -0
  1941. data/app/assets/components/jquery-validation/src/localization/messages_sl.js +23 -0
  1942. data/app/assets/components/jquery-validation/src/localization/messages_sr.js +23 -0
  1943. data/app/assets/components/jquery-validation/src/localization/messages_sr_lat.js +23 -0
  1944. data/app/assets/components/jquery-validation/src/localization/messages_sv.js +21 -0
  1945. data/app/assets/components/jquery-validation/src/localization/messages_th.js +23 -0
  1946. data/app/assets/components/jquery-validation/src/localization/messages_tj.js +23 -0
  1947. data/app/assets/components/jquery-validation/src/localization/messages_tr.js +24 -0
  1948. data/app/assets/components/jquery-validation/src/localization/messages_uk.js +23 -0
  1949. data/app/assets/components/jquery-validation/src/localization/messages_vi.js +23 -0
  1950. data/app/assets/components/jquery-validation/src/localization/messages_zh.js +23 -0
  1951. data/app/assets/components/jquery-validation/src/localization/messages_zh_TW.js +24 -0
  1952. data/app/assets/components/jquery-validation/src/localization/methods_de.js +12 -0
  1953. data/app/assets/components/jquery-validation/src/localization/methods_es_CL.js +12 -0
  1954. data/app/assets/components/jquery-validation/src/localization/methods_fi.js +12 -0
  1955. data/app/assets/components/jquery-validation/src/localization/methods_nl.js +9 -0
  1956. data/app/assets/components/jquery-validation/src/localization/methods_pt.js +9 -0
  1957. data/app/assets/components/jquery-validation/validation.jquery.json +29 -0
  1958. data/app/assets/components/jquery.easing/.bower.json +36 -0
  1959. data/app/assets/components/jquery.easing/README.md +9 -0
  1960. data/app/assets/components/jquery.easing/bower.json +27 -0
  1961. data/app/assets/components/jquery.easing/js/jquery.easing.compatibility.js +58 -0
  1962. data/app/assets/components/jquery.easing/js/jquery.easing.js +205 -0
  1963. data/app/assets/components/jquery.easing/js/jquery.easing.min.js +1 -0
  1964. data/app/assets/components/jquery.easy-pie-chart/.bower.json +29 -0
  1965. data/app/assets/components/jquery.easy-pie-chart/.travis.yml +7 -0
  1966. data/app/assets/components/jquery.easy-pie-chart/Gruntfile.js +188 -0
  1967. data/app/assets/components/jquery.easy-pie-chart/Readme.md +268 -0
  1968. data/app/assets/components/jquery.easy-pie-chart/bower.json +19 -0
  1969. data/app/assets/components/jquery.easy-pie-chart/changelog.md +80 -0
  1970. data/app/assets/components/jquery.easy-pie-chart/dist/angular.easypiechart.js +397 -0
  1971. data/app/assets/components/jquery.easy-pie-chart/dist/angular.easypiechart.min.js +9 -0
  1972. data/app/assets/components/jquery.easy-pie-chart/dist/easypiechart.js +351 -0
  1973. data/app/assets/components/jquery.easy-pie-chart/dist/easypiechart.min.js +9 -0
  1974. data/app/assets/components/jquery.easy-pie-chart/dist/jquery.easypiechart.js +360 -0
  1975. data/app/assets/components/jquery.easy-pie-chart/dist/jquery.easypiechart.min.js +9 -0
  1976. data/app/assets/components/jquery.easy-pie-chart/docs/README.tmpl.md +32 -0
  1977. data/app/assets/components/jquery.easy-pie-chart/docs/bagdes.md +4 -0
  1978. data/app/assets/components/jquery.easy-pie-chart/docs/browser-support.md +9 -0
  1979. data/app/assets/components/jquery.easy-pie-chart/docs/callbacks.md +20 -0
  1980. data/app/assets/components/jquery.easy-pie-chart/docs/credits.md +1 -0
  1981. data/app/assets/components/jquery.easy-pie-chart/docs/features.md +13 -0
  1982. data/app/assets/components/jquery.easy-pie-chart/docs/get-started.md +68 -0
  1983. data/app/assets/components/jquery.easy-pie-chart/docs/options.md +59 -0
  1984. data/app/assets/components/jquery.easy-pie-chart/docs/plugin-api.md +52 -0
  1985. data/app/assets/components/jquery.easy-pie-chart/docs/test.md +1 -0
  1986. data/app/assets/components/jquery.easy-pie-chart/karma.conf.coffee +53 -0
  1987. data/app/assets/components/jquery.easy-pie-chart/package.json +51 -0
  1988. data/app/assets/components/jquery.easy-pie-chart/src/angular.directive.js +48 -0
  1989. data/app/assets/components/jquery.easy-pie-chart/src/easypiechart.js +134 -0
  1990. data/app/assets/components/jquery.easy-pie-chart/src/jquery.plugin.js +10 -0
  1991. data/app/assets/components/jquery.easy-pie-chart/src/renderer/canvas.js +190 -0
  1992. data/app/assets/components/jquery.easy-pie-chart/test/polyfills/bind.js +22 -0
  1993. data/app/assets/components/jquery.easy-pie-chart/test/unit/angular.directive.js +68 -0
  1994. data/app/assets/components/jquery.easy-pie-chart/test/unit/jquery.js +61 -0
  1995. data/app/assets/components/jquery.inputmask/.bower.json +40 -0
  1996. data/app/assets/components/jquery.inputmask/bower.json +22 -0
  1997. data/app/assets/components/jquery.inputmask/dist/inputmask/inputmask.js +1386 -0
  1998. data/app/assets/components/jquery.inputmask/dist/jquery.inputmask.bundle.js +2617 -0
  1999. data/app/assets/components/jquery.steps/.bower.json +60 -0
  2000. data/app/assets/components/jquery.steps/bower.json +47 -0
  2001. data/app/assets/components/jquery.steps/build/jquery.steps.js +2042 -0
  2002. data/app/assets/components/jquery.steps/build/jquery.steps.min.js +6 -0
  2003. data/app/assets/components/jquery.steps/demo/css/jquery.steps.css +382 -0
  2004. data/app/assets/components/jquery.steps/demo/css/main.css +300 -0
  2005. data/app/assets/components/jquery.steps/demo/css/normalize.css +533 -0
  2006. data/app/assets/components/jquery.steps/demo/index.html +85 -0
  2007. data/app/assets/components/jquery.steps/demo/tabs.html +90 -0
  2008. data/app/assets/components/jquery.steps/demo/vertical.html +86 -0
  2009. data/app/assets/components/jqueryui-touch-punch/.bower.json +19 -0
  2010. data/app/assets/components/jqueryui-touch-punch/README.md +41 -0
  2011. data/app/assets/components/jqueryui-touch-punch/bower.json +10 -0
  2012. data/app/assets/components/jqueryui-touch-punch/jquery.ui.touch-punch.js +180 -0
  2013. data/app/assets/components/jqueryui-touch-punch/jquery.ui.touch-punch.min.js +11 -0
  2014. data/app/assets/components/loaders.css/.bower.json +32 -0
  2015. data/app/assets/components/loaders.css/Gulpfile.coffee +36 -0
  2016. data/app/assets/components/loaders.css/README.md +106 -0
  2017. data/app/assets/components/loaders.css/bower.json +23 -0
  2018. data/app/assets/components/loaders.css/demo/demo.css +89 -0
  2019. data/app/assets/components/loaders.css/demo/demo.html +234 -0
  2020. data/app/assets/components/loaders.css/demo/src/demo.jade +205 -0
  2021. data/app/assets/components/loaders.css/demo/src/demo.scss +125 -0
  2022. data/app/assets/components/loaders.css/loaders.css +1882 -0
  2023. data/app/assets/components/loaders.css/loaders.css.js +40 -0
  2024. data/app/assets/components/loaders.css/loaders.min.css +1 -0
  2025. data/app/assets/components/loaders.css/package.json +33 -0
  2026. data/app/assets/components/loaders.css/src/_functions.scss +3 -0
  2027. data/app/assets/components/loaders.css/src/_mixins.scss +25 -0
  2028. data/app/assets/components/loaders.css/src/_variables.scss +6 -0
  2029. data/app/assets/components/loaders.css/src/animations/ball-beat.scss +28 -0
  2030. data/app/assets/components/loaders.css/src/animations/ball-clip-rotate-multiple.scss +44 -0
  2031. data/app/assets/components/loaders.css/src/animations/ball-clip-rotate-pulse.scss +60 -0
  2032. data/app/assets/components/loaders.css/src/animations/ball-clip-rotate.scss +30 -0
  2033. data/app/assets/components/loaders.css/src/animations/ball-grid-beat.scss +37 -0
  2034. data/app/assets/components/loaders.css/src/animations/ball-grid-pulse.scss +42 -0
  2035. data/app/assets/components/loaders.css/src/animations/ball-pulse-rise.scss +64 -0
  2036. data/app/assets/components/loaders.css/src/animations/ball-pulse-round.scss +24 -0
  2037. data/app/assets/components/loaders.css/src/animations/ball-pulse-sync.scss +36 -0
  2038. data/app/assets/components/loaders.css/src/animations/ball-pulse.scss +38 -0
  2039. data/app/assets/components/loaders.css/src/animations/ball-rotate.scss +47 -0
  2040. data/app/assets/components/loaders.css/src/animations/ball-scale-multiple.scss +48 -0
  2041. data/app/assets/components/loaders.css/src/animations/ball-scale-ripple-multiple.scss +47 -0
  2042. data/app/assets/components/loaders.css/src/animations/ball-scale-ripple.scss +29 -0
  2043. data/app/assets/components/loaders.css/src/animations/ball-scale.scss +25 -0
  2044. data/app/assets/components/loaders.css/src/animations/ball-spin-fade-loader.scss +68 -0
  2045. data/app/assets/components/loaders.css/src/animations/ball-spin-loader.scss +65 -0
  2046. data/app/assets/components/loaders.css/src/animations/ball-triangle-trace.scss +83 -0
  2047. data/app/assets/components/loaders.css/src/animations/ball-zig-zag-deflect.scss +70 -0
  2048. data/app/assets/components/loaders.css/src/animations/ball-zig-zag.scss +51 -0
  2049. data/app/assets/components/loaders.css/src/animations/cube-transition.scss +41 -0
  2050. data/app/assets/components/loaders.css/src/animations/line-scale-pulse-out-rapid.scss +33 -0
  2051. data/app/assets/components/loaders.css/src/animations/line-scale-pulse-out.scss +35 -0
  2052. data/app/assets/components/loaders.css/src/animations/line-scale-random.scss +38 -0
  2053. data/app/assets/components/loaders.css/src/animations/line-scale.scss +34 -0
  2054. data/app/assets/components/loaders.css/src/animations/line-spin-fade-loader.scss +73 -0
  2055. data/app/assets/components/loaders.css/src/animations/pacman.scss +92 -0
  2056. data/app/assets/components/loaders.css/src/animations/semi-circle-spin.scss +34 -0
  2057. data/app/assets/components/loaders.css/src/animations/square-spin.scss +30 -0
  2058. data/app/assets/components/loaders.css/src/animations/triangle-skew-spin.scss +33 -0
  2059. data/app/assets/components/loaders.css/src/loaders.scss +54 -0
  2060. data/app/assets/components/matchMedia/.bower.json +21 -0
  2061. data/app/assets/components/matchMedia/LICENSE.txt +7 -0
  2062. data/app/assets/components/matchMedia/README.md +37 -0
  2063. data/app/assets/components/matchMedia/bower.json +12 -0
  2064. data/app/assets/components/matchMedia/matchMedia.addListener.js +75 -0
  2065. data/app/assets/components/matchMedia/matchMedia.js +46 -0
  2066. data/app/assets/components/matchMedia/test/body.html +75 -0
  2067. data/app/assets/components/matchMedia/test/head.html +74 -0
  2068. data/app/assets/components/matchMedia/test/iframe_body.html +9 -0
  2069. data/app/assets/components/matchMedia/test/iframe_head.html +9 -0
  2070. data/app/assets/components/matchMedia/test/lib/JSLitmus.js +649 -0
  2071. data/app/assets/components/mjolnic-bootstrap-colorpicker/.bower.json +30 -0
  2072. data/app/assets/components/mjolnic-bootstrap-colorpicker/CONTRIBUTING.md +37 -0
  2073. data/app/assets/components/mjolnic-bootstrap-colorpicker/README.md +22 -0
  2074. data/app/assets/components/mjolnic-bootstrap-colorpicker/bower.json +20 -0
  2075. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css +251 -0
  2076. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css +9 -0
  2077. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  2078. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha.png +0 -0
  2079. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
  2080. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue.png +0 -0
  2081. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/saturation.png +0 -0
  2082. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js +1079 -0
  2083. data/app/assets/components/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js +1 -0
  2084. data/app/assets/components/mocha/.bower.json +30 -0
  2085. data/app/assets/components/mocha/History.md +654 -0
  2086. data/app/assets/components/mocha/Readme.md +172 -0
  2087. data/app/assets/components/mocha/bower.json +20 -0
  2088. data/app/assets/components/mocha/media/logo.svg +8 -0
  2089. data/app/assets/components/mocha/mocha.css +270 -0
  2090. data/app/assets/components/mocha/mocha.js +5812 -0
  2091. data/app/assets/components/modernizr/.bower.json +32 -0
  2092. data/app/assets/components/modernizr/bower.json +24 -0
  2093. data/app/assets/components/modernizr/modernizr.custom.js +3 -0
  2094. data/app/assets/components/moment/moment-with-locales.js +13700 -0
  2095. data/app/assets/components/moment/moment.js +4463 -0
  2096. data/app/assets/components/moment-timezone/moment-timezone-with-data-2012-2022.js +1201 -0
  2097. data/app/assets/components/moment-timezone/moment-timezone-with-data.js +1201 -0
  2098. data/app/assets/components/moment-timezone/moment-timezone.js +601 -0
  2099. data/app/assets/components/morris.js/.bower.json +30 -0
  2100. data/app/assets/components/morris.js/.travis.yml +19 -0
  2101. data/app/assets/components/morris.js/Gruntfile.js +90 -0
  2102. data/app/assets/components/morris.js/README.md +234 -0
  2103. data/app/assets/components/morris.js/bower.json +20 -0
  2104. data/app/assets/components/morris.js/bower.travis.json +20 -0
  2105. data/app/assets/components/morris.js/examples/_template.html +18 -0
  2106. data/app/assets/components/morris.js/examples/area-as-line.html +31 -0
  2107. data/app/assets/components/morris.js/examples/area.html +34 -0
  2108. data/app/assets/components/morris.js/examples/bar-colors.html +44 -0
  2109. data/app/assets/components/morris.js/examples/bar-no-axes.html +31 -0
  2110. data/app/assets/components/morris.js/examples/bar.html +32 -0
  2111. data/app/assets/components/morris.js/examples/days.html +37 -0
  2112. data/app/assets/components/morris.js/examples/decimal-custom-hover.html +37 -0
  2113. data/app/assets/components/morris.js/examples/diagonal-xlabels-bar.html +38 -0
  2114. data/app/assets/components/morris.js/examples/diagonal-xlabels.html +38 -0
  2115. data/app/assets/components/morris.js/examples/donut-colors.html +38 -0
  2116. data/app/assets/components/morris.js/examples/donut-formatter.html +27 -0
  2117. data/app/assets/components/morris.js/examples/donut.html +29 -0
  2118. data/app/assets/components/morris.js/examples/dst.html +30 -0
  2119. data/app/assets/components/morris.js/examples/events.html +57 -0
  2120. data/app/assets/components/morris.js/examples/goals.html +33 -0
  2121. data/app/assets/components/morris.js/examples/lib/example.css +13 -0
  2122. data/app/assets/components/morris.js/examples/lib/example.js +4 -0
  2123. data/app/assets/components/morris.js/examples/months-no-smooth.html +38 -0
  2124. data/app/assets/components/morris.js/examples/negative.html +36 -0
  2125. data/app/assets/components/morris.js/examples/no-grid.html +38 -0
  2126. data/app/assets/components/morris.js/examples/non-continuous.html +42 -0
  2127. data/app/assets/components/morris.js/examples/non-date.html +37 -0
  2128. data/app/assets/components/morris.js/examples/quarters.html +54 -0
  2129. data/app/assets/components/morris.js/examples/resize.html +42 -0
  2130. data/app/assets/components/morris.js/examples/stacked_bars.html +31 -0
  2131. data/app/assets/components/morris.js/examples/timestamps.html +38 -0
  2132. data/app/assets/components/morris.js/examples/updating.html +49 -0
  2133. data/app/assets/components/morris.js/examples/weeks.html +53 -0
  2134. data/app/assets/components/morris.js/examples/years.html +37 -0
  2135. data/app/assets/components/morris.js/lib/morris.area.coffee +66 -0
  2136. data/app/assets/components/morris.js/lib/morris.bar.coffee +208 -0
  2137. data/app/assets/components/morris.js/lib/morris.coffee +43 -0
  2138. data/app/assets/components/morris.js/lib/morris.donut.coffee +213 -0
  2139. data/app/assets/components/morris.js/lib/morris.grid.coffee +499 -0
  2140. data/app/assets/components/morris.js/lib/morris.hover.coffee +44 -0
  2141. data/app/assets/components/morris.js/lib/morris.line.coffee +405 -0
  2142. data/app/assets/components/morris.js/morris.css +2 -0
  2143. data/app/assets/components/morris.js/morris.js +1892 -0
  2144. data/app/assets/components/morris.js/morris.min.js +7 -0
  2145. data/app/assets/components/morris.js/package.json +36 -0
  2146. data/app/assets/components/morris.js/spec/lib/area/area_spec.coffee +60 -0
  2147. data/app/assets/components/morris.js/spec/lib/bar/bar_spec.coffee +127 -0
  2148. data/app/assets/components/morris.js/spec/lib/bar/colours.coffee +36 -0
  2149. data/app/assets/components/morris.js/spec/lib/commas_spec.coffee +38 -0
  2150. data/app/assets/components/morris.js/spec/lib/donut/donut_spec.coffee +76 -0
  2151. data/app/assets/components/morris.js/spec/lib/grid/auto_grid_lines_spec.coffee +25 -0
  2152. data/app/assets/components/morris.js/spec/lib/grid/set_data_spec.coffee +208 -0
  2153. data/app/assets/components/morris.js/spec/lib/grid/y_label_format_spec.coffee +15 -0
  2154. data/app/assets/components/morris.js/spec/lib/hover_spec.coffee +64 -0
  2155. data/app/assets/components/morris.js/spec/lib/label_series_spec.coffee +186 -0
  2156. data/app/assets/components/morris.js/spec/lib/line/line_spec.coffee +211 -0
  2157. data/app/assets/components/morris.js/spec/lib/pad_spec.coffee +17 -0
  2158. data/app/assets/components/morris.js/spec/lib/parse_time_spec.coffee +35 -0
  2159. data/app/assets/components/morris.js/spec/specs.html +34 -0
  2160. data/app/assets/components/morris.js/spec/support/placeholder.coffee +6 -0
  2161. data/app/assets/components/morris.js/spec/viz/examples.js +56 -0
  2162. data/app/assets/components/morris.js/spec/viz/exemplary/area0.png +0 -0
  2163. data/app/assets/components/morris.js/spec/viz/exemplary/bar0.png +0 -0
  2164. data/app/assets/components/morris.js/spec/viz/exemplary/line0.png +0 -0
  2165. data/app/assets/components/morris.js/spec/viz/exemplary/stacked_bar0.png +0 -0
  2166. data/app/assets/components/morris.js/spec/viz/run.sh +32 -0
  2167. data/app/assets/components/morris.js/spec/viz/test.html +34 -0
  2168. data/app/assets/components/morris.js/spec/viz/visual_specs.js +66 -0
  2169. data/app/assets/components/nestable/.bower.json +13 -0
  2170. data/app/assets/components/nestable/README.md +107 -0
  2171. data/app/assets/components/nestable/index.html +304 -0
  2172. data/app/assets/components/nestable/jquery.nestable.js +484 -0
  2173. data/app/assets/components/parsleyjs/.bower.json +50 -0
  2174. data/app/assets/components/parsleyjs/bower.json +39 -0
  2175. data/app/assets/components/parsleyjs/dist/parsley.js +2230 -0
  2176. data/app/assets/components/parsleyjs/dist/parsley.min.js +9 -0
  2177. data/app/assets/components/parsleyjs/dist/parsley.remote.js +2502 -0
  2178. data/app/assets/components/parsleyjs/dist/parsley.remote.min.js +9 -0
  2179. data/app/assets/components/parsleyjs/src/config.js +35 -0
  2180. data/app/assets/components/parsleyjs/src/extra/plugin/bind.js +47 -0
  2181. data/app/assets/components/parsleyjs/src/extra/plugin/remote.js +271 -0
  2182. data/app/assets/components/parsleyjs/src/extra/validator/comparison.js +52 -0
  2183. data/app/assets/components/parsleyjs/src/extra/validator/dateiso.js +11 -0
  2184. data/app/assets/components/parsleyjs/src/extra/validator/luhn.js +28 -0
  2185. data/app/assets/components/parsleyjs/src/extra/validator/notequalto.js +13 -0
  2186. data/app/assets/components/parsleyjs/src/extra/validator/words.js +32 -0
  2187. data/app/assets/components/parsleyjs/src/i18n/ar.js +33 -0
  2188. data/app/assets/components/parsleyjs/src/i18n/bg.js +33 -0
  2189. data/app/assets/components/parsleyjs/src/i18n/ca.js +33 -0
  2190. data/app/assets/components/parsleyjs/src/i18n/cs.extra.js +13 -0
  2191. data/app/assets/components/parsleyjs/src/i18n/cs.js +33 -0
  2192. data/app/assets/components/parsleyjs/src/i18n/da.js +33 -0
  2193. data/app/assets/components/parsleyjs/src/i18n/de.extra.js +13 -0
  2194. data/app/assets/components/parsleyjs/src/i18n/de.js +33 -0
  2195. data/app/assets/components/parsleyjs/src/i18n/en.extra.js +14 -0
  2196. data/app/assets/components/parsleyjs/src/i18n/en.js +33 -0
  2197. data/app/assets/components/parsleyjs/src/i18n/es.js +32 -0
  2198. data/app/assets/components/parsleyjs/src/i18n/fa.js +33 -0
  2199. data/app/assets/components/parsleyjs/src/i18n/fi.extra.js +6 -0
  2200. data/app/assets/components/parsleyjs/src/i18n/fi.js +33 -0
  2201. data/app/assets/components/parsleyjs/src/i18n/fr.extra.js +7 -0
  2202. data/app/assets/components/parsleyjs/src/i18n/fr.js +33 -0
  2203. data/app/assets/components/parsleyjs/src/i18n/he.extra.js +6 -0
  2204. data/app/assets/components/parsleyjs/src/i18n/he.js +33 -0
  2205. data/app/assets/components/parsleyjs/src/i18n/id.extra.js +6 -0
  2206. data/app/assets/components/parsleyjs/src/i18n/id.js +33 -0
  2207. data/app/assets/components/parsleyjs/src/i18n/it.extra.js +6 -0
  2208. data/app/assets/components/parsleyjs/src/i18n/it.js +33 -0
  2209. data/app/assets/components/parsleyjs/src/i18n/ja.js +33 -0
  2210. data/app/assets/components/parsleyjs/src/i18n/ko.js +33 -0
  2211. data/app/assets/components/parsleyjs/src/i18n/ms_MY.extra.js +13 -0
  2212. data/app/assets/components/parsleyjs/src/i18n/ms_MY.js +33 -0
  2213. data/app/assets/components/parsleyjs/src/i18n/nl.extra.js +11 -0
  2214. data/app/assets/components/parsleyjs/src/i18n/nl.js +30 -0
  2215. data/app/assets/components/parsleyjs/src/i18n/no.js +33 -0
  2216. data/app/assets/components/parsleyjs/src/i18n/pl.js +33 -0
  2217. data/app/assets/components/parsleyjs/src/i18n/pt-br.js +33 -0
  2218. data/app/assets/components/parsleyjs/src/i18n/ro.extra.js +14 -0
  2219. data/app/assets/components/parsleyjs/src/i18n/ro.js +33 -0
  2220. data/app/assets/components/parsleyjs/src/i18n/ru.extra.js +9 -0
  2221. data/app/assets/components/parsleyjs/src/i18n/ru.js +38 -0
  2222. data/app/assets/components/parsleyjs/src/i18n/sq.js +33 -0
  2223. data/app/assets/components/parsleyjs/src/i18n/sv.extra.js +6 -0
  2224. data/app/assets/components/parsleyjs/src/i18n/sv.js +33 -0
  2225. data/app/assets/components/parsleyjs/src/i18n/th.js +33 -0
  2226. data/app/assets/components/parsleyjs/src/i18n/tr.js +33 -0
  2227. data/app/assets/components/parsleyjs/src/i18n/uk.extra.js +9 -0
  2228. data/app/assets/components/parsleyjs/src/i18n/uk.js +38 -0
  2229. data/app/assets/components/parsleyjs/src/i18n/zh_cn.extra.js +6 -0
  2230. data/app/assets/components/parsleyjs/src/i18n/zh_cn.js +33 -0
  2231. data/app/assets/components/parsleyjs/src/i18n/zh_tw.js +33 -0
  2232. data/app/assets/components/parsleyjs/src/main.js +4 -0
  2233. data/app/assets/components/parsleyjs/src/parsley/abstract.js +128 -0
  2234. data/app/assets/components/parsleyjs/src/parsley/defaults.js +65 -0
  2235. data/app/assets/components/parsleyjs/src/parsley/factory/constraint.js +41 -0
  2236. data/app/assets/components/parsleyjs/src/parsley/factory.js +164 -0
  2237. data/app/assets/components/parsleyjs/src/parsley/field.js +299 -0
  2238. data/app/assets/components/parsleyjs/src/parsley/form.js +149 -0
  2239. data/app/assets/components/parsleyjs/src/parsley/multiple.js +83 -0
  2240. data/app/assets/components/parsleyjs/src/parsley/pubsub.js +96 -0
  2241. data/app/assets/components/parsleyjs/src/parsley/ui.js +408 -0
  2242. data/app/assets/components/parsleyjs/src/parsley/utils.js +118 -0
  2243. data/app/assets/components/parsleyjs/src/parsley/validator.js +287 -0
  2244. data/app/assets/components/parsleyjs/src/parsley.css +33 -0
  2245. data/app/assets/components/parsleyjs/src/parsley.js +104 -0
  2246. data/app/assets/components/parsleyjs/src/wrap/append.js +2 -0
  2247. data/app/assets/components/parsleyjs/src/wrap/prepend.js +23 -0
  2248. data/app/assets/components/raphael/.bower.json +29 -0
  2249. data/app/assets/components/raphael/bower.json +19 -0
  2250. data/app/assets/components/raphael/dev/amdDev.js +6 -0
  2251. data/app/assets/components/raphael/dev/index.js +8 -0
  2252. data/app/assets/components/raphael/dev/require.js +2053 -0
  2253. data/app/assets/components/raphael/license.txt +21 -0
  2254. data/app/assets/components/raphael/raphael-min.js +11 -0
  2255. data/app/assets/components/raphael/raphael.js +8239 -0
  2256. data/app/assets/components/requirejs/.bower.json +27 -0
  2257. data/app/assets/components/requirejs/README.md +4 -0
  2258. data/app/assets/components/requirejs/bower.json +18 -0
  2259. data/app/assets/components/requirejs/require.js +2103 -0
  2260. data/app/assets/components/rickshaw/.bower.json +14 -0
  2261. data/app/assets/components/rickshaw/.jshintignore +5 -0
  2262. data/app/assets/components/rickshaw/.jshintrc +11 -0
  2263. data/app/assets/components/rickshaw/.rock.yml +4 -0
  2264. data/app/assets/components/rickshaw/CONTRIBUTING.md +9 -0
  2265. data/app/assets/components/rickshaw/README.md +207 -0
  2266. data/app/assets/components/rickshaw/examples/ajax.html +44 -0
  2267. data/app/assets/components/rickshaw/examples/bars.html +52 -0
  2268. data/app/assets/components/rickshaw/examples/colors.html +88 -0
  2269. data/app/assets/components/rickshaw/examples/css/extensions.css +184 -0
  2270. data/app/assets/components/rickshaw/examples/css/lines.css +21 -0
  2271. data/app/assets/components/rickshaw/examples/data/data.json +14 -0
  2272. data/app/assets/components/rickshaw/examples/data/data.jsonp +14 -0
  2273. data/app/assets/components/rickshaw/examples/data/data2.json +14 -0
  2274. data/app/assets/components/rickshaw/examples/data/status.json +1 -0
  2275. data/app/assets/components/rickshaw/examples/extensions.html +280 -0
  2276. data/app/assets/components/rickshaw/examples/fixed.html +54 -0
  2277. data/app/assets/components/rickshaw/examples/formatter.html +83 -0
  2278. data/app/assets/components/rickshaw/examples/gaps.html +46 -0
  2279. data/app/assets/components/rickshaw/examples/hover.html +130 -0
  2280. data/app/assets/components/rickshaw/examples/images/interp_cardinal.png +0 -0
  2281. data/app/assets/components/rickshaw/examples/images/interp_linear.png +0 -0
  2282. data/app/assets/components/rickshaw/examples/images/interp_step.png +0 -0
  2283. data/app/assets/components/rickshaw/examples/images/offset_pct.png +0 -0
  2284. data/app/assets/components/rickshaw/examples/images/offset_stack.png +0 -0
  2285. data/app/assets/components/rickshaw/examples/images/offset_stream.png +0 -0
  2286. data/app/assets/components/rickshaw/examples/images/offset_value.png +0 -0
  2287. data/app/assets/components/rickshaw/examples/images/om_bar.png +0 -0
  2288. data/app/assets/components/rickshaw/examples/images/om_curves.png +0 -0
  2289. data/app/assets/components/rickshaw/examples/images/om_lines.png +0 -0
  2290. data/app/assets/components/rickshaw/examples/images/om_percent.png +0 -0
  2291. data/app/assets/components/rickshaw/examples/images/om_scatter.png +0 -0
  2292. data/app/assets/components/rickshaw/examples/images/om_stack.png +0 -0
  2293. data/app/assets/components/rickshaw/examples/images/om_step.png +0 -0
  2294. data/app/assets/components/rickshaw/examples/images/om_stream.png +0 -0
  2295. data/app/assets/components/rickshaw/examples/inconsistent.html +46 -0
  2296. data/app/assets/components/rickshaw/examples/index.html +241 -0
  2297. data/app/assets/components/rickshaw/examples/js/extensions.js +135 -0
  2298. data/app/assets/components/rickshaw/examples/jsonp.html +58 -0
  2299. data/app/assets/components/rickshaw/examples/legend.html +88 -0
  2300. data/app/assets/components/rickshaw/examples/lineplot.html +34 -0
  2301. data/app/assets/components/rickshaw/examples/lines.html +82 -0
  2302. data/app/assets/components/rickshaw/examples/logscale.html +100 -0
  2303. data/app/assets/components/rickshaw/examples/milliseconds.html +69 -0
  2304. data/app/assets/components/rickshaw/examples/multi.html +102 -0
  2305. data/app/assets/components/rickshaw/examples/negative.html +32 -0
  2306. data/app/assets/components/rickshaw/examples/refresh.html +50 -0
  2307. data/app/assets/components/rickshaw/examples/resize.html +50 -0
  2308. data/app/assets/components/rickshaw/examples/scaled.html +109 -0
  2309. data/app/assets/components/rickshaw/examples/scatterplot.html +46 -0
  2310. data/app/assets/components/rickshaw/examples/screenshots/ajax.png +0 -0
  2311. data/app/assets/components/rickshaw/examples/screenshots/colors.png +0 -0
  2312. data/app/assets/components/rickshaw/examples/screenshots/extensions.png +0 -0
  2313. data/app/assets/components/rickshaw/examples/screenshots/lines.png +0 -0
  2314. data/app/assets/components/rickshaw/examples/screenshots/logscale.png +0 -0
  2315. data/app/assets/components/rickshaw/examples/screenshots/scaled.png +0 -0
  2316. data/app/assets/components/rickshaw/examples/screenshots/scatterplot.png +0 -0
  2317. data/app/assets/components/rickshaw/examples/screenshots/simple.png +0 -0
  2318. data/app/assets/components/rickshaw/examples/screenshots/start.png +0 -0
  2319. data/app/assets/components/rickshaw/examples/screenshots/status.png +0 -0
  2320. data/app/assets/components/rickshaw/examples/screenshots/stops.png +0 -0
  2321. data/app/assets/components/rickshaw/examples/screenshots/y_axis.png +0 -0
  2322. data/app/assets/components/rickshaw/examples/series.html +166 -0
  2323. data/app/assets/components/rickshaw/examples/simple.html +29 -0
  2324. data/app/assets/components/rickshaw/examples/socket.io/README.md +13 -0
  2325. data/app/assets/components/rickshaw/examples/socket.io/app.js +41 -0
  2326. data/app/assets/components/rickshaw/examples/socket.io/package.json +16 -0
  2327. data/app/assets/components/rickshaw/examples/socket.io/socket.io.html +44 -0
  2328. data/app/assets/components/rickshaw/examples/sparse.html +58 -0
  2329. data/app/assets/components/rickshaw/examples/start.html +26 -0
  2330. data/app/assets/components/rickshaw/examples/status.html +58 -0
  2331. data/app/assets/components/rickshaw/examples/stops.html +90 -0
  2332. data/app/assets/components/rickshaw/examples/timescale.html +56 -0
  2333. data/app/assets/components/rickshaw/examples/x_axis.html +80 -0
  2334. data/app/assets/components/rickshaw/examples/y_axis.html +60 -0
  2335. data/app/assets/components/rickshaw/package.json +36 -0
  2336. data/app/assets/components/rickshaw/rickshaw.css +355 -0
  2337. data/app/assets/components/rickshaw/rickshaw.js +4068 -0
  2338. data/app/assets/components/rickshaw/rickshaw.min.css +1 -0
  2339. data/app/assets/components/rickshaw/rickshaw.min.js +3 -0
  2340. data/app/assets/components/rickshaw/src/css/detail.css +105 -0
  2341. data/app/assets/components/rickshaw/src/css/graph.css +177 -0
  2342. data/app/assets/components/rickshaw/src/css/legend.css +73 -0
  2343. data/app/assets/components/rickshaw/src/helpers/endUMD.js +2 -0
  2344. data/app/assets/components/rickshaw/src/helpers/startUMD.js +11 -0
  2345. data/app/assets/components/rickshaw/src/js/Rickshaw.Class.js +204 -0
  2346. data/app/assets/components/rickshaw/src/js/Rickshaw.Color.Palette.js +48 -0
  2347. data/app/assets/components/rickshaw/src/js/Rickshaw.Compat.ClassList.js +135 -0
  2348. data/app/assets/components/rickshaw/src/js/Rickshaw.Fixtures.Color.js +159 -0
  2349. data/app/assets/components/rickshaw/src/js/Rickshaw.Fixtures.Number.js +24 -0
  2350. data/app/assets/components/rickshaw/src/js/Rickshaw.Fixtures.RandomData.js +39 -0
  2351. data/app/assets/components/rickshaw/src/js/Rickshaw.Fixtures.Time.Local.js +131 -0
  2352. data/app/assets/components/rickshaw/src/js/Rickshaw.Fixtures.Time.js +115 -0
  2353. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Ajax.js +74 -0
  2354. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Annotate.js +105 -0
  2355. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Axis.Time.js +85 -0
  2356. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Axis.X.js +118 -0
  2357. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Axis.Y.Scaled.js +60 -0
  2358. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Axis.Y.js +117 -0
  2359. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Behavior.Series.Highlight.js +80 -0
  2360. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Behavior.Series.Order.js +44 -0
  2361. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Behavior.Series.Toggle.js +128 -0
  2362. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.HoverDetail.js +277 -0
  2363. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.JSONP.js +14 -0
  2364. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Legend.js +87 -0
  2365. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.RangeSlider.Preview.js +480 -0
  2366. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.RangeSlider.js +92 -0
  2367. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Renderer.Area.js +101 -0
  2368. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Renderer.Bar.js +112 -0
  2369. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Renderer.Line.js +29 -0
  2370. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Renderer.LinePlot.js +84 -0
  2371. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Renderer.Multi.js +161 -0
  2372. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Renderer.ScatterPlot.js +55 -0
  2373. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Renderer.Stack.js +30 -0
  2374. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Renderer.js +175 -0
  2375. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Smoother.js +78 -0
  2376. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.Socketio.js +11 -0
  2377. data/app/assets/components/rickshaw/src/js/Rickshaw.Graph.js +322 -0
  2378. data/app/assets/components/rickshaw/src/js/Rickshaw.Series.FixedDuration.js +80 -0
  2379. data/app/assets/components/rickshaw/src/js/Rickshaw.Series.js +165 -0
  2380. data/app/assets/components/rickshaw/src/js/Rickshaw.js +36 -0
  2381. data/app/assets/components/rickshaw/tests/Rickshaw.Class.js +52 -0
  2382. data/app/assets/components/rickshaw/tests/Rickshaw.Fixtures.Time.Local.js +66 -0
  2383. data/app/assets/components/rickshaw/tests/Rickshaw.Fixtures.Time.js +64 -0
  2384. data/app/assets/components/rickshaw/tests/Rickshaw.Graph.Axis.X.js +44 -0
  2385. data/app/assets/components/rickshaw/tests/Rickshaw.Graph.Axis.Y.js +45 -0
  2386. data/app/assets/components/rickshaw/tests/Rickshaw.Graph.Legend.js +95 -0
  2387. data/app/assets/components/rickshaw/tests/Rickshaw.Graph.RangeSlider.Preview.js +53 -0
  2388. data/app/assets/components/rickshaw/tests/Rickshaw.Graph.Renderer.Multi.js +51 -0
  2389. data/app/assets/components/rickshaw/tests/Rickshaw.Graph.Renderer.Scatterplot.js +29 -0
  2390. data/app/assets/components/rickshaw/tests/Rickshaw.Graph.Renderer.js +203 -0
  2391. data/app/assets/components/rickshaw/tests/Rickshaw.Graph.js +337 -0
  2392. data/app/assets/components/rickshaw/tests/Rickshaw.Series.FixedDuration.js +75 -0
  2393. data/app/assets/components/rickshaw/tests/Rickshaw.Series.js +171 -0
  2394. data/app/assets/components/rickshaw/tests/data/simple.svg +1 -0
  2395. data/app/assets/components/rickshaw/tutorial/example_01.html +24 -0
  2396. data/app/assets/components/rickshaw/tutorial/example_02.html +24 -0
  2397. data/app/assets/components/rickshaw/tutorial/example_03.html +27 -0
  2398. data/app/assets/components/rickshaw/tutorial/example_04.html +51 -0
  2399. data/app/assets/components/rickshaw/tutorial/example_05.html +74 -0
  2400. data/app/assets/components/rickshaw/tutorial/example_06.html +83 -0
  2401. data/app/assets/components/rickshaw/tutorial/example_07.html +106 -0
  2402. data/app/assets/components/rickshaw/tutorial/introduction.html +259 -0
  2403. data/app/assets/components/rickshaw/tutorial/style.css +82 -0
  2404. data/app/assets/components/rickshaw/tutorial/transform.pl +25 -0
  2405. data/app/assets/components/rickshaw/tutorial/transform_epoch.pl +32 -0
  2406. data/app/assets/components/rickshaw/tutorial/transform_region.pl +34 -0
  2407. data/app/assets/components/rickshaw/tutorial/vendor/prettify/prettify.css +28 -0
  2408. data/app/assets/components/rickshaw/tutorial/vendor/prettify/prettify.js +1479 -0
  2409. data/app/assets/components/rickshaw/vendor/d3.layout.min.js +1 -0
  2410. data/app/assets/components/rickshaw/vendor/d3.min.js +2 -0
  2411. data/app/assets/components/rickshaw/vendor/d3.v2.js +7026 -0
  2412. data/app/assets/components/rickshaw/vendor/d3.v3.js +5 -0
  2413. data/app/assets/components/screenfull/.bower.json +31 -0
  2414. data/app/assets/components/screenfull/bower.json +20 -0
  2415. data/app/assets/components/screenfull/dist/screenfull.js +145 -0
  2416. data/app/assets/components/seiyria-bootstrap-slider/.bower.json +35 -0
  2417. data/app/assets/components/seiyria-bootstrap-slider/CONTRIBUTING.md +18 -0
  2418. data/app/assets/components/seiyria-bootstrap-slider/Gruntfile.js +235 -0
  2419. data/app/assets/components/seiyria-bootstrap-slider/LICENSE.md +24 -0
  2420. data/app/assets/components/seiyria-bootstrap-slider/README.md +204 -0
  2421. data/app/assets/components/seiyria-bootstrap-slider/bower.json +26 -0
  2422. data/app/assets/components/seiyria-bootstrap-slider/composer.json +30 -0
  2423. data/app/assets/components/seiyria-bootstrap-slider/css/bootstrap-slider.css +252 -0
  2424. data/app/assets/components/seiyria-bootstrap-slider/dependencies/css/bootstrap.min.css +5 -0
  2425. data/app/assets/components/seiyria-bootstrap-slider/dependencies/js/jquery.min.js +5 -0
  2426. data/app/assets/components/seiyria-bootstrap-slider/dependencies/js/modernizr.js +1406 -0
  2427. data/app/assets/components/seiyria-bootstrap-slider/dist/bootstrap-slider.min.js +29 -0
  2428. data/app/assets/components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.css +255 -0
  2429. data/app/assets/components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.min.css +28 -0
  2430. data/app/assets/components/seiyria-bootstrap-slider/index.html +1025 -0
  2431. data/app/assets/components/seiyria-bootstrap-slider/js/bootstrap-slider.js +1550 -0
  2432. data/app/assets/components/seiyria-bootstrap-slider/package.json +91 -0
  2433. data/app/assets/components/seiyria-bootstrap-slider/sass/slider.scss +218 -0
  2434. data/app/assets/components/seiyria-bootstrap-slider/scripts/postpublish.sh +24 -0
  2435. data/app/assets/components/seiyria-bootstrap-slider/test/phantom_bind_polyfill.js +41 -0
  2436. data/app/assets/components/seiyria-bootstrap-slider/test/specs/ConflictingOptionsSpec.js +73 -0
  2437. data/app/assets/components/seiyria-bootstrap-slider/test/specs/DestroyMethodTests.js +334 -0
  2438. data/app/assets/components/seiyria-bootstrap-slider/test/specs/DraggingHandlesSpec.js +72 -0
  2439. data/app/assets/components/seiyria-bootstrap-slider/test/specs/ElementDataAttributesSpec.js +152 -0
  2440. data/app/assets/components/seiyria-bootstrap-slider/test/specs/EventsSpec.js +303 -0
  2441. data/app/assets/components/seiyria-bootstrap-slider/test/specs/FocusOptionSpec.js +67 -0
  2442. data/app/assets/components/seiyria-bootstrap-slider/test/specs/KeyboardSupportSpec.js +455 -0
  2443. data/app/assets/components/seiyria-bootstrap-slider/test/specs/LogarithmicScaleSpec.js +101 -0
  2444. data/app/assets/components/seiyria-bootstrap-slider/test/specs/LowAndHighTrackSpec.js +224 -0
  2445. data/app/assets/components/seiyria-bootstrap-slider/test/specs/NamespaceSpec.js +46 -0
  2446. data/app/assets/components/seiyria-bootstrap-slider/test/specs/OrientationSpec.js +75 -0
  2447. data/app/assets/components/seiyria-bootstrap-slider/test/specs/PublicMethodsSpec.js +584 -0
  2448. data/app/assets/components/seiyria-bootstrap-slider/test/specs/RefreshMethodSpec.js +34 -0
  2449. data/app/assets/components/seiyria-bootstrap-slider/test/specs/TickLabelSpec.js +74 -0
  2450. data/app/assets/components/seiyria-bootstrap-slider/test/specs/TickMarksSpec.js +177 -0
  2451. data/app/assets/components/seiyria-bootstrap-slider/test/specs/TooltipPositionOptionSpec.js +172 -0
  2452. data/app/assets/components/seiyria-bootstrap-slider/test/specs/TooltipSplitOptionSpec.js +71 -0
  2453. data/app/assets/components/seiyria-bootstrap-slider/test/specs/offMethodSpec.js +33 -0
  2454. data/app/assets/components/seiyria-bootstrap-slider/tpl/SpecRunner.tpl +74 -0
  2455. data/app/assets/components/seiyria-bootstrap-slider/tpl/index.tpl +1025 -0
  2456. data/app/assets/components/select2/.bower.json +23 -0
  2457. data/app/assets/components/select2/.editorconfig +6 -0
  2458. data/app/assets/components/select2/.jshintignore +4 -0
  2459. data/app/assets/components/select2/.jshintrc +25 -0
  2460. data/app/assets/components/select2/.travis.yml +20 -0
  2461. data/app/assets/components/select2/CONTRIBUTING.md +110 -0
  2462. data/app/assets/components/select2/Gruntfile.js +368 -0
  2463. data/app/assets/components/select2/LICENSE.md +21 -0
  2464. data/app/assets/components/select2/README.md +105 -0
  2465. data/app/assets/components/select2/bower.json +12 -0
  2466. data/app/assets/components/select2/component.json +19 -0
  2467. data/app/assets/components/select2/composer.json +22 -0
  2468. data/app/assets/components/select2/dist/css/select2.css +431 -0
  2469. data/app/assets/components/select2/dist/css/select2.min.css +1 -0
  2470. data/app/assets/components/select2/dist/js/i18n/az.js +3 -0
  2471. data/app/assets/components/select2/dist/js/i18n/bg.js +3 -0
  2472. data/app/assets/components/select2/dist/js/i18n/ca.js +3 -0
  2473. data/app/assets/components/select2/dist/js/i18n/cs.js +3 -0
  2474. data/app/assets/components/select2/dist/js/i18n/da.js +3 -0
  2475. data/app/assets/components/select2/dist/js/i18n/de.js +3 -0
  2476. data/app/assets/components/select2/dist/js/i18n/en.js +3 -0
  2477. data/app/assets/components/select2/dist/js/i18n/es.js +3 -0
  2478. data/app/assets/components/select2/dist/js/i18n/et.js +3 -0
  2479. data/app/assets/components/select2/dist/js/i18n/eu.js +3 -0
  2480. data/app/assets/components/select2/dist/js/i18n/fa.js +3 -0
  2481. data/app/assets/components/select2/dist/js/i18n/fi.js +3 -0
  2482. data/app/assets/components/select2/dist/js/i18n/fr.js +3 -0
  2483. data/app/assets/components/select2/dist/js/i18n/gl.js +3 -0
  2484. data/app/assets/components/select2/dist/js/i18n/he.js +3 -0
  2485. data/app/assets/components/select2/dist/js/i18n/hi.js +3 -0
  2486. data/app/assets/components/select2/dist/js/i18n/hr.js +3 -0
  2487. data/app/assets/components/select2/dist/js/i18n/hu.js +3 -0
  2488. data/app/assets/components/select2/dist/js/i18n/id.js +3 -0
  2489. data/app/assets/components/select2/dist/js/i18n/is.js +3 -0
  2490. data/app/assets/components/select2/dist/js/i18n/it.js +3 -0
  2491. data/app/assets/components/select2/dist/js/i18n/ko.js +3 -0
  2492. data/app/assets/components/select2/dist/js/i18n/lt.js +3 -0
  2493. data/app/assets/components/select2/dist/js/i18n/lv.js +3 -0
  2494. data/app/assets/components/select2/dist/js/i18n/mk.js +3 -0
  2495. data/app/assets/components/select2/dist/js/i18n/nb.js +3 -0
  2496. data/app/assets/components/select2/dist/js/i18n/nl.js +3 -0
  2497. data/app/assets/components/select2/dist/js/i18n/pl.js +3 -0
  2498. data/app/assets/components/select2/dist/js/i18n/pt-BR.js +3 -0
  2499. data/app/assets/components/select2/dist/js/i18n/pt.js +3 -0
  2500. data/app/assets/components/select2/dist/js/i18n/ro.js +3 -0
  2501. data/app/assets/components/select2/dist/js/i18n/ru.js +3 -0
  2502. data/app/assets/components/select2/dist/js/i18n/sk.js +3 -0
  2503. data/app/assets/components/select2/dist/js/i18n/sr.js +3 -0
  2504. data/app/assets/components/select2/dist/js/i18n/sv.js +3 -0
  2505. data/app/assets/components/select2/dist/js/i18n/th.js +3 -0
  2506. data/app/assets/components/select2/dist/js/i18n/tr.js +3 -0
  2507. data/app/assets/components/select2/dist/js/i18n/uk.js +3 -0
  2508. data/app/assets/components/select2/dist/js/i18n/vi.js +3 -0
  2509. data/app/assets/components/select2/dist/js/i18n/zh-CN.js +3 -0
  2510. data/app/assets/components/select2/dist/js/i18n/zh-TW.js +3 -0
  2511. data/app/assets/components/select2/dist/js/select2.full.js +6114 -0
  2512. data/app/assets/components/select2/dist/js/select2.full.min.js +3 -0
  2513. data/app/assets/components/select2/dist/js/select2.js +5403 -0
  2514. data/app/assets/components/select2/dist/js/select2.min.js +2 -0
  2515. data/app/assets/components/select2/docs/README.md +38 -0
  2516. data/app/assets/components/select2/docs/_includes/footer.html +11 -0
  2517. data/app/assets/components/select2/docs/_includes/head.html +24 -0
  2518. data/app/assets/components/select2/docs/_includes/navigation.html +55 -0
  2519. data/app/assets/components/select2/docs/_layouts/default.html +23 -0
  2520. data/app/assets/components/select2/docs/_layouts/home.html +30 -0
  2521. data/app/assets/components/select2/docs/announcements-4.0.html +734 -0
  2522. data/app/assets/components/select2/docs/community.html +156 -0
  2523. data/app/assets/components/select2/docs/examples.html +1140 -0
  2524. data/app/assets/components/select2/docs/index.html +200 -0
  2525. data/app/assets/components/select2/docs/options.html +1616 -0
  2526. data/app/assets/components/select2/docs/vendor/css/bootstrap.min.css +5 -0
  2527. data/app/assets/components/select2/docs/vendor/css/font-awesome.min.css +4 -0
  2528. data/app/assets/components/select2/docs/vendor/css/prettify.css +30 -0
  2529. data/app/assets/components/select2/docs/vendor/fonts/FontAwesome.otf +0 -0
  2530. data/app/assets/components/select2/docs/vendor/fonts/fontawesome-webfont.eot +0 -0
  2531. data/app/assets/components/select2/docs/vendor/fonts/fontawesome-webfont.svg +520 -0
  2532. data/app/assets/components/select2/docs/vendor/fonts/fontawesome-webfont.ttf +0 -0
  2533. data/app/assets/components/select2/docs/vendor/fonts/fontawesome-webfont.woff +0 -0
  2534. data/app/assets/components/select2/docs/vendor/images/flags/ak.png +0 -0
  2535. data/app/assets/components/select2/docs/vendor/images/flags/al.png +0 -0
  2536. data/app/assets/components/select2/docs/vendor/images/flags/ar.png +0 -0
  2537. data/app/assets/components/select2/docs/vendor/images/flags/az.png +0 -0
  2538. data/app/assets/components/select2/docs/vendor/images/flags/ca.png +0 -0
  2539. data/app/assets/components/select2/docs/vendor/images/flags/co.png +0 -0
  2540. data/app/assets/components/select2/docs/vendor/images/flags/ct.png +0 -0
  2541. data/app/assets/components/select2/docs/vendor/images/flags/de.png +0 -0
  2542. data/app/assets/components/select2/docs/vendor/images/flags/fl.png +0 -0
  2543. data/app/assets/components/select2/docs/vendor/images/flags/ga.png +0 -0
  2544. data/app/assets/components/select2/docs/vendor/images/flags/hi.png +0 -0
  2545. data/app/assets/components/select2/docs/vendor/images/flags/ia.png +0 -0
  2546. data/app/assets/components/select2/docs/vendor/images/flags/id.png +0 -0
  2547. data/app/assets/components/select2/docs/vendor/images/flags/il.png +0 -0
  2548. data/app/assets/components/select2/docs/vendor/images/flags/in.png +0 -0
  2549. data/app/assets/components/select2/docs/vendor/images/flags/ks.png +0 -0
  2550. data/app/assets/components/select2/docs/vendor/images/flags/ky.png +0 -0
  2551. data/app/assets/components/select2/docs/vendor/images/flags/la.png +0 -0
  2552. data/app/assets/components/select2/docs/vendor/images/flags/ma.png +0 -0
  2553. data/app/assets/components/select2/docs/vendor/images/flags/md.png +0 -0
  2554. data/app/assets/components/select2/docs/vendor/images/flags/me.png +0 -0
  2555. data/app/assets/components/select2/docs/vendor/images/flags/mi.png +0 -0
  2556. data/app/assets/components/select2/docs/vendor/images/flags/mn.png +0 -0
  2557. data/app/assets/components/select2/docs/vendor/images/flags/mo.png +0 -0
  2558. data/app/assets/components/select2/docs/vendor/images/flags/ms.png +0 -0
  2559. data/app/assets/components/select2/docs/vendor/images/flags/mt.png +0 -0
  2560. data/app/assets/components/select2/docs/vendor/images/flags/nc.png +0 -0
  2561. data/app/assets/components/select2/docs/vendor/images/flags/nd.png +0 -0
  2562. data/app/assets/components/select2/docs/vendor/images/flags/ne.png +0 -0
  2563. data/app/assets/components/select2/docs/vendor/images/flags/nh.png +0 -0
  2564. data/app/assets/components/select2/docs/vendor/images/flags/nj.png +0 -0
  2565. data/app/assets/components/select2/docs/vendor/images/flags/nm.png +0 -0
  2566. data/app/assets/components/select2/docs/vendor/images/flags/nv.png +0 -0
  2567. data/app/assets/components/select2/docs/vendor/images/flags/ny.png +0 -0
  2568. data/app/assets/components/select2/docs/vendor/images/flags/oh.png +0 -0
  2569. data/app/assets/components/select2/docs/vendor/images/flags/ok.png +0 -0
  2570. data/app/assets/components/select2/docs/vendor/images/flags/or.png +0 -0
  2571. data/app/assets/components/select2/docs/vendor/images/flags/pa.png +0 -0
  2572. data/app/assets/components/select2/docs/vendor/images/flags/ri.png +0 -0
  2573. data/app/assets/components/select2/docs/vendor/images/flags/sc.png +0 -0
  2574. data/app/assets/components/select2/docs/vendor/images/flags/sd.png +0 -0
  2575. data/app/assets/components/select2/docs/vendor/images/flags/tn.png +0 -0
  2576. data/app/assets/components/select2/docs/vendor/images/flags/tx.png +0 -0
  2577. data/app/assets/components/select2/docs/vendor/images/flags/ut.png +0 -0
  2578. data/app/assets/components/select2/docs/vendor/images/flags/va.png +0 -0
  2579. data/app/assets/components/select2/docs/vendor/images/flags/vt.png +0 -0
  2580. data/app/assets/components/select2/docs/vendor/images/flags/wa.png +0 -0
  2581. data/app/assets/components/select2/docs/vendor/images/flags/wi.png +0 -0
  2582. data/app/assets/components/select2/docs/vendor/images/flags/wv.png +0 -0
  2583. data/app/assets/components/select2/docs/vendor/images/flags/wy.png +0 -0
  2584. data/app/assets/components/select2/docs/vendor/js/bootstrap.min.js +6 -0
  2585. data/app/assets/components/select2/docs/vendor/js/jquery.min.js +4 -0
  2586. data/app/assets/components/select2/docs/vendor/js/placeholders.jquery.min.js +2 -0
  2587. data/app/assets/components/select2/docs/vendor/js/prettify.min.js +28 -0
  2588. data/app/assets/components/select2/package.json +59 -0
  2589. data/app/assets/components/select2/select2.jquery.json +32 -0
  2590. data/app/assets/components/select2/src/js/banner.end.js +6 -0
  2591. data/app/assets/components/select2/src/js/banner.start.js +6 -0
  2592. data/app/assets/components/select2/src/js/jquery.mousewheel.shim.js +6 -0
  2593. data/app/assets/components/select2/src/js/jquery.select2.js +57 -0
  2594. data/app/assets/components/select2/src/js/jquery.shim.js +14 -0
  2595. data/app/assets/components/select2/src/js/select2/compat/containerCss.js +56 -0
  2596. data/app/assets/components/select2/src/js/select2/compat/dropdownCss.js +56 -0
  2597. data/app/assets/components/select2/src/js/select2/compat/initSelection.js +42 -0
  2598. data/app/assets/components/select2/src/js/select2/compat/inputData.js +127 -0
  2599. data/app/assets/components/select2/src/js/select2/compat/matcher.js +42 -0
  2600. data/app/assets/components/select2/src/js/select2/compat/query.js +26 -0
  2601. data/app/assets/components/select2/src/js/select2/compat/utils.js +43 -0
  2602. data/app/assets/components/select2/src/js/select2/core.js +528 -0
  2603. data/app/assets/components/select2/src/js/select2/data/ajax.js +101 -0
  2604. data/app/assets/components/select2/src/js/select2/data/array.js +79 -0
  2605. data/app/assets/components/select2/src/js/select2/data/base.js +40 -0
  2606. data/app/assets/components/select2/src/js/select2/data/maximumInputLength.js +31 -0
  2607. data/app/assets/components/select2/src/js/select2/data/maximumSelectionLength.js +31 -0
  2608. data/app/assets/components/select2/src/js/select2/data/minimumInputLength.js +30 -0
  2609. data/app/assets/components/select2/src/js/select2/data/select.js +285 -0
  2610. data/app/assets/components/select2/src/js/select2/data/tags.js +119 -0
  2611. data/app/assets/components/select2/src/js/select2/data/tokenizer.js +86 -0
  2612. data/app/assets/components/select2/src/js/select2/defaults.js +396 -0
  2613. data/app/assets/components/select2/src/js/select2/diacritics.js +847 -0
  2614. data/app/assets/components/select2/src/js/select2/dropdown/attachBody.js +202 -0
  2615. data/app/assets/components/select2/src/js/select2/dropdown/attachContainer.js +18 -0
  2616. data/app/assets/components/select2/src/js/select2/dropdown/closeOnSelect.js +32 -0
  2617. data/app/assets/components/select2/src/js/select2/dropdown/hidePlaceholder.js +42 -0
  2618. data/app/assets/components/select2/src/js/select2/dropdown/infiniteScroll.js +87 -0
  2619. data/app/assets/components/select2/src/js/select2/dropdown/minimumResultsForSearch.js +39 -0
  2620. data/app/assets/components/select2/src/js/select2/dropdown/search.js +95 -0
  2621. data/app/assets/components/select2/src/js/select2/dropdown/selectOnClose.js +29 -0
  2622. data/app/assets/components/select2/src/js/select2/dropdown/stopPropagation.js +38 -0
  2623. data/app/assets/components/select2/src/js/select2/dropdown.js +38 -0
  2624. data/app/assets/components/select2/src/js/select2/i18n/az.js +27 -0
  2625. data/app/assets/components/select2/src/js/select2/i18n/bg.js +47 -0
  2626. data/app/assets/components/select2/src/js/select2/i18n/ca.js +52 -0
  2627. data/app/assets/components/select2/src/js/select2/i18n/cs.js +61 -0
  2628. data/app/assets/components/select2/src/js/select2/i18n/da.js +40 -0
  2629. data/app/assets/components/select2/src/js/select2/i18n/de.js +37 -0
  2630. data/app/assets/components/select2/src/js/select2/i18n/en.js +44 -0
  2631. data/app/assets/components/select2/src/js/select2/i18n/es.js +52 -0
  2632. data/app/assets/components/select2/src/js/select2/i18n/et.js +53 -0
  2633. data/app/assets/components/select2/src/js/select2/i18n/eu.js +51 -0
  2634. data/app/assets/components/select2/src/js/select2/i18n/fa.js +38 -0
  2635. data/app/assets/components/select2/src/js/select2/i18n/fi.js +27 -0
  2636. data/app/assets/components/select2/src/js/select2/i18n/fr.js +46 -0
  2637. data/app/assets/components/select2/src/js/select2/i18n/gl.js +51 -0
  2638. data/app/assets/components/select2/src/js/select2/i18n/he.js +44 -0
  2639. data/app/assets/components/select2/src/js/select2/i18n/hi.js +39 -0
  2640. data/app/assets/components/select2/src/js/select2/i18n/hr.js +41 -0
  2641. data/app/assets/components/select2/src/js/select2/i18n/hu.js +27 -0
  2642. data/app/assets/components/select2/src/js/select2/i18n/id.js +27 -0
  2643. data/app/assets/components/select2/src/js/select2/i18n/is.js +41 -0
  2644. data/app/assets/components/select2/src/js/select2/i18n/it.js +48 -0
  2645. data/app/assets/components/select2/src/js/select2/i18n/ko.js +36 -0
  2646. data/app/assets/components/select2/src/js/select2/i18n/lt.js +51 -0
  2647. data/app/assets/components/select2/src/js/select2/i18n/lv.js +51 -0
  2648. data/app/assets/components/select2/src/js/select2/i18n/mk.js +47 -0
  2649. data/app/assets/components/select2/src/js/select2/i18n/nb.js +35 -0
  2650. data/app/assets/components/select2/src/js/select2/i18n/nl.js +42 -0
  2651. data/app/assets/components/select2/src/js/select2/i18n/pl.js +45 -0
  2652. data/app/assets/components/select2/src/js/select2/i18n/pt-BR.js +46 -0
  2653. data/app/assets/components/select2/src/js/select2/i18n/pt.js +40 -0
  2654. data/app/assets/components/select2/src/js/select2/i18n/ro.js +48 -0
  2655. data/app/assets/components/select2/src/js/select2/i18n/ru.js +58 -0
  2656. data/app/assets/components/select2/src/js/select2/i18n/sk.js +56 -0
  2657. data/app/assets/components/select2/src/js/select2/i18n/sr.js +52 -0
  2658. data/app/assets/components/select2/src/js/select2/i18n/sv.js +37 -0
  2659. data/app/assets/components/select2/src/js/select2/i18n/th.js +33 -0
  2660. data/app/assets/components/select2/src/js/select2/i18n/tr.js +33 -0
  2661. data/app/assets/components/select2/src/js/select2/i18n/uk.js +43 -0
  2662. data/app/assets/components/select2/src/js/select2/i18n/vi.js +37 -0
  2663. data/app/assets/components/select2/src/js/select2/i18n/zh-CN.js +36 -0
  2664. data/app/assets/components/select2/src/js/select2/i18n/zh-TW.js +33 -0
  2665. data/app/assets/components/select2/src/js/select2/keys.js +25 -0
  2666. data/app/assets/components/select2/src/js/select2/options.js +122 -0
  2667. data/app/assets/components/select2/src/js/select2/results.js +508 -0
  2668. data/app/assets/components/select2/src/js/select2/selection/allowClear.js +97 -0
  2669. data/app/assets/components/select2/src/js/select2/selection/base.js +140 -0
  2670. data/app/assets/components/select2/src/js/select2/selection/clickMask.js +29 -0
  2671. data/app/assets/components/select2/src/js/select2/selection/eventRelay.js +45 -0
  2672. data/app/assets/components/select2/src/js/select2/selection/multiple.js +101 -0
  2673. data/app/assets/components/select2/src/js/select2/selection/placeholder.js +49 -0
  2674. data/app/assets/components/select2/src/js/select2/selection/search.js +154 -0
  2675. data/app/assets/components/select2/src/js/select2/selection/single.js +93 -0
  2676. data/app/assets/components/select2/src/js/select2/selection/stopPropagation.js +38 -0
  2677. data/app/assets/components/select2/src/js/select2/translation.js +36 -0
  2678. data/app/assets/components/select2/src/js/select2/utils.js +262 -0
  2679. data/app/assets/components/select2/src/js/wrapper.end.js +12 -0
  2680. data/app/assets/components/select2/src/js/wrapper.start.js +23 -0
  2681. data/app/assets/components/select2/src/scss/_dropdown.scss +73 -0
  2682. data/app/assets/components/select2/src/scss/_multiple.scss +34 -0
  2683. data/app/assets/components/select2/src/scss/_single.scss +30 -0
  2684. data/app/assets/components/select2/src/scss/core.scss +48 -0
  2685. data/app/assets/components/select2/src/scss/mixins/_gradients.scss +13 -0
  2686. data/app/assets/components/select2/src/scss/theme/classic/_defaults.scss +34 -0
  2687. data/app/assets/components/select2/src/scss/theme/classic/_multiple.scss +93 -0
  2688. data/app/assets/components/select2/src/scss/theme/classic/_single.scss +124 -0
  2689. data/app/assets/components/select2/src/scss/theme/classic/layout.scss +63 -0
  2690. data/app/assets/components/select2/src/scss/theme/default/_multiple.scss +94 -0
  2691. data/app/assets/components/select2/src/scss/theme/default/_single.scss +83 -0
  2692. data/app/assets/components/select2/src/scss/theme/default/layout.scss +95 -0
  2693. data/app/assets/components/select2/tests/a11y/selection-tests.js +179 -0
  2694. data/app/assets/components/select2/tests/data/array-tests.js +245 -0
  2695. data/app/assets/components/select2/tests/data/base-tests.js +29 -0
  2696. data/app/assets/components/select2/tests/data/inputData-tests.js +158 -0
  2697. data/app/assets/components/select2/tests/data/maximumInputLength-tests.js +138 -0
  2698. data/app/assets/components/select2/tests/data/maximumSelectionLength-tests.js +202 -0
  2699. data/app/assets/components/select2/tests/data/minimumInputLength-tests.js +138 -0
  2700. data/app/assets/components/select2/tests/data/select-tests.js +457 -0
  2701. data/app/assets/components/select2/tests/data/tags-tests.js +241 -0
  2702. data/app/assets/components/select2/tests/dropdown/dropdownCss-tests.js +104 -0
  2703. data/app/assets/components/select2/tests/dropdown/selectOnClose-tests.js +137 -0
  2704. data/app/assets/components/select2/tests/dropdown/stopPropagation-tests.js +33 -0
  2705. data/app/assets/components/select2/tests/helpers.js +46 -0
  2706. data/app/assets/components/select2/tests/integration/select2-methods.js +139 -0
  2707. data/app/assets/components/select2/tests/integration.html +19 -0
  2708. data/app/assets/components/select2/tests/options/data-tests.js +44 -0
  2709. data/app/assets/components/select2/tests/options/deprecated-tests.js +250 -0
  2710. data/app/assets/components/select2/tests/options/translation-tests.js +28 -0
  2711. data/app/assets/components/select2/tests/options/width-tests.js +66 -0
  2712. data/app/assets/components/select2/tests/selection/allowClear-tests.js +218 -0
  2713. data/app/assets/components/select2/tests/selection/containerCss-tests.js +104 -0
  2714. data/app/assets/components/select2/tests/selection/multiple-tests.js +72 -0
  2715. data/app/assets/components/select2/tests/selection/placeholder-tests.js +74 -0
  2716. data/app/assets/components/select2/tests/selection/single-tests.js +88 -0
  2717. data/app/assets/components/select2/tests/selection/stopPropagation-tests.js +33 -0
  2718. data/app/assets/components/select2/tests/unit.html +88 -0
  2719. data/app/assets/components/select2/tests/utils/decorator-tests.js +189 -0
  2720. data/app/assets/components/select2/tests/utils/escapeMarkup-tests.js +36 -0
  2721. data/app/assets/components/select2/tests/vendor/jquery-1.7.2.js +9404 -0
  2722. data/app/assets/components/select2/tests/vendor/qunit-1.14.0.css +237 -0
  2723. data/app/assets/components/select2/tests/vendor/qunit-1.14.0.js +2288 -0
  2724. data/app/assets/components/select2/vendor/almond-0.2.9.js +421 -0
  2725. data/app/assets/components/select2/vendor/jquery-2.1.0.js +9111 -0
  2726. data/app/assets/components/select2/vendor/jquery.mousewheel.js +221 -0
  2727. data/app/assets/components/select2-bootstrap-theme/.bower.json +29 -0
  2728. data/app/assets/components/select2-bootstrap-theme/Gruntfile.js +128 -0
  2729. data/app/assets/components/select2-bootstrap-theme/README.md +58 -0
  2730. data/app/assets/components/select2-bootstrap-theme/bower.json +19 -0
  2731. data/app/assets/components/select2-bootstrap-theme/dist/select2-bootstrap.css +598 -0
  2732. data/app/assets/components/select2-bootstrap-theme/dist/select2-bootstrap.min.css +1 -0
  2733. data/app/assets/components/select2-bootstrap-theme/docs/4.0.0.html +4 -0
  2734. data/app/assets/components/select2-bootstrap-theme/docs/_config.yml +5 -0
  2735. data/app/assets/components/select2-bootstrap-theme/docs/_includes/footer-links.html +7 -0
  2736. data/app/assets/components/select2-bootstrap-theme/docs/_includes/footer.html +10 -0
  2737. data/app/assets/components/select2-bootstrap-theme/docs/_includes/head.html +13 -0
  2738. data/app/assets/components/select2-bootstrap-theme/docs/_includes/navbar.html +23 -0
  2739. data/app/assets/components/select2-bootstrap-theme/docs/_includes/scripts.html +2 -0
  2740. data/app/assets/components/select2-bootstrap-theme/docs/_includes/select2-select.html +55 -0
  2741. data/app/assets/components/select2-bootstrap-theme/docs/_layouts/default.html +628 -0
  2742. data/app/assets/components/select2-bootstrap-theme/docs/_layouts/minimal.html +7 -0
  2743. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_alert.sass +17 -0
  2744. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_anchorjs.sass +6 -0
  2745. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_buttons.sass +8 -0
  2746. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_common.sass +25 -0
  2747. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_extends.sass +4 -0
  2748. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_footer.sass +22 -0
  2749. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_home.sass +8 -0
  2750. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_jumbotron.sass +36 -0
  2751. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_mixins.sass +9 -0
  2752. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_navbar.sass +4 -0
  2753. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_select2-result-repository.sass +40 -0
  2754. data/app/assets/components/select2-bootstrap-theme/docs/_sass/_variables.sass +1 -0
  2755. data/app/assets/components/select2-bootstrap-theme/docs/css/bootstrap.min.css +5 -0
  2756. data/app/assets/components/select2-bootstrap-theme/docs/css/gh-pages.sass +16 -0
  2757. data/app/assets/components/select2-bootstrap-theme/docs/css/select2-bootstrap.css +598 -0
  2758. data/app/assets/components/select2-bootstrap-theme/docs/favicon.ico +0 -0
  2759. data/app/assets/components/select2-bootstrap-theme/docs/fonts/glyphicons-halflings-regular.eot +0 -0
  2760. data/app/assets/components/select2-bootstrap-theme/docs/fonts/glyphicons-halflings-regular.svg +288 -0
  2761. data/app/assets/components/select2-bootstrap-theme/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
  2762. data/app/assets/components/select2-bootstrap-theme/docs/fonts/glyphicons-halflings-regular.woff +0 -0
  2763. data/app/assets/components/select2-bootstrap-theme/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
  2764. data/app/assets/components/select2-bootstrap-theme/docs/index.html +54 -0
  2765. data/app/assets/components/select2-bootstrap-theme/docs/js/anchor.min.js +6 -0
  2766. data/app/assets/components/select2-bootstrap-theme/docs/js/bootstrap.min.js +7 -0
  2767. data/app/assets/components/select2-bootstrap-theme/docs/js/respond.min.js +5 -0
  2768. data/app/assets/components/select2-bootstrap-theme/package.json +43 -0
  2769. data/app/assets/components/select2-bootstrap-theme/src/build.scss +3 -0
  2770. data/app/assets/components/select2-bootstrap-theme/src/select2-bootstrap.scss +768 -0
  2771. data/app/assets/components/select2-bootstrap-theme/tests/less_test.js +25 -0
  2772. data/app/assets/components/select2-bootstrap-theme/tests/scss_test.js +25 -0
  2773. data/app/assets/components/select2-bootstrap-theme/tests/support/less.patch +610 -0
  2774. data/app/assets/components/select2-bootstrap-theme/tests/support/scss.patch +4 -0
  2775. data/app/assets/components/skycons/.bower.json +13 -0
  2776. data/app/assets/components/skycons/README.md +50 -0
  2777. data/app/assets/components/skycons/index.html +156 -0
  2778. data/app/assets/components/skycons/skycons.js +730 -0
  2779. data/app/assets/components/slimScroll/.bower.json +45 -0
  2780. data/app/assets/components/slimScroll/README.md +8 -0
  2781. data/app/assets/components/slimScroll/bower.json +32 -0
  2782. data/app/assets/components/slimScroll/examples/allow-page-scroll.html +94 -0
  2783. data/app/assets/components/slimScroll/examples/chaining.html +80 -0
  2784. data/app/assets/components/slimScroll/examples/disable-fade-out.html +94 -0
  2785. data/app/assets/components/slimScroll/examples/dynamic-content.html +81 -0
  2786. data/app/assets/components/slimScroll/examples/height-width.html +125 -0
  2787. data/app/assets/components/slimScroll/examples/index.html +9 -0
  2788. data/app/assets/components/slimScroll/examples/libs/prettify/prettify.css +52 -0
  2789. data/app/assets/components/slimScroll/examples/libs/prettify/prettify.js +1477 -0
  2790. data/app/assets/components/slimScroll/examples/mouse-wheel.html +99 -0
  2791. data/app/assets/components/slimScroll/examples/multiple-elements.html +120 -0
  2792. data/app/assets/components/slimScroll/examples/navigation.html +30 -0
  2793. data/app/assets/components/slimScroll/examples/nested.html +82 -0
  2794. data/app/assets/components/slimScroll/examples/programmatic-scrolling.html +138 -0
  2795. data/app/assets/components/slimScroll/examples/rail.html +190 -0
  2796. data/app/assets/components/slimScroll/examples/scroll-events.html +88 -0
  2797. data/app/assets/components/slimScroll/examples/scrollbar.html +189 -0
  2798. data/app/assets/components/slimScroll/examples/start-position.html +100 -0
  2799. data/app/assets/components/slimScroll/examples/style.css +13 -0
  2800. data/app/assets/components/slimScroll/jquery.slimscroll.js +470 -0
  2801. data/app/assets/components/slimScroll/jquery.slimscroll.min.js +16 -0
  2802. data/app/assets/components/slimScroll/package.js +13 -0
  2803. data/app/assets/components/slimScroll/package.json +31 -0
  2804. data/app/assets/components/slimScroll/slimScroll.jquery.json +30 -0
  2805. data/app/assets/components/sparkline/.bower.json +14 -0
  2806. data/app/assets/components/sparkline/index.js +3054 -0
  2807. data/app/assets/components/spinkit/.bower.json +29 -0
  2808. data/app/assets/components/spinkit/CHANGELOG.md +26 -0
  2809. data/app/assets/components/spinkit/CONTRIBUTING.md +22 -0
  2810. data/app/assets/components/spinkit/README.md +72 -0
  2811. data/app/assets/components/spinkit/bower.json +19 -0
  2812. data/app/assets/components/spinkit/css/spinkit.css +684 -0
  2813. data/app/assets/components/spinkit/css/spinners/1-rotating-plane.css +35 -0
  2814. data/app/assets/components/spinkit/css/spinners/10-fading-circle.css +129 -0
  2815. data/app/assets/components/spinkit/css/spinners/11-folding-cube.css +85 -0
  2816. data/app/assets/components/spinkit/css/spinners/2-double-bounce.css +44 -0
  2817. data/app/assets/components/spinkit/css/spinners/3-wave.css +56 -0
  2818. data/app/assets/components/spinkit/css/spinners/4-wandering-cubes.css +68 -0
  2819. data/app/assets/components/spinkit/css/spinners/5-pulse.css +32 -0
  2820. data/app/assets/components/spinkit/css/spinners/6-chasing-dots.css +58 -0
  2821. data/app/assets/components/spinkit/css/spinners/7-three-bounce.css +44 -0
  2822. data/app/assets/components/spinkit/css/spinners/8-circle.css +133 -0
  2823. data/app/assets/components/spinkit/css/spinners/9-cube-grid.css +76 -0
  2824. data/app/assets/components/spinkit/examples/1-rotating-plane.html +49 -0
  2825. data/app/assets/components/spinkit/examples/10-fading-circle.html +156 -0
  2826. data/app/assets/components/spinkit/examples/11-folding-cube.html +104 -0
  2827. data/app/assets/components/spinkit/examples/2-double-bounce.html +61 -0
  2828. data/app/assets/components/spinkit/examples/3-wave.html +76 -0
  2829. data/app/assets/components/spinkit/examples/4-wandering-cubes.html +85 -0
  2830. data/app/assets/components/spinkit/examples/5-pulse.html +46 -0
  2831. data/app/assets/components/spinkit/examples/6-chasing-dots.html +75 -0
  2832. data/app/assets/components/spinkit/examples/7-three-bounce.html +62 -0
  2833. data/app/assets/components/spinkit/examples/8-circle.html +160 -0
  2834. data/app/assets/components/spinkit/examples/9-cube-grid.html +100 -0
  2835. data/app/assets/components/spinkit/gulpfile.js +96 -0
  2836. data/app/assets/components/spinkit/package.json +34 -0
  2837. data/app/assets/components/spinkit/scss/_variables.scss +3 -0
  2838. data/app/assets/components/spinkit/scss/spinkit.scss +11 -0
  2839. data/app/assets/components/spinkit/scss/spinners/1-rotating-plane.scss +25 -0
  2840. data/app/assets/components/spinkit/scss/spinners/10-fading-circle.scss +63 -0
  2841. data/app/assets/components/spinkit/scss/spinners/11-folding-cube.scss +70 -0
  2842. data/app/assets/components/spinkit/scss/spinners/2-double-bounce.scss +38 -0
  2843. data/app/assets/components/spinkit/scss/spinners/3-wave.scss +42 -0
  2844. data/app/assets/components/spinkit/scss/spinners/4-wandering-cubes.scss +51 -0
  2845. data/app/assets/components/spinkit/scss/spinners/5-pulse.scss +25 -0
  2846. data/app/assets/components/spinkit/scss/spinners/6-chasing-dots.scss +52 -0
  2847. data/app/assets/components/spinkit/scss/spinners/7-three-bounce.scss +40 -0
  2848. data/app/assets/components/spinkit/scss/spinners/8-circle.scss +62 -0
  2849. data/app/assets/components/spinkit/scss/spinners/9-cube-grid.scss +55 -0
  2850. data/app/assets/components/sweetalert/.bower.json +35 -0
  2851. data/app/assets/components/sweetalert/.editorconfig +11 -0
  2852. data/app/assets/components/sweetalert/.jshintrc +11 -0
  2853. data/app/assets/components/sweetalert/.travis.yml +8 -0
  2854. data/app/assets/components/sweetalert/README.md +157 -0
  2855. data/app/assets/components/sweetalert/bower.json +25 -0
  2856. data/app/assets/components/sweetalert/dev/gulpfile-wrap-template.js +18 -0
  2857. data/app/assets/components/sweetalert/dev/ie9.css +23 -0
  2858. data/app/assets/components/sweetalert/dev/loader-animation.css +209 -0
  2859. data/app/assets/components/sweetalert/dev/modules/default-params.js +26 -0
  2860. data/app/assets/components/sweetalert/dev/modules/handle-click.js +128 -0
  2861. data/app/assets/components/sweetalert/dev/modules/handle-dom.js +161 -0
  2862. data/app/assets/components/sweetalert/dev/modules/handle-key.js +73 -0
  2863. data/app/assets/components/sweetalert/dev/modules/handle-swal-dom.js +148 -0
  2864. data/app/assets/components/sweetalert/dev/modules/injected-html.js +69 -0
  2865. data/app/assets/components/sweetalert/dev/modules/set-params.js +221 -0
  2866. data/app/assets/components/sweetalert/dev/modules/utils.js +71 -0
  2867. data/app/assets/components/sweetalert/dev/sweetalert.es6.js +311 -0
  2868. data/app/assets/components/sweetalert/dev/sweetalert.scss +648 -0
  2869. data/app/assets/components/sweetalert/dist/sweetalert-dev.js +1285 -0
  2870. data/app/assets/components/sweetalert/dist/sweetalert.css +932 -0
  2871. data/app/assets/components/sweetalert/dist/sweetalert.min.js +1 -0
  2872. data/app/assets/components/sweetalert/example/example.css +442 -0
  2873. data/app/assets/components/sweetalert/example/example.scss +580 -0
  2874. data/app/assets/components/sweetalert/example/images/logo_big.png +0 -0
  2875. data/app/assets/components/sweetalert/example/images/logo_big@2x.png +0 -0
  2876. data/app/assets/components/sweetalert/example/images/logo_small.png +0 -0
  2877. data/app/assets/components/sweetalert/example/images/logo_small@2x.png +0 -0
  2878. data/app/assets/components/sweetalert/example/images/te-logo-small.svg +12 -0
  2879. data/app/assets/components/sweetalert/example/images/thumbs-up.jpg +0 -0
  2880. data/app/assets/components/sweetalert/example/images/vs_icon.png +0 -0
  2881. data/app/assets/components/sweetalert/example/images/vs_icon@2x.png +0 -0
  2882. data/app/assets/components/sweetalert/gulpfile.js +108 -0
  2883. data/app/assets/components/sweetalert/index.html +584 -0
  2884. data/app/assets/components/sweetalert/lib/modules/default-params.js +32 -0
  2885. data/app/assets/components/sweetalert/lib/modules/handle-click.js +135 -0
  2886. data/app/assets/components/sweetalert/lib/modules/handle-dom.js +191 -0
  2887. data/app/assets/components/sweetalert/lib/modules/handle-key.js +79 -0
  2888. data/app/assets/components/sweetalert/lib/modules/handle-swal-dom.js +167 -0
  2889. data/app/assets/components/sweetalert/lib/modules/injected-html.js +42 -0
  2890. data/app/assets/components/sweetalert/lib/modules/set-params.js +225 -0
  2891. data/app/assets/components/sweetalert/lib/modules/utils.js +73 -0
  2892. data/app/assets/components/sweetalert/lib/sweetalert.js +303 -0
  2893. data/app/assets/components/sweetalert/package.json +46 -0
  2894. data/app/assets/components/sweetalert/sweetalert.gif +0 -0
  2895. data/app/assets/components/sweetalert/test/index.html +25 -0
  2896. data/app/assets/components/sweetalert/test/tests.js +141 -0
  2897. data/app/assets/components/sweetalert/themes/facebook/facebook.css +111 -0
  2898. data/app/assets/components/sweetalert/themes/facebook/facebook.scss +146 -0
  2899. data/app/assets/components/sweetalert/themes/google/google.css +115 -0
  2900. data/app/assets/components/sweetalert/themes/google/google.scss +148 -0
  2901. data/app/assets/components/sweetalert/themes/twitter/twitter.css +140 -0
  2902. data/app/assets/components/sweetalert/themes/twitter/twitter.scss +177 -0
  2903. data/app/assets/components/whirl/.bower.json +28 -0
  2904. data/app/assets/components/whirl/README.md +92 -0
  2905. data/app/assets/components/whirl/bower.json +19 -0
  2906. data/app/assets/components/whirl/dist/whirl.css +472 -0
  2907. data/app/assets/components/whirl/dist/whirl.min.css +1 -0
  2908. data/app/assets/components/whirl/gulpfile.js +129 -0
  2909. data/app/assets/components/whirl/package.json +22 -0
  2910. data/app/assets/components/whirl/src/jade/index.jade +19 -0
  2911. data/app/assets/components/whirl/src/scss/core.scss +64 -0
  2912. data/app/assets/components/whirl/src/scss/whirls/bar/bar-follow.scss +15 -0
  2913. data/app/assets/components/whirl/src/scss/whirls/bar/bar.scss +19 -0
  2914. data/app/assets/components/whirl/src/scss/whirls/blade/blade.scss +15 -0
  2915. data/app/assets/components/whirl/src/scss/whirls/double-up/double-up.scss +8 -0
  2916. data/app/assets/components/whirl/src/scss/whirls/duo/duo.scss +10 -0
  2917. data/app/assets/components/whirl/src/scss/whirls/helicopter/helicopter.scss +13 -0
  2918. data/app/assets/components/whirl/src/scss/whirls/line/line-back-and-forth-grow.scss +25 -0
  2919. data/app/assets/components/whirl/src/scss/whirls/line/line-back-and-forth.scss +18 -0
  2920. data/app/assets/components/whirl/src/scss/whirls/line/line-grow.scss +19 -0
  2921. data/app/assets/components/whirl/src/scss/whirls/line/line.scss +20 -0
  2922. data/app/assets/components/whirl/src/scss/whirls/ringed/ringed.scss +12 -0
  2923. data/app/assets/components/whirl/src/scss/whirls/shadow/shadow-oval-left.scss +25 -0
  2924. data/app/assets/components/whirl/src/scss/whirls/shadow/shadow-oval-right.scss +25 -0
  2925. data/app/assets/components/whirl/src/scss/whirls/shadow/shadow.scss +25 -0
  2926. data/app/assets/components/whirl/src/scss/whirls/spherical/spherical-horizontal.scss +19 -0
  2927. data/app/assets/components/whirl/src/scss/whirls/spherical/spherical-vertical.scss +19 -0
  2928. data/app/assets/components/whirl/src/scss/whirls/traditional/traditional.scss +12 -0
  2929. data/app/assets/components/whirl/whirl-config.json +41 -0
  2930. data/app/assets/components/whirl/whirl.css +472 -0
  2931. data/app/assets/components/whirl/whirl.min.css +1 -0
  2932. data/app/assets/components/x-editable/.bower.json +30 -0
  2933. data/app/assets/components/x-editable/bower.json +20 -0
  2934. data/app/assets/components/x-editable/dist/bootstrap-editable/css/bootstrap-editable.css +663 -0
  2935. data/app/assets/components/x-editable/dist/bootstrap-editable/img/clear.png +0 -0
  2936. data/app/assets/components/x-editable/dist/bootstrap-editable/img/loading.gif +0 -0
  2937. data/app/assets/components/x-editable/dist/bootstrap-editable/js/bootstrap-editable.js +7007 -0
  2938. data/app/assets/components/x-editable/dist/bootstrap-editable/js/bootstrap-editable.min.js +7 -0
  2939. data/app/assets/components/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css +663 -0
  2940. data/app/assets/components/x-editable/dist/bootstrap3-editable/img/clear.png +0 -0
  2941. data/app/assets/components/x-editable/dist/bootstrap3-editable/img/loading.gif +0 -0
  2942. data/app/assets/components/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.js +6807 -0
  2943. data/app/assets/components/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.min.js +7 -0
  2944. data/app/assets/components/x-editable/dist/inputs-ext/address/address.css +9 -0
  2945. data/app/assets/components/x-editable/dist/inputs-ext/address/address.js +170 -0
  2946. data/app/assets/components/x-editable/dist/inputs-ext/typeaheadjs/lib/typeahead.js +1139 -0
  2947. data/app/assets/components/x-editable/dist/inputs-ext/typeaheadjs/lib/typeahead.js-bootstrap.css +49 -0
  2948. data/app/assets/components/x-editable/dist/inputs-ext/typeaheadjs/typeaheadjs.js +86 -0
  2949. data/app/assets/components/x-editable/dist/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.css +102 -0
  2950. data/app/assets/components/x-editable/dist/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.js +499 -0
  2951. data/app/assets/components/x-editable/dist/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.min.js +1 -0
  2952. data/app/assets/components/x-editable/dist/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/wysihtml5-0.3.0.js +9521 -0
  2953. data/app/assets/components/x-editable/dist/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/wysihtml5-0.3.0.min.js +261 -0
  2954. data/app/assets/components/x-editable/dist/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/wysiwyg-color.css +67 -0
  2955. data/app/assets/components/x-editable/dist/inputs-ext/wysihtml5/wysihtml5.js +138 -0
  2956. data/app/assets/components/x-editable/dist/jquery-editable/css/jquery-editable.css +213 -0
  2957. data/app/assets/components/x-editable/dist/jquery-editable/img/clear.png +0 -0
  2958. data/app/assets/components/x-editable/dist/jquery-editable/img/loading.gif +0 -0
  2959. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/animated-overlay.gif +0 -0
  2960. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  2961. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  2962. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  2963. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  2964. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  2965. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  2966. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  2967. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  2968. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  2969. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  2970. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  2971. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  2972. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  2973. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  2974. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  2975. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/jquery-ui-1.10.3.custom.css +649 -0
  2976. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/css/redmond/jquery-ui-1.10.3.custom.min.css +5 -0
  2977. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/js/jquery-ui-1.10.3.custom.js +2340 -0
  2978. data/app/assets/components/x-editable/dist/jquery-editable/jquery-ui-datepicker/js/jquery-ui-1.10.3.custom.min.js +7 -0
  2979. data/app/assets/components/x-editable/dist/jquery-editable/js/jquery-editable-poshytip.js +5118 -0
  2980. data/app/assets/components/x-editable/dist/jquery-editable/js/jquery-editable-poshytip.min.js +6 -0
  2981. data/app/assets/components/x-editable/dist/jqueryui-editable/css/jqueryui-editable.css +213 -0
  2982. data/app/assets/components/x-editable/dist/jqueryui-editable/img/clear.png +0 -0
  2983. data/app/assets/components/x-editable/dist/jqueryui-editable/img/loading.gif +0 -0
  2984. data/app/assets/components/x-editable/dist/jqueryui-editable/js/jqueryui-editable.js +5065 -0
  2985. data/app/assets/components/x-editable/dist/jqueryui-editable/js/jqueryui-editable.min.js +6 -0
  2986. data/app/assets/fonts/Simple-Line-Icons.eot +0 -0
  2987. data/app/assets/fonts/Simple-Line-Icons.svg +211 -0
  2988. data/app/assets/fonts/Simple-Line-Icons.ttf +0 -0
  2989. data/app/assets/fonts/Simple-Line-Icons.woff +0 -0
  2990. data/app/assets/fonts/Simple-Line-Icons.woff2 +0 -0
  2991. data/app/assets/fonts/fa-brands-400.ttf +0 -0
  2992. data/app/assets/fonts/fa-brands-400.woff2 +0 -0
  2993. data/app/assets/fonts/fa-regular-400.ttf +0 -0
  2994. data/app/assets/fonts/fa-regular-400.woff2 +0 -0
  2995. data/app/assets/fonts/fa-solid-900.ttf +0 -0
  2996. data/app/assets/fonts/fa-solid-900.woff2 +0 -0
  2997. data/app/assets/fonts/fa-v4compatibility.ttf +0 -0
  2998. data/app/assets/fonts/fa-v4compatibility.woff2 +0 -0
  2999. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  3000. data/app/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  3001. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  3002. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  3003. data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  3004. data/app/assets/fonts/weathericons-regular-webfont.eot +0 -0
  3005. data/app/assets/fonts/weathericons-regular-webfont.svg +257 -0
  3006. data/app/assets/fonts/weathericons-regular-webfont.ttf +0 -0
  3007. data/app/assets/fonts/weathericons-regular-webfont.woff +0 -0
  3008. data/app/assets/fonts/weathericons-regular-webfont.woff2 +0 -0
  3009. data/app/assets/images/favicon.ico +0 -0
  3010. data/app/assets/images/favicon.png +0 -0
  3011. data/app/assets/images/radius-theme/bg1.jpg +0 -0
  3012. data/app/assets/images/radius-theme/bg10.jpg +0 -0
  3013. data/app/assets/images/radius-theme/bg2.jpg +0 -0
  3014. data/app/assets/images/radius-theme/bg3.jpg +0 -0
  3015. data/app/assets/images/radius-theme/bg4.jpg +0 -0
  3016. data/app/assets/images/radius-theme/bg5.jpg +0 -0
  3017. data/app/assets/images/radius-theme/bg6.jpg +0 -0
  3018. data/app/assets/images/radius-theme/bg7.jpg +0 -0
  3019. data/app/assets/images/radius-theme/bg8.jpg +0 -0
  3020. data/app/assets/images/radius-theme/bg9.jpg +0 -0
  3021. data/app/assets/images/radius-theme/dummy.png +0 -0
  3022. data/app/assets/images/radius-theme/lock-bg.jpg +0 -0
  3023. data/app/assets/images/radius-theme/logo-single.png +0 -0
  3024. data/app/assets/images/radius-theme/logo.png +0 -0
  3025. data/app/assets/images/radius-theme/mb-sample.jpg +0 -0
  3026. data/app/assets/images/radius-theme/mockup.png +0 -0
  3027. data/app/assets/images/radius-theme/profile-bg.jpg +0 -0
  3028. data/app/assets/images/radius-theme/user/01.jpg +0 -0
  3029. data/app/assets/images/radius-theme/user/02.jpg +0 -0
  3030. data/app/assets/images/radius-theme/user/03.jpg +0 -0
  3031. data/app/assets/images/radius-theme/user/04.jpg +0 -0
  3032. data/app/assets/images/radius-theme/user/05.jpg +0 -0
  3033. data/app/assets/images/radius-theme/user/06.jpg +0 -0
  3034. data/app/assets/images/radius-theme/user/07.jpg +0 -0
  3035. data/app/assets/images/radius-theme/user/08.jpg +0 -0
  3036. data/app/assets/images/radius-theme/user/09.jpg +0 -0
  3037. data/app/assets/images/radius-theme/user/10.jpg +0 -0
  3038. data/app/assets/images/radius-theme/user/11.jpg +0 -0
  3039. data/app/assets/images/radius-theme/user/12.jpg +0 -0
  3040. data/app/assets/images/radius-theme/user/13.jpg +0 -0
  3041. data/app/assets/javascripts/radius-theme/app.init.js +36 -0
  3042. data/app/assets/javascripts/radius-theme/modules/bootstrap-start.js +28 -0
  3043. data/app/assets/javascripts/radius-theme/modules/calendar.js +262 -0
  3044. data/app/assets/javascripts/radius-theme/modules/chart-easypie.js +64 -0
  3045. data/app/assets/javascripts/radius-theme/modules/chart-knob.js +47 -0
  3046. data/app/assets/javascripts/radius-theme/modules/chart.js +296 -0
  3047. data/app/assets/javascripts/radius-theme/modules/chartist.js +242 -0
  3048. data/app/assets/javascripts/radius-theme/modules/classyloader.js +45 -0
  3049. data/app/assets/javascripts/radius-theme/modules/clear-storage.js +25 -0
  3050. data/app/assets/javascripts/radius-theme/modules/color-picker.js +25 -0
  3051. data/app/assets/javascripts/radius-theme/modules/constants.js +34 -0
  3052. data/app/assets/javascripts/radius-theme/modules/demo/demo-datatable.js +113 -0
  3053. data/app/assets/javascripts/radius-theme/modules/demo/demo-flot.js +660 -0
  3054. data/app/assets/javascripts/radius-theme/modules/demo/demo-forms.js +71 -0
  3055. data/app/assets/javascripts/radius-theme/modules/demo/demo-jqcloud.js +57 -0
  3056. data/app/assets/javascripts/radius-theme/modules/demo/demo-jqgrid.js +140 -0
  3057. data/app/assets/javascripts/radius-theme/modules/demo/demo-nestable.js +55 -0
  3058. data/app/assets/javascripts/radius-theme/modules/demo/demo-panels.js +53 -0
  3059. data/app/assets/javascripts/radius-theme/modules/demo/demo-search.js +39 -0
  3060. data/app/assets/javascripts/radius-theme/modules/demo/demo-sortable.js +18 -0
  3061. data/app/assets/javascripts/radius-theme/modules/demo/demo-upload.js +48 -0
  3062. data/app/assets/javascripts/radius-theme/modules/demo/demo-vector-map.js +48 -0
  3063. data/app/assets/javascripts/radius-theme/modules/demo/demo-wizard.js +57 -0
  3064. data/app/assets/javascripts/radius-theme/modules/demo/demo-xeditable.js +123 -0
  3065. data/app/assets/javascripts/radius-theme/modules/flatdoc.js +16 -0
  3066. data/app/assets/javascripts/radius-theme/modules/fullscreen.js +42 -0
  3067. data/app/assets/javascripts/radius-theme/modules/gmap.js +83 -0
  3068. data/app/assets/javascripts/radius-theme/modules/imagecrop.js +221 -0
  3069. data/app/assets/javascripts/radius-theme/modules/load-css.js +49 -0
  3070. data/app/assets/javascripts/radius-theme/modules/maps-vector.js +81 -0
  3071. data/app/assets/javascripts/radius-theme/modules/morris.js +79 -0
  3072. data/app/assets/javascripts/radius-theme/modules/navbar-search.js +64 -0
  3073. data/app/assets/javascripts/radius-theme/modules/notify.js +206 -0
  3074. data/app/assets/javascripts/radius-theme/modules/now.js +23 -0
  3075. data/app/assets/javascripts/radius-theme/modules/panel-tools.js +188 -0
  3076. data/app/assets/javascripts/radius-theme/modules/play-animation.js +73 -0
  3077. data/app/assets/javascripts/radius-theme/modules/porlets.js +77 -0
  3078. data/app/assets/javascripts/radius-theme/modules/rickshaw.js +104 -0
  3079. data/app/assets/javascripts/radius-theme/modules/select2.js +30 -0
  3080. data/app/assets/javascripts/radius-theme/modules/sidebar.js +177 -0
  3081. data/app/assets/javascripts/radius-theme/modules/skycons.js +21 -0
  3082. data/app/assets/javascripts/radius-theme/modules/slimscroll.js +13 -0
  3083. data/app/assets/javascripts/radius-theme/modules/sparkline.js +28 -0
  3084. data/app/assets/javascripts/radius-theme/modules/sweetalert.js +65 -0
  3085. data/app/assets/javascripts/radius-theme/modules/table-checkall.js +23 -0
  3086. data/app/assets/javascripts/radius-theme/modules/toggle-state.js +106 -0
  3087. data/app/assets/javascripts/radius-theme/modules/tour.js +45 -0
  3088. data/app/assets/javascripts/radius-theme/modules/utils.js +166 -0
  3089. data/app/assets/javascripts/radius-theme.js +10 -0
  3090. data/app/assets/stylesheets/font-awesome.css.erb +8676 -0
  3091. data/app/assets/stylesheets/overrides/_status_badges.scss +39 -0
  3092. data/app/assets/stylesheets/overrides/_theme_extensions.scss +18 -0
  3093. data/app/assets/stylesheets/overrides/_utility.scss +131 -0
  3094. data/app/assets/stylesheets/radius-theme/app/alerts.scss +84 -0
  3095. data/app/assets/stylesheets/radius-theme/app/animate.scss +221 -0
  3096. data/app/assets/stylesheets/radius-theme/app/bootstrap-datetimepicker.scss +373 -0
  3097. data/app/assets/stylesheets/radius-theme/app/bootstrap-reset.scss +316 -0
  3098. data/app/assets/stylesheets/radius-theme/app/breadcrumbs.scss +33 -0
  3099. data/app/assets/stylesheets/radius-theme/app/button-extra.scss +170 -0
  3100. data/app/assets/stylesheets/radius-theme/app/calendar.scss +107 -0
  3101. data/app/assets/stylesheets/radius-theme/app/chart-easypie.scss +28 -0
  3102. data/app/assets/stylesheets/radius-theme/app/chart-flot.scss +64 -0
  3103. data/app/assets/stylesheets/radius-theme/app/circles.scss +92 -0
  3104. data/app/assets/stylesheets/radius-theme/app/customizations.scss +21 -0
  3105. data/app/assets/stylesheets/radius-theme/app/datatable.scss +121 -0
  3106. data/app/assets/stylesheets/radius-theme/app/docs.scss +199 -0
  3107. data/app/assets/stylesheets/radius-theme/app/dropdown-extra.scss +62 -0
  3108. data/app/assets/stylesheets/radius-theme/app/footer.scss +13 -0
  3109. data/app/assets/stylesheets/radius-theme/app/form-elements.scss +320 -0
  3110. data/app/assets/stylesheets/radius-theme/app/form-imgcrop.scss +64 -0
  3111. data/app/assets/stylesheets/radius-theme/app/form-tags.scss +19 -0
  3112. data/app/assets/stylesheets/radius-theme/app/form-validation.scss +30 -0
  3113. data/app/assets/stylesheets/radius-theme/app/form-wizard.scss +279 -0
  3114. data/app/assets/stylesheets/radius-theme/app/gmap.scss +13 -0
  3115. data/app/assets/stylesheets/radius-theme/app/half-float.scss +45 -0
  3116. data/app/assets/stylesheets/radius-theme/app/jqgrid.scss +226 -0
  3117. data/app/assets/stylesheets/radius-theme/app/layout-animation.scss +45 -0
  3118. data/app/assets/stylesheets/radius-theme/app/layout-extra.scss +268 -0
  3119. data/app/assets/stylesheets/radius-theme/app/layout.scss +462 -0
  3120. data/app/assets/stylesheets/radius-theme/app/loaders.scss +1882 -0
  3121. data/app/assets/stylesheets/radius-theme/app/mailbox.scss +131 -0
  3122. data/app/assets/stylesheets/radius-theme/app/masonry-grid.scss +1177 -0
  3123. data/app/assets/stylesheets/radius-theme/app/media-queries.scss +20 -0
  3124. data/app/assets/stylesheets/radius-theme/app/nestable.scss +103 -0
  3125. data/app/assets/stylesheets/radius-theme/app/notify.scss +143 -0
  3126. data/app/assets/stylesheets/radius-theme/app/offsidebar.scss +105 -0
  3127. data/app/assets/stylesheets/radius-theme/app/panels.scss +122 -0
  3128. data/app/assets/stylesheets/radius-theme/app/placeholder.scss +43 -0
  3129. data/app/assets/stylesheets/radius-theme/app/plugins.scss +185 -0
  3130. data/app/assets/stylesheets/radius-theme/app/portlets.scss +41 -0
  3131. data/app/assets/stylesheets/radius-theme/app/print.scss +32 -0
  3132. data/app/assets/stylesheets/radius-theme/app/progress-extra.scss +42 -0
  3133. data/app/assets/stylesheets/radius-theme/app/radial-bar.scss +152 -0
  3134. data/app/assets/stylesheets/radius-theme/app/row-extra.scss +50 -0
  3135. data/app/assets/stylesheets/radius-theme/app/settings.scss +65 -0
  3136. data/app/assets/stylesheets/radius-theme/app/sidebar.scss +261 -0
  3137. data/app/assets/stylesheets/radius-theme/app/slim-scroll.scss +27 -0
  3138. data/app/assets/stylesheets/radius-theme/app/spinner.scss +196 -0
  3139. data/app/assets/stylesheets/radius-theme/app/table-extras.scss +70 -0
  3140. data/app/assets/stylesheets/radius-theme/app/table-grid.scss +84 -0
  3141. data/app/assets/stylesheets/radius-theme/app/timeline.scss +261 -0
  3142. data/app/assets/stylesheets/radius-theme/app/todo.scss +49 -0
  3143. data/app/assets/stylesheets/radius-theme/app/top-navbar.scss +313 -0
  3144. data/app/assets/stylesheets/radius-theme/app/typo.scss +14 -0
  3145. data/app/assets/stylesheets/radius-theme/app/user-block.scss +79 -0
  3146. data/app/assets/stylesheets/radius-theme/app/utils-definitions.scss +114 -0
  3147. data/app/assets/stylesheets/radius-theme/app/utils.scss +423 -0
  3148. data/app/assets/stylesheets/radius-theme/app/variables.scss +921 -0
  3149. data/app/assets/stylesheets/radius-theme/app/vector-map.scss +38 -0
  3150. data/app/assets/stylesheets/radius-theme/app/widget.scss +36 -0
  3151. data/app/assets/stylesheets/radius-theme/app.scss +184 -0
  3152. data/app/assets/stylesheets/radius-theme/bootstrap/_bootstrap-compass.scss +9 -0
  3153. data/app/assets/stylesheets/radius-theme/bootstrap/_bootstrap-mincer.scss +19 -0
  3154. data/app/assets/stylesheets/radius-theme/bootstrap/_bootstrap-sprockets.scss +9 -0
  3155. data/app/assets/stylesheets/radius-theme/bootstrap/_bootstrap.scss +56 -0
  3156. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_alerts.scss +73 -0
  3157. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_badges.scss +68 -0
  3158. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_breadcrumbs.scss +28 -0
  3159. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_button-groups.scss +244 -0
  3160. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_buttons.scss +168 -0
  3161. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_carousel.scss +270 -0
  3162. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_close.scss +36 -0
  3163. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_code.scss +69 -0
  3164. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_component-animations.scss +37 -0
  3165. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_dropdowns.scss +216 -0
  3166. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_forms.scss +617 -0
  3167. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_glyphicons.scss +307 -0
  3168. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_grid.scss +84 -0
  3169. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_input-groups.scss +171 -0
  3170. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_jumbotron.scss +54 -0
  3171. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_labels.scss +66 -0
  3172. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_list-group.scss +130 -0
  3173. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_media.scss +66 -0
  3174. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_mixins.scss +40 -0
  3175. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_modals.scss +150 -0
  3176. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_navbar.scss +662 -0
  3177. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_navs.scss +242 -0
  3178. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_normalize.scss +424 -0
  3179. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_pager.scss +54 -0
  3180. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_pagination.scss +89 -0
  3181. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_panels.scss +271 -0
  3182. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_popovers.scss +131 -0
  3183. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_print.scss +101 -0
  3184. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_progress-bars.scss +87 -0
  3185. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_responsive-embed.scss +35 -0
  3186. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_responsive-utilities.scss +179 -0
  3187. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_scaffolding.scss +161 -0
  3188. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_tables.scss +234 -0
  3189. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_theme.scss +291 -0
  3190. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_thumbnails.scss +38 -0
  3191. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_tooltip.scss +101 -0
  3192. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_type.scss +298 -0
  3193. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_utilities.scss +55 -0
  3194. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_variables.scss +874 -0
  3195. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/_wells.scss +29 -0
  3196. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_alerts.scss +14 -0
  3197. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_background-variant.scss +12 -0
  3198. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_border-radius.scss +18 -0
  3199. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_buttons.scss +65 -0
  3200. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_center-block.scss +7 -0
  3201. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_clearfix.scss +22 -0
  3202. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_forms.scss +88 -0
  3203. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_gradients.scss +58 -0
  3204. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_grid-framework.scss +81 -0
  3205. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_grid.scss +122 -0
  3206. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_hide-text.scss +21 -0
  3207. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_image.scss +33 -0
  3208. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_labels.scss +12 -0
  3209. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_list-group.scss +32 -0
  3210. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_nav-divider.scss +10 -0
  3211. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  3212. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_opacity.scss +8 -0
  3213. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_pagination.scss +24 -0
  3214. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_panels.scss +24 -0
  3215. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_progress-bar.scss +10 -0
  3216. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_reset-filter.scss +8 -0
  3217. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_reset-text.scss +18 -0
  3218. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_resize.scss +6 -0
  3219. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_responsive-visibility.scss +21 -0
  3220. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_size.scss +10 -0
  3221. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_tab-focus.scss +9 -0
  3222. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_table-row.scss +28 -0
  3223. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_text-emphasis.scss +12 -0
  3224. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_text-overflow.scss +8 -0
  3225. data/app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  3226. data/app/assets/stylesheets/radius-theme/masquerade.scss +12 -0
  3227. data/app/assets/stylesheets/radius-theme/themes/theme-a.scss +217 -0
  3228. data/app/assets/stylesheets/radius-theme/themes/theme-b.scss +216 -0
  3229. data/app/assets/stylesheets/radius-theme/themes/theme-c.scss +218 -0
  3230. data/app/assets/stylesheets/radius-theme/themes/theme-d.scss +218 -0
  3231. data/app/assets/stylesheets/radius-theme/themes/theme-e.scss +219 -0
  3232. data/app/assets/stylesheets/radius-theme/themes/theme-f.scss +218 -0
  3233. data/app/assets/stylesheets/radius-theme/themes/theme-g.scss +217 -0
  3234. data/app/assets/stylesheets/radius-theme/themes/theme-h.scss +217 -0
  3235. data/app/assets/stylesheets/radius-theme.scss +4 -0
  3236. data/app/assets/stylesheets/simple-line-icons.scss.erb +758 -0
  3237. data/app/assets/stylesheets/weather-icons.css.erb +1842 -0
  3238. data/app/helpers/icon_helper.rb +96 -0
  3239. data/app/helpers/radius_helper.rb +18 -0
  3240. data/app/views/radius/_masquerade_bar.html.erb +9 -0
  3241. data/app/views/radius/_topnavbar.html.erb +111 -0
  3242. data/app/views/radius/forms/_form_errors.html.slim +6 -0
  3243. data/lib/radius/rails/engine.rb +0 -2
  3244. data/lib/radius/rails/version.rb +1 -1
  3245. data/lib/radius-rails.rb +10 -0
  3246. data/lib/templates/rails/scaffold_controller/controller.rb.tt +67 -0
  3247. data/lib/templates/slim/scaffold/_form.html.slim.tt +39 -0
  3248. data/lib/templates/slim/scaffold/edit.html.slim.tt +10 -0
  3249. data/lib/templates/slim/scaffold/index.html.slim.tt +32 -0
  3250. data/lib/templates/slim/scaffold/new.html.slim.tt +8 -0
  3251. data/lib/templates/slim/scaffold/show.html.slim.tt +18 -0
  3252. data/radius-rails.gemspec +3 -5
  3253. data/vendor/stylelint-15.6.0/lib/__tests__/fixtures/node_modules/test.css +1 -0
  3254. metadata +3256 -38
  3255. data/app/assets/images/corporate-bar-logo.png +0 -0
  3256. data/app/assets/stylesheets/corporate-bar.scss +0 -81
  3257. data/app/views/radius/_corporate_bar.html.erb +0 -43
  3258. data/app/views/radius/_ga.html.erb +0 -9
  3259. data/app/views/radius/_zendesk.html.erb +0 -23
@@ -0,0 +1,4078 @@
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd) {
3
+ // AMD. Register as an anonymous module unless amdModuleId is set
4
+ define([], function () {
5
+ return (root['Chartist'] = factory());
6
+ });
7
+ } else if (typeof exports === 'object') {
8
+ // Node. Does not work with strict CommonJS, but
9
+ // only CommonJS-like environments that support module.exports,
10
+ // like Node.
11
+ module.exports = factory();
12
+ } else {
13
+ root['Chartist'] = factory();
14
+ }
15
+ }(this, function () {
16
+
17
+ /* Chartist.js 0.9.4
18
+ * Copyright © 2015 Gion Kunz
19
+ * Free to use under the WTFPL license.
20
+ * http://www.wtfpl.net/
21
+ */
22
+ /**
23
+ * The core module of Chartist that is mainly providing static functions and higher level functions for chart modules.
24
+ *
25
+ * @module Chartist.Core
26
+ */
27
+ var Chartist = {
28
+ version: '0.9.4'
29
+ };
30
+
31
+ (function (window, document, Chartist) {
32
+ 'use strict';
33
+
34
+ /**
35
+ * Helps to simplify functional style code
36
+ *
37
+ * @memberof Chartist.Core
38
+ * @param {*} n This exact value will be returned by the noop function
39
+ * @return {*} The same value that was provided to the n parameter
40
+ */
41
+ Chartist.noop = function (n) {
42
+ return n;
43
+ };
44
+
45
+ /**
46
+ * Generates a-z from a number 0 to 26
47
+ *
48
+ * @memberof Chartist.Core
49
+ * @param {Number} n A number from 0 to 26 that will result in a letter a-z
50
+ * @return {String} A character from a-z based on the input number n
51
+ */
52
+ Chartist.alphaNumerate = function (n) {
53
+ // Limit to a-z
54
+ return String.fromCharCode(97 + n % 26);
55
+ };
56
+
57
+ /**
58
+ * Simple recursive object extend
59
+ *
60
+ * @memberof Chartist.Core
61
+ * @param {Object} target Target object where the source will be merged into
62
+ * @param {Object...} sources This object (objects) will be merged into target and then target is returned
63
+ * @return {Object} An object that has the same reference as target but is extended and merged with the properties of source
64
+ */
65
+ Chartist.extend = function (target) {
66
+ target = target || {};
67
+
68
+ var sources = Array.prototype.slice.call(arguments, 1);
69
+ sources.forEach(function(source) {
70
+ for (var prop in source) {
71
+ if (typeof source[prop] === 'object' && source[prop] !== null && !(source[prop] instanceof Array)) {
72
+ target[prop] = Chartist.extend({}, target[prop], source[prop]);
73
+ } else {
74
+ target[prop] = source[prop];
75
+ }
76
+ }
77
+ });
78
+
79
+ return target;
80
+ };
81
+
82
+ /**
83
+ * Replaces all occurrences of subStr in str with newSubStr and returns a new string.
84
+ *
85
+ * @memberof Chartist.Core
86
+ * @param {String} str
87
+ * @param {String} subStr
88
+ * @param {String} newSubStr
89
+ * @return {String}
90
+ */
91
+ Chartist.replaceAll = function(str, subStr, newSubStr) {
92
+ return str.replace(new RegExp(subStr, 'g'), newSubStr);
93
+ };
94
+
95
+ /**
96
+ * Converts a string to a number while removing the unit if present. If a number is passed then this will be returned unmodified.
97
+ *
98
+ * @memberof Chartist.Core
99
+ * @param {String|Number} value
100
+ * @return {Number} Returns the string as number or NaN if the passed length could not be converted to pixel
101
+ */
102
+ Chartist.stripUnit = function(value) {
103
+ if(typeof value === 'string') {
104
+ value = value.replace(/[^0-9\+-\.]/g, '');
105
+ }
106
+
107
+ return +value;
108
+ };
109
+
110
+ /**
111
+ * Converts a number to a string with a unit. If a string is passed then this will be returned unmodified.
112
+ *
113
+ * @memberof Chartist.Core
114
+ * @param {Number} value
115
+ * @param {String} unit
116
+ * @return {String} Returns the passed number value with unit.
117
+ */
118
+ Chartist.ensureUnit = function(value, unit) {
119
+ if(typeof value === 'number') {
120
+ value = value + unit;
121
+ }
122
+
123
+ return value;
124
+ };
125
+
126
+ /**
127
+ * This is a wrapper around document.querySelector that will return the query if it's already of type Node
128
+ *
129
+ * @memberof Chartist.Core
130
+ * @param {String|Node} query The query to use for selecting a Node or a DOM node that will be returned directly
131
+ * @return {Node}
132
+ */
133
+ Chartist.querySelector = function(query) {
134
+ return query instanceof Node ? query : document.querySelector(query);
135
+ };
136
+
137
+ /**
138
+ * Functional style helper to produce array with given length initialized with undefined values
139
+ *
140
+ * @memberof Chartist.Core
141
+ * @param length
142
+ * @return {Array}
143
+ */
144
+ Chartist.times = function(length) {
145
+ return Array.apply(null, new Array(length));
146
+ };
147
+
148
+ /**
149
+ * Sum helper to be used in reduce functions
150
+ *
151
+ * @memberof Chartist.Core
152
+ * @param previous
153
+ * @param current
154
+ * @return {*}
155
+ */
156
+ Chartist.sum = function(previous, current) {
157
+ return previous + (current ? current : 0);
158
+ };
159
+
160
+ /**
161
+ * Multiply helper to be used in `Array.map` for multiplying each value of an array with a factor.
162
+ *
163
+ * @memberof Chartist.Core
164
+ * @param {Number} factor
165
+ * @returns {Function} Function that can be used in `Array.map` to multiply each value in an array
166
+ */
167
+ Chartist.mapMultiply = function(factor) {
168
+ return function(num) {
169
+ return num * factor;
170
+ };
171
+ };
172
+
173
+ /**
174
+ * Add helper to be used in `Array.map` for adding a addend to each value of an array.
175
+ *
176
+ * @memberof Chartist.Core
177
+ * @param {Number} addend
178
+ * @returns {Function} Function that can be used in `Array.map` to add a addend to each value in an array
179
+ */
180
+ Chartist.mapAdd = function(addend) {
181
+ return function(num) {
182
+ return num + addend;
183
+ };
184
+ };
185
+
186
+ /**
187
+ * Map for multi dimensional arrays where their nested arrays will be mapped in serial. The output array will have the length of the largest nested array. The callback function is called with variable arguments where each argument is the nested array value (or undefined if there are no more values).
188
+ *
189
+ * @memberof Chartist.Core
190
+ * @param arr
191
+ * @param cb
192
+ * @return {Array}
193
+ */
194
+ Chartist.serialMap = function(arr, cb) {
195
+ var result = [],
196
+ length = Math.max.apply(null, arr.map(function(e) {
197
+ return e.length;
198
+ }));
199
+
200
+ Chartist.times(length).forEach(function(e, index) {
201
+ var args = arr.map(function(e) {
202
+ return e[index];
203
+ });
204
+
205
+ result[index] = cb.apply(null, args);
206
+ });
207
+
208
+ return result;
209
+ };
210
+
211
+ /**
212
+ * This helper function can be used to round values with certain precision level after decimal. This is used to prevent rounding errors near float point precision limit.
213
+ *
214
+ * @memberof Chartist.Core
215
+ * @param {Number} value The value that should be rounded with precision
216
+ * @param {Number} [digits] The number of digits after decimal used to do the rounding
217
+ * @returns {number} Rounded value
218
+ */
219
+ Chartist.roundWithPrecision = function(value, digits) {
220
+ var precision = Math.pow(10, digits || Chartist.precision);
221
+ return Math.round(value * precision) / precision;
222
+ };
223
+
224
+ /**
225
+ * Precision level used internally in Chartist for rounding. If you require more decimal places you can increase this number.
226
+ *
227
+ * @memberof Chartist.Core
228
+ * @type {number}
229
+ */
230
+ Chartist.precision = 8;
231
+
232
+ /**
233
+ * A map with characters to escape for strings to be safely used as attribute values.
234
+ *
235
+ * @memberof Chartist.Core
236
+ * @type {Object}
237
+ */
238
+ Chartist.escapingMap = {
239
+ '&': '&',
240
+ '<': '&lt;',
241
+ '>': '&gt;',
242
+ '"': '&quot;',
243
+ '\'': '&#039;'
244
+ };
245
+
246
+ /**
247
+ * This function serializes arbitrary data to a string. In case of data that can't be easily converted to a string, this function will create a wrapper object and serialize the data using JSON.stringify. The outcoming string will always be escaped using Chartist.escapingMap.
248
+ * If called with null or undefined the function will return immediately with null or undefined.
249
+ *
250
+ * @memberof Chartist.Core
251
+ * @param {Number|String|Object} data
252
+ * @return {String}
253
+ */
254
+ Chartist.serialize = function(data) {
255
+ if(data === null || data === undefined) {
256
+ return data;
257
+ } else if(typeof data === 'number') {
258
+ data = ''+data;
259
+ } else if(typeof data === 'object') {
260
+ data = JSON.stringify({data: data});
261
+ }
262
+
263
+ return Object.keys(Chartist.escapingMap).reduce(function(result, key) {
264
+ return Chartist.replaceAll(result, key, Chartist.escapingMap[key]);
265
+ }, data);
266
+ };
267
+
268
+ /**
269
+ * This function de-serializes a string previously serialized with Chartist.serialize. The string will always be unescaped using Chartist.escapingMap before it's returned. Based on the input value the return type can be Number, String or Object. JSON.parse is used with try / catch to see if the unescaped string can be parsed into an Object and this Object will be returned on success.
270
+ *
271
+ * @memberof Chartist.Core
272
+ * @param {String} data
273
+ * @return {String|Number|Object}
274
+ */
275
+ Chartist.deserialize = function(data) {
276
+ if(typeof data !== 'string') {
277
+ return data;
278
+ }
279
+
280
+ data = Object.keys(Chartist.escapingMap).reduce(function(result, key) {
281
+ return Chartist.replaceAll(result, Chartist.escapingMap[key], key);
282
+ }, data);
283
+
284
+ try {
285
+ data = JSON.parse(data);
286
+ data = data.data !== undefined ? data.data : data;
287
+ } catch(e) {}
288
+
289
+ return data;
290
+ };
291
+
292
+ /**
293
+ * Create or reinitialize the SVG element for the chart
294
+ *
295
+ * @memberof Chartist.Core
296
+ * @param {Node} container The containing DOM Node object that will be used to plant the SVG element
297
+ * @param {String} width Set the width of the SVG element. Default is 100%
298
+ * @param {String} height Set the height of the SVG element. Default is 100%
299
+ * @param {String} className Specify a class to be added to the SVG element
300
+ * @return {Object} The created/reinitialized SVG element
301
+ */
302
+ Chartist.createSvg = function (container, width, height, className) {
303
+ var svg;
304
+
305
+ width = width || '100%';
306
+ height = height || '100%';
307
+
308
+ // Check if there is a previous SVG element in the container that contains the Chartist XML namespace and remove it
309
+ // Since the DOM API does not support namespaces we need to manually search the returned list http://www.w3.org/TR/selectors-api/
310
+ Array.prototype.slice.call(container.querySelectorAll('svg')).filter(function filterChartistSvgObjects(svg) {
311
+ return svg.getAttributeNS('http://www.w3.org/2000/xmlns/', Chartist.xmlNs.prefix);
312
+ }).forEach(function removePreviousElement(svg) {
313
+ container.removeChild(svg);
314
+ });
315
+
316
+ // Create svg object with width and height or use 100% as default
317
+ svg = new Chartist.Svg('svg').attr({
318
+ width: width,
319
+ height: height
320
+ }).addClass(className).attr({
321
+ style: 'width: ' + width + '; height: ' + height + ';'
322
+ });
323
+
324
+ // Add the DOM node to our container
325
+ container.appendChild(svg._node);
326
+
327
+ return svg;
328
+ };
329
+
330
+
331
+ /**
332
+ * Reverses the series, labels and series data arrays.
333
+ *
334
+ * @memberof Chartist.Core
335
+ * @param data
336
+ */
337
+ Chartist.reverseData = function(data) {
338
+ data.labels.reverse();
339
+ data.series.reverse();
340
+ for (var i = 0; i < data.series.length; i++) {
341
+ if(typeof(data.series[i]) === 'object' && data.series[i].data !== undefined) {
342
+ data.series[i].data.reverse();
343
+ } else if(data.series[i] instanceof Array) {
344
+ data.series[i].reverse();
345
+ }
346
+ }
347
+ };
348
+
349
+ /**
350
+ * Convert data series into plain array
351
+ *
352
+ * @memberof Chartist.Core
353
+ * @param {Object} data The series object that contains the data to be visualized in the chart
354
+ * @param {Boolean} reverse If true the whole data is reversed by the getDataArray call. This will modify the data object passed as first parameter. The labels as well as the series order is reversed. The whole series data arrays are reversed too.
355
+ * @param {Boolean} multi Create a multi dimensional array from a series data array where a value object with `x` and `y` values will be created.
356
+ * @return {Array} A plain array that contains the data to be visualized in the chart
357
+ */
358
+ Chartist.getDataArray = function (data, reverse, multi) {
359
+ // If the data should be reversed but isn't we need to reverse it
360
+ // If it's reversed but it shouldn't we need to reverse it back
361
+ // That's required to handle data updates correctly and to reflect the responsive configurations
362
+ if(reverse && !data.reversed || !reverse && data.reversed) {
363
+ Chartist.reverseData(data);
364
+ data.reversed = !data.reversed;
365
+ }
366
+
367
+ // Recursively walks through nested arrays and convert string values to numbers and objects with value properties
368
+ // to values. Check the tests in data core -> data normalization for a detailed specification of expected values
369
+ function recursiveConvert(value) {
370
+ if(Chartist.isFalseyButZero(value)) {
371
+ // This is a hole in data and we should return undefined
372
+ return undefined;
373
+ } else if((value.data || value) instanceof Array) {
374
+ return (value.data || value).map(recursiveConvert);
375
+ } else if(value.hasOwnProperty('value')) {
376
+ return recursiveConvert(value.value);
377
+ } else {
378
+ if(multi) {
379
+ var multiValue = {};
380
+
381
+ // Single series value arrays are assumed to specify the Y-Axis value
382
+ // For example: [1, 2] => [{x: undefined, y: 1}, {x: undefined, y: 2}]
383
+ // If multi is a string then it's assumed that it specified which dimension should be filled as default
384
+ if(typeof multi === 'string') {
385
+ multiValue[multi] = Chartist.getNumberOrUndefined(value);
386
+ } else {
387
+ multiValue.y = Chartist.getNumberOrUndefined(value);
388
+ }
389
+
390
+ multiValue.x = value.hasOwnProperty('x') ? Chartist.getNumberOrUndefined(value.x) : multiValue.x;
391
+ multiValue.y = value.hasOwnProperty('y') ? Chartist.getNumberOrUndefined(value.y) : multiValue.y;
392
+
393
+ return multiValue;
394
+
395
+ } else {
396
+ return Chartist.getNumberOrUndefined(value);
397
+ }
398
+ }
399
+ }
400
+
401
+ return data.series.map(recursiveConvert);
402
+ };
403
+
404
+ /**
405
+ * Converts a number into a padding object.
406
+ *
407
+ * @memberof Chartist.Core
408
+ * @param {Object|Number} padding
409
+ * @param {Number} [fallback] This value is used to fill missing values if a incomplete padding object was passed
410
+ * @returns {Object} Returns a padding object containing top, right, bottom, left properties filled with the padding number passed in as argument. If the argument is something else than a number (presumably already a correct padding object) then this argument is directly returned.
411
+ */
412
+ Chartist.normalizePadding = function(padding, fallback) {
413
+ fallback = fallback || 0;
414
+
415
+ return typeof padding === 'number' ? {
416
+ top: padding,
417
+ right: padding,
418
+ bottom: padding,
419
+ left: padding
420
+ } : {
421
+ top: typeof padding.top === 'number' ? padding.top : fallback,
422
+ right: typeof padding.right === 'number' ? padding.right : fallback,
423
+ bottom: typeof padding.bottom === 'number' ? padding.bottom : fallback,
424
+ left: typeof padding.left === 'number' ? padding.left : fallback
425
+ };
426
+ };
427
+
428
+ Chartist.getMetaData = function(series, index) {
429
+ var value = series.data ? series.data[index] : series[index];
430
+ return value ? Chartist.serialize(value.meta) : undefined;
431
+ };
432
+
433
+ /**
434
+ * Calculate the order of magnitude for the chart scale
435
+ *
436
+ * @memberof Chartist.Core
437
+ * @param {Number} value The value Range of the chart
438
+ * @return {Number} The order of magnitude
439
+ */
440
+ Chartist.orderOfMagnitude = function (value) {
441
+ return Math.floor(Math.log(Math.abs(value)) / Math.LN10);
442
+ };
443
+
444
+ /**
445
+ * Project a data length into screen coordinates (pixels)
446
+ *
447
+ * @memberof Chartist.Core
448
+ * @param {Object} axisLength The svg element for the chart
449
+ * @param {Number} length Single data value from a series array
450
+ * @param {Object} bounds All the values to set the bounds of the chart
451
+ * @return {Number} The projected data length in pixels
452
+ */
453
+ Chartist.projectLength = function (axisLength, length, bounds) {
454
+ return length / bounds.range * axisLength;
455
+ };
456
+
457
+ /**
458
+ * Get the height of the area in the chart for the data series
459
+ *
460
+ * @memberof Chartist.Core
461
+ * @param {Object} svg The svg element for the chart
462
+ * @param {Object} options The Object that contains all the optional values for the chart
463
+ * @return {Number} The height of the area in the chart for the data series
464
+ */
465
+ Chartist.getAvailableHeight = function (svg, options) {
466
+ return Math.max((Chartist.stripUnit(options.height) || svg.height()) - (options.chartPadding.top + options.chartPadding.bottom) - options.axisX.offset, 0);
467
+ };
468
+
469
+ /**
470
+ * Get highest and lowest value of data array. This Array contains the data that will be visualized in the chart.
471
+ *
472
+ * @memberof Chartist.Core
473
+ * @param {Array} data The array that contains the data to be visualized in the chart
474
+ * @param {Object} options The Object that contains the chart options
475
+ * @param {String} dimension Axis dimension 'x' or 'y' used to access the correct value and high / low configuration
476
+ * @return {Object} An object that contains the highest and lowest value that will be visualized on the chart.
477
+ */
478
+ Chartist.getHighLow = function (data, options, dimension) {
479
+ // TODO: Remove workaround for deprecated global high / low config. Axis high / low configuration is preferred
480
+ options = Chartist.extend({}, options, dimension ? options['axis' + dimension.toUpperCase()] : {});
481
+
482
+ var highLow = {
483
+ high: options.high === undefined ? -Number.MAX_VALUE : +options.high,
484
+ low: options.low === undefined ? Number.MAX_VALUE : +options.low
485
+ };
486
+ var findHigh = options.high === undefined;
487
+ var findLow = options.low === undefined;
488
+
489
+ // Function to recursively walk through arrays and find highest and lowest number
490
+ function recursiveHighLow(data) {
491
+ if(data === undefined) {
492
+ return undefined;
493
+ } else if(data instanceof Array) {
494
+ for (var i = 0; i < data.length; i++) {
495
+ recursiveHighLow(data[i]);
496
+ }
497
+ } else {
498
+ var value = dimension ? +data[dimension] : +data;
499
+
500
+ if (findHigh && value > highLow.high) {
501
+ highLow.high = value;
502
+ }
503
+
504
+ if (findLow && value < highLow.low) {
505
+ highLow.low = value;
506
+ }
507
+ }
508
+ }
509
+
510
+ // Start to find highest and lowest number recursively
511
+ if(findHigh || findLow) {
512
+ recursiveHighLow(data);
513
+ }
514
+
515
+ // Overrides of high / low based on reference value, it will make sure that the invisible reference value is
516
+ // used to generate the chart. This is useful when the chart always needs to contain the position of the
517
+ // invisible reference value in the view i.e. for bipolar scales.
518
+ if (options.referenceValue || options.referenceValue === 0) {
519
+ highLow.high = Math.max(options.referenceValue, highLow.high);
520
+ highLow.low = Math.min(options.referenceValue, highLow.low);
521
+ }
522
+
523
+ // If high and low are the same because of misconfiguration or flat data (only the same value) we need
524
+ // to set the high or low to 0 depending on the polarity
525
+ if (highLow.high <= highLow.low) {
526
+ // If both values are 0 we set high to 1
527
+ if (highLow.low === 0) {
528
+ highLow.high = 1;
529
+ } else if (highLow.low < 0) {
530
+ // If we have the same negative value for the bounds we set bounds.high to 0
531
+ highLow.high = 0;
532
+ } else {
533
+ // If we have the same positive value for the bounds we set bounds.low to 0
534
+ highLow.low = 0;
535
+ }
536
+ }
537
+
538
+ return highLow;
539
+ };
540
+
541
+ /**
542
+ * Checks if the value is a valid number or string with a number.
543
+ *
544
+ * @memberof Chartist.Core
545
+ * @param value
546
+ * @returns {Boolean}
547
+ */
548
+ Chartist.isNum = function(value) {
549
+ return !isNaN(value) && isFinite(value);
550
+ };
551
+
552
+ /**
553
+ * Returns true on all falsey values except the numeric value 0.
554
+ *
555
+ * @memberof Chartist.Core
556
+ * @param value
557
+ * @returns {boolean}
558
+ */
559
+ Chartist.isFalseyButZero = function(value) {
560
+ return !value && value !== 0;
561
+ };
562
+
563
+ /**
564
+ * Returns a number if the passed parameter is a valid number or the function will return undefined. On all other values than a valid number, this function will return undefined.
565
+ *
566
+ * @memberof Chartist.Core
567
+ * @param value
568
+ * @returns {*}
569
+ */
570
+ Chartist.getNumberOrUndefined = function(value) {
571
+ return isNaN(+value) ? undefined : +value;
572
+ };
573
+
574
+ /**
575
+ * Gets a value from a dimension `value.x` or `value.y` while returning value directly if it's a valid numeric value. If the value is not numeric and it's falsey this function will return undefined.
576
+ *
577
+ * @param value
578
+ * @param dimension
579
+ * @returns {*}
580
+ */
581
+ Chartist.getMultiValue = function(value, dimension) {
582
+ if(Chartist.isNum(value)) {
583
+ return +value;
584
+ } else if(value) {
585
+ return value[dimension || 'y'] || 0;
586
+ } else {
587
+ return 0;
588
+ }
589
+ };
590
+
591
+ /**
592
+ * Pollard Rho Algorithm to find smallest factor of an integer value. There are more efficient algorithms for factorization, but this one is quite efficient and not so complex.
593
+ *
594
+ * @memberof Chartist.Core
595
+ * @param {Number} num An integer number where the smallest factor should be searched for
596
+ * @returns {Number} The smallest integer factor of the parameter num.
597
+ */
598
+ Chartist.rho = function(num) {
599
+ if(num === 1) {
600
+ return num;
601
+ }
602
+
603
+ function gcd(p, q) {
604
+ if (p % q === 0) {
605
+ return q;
606
+ } else {
607
+ return gcd(q, p % q);
608
+ }
609
+ }
610
+
611
+ function f(x) {
612
+ return x * x + 1;
613
+ }
614
+
615
+ var x1 = 2, x2 = 2, divisor;
616
+ if (num % 2 === 0) {
617
+ return 2;
618
+ }
619
+
620
+ do {
621
+ x1 = f(x1) % num;
622
+ x2 = f(f(x2)) % num;
623
+ divisor = gcd(Math.abs(x1 - x2), num);
624
+ } while (divisor === 1);
625
+
626
+ return divisor;
627
+ };
628
+
629
+ /**
630
+ * Calculate and retrieve all the bounds for the chart and return them in one array
631
+ *
632
+ * @memberof Chartist.Core
633
+ * @param {Number} axisLength The length of the Axis used for
634
+ * @param {Object} highLow An object containing a high and low property indicating the value range of the chart.
635
+ * @param {Number} scaleMinSpace The minimum projected length a step should result in
636
+ * @param {Boolean} onlyInteger
637
+ * @return {Object} All the values to set the bounds of the chart
638
+ */
639
+ Chartist.getBounds = function (axisLength, highLow, scaleMinSpace, onlyInteger) {
640
+ var i,
641
+ optimizationCounter = 0,
642
+ newMin,
643
+ newMax,
644
+ bounds = {
645
+ high: highLow.high,
646
+ low: highLow.low
647
+ };
648
+
649
+ bounds.valueRange = bounds.high - bounds.low;
650
+ bounds.oom = Chartist.orderOfMagnitude(bounds.valueRange);
651
+ bounds.step = Math.pow(10, bounds.oom);
652
+ bounds.min = Math.floor(bounds.low / bounds.step) * bounds.step;
653
+ bounds.max = Math.ceil(bounds.high / bounds.step) * bounds.step;
654
+ bounds.range = bounds.max - bounds.min;
655
+ bounds.numberOfSteps = Math.round(bounds.range / bounds.step);
656
+
657
+ // Optimize scale step by checking if subdivision is possible based on horizontalGridMinSpace
658
+ // If we are already below the scaleMinSpace value we will scale up
659
+ var length = Chartist.projectLength(axisLength, bounds.step, bounds);
660
+ var scaleUp = length < scaleMinSpace;
661
+ var smallestFactor = onlyInteger ? Chartist.rho(bounds.range) : 0;
662
+
663
+ // First check if we should only use integer steps and if step 1 is still larger than scaleMinSpace so we can use 1
664
+ if(onlyInteger && Chartist.projectLength(axisLength, 1, bounds) >= scaleMinSpace) {
665
+ bounds.step = 1;
666
+ } else if(onlyInteger && smallestFactor < bounds.step && Chartist.projectLength(axisLength, smallestFactor, bounds) >= scaleMinSpace) {
667
+ // If step 1 was too small, we can try the smallest factor of range
668
+ // If the smallest factor is smaller than the current bounds.step and the projected length of smallest factor
669
+ // is larger than the scaleMinSpace we should go for it.
670
+ bounds.step = smallestFactor;
671
+ } else {
672
+ // Trying to divide or multiply by 2 and find the best step value
673
+ while (true) {
674
+ if (scaleUp && Chartist.projectLength(axisLength, bounds.step, bounds) <= scaleMinSpace) {
675
+ bounds.step *= 2;
676
+ } else if (!scaleUp && Chartist.projectLength(axisLength, bounds.step / 2, bounds) >= scaleMinSpace) {
677
+ bounds.step /= 2;
678
+ if(onlyInteger && bounds.step % 1 !== 0) {
679
+ bounds.step *= 2;
680
+ break;
681
+ }
682
+ } else {
683
+ break;
684
+ }
685
+
686
+ if(optimizationCounter++ > 1000) {
687
+ throw new Error('Exceeded maximum number of iterations while optimizing scale step!');
688
+ }
689
+ }
690
+ }
691
+
692
+ // Narrow min and max based on new step
693
+ newMin = bounds.min;
694
+ newMax = bounds.max;
695
+ while(newMin + bounds.step <= bounds.low) {
696
+ newMin += bounds.step;
697
+ }
698
+ while(newMax - bounds.step >= bounds.high) {
699
+ newMax -= bounds.step;
700
+ }
701
+ bounds.min = newMin;
702
+ bounds.max = newMax;
703
+ bounds.range = bounds.max - bounds.min;
704
+
705
+ bounds.values = [];
706
+ for (i = bounds.min; i <= bounds.max; i += bounds.step) {
707
+ bounds.values.push(Chartist.roundWithPrecision(i));
708
+ }
709
+
710
+ return bounds;
711
+ };
712
+
713
+ /**
714
+ * Calculate cartesian coordinates of polar coordinates
715
+ *
716
+ * @memberof Chartist.Core
717
+ * @param {Number} centerX X-axis coordinates of center point of circle segment
718
+ * @param {Number} centerY X-axis coordinates of center point of circle segment
719
+ * @param {Number} radius Radius of circle segment
720
+ * @param {Number} angleInDegrees Angle of circle segment in degrees
721
+ * @return {Number} Coordinates of point on circumference
722
+ */
723
+ Chartist.polarToCartesian = function (centerX, centerY, radius, angleInDegrees) {
724
+ var angleInRadians = (angleInDegrees - 90) * Math.PI / 180.0;
725
+
726
+ return {
727
+ x: centerX + (radius * Math.cos(angleInRadians)),
728
+ y: centerY + (radius * Math.sin(angleInRadians))
729
+ };
730
+ };
731
+
732
+ /**
733
+ * Initialize chart drawing rectangle (area where chart is drawn) x1,y1 = bottom left / x2,y2 = top right
734
+ *
735
+ * @memberof Chartist.Core
736
+ * @param {Object} svg The svg element for the chart
737
+ * @param {Object} options The Object that contains all the optional values for the chart
738
+ * @param {Number} [fallbackPadding] The fallback padding if partial padding objects are used
739
+ * @return {Object} The chart rectangles coordinates inside the svg element plus the rectangles measurements
740
+ */
741
+ Chartist.createChartRect = function (svg, options, fallbackPadding) {
742
+ var hasAxis = !!(options.axisX || options.axisY);
743
+ var yAxisOffset = hasAxis ? options.axisY.offset : 0;
744
+ var xAxisOffset = hasAxis ? options.axisX.offset : 0;
745
+ // If width or height results in invalid value (including 0) we fallback to the unitless settings or even 0
746
+ var width = svg.width() || Chartist.stripUnit(options.width) || 0;
747
+ var height = svg.height() || Chartist.stripUnit(options.height) || 0;
748
+ var normalizedPadding = Chartist.normalizePadding(options.chartPadding, fallbackPadding);
749
+
750
+ // If settings were to small to cope with offset (legacy) and padding, we'll adjust
751
+ width = Math.max(width, yAxisOffset + normalizedPadding.left + normalizedPadding.right);
752
+ height = Math.max(height, xAxisOffset + normalizedPadding.top + normalizedPadding.bottom);
753
+
754
+ var chartRect = {
755
+ padding: normalizedPadding,
756
+ width: function () {
757
+ return this.x2 - this.x1;
758
+ },
759
+ height: function () {
760
+ return this.y1 - this.y2;
761
+ }
762
+ };
763
+
764
+ if(hasAxis) {
765
+ if (options.axisX.position === 'start') {
766
+ chartRect.y2 = normalizedPadding.top + xAxisOffset;
767
+ chartRect.y1 = Math.max(height - normalizedPadding.bottom, chartRect.y2 + 1);
768
+ } else {
769
+ chartRect.y2 = normalizedPadding.top;
770
+ chartRect.y1 = Math.max(height - normalizedPadding.bottom - xAxisOffset, chartRect.y2 + 1);
771
+ }
772
+
773
+ if (options.axisY.position === 'start') {
774
+ chartRect.x1 = normalizedPadding.left + yAxisOffset;
775
+ chartRect.x2 = Math.max(width - normalizedPadding.right, chartRect.x1 + 1);
776
+ } else {
777
+ chartRect.x1 = normalizedPadding.left;
778
+ chartRect.x2 = Math.max(width - normalizedPadding.right - yAxisOffset, chartRect.x1 + 1);
779
+ }
780
+ } else {
781
+ chartRect.x1 = normalizedPadding.left;
782
+ chartRect.x2 = Math.max(width - normalizedPadding.right, chartRect.x1 + 1);
783
+ chartRect.y2 = normalizedPadding.top;
784
+ chartRect.y1 = Math.max(height - normalizedPadding.bottom, chartRect.y2 + 1);
785
+ }
786
+
787
+ return chartRect;
788
+ };
789
+
790
+ /**
791
+ * Creates a grid line based on a projected value.
792
+ *
793
+ * @memberof Chartist.Core
794
+ * @param position
795
+ * @param index
796
+ * @param axis
797
+ * @param offset
798
+ * @param length
799
+ * @param group
800
+ * @param classes
801
+ * @param eventEmitter
802
+ */
803
+ Chartist.createGrid = function(position, index, axis, offset, length, group, classes, eventEmitter) {
804
+ var positionalData = {};
805
+ positionalData[axis.units.pos + '1'] = position;
806
+ positionalData[axis.units.pos + '2'] = position;
807
+ positionalData[axis.counterUnits.pos + '1'] = offset;
808
+ positionalData[axis.counterUnits.pos + '2'] = offset + length;
809
+
810
+ var gridElement = group.elem('line', positionalData, classes.join(' '));
811
+
812
+ // Event for grid draw
813
+ eventEmitter.emit('draw',
814
+ Chartist.extend({
815
+ type: 'grid',
816
+ axis: axis,
817
+ index: index,
818
+ group: group,
819
+ element: gridElement
820
+ }, positionalData)
821
+ );
822
+ };
823
+
824
+ /**
825
+ * Creates a label based on a projected value and an axis.
826
+ *
827
+ * @memberof Chartist.Core
828
+ * @param position
829
+ * @param length
830
+ * @param index
831
+ * @param labels
832
+ * @param axis
833
+ * @param axisOffset
834
+ * @param labelOffset
835
+ * @param group
836
+ * @param classes
837
+ * @param useForeignObject
838
+ * @param eventEmitter
839
+ */
840
+ Chartist.createLabel = function(position, length, index, labels, axis, axisOffset, labelOffset, group, classes, useForeignObject, eventEmitter) {
841
+ var labelElement;
842
+ var positionalData = {};
843
+
844
+ positionalData[axis.units.pos] = position + labelOffset[axis.units.pos];
845
+ positionalData[axis.counterUnits.pos] = labelOffset[axis.counterUnits.pos];
846
+ positionalData[axis.units.len] = length;
847
+ positionalData[axis.counterUnits.len] = axisOffset - 10;
848
+
849
+ if(useForeignObject) {
850
+ // We need to set width and height explicitly to px as span will not expand with width and height being
851
+ // 100% in all browsers
852
+ var content = '<span class="' + classes.join(' ') + '" style="' +
853
+ axis.units.len + ': ' + Math.round(positionalData[axis.units.len]) + 'px; ' +
854
+ axis.counterUnits.len + ': ' + Math.round(positionalData[axis.counterUnits.len]) + 'px">' +
855
+ labels[index] + '</span>';
856
+
857
+ labelElement = group.foreignObject(content, Chartist.extend({
858
+ style: 'overflow: visible;'
859
+ }, positionalData));
860
+ } else {
861
+ labelElement = group.elem('text', positionalData, classes.join(' ')).text(labels[index]);
862
+ }
863
+
864
+ eventEmitter.emit('draw', Chartist.extend({
865
+ type: 'label',
866
+ axis: axis,
867
+ index: index,
868
+ group: group,
869
+ element: labelElement,
870
+ text: labels[index]
871
+ }, positionalData));
872
+ };
873
+
874
+ /**
875
+ * Helper to read series specific options from options object. It automatically falls back to the global option if
876
+ * there is no option in the series options.
877
+ *
878
+ * @param {Object} series Series object
879
+ * @param {Object} options Chartist options object
880
+ * @param {string} key The options key that should be used to obtain the options
881
+ * @returns {*}
882
+ */
883
+ Chartist.getSeriesOption = function(series, options, key) {
884
+ if(series.name && options.series && options.series[series.name]) {
885
+ var seriesOptions = options.series[series.name];
886
+ return seriesOptions.hasOwnProperty(key) ? seriesOptions[key] : options[key];
887
+ } else {
888
+ return options[key];
889
+ }
890
+ };
891
+
892
+ /**
893
+ * Provides options handling functionality with callback for options changes triggered by responsive options and media query matches
894
+ *
895
+ * @memberof Chartist.Core
896
+ * @param {Object} options Options set by user
897
+ * @param {Array} responsiveOptions Optional functions to add responsive behavior to chart
898
+ * @param {Object} eventEmitter The event emitter that will be used to emit the options changed events
899
+ * @return {Object} The consolidated options object from the defaults, base and matching responsive options
900
+ */
901
+ Chartist.optionsProvider = function (options, responsiveOptions, eventEmitter) {
902
+ var baseOptions = Chartist.extend({}, options),
903
+ currentOptions,
904
+ mediaQueryListeners = [],
905
+ i;
906
+
907
+ function updateCurrentOptions(preventChangedEvent) {
908
+ var previousOptions = currentOptions;
909
+ currentOptions = Chartist.extend({}, baseOptions);
910
+
911
+ if (responsiveOptions) {
912
+ for (i = 0; i < responsiveOptions.length; i++) {
913
+ var mql = window.matchMedia(responsiveOptions[i][0]);
914
+ if (mql.matches) {
915
+ currentOptions = Chartist.extend(currentOptions, responsiveOptions[i][1]);
916
+ }
917
+ }
918
+ }
919
+
920
+ if(eventEmitter && !preventChangedEvent) {
921
+ eventEmitter.emit('optionsChanged', {
922
+ previousOptions: previousOptions,
923
+ currentOptions: currentOptions
924
+ });
925
+ }
926
+ }
927
+
928
+ function removeMediaQueryListeners() {
929
+ mediaQueryListeners.forEach(function(mql) {
930
+ mql.removeListener(updateCurrentOptions);
931
+ });
932
+ }
933
+
934
+ if (!window.matchMedia) {
935
+ throw 'window.matchMedia not found! Make sure you\'re using a polyfill.';
936
+ } else if (responsiveOptions) {
937
+
938
+ for (i = 0; i < responsiveOptions.length; i++) {
939
+ var mql = window.matchMedia(responsiveOptions[i][0]);
940
+ mql.addListener(updateCurrentOptions);
941
+ mediaQueryListeners.push(mql);
942
+ }
943
+ }
944
+ // Execute initially so we get the correct options
945
+ updateCurrentOptions(true);
946
+
947
+ return {
948
+ removeMediaQueryListeners: removeMediaQueryListeners,
949
+ getCurrentOptions: function getCurrentOptions() {
950
+ return Chartist.extend({}, currentOptions);
951
+ }
952
+ };
953
+ };
954
+
955
+ }(window, document, Chartist));
956
+ ;/**
957
+ * Chartist path interpolation functions.
958
+ *
959
+ * @module Chartist.Interpolation
960
+ */
961
+ /* global Chartist */
962
+ (function(window, document, Chartist) {
963
+ 'use strict';
964
+
965
+ Chartist.Interpolation = {};
966
+
967
+ /**
968
+ * This interpolation function does not smooth the path and the result is only containing lines and no curves.
969
+ *
970
+ * @memberof Chartist.Interpolation
971
+ * @return {Function}
972
+ */
973
+ Chartist.Interpolation.none = function() {
974
+ return function none(pathCoordinates, valueData) {
975
+ var path = new Chartist.Svg.Path();
976
+ // We need to assume that the first value is a "hole"
977
+ var hole = true;
978
+
979
+ for(var i = 1; i < pathCoordinates.length; i += 2) {
980
+ var data = valueData[(i - 1) / 2];
981
+
982
+ // If the current value is undefined we should treat it as a hole start
983
+ if(data.value === undefined) {
984
+ hole = true;
985
+ } else {
986
+ // If this value is valid we need to check if we're coming out of a hole
987
+ if(hole) {
988
+ // If we are coming out of a hole we should first make a move and also reset the hole flag
989
+ path.move(pathCoordinates[i - 1], pathCoordinates[i], false, data);
990
+ hole = false;
991
+ } else {
992
+ path.line(pathCoordinates[i - 1], pathCoordinates[i], false, data);
993
+ }
994
+ }
995
+ }
996
+
997
+ return path;
998
+ };
999
+ };
1000
+
1001
+ /**
1002
+ * Simple smoothing creates horizontal handles that are positioned with a fraction of the length between two data points. You can use the divisor option to specify the amount of smoothing.
1003
+ *
1004
+ * Simple smoothing can be used instead of `Chartist.Smoothing.cardinal` if you'd like to get rid of the artifacts it produces sometimes. Simple smoothing produces less flowing lines but is accurate by hitting the points and it also doesn't swing below or above the given data point.
1005
+ *
1006
+ * All smoothing functions within Chartist are factory functions that accept an options parameter. The simple interpolation function accepts one configuration parameter `divisor`, between 1 and ∞, which controls the smoothing characteristics.
1007
+ *
1008
+ * @example
1009
+ * var chart = new Chartist.Line('.ct-chart', {
1010
+ * labels: [1, 2, 3, 4, 5],
1011
+ * series: [[1, 2, 8, 1, 7]]
1012
+ * }, {
1013
+ * lineSmooth: Chartist.Interpolation.simple({
1014
+ * divisor: 2
1015
+ * })
1016
+ * });
1017
+ *
1018
+ *
1019
+ * @memberof Chartist.Interpolation
1020
+ * @param {Object} options The options of the simple interpolation factory function.
1021
+ * @return {Function}
1022
+ */
1023
+ Chartist.Interpolation.simple = function(options) {
1024
+ var defaultOptions = {
1025
+ divisor: 2
1026
+ };
1027
+ options = Chartist.extend({}, defaultOptions, options);
1028
+
1029
+ var d = 1 / Math.max(1, options.divisor);
1030
+
1031
+ return function simple(pathCoordinates, valueData) {
1032
+ var path = new Chartist.Svg.Path();
1033
+ var hole = true;
1034
+
1035
+ for(var i = 2; i < pathCoordinates.length; i += 2) {
1036
+ var prevX = pathCoordinates[i - 2];
1037
+ var prevY = pathCoordinates[i - 1];
1038
+ var currX = pathCoordinates[i];
1039
+ var currY = pathCoordinates[i + 1];
1040
+ var length = (currX - prevX) * d;
1041
+ var prevData = valueData[(i / 2) - 1];
1042
+ var currData = valueData[i / 2];
1043
+
1044
+ if(prevData.value === undefined) {
1045
+ hole = true;
1046
+ } else {
1047
+
1048
+ if(hole) {
1049
+ path.move(prevX, prevY, false, prevData);
1050
+ }
1051
+
1052
+ if(currData.value !== undefined) {
1053
+ path.curve(
1054
+ prevX + length,
1055
+ prevY,
1056
+ currX - length,
1057
+ currY,
1058
+ currX,
1059
+ currY,
1060
+ false,
1061
+ currData
1062
+ );
1063
+
1064
+ hole = false;
1065
+ }
1066
+ }
1067
+ }
1068
+
1069
+ return path;
1070
+ };
1071
+ };
1072
+
1073
+ /**
1074
+ * Cardinal / Catmull-Rome spline interpolation is the default smoothing function in Chartist. It produces nice results where the splines will always meet the points. It produces some artifacts though when data values are increased or decreased rapidly. The line may not follow a very accurate path and if the line should be accurate this smoothing function does not produce the best results.
1075
+ *
1076
+ * Cardinal splines can only be created if there are more than two data points. If this is not the case this smoothing will fallback to `Chartist.Smoothing.none`.
1077
+ *
1078
+ * All smoothing functions within Chartist are factory functions that accept an options parameter. The cardinal interpolation function accepts one configuration parameter `tension`, between 0 and 1, which controls the smoothing intensity.
1079
+ *
1080
+ * @example
1081
+ * var chart = new Chartist.Line('.ct-chart', {
1082
+ * labels: [1, 2, 3, 4, 5],
1083
+ * series: [[1, 2, 8, 1, 7]]
1084
+ * }, {
1085
+ * lineSmooth: Chartist.Interpolation.cardinal({
1086
+ * tension: 1
1087
+ * })
1088
+ * });
1089
+ *
1090
+ * @memberof Chartist.Interpolation
1091
+ * @param {Object} options The options of the cardinal factory function.
1092
+ * @return {Function}
1093
+ */
1094
+ Chartist.Interpolation.cardinal = function(options) {
1095
+ var defaultOptions = {
1096
+ tension: 1
1097
+ };
1098
+
1099
+ options = Chartist.extend({}, defaultOptions, options);
1100
+
1101
+ var t = Math.min(1, Math.max(0, options.tension)),
1102
+ c = 1 - t;
1103
+
1104
+ // This function will help us to split pathCoordinates and valueData into segments that also contain pathCoordinates
1105
+ // and valueData. This way the existing functions can be reused and the segment paths can be joined afterwards.
1106
+ // This functionality is necessary to treat "holes" in the line charts
1107
+ function splitIntoSegments(pathCoordinates, valueData) {
1108
+ var segments = [];
1109
+ var hole = true;
1110
+
1111
+ for(var i = 0; i < pathCoordinates.length; i += 2) {
1112
+ // If this value is a "hole" we set the hole flag
1113
+ if(valueData[i / 2].value === undefined) {
1114
+ hole = true;
1115
+ } else {
1116
+ // If it's a valid value we need to check if we're coming out of a hole and create a new empty segment
1117
+ if(hole) {
1118
+ segments.push({
1119
+ pathCoordinates: [],
1120
+ valueData: []
1121
+ });
1122
+ // As we have a valid value now, we are not in a "hole" anymore
1123
+ hole = false;
1124
+ }
1125
+
1126
+ // Add to the segment pathCoordinates and valueData
1127
+ segments[segments.length - 1].pathCoordinates.push(pathCoordinates[i], pathCoordinates[i + 1]);
1128
+ segments[segments.length - 1].valueData.push(valueData[i / 2]);
1129
+ }
1130
+ }
1131
+
1132
+ return segments;
1133
+ }
1134
+
1135
+ return function cardinal(pathCoordinates, valueData) {
1136
+ // First we try to split the coordinates into segments
1137
+ // This is necessary to treat "holes" in line charts
1138
+ var segments = splitIntoSegments(pathCoordinates, valueData);
1139
+
1140
+ // If the split resulted in more that one segment we need to interpolate each segment individually and join them
1141
+ // afterwards together into a single path.
1142
+ if(segments.length > 1) {
1143
+ var paths = [];
1144
+ // For each segment we will recurse the cardinal function
1145
+ segments.forEach(function(segment) {
1146
+ paths.push(cardinal(segment.pathCoordinates, segment.valueData));
1147
+ });
1148
+ // Join the segment path data into a single path and return
1149
+ return Chartist.Svg.Path.join(paths);
1150
+ } else {
1151
+ // If there was only one segment we can proceed regularly by using pathCoordinates and valueData from the first
1152
+ // segment
1153
+ pathCoordinates = segments[0].pathCoordinates;
1154
+ valueData = segments[0].valueData;
1155
+
1156
+ // If less than two points we need to fallback to no smoothing
1157
+ if(pathCoordinates.length <= 4) {
1158
+ return Chartist.Interpolation.none()(pathCoordinates, valueData);
1159
+ }
1160
+
1161
+ var path = new Chartist.Svg.Path().move(pathCoordinates[0], pathCoordinates[1], false, valueData[0]),
1162
+ z;
1163
+
1164
+ for (var i = 0, iLen = pathCoordinates.length; iLen - 2 * !z > i; i += 2) {
1165
+ var p = [
1166
+ {x: +pathCoordinates[i - 2], y: +pathCoordinates[i - 1]},
1167
+ {x: +pathCoordinates[i], y: +pathCoordinates[i + 1]},
1168
+ {x: +pathCoordinates[i + 2], y: +pathCoordinates[i + 3]},
1169
+ {x: +pathCoordinates[i + 4], y: +pathCoordinates[i + 5]}
1170
+ ];
1171
+ if (z) {
1172
+ if (!i) {
1173
+ p[0] = {x: +pathCoordinates[iLen - 2], y: +pathCoordinates[iLen - 1]};
1174
+ } else if (iLen - 4 === i) {
1175
+ p[3] = {x: +pathCoordinates[0], y: +pathCoordinates[1]};
1176
+ } else if (iLen - 2 === i) {
1177
+ p[2] = {x: +pathCoordinates[0], y: +pathCoordinates[1]};
1178
+ p[3] = {x: +pathCoordinates[2], y: +pathCoordinates[3]};
1179
+ }
1180
+ } else {
1181
+ if (iLen - 4 === i) {
1182
+ p[3] = p[2];
1183
+ } else if (!i) {
1184
+ p[0] = {x: +pathCoordinates[i], y: +pathCoordinates[i + 1]};
1185
+ }
1186
+ }
1187
+
1188
+ path.curve(
1189
+ (t * (-p[0].x + 6 * p[1].x + p[2].x) / 6) + (c * p[2].x),
1190
+ (t * (-p[0].y + 6 * p[1].y + p[2].y) / 6) + (c * p[2].y),
1191
+ (t * (p[1].x + 6 * p[2].x - p[3].x) / 6) + (c * p[2].x),
1192
+ (t * (p[1].y + 6 * p[2].y - p[3].y) / 6) + (c * p[2].y),
1193
+ p[2].x,
1194
+ p[2].y,
1195
+ false,
1196
+ valueData[(i + 2) / 2]
1197
+ );
1198
+ }
1199
+
1200
+ return path;
1201
+ }
1202
+ };
1203
+ };
1204
+
1205
+ /**
1206
+ * Step interpolation will cause the line chart to move in steps rather than diagonal or smoothed lines. This interpolation will create additional points that will also be drawn when the `showPoint` option is enabled.
1207
+ *
1208
+ * All smoothing functions within Chartist are factory functions that accept an options parameter. The step interpolation function accepts one configuration parameter `postpone`, that can be `true` or `false`. The default value is `true` and will cause the step to occur where the value actually changes. If a different behaviour is needed where the step is shifted to the left and happens before the actual value, this option can be set to `false`.
1209
+ *
1210
+ * @example
1211
+ * var chart = new Chartist.Line('.ct-chart', {
1212
+ * labels: [1, 2, 3, 4, 5],
1213
+ * series: [[1, 2, 8, 1, 7]]
1214
+ * }, {
1215
+ * lineSmooth: Chartist.Interpolation.step({
1216
+ * postpone: true
1217
+ * })
1218
+ * });
1219
+ *
1220
+ * @memberof Chartist.Interpolation
1221
+ * @param options
1222
+ * @returns {Function}
1223
+ */
1224
+ Chartist.Interpolation.step = function(options) {
1225
+ var defaultOptions = {
1226
+ postpone: true
1227
+ };
1228
+
1229
+ options = Chartist.extend({}, defaultOptions, options);
1230
+
1231
+ return function step(pathCoordinates, valueData) {
1232
+ var path = new Chartist.Svg.Path();
1233
+ var hole = true;
1234
+
1235
+ for (var i = 2; i < pathCoordinates.length; i += 2) {
1236
+ var prevX = pathCoordinates[i - 2];
1237
+ var prevY = pathCoordinates[i - 1];
1238
+ var currX = pathCoordinates[i];
1239
+ var currY = pathCoordinates[i + 1];
1240
+ var prevData = valueData[(i / 2) - 1];
1241
+ var currData = valueData[i / 2];
1242
+
1243
+ // If last point is a "hole"
1244
+ if(prevData.value === undefined) {
1245
+ hole = true;
1246
+ } else {
1247
+ // If last point is not a "hole" but we just came back out of a "hole" we need to move first
1248
+ if(hole) {
1249
+ path.move(prevX, prevY, false, prevData);
1250
+ }
1251
+
1252
+ // If the current point is also not a hole we can draw the step lines
1253
+ if(currData.value !== undefined) {
1254
+ if(options.postpone) {
1255
+ // If postponed we should draw the step line with the value of the previous value
1256
+ path.line(currX, prevY, false, prevData);
1257
+ } else {
1258
+ // If not postponed we should draw the step line with the value of the current value
1259
+ path.line(prevX, currY, false, currData);
1260
+ }
1261
+ // Line to the actual point (this should only be a Y-Axis movement
1262
+ path.line(currX, currY, false, currData);
1263
+ // Reset the "hole" flag as previous and current point have valid values
1264
+ hole = false;
1265
+ }
1266
+ }
1267
+ }
1268
+
1269
+ return path;
1270
+ };
1271
+ };
1272
+
1273
+ }(window, document, Chartist));
1274
+ ;/**
1275
+ * A very basic event module that helps to generate and catch events.
1276
+ *
1277
+ * @module Chartist.Event
1278
+ */
1279
+ /* global Chartist */
1280
+ (function (window, document, Chartist) {
1281
+ 'use strict';
1282
+
1283
+ Chartist.EventEmitter = function () {
1284
+ var handlers = [];
1285
+
1286
+ /**
1287
+ * Add an event handler for a specific event
1288
+ *
1289
+ * @memberof Chartist.Event
1290
+ * @param {String} event The event name
1291
+ * @param {Function} handler A event handler function
1292
+ */
1293
+ function addEventHandler(event, handler) {
1294
+ handlers[event] = handlers[event] || [];
1295
+ handlers[event].push(handler);
1296
+ }
1297
+
1298
+ /**
1299
+ * Remove an event handler of a specific event name or remove all event handlers for a specific event.
1300
+ *
1301
+ * @memberof Chartist.Event
1302
+ * @param {String} event The event name where a specific or all handlers should be removed
1303
+ * @param {Function} [handler] An optional event handler function. If specified only this specific handler will be removed and otherwise all handlers are removed.
1304
+ */
1305
+ function removeEventHandler(event, handler) {
1306
+ // Only do something if there are event handlers with this name existing
1307
+ if(handlers[event]) {
1308
+ // If handler is set we will look for a specific handler and only remove this
1309
+ if(handler) {
1310
+ handlers[event].splice(handlers[event].indexOf(handler), 1);
1311
+ if(handlers[event].length === 0) {
1312
+ delete handlers[event];
1313
+ }
1314
+ } else {
1315
+ // If no handler is specified we remove all handlers for this event
1316
+ delete handlers[event];
1317
+ }
1318
+ }
1319
+ }
1320
+
1321
+ /**
1322
+ * Use this function to emit an event. All handlers that are listening for this event will be triggered with the data parameter.
1323
+ *
1324
+ * @memberof Chartist.Event
1325
+ * @param {String} event The event name that should be triggered
1326
+ * @param {*} data Arbitrary data that will be passed to the event handler callback functions
1327
+ */
1328
+ function emit(event, data) {
1329
+ // Only do something if there are event handlers with this name existing
1330
+ if(handlers[event]) {
1331
+ handlers[event].forEach(function(handler) {
1332
+ handler(data);
1333
+ });
1334
+ }
1335
+
1336
+ // Emit event to star event handlers
1337
+ if(handlers['*']) {
1338
+ handlers['*'].forEach(function(starHandler) {
1339
+ starHandler(event, data);
1340
+ });
1341
+ }
1342
+ }
1343
+
1344
+ return {
1345
+ addEventHandler: addEventHandler,
1346
+ removeEventHandler: removeEventHandler,
1347
+ emit: emit
1348
+ };
1349
+ };
1350
+
1351
+ }(window, document, Chartist));
1352
+ ;/**
1353
+ * This module provides some basic prototype inheritance utilities.
1354
+ *
1355
+ * @module Chartist.Class
1356
+ */
1357
+ /* global Chartist */
1358
+ (function(window, document, Chartist) {
1359
+ 'use strict';
1360
+
1361
+ function listToArray(list) {
1362
+ var arr = [];
1363
+ if (list.length) {
1364
+ for (var i = 0; i < list.length; i++) {
1365
+ arr.push(list[i]);
1366
+ }
1367
+ }
1368
+ return arr;
1369
+ }
1370
+
1371
+ /**
1372
+ * Method to extend from current prototype.
1373
+ *
1374
+ * @memberof Chartist.Class
1375
+ * @param {Object} properties The object that serves as definition for the prototype that gets created for the new class. This object should always contain a constructor property that is the desired constructor for the newly created class.
1376
+ * @param {Object} [superProtoOverride] By default extens will use the current class prototype or Chartist.class. With this parameter you can specify any super prototype that will be used.
1377
+ * @return {Function} Constructor function of the new class
1378
+ *
1379
+ * @example
1380
+ * var Fruit = Class.extend({
1381
+ * color: undefined,
1382
+ * sugar: undefined,
1383
+ *
1384
+ * constructor: function(color, sugar) {
1385
+ * this.color = color;
1386
+ * this.sugar = sugar;
1387
+ * },
1388
+ *
1389
+ * eat: function() {
1390
+ * this.sugar = 0;
1391
+ * return this;
1392
+ * }
1393
+ * });
1394
+ *
1395
+ * var Banana = Fruit.extend({
1396
+ * length: undefined,
1397
+ *
1398
+ * constructor: function(length, sugar) {
1399
+ * Banana.super.constructor.call(this, 'Yellow', sugar);
1400
+ * this.length = length;
1401
+ * }
1402
+ * });
1403
+ *
1404
+ * var banana = new Banana(20, 40);
1405
+ * console.log('banana instanceof Fruit', banana instanceof Fruit);
1406
+ * console.log('Fruit is prototype of banana', Fruit.prototype.isPrototypeOf(banana));
1407
+ * console.log('bananas prototype is Fruit', Object.getPrototypeOf(banana) === Fruit.prototype);
1408
+ * console.log(banana.sugar);
1409
+ * console.log(banana.eat().sugar);
1410
+ * console.log(banana.color);
1411
+ */
1412
+ function extend(properties, superProtoOverride) {
1413
+ var superProto = superProtoOverride || this.prototype || Chartist.Class;
1414
+ var proto = Object.create(superProto);
1415
+
1416
+ Chartist.Class.cloneDefinitions(proto, properties);
1417
+
1418
+ var constr = function() {
1419
+ var fn = proto.constructor || function () {},
1420
+ instance;
1421
+
1422
+ // If this is linked to the Chartist namespace the constructor was not called with new
1423
+ // To provide a fallback we will instantiate here and return the instance
1424
+ instance = this === Chartist ? Object.create(proto) : this;
1425
+ fn.apply(instance, Array.prototype.slice.call(arguments, 0));
1426
+
1427
+ // If this constructor was not called with new we need to return the instance
1428
+ // This will not harm when the constructor has been called with new as the returned value is ignored
1429
+ return instance;
1430
+ };
1431
+
1432
+ constr.prototype = proto;
1433
+ constr.super = superProto;
1434
+ constr.extend = this.extend;
1435
+
1436
+ return constr;
1437
+ }
1438
+
1439
+ // Variable argument list clones args > 0 into args[0] and retruns modified args[0]
1440
+ function cloneDefinitions() {
1441
+ var args = listToArray(arguments);
1442
+ var target = args[0];
1443
+
1444
+ args.splice(1, args.length - 1).forEach(function (source) {
1445
+ Object.getOwnPropertyNames(source).forEach(function (propName) {
1446
+ // If this property already exist in target we delete it first
1447
+ delete target[propName];
1448
+ // Define the property with the descriptor from source
1449
+ Object.defineProperty(target, propName,
1450
+ Object.getOwnPropertyDescriptor(source, propName));
1451
+ });
1452
+ });
1453
+
1454
+ return target;
1455
+ }
1456
+
1457
+ Chartist.Class = {
1458
+ extend: extend,
1459
+ cloneDefinitions: cloneDefinitions
1460
+ };
1461
+
1462
+ }(window, document, Chartist));
1463
+ ;/**
1464
+ * Base for all chart types. The methods in Chartist.Base are inherited to all chart types.
1465
+ *
1466
+ * @module Chartist.Base
1467
+ */
1468
+ /* global Chartist */
1469
+ (function(window, document, Chartist) {
1470
+ 'use strict';
1471
+
1472
+ // TODO: Currently we need to re-draw the chart on window resize. This is usually very bad and will affect performance.
1473
+ // This is done because we can't work with relative coordinates when drawing the chart because SVG Path does not
1474
+ // work with relative positions yet. We need to check if we can do a viewBox hack to switch to percentage.
1475
+ // See http://mozilla.6506.n7.nabble.com/Specyfing-paths-with-percentages-unit-td247474.html
1476
+ // Update: can be done using the above method tested here: http://codepen.io/gionkunz/pen/KDvLj
1477
+ // The problem is with the label offsets that can't be converted into percentage and affecting the chart container
1478
+ /**
1479
+ * Updates the chart which currently does a full reconstruction of the SVG DOM
1480
+ *
1481
+ * @param {Object} [data] Optional data you'd like to set for the chart before it will update. If not specified the update method will use the data that is already configured with the chart.
1482
+ * @param {Object} [options] Optional options you'd like to add to the previous options for the chart before it will update. If not specified the update method will use the options that have been already configured with the chart.
1483
+ * @param {Boolean} [override] If set to true, the passed options will be used to extend the options that have been configured already. Otherwise the chart default options will be used as the base
1484
+ * @memberof Chartist.Base
1485
+ */
1486
+ function update(data, options, override) {
1487
+ if(data) {
1488
+ this.data = data;
1489
+ // Event for data transformation that allows to manipulate the data before it gets rendered in the charts
1490
+ this.eventEmitter.emit('data', {
1491
+ type: 'update',
1492
+ data: this.data
1493
+ });
1494
+ }
1495
+
1496
+ if(options) {
1497
+ this.options = Chartist.extend({}, override ? this.options : this.defaultOptions, options);
1498
+
1499
+ // If chartist was not initialized yet, we just set the options and leave the rest to the initialization
1500
+ // Otherwise we re-create the optionsProvider at this point
1501
+ if(!this.initializeTimeoutId) {
1502
+ this.optionsProvider.removeMediaQueryListeners();
1503
+ this.optionsProvider = Chartist.optionsProvider(this.options, this.responsiveOptions, this.eventEmitter);
1504
+ }
1505
+ }
1506
+
1507
+ // Only re-created the chart if it has been initialized yet
1508
+ if(!this.initializeTimeoutId) {
1509
+ this.createChart(this.optionsProvider.getCurrentOptions());
1510
+ }
1511
+
1512
+ // Return a reference to the chart object to chain up calls
1513
+ return this;
1514
+ }
1515
+
1516
+ /**
1517
+ * This method can be called on the API object of each chart and will un-register all event listeners that were added to other components. This currently includes a window.resize listener as well as media query listeners if any responsive options have been provided. Use this function if you need to destroy and recreate Chartist charts dynamically.
1518
+ *
1519
+ * @memberof Chartist.Base
1520
+ */
1521
+ function detach() {
1522
+ // Only detach if initialization already occurred on this chart. If this chart still hasn't initialized (therefore
1523
+ // the initializationTimeoutId is still a valid timeout reference, we will clear the timeout
1524
+ if(!this.initializeTimeoutId) {
1525
+ window.removeEventListener('resize', this.resizeListener);
1526
+ this.optionsProvider.removeMediaQueryListeners();
1527
+ } else {
1528
+ window.clearTimeout(this.initializeTimeoutId);
1529
+ }
1530
+
1531
+ return this;
1532
+ }
1533
+
1534
+ /**
1535
+ * Use this function to register event handlers. The handler callbacks are synchronous and will run in the main thread rather than the event loop.
1536
+ *
1537
+ * @memberof Chartist.Base
1538
+ * @param {String} event Name of the event. Check the examples for supported events.
1539
+ * @param {Function} handler The handler function that will be called when an event with the given name was emitted. This function will receive a data argument which contains event data. See the example for more details.
1540
+ */
1541
+ function on(event, handler) {
1542
+ this.eventEmitter.addEventHandler(event, handler);
1543
+ return this;
1544
+ }
1545
+
1546
+ /**
1547
+ * Use this function to un-register event handlers. If the handler function parameter is omitted all handlers for the given event will be un-registered.
1548
+ *
1549
+ * @memberof Chartist.Base
1550
+ * @param {String} event Name of the event for which a handler should be removed
1551
+ * @param {Function} [handler] The handler function that that was previously used to register a new event handler. This handler will be removed from the event handler list. If this parameter is omitted then all event handlers for the given event are removed from the list.
1552
+ */
1553
+ function off(event, handler) {
1554
+ this.eventEmitter.removeEventHandler(event, handler);
1555
+ return this;
1556
+ }
1557
+
1558
+ function initialize() {
1559
+ // Add window resize listener that re-creates the chart
1560
+ window.addEventListener('resize', this.resizeListener);
1561
+
1562
+ // Obtain current options based on matching media queries (if responsive options are given)
1563
+ // This will also register a listener that is re-creating the chart based on media changes
1564
+ this.optionsProvider = Chartist.optionsProvider(this.options, this.responsiveOptions, this.eventEmitter);
1565
+ // Register options change listener that will trigger a chart update
1566
+ this.eventEmitter.addEventHandler('optionsChanged', function() {
1567
+ this.update();
1568
+ }.bind(this));
1569
+
1570
+ // Before the first chart creation we need to register us with all plugins that are configured
1571
+ // Initialize all relevant plugins with our chart object and the plugin options specified in the config
1572
+ if(this.options.plugins) {
1573
+ this.options.plugins.forEach(function(plugin) {
1574
+ if(plugin instanceof Array) {
1575
+ plugin[0](this, plugin[1]);
1576
+ } else {
1577
+ plugin(this);
1578
+ }
1579
+ }.bind(this));
1580
+ }
1581
+
1582
+ // Event for data transformation that allows to manipulate the data before it gets rendered in the charts
1583
+ this.eventEmitter.emit('data', {
1584
+ type: 'initial',
1585
+ data: this.data
1586
+ });
1587
+
1588
+ // Create the first chart
1589
+ this.createChart(this.optionsProvider.getCurrentOptions());
1590
+
1591
+ // As chart is initialized from the event loop now we can reset our timeout reference
1592
+ // This is important if the chart gets initialized on the same element twice
1593
+ this.initializeTimeoutId = undefined;
1594
+ }
1595
+
1596
+ /**
1597
+ * Constructor of chart base class.
1598
+ *
1599
+ * @param query
1600
+ * @param data
1601
+ * @param defaultOptions
1602
+ * @param options
1603
+ * @param responsiveOptions
1604
+ * @constructor
1605
+ */
1606
+ function Base(query, data, defaultOptions, options, responsiveOptions) {
1607
+ this.container = Chartist.querySelector(query);
1608
+ this.data = data;
1609
+ this.defaultOptions = defaultOptions;
1610
+ this.options = options;
1611
+ this.responsiveOptions = responsiveOptions;
1612
+ this.eventEmitter = Chartist.EventEmitter();
1613
+ this.supportsForeignObject = Chartist.Svg.isSupported('Extensibility');
1614
+ this.supportsAnimations = Chartist.Svg.isSupported('AnimationEventsAttribute');
1615
+ this.resizeListener = function resizeListener(){
1616
+ this.update();
1617
+ }.bind(this);
1618
+
1619
+ if(this.container) {
1620
+ // If chartist was already initialized in this container we are detaching all event listeners first
1621
+ if(this.container.__chartist__) {
1622
+ this.container.__chartist__.detach();
1623
+ }
1624
+
1625
+ this.container.__chartist__ = this;
1626
+ }
1627
+
1628
+ // Using event loop for first draw to make it possible to register event listeners in the same call stack where
1629
+ // the chart was created.
1630
+ this.initializeTimeoutId = setTimeout(initialize.bind(this), 0);
1631
+ }
1632
+
1633
+ // Creating the chart base class
1634
+ Chartist.Base = Chartist.Class.extend({
1635
+ constructor: Base,
1636
+ optionsProvider: undefined,
1637
+ container: undefined,
1638
+ svg: undefined,
1639
+ eventEmitter: undefined,
1640
+ createChart: function() {
1641
+ throw new Error('Base chart type can\'t be instantiated!');
1642
+ },
1643
+ update: update,
1644
+ detach: detach,
1645
+ on: on,
1646
+ off: off,
1647
+ version: Chartist.version,
1648
+ supportsForeignObject: false
1649
+ });
1650
+
1651
+ }(window, document, Chartist));
1652
+ ;/**
1653
+ * Chartist SVG module for simple SVG DOM abstraction
1654
+ *
1655
+ * @module Chartist.Svg
1656
+ */
1657
+ /* global Chartist */
1658
+ (function(window, document, Chartist) {
1659
+ 'use strict';
1660
+
1661
+ var svgNs = 'http://www.w3.org/2000/svg',
1662
+ xmlNs = 'http://www.w3.org/2000/xmlns/',
1663
+ xhtmlNs = 'http://www.w3.org/1999/xhtml';
1664
+
1665
+ Chartist.xmlNs = {
1666
+ qualifiedName: 'xmlns:ct',
1667
+ prefix: 'ct',
1668
+ uri: 'http://gionkunz.github.com/chartist-js/ct'
1669
+ };
1670
+
1671
+ /**
1672
+ * Chartist.Svg creates a new SVG object wrapper with a starting element. You can use the wrapper to fluently create sub-elements and modify them.
1673
+ *
1674
+ * @memberof Chartist.Svg
1675
+ * @constructor
1676
+ * @param {String|Element} name The name of the SVG element to create or an SVG dom element which should be wrapped into Chartist.Svg
1677
+ * @param {Object} attributes An object with properties that will be added as attributes to the SVG element that is created. Attributes with undefined values will not be added.
1678
+ * @param {String} className This class or class list will be added to the SVG element
1679
+ * @param {Object} parent The parent SVG wrapper object where this newly created wrapper and it's element will be attached to as child
1680
+ * @param {Boolean} insertFirst If this param is set to true in conjunction with a parent element the newly created element will be added as first child element in the parent element
1681
+ */
1682
+ function Svg(name, attributes, className, parent, insertFirst) {
1683
+ // If Svg is getting called with an SVG element we just return the wrapper
1684
+ if(name instanceof Element) {
1685
+ this._node = name;
1686
+ } else {
1687
+ this._node = document.createElementNS(svgNs, name);
1688
+
1689
+ // If this is an SVG element created then custom namespace
1690
+ if(name === 'svg') {
1691
+ this._node.setAttributeNS(xmlNs, Chartist.xmlNs.qualifiedName, Chartist.xmlNs.uri);
1692
+ }
1693
+ }
1694
+
1695
+ if(attributes) {
1696
+ this.attr(attributes);
1697
+ }
1698
+
1699
+ if(className) {
1700
+ this.addClass(className);
1701
+ }
1702
+
1703
+ if(parent) {
1704
+ if (insertFirst && parent._node.firstChild) {
1705
+ parent._node.insertBefore(this._node, parent._node.firstChild);
1706
+ } else {
1707
+ parent._node.appendChild(this._node);
1708
+ }
1709
+ }
1710
+ }
1711
+
1712
+ /**
1713
+ * Set attributes on the current SVG element of the wrapper you're currently working on.
1714
+ *
1715
+ * @memberof Chartist.Svg
1716
+ * @param {Object|String} attributes An object with properties that will be added as attributes to the SVG element that is created. Attributes with undefined values will not be added. If this parameter is a String then the function is used as a getter and will return the attribute value.
1717
+ * @param {String} ns If specified, the attributes will be set as namespace attributes with ns as prefix.
1718
+ * @return {Object|String} The current wrapper object will be returned so it can be used for chaining or the attribute value if used as getter function.
1719
+ */
1720
+ function attr(attributes, ns) {
1721
+ if(typeof attributes === 'string') {
1722
+ if(ns) {
1723
+ return this._node.getAttributeNS(ns, attributes);
1724
+ } else {
1725
+ return this._node.getAttribute(attributes);
1726
+ }
1727
+ }
1728
+
1729
+ Object.keys(attributes).forEach(function(key) {
1730
+ // If the attribute value is undefined we can skip this one
1731
+ if(attributes[key] === undefined) {
1732
+ return;
1733
+ }
1734
+
1735
+ if(ns) {
1736
+ this._node.setAttributeNS(ns, [Chartist.xmlNs.prefix, ':', key].join(''), attributes[key]);
1737
+ } else {
1738
+ this._node.setAttribute(key, attributes[key]);
1739
+ }
1740
+ }.bind(this));
1741
+
1742
+ return this;
1743
+ }
1744
+
1745
+ /**
1746
+ * Create a new SVG element whose wrapper object will be selected for further operations. This way you can also create nested groups easily.
1747
+ *
1748
+ * @memberof Chartist.Svg
1749
+ * @param {String} name The name of the SVG element that should be created as child element of the currently selected element wrapper
1750
+ * @param {Object} [attributes] An object with properties that will be added as attributes to the SVG element that is created. Attributes with undefined values will not be added.
1751
+ * @param {String} [className] This class or class list will be added to the SVG element
1752
+ * @param {Boolean} [insertFirst] If this param is set to true in conjunction with a parent element the newly created element will be added as first child element in the parent element
1753
+ * @return {Chartist.Svg} Returns a Chartist.Svg wrapper object that can be used to modify the containing SVG data
1754
+ */
1755
+ function elem(name, attributes, className, insertFirst) {
1756
+ return new Chartist.Svg(name, attributes, className, this, insertFirst);
1757
+ }
1758
+
1759
+ /**
1760
+ * Returns the parent Chartist.SVG wrapper object
1761
+ *
1762
+ * @memberof Chartist.Svg
1763
+ * @return {Chartist.Svg} Returns a Chartist.Svg wrapper around the parent node of the current node. If the parent node is not existing or it's not an SVG node then this function will return null.
1764
+ */
1765
+ function parent() {
1766
+ return this._node.parentNode instanceof SVGElement ? new Chartist.Svg(this._node.parentNode) : null;
1767
+ }
1768
+
1769
+ /**
1770
+ * This method returns a Chartist.Svg wrapper around the root SVG element of the current tree.
1771
+ *
1772
+ * @memberof Chartist.Svg
1773
+ * @return {Chartist.Svg} The root SVG element wrapped in a Chartist.Svg element
1774
+ */
1775
+ function root() {
1776
+ var node = this._node;
1777
+ while(node.nodeName !== 'svg') {
1778
+ node = node.parentNode;
1779
+ }
1780
+ return new Chartist.Svg(node);
1781
+ }
1782
+
1783
+ /**
1784
+ * Find the first child SVG element of the current element that matches a CSS selector. The returned object is a Chartist.Svg wrapper.
1785
+ *
1786
+ * @memberof Chartist.Svg
1787
+ * @param {String} selector A CSS selector that is used to query for child SVG elements
1788
+ * @return {Chartist.Svg} The SVG wrapper for the element found or null if no element was found
1789
+ */
1790
+ function querySelector(selector) {
1791
+ var foundNode = this._node.querySelector(selector);
1792
+ return foundNode ? new Chartist.Svg(foundNode) : null;
1793
+ }
1794
+
1795
+ /**
1796
+ * Find the all child SVG elements of the current element that match a CSS selector. The returned object is a Chartist.Svg.List wrapper.
1797
+ *
1798
+ * @memberof Chartist.Svg
1799
+ * @param {String} selector A CSS selector that is used to query for child SVG elements
1800
+ * @return {Chartist.Svg.List} The SVG wrapper list for the element found or null if no element was found
1801
+ */
1802
+ function querySelectorAll(selector) {
1803
+ var foundNodes = this._node.querySelectorAll(selector);
1804
+ return foundNodes.length ? new Chartist.Svg.List(foundNodes) : null;
1805
+ }
1806
+
1807
+ /**
1808
+ * This method creates a foreignObject (see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject) that allows to embed HTML content into a SVG graphic. With the help of foreignObjects you can enable the usage of regular HTML elements inside of SVG where they are subject for SVG positioning and transformation but the Browser will use the HTML rendering capabilities for the containing DOM.
1809
+ *
1810
+ * @memberof Chartist.Svg
1811
+ * @param {Node|String} content The DOM Node, or HTML string that will be converted to a DOM Node, that is then placed into and wrapped by the foreignObject
1812
+ * @param {String} [attributes] An object with properties that will be added as attributes to the foreignObject element that is created. Attributes with undefined values will not be added.
1813
+ * @param {String} [className] This class or class list will be added to the SVG element
1814
+ * @param {Boolean} [insertFirst] Specifies if the foreignObject should be inserted as first child
1815
+ * @return {Chartist.Svg} New wrapper object that wraps the foreignObject element
1816
+ */
1817
+ function foreignObject(content, attributes, className, insertFirst) {
1818
+ // If content is string then we convert it to DOM
1819
+ // TODO: Handle case where content is not a string nor a DOM Node
1820
+ if(typeof content === 'string') {
1821
+ var container = document.createElement('div');
1822
+ container.innerHTML = content;
1823
+ content = container.firstChild;
1824
+ }
1825
+
1826
+ // Adding namespace to content element
1827
+ content.setAttribute('xmlns', xhtmlNs);
1828
+
1829
+ // Creating the foreignObject without required extension attribute (as described here
1830
+ // http://www.w3.org/TR/SVG/extend.html#ForeignObjectElement)
1831
+ var fnObj = this.elem('foreignObject', attributes, className, insertFirst);
1832
+
1833
+ // Add content to foreignObjectElement
1834
+ fnObj._node.appendChild(content);
1835
+
1836
+ return fnObj;
1837
+ }
1838
+
1839
+ /**
1840
+ * This method adds a new text element to the current Chartist.Svg wrapper.
1841
+ *
1842
+ * @memberof Chartist.Svg
1843
+ * @param {String} t The text that should be added to the text element that is created
1844
+ * @return {Chartist.Svg} The same wrapper object that was used to add the newly created element
1845
+ */
1846
+ function text(t) {
1847
+ this._node.appendChild(document.createTextNode(t));
1848
+ return this;
1849
+ }
1850
+
1851
+ /**
1852
+ * This method will clear all child nodes of the current wrapper object.
1853
+ *
1854
+ * @memberof Chartist.Svg
1855
+ * @return {Chartist.Svg} The same wrapper object that got emptied
1856
+ */
1857
+ function empty() {
1858
+ while (this._node.firstChild) {
1859
+ this._node.removeChild(this._node.firstChild);
1860
+ }
1861
+
1862
+ return this;
1863
+ }
1864
+
1865
+ /**
1866
+ * This method will cause the current wrapper to remove itself from its parent wrapper. Use this method if you'd like to get rid of an element in a given DOM structure.
1867
+ *
1868
+ * @memberof Chartist.Svg
1869
+ * @return {Chartist.Svg} The parent wrapper object of the element that got removed
1870
+ */
1871
+ function remove() {
1872
+ this._node.parentNode.removeChild(this._node);
1873
+ return this.parent();
1874
+ }
1875
+
1876
+ /**
1877
+ * This method will replace the element with a new element that can be created outside of the current DOM.
1878
+ *
1879
+ * @memberof Chartist.Svg
1880
+ * @param {Chartist.Svg} newElement The new Chartist.Svg object that will be used to replace the current wrapper object
1881
+ * @return {Chartist.Svg} The wrapper of the new element
1882
+ */
1883
+ function replace(newElement) {
1884
+ this._node.parentNode.replaceChild(newElement._node, this._node);
1885
+ return newElement;
1886
+ }
1887
+
1888
+ /**
1889
+ * This method will append an element to the current element as a child.
1890
+ *
1891
+ * @memberof Chartist.Svg
1892
+ * @param {Chartist.Svg} element The Chartist.Svg element that should be added as a child
1893
+ * @param {Boolean} [insertFirst] Specifies if the element should be inserted as first child
1894
+ * @return {Chartist.Svg} The wrapper of the appended object
1895
+ */
1896
+ function append(element, insertFirst) {
1897
+ if(insertFirst && this._node.firstChild) {
1898
+ this._node.insertBefore(element._node, this._node.firstChild);
1899
+ } else {
1900
+ this._node.appendChild(element._node);
1901
+ }
1902
+
1903
+ return this;
1904
+ }
1905
+
1906
+ /**
1907
+ * Returns an array of class names that are attached to the current wrapper element. This method can not be chained further.
1908
+ *
1909
+ * @memberof Chartist.Svg
1910
+ * @return {Array} A list of classes or an empty array if there are no classes on the current element
1911
+ */
1912
+ function classes() {
1913
+ return this._node.getAttribute('class') ? this._node.getAttribute('class').trim().split(/\s+/) : [];
1914
+ }
1915
+
1916
+ /**
1917
+ * Adds one or a space separated list of classes to the current element and ensures the classes are only existing once.
1918
+ *
1919
+ * @memberof Chartist.Svg
1920
+ * @param {String} names A white space separated list of class names
1921
+ * @return {Chartist.Svg} The wrapper of the current element
1922
+ */
1923
+ function addClass(names) {
1924
+ this._node.setAttribute('class',
1925
+ this.classes(this._node)
1926
+ .concat(names.trim().split(/\s+/))
1927
+ .filter(function(elem, pos, self) {
1928
+ return self.indexOf(elem) === pos;
1929
+ }).join(' ')
1930
+ );
1931
+
1932
+ return this;
1933
+ }
1934
+
1935
+ /**
1936
+ * Removes one or a space separated list of classes from the current element.
1937
+ *
1938
+ * @memberof Chartist.Svg
1939
+ * @param {String} names A white space separated list of class names
1940
+ * @return {Chartist.Svg} The wrapper of the current element
1941
+ */
1942
+ function removeClass(names) {
1943
+ var removedClasses = names.trim().split(/\s+/);
1944
+
1945
+ this._node.setAttribute('class', this.classes(this._node).filter(function(name) {
1946
+ return removedClasses.indexOf(name) === -1;
1947
+ }).join(' '));
1948
+
1949
+ return this;
1950
+ }
1951
+
1952
+ /**
1953
+ * Removes all classes from the current element.
1954
+ *
1955
+ * @memberof Chartist.Svg
1956
+ * @return {Chartist.Svg} The wrapper of the current element
1957
+ */
1958
+ function removeAllClasses() {
1959
+ this._node.setAttribute('class', '');
1960
+
1961
+ return this;
1962
+ }
1963
+
1964
+ /**
1965
+ * "Save" way to get property value from svg BoundingBox.
1966
+ * This is a workaround. Firefox throws an NS_ERROR_FAILURE error if getBBox() is called on an invisible node.
1967
+ * See [NS_ERROR_FAILURE: Component returned failure code: 0x80004005](http://jsfiddle.net/sym3tri/kWWDK/)
1968
+ *
1969
+ * @memberof Chartist.Svg
1970
+ * @param {SVGElement} node The svg node to
1971
+ * @param {String} prop The property to fetch (ex.: height, width, ...)
1972
+ * @returns {Number} The value of the given bbox property
1973
+ */
1974
+ function getBBoxProperty(node, prop) {
1975
+ try {
1976
+ return node.getBBox()[prop];
1977
+ } catch(e) {}
1978
+
1979
+ return 0;
1980
+ }
1981
+
1982
+ /**
1983
+ * Get element height with fallback to svg BoundingBox or parent container dimensions:
1984
+ * See [bugzilla.mozilla.org](https://bugzilla.mozilla.org/show_bug.cgi?id=530985)
1985
+ *
1986
+ * @memberof Chartist.Svg
1987
+ * @return {Number} The elements height in pixels
1988
+ */
1989
+ function height() {
1990
+ return this._node.clientHeight || Math.round(getBBoxProperty(this._node, 'height')) || this._node.parentNode.clientHeight;
1991
+ }
1992
+
1993
+ /**
1994
+ * Get element width with fallback to svg BoundingBox or parent container dimensions:
1995
+ * See [bugzilla.mozilla.org](https://bugzilla.mozilla.org/show_bug.cgi?id=530985)
1996
+ *
1997
+ * @memberof Chartist.Core
1998
+ * @return {Number} The elements width in pixels
1999
+ */
2000
+ function width() {
2001
+ return this._node.clientWidth || Math.round(getBBoxProperty(this._node, 'width')) || this._node.parentNode.clientWidth;
2002
+ }
2003
+
2004
+ /**
2005
+ * The animate function lets you animate the current element with SMIL animations. You can add animations for multiple attributes at the same time by using an animation definition object. This object should contain SMIL animation attributes. Please refer to http://www.w3.org/TR/SVG/animate.html for a detailed specification about the available animation attributes. Additionally an easing property can be passed in the animation definition object. This can be a string with a name of an easing function in `Chartist.Svg.Easing` or an array with four numbers specifying a cubic Bézier curve.
2006
+ * **An animations object could look like this:**
2007
+ * ```javascript
2008
+ * element.animate({
2009
+ * opacity: {
2010
+ * dur: 1000,
2011
+ * from: 0,
2012
+ * to: 1
2013
+ * },
2014
+ * x1: {
2015
+ * dur: '1000ms',
2016
+ * from: 100,
2017
+ * to: 200,
2018
+ * easing: 'easeOutQuart'
2019
+ * },
2020
+ * y1: {
2021
+ * dur: '2s',
2022
+ * from: 0,
2023
+ * to: 100
2024
+ * }
2025
+ * });
2026
+ * ```
2027
+ * **Automatic unit conversion**
2028
+ * For the `dur` and the `begin` animate attribute you can also omit a unit by passing a number. The number will automatically be converted to milli seconds.
2029
+ * **Guided mode**
2030
+ * The default behavior of SMIL animations with offset using the `begin` attribute is that the attribute will keep it's original value until the animation starts. Mostly this behavior is not desired as you'd like to have your element attributes already initialized with the animation `from` value even before the animation starts. Also if you don't specify `fill="freeze"` on an animate element or if you delete the animation after it's done (which is done in guided mode) the attribute will switch back to the initial value. This behavior is also not desired when performing simple one-time animations. For one-time animations you'd want to trigger animations immediately instead of relative to the document begin time. That's why in guided mode Chartist.Svg will also use the `begin` property to schedule a timeout and manually start the animation after the timeout. If you're using multiple SMIL definition objects for an attribute (in an array), guided mode will be disabled for this attribute, even if you explicitly enabled it.
2031
+ * If guided mode is enabled the following behavior is added:
2032
+ * - Before the animation starts (even when delayed with `begin`) the animated attribute will be set already to the `from` value of the animation
2033
+ * - `begin` is explicitly set to `indefinite` so it can be started manually without relying on document begin time (creation)
2034
+ * - The animate element will be forced to use `fill="freeze"`
2035
+ * - The animation will be triggered with `beginElement()` in a timeout where `begin` of the definition object is interpreted in milli seconds. If no `begin` was specified the timeout is triggered immediately.
2036
+ * - After the animation the element attribute value will be set to the `to` value of the animation
2037
+ * - The animate element is deleted from the DOM
2038
+ *
2039
+ * @memberof Chartist.Svg
2040
+ * @param {Object} animations An animations object where the property keys are the attributes you'd like to animate. The properties should be objects again that contain the SMIL animation attributes (usually begin, dur, from, and to). The property begin and dur is auto converted (see Automatic unit conversion). You can also schedule multiple animations for the same attribute by passing an Array of SMIL definition objects. Attributes that contain an array of SMIL definition objects will not be executed in guided mode.
2041
+ * @param {Boolean} guided Specify if guided mode should be activated for this animation (see Guided mode). If not otherwise specified, guided mode will be activated.
2042
+ * @param {Object} eventEmitter If specified, this event emitter will be notified when an animation starts or ends.
2043
+ * @return {Chartist.Svg} The current element where the animation was added
2044
+ */
2045
+ function animate(animations, guided, eventEmitter) {
2046
+ if(guided === undefined) {
2047
+ guided = true;
2048
+ }
2049
+
2050
+ Object.keys(animations).forEach(function createAnimateForAttributes(attribute) {
2051
+
2052
+ function createAnimate(animationDefinition, guided) {
2053
+ var attributeProperties = {},
2054
+ animate,
2055
+ timeout,
2056
+ easing;
2057
+
2058
+ // Check if an easing is specified in the definition object and delete it from the object as it will not
2059
+ // be part of the animate element attributes.
2060
+ if(animationDefinition.easing) {
2061
+ // If already an easing Bézier curve array we take it or we lookup a easing array in the Easing object
2062
+ easing = animationDefinition.easing instanceof Array ?
2063
+ animationDefinition.easing :
2064
+ Chartist.Svg.Easing[animationDefinition.easing];
2065
+ delete animationDefinition.easing;
2066
+ }
2067
+
2068
+ // If numeric dur or begin was provided we assume milli seconds
2069
+ animationDefinition.begin = Chartist.ensureUnit(animationDefinition.begin, 'ms');
2070
+ animationDefinition.dur = Chartist.ensureUnit(animationDefinition.dur, 'ms');
2071
+
2072
+ if(easing) {
2073
+ animationDefinition.calcMode = 'spline';
2074
+ animationDefinition.keySplines = easing.join(' ');
2075
+ animationDefinition.keyTimes = '0;1';
2076
+ }
2077
+
2078
+ // Adding "fill: freeze" if we are in guided mode and set initial attribute values
2079
+ if(guided) {
2080
+ animationDefinition.fill = 'freeze';
2081
+ // Animated property on our element should already be set to the animation from value in guided mode
2082
+ attributeProperties[attribute] = animationDefinition.from;
2083
+ this.attr(attributeProperties);
2084
+
2085
+ // In guided mode we also set begin to indefinite so we can trigger the start manually and put the begin
2086
+ // which needs to be in ms aside
2087
+ timeout = Chartist.stripUnit(animationDefinition.begin || 0);
2088
+ animationDefinition.begin = 'indefinite';
2089
+ }
2090
+
2091
+ animate = this.elem('animate', Chartist.extend({
2092
+ attributeName: attribute
2093
+ }, animationDefinition));
2094
+
2095
+ if(guided) {
2096
+ // If guided we take the value that was put aside in timeout and trigger the animation manually with a timeout
2097
+ setTimeout(function() {
2098
+ // If beginElement fails we set the animated attribute to the end position and remove the animate element
2099
+ // This happens if the SMIL ElementTimeControl interface is not supported or any other problems occured in
2100
+ // the browser. (Currently FF 34 does not support animate elements in foreignObjects)
2101
+ try {
2102
+ animate._node.beginElement();
2103
+ } catch(err) {
2104
+ // Set animated attribute to current animated value
2105
+ attributeProperties[attribute] = animationDefinition.to;
2106
+ this.attr(attributeProperties);
2107
+ // Remove the animate element as it's no longer required
2108
+ animate.remove();
2109
+ }
2110
+ }.bind(this), timeout);
2111
+ }
2112
+
2113
+ if(eventEmitter) {
2114
+ animate._node.addEventListener('beginEvent', function handleBeginEvent() {
2115
+ eventEmitter.emit('animationBegin', {
2116
+ element: this,
2117
+ animate: animate._node,
2118
+ params: animationDefinition
2119
+ });
2120
+ }.bind(this));
2121
+ }
2122
+
2123
+ animate._node.addEventListener('endEvent', function handleEndEvent() {
2124
+ if(eventEmitter) {
2125
+ eventEmitter.emit('animationEnd', {
2126
+ element: this,
2127
+ animate: animate._node,
2128
+ params: animationDefinition
2129
+ });
2130
+ }
2131
+
2132
+ if(guided) {
2133
+ // Set animated attribute to current animated value
2134
+ attributeProperties[attribute] = animationDefinition.to;
2135
+ this.attr(attributeProperties);
2136
+ // Remove the animate element as it's no longer required
2137
+ animate.remove();
2138
+ }
2139
+ }.bind(this));
2140
+ }
2141
+
2142
+ // If current attribute is an array of definition objects we create an animate for each and disable guided mode
2143
+ if(animations[attribute] instanceof Array) {
2144
+ animations[attribute].forEach(function(animationDefinition) {
2145
+ createAnimate.bind(this)(animationDefinition, false);
2146
+ }.bind(this));
2147
+ } else {
2148
+ createAnimate.bind(this)(animations[attribute], guided);
2149
+ }
2150
+
2151
+ }.bind(this));
2152
+
2153
+ return this;
2154
+ }
2155
+
2156
+ Chartist.Svg = Chartist.Class.extend({
2157
+ constructor: Svg,
2158
+ attr: attr,
2159
+ elem: elem,
2160
+ parent: parent,
2161
+ root: root,
2162
+ querySelector: querySelector,
2163
+ querySelectorAll: querySelectorAll,
2164
+ foreignObject: foreignObject,
2165
+ text: text,
2166
+ empty: empty,
2167
+ remove: remove,
2168
+ replace: replace,
2169
+ append: append,
2170
+ classes: classes,
2171
+ addClass: addClass,
2172
+ removeClass: removeClass,
2173
+ removeAllClasses: removeAllClasses,
2174
+ height: height,
2175
+ width: width,
2176
+ animate: animate
2177
+ });
2178
+
2179
+ /**
2180
+ * This method checks for support of a given SVG feature like Extensibility, SVG-animation or the like. Check http://www.w3.org/TR/SVG11/feature for a detailed list.
2181
+ *
2182
+ * @memberof Chartist.Svg
2183
+ * @param {String} feature The SVG 1.1 feature that should be checked for support.
2184
+ * @return {Boolean} True of false if the feature is supported or not
2185
+ */
2186
+ Chartist.Svg.isSupported = function(feature) {
2187
+ return document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#' + feature, '1.1');
2188
+ };
2189
+
2190
+ /**
2191
+ * This Object contains some standard easing cubic bezier curves. Then can be used with their name in the `Chartist.Svg.animate`. You can also extend the list and use your own name in the `animate` function. Click the show code button to see the available bezier functions.
2192
+ *
2193
+ * @memberof Chartist.Svg
2194
+ */
2195
+ var easingCubicBeziers = {
2196
+ easeInSine: [0.47, 0, 0.745, 0.715],
2197
+ easeOutSine: [0.39, 0.575, 0.565, 1],
2198
+ easeInOutSine: [0.445, 0.05, 0.55, 0.95],
2199
+ easeInQuad: [0.55, 0.085, 0.68, 0.53],
2200
+ easeOutQuad: [0.25, 0.46, 0.45, 0.94],
2201
+ easeInOutQuad: [0.455, 0.03, 0.515, 0.955],
2202
+ easeInCubic: [0.55, 0.055, 0.675, 0.19],
2203
+ easeOutCubic: [0.215, 0.61, 0.355, 1],
2204
+ easeInOutCubic: [0.645, 0.045, 0.355, 1],
2205
+ easeInQuart: [0.895, 0.03, 0.685, 0.22],
2206
+ easeOutQuart: [0.165, 0.84, 0.44, 1],
2207
+ easeInOutQuart: [0.77, 0, 0.175, 1],
2208
+ easeInQuint: [0.755, 0.05, 0.855, 0.06],
2209
+ easeOutQuint: [0.23, 1, 0.32, 1],
2210
+ easeInOutQuint: [0.86, 0, 0.07, 1],
2211
+ easeInExpo: [0.95, 0.05, 0.795, 0.035],
2212
+ easeOutExpo: [0.19, 1, 0.22, 1],
2213
+ easeInOutExpo: [1, 0, 0, 1],
2214
+ easeInCirc: [0.6, 0.04, 0.98, 0.335],
2215
+ easeOutCirc: [0.075, 0.82, 0.165, 1],
2216
+ easeInOutCirc: [0.785, 0.135, 0.15, 0.86],
2217
+ easeInBack: [0.6, -0.28, 0.735, 0.045],
2218
+ easeOutBack: [0.175, 0.885, 0.32, 1.275],
2219
+ easeInOutBack: [0.68, -0.55, 0.265, 1.55]
2220
+ };
2221
+
2222
+ Chartist.Svg.Easing = easingCubicBeziers;
2223
+
2224
+ /**
2225
+ * This helper class is to wrap multiple `Chartist.Svg` elements into a list where you can call the `Chartist.Svg` functions on all elements in the list with one call. This is helpful when you'd like to perform calls with `Chartist.Svg` on multiple elements.
2226
+ * An instance of this class is also returned by `Chartist.Svg.querySelectorAll`.
2227
+ *
2228
+ * @memberof Chartist.Svg
2229
+ * @param {Array<Node>|NodeList} nodeList An Array of SVG DOM nodes or a SVG DOM NodeList (as returned by document.querySelectorAll)
2230
+ * @constructor
2231
+ */
2232
+ function SvgList(nodeList) {
2233
+ var list = this;
2234
+
2235
+ this.svgElements = [];
2236
+ for(var i = 0; i < nodeList.length; i++) {
2237
+ this.svgElements.push(new Chartist.Svg(nodeList[i]));
2238
+ }
2239
+
2240
+ // Add delegation methods for Chartist.Svg
2241
+ Object.keys(Chartist.Svg.prototype).filter(function(prototypeProperty) {
2242
+ return ['constructor',
2243
+ 'parent',
2244
+ 'querySelector',
2245
+ 'querySelectorAll',
2246
+ 'replace',
2247
+ 'append',
2248
+ 'classes',
2249
+ 'height',
2250
+ 'width'].indexOf(prototypeProperty) === -1;
2251
+ }).forEach(function(prototypeProperty) {
2252
+ list[prototypeProperty] = function() {
2253
+ var args = Array.prototype.slice.call(arguments, 0);
2254
+ list.svgElements.forEach(function(element) {
2255
+ Chartist.Svg.prototype[prototypeProperty].apply(element, args);
2256
+ });
2257
+ return list;
2258
+ };
2259
+ });
2260
+ }
2261
+
2262
+ Chartist.Svg.List = Chartist.Class.extend({
2263
+ constructor: SvgList
2264
+ });
2265
+ }(window, document, Chartist));
2266
+ ;/**
2267
+ * Chartist SVG path module for SVG path description creation and modification.
2268
+ *
2269
+ * @module Chartist.Svg.Path
2270
+ */
2271
+ /* global Chartist */
2272
+ (function(window, document, Chartist) {
2273
+ 'use strict';
2274
+
2275
+ /**
2276
+ * Contains the descriptors of supported element types in a SVG path. Currently only move, line and curve are supported.
2277
+ *
2278
+ * @memberof Chartist.Svg.Path
2279
+ * @type {Object}
2280
+ */
2281
+ var elementDescriptions = {
2282
+ m: ['x', 'y'],
2283
+ l: ['x', 'y'],
2284
+ c: ['x1', 'y1', 'x2', 'y2', 'x', 'y'],
2285
+ a: ['rx', 'ry', 'xAr', 'lAf', 'sf', 'x', 'y']
2286
+ };
2287
+
2288
+ /**
2289
+ * Default options for newly created SVG path objects.
2290
+ *
2291
+ * @memberof Chartist.Svg.Path
2292
+ * @type {Object}
2293
+ */
2294
+ var defaultOptions = {
2295
+ // The accuracy in digit count after the decimal point. This will be used to round numbers in the SVG path. If this option is set to false then no rounding will be performed.
2296
+ accuracy: 3
2297
+ };
2298
+
2299
+ function element(command, params, pathElements, pos, relative, data) {
2300
+ var pathElement = Chartist.extend({
2301
+ command: relative ? command.toLowerCase() : command.toUpperCase()
2302
+ }, params, data ? { data: data } : {} );
2303
+
2304
+ pathElements.splice(pos, 0, pathElement);
2305
+ }
2306
+
2307
+ function forEachParam(pathElements, cb) {
2308
+ pathElements.forEach(function(pathElement, pathElementIndex) {
2309
+ elementDescriptions[pathElement.command.toLowerCase()].forEach(function(paramName, paramIndex) {
2310
+ cb(pathElement, paramName, pathElementIndex, paramIndex, pathElements);
2311
+ });
2312
+ });
2313
+ }
2314
+
2315
+ /**
2316
+ * Used to construct a new path object.
2317
+ *
2318
+ * @memberof Chartist.Svg.Path
2319
+ * @param {Boolean} close If set to true then this path will be closed when stringified (with a Z at the end)
2320
+ * @param {Object} options Options object that overrides the default objects. See default options for more details.
2321
+ * @constructor
2322
+ */
2323
+ function SvgPath(close, options) {
2324
+ this.pathElements = [];
2325
+ this.pos = 0;
2326
+ this.close = close;
2327
+ this.options = Chartist.extend({}, defaultOptions, options);
2328
+ }
2329
+
2330
+ /**
2331
+ * Gets or sets the current position (cursor) inside of the path. You can move around the cursor freely but limited to 0 or the count of existing elements. All modifications with element functions will insert new elements at the position of this cursor.
2332
+ *
2333
+ * @memberof Chartist.Svg.Path
2334
+ * @param {Number} [pos] If a number is passed then the cursor is set to this position in the path element array.
2335
+ * @return {Chartist.Svg.Path|Number} If the position parameter was passed then the return value will be the path object for easy call chaining. If no position parameter was passed then the current position is returned.
2336
+ */
2337
+ function position(pos) {
2338
+ if(pos !== undefined) {
2339
+ this.pos = Math.max(0, Math.min(this.pathElements.length, pos));
2340
+ return this;
2341
+ } else {
2342
+ return this.pos;
2343
+ }
2344
+ }
2345
+
2346
+ /**
2347
+ * Removes elements from the path starting at the current position.
2348
+ *
2349
+ * @memberof Chartist.Svg.Path
2350
+ * @param {Number} count Number of path elements that should be removed from the current position.
2351
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2352
+ */
2353
+ function remove(count) {
2354
+ this.pathElements.splice(this.pos, count);
2355
+ return this;
2356
+ }
2357
+
2358
+ /**
2359
+ * Use this function to add a new move SVG path element.
2360
+ *
2361
+ * @memberof Chartist.Svg.Path
2362
+ * @param {Number} x The x coordinate for the move element.
2363
+ * @param {Number} y The y coordinate for the move element.
2364
+ * @param {Boolean} [relative] If set to true the move element will be created with relative coordinates (lowercase letter)
2365
+ * @param {*} [data] Any data that should be stored with the element object that will be accessible in pathElement
2366
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2367
+ */
2368
+ function move(x, y, relative, data) {
2369
+ element('M', {
2370
+ x: +x,
2371
+ y: +y
2372
+ }, this.pathElements, this.pos++, relative, data);
2373
+ return this;
2374
+ }
2375
+
2376
+ /**
2377
+ * Use this function to add a new line SVG path element.
2378
+ *
2379
+ * @memberof Chartist.Svg.Path
2380
+ * @param {Number} x The x coordinate for the line element.
2381
+ * @param {Number} y The y coordinate for the line element.
2382
+ * @param {Boolean} [relative] If set to true the line element will be created with relative coordinates (lowercase letter)
2383
+ * @param {*} [data] Any data that should be stored with the element object that will be accessible in pathElement
2384
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2385
+ */
2386
+ function line(x, y, relative, data) {
2387
+ element('L', {
2388
+ x: +x,
2389
+ y: +y
2390
+ }, this.pathElements, this.pos++, relative, data);
2391
+ return this;
2392
+ }
2393
+
2394
+ /**
2395
+ * Use this function to add a new curve SVG path element.
2396
+ *
2397
+ * @memberof Chartist.Svg.Path
2398
+ * @param {Number} x1 The x coordinate for the first control point of the bezier curve.
2399
+ * @param {Number} y1 The y coordinate for the first control point of the bezier curve.
2400
+ * @param {Number} x2 The x coordinate for the second control point of the bezier curve.
2401
+ * @param {Number} y2 The y coordinate for the second control point of the bezier curve.
2402
+ * @param {Number} x The x coordinate for the target point of the curve element.
2403
+ * @param {Number} y The y coordinate for the target point of the curve element.
2404
+ * @param {Boolean} [relative] If set to true the curve element will be created with relative coordinates (lowercase letter)
2405
+ * @param {*} [data] Any data that should be stored with the element object that will be accessible in pathElement
2406
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2407
+ */
2408
+ function curve(x1, y1, x2, y2, x, y, relative, data) {
2409
+ element('C', {
2410
+ x1: +x1,
2411
+ y1: +y1,
2412
+ x2: +x2,
2413
+ y2: +y2,
2414
+ x: +x,
2415
+ y: +y
2416
+ }, this.pathElements, this.pos++, relative, data);
2417
+ return this;
2418
+ }
2419
+
2420
+ /**
2421
+ * Use this function to add a new non-bezier curve SVG path element.
2422
+ *
2423
+ * @memberof Chartist.Svg.Path
2424
+ * @param {Number} rx The radius to be used for the x-axis of the arc.
2425
+ * @param {Number} ry The radius to be used for the y-axis of the arc.
2426
+ * @param {Number} xAr Defines the orientation of the arc
2427
+ * @param {Number} lAf Large arc flag
2428
+ * @param {Number} sf Sweep flag
2429
+ * @param {Number} x The x coordinate for the target point of the curve element.
2430
+ * @param {Number} y The y coordinate for the target point of the curve element.
2431
+ * @param {Boolean} [relative] If set to true the curve element will be created with relative coordinates (lowercase letter)
2432
+ * @param {*} [data] Any data that should be stored with the element object that will be accessible in pathElement
2433
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2434
+ */
2435
+ function arc(rx, ry, xAr, lAf, sf, x, y, relative, data) {
2436
+ element('A', {
2437
+ rx: +rx,
2438
+ ry: +ry,
2439
+ xAr: +xAr,
2440
+ lAf: +lAf,
2441
+ sf: +sf,
2442
+ x: +x,
2443
+ y: +y
2444
+ }, this.pathElements, this.pos++, relative, data);
2445
+ return this;
2446
+ }
2447
+
2448
+ /**
2449
+ * Parses an SVG path seen in the d attribute of path elements, and inserts the parsed elements into the existing path object at the current cursor position. Any closing path indicators (Z at the end of the path) will be ignored by the parser as this is provided by the close option in the options of the path object.
2450
+ *
2451
+ * @memberof Chartist.Svg.Path
2452
+ * @param {String} path Any SVG path that contains move (m), line (l) or curve (c) components.
2453
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2454
+ */
2455
+ function parse(path) {
2456
+ // Parsing the SVG path string into an array of arrays [['M', '10', '10'], ['L', '100', '100']]
2457
+ var chunks = path.replace(/([A-Za-z])([0-9])/g, '$1 $2')
2458
+ .replace(/([0-9])([A-Za-z])/g, '$1 $2')
2459
+ .split(/[\s,]+/)
2460
+ .reduce(function(result, element) {
2461
+ if(element.match(/[A-Za-z]/)) {
2462
+ result.push([]);
2463
+ }
2464
+
2465
+ result[result.length - 1].push(element);
2466
+ return result;
2467
+ }, []);
2468
+
2469
+ // If this is a closed path we remove the Z at the end because this is determined by the close option
2470
+ if(chunks[chunks.length - 1][0].toUpperCase() === 'Z') {
2471
+ chunks.pop();
2472
+ }
2473
+
2474
+ // Using svgPathElementDescriptions to map raw path arrays into objects that contain the command and the parameters
2475
+ // For example {command: 'M', x: '10', y: '10'}
2476
+ var elements = chunks.map(function(chunk) {
2477
+ var command = chunk.shift(),
2478
+ description = elementDescriptions[command.toLowerCase()];
2479
+
2480
+ return Chartist.extend({
2481
+ command: command
2482
+ }, description.reduce(function(result, paramName, index) {
2483
+ result[paramName] = +chunk[index];
2484
+ return result;
2485
+ }, {}));
2486
+ });
2487
+
2488
+ // Preparing a splice call with the elements array as var arg params and insert the parsed elements at the current position
2489
+ var spliceArgs = [this.pos, 0];
2490
+ Array.prototype.push.apply(spliceArgs, elements);
2491
+ Array.prototype.splice.apply(this.pathElements, spliceArgs);
2492
+ // Increase the internal position by the element count
2493
+ this.pos += elements.length;
2494
+
2495
+ return this;
2496
+ }
2497
+
2498
+ /**
2499
+ * This function renders to current SVG path object into a final SVG string that can be used in the d attribute of SVG path elements. It uses the accuracy option to round big decimals. If the close parameter was set in the constructor of this path object then a path closing Z will be appended to the output string.
2500
+ *
2501
+ * @memberof Chartist.Svg.Path
2502
+ * @return {String}
2503
+ */
2504
+ function stringify() {
2505
+ var accuracyMultiplier = Math.pow(10, this.options.accuracy);
2506
+
2507
+ return this.pathElements.reduce(function(path, pathElement) {
2508
+ var params = elementDescriptions[pathElement.command.toLowerCase()].map(function(paramName) {
2509
+ return this.options.accuracy ?
2510
+ (Math.round(pathElement[paramName] * accuracyMultiplier) / accuracyMultiplier) :
2511
+ pathElement[paramName];
2512
+ }.bind(this));
2513
+
2514
+ return path + pathElement.command + params.join(',');
2515
+ }.bind(this), '') + (this.close ? 'Z' : '');
2516
+ }
2517
+
2518
+ /**
2519
+ * Scales all elements in the current SVG path object. There is an individual parameter for each coordinate. Scaling will also be done for control points of curves, affecting the given coordinate.
2520
+ *
2521
+ * @memberof Chartist.Svg.Path
2522
+ * @param {Number} x The number which will be used to scale the x, x1 and x2 of all path elements.
2523
+ * @param {Number} y The number which will be used to scale the y, y1 and y2 of all path elements.
2524
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2525
+ */
2526
+ function scale(x, y) {
2527
+ forEachParam(this.pathElements, function(pathElement, paramName) {
2528
+ pathElement[paramName] *= paramName[0] === 'x' ? x : y;
2529
+ });
2530
+ return this;
2531
+ }
2532
+
2533
+ /**
2534
+ * Translates all elements in the current SVG path object. The translation is relative and there is an individual parameter for each coordinate. Translation will also be done for control points of curves, affecting the given coordinate.
2535
+ *
2536
+ * @memberof Chartist.Svg.Path
2537
+ * @param {Number} x The number which will be used to translate the x, x1 and x2 of all path elements.
2538
+ * @param {Number} y The number which will be used to translate the y, y1 and y2 of all path elements.
2539
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2540
+ */
2541
+ function translate(x, y) {
2542
+ forEachParam(this.pathElements, function(pathElement, paramName) {
2543
+ pathElement[paramName] += paramName[0] === 'x' ? x : y;
2544
+ });
2545
+ return this;
2546
+ }
2547
+
2548
+ /**
2549
+ * This function will run over all existing path elements and then loop over their attributes. The callback function will be called for every path element attribute that exists in the current path.
2550
+ * The method signature of the callback function looks like this:
2551
+ * ```javascript
2552
+ * function(pathElement, paramName, pathElementIndex, paramIndex, pathElements)
2553
+ * ```
2554
+ * If something else than undefined is returned by the callback function, this value will be used to replace the old value. This allows you to build custom transformations of path objects that can't be achieved using the basic transformation functions scale and translate.
2555
+ *
2556
+ * @memberof Chartist.Svg.Path
2557
+ * @param {Function} transformFnc The callback function for the transformation. Check the signature in the function description.
2558
+ * @return {Chartist.Svg.Path} The current path object for easy call chaining.
2559
+ */
2560
+ function transform(transformFnc) {
2561
+ forEachParam(this.pathElements, function(pathElement, paramName, pathElementIndex, paramIndex, pathElements) {
2562
+ var transformed = transformFnc(pathElement, paramName, pathElementIndex, paramIndex, pathElements);
2563
+ if(transformed || transformed === 0) {
2564
+ pathElement[paramName] = transformed;
2565
+ }
2566
+ });
2567
+ return this;
2568
+ }
2569
+
2570
+ /**
2571
+ * This function clones a whole path object with all its properties. This is a deep clone and path element objects will also be cloned.
2572
+ *
2573
+ * @memberof Chartist.Svg.Path
2574
+ * @param {Boolean} [close] Optional option to set the new cloned path to closed. If not specified or false, the original path close option will be used.
2575
+ * @return {Chartist.Svg.Path}
2576
+ */
2577
+ function clone(close) {
2578
+ var c = new Chartist.Svg.Path(close || this.close);
2579
+ c.pos = this.pos;
2580
+ c.pathElements = this.pathElements.slice().map(function cloneElements(pathElement) {
2581
+ return Chartist.extend({}, pathElement);
2582
+ });
2583
+ c.options = Chartist.extend({}, this.options);
2584
+ return c;
2585
+ }
2586
+
2587
+ /**
2588
+ * Split a Svg.Path object by a specific command in the path chain. The path chain will be split and an array of newly created paths objects will be returned. This is useful if you'd like to split an SVG path by it's move commands, for example, in order to isolate chunks of drawings.
2589
+ *
2590
+ * @memberof Chartist.Svg.Path
2591
+ * @param {String} command The command you'd like to use to split the path
2592
+ * @return {Array<Chartist.Svg.Path>}
2593
+ */
2594
+ function splitByCommand(command) {
2595
+ var split = [
2596
+ new Chartist.Svg.Path()
2597
+ ];
2598
+
2599
+ this.pathElements.forEach(function(pathElement) {
2600
+ if(pathElement.command === command.toUpperCase() && split[split.length - 1].pathElements.length !== 0) {
2601
+ split.push(new Chartist.Svg.Path());
2602
+ }
2603
+
2604
+ split[split.length - 1].pathElements.push(pathElement);
2605
+ });
2606
+
2607
+ return split;
2608
+ }
2609
+
2610
+ /**
2611
+ * This static function on `Chartist.Svg.Path` is joining multiple paths together into one paths.
2612
+ *
2613
+ * @memberof Chartist.Svg.Path
2614
+ * @param {Array<Chartist.Svg.Path>} paths A list of paths to be joined together. The order is important.
2615
+ * @param {boolean} close If the newly created path should be a closed path
2616
+ * @param {Object} options Path options for the newly created path.
2617
+ * @return {Chartist.Svg.Path}
2618
+ */
2619
+
2620
+ function join(paths, close, options) {
2621
+ var joinedPath = new Chartist.Svg.Path(close, options);
2622
+ for(var i = 0; i < paths.length; i++) {
2623
+ var path = paths[i];
2624
+ for(var j = 0; j < path.pathElements.length; j++) {
2625
+ joinedPath.pathElements.push(path.pathElements[j]);
2626
+ }
2627
+ }
2628
+ return joinedPath;
2629
+ }
2630
+
2631
+ Chartist.Svg.Path = Chartist.Class.extend({
2632
+ constructor: SvgPath,
2633
+ position: position,
2634
+ remove: remove,
2635
+ move: move,
2636
+ line: line,
2637
+ curve: curve,
2638
+ arc: arc,
2639
+ scale: scale,
2640
+ translate: translate,
2641
+ transform: transform,
2642
+ parse: parse,
2643
+ stringify: stringify,
2644
+ clone: clone,
2645
+ splitByCommand: splitByCommand
2646
+ });
2647
+
2648
+ Chartist.Svg.Path.elementDescriptions = elementDescriptions;
2649
+ Chartist.Svg.Path.join = join;
2650
+ }(window, document, Chartist));
2651
+ ;/* global Chartist */
2652
+ (function (window, document, Chartist) {
2653
+ 'use strict';
2654
+
2655
+ var axisUnits = {
2656
+ x: {
2657
+ pos: 'x',
2658
+ len: 'width',
2659
+ dir: 'horizontal',
2660
+ rectStart: 'x1',
2661
+ rectEnd: 'x2',
2662
+ rectOffset: 'y2'
2663
+ },
2664
+ y: {
2665
+ pos: 'y',
2666
+ len: 'height',
2667
+ dir: 'vertical',
2668
+ rectStart: 'y2',
2669
+ rectEnd: 'y1',
2670
+ rectOffset: 'x1'
2671
+ }
2672
+ };
2673
+
2674
+ function Axis(units, chartRect, ticks, options) {
2675
+ this.units = units;
2676
+ this.counterUnits = units === axisUnits.x ? axisUnits.y : axisUnits.x;
2677
+ this.chartRect = chartRect;
2678
+ this.axisLength = chartRect[units.rectEnd] - chartRect[units.rectStart];
2679
+ this.gridOffset = chartRect[units.rectOffset];
2680
+ this.ticks = ticks;
2681
+ this.options = options;
2682
+ }
2683
+
2684
+ function createGridAndLabels(gridGroup, labelGroup, useForeignObject, chartOptions, eventEmitter) {
2685
+ var axisOptions = chartOptions['axis' + this.units.pos.toUpperCase()];
2686
+ var projectedValues = this.ticks.map(this.projectValue.bind(this));
2687
+ var labelValues = this.ticks.map(axisOptions.labelInterpolationFnc);
2688
+
2689
+ projectedValues.forEach(function(projectedValue, index) {
2690
+ var labelOffset = {
2691
+ x: 0,
2692
+ y: 0
2693
+ };
2694
+
2695
+ // TODO: Find better solution for solving this problem
2696
+ // Calculate how much space we have available for the label
2697
+ var labelLength;
2698
+ if(projectedValues[index + 1]) {
2699
+ // If we still have one label ahead, we can calculate the distance to the next tick / label
2700
+ labelLength = projectedValues[index + 1] - projectedValue;
2701
+ } else {
2702
+ // If we don't have a label ahead and we have only two labels in total, we just take the remaining distance to
2703
+ // on the whole axis length. We limit that to a minimum of 30 pixel, so that labels close to the border will
2704
+ // still be visible inside of the chart padding.
2705
+ labelLength = Math.max(this.axisLength - projectedValue, 30);
2706
+ }
2707
+
2708
+ // Skip grid lines and labels where interpolated label values are falsey (execpt for 0)
2709
+ if(!labelValues[index] && labelValues[index] !== 0) {
2710
+ return;
2711
+ }
2712
+
2713
+ // Transform to global coordinates using the chartRect
2714
+ // We also need to set the label offset for the createLabel function
2715
+ if(this.units.pos === 'x') {
2716
+ projectedValue = this.chartRect.x1 + projectedValue;
2717
+ labelOffset.x = chartOptions.axisX.labelOffset.x;
2718
+
2719
+ // If the labels should be positioned in start position (top side for vertical axis) we need to set a
2720
+ // different offset as for positioned with end (bottom)
2721
+ if(chartOptions.axisX.position === 'start') {
2722
+ labelOffset.y = this.chartRect.padding.top + chartOptions.axisX.labelOffset.y + (useForeignObject ? 5 : 20);
2723
+ } else {
2724
+ labelOffset.y = this.chartRect.y1 + chartOptions.axisX.labelOffset.y + (useForeignObject ? 5 : 20);
2725
+ }
2726
+ } else {
2727
+ projectedValue = this.chartRect.y1 - projectedValue;
2728
+ labelOffset.y = chartOptions.axisY.labelOffset.y - (useForeignObject ? labelLength : 0);
2729
+
2730
+ // If the labels should be positioned in start position (left side for horizontal axis) we need to set a
2731
+ // different offset as for positioned with end (right side)
2732
+ if(chartOptions.axisY.position === 'start') {
2733
+ labelOffset.x = useForeignObject ? this.chartRect.padding.left + chartOptions.axisY.labelOffset.x : this.chartRect.x1 - 10;
2734
+ } else {
2735
+ labelOffset.x = this.chartRect.x2 + chartOptions.axisY.labelOffset.x + 10;
2736
+ }
2737
+ }
2738
+
2739
+ if(axisOptions.showGrid) {
2740
+ Chartist.createGrid(projectedValue, index, this, this.gridOffset, this.chartRect[this.counterUnits.len](), gridGroup, [
2741
+ chartOptions.classNames.grid,
2742
+ chartOptions.classNames[this.units.dir]
2743
+ ], eventEmitter);
2744
+ }
2745
+
2746
+ if(axisOptions.showLabel) {
2747
+ Chartist.createLabel(projectedValue, labelLength, index, labelValues, this, axisOptions.offset, labelOffset, labelGroup, [
2748
+ chartOptions.classNames.label,
2749
+ chartOptions.classNames[this.units.dir],
2750
+ chartOptions.classNames[axisOptions.position]
2751
+ ], useForeignObject, eventEmitter);
2752
+ }
2753
+ }.bind(this));
2754
+ }
2755
+
2756
+ Chartist.Axis = Chartist.Class.extend({
2757
+ constructor: Axis,
2758
+ createGridAndLabels: createGridAndLabels,
2759
+ projectValue: function(value, index, data) {
2760
+ throw new Error('Base axis can\'t be instantiated!');
2761
+ }
2762
+ });
2763
+
2764
+ Chartist.Axis.units = axisUnits;
2765
+
2766
+ }(window, document, Chartist));
2767
+ ;/**
2768
+ * The auto scale axis uses standard linear scale projection of values along an axis. It uses order of magnitude to find a scale automatically and evaluates the available space in order to find the perfect amount of ticks for your chart.
2769
+ * **Options**
2770
+ * The following options are used by this axis in addition to the default axis options outlined in the axis configuration of the chart default settings.
2771
+ * ```javascript
2772
+ * var options = {
2773
+ * // If high is specified then the axis will display values explicitly up to this value and the computed maximum from the data is ignored
2774
+ * high: 100,
2775
+ * // If low is specified then the axis will display values explicitly down to this value and the computed minimum from the data is ignored
2776
+ * low: 0,
2777
+ * // This option will be used when finding the right scale division settings. The amount of ticks on the scale will be determined so that as many ticks as possible will be displayed, while not violating this minimum required space (in pixel).
2778
+ * scaleMinSpace: 20,
2779
+ * // Can be set to true or false. If set to true, the scale will be generated with whole numbers only.
2780
+ * onlyInteger: true,
2781
+ * // The reference value can be used to make sure that this value will always be on the chart. This is especially useful on bipolar charts where the bipolar center always needs to be part of the chart.
2782
+ * referenceValue: 5
2783
+ * };
2784
+ * ```
2785
+ *
2786
+ * @module Chartist.AutoScaleAxis
2787
+ */
2788
+ /* global Chartist */
2789
+ (function (window, document, Chartist) {
2790
+ 'use strict';
2791
+
2792
+ function AutoScaleAxis(axisUnit, data, chartRect, options) {
2793
+ // Usually we calculate highLow based on the data but this can be overriden by a highLow object in the options
2794
+ var highLow = options.highLow || Chartist.getHighLow(data.normalized, options, axisUnit.pos);
2795
+ this.bounds = Chartist.getBounds(chartRect[axisUnit.rectEnd] - chartRect[axisUnit.rectStart], highLow, options.scaleMinSpace || 20, options.onlyInteger);
2796
+ this.range = {
2797
+ min: this.bounds.min,
2798
+ max: this.bounds.max
2799
+ };
2800
+
2801
+ Chartist.AutoScaleAxis.super.constructor.call(this,
2802
+ axisUnit,
2803
+ chartRect,
2804
+ this.bounds.values,
2805
+ options);
2806
+ }
2807
+
2808
+ function projectValue(value) {
2809
+ return this.axisLength * (+Chartist.getMultiValue(value, this.units.pos) - this.bounds.min) / this.bounds.range;
2810
+ }
2811
+
2812
+ Chartist.AutoScaleAxis = Chartist.Axis.extend({
2813
+ constructor: AutoScaleAxis,
2814
+ projectValue: projectValue
2815
+ });
2816
+
2817
+ }(window, document, Chartist));
2818
+ ;/**
2819
+ * The fixed scale axis uses standard linear projection of values along an axis. It makes use of a divisor option to divide the range provided from the minimum and maximum value or the options high and low that will override the computed minimum and maximum.
2820
+ * **Options**
2821
+ * The following options are used by this axis in addition to the default axis options outlined in the axis configuration of the chart default settings.
2822
+ * ```javascript
2823
+ * var options = {
2824
+ * // If high is specified then the axis will display values explicitly up to this value and the computed maximum from the data is ignored
2825
+ * high: 100,
2826
+ * // If low is specified then the axis will display values explicitly down to this value and the computed minimum from the data is ignored
2827
+ * low: 0,
2828
+ * // If specified then the value range determined from minimum to maximum (or low and high) will be divided by this number and ticks will be generated at those division points. The default divisor is 1.
2829
+ * divisor: 4,
2830
+ * // If ticks is explicitly set, then the axis will not compute the ticks with the divisor, but directly use the data in ticks to determine at what points on the axis a tick need to be generated.
2831
+ * ticks: [1, 10, 20, 30]
2832
+ * };
2833
+ * ```
2834
+ *
2835
+ * @module Chartist.FixedScaleAxis
2836
+ */
2837
+ /* global Chartist */
2838
+ (function (window, document, Chartist) {
2839
+ 'use strict';
2840
+
2841
+ function FixedScaleAxis(axisUnit, data, chartRect, options) {
2842
+ var highLow = options.highLow || Chartist.getHighLow(data.normalized, options, axisUnit.pos);
2843
+ this.divisor = options.divisor || 1;
2844
+ this.ticks = options.ticks || Chartist.times(this.divisor).map(function(value, index) {
2845
+ return highLow.low + (highLow.high - highLow.low) / this.divisor * index;
2846
+ }.bind(this));
2847
+ this.range = {
2848
+ min: highLow.low,
2849
+ max: highLow.high
2850
+ };
2851
+
2852
+ Chartist.FixedScaleAxis.super.constructor.call(this,
2853
+ axisUnit,
2854
+ chartRect,
2855
+ this.ticks,
2856
+ options);
2857
+
2858
+ this.stepLength = this.axisLength / this.divisor;
2859
+ }
2860
+
2861
+ function projectValue(value) {
2862
+ return this.axisLength * (+Chartist.getMultiValue(value, this.units.pos) - this.range.min) / (this.range.max - this.range.min);
2863
+ }
2864
+
2865
+ Chartist.FixedScaleAxis = Chartist.Axis.extend({
2866
+ constructor: FixedScaleAxis,
2867
+ projectValue: projectValue
2868
+ });
2869
+
2870
+ }(window, document, Chartist));
2871
+ ;/**
2872
+ * The step axis for step based charts like bar chart or step based line charts. It uses a fixed amount of ticks that will be equally distributed across the whole axis length. The projection is done using the index of the data value rather than the value itself and therefore it's only useful for distribution purpose.
2873
+ * **Options**
2874
+ * The following options are used by this axis in addition to the default axis options outlined in the axis configuration of the chart default settings.
2875
+ * ```javascript
2876
+ * var options = {
2877
+ * // Ticks to be used to distribute across the axis length. As this axis type relies on the index of the value rather than the value, arbitrary data that can be converted to a string can be used as ticks.
2878
+ * ticks: ['One', 'Two', 'Three'],
2879
+ * // If set to true the full width will be used to distribute the values where the last value will be at the maximum of the axis length. If false the spaces between the ticks will be evenly distributed instead.
2880
+ * stretch: true
2881
+ * };
2882
+ * ```
2883
+ *
2884
+ * @module Chartist.StepAxis
2885
+ */
2886
+ /* global Chartist */
2887
+ (function (window, document, Chartist) {
2888
+ 'use strict';
2889
+
2890
+ function StepAxis(axisUnit, data, chartRect, options) {
2891
+ Chartist.StepAxis.super.constructor.call(this,
2892
+ axisUnit,
2893
+ chartRect,
2894
+ options.ticks,
2895
+ options);
2896
+
2897
+ this.stepLength = this.axisLength / (options.ticks.length - (options.stretch ? 1 : 0));
2898
+ }
2899
+
2900
+ function projectValue(value, index) {
2901
+ return this.stepLength * index;
2902
+ }
2903
+
2904
+ Chartist.StepAxis = Chartist.Axis.extend({
2905
+ constructor: StepAxis,
2906
+ projectValue: projectValue
2907
+ });
2908
+
2909
+ }(window, document, Chartist));
2910
+ ;/**
2911
+ * The Chartist line chart can be used to draw Line or Scatter charts. If used in the browser you can access the global `Chartist` namespace where you find the `Line` function as a main entry point.
2912
+ *
2913
+ * For examples on how to use the line chart please check the examples of the `Chartist.Line` method.
2914
+ *
2915
+ * @module Chartist.Line
2916
+ */
2917
+ /* global Chartist */
2918
+ (function(window, document, Chartist){
2919
+ 'use strict';
2920
+
2921
+ /**
2922
+ * Default options in line charts. Expand the code view to see a detailed list of options with comments.
2923
+ *
2924
+ * @memberof Chartist.Line
2925
+ */
2926
+ var defaultOptions = {
2927
+ // Options for X-Axis
2928
+ axisX: {
2929
+ // The offset of the labels to the chart area
2930
+ offset: 30,
2931
+ // Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis.
2932
+ position: 'end',
2933
+ // Allows you to correct label positioning on this axis by positive or negative x and y offset.
2934
+ labelOffset: {
2935
+ x: 0,
2936
+ y: 0
2937
+ },
2938
+ // If labels should be shown or not
2939
+ showLabel: true,
2940
+ // If the axis grid should be drawn or not
2941
+ showGrid: true,
2942
+ // Interpolation function that allows you to intercept the value from the axis label
2943
+ labelInterpolationFnc: Chartist.noop,
2944
+ // Set the axis type to be used to project values on this axis. If not defined, Chartist.StepAxis will be used for the X-Axis, where the ticks option will be set to the labels in the data and the stretch option will be set to the global fullWidth option. This type can be changed to any axis constructor available (e.g. Chartist.FixedScaleAxis), where all axis options should be present here.
2945
+ type: undefined
2946
+ },
2947
+ // Options for Y-Axis
2948
+ axisY: {
2949
+ // The offset of the labels to the chart area
2950
+ offset: 40,
2951
+ // Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis.
2952
+ position: 'start',
2953
+ // Allows you to correct label positioning on this axis by positive or negative x and y offset.
2954
+ labelOffset: {
2955
+ x: 0,
2956
+ y: 0
2957
+ },
2958
+ // If labels should be shown or not
2959
+ showLabel: true,
2960
+ // If the axis grid should be drawn or not
2961
+ showGrid: true,
2962
+ // Interpolation function that allows you to intercept the value from the axis label
2963
+ labelInterpolationFnc: Chartist.noop,
2964
+ // Set the axis type to be used to project values on this axis. If not defined, Chartist.AutoScaleAxis will be used for the Y-Axis, where the high and low options will be set to the global high and low options. This type can be changed to any axis constructor available (e.g. Chartist.FixedScaleAxis), where all axis options should be present here.
2965
+ type: undefined,
2966
+ // This value specifies the minimum height in pixel of the scale steps
2967
+ scaleMinSpace: 20,
2968
+ // Use only integer values (whole numbers) for the scale steps
2969
+ onlyInteger: false
2970
+ },
2971
+ // Specify a fixed width for the chart as a string (i.e. '100px' or '50%')
2972
+ width: undefined,
2973
+ // Specify a fixed height for the chart as a string (i.e. '100px' or '50%')
2974
+ height: undefined,
2975
+ // If the line should be drawn or not
2976
+ showLine: true,
2977
+ // If dots should be drawn or not
2978
+ showPoint: true,
2979
+ // If the line chart should draw an area
2980
+ showArea: false,
2981
+ // The base for the area chart that will be used to close the area shape (is normally 0)
2982
+ areaBase: 0,
2983
+ // Specify if the lines should be smoothed. This value can be true or false where true will result in smoothing using the default smoothing interpolation function Chartist.Interpolation.cardinal and false results in Chartist.Interpolation.none. You can also choose other smoothing / interpolation functions available in the Chartist.Interpolation module, or write your own interpolation function. Check the examples for a brief description.
2984
+ lineSmooth: true,
2985
+ // Overriding the natural low of the chart allows you to zoom in or limit the charts lowest displayed value
2986
+ low: undefined,
2987
+ // Overriding the natural high of the chart allows you to zoom in or limit the charts highest displayed value
2988
+ high: undefined,
2989
+ // Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5}
2990
+ chartPadding: {
2991
+ top: 15,
2992
+ right: 15,
2993
+ bottom: 5,
2994
+ left: 10
2995
+ },
2996
+ // When set to true, the last grid line on the x-axis is not drawn and the chart elements will expand to the full available width of the chart. For the last label to be drawn correctly you might need to add chart padding or offset the last label with a draw event handler.
2997
+ fullWidth: false,
2998
+ // If true the whole data is reversed including labels, the series order as well as the whole series data arrays.
2999
+ reverseData: false,
3000
+ // Override the class names that get used to generate the SVG structure of the chart
3001
+ classNames: {
3002
+ chart: 'ct-chart-line',
3003
+ label: 'ct-label',
3004
+ labelGroup: 'ct-labels',
3005
+ series: 'ct-series',
3006
+ line: 'ct-line',
3007
+ point: 'ct-point',
3008
+ area: 'ct-area',
3009
+ grid: 'ct-grid',
3010
+ gridGroup: 'ct-grids',
3011
+ vertical: 'ct-vertical',
3012
+ horizontal: 'ct-horizontal',
3013
+ start: 'ct-start',
3014
+ end: 'ct-end'
3015
+ }
3016
+ };
3017
+
3018
+ /**
3019
+ * Creates a new chart
3020
+ *
3021
+ */
3022
+ function createChart(options) {
3023
+ var data = {
3024
+ raw: this.data,
3025
+ normalized: Chartist.getDataArray(this.data, options.reverseData, true)
3026
+ };
3027
+
3028
+ // Create new svg object
3029
+ this.svg = Chartist.createSvg(this.container, options.width, options.height, options.classNames.chart);
3030
+ // Create groups for labels, grid and series
3031
+ var gridGroup = this.svg.elem('g').addClass(options.classNames.gridGroup);
3032
+ var seriesGroup = this.svg.elem('g');
3033
+ var labelGroup = this.svg.elem('g').addClass(options.classNames.labelGroup);
3034
+
3035
+ var chartRect = Chartist.createChartRect(this.svg, options, defaultOptions.padding);
3036
+ var axisX, axisY;
3037
+
3038
+ if(options.axisX.type === undefined) {
3039
+ axisX = new Chartist.StepAxis(Chartist.Axis.units.x, data, chartRect, Chartist.extend({}, options.axisX, {
3040
+ ticks: data.raw.labels,
3041
+ stretch: options.fullWidth
3042
+ }));
3043
+ } else {
3044
+ axisX = options.axisX.type.call(Chartist, Chartist.Axis.units.x, data, chartRect, options.axisX);
3045
+ }
3046
+
3047
+ if(options.axisY.type === undefined) {
3048
+ axisY = new Chartist.AutoScaleAxis(Chartist.Axis.units.y, data, chartRect, Chartist.extend({}, options.axisY, {
3049
+ high: Chartist.isNum(options.high) ? options.high : options.axisY.high,
3050
+ low: Chartist.isNum(options.low) ? options.low : options.axisY.low
3051
+ }));
3052
+ } else {
3053
+ axisY = options.axisY.type.call(Chartist, Chartist.Axis.units.y, data, chartRect, options.axisY);
3054
+ }
3055
+
3056
+ axisX.createGridAndLabels(gridGroup, labelGroup, this.supportsForeignObject, options, this.eventEmitter);
3057
+ axisY.createGridAndLabels(gridGroup, labelGroup, this.supportsForeignObject, options, this.eventEmitter);
3058
+
3059
+ // Draw the series
3060
+ data.raw.series.forEach(function(series, seriesIndex) {
3061
+ var seriesElement = seriesGroup.elem('g');
3062
+
3063
+ // Write attributes to series group element. If series name or meta is undefined the attributes will not be written
3064
+ seriesElement.attr({
3065
+ 'series-name': series.name,
3066
+ 'meta': Chartist.serialize(series.meta)
3067
+ }, Chartist.xmlNs.uri);
3068
+
3069
+ // Use series class from series data or if not set generate one
3070
+ seriesElement.addClass([
3071
+ options.classNames.series,
3072
+ (series.className || options.classNames.series + '-' + Chartist.alphaNumerate(seriesIndex))
3073
+ ].join(' '));
3074
+
3075
+ var pathCoordinates = [],
3076
+ pathData = [];
3077
+
3078
+ data.normalized[seriesIndex].forEach(function(value, valueIndex) {
3079
+ var p = {
3080
+ x: chartRect.x1 + axisX.projectValue(value, valueIndex, data.normalized[seriesIndex]),
3081
+ y: chartRect.y1 - axisY.projectValue(value, valueIndex, data.normalized[seriesIndex])
3082
+ };
3083
+ pathCoordinates.push(p.x, p.y);
3084
+ pathData.push({
3085
+ value: value,
3086
+ valueIndex: valueIndex,
3087
+ meta: Chartist.getMetaData(series, valueIndex)
3088
+ });
3089
+ }.bind(this));
3090
+
3091
+ var seriesOptions = {
3092
+ lineSmooth: Chartist.getSeriesOption(series, options, 'lineSmooth'),
3093
+ showPoint: Chartist.getSeriesOption(series, options, 'showPoint'),
3094
+ showLine: Chartist.getSeriesOption(series, options, 'showLine'),
3095
+ showArea: Chartist.getSeriesOption(series, options, 'showArea'),
3096
+ areaBase: Chartist.getSeriesOption(series, options, 'areaBase')
3097
+ };
3098
+
3099
+ var smoothing = typeof seriesOptions.lineSmooth === 'function' ?
3100
+ seriesOptions.lineSmooth : (seriesOptions.lineSmooth ? Chartist.Interpolation.cardinal() : Chartist.Interpolation.none());
3101
+ // Interpolating path where pathData will be used to annotate each path element so we can trace back the original
3102
+ // index, value and meta data
3103
+ var path = smoothing(pathCoordinates, pathData);
3104
+
3105
+ // If we should show points we need to create them now to avoid secondary loop
3106
+ // Points are drawn from the pathElements returned by the interpolation function
3107
+ // Small offset for Firefox to render squares correctly
3108
+ if (seriesOptions.showPoint) {
3109
+
3110
+ path.pathElements.forEach(function(pathElement) {
3111
+ var point = seriesElement.elem('line', {
3112
+ x1: pathElement.x,
3113
+ y1: pathElement.y,
3114
+ x2: pathElement.x + 0.01,
3115
+ y2: pathElement.y
3116
+ }, options.classNames.point).attr({
3117
+ 'value': [pathElement.data.value.x, pathElement.data.value.y].filter(function(v) {
3118
+ return v;
3119
+ }).join(','),
3120
+ 'meta': pathElement.data.meta
3121
+ }, Chartist.xmlNs.uri);
3122
+
3123
+ this.eventEmitter.emit('draw', {
3124
+ type: 'point',
3125
+ value: pathElement.data.value,
3126
+ index: pathElement.data.valueIndex,
3127
+ meta: pathElement.data.meta,
3128
+ series: series,
3129
+ seriesIndex: seriesIndex,
3130
+ axisX: axisX,
3131
+ axisY: axisY,
3132
+ group: seriesElement,
3133
+ element: point,
3134
+ x: pathElement.x,
3135
+ y: pathElement.y
3136
+ });
3137
+ }.bind(this));
3138
+ }
3139
+
3140
+ if(seriesOptions.showLine) {
3141
+ var line = seriesElement.elem('path', {
3142
+ d: path.stringify()
3143
+ }, options.classNames.line, true);
3144
+
3145
+ this.eventEmitter.emit('draw', {
3146
+ type: 'line',
3147
+ values: data.normalized[seriesIndex],
3148
+ path: path.clone(),
3149
+ chartRect: chartRect,
3150
+ index: seriesIndex,
3151
+ series: series,
3152
+ seriesIndex: seriesIndex,
3153
+ axisX: axisX,
3154
+ axisY: axisY,
3155
+ group: seriesElement,
3156
+ element: line
3157
+ });
3158
+ }
3159
+
3160
+ // Area currently only works with axes that support a range!
3161
+ if(seriesOptions.showArea && axisY.range) {
3162
+ // If areaBase is outside the chart area (< min or > max) we need to set it respectively so that
3163
+ // the area is not drawn outside the chart area.
3164
+ var areaBase = Math.max(Math.min(seriesOptions.areaBase, axisY.range.max), axisY.range.min);
3165
+
3166
+ // We project the areaBase value into screen coordinates
3167
+ var areaBaseProjected = chartRect.y1 - axisY.projectValue(areaBase);
3168
+
3169
+ // In order to form the area we'll first split the path by move commands so we can chunk it up into segments
3170
+ path.splitByCommand('M').filter(function onlySolidSegments(pathSegment) {
3171
+ // We filter only "solid" segments that contain more than one point. Otherwise there's no need for an area
3172
+ return pathSegment.pathElements.length > 1;
3173
+ }).map(function convertToArea(solidPathSegments) {
3174
+ // Receiving the filtered solid path segments we can now convert those segments into fill areas
3175
+ var firstElement = solidPathSegments.pathElements[0];
3176
+ var lastElement = solidPathSegments.pathElements[solidPathSegments.pathElements.length - 1];
3177
+
3178
+ // Cloning the solid path segment with closing option and removing the first move command from the clone
3179
+ // We then insert a new move that should start at the area base and draw a straight line up or down
3180
+ // at the end of the path we add an additional straight line to the projected area base value
3181
+ // As the closing option is set our path will be automatically closed
3182
+ return solidPathSegments.clone(true)
3183
+ .position(0)
3184
+ .remove(1)
3185
+ .move(firstElement.x, areaBaseProjected)
3186
+ .line(firstElement.x, firstElement.y)
3187
+ .position(solidPathSegments.pathElements.length + 1)
3188
+ .line(lastElement.x, areaBaseProjected);
3189
+
3190
+ }).forEach(function createArea(areaPath) {
3191
+ // For each of our newly created area paths, we'll now create path elements by stringifying our path objects
3192
+ // and adding the created DOM elements to the correct series group
3193
+ var area = seriesElement.elem('path', {
3194
+ d: areaPath.stringify()
3195
+ }, options.classNames.area, true).attr({
3196
+ 'values': data.normalized[seriesIndex]
3197
+ }, Chartist.xmlNs.uri);
3198
+
3199
+ // Emit an event for each area that was drawn
3200
+ this.eventEmitter.emit('draw', {
3201
+ type: 'area',
3202
+ values: data.normalized[seriesIndex],
3203
+ path: areaPath.clone(),
3204
+ series: series,
3205
+ seriesIndex: seriesIndex,
3206
+ axisX: axisX,
3207
+ axisY: axisY,
3208
+ chartRect: chartRect,
3209
+ index: seriesIndex,
3210
+ group: seriesElement,
3211
+ element: area
3212
+ });
3213
+ }.bind(this));
3214
+ }
3215
+ }.bind(this));
3216
+
3217
+ this.eventEmitter.emit('created', {
3218
+ bounds: axisY.bounds,
3219
+ chartRect: chartRect,
3220
+ axisX: axisX,
3221
+ axisY: axisY,
3222
+ svg: this.svg,
3223
+ options: options
3224
+ });
3225
+ }
3226
+
3227
+ /**
3228
+ * This method creates a new line chart.
3229
+ *
3230
+ * @memberof Chartist.Line
3231
+ * @param {String|Node} query A selector query string or directly a DOM element
3232
+ * @param {Object} data The data object that needs to consist of a labels and a series array
3233
+ * @param {Object} [options] The options object with options that override the default options. Check the examples for a detailed list.
3234
+ * @param {Array} [responsiveOptions] Specify an array of responsive option arrays which are a media query and options object pair => [[mediaQueryString, optionsObject],[more...]]
3235
+ * @return {Object} An object which exposes the API for the created chart
3236
+ *
3237
+ * @example
3238
+ * // Create a simple line chart
3239
+ * var data = {
3240
+ * // A labels array that can contain any sort of values
3241
+ * labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'],
3242
+ * // Our series array that contains series objects or in this case series data arrays
3243
+ * series: [
3244
+ * [5, 2, 4, 2, 0]
3245
+ * ]
3246
+ * };
3247
+ *
3248
+ * // As options we currently only set a static size of 300x200 px
3249
+ * var options = {
3250
+ * width: '300px',
3251
+ * height: '200px'
3252
+ * };
3253
+ *
3254
+ * // In the global name space Chartist we call the Line function to initialize a line chart. As a first parameter we pass in a selector where we would like to get our chart created. Second parameter is the actual data object and as a third parameter we pass in our options
3255
+ * new Chartist.Line('.ct-chart', data, options);
3256
+ *
3257
+ * @example
3258
+ * // Use specific interpolation function with configuration from the Chartist.Interpolation module
3259
+ *
3260
+ * var chart = new Chartist.Line('.ct-chart', {
3261
+ * labels: [1, 2, 3, 4, 5],
3262
+ * series: [
3263
+ * [1, 1, 8, 1, 7]
3264
+ * ]
3265
+ * }, {
3266
+ * lineSmooth: Chartist.Interpolation.cardinal({
3267
+ * tension: 0.2
3268
+ * })
3269
+ * });
3270
+ *
3271
+ * @example
3272
+ * // Create a line chart with responsive options
3273
+ *
3274
+ * var data = {
3275
+ * // A labels array that can contain any sort of values
3276
+ * labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],
3277
+ * // Our series array that contains series objects or in this case series data arrays
3278
+ * series: [
3279
+ * [5, 2, 4, 2, 0]
3280
+ * ]
3281
+ * };
3282
+ *
3283
+ * // In adition to the regular options we specify responsive option overrides that will override the default configutation based on the matching media queries.
3284
+ * var responsiveOptions = [
3285
+ * ['screen and (min-width: 641px) and (max-width: 1024px)', {
3286
+ * showPoint: false,
3287
+ * axisX: {
3288
+ * labelInterpolationFnc: function(value) {
3289
+ * // Will return Mon, Tue, Wed etc. on medium screens
3290
+ * return value.slice(0, 3);
3291
+ * }
3292
+ * }
3293
+ * }],
3294
+ * ['screen and (max-width: 640px)', {
3295
+ * showLine: false,
3296
+ * axisX: {
3297
+ * labelInterpolationFnc: function(value) {
3298
+ * // Will return M, T, W etc. on small screens
3299
+ * return value[0];
3300
+ * }
3301
+ * }
3302
+ * }]
3303
+ * ];
3304
+ *
3305
+ * new Chartist.Line('.ct-chart', data, null, responsiveOptions);
3306
+ *
3307
+ */
3308
+ function Line(query, data, options, responsiveOptions) {
3309
+ Chartist.Line.super.constructor.call(this,
3310
+ query,
3311
+ data,
3312
+ defaultOptions,
3313
+ Chartist.extend({}, defaultOptions, options),
3314
+ responsiveOptions);
3315
+ }
3316
+
3317
+ // Creating line chart type in Chartist namespace
3318
+ Chartist.Line = Chartist.Base.extend({
3319
+ constructor: Line,
3320
+ createChart: createChart
3321
+ });
3322
+
3323
+ }(window, document, Chartist));
3324
+ ;/**
3325
+ * The bar chart module of Chartist that can be used to draw unipolar or bipolar bar and grouped bar charts.
3326
+ *
3327
+ * @module Chartist.Bar
3328
+ */
3329
+ /* global Chartist */
3330
+ (function(window, document, Chartist){
3331
+ 'use strict';
3332
+
3333
+ /**
3334
+ * Default options in bar charts. Expand the code view to see a detailed list of options with comments.
3335
+ *
3336
+ * @memberof Chartist.Bar
3337
+ */
3338
+ var defaultOptions = {
3339
+ // Options for X-Axis
3340
+ axisX: {
3341
+ // The offset of the chart drawing area to the border of the container
3342
+ offset: 30,
3343
+ // Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis.
3344
+ position: 'end',
3345
+ // Allows you to correct label positioning on this axis by positive or negative x and y offset.
3346
+ labelOffset: {
3347
+ x: 0,
3348
+ y: 0
3349
+ },
3350
+ // If labels should be shown or not
3351
+ showLabel: true,
3352
+ // If the axis grid should be drawn or not
3353
+ showGrid: true,
3354
+ // Interpolation function that allows you to intercept the value from the axis label
3355
+ labelInterpolationFnc: Chartist.noop,
3356
+ // This value specifies the minimum width in pixel of the scale steps
3357
+ scaleMinSpace: 30,
3358
+ // Use only integer values (whole numbers) for the scale steps
3359
+ onlyInteger: false
3360
+ },
3361
+ // Options for Y-Axis
3362
+ axisY: {
3363
+ // The offset of the chart drawing area to the border of the container
3364
+ offset: 40,
3365
+ // Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis.
3366
+ position: 'start',
3367
+ // Allows you to correct label positioning on this axis by positive or negative x and y offset.
3368
+ labelOffset: {
3369
+ x: 0,
3370
+ y: 0
3371
+ },
3372
+ // If labels should be shown or not
3373
+ showLabel: true,
3374
+ // If the axis grid should be drawn or not
3375
+ showGrid: true,
3376
+ // Interpolation function that allows you to intercept the value from the axis label
3377
+ labelInterpolationFnc: Chartist.noop,
3378
+ // This value specifies the minimum height in pixel of the scale steps
3379
+ scaleMinSpace: 20,
3380
+ // Use only integer values (whole numbers) for the scale steps
3381
+ onlyInteger: false
3382
+ },
3383
+ // Specify a fixed width for the chart as a string (i.e. '100px' or '50%')
3384
+ width: undefined,
3385
+ // Specify a fixed height for the chart as a string (i.e. '100px' or '50%')
3386
+ height: undefined,
3387
+ // Overriding the natural high of the chart allows you to zoom in or limit the charts highest displayed value
3388
+ high: undefined,
3389
+ // Overriding the natural low of the chart allows you to zoom in or limit the charts lowest displayed value
3390
+ low: undefined,
3391
+ // Use only integer values (whole numbers) for the scale steps
3392
+ onlyInteger: false,
3393
+ // Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5}
3394
+ chartPadding: {
3395
+ top: 15,
3396
+ right: 15,
3397
+ bottom: 5,
3398
+ left: 10
3399
+ },
3400
+ // Specify the distance in pixel of bars in a group
3401
+ seriesBarDistance: 15,
3402
+ // If set to true this property will cause the series bars to be stacked and form a total for each series point. This will also influence the y-axis and the overall bounds of the chart. In stacked mode the seriesBarDistance property will have no effect.
3403
+ stackBars: false,
3404
+ // Inverts the axes of the bar chart in order to draw a horizontal bar chart. Be aware that you also need to invert your axis settings as the Y Axis will now display the labels and the X Axis the values.
3405
+ horizontalBars: false,
3406
+ // If set to true then each bar will represent a series and the data array is expected to be a one dimensional array of data values rather than a series array of series. This is useful if the bar chart should represent a profile rather than some data over time.
3407
+ distributeSeries: false,
3408
+ // If true the whole data is reversed including labels, the series order as well as the whole series data arrays.
3409
+ reverseData: false,
3410
+ // Override the class names that get used to generate the SVG structure of the chart
3411
+ classNames: {
3412
+ chart: 'ct-chart-bar',
3413
+ horizontalBars: 'ct-horizontal-bars',
3414
+ label: 'ct-label',
3415
+ labelGroup: 'ct-labels',
3416
+ series: 'ct-series',
3417
+ bar: 'ct-bar',
3418
+ grid: 'ct-grid',
3419
+ gridGroup: 'ct-grids',
3420
+ vertical: 'ct-vertical',
3421
+ horizontal: 'ct-horizontal',
3422
+ start: 'ct-start',
3423
+ end: 'ct-end'
3424
+ }
3425
+ };
3426
+
3427
+ /**
3428
+ * Creates a new chart
3429
+ *
3430
+ */
3431
+ function createChart(options) {
3432
+ var data = {
3433
+ raw: this.data,
3434
+ normalized: options.distributeSeries ? Chartist.getDataArray(this.data, options.reverseData, options.horizontalBars ? 'x' : 'y').map(function(value) {
3435
+ return [value];
3436
+ }) : Chartist.getDataArray(this.data, options.reverseData, options.horizontalBars ? 'x' : 'y')
3437
+ };
3438
+
3439
+ var highLow;
3440
+
3441
+ // Create new svg element
3442
+ this.svg = Chartist.createSvg(
3443
+ this.container,
3444
+ options.width,
3445
+ options.height,
3446
+ options.classNames.chart + (options.horizontalBars ? ' ' + options.classNames.horizontalBars : '')
3447
+ );
3448
+
3449
+ // Drawing groups in correct order
3450
+ var gridGroup = this.svg.elem('g').addClass(options.classNames.gridGroup);
3451
+ var seriesGroup = this.svg.elem('g');
3452
+ var labelGroup = this.svg.elem('g').addClass(options.classNames.labelGroup);
3453
+
3454
+ if(options.stackBars) {
3455
+ // If stacked bars we need to calculate the high low from stacked values from each series
3456
+ var serialSums = Chartist.serialMap(data.normalized, function serialSums() {
3457
+ return Array.prototype.slice.call(arguments).map(function(value) {
3458
+ return value;
3459
+ }).reduce(function(prev, curr) {
3460
+ return {
3461
+ x: prev.x + curr.x || 0,
3462
+ y: prev.y + curr.y || 0
3463
+ };
3464
+ }, {x: 0, y: 0});
3465
+ });
3466
+
3467
+ highLow = Chartist.getHighLow([serialSums], Chartist.extend({}, options, {
3468
+ referenceValue: 0
3469
+ }), options.horizontalBars ? 'x' : 'y');
3470
+ } else {
3471
+ highLow = Chartist.getHighLow(data.normalized, Chartist.extend({}, options, {
3472
+ referenceValue: 0
3473
+ }), options.horizontalBars ? 'x' : 'y');
3474
+ }
3475
+ // Overrides of high / low from settings
3476
+ highLow.high = +options.high || (options.high === 0 ? 0 : highLow.high);
3477
+ highLow.low = +options.low || (options.low === 0 ? 0 : highLow.low);
3478
+
3479
+ var chartRect = Chartist.createChartRect(this.svg, options, defaultOptions.padding);
3480
+
3481
+ var valueAxis,
3482
+ labelAxisTicks,
3483
+ labelAxis,
3484
+ axisX,
3485
+ axisY;
3486
+
3487
+ // We need to set step count based on some options combinations
3488
+ if(options.distributeSeries && options.stackBars) {
3489
+ // If distributed series are enabled and bars need to be stacked, we'll only have one bar and therefore should
3490
+ // use only the first label for the step axis
3491
+ labelAxisTicks = data.raw.labels.slice(0, 1);
3492
+ } else {
3493
+ // If distributed series are enabled but stacked bars aren't, we should use the series labels
3494
+ // If we are drawing a regular bar chart with two dimensional series data, we just use the labels array
3495
+ // as the bars are normalized
3496
+ labelAxisTicks = data.raw.labels;
3497
+ }
3498
+
3499
+ // Set labelAxis and valueAxis based on the horizontalBars setting. This setting will flip the axes if necessary.
3500
+ if(options.horizontalBars) {
3501
+ if(options.axisX.type === undefined) {
3502
+ valueAxis = axisX = new Chartist.AutoScaleAxis(Chartist.Axis.units.x, data, chartRect, Chartist.extend({}, options.axisX, {
3503
+ highLow: highLow,
3504
+ referenceValue: 0
3505
+ }));
3506
+ } else {
3507
+ valueAxis = axisX = options.axisX.type.call(Chartist, Chartist.Axis.units.x, data, chartRect, Chartist.extend({}, options.axisX, {
3508
+ highLow: highLow,
3509
+ referenceValue: 0
3510
+ }));
3511
+ }
3512
+
3513
+ if(options.axisY.type === undefined) {
3514
+ labelAxis = axisY = new Chartist.StepAxis(Chartist.Axis.units.y, data, chartRect, {
3515
+ ticks: labelAxisTicks
3516
+ });
3517
+ } else {
3518
+ labelAxis = axisY = options.axisY.type.call(Chartist, Chartist.Axis.units.y, data, chartRect, options.axisY);
3519
+ }
3520
+ } else {
3521
+ if(options.axisX.type === undefined) {
3522
+ labelAxis = axisX = new Chartist.StepAxis(Chartist.Axis.units.x, data, chartRect, {
3523
+ ticks: labelAxisTicks
3524
+ });
3525
+ } else {
3526
+ labelAxis = axisX = options.axisX.type.call(Chartist, Chartist.Axis.units.x, data, chartRect, options.axisX);
3527
+ }
3528
+
3529
+ if(options.axisY.type === undefined) {
3530
+ valueAxis = axisY = new Chartist.AutoScaleAxis(Chartist.Axis.units.y, data, chartRect, Chartist.extend({}, options.axisY, {
3531
+ highLow: highLow,
3532
+ referenceValue: 0
3533
+ }));
3534
+ } else {
3535
+ valueAxis = axisY = options.axisY.type.call(Chartist, Chartist.Axis.units.y, data, chartRect, Chartist.extend({}, options.axisY, {
3536
+ highLow: highLow,
3537
+ referenceValue: 0
3538
+ }));
3539
+ }
3540
+ }
3541
+
3542
+ // Projected 0 point
3543
+ var zeroPoint = options.horizontalBars ? (chartRect.x1 + valueAxis.projectValue(0)) : (chartRect.y1 - valueAxis.projectValue(0));
3544
+ // Used to track the screen coordinates of stacked bars
3545
+ var stackedBarValues = [];
3546
+
3547
+ labelAxis.createGridAndLabels(gridGroup, labelGroup, this.supportsForeignObject, options, this.eventEmitter);
3548
+ valueAxis.createGridAndLabels(gridGroup, labelGroup, this.supportsForeignObject, options, this.eventEmitter);
3549
+
3550
+ // Draw the series
3551
+ data.raw.series.forEach(function(series, seriesIndex) {
3552
+ // Calculating bi-polar value of index for seriesOffset. For i = 0..4 biPol will be -1.5, -0.5, 0.5, 1.5 etc.
3553
+ var biPol = seriesIndex - (data.raw.series.length - 1) / 2;
3554
+ // Half of the period width between vertical grid lines used to position bars
3555
+ var periodHalfLength;
3556
+ // Current series SVG element
3557
+ var seriesElement;
3558
+
3559
+ // We need to set periodHalfLength based on some options combinations
3560
+ if(options.distributeSeries && !options.stackBars) {
3561
+ // If distributed series are enabled but stacked bars aren't, we need to use the length of the normaizedData array
3562
+ // which is the series count and divide by 2
3563
+ periodHalfLength = labelAxis.axisLength / data.normalized.length / 2;
3564
+ } else if(options.distributeSeries && options.stackBars) {
3565
+ // If distributed series and stacked bars are enabled we'll only get one bar so we should just divide the axis
3566
+ // length by 2
3567
+ periodHalfLength = labelAxis.axisLength / 2;
3568
+ } else {
3569
+ // On regular bar charts we should just use the series length
3570
+ periodHalfLength = labelAxis.axisLength / data.normalized[seriesIndex].length / 2;
3571
+ }
3572
+
3573
+ // Adding the series group to the series element
3574
+ seriesElement = seriesGroup.elem('g');
3575
+
3576
+ // Write attributes to series group element. If series name or meta is undefined the attributes will not be written
3577
+ seriesElement.attr({
3578
+ 'series-name': series.name,
3579
+ 'meta': Chartist.serialize(series.meta)
3580
+ }, Chartist.xmlNs.uri);
3581
+
3582
+ // Use series class from series data or if not set generate one
3583
+ seriesElement.addClass([
3584
+ options.classNames.series,
3585
+ (series.className || options.classNames.series + '-' + Chartist.alphaNumerate(seriesIndex))
3586
+ ].join(' '));
3587
+
3588
+ data.normalized[seriesIndex].forEach(function(value, valueIndex) {
3589
+ var projected,
3590
+ bar,
3591
+ previousStack,
3592
+ labelAxisValueIndex;
3593
+
3594
+ // We need to set labelAxisValueIndex based on some options combinations
3595
+ if(options.distributeSeries && !options.stackBars) {
3596
+ // If distributed series are enabled but stacked bars aren't, we can use the seriesIndex for later projection
3597
+ // on the step axis for label positioning
3598
+ labelAxisValueIndex = seriesIndex;
3599
+ } else if(options.distributeSeries && options.stackBars) {
3600
+ // If distributed series and stacked bars are enabled, we will only get one bar and therefore always use
3601
+ // 0 for projection on the label step axis
3602
+ labelAxisValueIndex = 0;
3603
+ } else {
3604
+ // On regular bar charts we just use the value index to project on the label step axis
3605
+ labelAxisValueIndex = valueIndex;
3606
+ }
3607
+
3608
+ // We need to transform coordinates differently based on the chart layout
3609
+ if(options.horizontalBars) {
3610
+ projected = {
3611
+ x: chartRect.x1 + valueAxis.projectValue(value && value.x ? value.x : 0, valueIndex, data.normalized[seriesIndex]),
3612
+ y: chartRect.y1 - labelAxis.projectValue(value && value.y ? value.y : 0, labelAxisValueIndex, data.normalized[seriesIndex])
3613
+ };
3614
+ } else {
3615
+ projected = {
3616
+ x: chartRect.x1 + labelAxis.projectValue(value && value.x ? value.x : 0, labelAxisValueIndex, data.normalized[seriesIndex]),
3617
+ y: chartRect.y1 - valueAxis.projectValue(value && value.y ? value.y : 0, valueIndex, data.normalized[seriesIndex])
3618
+ }
3619
+ }
3620
+
3621
+ // If the label axis is a step based axis we will offset the bar into the middle of between two steps using
3622
+ // the periodHalfLength value. Also we do arrange the different series so that they align up to each other using
3623
+ // the seriesBarDistance. If we don't have a step axis, the bar positions can be chosen freely so we should not
3624
+ // add any automated positioning.
3625
+ if(labelAxis instanceof Chartist.StepAxis) {
3626
+ // Offset to center bar between grid lines, but only if the step axis is not stretched
3627
+ if(!labelAxis.options.stretch) {
3628
+ projected[labelAxis.units.pos] += periodHalfLength * (options.horizontalBars ? -1 : 1);
3629
+ }
3630
+ // Using bi-polar offset for multiple series if no stacked bars or series distribution is used
3631
+ projected[labelAxis.units.pos] += (options.stackBars || options.distributeSeries) ? 0 : biPol * options.seriesBarDistance * (options.horizontalBars ? -1 : 1);
3632
+ }
3633
+
3634
+ // Enter value in stacked bar values used to remember previous screen value for stacking up bars
3635
+ previousStack = stackedBarValues[valueIndex] || zeroPoint;
3636
+ stackedBarValues[valueIndex] = previousStack - (zeroPoint - projected[labelAxis.counterUnits.pos]);
3637
+
3638
+ // Skip if value is undefined
3639
+ if(value === undefined) {
3640
+ return;
3641
+ }
3642
+
3643
+ var positions = {};
3644
+ positions[labelAxis.units.pos + '1'] = projected[labelAxis.units.pos];
3645
+ positions[labelAxis.units.pos + '2'] = projected[labelAxis.units.pos];
3646
+ // If bars are stacked we use the stackedBarValues reference and otherwise base all bars off the zero line
3647
+ positions[labelAxis.counterUnits.pos + '1'] = options.stackBars ? previousStack : zeroPoint;
3648
+ positions[labelAxis.counterUnits.pos + '2'] = options.stackBars ? stackedBarValues[valueIndex] : projected[labelAxis.counterUnits.pos];
3649
+
3650
+ // Limit x and y so that they are within the chart rect
3651
+ positions.x1 = Math.min(Math.max(positions.x1, chartRect.x1), chartRect.x2);
3652
+ positions.x2 = Math.min(Math.max(positions.x2, chartRect.x1), chartRect.x2);
3653
+ positions.y1 = Math.min(Math.max(positions.y1, chartRect.y2), chartRect.y1);
3654
+ positions.y2 = Math.min(Math.max(positions.y2, chartRect.y2), chartRect.y1);
3655
+
3656
+ // Create bar element
3657
+ bar = seriesElement.elem('line', positions, options.classNames.bar).attr({
3658
+ 'value': [value.x, value.y].filter(function(v) {
3659
+ return v;
3660
+ }).join(','),
3661
+ 'meta': Chartist.getMetaData(series, valueIndex)
3662
+ }, Chartist.xmlNs.uri);
3663
+
3664
+ this.eventEmitter.emit('draw', Chartist.extend({
3665
+ type: 'bar',
3666
+ value: value,
3667
+ index: valueIndex,
3668
+ meta: Chartist.getMetaData(series, valueIndex),
3669
+ series: series,
3670
+ seriesIndex: seriesIndex,
3671
+ axisX: axisX,
3672
+ axisY: axisY,
3673
+ chartRect: chartRect,
3674
+ group: seriesElement,
3675
+ element: bar
3676
+ }, positions));
3677
+ }.bind(this));
3678
+ }.bind(this));
3679
+
3680
+ this.eventEmitter.emit('created', {
3681
+ bounds: valueAxis.bounds,
3682
+ chartRect: chartRect,
3683
+ axisX: axisX,
3684
+ axisY: axisY,
3685
+ svg: this.svg,
3686
+ options: options
3687
+ });
3688
+ }
3689
+
3690
+ /**
3691
+ * This method creates a new bar chart and returns API object that you can use for later changes.
3692
+ *
3693
+ * @memberof Chartist.Bar
3694
+ * @param {String|Node} query A selector query string or directly a DOM element
3695
+ * @param {Object} data The data object that needs to consist of a labels and a series array
3696
+ * @param {Object} [options] The options object with options that override the default options. Check the examples for a detailed list.
3697
+ * @param {Array} [responsiveOptions] Specify an array of responsive option arrays which are a media query and options object pair => [[mediaQueryString, optionsObject],[more...]]
3698
+ * @return {Object} An object which exposes the API for the created chart
3699
+ *
3700
+ * @example
3701
+ * // Create a simple bar chart
3702
+ * var data = {
3703
+ * labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'],
3704
+ * series: [
3705
+ * [5, 2, 4, 2, 0]
3706
+ * ]
3707
+ * };
3708
+ *
3709
+ * // In the global name space Chartist we call the Bar function to initialize a bar chart. As a first parameter we pass in a selector where we would like to get our chart created and as a second parameter we pass our data object.
3710
+ * new Chartist.Bar('.ct-chart', data);
3711
+ *
3712
+ * @example
3713
+ * // This example creates a bipolar grouped bar chart where the boundaries are limitted to -10 and 10
3714
+ * new Chartist.Bar('.ct-chart', {
3715
+ * labels: [1, 2, 3, 4, 5, 6, 7],
3716
+ * series: [
3717
+ * [1, 3, 2, -5, -3, 1, -6],
3718
+ * [-5, -2, -4, -1, 2, -3, 1]
3719
+ * ]
3720
+ * }, {
3721
+ * seriesBarDistance: 12,
3722
+ * low: -10,
3723
+ * high: 10
3724
+ * });
3725
+ *
3726
+ */
3727
+ function Bar(query, data, options, responsiveOptions) {
3728
+ Chartist.Bar.super.constructor.call(this,
3729
+ query,
3730
+ data,
3731
+ defaultOptions,
3732
+ Chartist.extend({}, defaultOptions, options),
3733
+ responsiveOptions);
3734
+ }
3735
+
3736
+ // Creating bar chart type in Chartist namespace
3737
+ Chartist.Bar = Chartist.Base.extend({
3738
+ constructor: Bar,
3739
+ createChart: createChart
3740
+ });
3741
+
3742
+ }(window, document, Chartist));
3743
+ ;/**
3744
+ * The pie chart module of Chartist that can be used to draw pie, donut or gauge charts
3745
+ *
3746
+ * @module Chartist.Pie
3747
+ */
3748
+ /* global Chartist */
3749
+ (function(window, document, Chartist) {
3750
+ 'use strict';
3751
+
3752
+ /**
3753
+ * Default options in line charts. Expand the code view to see a detailed list of options with comments.
3754
+ *
3755
+ * @memberof Chartist.Pie
3756
+ */
3757
+ var defaultOptions = {
3758
+ // Specify a fixed width for the chart as a string (i.e. '100px' or '50%')
3759
+ width: undefined,
3760
+ // Specify a fixed height for the chart as a string (i.e. '100px' or '50%')
3761
+ height: undefined,
3762
+ // Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5}
3763
+ chartPadding: 5,
3764
+ // Override the class names that are used to generate the SVG structure of the chart
3765
+ classNames: {
3766
+ chartPie: 'ct-chart-pie',
3767
+ chartDonut: 'ct-chart-donut',
3768
+ series: 'ct-series',
3769
+ slicePie: 'ct-slice-pie',
3770
+ sliceDonut: 'ct-slice-donut',
3771
+ label: 'ct-label'
3772
+ },
3773
+ // The start angle of the pie chart in degrees where 0 points north. A higher value offsets the start angle clockwise.
3774
+ startAngle: 0,
3775
+ // An optional total you can specify. By specifying a total value, the sum of the values in the series must be this total in order to draw a full pie. You can use this parameter to draw only parts of a pie or gauge charts.
3776
+ total: undefined,
3777
+ // If specified the donut CSS classes will be used and strokes will be drawn instead of pie slices.
3778
+ donut: false,
3779
+ // Specify the donut stroke width, currently done in javascript for convenience. May move to CSS styles in the future.
3780
+ donutWidth: 60,
3781
+ // If a label should be shown or not
3782
+ showLabel: true,
3783
+ // Label position offset from the standard position which is half distance of the radius. This value can be either positive or negative. Positive values will position the label away from the center.
3784
+ labelOffset: 0,
3785
+ // This option can be set to 'inside', 'outside' or 'center'. Positioned with 'inside' the labels will be placed on half the distance of the radius to the border of the Pie by respecting the 'labelOffset'. The 'outside' option will place the labels at the border of the pie and 'center' will place the labels in the absolute center point of the chart. The 'center' option only makes sense in conjunction with the 'labelOffset' option.
3786
+ labelPosition: 'inside',
3787
+ // An interpolation function for the label value
3788
+ labelInterpolationFnc: Chartist.noop,
3789
+ // Label direction can be 'neutral', 'explode' or 'implode'. The labels anchor will be positioned based on those settings as well as the fact if the labels are on the right or left side of the center of the chart. Usually explode is useful when labels are positioned far away from the center.
3790
+ labelDirection: 'neutral',
3791
+ // If true the whole data is reversed including labels, the series order as well as the whole series data arrays.
3792
+ reverseData: false
3793
+ };
3794
+
3795
+ /**
3796
+ * Determines SVG anchor position based on direction and center parameter
3797
+ *
3798
+ * @param center
3799
+ * @param label
3800
+ * @param direction
3801
+ * @return {string}
3802
+ */
3803
+ function determineAnchorPosition(center, label, direction) {
3804
+ var toTheRight = label.x > center.x;
3805
+
3806
+ if(toTheRight && direction === 'explode' ||
3807
+ !toTheRight && direction === 'implode') {
3808
+ return 'start';
3809
+ } else if(toTheRight && direction === 'implode' ||
3810
+ !toTheRight && direction === 'explode') {
3811
+ return 'end';
3812
+ } else {
3813
+ return 'middle';
3814
+ }
3815
+ }
3816
+
3817
+ /**
3818
+ * Creates the pie chart
3819
+ *
3820
+ * @param options
3821
+ */
3822
+ function createChart(options) {
3823
+ var seriesGroups = [],
3824
+ labelsGroup,
3825
+ chartRect,
3826
+ radius,
3827
+ labelRadius,
3828
+ totalDataSum,
3829
+ startAngle = options.startAngle,
3830
+ dataArray = Chartist.getDataArray(this.data, options.reverseData);
3831
+
3832
+ // Create SVG.js draw
3833
+ this.svg = Chartist.createSvg(this.container, options.width, options.height,options.donut ? options.classNames.chartDonut : options.classNames.chartPie);
3834
+ // Calculate charting rect
3835
+ chartRect = Chartist.createChartRect(this.svg, options, defaultOptions.padding);
3836
+ // Get biggest circle radius possible within chartRect
3837
+ radius = Math.min(chartRect.width() / 2, chartRect.height() / 2);
3838
+ // Calculate total of all series to get reference value or use total reference from optional options
3839
+ totalDataSum = options.total || dataArray.reduce(function(previousValue, currentValue) {
3840
+ return previousValue + currentValue;
3841
+ }, 0);
3842
+
3843
+ // If this is a donut chart we need to adjust our radius to enable strokes to be drawn inside
3844
+ // Unfortunately this is not possible with the current SVG Spec
3845
+ // See this proposal for more details: http://lists.w3.org/Archives/Public/www-svg/2003Oct/0000.html
3846
+ radius -= options.donut ? options.donutWidth / 2 : 0;
3847
+
3848
+ // If labelPosition is set to `outside` or a donut chart is drawn then the label position is at the radius,
3849
+ // if regular pie chart it's half of the radius
3850
+ if(options.labelPosition === 'outside' || options.donut) {
3851
+ labelRadius = radius;
3852
+ } else if(options.labelPosition === 'center') {
3853
+ // If labelPosition is center we start with 0 and will later wait for the labelOffset
3854
+ labelRadius = 0;
3855
+ } else {
3856
+ // Default option is 'inside' where we use half the radius so the label will be placed in the center of the pie
3857
+ // slice
3858
+ labelRadius = radius / 2;
3859
+ }
3860
+ // Add the offset to the labelRadius where a negative offset means closed to the center of the chart
3861
+ labelRadius += options.labelOffset;
3862
+
3863
+ // Calculate end angle based on total sum and current data value and offset with padding
3864
+ var center = {
3865
+ x: chartRect.x1 + chartRect.width() / 2,
3866
+ y: chartRect.y2 + chartRect.height() / 2
3867
+ };
3868
+
3869
+ // Check if there is only one non-zero value in the series array.
3870
+ var hasSingleValInSeries = this.data.series.filter(function(val) {
3871
+ return val.hasOwnProperty('value') ? val.value !== 0 : val !== 0;
3872
+ }).length === 1;
3873
+
3874
+ //if we need to show labels we create the label group now
3875
+ if(options.showLabel) {
3876
+ labelsGroup = this.svg.elem('g', null, null, true);
3877
+ }
3878
+
3879
+ // Draw the series
3880
+ // initialize series groups
3881
+ for (var i = 0; i < this.data.series.length; i++) {
3882
+ var series = this.data.series[i];
3883
+ seriesGroups[i] = this.svg.elem('g', null, null, true);
3884
+
3885
+ // If the series is an object and contains a name or meta data we add a custom attribute
3886
+ seriesGroups[i].attr({
3887
+ 'series-name': series.name
3888
+ }, Chartist.xmlNs.uri);
3889
+
3890
+ // Use series class from series data or if not set generate one
3891
+ seriesGroups[i].addClass([
3892
+ options.classNames.series,
3893
+ (series.className || options.classNames.series + '-' + Chartist.alphaNumerate(i))
3894
+ ].join(' '));
3895
+
3896
+ var endAngle = startAngle + dataArray[i] / totalDataSum * 360;
3897
+ // If we need to draw the arc for all 360 degrees we need to add a hack where we close the circle
3898
+ // with Z and use 359.99 degrees
3899
+ if(endAngle - startAngle === 360) {
3900
+ endAngle -= 0.01;
3901
+ }
3902
+
3903
+ var start = Chartist.polarToCartesian(center.x, center.y, radius, startAngle - (i === 0 || hasSingleValInSeries ? 0 : 0.2)),
3904
+ end = Chartist.polarToCartesian(center.x, center.y, radius, endAngle);
3905
+
3906
+ // Create a new path element for the pie chart. If this isn't a donut chart we should close the path for a correct stroke
3907
+ var path = new Chartist.Svg.Path(!options.donut)
3908
+ .move(end.x, end.y)
3909
+ .arc(radius, radius, 0, endAngle - startAngle > 180, 0, start.x, start.y);
3910
+
3911
+ // If regular pie chart (no donut) we add a line to the center of the circle for completing the pie
3912
+ if(!options.donut) {
3913
+ path.line(center.x, center.y);
3914
+ }
3915
+
3916
+ // Create the SVG path
3917
+ // If this is a donut chart we add the donut class, otherwise just a regular slice
3918
+ var pathElement = seriesGroups[i].elem('path', {
3919
+ d: path.stringify()
3920
+ }, options.donut ? options.classNames.sliceDonut : options.classNames.slicePie);
3921
+
3922
+ // Adding the pie series value to the path
3923
+ pathElement.attr({
3924
+ 'value': dataArray[i],
3925
+ 'meta': Chartist.serialize(series.meta)
3926
+ }, Chartist.xmlNs.uri);
3927
+
3928
+ // If this is a donut, we add the stroke-width as style attribute
3929
+ if(options.donut) {
3930
+ pathElement.attr({
3931
+ 'style': 'stroke-width: ' + (+options.donutWidth) + 'px'
3932
+ });
3933
+ }
3934
+
3935
+ // Fire off draw event
3936
+ this.eventEmitter.emit('draw', {
3937
+ type: 'slice',
3938
+ value: dataArray[i],
3939
+ totalDataSum: totalDataSum,
3940
+ index: i,
3941
+ meta: series.meta,
3942
+ series: series,
3943
+ group: seriesGroups[i],
3944
+ element: pathElement,
3945
+ path: path.clone(),
3946
+ center: center,
3947
+ radius: radius,
3948
+ startAngle: startAngle,
3949
+ endAngle: endAngle
3950
+ });
3951
+
3952
+ // If we need to show labels we need to add the label for this slice now
3953
+ if(options.showLabel) {
3954
+ // Position at the labelRadius distance from center and between start and end angle
3955
+ var labelPosition = Chartist.polarToCartesian(center.x, center.y, labelRadius, startAngle + (endAngle - startAngle) / 2),
3956
+ interpolatedValue = options.labelInterpolationFnc(this.data.labels ? this.data.labels[i] : dataArray[i], i);
3957
+
3958
+ if(interpolatedValue || interpolatedValue === 0) {
3959
+ var labelElement = labelsGroup.elem('text', {
3960
+ dx: labelPosition.x,
3961
+ dy: labelPosition.y,
3962
+ 'text-anchor': determineAnchorPosition(center, labelPosition, options.labelDirection)
3963
+ }, options.classNames.label).text('' + interpolatedValue);
3964
+
3965
+ // Fire off draw event
3966
+ this.eventEmitter.emit('draw', {
3967
+ type: 'label',
3968
+ index: i,
3969
+ group: labelsGroup,
3970
+ element: labelElement,
3971
+ text: '' + interpolatedValue,
3972
+ x: labelPosition.x,
3973
+ y: labelPosition.y
3974
+ });
3975
+ }
3976
+ }
3977
+
3978
+ // Set next startAngle to current endAngle. Use slight offset so there are no transparent hairline issues
3979
+ // (except for last slice)
3980
+ startAngle = endAngle;
3981
+ }
3982
+
3983
+ this.eventEmitter.emit('created', {
3984
+ chartRect: chartRect,
3985
+ svg: this.svg,
3986
+ options: options
3987
+ });
3988
+ }
3989
+
3990
+ /**
3991
+ * This method creates a new pie chart and returns an object that can be used to redraw the chart.
3992
+ *
3993
+ * @memberof Chartist.Pie
3994
+ * @param {String|Node} query A selector query string or directly a DOM element
3995
+ * @param {Object} data The data object in the pie chart needs to have a series property with a one dimensional data array. The values will be normalized against each other and don't necessarily need to be in percentage. The series property can also be an array of value objects that contain a value property and a className property to override the CSS class name for the series group.
3996
+ * @param {Object} [options] The options object with options that override the default options. Check the examples for a detailed list.
3997
+ * @param {Array} [responsiveOptions] Specify an array of responsive option arrays which are a media query and options object pair => [[mediaQueryString, optionsObject],[more...]]
3998
+ * @return {Object} An object with a version and an update method to manually redraw the chart
3999
+ *
4000
+ * @example
4001
+ * // Simple pie chart example with four series
4002
+ * new Chartist.Pie('.ct-chart', {
4003
+ * series: [10, 2, 4, 3]
4004
+ * });
4005
+ *
4006
+ * @example
4007
+ * // Drawing a donut chart
4008
+ * new Chartist.Pie('.ct-chart', {
4009
+ * series: [10, 2, 4, 3]
4010
+ * }, {
4011
+ * donut: true
4012
+ * });
4013
+ *
4014
+ * @example
4015
+ * // Using donut, startAngle and total to draw a gauge chart
4016
+ * new Chartist.Pie('.ct-chart', {
4017
+ * series: [20, 10, 30, 40]
4018
+ * }, {
4019
+ * donut: true,
4020
+ * donutWidth: 20,
4021
+ * startAngle: 270,
4022
+ * total: 200
4023
+ * });
4024
+ *
4025
+ * @example
4026
+ * // Drawing a pie chart with padding and labels that are outside the pie
4027
+ * new Chartist.Pie('.ct-chart', {
4028
+ * series: [20, 10, 30, 40]
4029
+ * }, {
4030
+ * chartPadding: 30,
4031
+ * labelOffset: 50,
4032
+ * labelDirection: 'explode'
4033
+ * });
4034
+ *
4035
+ * @example
4036
+ * // Overriding the class names for individual series as well as a name and meta data.
4037
+ * // The name will be written as ct:series-name attribute and the meta data will be serialized and written
4038
+ * // to a ct:meta attribute.
4039
+ * new Chartist.Pie('.ct-chart', {
4040
+ * series: [{
4041
+ * value: 20,
4042
+ * name: 'Series 1',
4043
+ * className: 'my-custom-class-one',
4044
+ * meta: 'Meta One'
4045
+ * }, {
4046
+ * value: 10,
4047
+ * name: 'Series 2',
4048
+ * className: 'my-custom-class-two',
4049
+ * meta: 'Meta Two'
4050
+ * }, {
4051
+ * value: 70,
4052
+ * name: 'Series 3',
4053
+ * className: 'my-custom-class-three',
4054
+ * meta: 'Meta Three'
4055
+ * }]
4056
+ * });
4057
+ */
4058
+ function Pie(query, data, options, responsiveOptions) {
4059
+ Chartist.Pie.super.constructor.call(this,
4060
+ query,
4061
+ data,
4062
+ defaultOptions,
4063
+ Chartist.extend({}, defaultOptions, options),
4064
+ responsiveOptions);
4065
+ }
4066
+
4067
+ // Creating pie chart type in Chartist namespace
4068
+ Chartist.Pie = Chartist.Base.extend({
4069
+ constructor: Pie,
4070
+ createChart: createChart,
4071
+ determineAnchorPosition: determineAnchorPosition
4072
+ });
4073
+
4074
+ }(window, document, Chartist));
4075
+
4076
+ return Chartist;
4077
+
4078
+ }));