ext_sprockets 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (505) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +114 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +21 -0
  5. data/Gemfile.lock +77 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +3 -0
  8. data/bin/yarn +12 -0
  9. data/ext_sprockets.gemspec +22 -0
  10. data/lib/ext_sprockets.rb +5 -0
  11. data/lib/ext_sprockets/engine.rb +11 -0
  12. data/lib/ext_sprockets/version.rb +3 -0
  13. data/node_modules/.yarn-integrity +60 -0
  14. data/node_modules/bootswatch/cerulean/_bootswatch.scss +131 -0
  15. data/node_modules/bootswatch/cerulean/_variables.scss +870 -0
  16. data/node_modules/bootswatch/cosmo/_bootswatch.scss +262 -0
  17. data/node_modules/bootswatch/cosmo/_variables.scss +870 -0
  18. data/node_modules/bootswatch/cyborg/_bootswatch.scss +243 -0
  19. data/node_modules/bootswatch/cyborg/_variables.scss +870 -0
  20. data/node_modules/bootswatch/darkly/_bootswatch.scss +351 -0
  21. data/node_modules/bootswatch/darkly/_variables.scss +870 -0
  22. data/node_modules/bootswatch/flatly/_bootswatch.scss +330 -0
  23. data/node_modules/bootswatch/flatly/_variables.scss +870 -0
  24. data/node_modules/bootswatch/journal/_bootswatch.scss +145 -0
  25. data/node_modules/bootswatch/journal/_variables.scss +870 -0
  26. data/node_modules/bootswatch/lumen/_bootswatch.scss +523 -0
  27. data/node_modules/bootswatch/lumen/_variables.scss +870 -0
  28. data/node_modules/bootswatch/package.json +26 -0
  29. data/node_modules/bootswatch/paper/_bootswatch.scss +620 -0
  30. data/node_modules/bootswatch/paper/_variables.scss +870 -0
  31. data/node_modules/bootswatch/readable/_bootswatch.scss +183 -0
  32. data/node_modules/bootswatch/readable/_variables.scss +870 -0
  33. data/node_modules/bootswatch/sandstone/_bootswatch.scss +196 -0
  34. data/node_modules/bootswatch/sandstone/_variables.scss +870 -0
  35. data/node_modules/bootswatch/simplex/_bootswatch.scss +170 -0
  36. data/node_modules/bootswatch/simplex/_variables.scss +870 -0
  37. data/node_modules/bootswatch/slate/_bootswatch.scss +448 -0
  38. data/node_modules/bootswatch/slate/_variables.scss +870 -0
  39. data/node_modules/bootswatch/spacelab/_bootswatch.scss +142 -0
  40. data/node_modules/bootswatch/spacelab/_variables.scss +870 -0
  41. data/node_modules/bootswatch/superhero/_bootswatch.scss +360 -0
  42. data/node_modules/bootswatch/superhero/_variables.scss +870 -0
  43. data/node_modules/bootswatch/united/_bootswatch.scss +56 -0
  44. data/node_modules/bootswatch/united/_variables.scss +870 -0
  45. data/node_modules/bootswatch/yeti/_bootswatch.scss +445 -0
  46. data/node_modules/bootswatch/yeti/_variables.scss +870 -0
  47. data/node_modules/chart.js/dist/Chart.bundle.js +18608 -0
  48. data/node_modules/chart.js/dist/Chart.js +14145 -0
  49. data/node_modules/chart.js/package.json +54 -0
  50. data/node_modules/chartkick/chartkick.js +1866 -0
  51. data/node_modules/chartkick/package.json +25 -0
  52. data/node_modules/eonasdan-bootstrap-datetimepicker/package.json +51 -0
  53. data/node_modules/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2636 -0
  54. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +344 -0
  55. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
  56. data/node_modules/file-saver/FileSaver.js +188 -0
  57. data/node_modules/file-saver/package.json +28 -0
  58. data/node_modules/jquery-pjax/jquery.pjax.js +903 -0
  59. data/node_modules/jquery-pjax/package.json +18 -0
  60. data/node_modules/jquery-ui/package.json +74 -0
  61. data/node_modules/jquery-ui/themes/base/accordion.css +23 -0
  62. data/node_modules/jquery-ui/themes/base/all.css +12 -0
  63. data/node_modules/jquery-ui/themes/base/autocomplete.css +16 -0
  64. data/node_modules/jquery-ui/themes/base/base.css +30 -0
  65. data/node_modules/jquery-ui/themes/base/button.css +82 -0
  66. data/node_modules/jquery-ui/themes/base/checkboxradio.css +34 -0
  67. data/node_modules/jquery-ui/themes/base/controlgroup.css +65 -0
  68. data/node_modules/jquery-ui/themes/base/core.css +97 -0
  69. data/node_modules/jquery-ui/themes/base/datepicker.css +185 -0
  70. data/node_modules/jquery-ui/themes/base/dialog.css +101 -0
  71. data/node_modules/jquery-ui/themes/base/draggable.css +12 -0
  72. data/node_modules/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  73. data/node_modules/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  74. data/node_modules/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  75. data/node_modules/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  76. data/node_modules/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  77. data/node_modules/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  78. data/node_modules/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  79. data/node_modules/jquery-ui/themes/base/menu.css +64 -0
  80. data/node_modules/jquery-ui/themes/base/progressbar.css +28 -0
  81. data/node_modules/jquery-ui/themes/base/resizable.css +78 -0
  82. data/node_modules/jquery-ui/themes/base/selectable.css +17 -0
  83. data/node_modules/jquery-ui/themes/base/selectmenu.css +50 -0
  84. data/node_modules/jquery-ui/themes/base/slider.css +75 -0
  85. data/node_modules/jquery-ui/themes/base/sortable.css +12 -0
  86. data/node_modules/jquery-ui/themes/base/spinner.css +52 -0
  87. data/node_modules/jquery-ui/themes/base/tabs.css +51 -0
  88. data/node_modules/jquery-ui/themes/base/theme.css +443 -0
  89. data/node_modules/jquery-ui/themes/base/tooltip.css +19 -0
  90. data/node_modules/jquery-ui/ui/core.js +21 -0
  91. data/node_modules/jquery-ui/ui/data.js +39 -0
  92. data/node_modules/jquery-ui/ui/disable-selection.js +46 -0
  93. data/node_modules/jquery-ui/ui/effect.js +1635 -0
  94. data/node_modules/jquery-ui/ui/effects/effect-blind.js +70 -0
  95. data/node_modules/jquery-ui/ui/effects/effect-bounce.js +110 -0
  96. data/node_modules/jquery-ui/ui/effects/effect-clip.js +65 -0
  97. data/node_modules/jquery-ui/ui/effects/effect-drop.js +69 -0
  98. data/node_modules/jquery-ui/ui/effects/effect-explode.js +111 -0
  99. data/node_modules/jquery-ui/ui/effects/effect-fade.js +47 -0
  100. data/node_modules/jquery-ui/ui/effects/effect-fold.js +89 -0
  101. data/node_modules/jquery-ui/ui/effects/effect-highlight.js +57 -0
  102. data/node_modules/jquery-ui/ui/effects/effect-puff.js +42 -0
  103. data/node_modules/jquery-ui/ui/effects/effect-pulsate.js +64 -0
  104. data/node_modules/jquery-ui/ui/effects/effect-scale.js +56 -0
  105. data/node_modules/jquery-ui/ui/effects/effect-shake.js +74 -0
  106. data/node_modules/jquery-ui/ui/effects/effect-size.js +191 -0
  107. data/node_modules/jquery-ui/ui/effects/effect-slide.js +76 -0
  108. data/node_modules/jquery-ui/ui/effects/effect-transfer.js +40 -0
  109. data/node_modules/jquery-ui/ui/escape-selector.js +21 -0
  110. data/node_modules/jquery-ui/ui/focusable.js +84 -0
  111. data/node_modules/jquery-ui/ui/form-reset-mixin.js +77 -0
  112. data/node_modules/jquery-ui/ui/form.js +20 -0
  113. data/node_modules/jquery-ui/ui/i18n/datepicker-af.js +37 -0
  114. data/node_modules/jquery-ui/ui/i18n/datepicker-ar-DZ.js +39 -0
  115. data/node_modules/jquery-ui/ui/i18n/datepicker-ar.js +39 -0
  116. data/node_modules/jquery-ui/ui/i18n/datepicker-az.js +37 -0
  117. data/node_modules/jquery-ui/ui/i18n/datepicker-be.js +37 -0
  118. data/node_modules/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
  119. data/node_modules/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
  120. data/node_modules/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
  121. data/node_modules/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
  122. data/node_modules/jquery-ui/ui/i18n/datepicker-cy-GB.js +45 -0
  123. data/node_modules/jquery-ui/ui/i18n/datepicker-da.js +37 -0
  124. data/node_modules/jquery-ui/ui/i18n/datepicker-de.js +37 -0
  125. data/node_modules/jquery-ui/ui/i18n/datepicker-el.js +37 -0
  126. data/node_modules/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
  127. data/node_modules/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
  128. data/node_modules/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
  129. data/node_modules/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
  130. data/node_modules/jquery-ui/ui/i18n/datepicker-es.js +37 -0
  131. data/node_modules/jquery-ui/ui/i18n/datepicker-et.js +45 -0
  132. data/node_modules/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
  133. data/node_modules/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
  134. data/node_modules/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
  135. data/node_modules/jquery-ui/ui/i18n/datepicker-fo.js +45 -0
  136. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
  137. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
  138. data/node_modules/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
  139. data/node_modules/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
  140. data/node_modules/jquery-ui/ui/i18n/datepicker-he.js +37 -0
  141. data/node_modules/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
  142. data/node_modules/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
  143. data/node_modules/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
  144. data/node_modules/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
  145. data/node_modules/jquery-ui/ui/i18n/datepicker-id.js +37 -0
  146. data/node_modules/jquery-ui/ui/i18n/datepicker-is.js +45 -0
  147. data/node_modules/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
  148. data/node_modules/jquery-ui/ui/i18n/datepicker-it.js +37 -0
  149. data/node_modules/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
  150. data/node_modules/jquery-ui/ui/i18n/datepicker-ka.js +48 -0
  151. data/node_modules/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
  152. data/node_modules/jquery-ui/ui/i18n/datepicker-km.js +37 -0
  153. data/node_modules/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
  154. data/node_modules/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
  155. data/node_modules/jquery-ui/ui/i18n/datepicker-lb.js +45 -0
  156. data/node_modules/jquery-ui/ui/i18n/datepicker-lt.js +45 -0
  157. data/node_modules/jquery-ui/ui/i18n/datepicker-lv.js +45 -0
  158. data/node_modules/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
  159. data/node_modules/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
  160. data/node_modules/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
  161. data/node_modules/jquery-ui/ui/i18n/datepicker-nb.js +49 -0
  162. data/node_modules/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
  163. data/node_modules/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
  164. data/node_modules/jquery-ui/ui/i18n/datepicker-nn.js +49 -0
  165. data/node_modules/jquery-ui/ui/i18n/datepicker-no.js +50 -0
  166. data/node_modules/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
  167. data/node_modules/jquery-ui/ui/i18n/datepicker-pt-BR.js +45 -0
  168. data/node_modules/jquery-ui/ui/i18n/datepicker-pt.js +44 -0
  169. data/node_modules/jquery-ui/ui/i18n/datepicker-rm.js +61 -0
  170. data/node_modules/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
  171. data/node_modules/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
  172. data/node_modules/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
  173. data/node_modules/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
  174. data/node_modules/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
  175. data/node_modules/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
  176. data/node_modules/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
  177. data/node_modules/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
  178. data/node_modules/jquery-ui/ui/i18n/datepicker-ta.js +53 -0
  179. data/node_modules/jquery-ui/ui/i18n/datepicker-th.js +37 -0
  180. data/node_modules/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
  181. data/node_modules/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
  182. data/node_modules/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
  183. data/node_modules/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
  184. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
  185. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
  186. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
  187. data/node_modules/jquery-ui/ui/ie.js +15 -0
  188. data/node_modules/jquery-ui/ui/jquery-1-7.js +89 -0
  189. data/node_modules/jquery-ui/ui/keycode.js +45 -0
  190. data/node_modules/jquery-ui/ui/labels.js +62 -0
  191. data/node_modules/jquery-ui/ui/plugin.js +44 -0
  192. data/node_modules/jquery-ui/ui/position.js +498 -0
  193. data/node_modules/jquery-ui/ui/safe-active-element.js +40 -0
  194. data/node_modules/jquery-ui/ui/safe-blur.js +21 -0
  195. data/node_modules/jquery-ui/ui/scroll-parent.js +45 -0
  196. data/node_modules/jquery-ui/ui/tabbable.js +35 -0
  197. data/node_modules/jquery-ui/ui/unique-id.js +49 -0
  198. data/node_modules/jquery-ui/ui/version.js +17 -0
  199. data/node_modules/jquery-ui/ui/widget.js +733 -0
  200. data/node_modules/jquery-ui/ui/widgets/accordion.js +613 -0
  201. data/node_modules/jquery-ui/ui/widgets/autocomplete.js +682 -0
  202. data/node_modules/jquery-ui/ui/widgets/button.js +386 -0
  203. data/node_modules/jquery-ui/ui/widgets/checkboxradio.js +286 -0
  204. data/node_modules/jquery-ui/ui/widgets/controlgroup.js +298 -0
  205. data/node_modules/jquery-ui/ui/widgets/datepicker.js +2120 -0
  206. data/node_modules/jquery-ui/ui/widgets/dialog.js +940 -0
  207. data/node_modules/jquery-ui/ui/widgets/draggable.js +1250 -0
  208. data/node_modules/jquery-ui/ui/widgets/droppable.js +497 -0
  209. data/node_modules/jquery-ui/ui/widgets/menu.js +673 -0
  210. data/node_modules/jquery-ui/ui/widgets/mouse.js +226 -0
  211. data/node_modules/jquery-ui/ui/widgets/progressbar.js +178 -0
  212. data/node_modules/jquery-ui/ui/widgets/resizable.js +1201 -0
  213. data/node_modules/jquery-ui/ui/widgets/selectable.js +310 -0
  214. data/node_modules/jquery-ui/ui/widgets/selectmenu.js +687 -0
  215. data/node_modules/jquery-ui/ui/widgets/slider.js +752 -0
  216. data/node_modules/jquery-ui/ui/widgets/sortable.js +1554 -0
  217. data/node_modules/jquery-ui/ui/widgets/spinner.js +575 -0
  218. data/node_modules/jquery-ui/ui/widgets/tabs.js +924 -0
  219. data/node_modules/jquery-ui/ui/widgets/tooltip.js +520 -0
  220. data/node_modules/jquery-ujs/package.json +26 -0
  221. data/node_modules/jquery-ujs/src/rails.js +555 -0
  222. data/node_modules/jquery/dist/jquery.js +10253 -0
  223. data/node_modules/jquery/dist/jquery.slim.js +8160 -0
  224. data/node_modules/jquery/package.json +97 -0
  225. data/node_modules/js-cookie/package.json +49 -0
  226. data/node_modules/js-cookie/src/js.cookie.js +165 -0
  227. data/node_modules/jstz/dist/jstz.js +1428 -0
  228. data/node_modules/jstz/package.json +57 -0
  229. data/node_modules/lodash/core.js +3836 -0
  230. data/node_modules/lodash/lodash.js +17084 -0
  231. data/node_modules/lodash/package.json +17 -0
  232. data/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +1204 -0
  233. data/node_modules/moment-timezone/builds/moment-timezone-with-data.js +1204 -0
  234. data/node_modules/moment-timezone/moment-timezone-utils.js +316 -0
  235. data/node_modules/moment-timezone/moment-timezone.js +605 -0
  236. data/node_modules/moment-timezone/package.json +50 -0
  237. data/node_modules/moment/locale/af.js +74 -0
  238. data/node_modules/moment/locale/ar-dz.js +60 -0
  239. data/node_modules/moment/locale/ar-kw.js +60 -0
  240. data/node_modules/moment/locale/ar-ly.js +127 -0
  241. data/node_modules/moment/locale/ar-ma.js +61 -0
  242. data/node_modules/moment/locale/ar-sa.js +106 -0
  243. data/node_modules/moment/locale/ar-tn.js +60 -0
  244. data/node_modules/moment/locale/ar.js +143 -0
  245. data/node_modules/moment/locale/az.js +106 -0
  246. data/node_modules/moment/locale/be.js +135 -0
  247. data/node_modules/moment/locale/bg.js +91 -0
  248. data/node_modules/moment/locale/bm.js +60 -0
  249. data/node_modules/moment/locale/bn.js +120 -0
  250. data/node_modules/moment/locale/bo.js +120 -0
  251. data/node_modules/moment/locale/br.js +109 -0
  252. data/node_modules/moment/locale/bs.js +153 -0
  253. data/node_modules/moment/locale/ca.js +89 -0
  254. data/node_modules/moment/locale/cs.js +180 -0
  255. data/node_modules/moment/locale/cv.js +64 -0
  256. data/node_modules/moment/locale/cy.js +82 -0
  257. data/node_modules/moment/locale/da.js +61 -0
  258. data/node_modules/moment/locale/de-at.js +80 -0
  259. data/node_modules/moment/locale/de-ch.js +79 -0
  260. data/node_modules/moment/locale/de.js +79 -0
  261. data/node_modules/moment/locale/dv.js +101 -0
  262. data/node_modules/moment/locale/el.js +101 -0
  263. data/node_modules/moment/locale/en-au.js +68 -0
  264. data/node_modules/moment/locale/en-ca.js +64 -0
  265. data/node_modules/moment/locale/en-gb.js +68 -0
  266. data/node_modules/moment/locale/en-ie.js +68 -0
  267. data/node_modules/moment/locale/en-nz.js +68 -0
  268. data/node_modules/moment/locale/eo.js +74 -0
  269. data/node_modules/moment/locale/es-do.js +92 -0
  270. data/node_modules/moment/locale/es-us.js +84 -0
  271. data/node_modules/moment/locale/es.js +93 -0
  272. data/node_modules/moment/locale/et.js +82 -0
  273. data/node_modules/moment/locale/eu.js +67 -0
  274. data/node_modules/moment/locale/fa.js +108 -0
  275. data/node_modules/moment/locale/fi.js +110 -0
  276. data/node_modules/moment/locale/fo.js +61 -0
  277. data/node_modules/moment/locale/fr-ca.js +75 -0
  278. data/node_modules/moment/locale/fr-ch.js +79 -0
  279. data/node_modules/moment/locale/fr.js +84 -0
  280. data/node_modules/moment/locale/fy.js +76 -0
  281. data/node_modules/moment/locale/gd.js +77 -0
  282. data/node_modules/moment/locale/gl.js +78 -0
  283. data/node_modules/moment/locale/gom-latn.js +124 -0
  284. data/node_modules/moment/locale/gu.js +125 -0
  285. data/node_modules/moment/locale/he.js +100 -0
  286. data/node_modules/moment/locale/hi.js +125 -0
  287. data/node_modules/moment/locale/hr.js +155 -0
  288. data/node_modules/moment/locale/hu.js +111 -0
  289. data/node_modules/moment/locale/hy-am.js +96 -0
  290. data/node_modules/moment/locale/id.js +84 -0
  291. data/node_modules/moment/locale/is.js +133 -0
  292. data/node_modules/moment/locale/it.js +71 -0
  293. data/node_modules/moment/locale/ja.js +81 -0
  294. data/node_modules/moment/locale/jv.js +84 -0
  295. data/node_modules/moment/locale/ka.js +90 -0
  296. data/node_modules/moment/locale/kk.js +88 -0
  297. data/node_modules/moment/locale/km.js +59 -0
  298. data/node_modules/moment/locale/kn.js +127 -0
  299. data/node_modules/moment/locale/ko.js +83 -0
  300. data/node_modules/moment/locale/ky.js +89 -0
  301. data/node_modules/moment/locale/lb.js +138 -0
  302. data/node_modules/moment/locale/lo.js +71 -0
  303. data/node_modules/moment/locale/lt.js +119 -0
  304. data/node_modules/moment/locale/lv.js +99 -0
  305. data/node_modules/moment/locale/me.js +113 -0
  306. data/node_modules/moment/locale/mi.js +65 -0
  307. data/node_modules/moment/locale/mk.js +91 -0
  308. data/node_modules/moment/locale/ml.js +82 -0
  309. data/node_modules/moment/locale/mr.js +162 -0
  310. data/node_modules/moment/locale/ms-my.js +84 -0
  311. data/node_modules/moment/locale/ms.js +83 -0
  312. data/node_modules/moment/locale/mt.js +61 -0
  313. data/node_modules/moment/locale/my.js +97 -0
  314. data/node_modules/moment/locale/nb.js +64 -0
  315. data/node_modules/moment/locale/ne.js +124 -0
  316. data/node_modules/moment/locale/nl-be.js +89 -0
  317. data/node_modules/moment/locale/nl.js +89 -0
  318. data/node_modules/moment/locale/nn.js +61 -0
  319. data/node_modules/moment/locale/pa-in.js +125 -0
  320. data/node_modules/moment/locale/pl.js +127 -0
  321. data/node_modules/moment/locale/pt-br.js +62 -0
  322. data/node_modules/moment/locale/pt.js +66 -0
  323. data/node_modules/moment/locale/ro.js +77 -0
  324. data/node_modules/moment/locale/ru.js +185 -0
  325. data/node_modules/moment/locale/sd.js +99 -0
  326. data/node_modules/moment/locale/se.js +62 -0
  327. data/node_modules/moment/locale/si.js +72 -0
  328. data/node_modules/moment/locale/sk.js +158 -0
  329. data/node_modules/moment/locale/sl.js +174 -0
  330. data/node_modules/moment/locale/sq.js +71 -0
  331. data/node_modules/moment/locale/sr-cyrl.js +112 -0
  332. data/node_modules/moment/locale/sr.js +112 -0
  333. data/node_modules/moment/locale/ss.js +90 -0
  334. data/node_modules/moment/locale/sv.js +70 -0
  335. data/node_modules/moment/locale/sw.js +60 -0
  336. data/node_modules/moment/locale/ta.js +131 -0
  337. data/node_modules/moment/locale/te.js +90 -0
  338. data/node_modules/moment/locale/tet.js +69 -0
  339. data/node_modules/moment/locale/th.js +68 -0
  340. data/node_modules/moment/locale/tl-ph.js +63 -0
  341. data/node_modules/moment/locale/tlh.js +123 -0
  342. data/node_modules/moment/locale/tr.js +91 -0
  343. data/node_modules/moment/locale/tzl.js +93 -0
  344. data/node_modules/moment/locale/tzm-latn.js +59 -0
  345. data/node_modules/moment/locale/tzm.js +59 -0
  346. data/node_modules/moment/locale/uk.js +153 -0
  347. data/node_modules/moment/locale/ur.js +100 -0
  348. data/node_modules/moment/locale/uz-latn.js +59 -0
  349. data/node_modules/moment/locale/uz.js +59 -0
  350. data/node_modules/moment/locale/vi.js +80 -0
  351. data/node_modules/moment/locale/x-pseudo.js +69 -0
  352. data/node_modules/moment/locale/yo.js +61 -0
  353. data/node_modules/moment/locale/zh-cn.js +112 -0
  354. data/node_modules/moment/locale/zh-hk.js +106 -0
  355. data/node_modules/moment/locale/zh-tw.js +105 -0
  356. data/node_modules/moment/min/locales.js +9769 -0
  357. data/node_modules/moment/min/moment-with-locales.js +14289 -0
  358. data/node_modules/moment/moment.js +4535 -0
  359. data/node_modules/moment/package.json +99 -0
  360. data/node_modules/nprogress/nprogress.css +74 -0
  361. data/node_modules/nprogress/nprogress.js +480 -0
  362. data/node_modules/nprogress/package.json +47 -0
  363. data/node_modules/nprogress/support/extras.css +4 -0
  364. data/node_modules/roboto-fontface/css/mixins.scss +36 -0
  365. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold-italic.scss +3 -0
  366. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold.scss +3 -0
  367. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light-italic.scss +3 -0
  368. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light.scss +3 -0
  369. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular-italic.scss +3 -0
  370. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular.scss +3 -0
  371. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface.scss +6 -0
  372. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-bold.scss +3 -0
  373. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-light.scss +3 -0
  374. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-regular.scss +3 -0
  375. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-thin.scss +3 -0
  376. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface.scss +4 -0
  377. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black-italic.scss +3 -0
  378. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black.scss +3 -0
  379. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold-italic.scss +3 -0
  380. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold.scss +3 -0
  381. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light-italic.scss +3 -0
  382. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light.scss +3 -0
  383. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium-italic.scss +3 -0
  384. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium.scss +3 -0
  385. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular-italic.scss +3 -0
  386. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular.scss +3 -0
  387. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin-italic.scss +3 -0
  388. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin.scss +3 -0
  389. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface.scss +12 -0
  390. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.eot +0 -0
  391. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.svg +643 -0
  392. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.ttf +0 -0
  393. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff +0 -0
  394. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff2 +0 -0
  395. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.eot +0 -0
  396. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.svg +643 -0
  397. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.ttf +0 -0
  398. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff +0 -0
  399. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff2 +0 -0
  400. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.eot +0 -0
  401. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.svg +643 -0
  402. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.ttf +0 -0
  403. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff +0 -0
  404. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff2 +0 -0
  405. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.eot +0 -0
  406. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.svg +643 -0
  407. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.ttf +0 -0
  408. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff +0 -0
  409. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff2 +0 -0
  410. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.eot +0 -0
  411. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.svg +644 -0
  412. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.ttf +0 -0
  413. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff +0 -0
  414. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2 +0 -0
  415. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.eot +0 -0
  416. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.svg +644 -0
  417. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.ttf +0 -0
  418. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff +0 -0
  419. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff2 +0 -0
  420. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.eot +0 -0
  421. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.svg +679 -0
  422. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.ttf +0 -0
  423. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff +0 -0
  424. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff2 +0 -0
  425. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.eot +0 -0
  426. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.svg +678 -0
  427. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.ttf +0 -0
  428. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff +0 -0
  429. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff2 +0 -0
  430. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.eot +0 -0
  431. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.svg +678 -0
  432. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.ttf +0 -0
  433. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff +0 -0
  434. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff2 +0 -0
  435. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.eot +0 -0
  436. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.svg +678 -0
  437. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.ttf +0 -0
  438. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff +0 -0
  439. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff2 +0 -0
  440. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.eot +0 -0
  441. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.svg +10968 -0
  442. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.ttf +0 -0
  443. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff +0 -0
  444. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff2 +0 -0
  445. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.eot +0 -0
  446. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.svg +11086 -0
  447. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
  448. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff +0 -0
  449. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff2 +0 -0
  450. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.eot +0 -0
  451. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.svg +11010 -0
  452. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.ttf +0 -0
  453. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff +0 -0
  454. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff2 +0 -0
  455. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.eot +0 -0
  456. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.svg +11096 -0
  457. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
  458. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff +0 -0
  459. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff2 +0 -0
  460. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.eot +0 -0
  461. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.svg +10564 -0
  462. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.ttf +0 -0
  463. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff +0 -0
  464. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff2 +0 -0
  465. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.eot +0 -0
  466. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.svg +10646 -0
  467. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.ttf +0 -0
  468. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff +0 -0
  469. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff2 +0 -0
  470. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.eot +0 -0
  471. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.svg +10999 -0
  472. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.ttf +0 -0
  473. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff +0 -0
  474. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff2 +0 -0
  475. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.eot +0 -0
  476. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.svg +11100 -0
  477. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
  478. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff +0 -0
  479. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff2 +0 -0
  480. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.eot +0 -0
  481. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.svg +10520 -0
  482. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.ttf +0 -0
  483. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff +0 -0
  484. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff2 +0 -0
  485. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.eot +0 -0
  486. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.svg +10629 -0
  487. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.ttf +0 -0
  488. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff +0 -0
  489. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff2 +0 -0
  490. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.eot +0 -0
  491. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.svg +10617 -0
  492. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.ttf +0 -0
  493. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff +0 -0
  494. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff2 +0 -0
  495. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.eot +0 -0
  496. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.svg +10726 -0
  497. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
  498. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff +0 -0
  499. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff2 +0 -0
  500. data/node_modules/roboto-fontface/package.json +28 -0
  501. data/node_modules/signature_pad/dist/signature_pad.js +610 -0
  502. data/node_modules/signature_pad/package.json +41 -0
  503. data/package.json +23 -0
  504. data/yarn.lock +118 -0
  505. metadata +575 -0
