ext_yarn 0.1.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 (618) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +125 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +21 -0
  5. data/Gemfile.lock +78 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +3 -0
  8. data/bin/yarn +12 -0
  9. data/ext_yarn.gemspec +23 -0
  10. data/lib/ext_yarn/engine.rb +21 -0
  11. data/lib/ext_yarn/version.rb +3 -0
  12. data/lib/ext_yarn.rb +5 -0
  13. data/node_modules/.yarn-integrity +64 -0
  14. data/node_modules/bootstrap-sass/LICENSE +22 -0
  15. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/affix.js +162 -0
  16. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/alert.js +94 -0
  17. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/button.js +125 -0
  18. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/carousel.js +237 -0
  19. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/collapse.js +212 -0
  20. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js +165 -0
  21. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/modal.js +339 -0
  22. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/popover.js +108 -0
  23. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/scrollspy.js +172 -0
  24. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/tab.js +155 -0
  25. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js +520 -0
  26. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/transition.js +59 -0
  27. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap-sprockets.js +12 -0
  28. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap.js +2377 -0
  29. data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-compass.scss +9 -0
  30. data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss +19 -0
  31. data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
  32. data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss +56 -0
  33. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss +73 -0
  34. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss +68 -0
  35. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss +28 -0
  36. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss +244 -0
  37. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss +168 -0
  38. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss +270 -0
  39. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss +36 -0
  40. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss +69 -0
  41. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss +37 -0
  42. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss +216 -0
  43. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss +617 -0
  44. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss +307 -0
  45. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss +84 -0
  46. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss +171 -0
  47. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss +54 -0
  48. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss +66 -0
  49. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss +130 -0
  50. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss +66 -0
  51. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss +40 -0
  52. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss +150 -0
  53. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss +662 -0
  54. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss +242 -0
  55. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss +424 -0
  56. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss +54 -0
  57. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss +89 -0
  58. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss +271 -0
  59. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss +131 -0
  60. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss +101 -0
  61. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
  62. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  63. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
  64. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss +161 -0
  65. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss +234 -0
  66. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_theme.scss +291 -0
  67. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
  68. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss +101 -0
  69. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss +298 -0
  70. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss +55 -0
  71. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss +874 -0
  72. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss +29 -0
  73. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  74. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
  75. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  76. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss +65 -0
  77. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  78. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  79. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  80. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  81. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  82. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  83. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  84. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
  85. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  86. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
  87. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  88. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  89. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  90. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
  91. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  92. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  93. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  94. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
  95. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  96. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  97. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  98. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  99. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  100. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
  101. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  102. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  103. data/node_modules/bootstrap-sass/package.json +44 -0
  104. data/node_modules/bootswatch/cerulean/_bootswatch.scss +131 -0
  105. data/node_modules/bootswatch/cerulean/_variables.scss +870 -0
  106. data/node_modules/bootswatch/cosmo/_bootswatch.scss +262 -0
  107. data/node_modules/bootswatch/cosmo/_variables.scss +870 -0
  108. data/node_modules/bootswatch/cyborg/_bootswatch.scss +243 -0
  109. data/node_modules/bootswatch/cyborg/_variables.scss +870 -0
  110. data/node_modules/bootswatch/darkly/_bootswatch.scss +351 -0
  111. data/node_modules/bootswatch/darkly/_variables.scss +870 -0
  112. data/node_modules/bootswatch/flatly/_bootswatch.scss +330 -0
  113. data/node_modules/bootswatch/flatly/_variables.scss +870 -0
  114. data/node_modules/bootswatch/journal/_bootswatch.scss +145 -0
  115. data/node_modules/bootswatch/journal/_variables.scss +870 -0
  116. data/node_modules/bootswatch/lumen/_bootswatch.scss +523 -0
  117. data/node_modules/bootswatch/lumen/_variables.scss +870 -0
  118. data/node_modules/bootswatch/package.json +26 -0
  119. data/node_modules/bootswatch/paper/_bootswatch.scss +620 -0
  120. data/node_modules/bootswatch/paper/_variables.scss +870 -0
  121. data/node_modules/bootswatch/readable/_bootswatch.scss +183 -0
  122. data/node_modules/bootswatch/readable/_variables.scss +870 -0
  123. data/node_modules/bootswatch/sandstone/_bootswatch.scss +196 -0
  124. data/node_modules/bootswatch/sandstone/_variables.scss +870 -0
  125. data/node_modules/bootswatch/simplex/_bootswatch.scss +170 -0
  126. data/node_modules/bootswatch/simplex/_variables.scss +870 -0
  127. data/node_modules/bootswatch/slate/_bootswatch.scss +448 -0
  128. data/node_modules/bootswatch/slate/_variables.scss +870 -0
  129. data/node_modules/bootswatch/spacelab/_bootswatch.scss +142 -0
  130. data/node_modules/bootswatch/spacelab/_variables.scss +870 -0
  131. data/node_modules/bootswatch/superhero/_bootswatch.scss +360 -0
  132. data/node_modules/bootswatch/superhero/_variables.scss +870 -0
  133. data/node_modules/bootswatch/united/_bootswatch.scss +56 -0
  134. data/node_modules/bootswatch/united/_variables.scss +870 -0
  135. data/node_modules/bootswatch/yeti/_bootswatch.scss +445 -0
  136. data/node_modules/bootswatch/yeti/_variables.scss +870 -0
  137. data/node_modules/chart.js/dist/Chart.bundle.js +18919 -0
  138. data/node_modules/chart.js/dist/Chart.js +14384 -0
  139. data/node_modules/chart.js/package.json +57 -0
  140. data/node_modules/chartkick/chartkick.js +1853 -0
  141. data/node_modules/chartkick/package.json +25 -0
  142. data/node_modules/eonasdan-bootstrap-datetimepicker/package.json +51 -0
  143. data/node_modules/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2636 -0
  144. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +344 -0
  145. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
  146. data/node_modules/file-saver/FileSaver.js +188 -0
  147. data/node_modules/file-saver/package.json +28 -0
  148. data/node_modules/font-awesome-sass/LICENSE.txt +22 -0
  149. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
  150. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.svg +2671 -0
  151. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
  152. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
  153. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
  154. data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome-compass.scss +5 -0
  155. data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome-sprockets.scss +5 -0
  156. data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome.scss +18 -0
  157. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_animated.scss +34 -0
  158. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_bordered-pulled.scss +25 -0
  159. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_core.scss +12 -0
  160. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_fixed-width.scss +6 -0
  161. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_icons.scss +789 -0
  162. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_larger.scss +13 -0
  163. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_list.scss +19 -0
  164. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_mixins.scss +60 -0
  165. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_path.scss +14 -0
  166. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
  167. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_screen-reader.scss +5 -0
  168. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_stacked.scss +20 -0
  169. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_variables.scss +802 -0
  170. data/node_modules/font-awesome-sass/package.json +19 -0
  171. data/node_modules/jquery/dist/jquery.js +10253 -0
  172. data/node_modules/jquery/dist/jquery.slim.js +8160 -0
  173. data/node_modules/jquery/package.json +97 -0
  174. data/node_modules/jquery-pjax/jquery.pjax.js +903 -0
  175. data/node_modules/jquery-pjax/package.json +18 -0
  176. data/node_modules/jquery-ui/package.json +74 -0
  177. data/node_modules/jquery-ui/themes/base/accordion.css +23 -0
  178. data/node_modules/jquery-ui/themes/base/all.css +12 -0
  179. data/node_modules/jquery-ui/themes/base/autocomplete.css +16 -0
  180. data/node_modules/jquery-ui/themes/base/base.css +30 -0
  181. data/node_modules/jquery-ui/themes/base/button.css +82 -0
  182. data/node_modules/jquery-ui/themes/base/checkboxradio.css +34 -0
  183. data/node_modules/jquery-ui/themes/base/controlgroup.css +65 -0
  184. data/node_modules/jquery-ui/themes/base/core.css +97 -0
  185. data/node_modules/jquery-ui/themes/base/datepicker.css +185 -0
  186. data/node_modules/jquery-ui/themes/base/dialog.css +101 -0
  187. data/node_modules/jquery-ui/themes/base/draggable.css +12 -0
  188. data/node_modules/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  189. data/node_modules/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  190. data/node_modules/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  191. data/node_modules/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  192. data/node_modules/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  193. data/node_modules/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  194. data/node_modules/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  195. data/node_modules/jquery-ui/themes/base/menu.css +64 -0
  196. data/node_modules/jquery-ui/themes/base/progressbar.css +28 -0
  197. data/node_modules/jquery-ui/themes/base/resizable.css +78 -0
  198. data/node_modules/jquery-ui/themes/base/selectable.css +17 -0
  199. data/node_modules/jquery-ui/themes/base/selectmenu.css +50 -0
  200. data/node_modules/jquery-ui/themes/base/slider.css +75 -0
  201. data/node_modules/jquery-ui/themes/base/sortable.css +12 -0
  202. data/node_modules/jquery-ui/themes/base/spinner.css +52 -0
  203. data/node_modules/jquery-ui/themes/base/tabs.css +51 -0
  204. data/node_modules/jquery-ui/themes/base/theme.css +443 -0
  205. data/node_modules/jquery-ui/themes/base/tooltip.css +19 -0
  206. data/node_modules/jquery-ui/ui/core.js +21 -0
  207. data/node_modules/jquery-ui/ui/data.js +39 -0
  208. data/node_modules/jquery-ui/ui/disable-selection.js +46 -0
  209. data/node_modules/jquery-ui/ui/effect.js +1635 -0
  210. data/node_modules/jquery-ui/ui/effects/effect-blind.js +70 -0
  211. data/node_modules/jquery-ui/ui/effects/effect-bounce.js +110 -0
  212. data/node_modules/jquery-ui/ui/effects/effect-clip.js +65 -0
  213. data/node_modules/jquery-ui/ui/effects/effect-drop.js +69 -0
  214. data/node_modules/jquery-ui/ui/effects/effect-explode.js +111 -0
  215. data/node_modules/jquery-ui/ui/effects/effect-fade.js +47 -0
  216. data/node_modules/jquery-ui/ui/effects/effect-fold.js +89 -0
  217. data/node_modules/jquery-ui/ui/effects/effect-highlight.js +57 -0
  218. data/node_modules/jquery-ui/ui/effects/effect-puff.js +42 -0
  219. data/node_modules/jquery-ui/ui/effects/effect-pulsate.js +64 -0
  220. data/node_modules/jquery-ui/ui/effects/effect-scale.js +56 -0
  221. data/node_modules/jquery-ui/ui/effects/effect-shake.js +74 -0
  222. data/node_modules/jquery-ui/ui/effects/effect-size.js +191 -0
  223. data/node_modules/jquery-ui/ui/effects/effect-slide.js +76 -0
  224. data/node_modules/jquery-ui/ui/effects/effect-transfer.js +40 -0
  225. data/node_modules/jquery-ui/ui/escape-selector.js +21 -0
  226. data/node_modules/jquery-ui/ui/focusable.js +84 -0
  227. data/node_modules/jquery-ui/ui/form-reset-mixin.js +77 -0
  228. data/node_modules/jquery-ui/ui/form.js +20 -0
  229. data/node_modules/jquery-ui/ui/i18n/datepicker-af.js +37 -0
  230. data/node_modules/jquery-ui/ui/i18n/datepicker-ar-DZ.js +39 -0
  231. data/node_modules/jquery-ui/ui/i18n/datepicker-ar.js +39 -0
  232. data/node_modules/jquery-ui/ui/i18n/datepicker-az.js +37 -0
  233. data/node_modules/jquery-ui/ui/i18n/datepicker-be.js +37 -0
  234. data/node_modules/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
  235. data/node_modules/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
  236. data/node_modules/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
  237. data/node_modules/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
  238. data/node_modules/jquery-ui/ui/i18n/datepicker-cy-GB.js +45 -0
  239. data/node_modules/jquery-ui/ui/i18n/datepicker-da.js +37 -0
  240. data/node_modules/jquery-ui/ui/i18n/datepicker-de.js +37 -0
  241. data/node_modules/jquery-ui/ui/i18n/datepicker-el.js +37 -0
  242. data/node_modules/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
  243. data/node_modules/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
  244. data/node_modules/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
  245. data/node_modules/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
  246. data/node_modules/jquery-ui/ui/i18n/datepicker-es.js +37 -0
  247. data/node_modules/jquery-ui/ui/i18n/datepicker-et.js +45 -0
  248. data/node_modules/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
  249. data/node_modules/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
  250. data/node_modules/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
  251. data/node_modules/jquery-ui/ui/i18n/datepicker-fo.js +45 -0
  252. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
  253. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
  254. data/node_modules/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
  255. data/node_modules/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
  256. data/node_modules/jquery-ui/ui/i18n/datepicker-he.js +37 -0
  257. data/node_modules/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
  258. data/node_modules/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
  259. data/node_modules/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
  260. data/node_modules/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
  261. data/node_modules/jquery-ui/ui/i18n/datepicker-id.js +37 -0
  262. data/node_modules/jquery-ui/ui/i18n/datepicker-is.js +45 -0
  263. data/node_modules/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
  264. data/node_modules/jquery-ui/ui/i18n/datepicker-it.js +37 -0
  265. data/node_modules/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
  266. data/node_modules/jquery-ui/ui/i18n/datepicker-ka.js +48 -0
  267. data/node_modules/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
  268. data/node_modules/jquery-ui/ui/i18n/datepicker-km.js +37 -0
  269. data/node_modules/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
  270. data/node_modules/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
  271. data/node_modules/jquery-ui/ui/i18n/datepicker-lb.js +45 -0
  272. data/node_modules/jquery-ui/ui/i18n/datepicker-lt.js +45 -0
  273. data/node_modules/jquery-ui/ui/i18n/datepicker-lv.js +45 -0
  274. data/node_modules/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
  275. data/node_modules/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
  276. data/node_modules/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
  277. data/node_modules/jquery-ui/ui/i18n/datepicker-nb.js +49 -0
  278. data/node_modules/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
  279. data/node_modules/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
  280. data/node_modules/jquery-ui/ui/i18n/datepicker-nn.js +49 -0
  281. data/node_modules/jquery-ui/ui/i18n/datepicker-no.js +50 -0
  282. data/node_modules/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
  283. data/node_modules/jquery-ui/ui/i18n/datepicker-pt-BR.js +45 -0
  284. data/node_modules/jquery-ui/ui/i18n/datepicker-pt.js +44 -0
  285. data/node_modules/jquery-ui/ui/i18n/datepicker-rm.js +61 -0
  286. data/node_modules/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
  287. data/node_modules/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
  288. data/node_modules/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
  289. data/node_modules/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
  290. data/node_modules/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
  291. data/node_modules/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
  292. data/node_modules/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
  293. data/node_modules/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
  294. data/node_modules/jquery-ui/ui/i18n/datepicker-ta.js +53 -0
  295. data/node_modules/jquery-ui/ui/i18n/datepicker-th.js +37 -0
  296. data/node_modules/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
  297. data/node_modules/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
  298. data/node_modules/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
  299. data/node_modules/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
  300. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
  301. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
  302. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
  303. data/node_modules/jquery-ui/ui/ie.js +15 -0
  304. data/node_modules/jquery-ui/ui/jquery-1-7.js +89 -0
  305. data/node_modules/jquery-ui/ui/keycode.js +45 -0
  306. data/node_modules/jquery-ui/ui/labels.js +62 -0
  307. data/node_modules/jquery-ui/ui/plugin.js +44 -0
  308. data/node_modules/jquery-ui/ui/position.js +498 -0
  309. data/node_modules/jquery-ui/ui/safe-active-element.js +40 -0
  310. data/node_modules/jquery-ui/ui/safe-blur.js +21 -0
  311. data/node_modules/jquery-ui/ui/scroll-parent.js +45 -0
  312. data/node_modules/jquery-ui/ui/tabbable.js +35 -0
  313. data/node_modules/jquery-ui/ui/unique-id.js +49 -0
  314. data/node_modules/jquery-ui/ui/version.js +17 -0
  315. data/node_modules/jquery-ui/ui/widget.js +733 -0
  316. data/node_modules/jquery-ui/ui/widgets/accordion.js +613 -0
  317. data/node_modules/jquery-ui/ui/widgets/autocomplete.js +682 -0
  318. data/node_modules/jquery-ui/ui/widgets/button.js +386 -0
  319. data/node_modules/jquery-ui/ui/widgets/checkboxradio.js +286 -0
  320. data/node_modules/jquery-ui/ui/widgets/controlgroup.js +298 -0
  321. data/node_modules/jquery-ui/ui/widgets/datepicker.js +2120 -0
  322. data/node_modules/jquery-ui/ui/widgets/dialog.js +940 -0
  323. data/node_modules/jquery-ui/ui/widgets/draggable.js +1250 -0
  324. data/node_modules/jquery-ui/ui/widgets/droppable.js +497 -0
  325. data/node_modules/jquery-ui/ui/widgets/menu.js +673 -0
  326. data/node_modules/jquery-ui/ui/widgets/mouse.js +226 -0
  327. data/node_modules/jquery-ui/ui/widgets/progressbar.js +178 -0
  328. data/node_modules/jquery-ui/ui/widgets/resizable.js +1201 -0
  329. data/node_modules/jquery-ui/ui/widgets/selectable.js +310 -0
  330. data/node_modules/jquery-ui/ui/widgets/selectmenu.js +687 -0
  331. data/node_modules/jquery-ui/ui/widgets/slider.js +752 -0
  332. data/node_modules/jquery-ui/ui/widgets/sortable.js +1554 -0
  333. data/node_modules/jquery-ui/ui/widgets/spinner.js +575 -0
  334. data/node_modules/jquery-ui/ui/widgets/tabs.js +924 -0
  335. data/node_modules/jquery-ui/ui/widgets/tooltip.js +520 -0
  336. data/node_modules/jquery-ujs/package.json +26 -0
  337. data/node_modules/jquery-ujs/src/rails.js +555 -0
  338. data/node_modules/js-cookie/package.json +49 -0
  339. data/node_modules/js-cookie/src/js.cookie.js +165 -0
  340. data/node_modules/jstz/dist/jstz.js +1428 -0
  341. data/node_modules/jstz/package.json +57 -0
  342. data/node_modules/lodash/core.js +3836 -0
  343. data/node_modules/lodash/lodash.js +17084 -0
  344. data/node_modules/lodash/package.json +17 -0
  345. data/node_modules/moment/locale/af.js +74 -0
  346. data/node_modules/moment/locale/ar-dz.js +60 -0
  347. data/node_modules/moment/locale/ar-kw.js +60 -0
  348. data/node_modules/moment/locale/ar-ly.js +127 -0
  349. data/node_modules/moment/locale/ar-ma.js +61 -0
  350. data/node_modules/moment/locale/ar-sa.js +106 -0
  351. data/node_modules/moment/locale/ar-tn.js +60 -0
  352. data/node_modules/moment/locale/ar.js +143 -0
  353. data/node_modules/moment/locale/az.js +106 -0
  354. data/node_modules/moment/locale/be.js +135 -0
  355. data/node_modules/moment/locale/bg.js +91 -0
  356. data/node_modules/moment/locale/bm.js +60 -0
  357. data/node_modules/moment/locale/bn.js +120 -0
  358. data/node_modules/moment/locale/bo.js +120 -0
  359. data/node_modules/moment/locale/br.js +109 -0
  360. data/node_modules/moment/locale/bs.js +153 -0
  361. data/node_modules/moment/locale/ca.js +89 -0
  362. data/node_modules/moment/locale/cs.js +180 -0
  363. data/node_modules/moment/locale/cv.js +64 -0
  364. data/node_modules/moment/locale/cy.js +82 -0
  365. data/node_modules/moment/locale/da.js +61 -0
  366. data/node_modules/moment/locale/de-at.js +80 -0
  367. data/node_modules/moment/locale/de-ch.js +79 -0
  368. data/node_modules/moment/locale/de.js +79 -0
  369. data/node_modules/moment/locale/dv.js +101 -0
  370. data/node_modules/moment/locale/el.js +101 -0
  371. data/node_modules/moment/locale/en-au.js +68 -0
  372. data/node_modules/moment/locale/en-ca.js +64 -0
  373. data/node_modules/moment/locale/en-gb.js +68 -0
  374. data/node_modules/moment/locale/en-ie.js +68 -0
  375. data/node_modules/moment/locale/en-nz.js +68 -0
  376. data/node_modules/moment/locale/eo.js +74 -0
  377. data/node_modules/moment/locale/es-do.js +92 -0
  378. data/node_modules/moment/locale/es-us.js +84 -0
  379. data/node_modules/moment/locale/es.js +93 -0
  380. data/node_modules/moment/locale/et.js +82 -0
  381. data/node_modules/moment/locale/eu.js +67 -0
  382. data/node_modules/moment/locale/fa.js +108 -0
  383. data/node_modules/moment/locale/fi.js +110 -0
  384. data/node_modules/moment/locale/fo.js +61 -0
  385. data/node_modules/moment/locale/fr-ca.js +75 -0
  386. data/node_modules/moment/locale/fr-ch.js +79 -0
  387. data/node_modules/moment/locale/fr.js +84 -0
  388. data/node_modules/moment/locale/fy.js +76 -0
  389. data/node_modules/moment/locale/gd.js +77 -0
  390. data/node_modules/moment/locale/gl.js +78 -0
  391. data/node_modules/moment/locale/gom-latn.js +124 -0
  392. data/node_modules/moment/locale/gu.js +125 -0
  393. data/node_modules/moment/locale/he.js +100 -0
  394. data/node_modules/moment/locale/hi.js +125 -0
  395. data/node_modules/moment/locale/hr.js +155 -0
  396. data/node_modules/moment/locale/hu.js +111 -0
  397. data/node_modules/moment/locale/hy-am.js +96 -0
  398. data/node_modules/moment/locale/id.js +84 -0
  399. data/node_modules/moment/locale/is.js +133 -0
  400. data/node_modules/moment/locale/it.js +71 -0
  401. data/node_modules/moment/locale/ja.js +81 -0
  402. data/node_modules/moment/locale/jv.js +84 -0
  403. data/node_modules/moment/locale/ka.js +90 -0
  404. data/node_modules/moment/locale/kk.js +88 -0
  405. data/node_modules/moment/locale/km.js +59 -0
  406. data/node_modules/moment/locale/kn.js +127 -0
  407. data/node_modules/moment/locale/ko.js +83 -0
  408. data/node_modules/moment/locale/ky.js +89 -0
  409. data/node_modules/moment/locale/lb.js +138 -0
  410. data/node_modules/moment/locale/lo.js +71 -0
  411. data/node_modules/moment/locale/lt.js +119 -0
  412. data/node_modules/moment/locale/lv.js +99 -0
  413. data/node_modules/moment/locale/me.js +113 -0
  414. data/node_modules/moment/locale/mi.js +65 -0
  415. data/node_modules/moment/locale/mk.js +91 -0
  416. data/node_modules/moment/locale/ml.js +82 -0
  417. data/node_modules/moment/locale/mr.js +162 -0
  418. data/node_modules/moment/locale/ms-my.js +84 -0
  419. data/node_modules/moment/locale/ms.js +83 -0
  420. data/node_modules/moment/locale/mt.js +61 -0
  421. data/node_modules/moment/locale/my.js +97 -0
  422. data/node_modules/moment/locale/nb.js +64 -0
  423. data/node_modules/moment/locale/ne.js +124 -0
  424. data/node_modules/moment/locale/nl-be.js +89 -0
  425. data/node_modules/moment/locale/nl.js +89 -0
  426. data/node_modules/moment/locale/nn.js +61 -0
  427. data/node_modules/moment/locale/pa-in.js +125 -0
  428. data/node_modules/moment/locale/pl.js +127 -0
  429. data/node_modules/moment/locale/pt-br.js +62 -0
  430. data/node_modules/moment/locale/pt.js +66 -0
  431. data/node_modules/moment/locale/ro.js +77 -0
  432. data/node_modules/moment/locale/ru.js +185 -0
  433. data/node_modules/moment/locale/sd.js +99 -0
  434. data/node_modules/moment/locale/se.js +62 -0
  435. data/node_modules/moment/locale/si.js +72 -0
  436. data/node_modules/moment/locale/sk.js +158 -0
  437. data/node_modules/moment/locale/sl.js +174 -0
  438. data/node_modules/moment/locale/sq.js +71 -0
  439. data/node_modules/moment/locale/sr-cyrl.js +112 -0
  440. data/node_modules/moment/locale/sr.js +112 -0
  441. data/node_modules/moment/locale/ss.js +90 -0
  442. data/node_modules/moment/locale/sv.js +70 -0
  443. data/node_modules/moment/locale/sw.js +60 -0
  444. data/node_modules/moment/locale/ta.js +131 -0
  445. data/node_modules/moment/locale/te.js +90 -0
  446. data/node_modules/moment/locale/tet.js +69 -0
  447. data/node_modules/moment/locale/th.js +68 -0
  448. data/node_modules/moment/locale/tl-ph.js +63 -0
  449. data/node_modules/moment/locale/tlh.js +123 -0
  450. data/node_modules/moment/locale/tr.js +91 -0
  451. data/node_modules/moment/locale/tzl.js +93 -0
  452. data/node_modules/moment/locale/tzm-latn.js +59 -0
  453. data/node_modules/moment/locale/tzm.js +59 -0
  454. data/node_modules/moment/locale/uk.js +153 -0
  455. data/node_modules/moment/locale/ur.js +100 -0
  456. data/node_modules/moment/locale/uz-latn.js +59 -0
  457. data/node_modules/moment/locale/uz.js +59 -0
  458. data/node_modules/moment/locale/vi.js +80 -0
  459. data/node_modules/moment/locale/x-pseudo.js +69 -0
  460. data/node_modules/moment/locale/yo.js +61 -0
  461. data/node_modules/moment/locale/zh-cn.js +112 -0
  462. data/node_modules/moment/locale/zh-hk.js +106 -0
  463. data/node_modules/moment/locale/zh-tw.js +105 -0
  464. data/node_modules/moment/min/locales.js +9769 -0
  465. data/node_modules/moment/min/moment-with-locales.js +14289 -0
  466. data/node_modules/moment/moment.js +4535 -0
  467. data/node_modules/moment/package.json +99 -0
  468. data/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +1204 -0
  469. data/node_modules/moment-timezone/builds/moment-timezone-with-data.js +1204 -0
  470. data/node_modules/moment-timezone/moment-timezone-utils.js +316 -0
  471. data/node_modules/moment-timezone/moment-timezone.js +605 -0
  472. data/node_modules/moment-timezone/package.json +50 -0
  473. data/node_modules/nprogress/nprogress.css +74 -0
  474. data/node_modules/nprogress/nprogress.js +480 -0
  475. data/node_modules/nprogress/package.json +47 -0
  476. data/node_modules/nprogress/support/extras.css +4 -0
  477. data/node_modules/roboto-fontface/css/mixins.scss +36 -0
  478. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black-italic.scss +3 -0
  479. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black.scss +3 -0
  480. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold-italic.scss +3 -0
  481. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold.scss +3 -0
  482. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light-italic.scss +3 -0
  483. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light.scss +3 -0
  484. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium-italic.scss +3 -0
  485. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium.scss +3 -0
  486. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular-italic.scss +3 -0
  487. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular.scss +3 -0
  488. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin-italic.scss +3 -0
  489. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin.scss +3 -0
  490. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface.scss +12 -0
  491. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold-italic.scss +3 -0
  492. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold.scss +3 -0
  493. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light-italic.scss +3 -0
  494. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light.scss +3 -0
  495. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular-italic.scss +3 -0
  496. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular.scss +3 -0
  497. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface.scss +6 -0
  498. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-bold.scss +3 -0
  499. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-light.scss +3 -0
  500. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-regular.scss +3 -0
  501. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-thin.scss +3 -0
  502. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface.scss +4 -0
  503. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.eot +0 -0
  504. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.svg +10968 -0
  505. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.ttf +0 -0
  506. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff +0 -0
  507. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff2 +0 -0
  508. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.eot +0 -0
  509. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.svg +11086 -0
  510. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
  511. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff +0 -0
  512. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff2 +0 -0
  513. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.eot +0 -0
  514. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.svg +11010 -0
  515. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.ttf +0 -0
  516. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff +0 -0
  517. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff2 +0 -0
  518. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.eot +0 -0
  519. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.svg +11096 -0
  520. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
  521. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff +0 -0
  522. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff2 +0 -0
  523. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.eot +0 -0
  524. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.svg +10564 -0
  525. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.ttf +0 -0
  526. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff +0 -0
  527. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff2 +0 -0
  528. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.eot +0 -0
  529. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.svg +10646 -0
  530. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.ttf +0 -0
  531. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff +0 -0
  532. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff2 +0 -0
  533. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.eot +0 -0
  534. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.svg +10999 -0
  535. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.ttf +0 -0
  536. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff +0 -0
  537. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff2 +0 -0
  538. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.eot +0 -0
  539. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.svg +11100 -0
  540. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
  541. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff +0 -0
  542. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff2 +0 -0
  543. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.eot +0 -0
  544. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.svg +10520 -0
  545. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.ttf +0 -0
  546. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff +0 -0
  547. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff2 +0 -0
  548. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.eot +0 -0
  549. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.svg +10629 -0
  550. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.ttf +0 -0
  551. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff +0 -0
  552. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff2 +0 -0
  553. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.eot +0 -0
  554. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.svg +10617 -0
  555. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.ttf +0 -0
  556. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff +0 -0
  557. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff2 +0 -0
  558. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.eot +0 -0
  559. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.svg +10726 -0
  560. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
  561. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff +0 -0
  562. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff2 +0 -0
  563. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.eot +0 -0
  564. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.svg +643 -0
  565. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.ttf +0 -0
  566. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff +0 -0
  567. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff2 +0 -0
  568. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.eot +0 -0
  569. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.svg +643 -0
  570. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.ttf +0 -0
  571. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff +0 -0
  572. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff2 +0 -0
  573. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.eot +0 -0
  574. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.svg +643 -0
  575. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.ttf +0 -0
  576. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff +0 -0
  577. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff2 +0 -0
  578. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.eot +0 -0
  579. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.svg +643 -0
  580. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.ttf +0 -0
  581. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff +0 -0
  582. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff2 +0 -0
  583. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.eot +0 -0
  584. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.svg +644 -0
  585. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.ttf +0 -0
  586. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff +0 -0
  587. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2 +0 -0
  588. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.eot +0 -0
  589. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.svg +644 -0
  590. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.ttf +0 -0
  591. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff +0 -0
  592. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff2 +0 -0
  593. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.eot +0 -0
  594. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.svg +679 -0
  595. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.ttf +0 -0
  596. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff +0 -0
  597. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff2 +0 -0
  598. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.eot +0 -0
  599. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.svg +678 -0
  600. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.ttf +0 -0
  601. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff +0 -0
  602. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff2 +0 -0
  603. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.eot +0 -0
  604. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.svg +678 -0
  605. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.ttf +0 -0
  606. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff +0 -0
  607. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff2 +0 -0
  608. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.eot +0 -0
  609. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.svg +678 -0
  610. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.ttf +0 -0
  611. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff +0 -0
  612. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff2 +0 -0
  613. data/node_modules/roboto-fontface/package.json +28 -0
  614. data/node_modules/signature_pad/dist/signature_pad.js +610 -0
  615. data/node_modules/signature_pad/package.json +41 -0
  616. data/package.json +25 -0
  617. data/yarn.lock +126 -0
  618. metadata +708 -0