@@ -0,0 +1,752 @@
1
+ /*!
2
+ * jQuery UI Slider 1.12.1
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ */
9
+
10
+ //>>label: Slider
11
+ //>>group: Widgets
12
+ //>>description: Displays a flexible slider with ranges and accessibility via keyboard.
13
+ //>>docs: http://api.jqueryui.com/slider/
14
+ //>>demos: http://jqueryui.com/slider/
15
+ //>>css.structure: ../../themes/base/core.css
16
+ //>>css.structure: ../../themes/base/slider.css
17
+ //>>css.theme: ../../themes/base/theme.css
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "./mouse",
26
+ "../keycode",
27
+ "../version",
28
+ "../widget"
29
+ ], factory );
30
+ } else {
31
+
32
+ // Browser globals
33
+ factory( jQuery );
34
+ }
35
+ }( function( $ ) {
36
+
37
+ return $.widget( "ui.slider", $.ui.mouse, {
38
+ version: "1.12.1",
39
+ widgetEventPrefix: "slide",
40
+
41
+ options: {
42
+ animate: false,
43
+ classes: {
44
+ "ui-slider": "ui-corner-all",
45
+ "ui-slider-handle": "ui-corner-all",
46
+
47
+ // Note: ui-widget-header isn't the most fittingly semantic framework class for this
48
+ // element, but worked best visually with a variety of themes
49
+ "ui-slider-range": "ui-corner-all ui-widget-header"
50
+ },
51
+ distance: 0,
52
+ max: 100,
53
+ min: 0,
54
+ orientation: "horizontal",
55
+ range: false,
56
+ step: 1,
57
+ value: 0,
58
+ values: null,
59
+
60
+ // Callbacks
61
+ change: null,
62
+ slide: null,
63
+ start: null,
64
+ stop: null
65
+ },
66
+
67
+ // Number of pages in a slider
68
+ // (how many times can you page up/down to go through the whole range)
69
+ numPages: 5,
70
+
71
+ _create: function() {
72
+ this._keySliding = false;
73
+ this._mouseSliding = false;
74
+ this._animateOff = true;
75
+ this._handleIndex = null;
76
+ this._detectOrientation();
77
+ this._mouseInit();
78
+ this._calculateNewMax();
79
+
80
+ this._addClass( "ui-slider ui-slider-" + this.orientation,
81
+ "ui-widget ui-widget-content" );
82
+
83
+ this._refresh();
84
+
85
+ this._animateOff = false;
86
+ },
87
+
88
+ _refresh: function() {
89
+ this._createRange();
90
+ this._createHandles();
91
+ this._setupEvents();
92
+ this._refreshValue();
93
+ },
94
+
95
+ _createHandles: function() {
96
+ var i, handleCount,
97
+ options = this.options,
98
+ existingHandles = this.element.find( ".ui-slider-handle" ),
99
+ handle = "<span tabindex='0'></span>",
100
+ handles = [];
101
+
102
+ handleCount = ( options.values && options.values.length ) || 1;
103
+
104
+ if ( existingHandles.length > handleCount ) {
105
+ existingHandles.slice( handleCount ).remove();
106
+ existingHandles = existingHandles.slice( 0, handleCount );
107
+ }
108
+
109
+ for ( i = existingHandles.length; i < handleCount; i++ ) {
110
+ handles.push( handle );
111
+ }
112
+
113
+ this.handles = existingHandles.add( $( handles.join( "" ) ).appendTo( this.element ) );
114
+
115
+ this._addClass( this.handles, "ui-slider-handle", "ui-state-default" );
116
+
117
+ this.handle = this.handles.eq( 0 );
118
+
119
+ this.handles.each( function( i ) {
120
+ $( this )
121
+ .data( "ui-slider-handle-index", i )
122
+ .attr( "tabIndex", 0 );
123
+ } );
124
+ },
125
+
126
+ _createRange: function() {
127
+ var options = this.options;
128
+
129
+ if ( options.range ) {
130
+ if ( options.range === true ) {
131
+ if ( !options.values ) {
132
+ options.values = [ this._valueMin(), this._valueMin() ];
133
+ } else if ( options.values.length && options.values.length !== 2 ) {
134
+ options.values = [ options.values[ 0 ], options.values[ 0 ] ];
135
+ } else if ( $.isArray( options.values ) ) {
136
+ options.values = options.values.slice( 0 );
137
+ }
138
+ }
139
+
140
+ if ( !this.range || !this.range.length ) {
141
+ this.range = $( "<div>" )
142
+ .appendTo( this.element );
143
+
144
+ this._addClass( this.range, "ui-slider-range" );
145
+ } else {
146
+ this._removeClass( this.range, "ui-slider-range-min ui-slider-range-max" );
147
+
148
+ // Handle range switching from true to min/max
149
+ this.range.css( {
150
+ "left": "",
151
+ "bottom": ""
152
+ } );
153
+ }
154
+ if ( options.range === "min" || options.range === "max" ) {
155
+ this._addClass( this.range, "ui-slider-range-" + options.range );
156
+ }
157
+ } else {
158
+ if ( this.range ) {
159
+ this.range.remove();
160
+ }
161
+ this.range = null;
162
+ }
163
+ },
164
+
165
+ _setupEvents: function() {
166
+ this._off( this.handles );
167
+ this._on( this.handles, this._handleEvents );
168
+ this._hoverable( this.handles );
169
+ this._focusable( this.handles );
170
+ },
171
+
172
+ _destroy: function() {
173
+ this.handles.remove();
174
+ if ( this.range ) {
175
+ this.range.remove();
176
+ }
177
+
178
+ this._mouseDestroy();
179
+ },
180
+
181
+ _mouseCapture: function( event ) {
182
+ var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,
183
+ that = this,
184
+ o = this.options;
185
+
186
+ if ( o.disabled ) {
187
+ return false;
188
+ }
189
+
190
+ this.elementSize = {
191
+ width: this.element.outerWidth(),
192
+ height: this.element.outerHeight()
193
+ };
194
+ this.elementOffset = this.element.offset();
195
+
196
+ position = { x: event.pageX, y: event.pageY };
197
+ normValue = this._normValueFromMouse( position );
198
+ distance = this._valueMax() - this._valueMin() + 1;
199
+ this.handles.each( function( i ) {
200
+ var thisDistance = Math.abs( normValue - that.values( i ) );
201
+ if ( ( distance > thisDistance ) ||
202
+ ( distance === thisDistance &&
203
+ ( i === that._lastChangedValue || that.values( i ) === o.min ) ) ) {
204
+ distance = thisDistance;
205
+ closestHandle = $( this );
206
+ index = i;
207
+ }
208
+ } );
209
+
210
+ allowed = this._start( event, index );
211
+ if ( allowed === false ) {
212
+ return false;
213
+ }
214
+ this._mouseSliding = true;
215
+
216
+ this._handleIndex = index;
217
+
218
+ this._addClass( closestHandle, null, "ui-state-active" );
219
+ closestHandle.trigger( "focus" );
220
+
221
+ offset = closestHandle.offset();
222
+ mouseOverHandle = !$( event.target ).parents().addBack().is( ".ui-slider-handle" );
223
+ this._clickOffset = mouseOverHandle ? { left: 0, top: 0 } : {
224
+ left: event.pageX - offset.left - ( closestHandle.width() / 2 ),
225
+ top: event.pageY - offset.top -
226
+ ( closestHandle.height() / 2 ) -
227
+ ( parseInt( closestHandle.css( "borderTopWidth" ), 10 ) || 0 ) -
228
+ ( parseInt( closestHandle.css( "borderBottomWidth" ), 10 ) || 0 ) +
229
+ ( parseInt( closestHandle.css( "marginTop" ), 10 ) || 0 )
230
+ };
231
+
232
+ if ( !this.handles.hasClass( "ui-state-hover" ) ) {
233
+ this._slide( event, index, normValue );
234
+ }
235
+ this._animateOff = true;
236
+ return true;
237
+ },
238
+
239
+ _mouseStart: function() {
240
+ return true;
241
+ },
242
+
243
+ _mouseDrag: function( event ) {
244
+ var position = { x: event.pageX, y: event.pageY },
245
+ normValue = this._normValueFromMouse( position );
246
+
247
+ this._slide( event, this._handleIndex, normValue );
248
+
249
+ return false;
250
+ },
251
+
252
+ _mouseStop: function( event ) {
253
+ this._removeClass( this.handles, null, "ui-state-active" );
254
+ this._mouseSliding = false;
255
+
256
+ this._stop( event, this._handleIndex );
257
+ this._change( event, this._handleIndex );
258
+
259
+ this._handleIndex = null;
260
+ this._clickOffset = null;
261
+ this._animateOff = false;
262
+
263
+ return false;
264
+ },
265
+
266
+ _detectOrientation: function() {
267
+ this.orientation = ( this.options.orientation === "vertical" ) ? "vertical" : "horizontal";
268
+ },
269
+
270
+ _normValueFromMouse: function( position ) {
271
+ var pixelTotal,
272
+ pixelMouse,
273
+ percentMouse,
274
+ valueTotal,
275
+ valueMouse;
276
+
277
+ if ( this.orientation === "horizontal" ) {
278
+ pixelTotal = this.elementSize.width;
279
+ pixelMouse = position.x - this.elementOffset.left -
280
+ ( this._clickOffset ? this._clickOffset.left : 0 );
281
+ } else {
282
+ pixelTotal = this.elementSize.height;
283
+ pixelMouse = position.y - this.elementOffset.top -
284
+ ( this._clickOffset ? this._clickOffset.top : 0 );
285
+ }
286
+
287
+ percentMouse = ( pixelMouse / pixelTotal );
288
+ if ( percentMouse > 1 ) {
289
+ percentMouse = 1;
290
+ }
291
+ if ( percentMouse < 0 ) {
292
+ percentMouse = 0;
293
+ }
294
+ if ( this.orientation === "vertical" ) {
295
+ percentMouse = 1 - percentMouse;
296
+ }
297
+
298
+ valueTotal = this._valueMax() - this._valueMin();
299
+ valueMouse = this._valueMin() + percentMouse * valueTotal;
300
+
301
+ return this._trimAlignValue( valueMouse );
302
+ },
303
+
304
+ _uiHash: function( index, value, values ) {
305
+ var uiHash = {
306
+ handle: this.handles[ index ],
307
+ handleIndex: index,
308
+ value: value !== undefined ? value : this.value()
309
+ };
310
+
311
+ if ( this._hasMultipleValues() ) {
312
+ uiHash.value = value !== undefined ? value : this.values( index );
313
+ uiHash.values = values || this.values();
314
+ }
315
+
316
+ return uiHash;
317
+ },
318
+
319
+ _hasMultipleValues: function() {
320
+ return this.options.values && this.options.values.length;
321
+ },
322
+
323
+ _start: function( event, index ) {
324
+ return this._trigger( "start", event, this._uiHash( index ) );
325
+ },
326
+
327
+ _slide: function( event, index, newVal ) {
328
+ var allowed, otherVal,
329
+ currentValue = this.value(),
330
+ newValues = this.values();
331
+
332
+ if ( this._hasMultipleValues() ) {
333
+ otherVal = this.values( index ? 0 : 1 );
334
+ currentValue = this.values( index );
335
+
336
+ if ( this.options.values.length === 2 && this.options.range === true ) {
337
+ newVal = index === 0 ? Math.min( otherVal, newVal ) : Math.max( otherVal, newVal );
338
+ }
339
+
340
+ newValues[ index ] = newVal;
341
+ }
342
+
343
+ if ( newVal === currentValue ) {
344
+ return;
345
+ }
346
+
347
+ allowed = this._trigger( "slide", event, this._uiHash( index, newVal, newValues ) );
348
+
349
+ // A slide can be canceled by returning false from the slide callback
350
+ if ( allowed === false ) {
351
+ return;
352
+ }
353
+
354
+ if ( this._hasMultipleValues() ) {
355
+ this.values( index, newVal );
356
+ } else {
357
+ this.value( newVal );
358
+ }
359
+ },
360
+
361
+ _stop: function( event, index ) {
362
+ this._trigger( "stop", event, this._uiHash( index ) );
363
+ },
364
+
365
+ _change: function( event, index ) {
366
+ if ( !this._keySliding && !this._mouseSliding ) {
367
+
368
+ //store the last changed value index for reference when handles overlap
369
+ this._lastChangedValue = index;
370
+ this._trigger( "change", event, this._uiHash( index ) );
371
+ }
372
+ },
373
+
374
+ value: function( newValue ) {
375
+ if ( arguments.length ) {
376
+ this.options.value = this._trimAlignValue( newValue );
377
+ this._refreshValue();
378
+ this._change( null, 0 );
379
+ return;
380
+ }
381
+
382
+ return this._value();
383
+ },
384
+
385
+ values: function( index, newValue ) {
386
+ var vals,
387
+ newValues,
388
+ i;
389
+
390
+ if ( arguments.length > 1 ) {
391
+ this.options.values[ index ] = this._trimAlignValue( newValue );
392
+ this._refreshValue();
393
+ this._change( null, index );
394
+ return;
395
+ }
396
+
397
+ if ( arguments.length ) {
398
+ if ( $.isArray( arguments[ 0 ] ) ) {
399
+ vals = this.options.values;
400
+ newValues = arguments[ 0 ];
401
+ for ( i = 0; i < vals.length; i += 1 ) {
402
+ vals[ i ] = this._trimAlignValue( newValues[ i ] );
403
+ this._change( null, i );
404
+ }
405
+ this._refreshValue();
406
+ } else {
407
+ if ( this._hasMultipleValues() ) {
408
+ return this._values( index );
409
+ } else {
410
+ return this.value();
411
+ }
412
+ }
413
+ } else {
414
+ return this._values();
415
+ }
416
+ },
417
+
418
+ _setOption: function( key, value ) {
419
+ var i,
420
+ valsLength = 0;
421
+
422
+ if ( key === "range" && this.options.range === true ) {
423
+ if ( value === "min" ) {
424
+ this.options.value = this._values( 0 );
425
+ this.options.values = null;
426
+ } else if ( value === "max" ) {
427
+ this.options.value = this._values( this.options.values.length - 1 );
428
+ this.options.values = null;
429
+ }
430
+ }
431
+
432
+ if ( $.isArray( this.options.values ) ) {
433
+ valsLength = this.options.values.length;
434
+ }
435
+
436
+ this._super( key, value );
437
+
438
+ switch ( key ) {
439
+ case "orientation":
440
+ this._detectOrientation();
441
+ this._removeClass( "ui-slider-horizontal ui-slider-vertical" )
442
+ ._addClass( "ui-slider-" + this.orientation );
443
+ this._refreshValue();
444
+ if ( this.options.range ) {
445
+ this._refreshRange( value );
446
+ }
447
+
448
+ // Reset positioning from previous orientation
449
+ this.handles.css( value === "horizontal" ? "bottom" : "left", "" );
450
+ break;
451
+ case "value":
452
+ this._animateOff = true;
453
+ this._refreshValue();
454
+ this._change( null, 0 );
455
+ this._animateOff = false;
456
+ break;
457
+ case "values":
458
+ this._animateOff = true;
459
+ this._refreshValue();
460
+
461
+ // Start from the last handle to prevent unreachable handles (#9046)
462
+ for ( i = valsLength - 1; i >= 0; i-- ) {
463
+ this._change( null, i );
464
+ }
465
+ this._animateOff = false;
466
+ break;
467
+ case "step":
468
+ case "min":
469
+ case "max":
470
+ this._animateOff = true;
471
+ this._calculateNewMax();
472
+ this._refreshValue();
473
+ this._animateOff = false;
474
+ break;
475
+ case "range":
476
+ this._animateOff = true;
477
+ this._refresh();
478
+ this._animateOff = false;
479
+ break;
480
+ }
481
+ },
482
+
483
+ _setOptionDisabled: function( value ) {
484
+ this._super( value );
485
+
486
+ this._toggleClass( null, "ui-state-disabled", !!value );
487
+ },
488
+
489
+ //internal value getter
490
+ // _value() returns value trimmed by min and max, aligned by step
491
+ _value: function() {
492
+ var val = this.options.value;
493
+ val = this._trimAlignValue( val );
494
+
495
+ return val;
496
+ },
497
+
498
+ //internal values getter
499
+ // _values() returns array of values trimmed by min and max, aligned by step
500
+ // _values( index ) returns single value trimmed by min and max, aligned by step
501
+ _values: function( index ) {
502
+ var val,
503
+ vals,
504
+ i;
505
+
506
+ if ( arguments.length ) {
507
+ val = this.options.values[ index ];
508
+ val = this._trimAlignValue( val );
509
+
510
+ return val;
511
+ } else if ( this._hasMultipleValues() ) {
512
+
513
+ // .slice() creates a copy of the array
514
+ // this copy gets trimmed by min and max and then returned
515
+ vals = this.options.values.slice();
516
+ for ( i = 0; i < vals.length; i += 1 ) {
517
+ vals[ i ] = this._trimAlignValue( vals[ i ] );
518
+ }
519
+
520
+ return vals;
521
+ } else {
522
+ return [];
523
+ }
524
+ },
525
+
526
+ // Returns the step-aligned value that val is closest to, between (inclusive) min and max
527
+ _trimAlignValue: function( val ) {
528
+ if ( val <= this._valueMin() ) {
529
+ return this._valueMin();
530
+ }
531
+ if ( val >= this._valueMax() ) {
532
+ return this._valueMax();
533
+ }
534
+ var step = ( this.options.step > 0 ) ? this.options.step : 1,
535
+ valModStep = ( val - this._valueMin() ) % step,
536
+ alignValue = val - valModStep;
537
+
538
+ if ( Math.abs( valModStep ) * 2 >= step ) {
539
+ alignValue += ( valModStep > 0 ) ? step : ( -step );
540
+ }
541
+
542
+ // Since JavaScript has problems with large floats, round
543
+ // the final value to 5 digits after the decimal point (see #4124)
544
+ return parseFloat( alignValue.toFixed( 5 ) );
545
+ },
546
+
547
+ _calculateNewMax: function() {
548
+ var max = this.options.max,
549
+ min = this._valueMin(),
550
+ step = this.options.step,
551
+ aboveMin = Math.round( ( max - min ) / step ) * step;
552
+ max = aboveMin + min;
553
+ if ( max > this.options.max ) {
554
+
555
+ //If max is not divisible by step, rounding off may increase its value
556
+ max -= step;
557
+ }
558
+ this.max = parseFloat( max.toFixed( this._precision() ) );
559
+ },
560
+
561
+ _precision: function() {
562
+ var precision = this._precisionOf( this.options.step );
563
+ if ( this.options.min !== null ) {
564
+ precision = Math.max( precision, this._precisionOf( this.options.min ) );
565
+ }
566
+ return precision;
567
+ },
568
+
569
+ _precisionOf: function( num ) {
570
+ var str = num.toString(),
571
+ decimal = str.indexOf( "." );
572
+ return decimal === -1 ? 0 : str.length - decimal - 1;
573
+ },
574
+
575
+ _valueMin: function() {
576
+ return this.options.min;
577
+ },
578
+
579
+ _valueMax: function() {
580
+ return this.max;
581
+ },
582
+
583
+ _refreshRange: function( orientation ) {
584
+ if ( orientation === "vertical" ) {
585
+ this.range.css( { "width": "", "left": "" } );
586
+ }
587
+ if ( orientation === "horizontal" ) {
588
+ this.range.css( { "height": "", "bottom": "" } );
589
+ }
590
+ },
591
+
592
+ _refreshValue: function() {
593
+ var lastValPercent, valPercent, value, valueMin, valueMax,
594
+ oRange = this.options.range,
595
+ o = this.options,
596
+ that = this,
597
+ animate = ( !this._animateOff ) ? o.animate : false,
598
+ _set = {};
599
+
600
+ if ( this._hasMultipleValues() ) {
601
+ this.handles.each( function( i ) {
602
+ valPercent = ( that.values( i ) - that._valueMin() ) / ( that._valueMax() -
603
+ that._valueMin() ) * 100;
604
+ _set[ that.orientation === "horizontal" ? "left" : "bottom" ] = valPercent + "%";
605
+ $( this ).stop( 1, 1 )[ animate ? "animate" : "css" ]( _set, o.animate );
606
+ if ( that.options.range === true ) {
607
+ if ( that.orientation === "horizontal" ) {
608
+ if ( i === 0 ) {
609
+ that.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( {
610
+ left: valPercent + "%"
611
+ }, o.animate );
612
+ }
613
+ if ( i === 1 ) {
614
+ that.range[ animate ? "animate" : "css" ]( {
615
+ width: ( valPercent - lastValPercent ) + "%"
616
+ }, {
617
+ queue: false,
618
+ duration: o.animate
619
+ } );
620
+ }
621
+ } else {
622
+ if ( i === 0 ) {
623
+ that.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( {
624
+ bottom: ( valPercent ) + "%"
625
+ }, o.animate );
626
+ }
627
+ if ( i === 1 ) {
628
+ that.range[ animate ? "animate" : "css" ]( {
629
+ height: ( valPercent - lastValPercent ) + "%"
630
+ }, {
631
+ queue: false,
632
+ duration: o.animate
633
+ } );
634
+ }
635
+ }
636
+ }
637
+ lastValPercent = valPercent;
638
+ } );
639
+ } else {
640
+ value = this.value();
641
+ valueMin = this._valueMin();
642
+ valueMax = this._valueMax();
643
+ valPercent = ( valueMax !== valueMin ) ?
644
+ ( value - valueMin ) / ( valueMax - valueMin ) * 100 :
645
+ 0;
646
+ _set[ this.orientation === "horizontal" ? "left" : "bottom" ] = valPercent + "%";
647
+ this.handle.stop( 1, 1 )[ animate ? "animate" : "css" ]( _set, o.animate );
648
+
649
+ if ( oRange === "min" && this.orientation === "horizontal" ) {
650
+ this.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( {
651
+ width: valPercent + "%"
652
+ }, o.animate );
653
+ }
654
+ if ( oRange === "max" && this.orientation === "horizontal" ) {
655
+ this.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( {
656
+ width: ( 100 - valPercent ) + "%"
657
+ }, o.animate );
658
+ }
659
+ if ( oRange === "min" && this.orientation === "vertical" ) {
660
+ this.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( {
661
+ height: valPercent + "%"
662
+ }, o.animate );
663
+ }
664
+ if ( oRange === "max" && this.orientation === "vertical" ) {
665
+ this.range.stop( 1, 1 )[ animate ? "animate" : "css" ]( {
666
+ height: ( 100 - valPercent ) + "%"
667
+ }, o.animate );
668
+ }
669
+ }
670
+ },
671
+
672
+ _handleEvents: {
673
+ keydown: function( event ) {
674
+ var allowed, curVal, newVal, step,
675
+ index = $( event.target ).data( "ui-slider-handle-index" );
676
+
677
+ switch ( event.keyCode ) {
678
+ case $.ui.keyCode.HOME:
679
+ case $.ui.keyCode.END:
680
+ case $.ui.keyCode.PAGE_UP:
681
+ case $.ui.keyCode.PAGE_DOWN:
682
+ case $.ui.keyCode.UP:
683
+ case $.ui.keyCode.RIGHT:
684
+ case $.ui.keyCode.DOWN:
685
+ case $.ui.keyCode.LEFT:
686
+ event.preventDefault();
687
+ if ( !this._keySliding ) {
688
+ this._keySliding = true;
689
+ this._addClass( $( event.target ), null, "ui-state-active" );
690
+ allowed = this._start( event, index );
691
+ if ( allowed === false ) {
692
+ return;
693
+ }
694
+ }
695
+ break;
696
+ }
697
+
698
+ step = this.options.step;
699
+ if ( this._hasMultipleValues() ) {
700
+ curVal = newVal = this.values( index );
701
+ } else {
702
+ curVal = newVal = this.value();
703
+ }
704
+
705
+ switch ( event.keyCode ) {
706
+ case $.ui.keyCode.HOME:
707
+ newVal = this._valueMin();
708
+ break;
709
+ case $.ui.keyCode.END:
710
+ newVal = this._valueMax();
711
+ break;
712
+ case $.ui.keyCode.PAGE_UP:
713
+ newVal = this._trimAlignValue(
714
+ curVal + ( ( this._valueMax() - this._valueMin() ) / this.numPages )
715
+ );
716
+ break;
717
+ case $.ui.keyCode.PAGE_DOWN:
718
+ newVal = this._trimAlignValue(
719
+ curVal - ( ( this._valueMax() - this._valueMin() ) / this.numPages ) );
720
+ break;
721
+ case $.ui.keyCode.UP:
722
+ case $.ui.keyCode.RIGHT:
723
+ if ( curVal === this._valueMax() ) {
724
+ return;
725
+ }
726
+ newVal = this._trimAlignValue( curVal + step );
727
+ break;
728
+ case $.ui.keyCode.DOWN:
729
+ case $.ui.keyCode.LEFT:
730
+ if ( curVal === this._valueMin() ) {
731
+ return;
732
+ }
733
+ newVal = this._trimAlignValue( curVal - step );
734
+ break;
735
+ }
736
+
737
+ this._slide( event, index, newVal );
738
+ },
739
+ keyup: function( event ) {
740
+ var index = $( event.target ).data( "ui-slider-handle-index" );
741
+
742
+ if ( this._keySliding ) {
743
+ this._keySliding = false;
744
+ this._stop( event, index );
745
+ this._change( event, index );
746
+ this._removeClass( $( event.target ), null, "ui-state-active" );
747
+ }
748
+ }
749
+ }
750
+ } );
751
+
752
+ } ) );