@@ -0,0 +1,555 @@
1
+ (function($, undefined) {
2
+
3
+ /**
4
+ * Unobtrusive scripting adapter for jQuery
5
+ * https://github.com/rails/jquery-ujs
6
+ *
7
+ * Requires jQuery 1.8.0 or later.
8
+ *
9
+ * Released under the MIT license
10
+ *
11
+ */
12
+
13
+ // Cut down on the number of issues from people inadvertently including jquery_ujs twice
14
+ // by detecting and raising an error when it happens.
15
+ 'use strict';
16
+
17
+ if ( $.rails !== undefined ) {
18
+ $.error('jquery-ujs has already been loaded!');
19
+ }
20
+
21
+ // Shorthand to make it a little easier to call public rails functions from within rails.js
22
+ var rails;
23
+ var $document = $(document);
24
+
25
+ $.rails = rails = {
26
+ // Link elements bound by jquery-ujs
27
+ linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]',
28
+
29
+ // Button elements bound by jquery-ujs
30
+ buttonClickSelector: 'button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)',
31
+
32
+ // Select elements bound by jquery-ujs
33
+ inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',
34
+
35
+ // Form elements bound by jquery-ujs
36
+ formSubmitSelector: 'form',
37
+
38
+ // Form input elements bound by jquery-ujs
39
+ formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])',
40
+
41
+ // Form input elements disabled during form submission
42
+ disableSelector: 'input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled',
43
+
44
+ // Form input elements re-enabled after form submission
45
+ enableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled',
46
+
47
+ // Form required input elements
48
+ requiredInputSelector: 'input[name][required]:not([disabled]), textarea[name][required]:not([disabled])',
49
+
50
+ // Form file input elements
51
+ fileInputSelector: 'input[name][type=file]:not([disabled])',
52
+
53
+ // Link onClick disable selector with possible reenable after remote submission
54
+ linkDisableSelector: 'a[data-disable-with], a[data-disable]',
55
+
56
+ // Button onClick disable selector with possible reenable after remote submission
57
+ buttonDisableSelector: 'button[data-remote][data-disable-with], button[data-remote][data-disable]',
58
+
59
+ // Up-to-date Cross-Site Request Forgery token
60
+ csrfToken: function() {
61
+ return $('meta[name=csrf-token]').attr('content');
62
+ },
63
+
64
+ // URL param that must contain the CSRF token
65
+ csrfParam: function() {
66
+ return $('meta[name=csrf-param]').attr('content');
67
+ },
68
+
69
+ // Make sure that every Ajax request sends the CSRF token
70
+ CSRFProtection: function(xhr) {
71
+ var token = rails.csrfToken();
72
+ if (token) xhr.setRequestHeader('X-CSRF-Token', token);
73
+ },
74
+
75
+ // Make sure that all forms have actual up-to-date tokens (cached forms contain old ones)
76
+ refreshCSRFTokens: function(){
77
+ $('form input[name="' + rails.csrfParam() + '"]').val(rails.csrfToken());
78
+ },
79
+
80
+ // Triggers an event on an element and returns false if the event result is false
81
+ fire: function(obj, name, data) {
82
+ var event = $.Event(name);
83
+ obj.trigger(event, data);
84
+ return event.result !== false;
85
+ },
86
+
87
+ // Default confirm dialog, may be overridden with custom confirm dialog in $.rails.confirm
88
+ confirm: function(message) {
89
+ return confirm(message);
90
+ },
91
+
92
+ // Default ajax function, may be overridden with custom function in $.rails.ajax
93
+ ajax: function(options) {
94
+ return $.ajax(options);
95
+ },
96
+
97
+ // Default way to get an element's href. May be overridden at $.rails.href.
98
+ href: function(element) {
99
+ return element[0].href;
100
+ },
101
+
102
+ // Checks "data-remote" if true to handle the request through a XHR request.
103
+ isRemote: function(element) {
104
+ return element.data('remote') !== undefined && element.data('remote') !== false;
105
+ },
106
+
107
+ // Submits "remote" forms and links with ajax
108
+ handleRemote: function(element) {
109
+ var method, url, data, withCredentials, dataType, options;
110
+
111
+ if (rails.fire(element, 'ajax:before')) {
112
+ withCredentials = element.data('with-credentials') || null;
113
+ dataType = element.data('type') || ($.ajaxSettings && $.ajaxSettings.dataType);
114
+
115
+ if (element.is('form')) {
116
+ method = element.data('ujs:submit-button-formmethod') || element.attr('method');
117
+ url = element.data('ujs:submit-button-formaction') || element.attr('action');
118
+ data = $(element[0]).serializeArray();
119
+ // memoized value from clicked submit button
120
+ var button = element.data('ujs:submit-button');
121
+ if (button) {
122
+ data.push(button);
123
+ element.data('ujs:submit-button', null);
124
+ }
125
+ element.data('ujs:submit-button-formmethod', null);
126
+ element.data('ujs:submit-button-formaction', null);
127
+ } else if (element.is(rails.inputChangeSelector)) {
128
+ method = element.data('method');
129
+ url = element.data('url');
130
+ data = element.serialize();
131
+ if (element.data('params')) data = data + '&' + element.data('params');
132
+ } else if (element.is(rails.buttonClickSelector)) {
133
+ method = element.data('method') || 'get';
134
+ url = element.data('url');
135
+ data = element.serialize();
136
+ if (element.data('params')) data = data + '&' + element.data('params');
137
+ } else {
138
+ method = element.data('method');
139
+ url = rails.href(element);
140
+ data = element.data('params') || null;
141
+ }
142
+
143
+ options = {
144
+ type: method || 'GET', data: data, dataType: dataType,
145
+ // stopping the "ajax:beforeSend" event will cancel the ajax request
146
+ beforeSend: function(xhr, settings) {
147
+ if (settings.dataType === undefined) {
148
+ xhr.setRequestHeader('accept', '*/*;q=0.5, ' + settings.accepts.script);
149
+ }
150
+ if (rails.fire(element, 'ajax:beforeSend', [xhr, settings])) {
151
+ element.trigger('ajax:send', xhr);
152
+ } else {
153
+ return false;
154
+ }
155
+ },
156
+ success: function(data, status, xhr) {
157
+ element.trigger('ajax:success', [data, status, xhr]);
158
+ },
159
+ complete: function(xhr, status) {
160
+ element.trigger('ajax:complete', [xhr, status]);
161
+ },
162
+ error: function(xhr, status, error) {
163
+ element.trigger('ajax:error', [xhr, status, error]);
164
+ },
165
+ crossDomain: rails.isCrossDomain(url)
166
+ };
167
+
168
+ // There is no withCredentials for IE6-8 when
169
+ // "Enable native XMLHTTP support" is disabled
170
+ if (withCredentials) {
171
+ options.xhrFields = {
172
+ withCredentials: withCredentials
173
+ };
174
+ }
175
+
176
+ // Only pass url to `ajax` options if not blank
177
+ if (url) { options.url = url; }
178
+
179
+ return rails.ajax(options);
180
+ } else {
181
+ return false;
182
+ }
183
+ },
184
+
185
+ // Determines if the request is a cross domain request.
186
+ isCrossDomain: function(url) {
187
+ var originAnchor = document.createElement('a');
188
+ originAnchor.href = location.href;
189
+ var urlAnchor = document.createElement('a');
190
+
191
+ try {
192
+ urlAnchor.href = url;
193
+ // This is a workaround to a IE bug.
194
+ urlAnchor.href = urlAnchor.href;
195
+
196
+ // If URL protocol is false or is a string containing a single colon
197
+ // *and* host are false, assume it is not a cross-domain request
198
+ // (should only be the case for IE7 and IE compatibility mode).
199
+ // Otherwise, evaluate protocol and host of the URL against the origin
200
+ // protocol and host.
201
+ return !(((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host) ||
202
+ (originAnchor.protocol + '//' + originAnchor.host ===
203
+ urlAnchor.protocol + '//' + urlAnchor.host));
204
+ } catch (e) {
205
+ // If there is an error parsing the URL, assume it is crossDomain.
206
+ return true;
207
+ }
208
+ },
209
+
210
+ // Handles "data-method" on links such as:
211
+ // <a href="/users/5" data-method="delete" rel="nofollow" data-confirm="Are you sure?">Delete</a>
212
+ handleMethod: function(link) {
213
+ var href = rails.href(link),
214
+ method = link.data('method'),
215
+ target = link.attr('target'),
216
+ csrfToken = rails.csrfToken(),
217
+ csrfParam = rails.csrfParam(),
218
+ form = $('<form method="post" action="' + href + '"></form>'),
219
+ metadataInput = '<input name="_method" value="' + method + '" type="hidden" />';
220
+
221
+ if (csrfParam !== undefined && csrfToken !== undefined && !rails.isCrossDomain(href)) {
222
+ metadataInput += '<input name="' + csrfParam + '" value="' + csrfToken + '" type="hidden" />';
223
+ }
224
+
225
+ if (target) { form.attr('target', target); }
226
+
227
+ form.hide().append(metadataInput).appendTo('body');
228
+ form.submit();
229
+ },
230
+
231
+ // Helper function that returns form elements that match the specified CSS selector
232
+ // If form is actually a "form" element this will return associated elements outside the from that have
233
+ // the html form attribute set
234
+ formElements: function(form, selector) {
235
+ return form.is('form') ? $(form[0].elements).filter(selector) : form.find(selector);
236
+ },
237
+
238
+ /* Disables form elements:
239
+ - Caches element value in 'ujs:enable-with' data store
240
+ - Replaces element text with value of 'data-disable-with' attribute
241
+ - Sets disabled property to true
242
+ */
243
+ disableFormElements: function(form) {
244
+ rails.formElements(form, rails.disableSelector).each(function() {
245
+ rails.disableFormElement($(this));
246
+ });
247
+ },
248
+
249
+ disableFormElement: function(element) {
250
+ var method, replacement;
251
+
252
+ method = element.is('button') ? 'html' : 'val';
253
+ replacement = element.data('disable-with');
254
+
255
+ if (replacement !== undefined) {
256
+ element.data('ujs:enable-with', element[method]());
257
+ element[method](replacement);
258
+ }
259
+
260
+ element.prop('disabled', true);
261
+ element.data('ujs:disabled', true);
262
+ },
263
+
264
+ /* Re-enables disabled form elements:
265
+ - Replaces element text with cached value from 'ujs:enable-with' data store (created in `disableFormElements`)
266
+ - Sets disabled property to false
267
+ */
268
+ enableFormElements: function(form) {
269
+ rails.formElements(form, rails.enableSelector).each(function() {
270
+ rails.enableFormElement($(this));
271
+ });
272
+ },
273
+
274
+ enableFormElement: function(element) {
275
+ var method = element.is('button') ? 'html' : 'val';
276
+ if (element.data('ujs:enable-with') !== undefined) {
277
+ element[method](element.data('ujs:enable-with'));
278
+ element.removeData('ujs:enable-with'); // clean up cache
279
+ }
280
+ element.prop('disabled', false);
281
+ element.removeData('ujs:disabled');
282
+ },
283
+
284
+ /* For 'data-confirm' attribute:
285
+ - Fires `confirm` event
286
+ - Shows the confirmation dialog
287
+ - Fires the `confirm:complete` event
288
+
289
+ Returns `true` if no function stops the chain and user chose yes; `false` otherwise.
290
+ Attaching a handler to the element's `confirm` event that returns a `falsy` value cancels the confirmation dialog.
291
+ Attaching a handler to the element's `confirm:complete` event that returns a `falsy` value makes this function
292
+ return false. The `confirm:complete` event is fired whether or not the user answered true or false to the dialog.
293
+ */
294
+ allowAction: function(element) {
295
+ var message = element.data('confirm'),
296
+ answer = false, callback;
297
+ if (!message) { return true; }
298
+
299
+ if (rails.fire(element, 'confirm')) {
300
+ try {
301
+ answer = rails.confirm(message);
302
+ } catch (e) {
303
+ (console.error || console.log).call(console, e.stack || e);
304
+ }
305
+ callback = rails.fire(element, 'confirm:complete', [answer]);
306
+ }
307
+ return answer && callback;
308
+ },
309
+
310
+ // Helper function which checks for blank inputs in a form that match the specified CSS selector
311
+ blankInputs: function(form, specifiedSelector, nonBlank) {
312
+ var foundInputs = $(),
313
+ input,
314
+ valueToCheck,
315
+ radiosForNameWithNoneSelected,
316
+ radioName,
317
+ selector = specifiedSelector || 'input,textarea',
318
+ requiredInputs = form.find(selector),
319
+ checkedRadioButtonNames = {};
320
+
321
+ requiredInputs.each(function() {
322
+ input = $(this);
323
+ if (input.is('input[type=radio]')) {
324
+
325
+ // Don't count unchecked required radio as blank if other radio with same name is checked,
326
+ // regardless of whether same-name radio input has required attribute or not. The spec
327
+ // states https://www.w3.org/TR/html5/forms.html#the-required-attribute
328
+ radioName = input.attr('name');
329
+
330
+ // Skip if we've already seen the radio with this name.
331
+ if (!checkedRadioButtonNames[radioName]) {
332
+
333
+ // If none checked
334
+ if (form.find('input[type=radio]:checked[name="' + radioName + '"]').length === 0) {
335
+ radiosForNameWithNoneSelected = form.find(
336
+ 'input[type=radio][name="' + radioName + '"]');
337
+ foundInputs = foundInputs.add(radiosForNameWithNoneSelected);
338
+ }
339
+
340
+ // We only need to check each name once.
341
+ checkedRadioButtonNames[radioName] = radioName;
342
+ }
343
+ } else {
344
+ valueToCheck = input.is('input[type=checkbox],input[type=radio]') ? input.is(':checked') : !!input.val();
345
+ if (valueToCheck === nonBlank) {
346
+ foundInputs = foundInputs.add(input);
347
+ }
348
+ }
349
+ });
350
+ return foundInputs.length ? foundInputs : false;
351
+ },
352
+
353
+ // Helper function which checks for non-blank inputs in a form that match the specified CSS selector
354
+ nonBlankInputs: function(form, specifiedSelector) {
355
+ return rails.blankInputs(form, specifiedSelector, true); // true specifies nonBlank
356
+ },
357
+
358
+ // Helper function, needed to provide consistent behavior in IE
359
+ stopEverything: function(e) {
360
+ $(e.target).trigger('ujs:everythingStopped');
361
+ e.stopImmediatePropagation();
362
+ return false;
363
+ },
364
+
365
+ // Replace element's html with the 'data-disable-with' after storing original html
366
+ // and prevent clicking on it
367
+ disableElement: function(element) {
368
+ var replacement = element.data('disable-with');
369
+
370
+ if (replacement !== undefined) {
371
+ element.data('ujs:enable-with', element.html()); // store enabled state
372
+ element.html(replacement);
373
+ }
374
+
375
+ element.on('click.railsDisable', function(e) { // prevent further clicking
376
+ return rails.stopEverything(e);
377
+ });
378
+ element.data('ujs:disabled', true);
379
+ },
380
+
381
+ // Restore element to its original state which was disabled by 'disableElement' above
382
+ enableElement: function(element) {
383
+ if (element.data('ujs:enable-with') !== undefined) {
384
+ element.html(element.data('ujs:enable-with')); // set to old enabled state
385
+ element.removeData('ujs:enable-with'); // clean up cache
386
+ }
387
+ element.off('click.railsDisable'); // enable element
388
+ element.removeData('ujs:disabled');
389
+ }
390
+ };
391
+
392
+ if (rails.fire($document, 'rails:attachBindings')) {
393
+
394
+ $.ajaxPrefilter(function(options, originalOptions, xhr){ if ( !options.crossDomain ) { rails.CSRFProtection(xhr); }});
395
+
396
+ // This event works the same as the load event, except that it fires every
397
+ // time the page is loaded.
398
+ //
399
+ // See https://github.com/rails/jquery-ujs/issues/357
400
+ // See https://developer.mozilla.org/en-US/docs/Using_Firefox_1.5_caching
401
+ $(window).on('pageshow.rails', function () {
402
+ $($.rails.enableSelector).each(function () {
403
+ var element = $(this);
404
+
405
+ if (element.data('ujs:disabled')) {
406
+ $.rails.enableFormElement(element);
407
+ }
408
+ });
409
+
410
+ $($.rails.linkDisableSelector).each(function () {
411
+ var element = $(this);
412
+
413
+ if (element.data('ujs:disabled')) {
414
+ $.rails.enableElement(element);
415
+ }
416
+ });
417
+ });
418
+
419
+ $document.on('ajax:complete', rails.linkDisableSelector, function() {
420
+ rails.enableElement($(this));
421
+ });
422
+
423
+ $document.on('ajax:complete', rails.buttonDisableSelector, function() {
424
+ rails.enableFormElement($(this));
425
+ });
426
+
427
+ $document.on('click.rails', rails.linkClickSelector, function(e) {
428
+ var link = $(this), method = link.data('method'), data = link.data('params'), metaClick = e.metaKey || e.ctrlKey;
429
+ if (!rails.allowAction(link)) return rails.stopEverything(e);
430
+
431
+ if (!metaClick && link.is(rails.linkDisableSelector)) rails.disableElement(link);
432
+
433
+ if (rails.isRemote(link)) {
434
+ if (metaClick && (!method || method === 'GET') && !data) { return true; }
435
+
436
+ var handleRemote = rails.handleRemote(link);
437
+ // Response from rails.handleRemote() will either be false or a deferred object promise.
438
+ if (handleRemote === false) {
439
+ rails.enableElement(link);
440
+ } else {
441
+ handleRemote.fail( function() { rails.enableElement(link); } );
442
+ }
443
+ return false;
444
+
445
+ } else if (method) {
446
+ rails.handleMethod(link);
447
+ return false;
448
+ }
449
+ });
450
+
451
+ $document.on('click.rails', rails.buttonClickSelector, function(e) {
452
+ var button = $(this);
453
+
454
+ if (!rails.allowAction(button) || !rails.isRemote(button)) return rails.stopEverything(e);
455
+
456
+ if (button.is(rails.buttonDisableSelector)) rails.disableFormElement(button);
457
+
458
+ var handleRemote = rails.handleRemote(button);
459
+ // Response from rails.handleRemote() will either be false or a deferred object promise.
460
+ if (handleRemote === false) {
461
+ rails.enableFormElement(button);
462
+ } else {
463
+ handleRemote.fail( function() { rails.enableFormElement(button); } );
464
+ }
465
+ return false;
466
+ });
467
+
468
+ $document.on('change.rails', rails.inputChangeSelector, function(e) {
469
+ var link = $(this);
470
+ if (!rails.allowAction(link) || !rails.isRemote(link)) return rails.stopEverything(e);
471
+
472
+ rails.handleRemote(link);
473
+ return false;
474
+ });
475
+
476
+ $document.on('submit.rails', rails.formSubmitSelector, function(e) {
477
+ var form = $(this),
478
+ remote = rails.isRemote(form),
479
+ blankRequiredInputs,
480
+ nonBlankFileInputs;
481
+
482
+ if (!rails.allowAction(form)) return rails.stopEverything(e);
483
+
484
+ // Skip other logic when required values are missing or file upload is present
485
+ if (form.attr('novalidate') === undefined) {
486
+ if (form.data('ujs:formnovalidate-button') === undefined) {
487
+ blankRequiredInputs = rails.blankInputs(form, rails.requiredInputSelector, false);
488
+ if (blankRequiredInputs && rails.fire(form, 'ajax:aborted:required', [blankRequiredInputs])) {
489
+ return rails.stopEverything(e);
490
+ }
491
+ } else {
492
+ // Clear the formnovalidate in case the next button click is not on a formnovalidate button
493
+ // Not strictly necessary to do here, since it is also reset on each button click, but just to be certain
494
+ form.data('ujs:formnovalidate-button', undefined);
495
+ }
496
+ }
497
+
498
+ if (remote) {
499
+ nonBlankFileInputs = rails.nonBlankInputs(form, rails.fileInputSelector);
500
+ if (nonBlankFileInputs) {
501
+ // Slight timeout so that the submit button gets properly serialized
502
+ // (make it easy for event handler to serialize form without disabled values)
503
+ setTimeout(function(){ rails.disableFormElements(form); }, 13);
504
+ var aborted = rails.fire(form, 'ajax:aborted:file', [nonBlankFileInputs]);
505
+
506
+ // Re-enable form elements if event bindings return false (canceling normal form submission)
507
+ if (!aborted) { setTimeout(function(){ rails.enableFormElements(form); }, 13); }
508
+
509
+ return aborted;
510
+ }
511
+
512
+ rails.handleRemote(form);
513
+ return false;
514
+
515
+ } else {
516
+ // Slight timeout so that the submit button gets properly serialized
517
+ setTimeout(function(){ rails.disableFormElements(form); }, 13);
518
+ }
519
+ });
520
+
521
+ $document.on('click.rails', rails.formInputClickSelector, function(event) {
522
+ var button = $(this);
523
+
524
+ if (!rails.allowAction(button)) return rails.stopEverything(event);
525
+
526
+ // Register the pressed submit button
527
+ var name = button.attr('name'),
528
+ data = name ? {name:name, value:button.val()} : null;
529
+
530
+ var form = button.closest('form');
531
+ if (form.length === 0) {
532
+ form = $('#' + button.attr('form'));
533
+ }
534
+ form.data('ujs:submit-button', data);
535
+
536
+ // Save attributes from button
537
+ form.data('ujs:formnovalidate-button', button.attr('formnovalidate'));
538
+ form.data('ujs:submit-button-formaction', button.attr('formaction'));
539
+ form.data('ujs:submit-button-formmethod', button.attr('formmethod'));
540
+ });
541
+
542
+ $document.on('ajax:send.rails', rails.formSubmitSelector, function(event) {
543
+ if (this === event.target) rails.disableFormElements($(this));
544
+ });
545
+
546
+ $document.on('ajax:complete.rails', rails.formSubmitSelector, function(event) {
547
+ if (this === event.target) rails.enableFormElements($(this));
548
+ });
549
+
550
+ $(function(){
551
+ rails.refreshCSRFTokens();
552
+ });
553
+ }
554
+
555
+ })( jQuery );
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "js-cookie",
3
+ "version": "2.2.0",
4
+ "description": "A simple, lightweight JavaScript API for handling cookies",
5
+ "main": "src/js.cookie.js",
6
+ "directories": {
7
+ "test": "test"
8
+ },
9
+ "keywords": [
10
+ "jquery-plugin",
11
+ "cookie",
12
+ "cookies",
13
+ "browser",
14
+ "amd",
15
+ "commonjs",
16
+ "client",
17
+ "js-cookie",
18
+ "browserify"
19
+ ],
20
+ "scripts": {
21
+ "test": "grunt test"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git://github.com/js-cookie/js-cookie.git"
26
+ },
27
+ "files": [
28
+ "src/**/*.js",
29
+ "SERVER_SIDE.md",
30
+ "CONTRIBUTING.md"
31
+ ],
32
+ "author": "Klaus Hartl",
33
+ "license": "MIT",
34
+ "devDependencies": {
35
+ "grunt": "1.0.1",
36
+ "grunt-compare-size": "0.4.2",
37
+ "grunt-contrib-connect": "1.0.2",
38
+ "grunt-contrib-jshint": "1.1.0",
39
+ "grunt-contrib-nodeunit": "1.0.0",
40
+ "grunt-contrib-qunit": "2.0.0",
41
+ "grunt-contrib-uglify": "2.3.0",
42
+ "grunt-contrib-watch": "1.0.0",
43
+ "grunt-jscs": "3.0.1",
44
+ "grunt-saucelabs": "9.0.0",
45
+ "gzip-js": "0.3.2",
46
+ "qunitjs": "1.23.1",
47
+ "requirejs": "2.3.5"
48
+ }
49
+ }