rails_modular_admin 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1416) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/list.txt +23 -0
  3. data/app/assets/javascripts/rails_modular_admin/vendor.js +60351 -60351
  4. data/app/assets/javascripts/rails_modular_admin.js +1 -0
  5. data/app/assets/node_modules/animate.css/LICENSE +21 -0
  6. data/app/assets/node_modules/animate.css/README.md +233 -0
  7. data/app/assets/node_modules/animate.css/animate-config.json +120 -0
  8. data/app/assets/node_modules/animate.css/animate.css +3494 -0
  9. data/app/assets/node_modules/animate.css/animate.min.css +11 -0
  10. data/app/assets/node_modules/animate.css/bower.json +5 -0
  11. data/app/assets/node_modules/animate.css/gulpfile.js +107 -0
  12. data/app/assets/node_modules/animate.css/package.json +54 -0
  13. data/app/assets/node_modules/animate.css/source/_base.css +8 -0
  14. data/app/assets/node_modules/animate.css/source/attention_seekers/bounce.css +30 -0
  15. data/app/assets/node_modules/animate.css/source/attention_seekers/flash.css +16 -0
  16. data/app/assets/node_modules/animate.css/source/attention_seekers/headShake.css +30 -0
  17. data/app/assets/node_modules/animate.css/source/attention_seekers/jello.css +40 -0
  18. data/app/assets/node_modules/animate.css/source/attention_seekers/pulse.css +19 -0
  19. data/app/assets/node_modules/animate.css/source/attention_seekers/rubberBand.css +33 -0
  20. data/app/assets/node_modules/animate.css/source/attention_seekers/shake.css +25 -0
  21. data/app/assets/node_modules/animate.css/source/attention_seekers/swing.css +26 -0
  22. data/app/assets/node_modules/animate.css/source/attention_seekers/tada.css +31 -0
  23. data/app/assets/node_modules/animate.css/source/attention_seekers/wobble.css +35 -0
  24. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceIn.css +42 -0
  25. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInDown.css +35 -0
  26. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInLeft.css +35 -0
  27. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInRight.css +35 -0
  28. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInUp.css +35 -0
  29. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOut.css +21 -0
  30. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutDown.css +20 -0
  31. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutLeft.css +15 -0
  32. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutRight.css +15 -0
  33. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutUp.css +20 -0
  34. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeIn.css +13 -0
  35. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInDown.css +15 -0
  36. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInDownBig.css +15 -0
  37. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInLeft.css +15 -0
  38. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInLeftBig.css +15 -0
  39. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInRight.css +15 -0
  40. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInRightBig.css +15 -0
  41. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInUp.css +15 -0
  42. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInUpBig.css +15 -0
  43. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOut.css +13 -0
  44. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutDown.css +14 -0
  45. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutDownBig.css +14 -0
  46. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutLeft.css +14 -0
  47. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutLeftBig.css +14 -0
  48. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutRight.css +14 -0
  49. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutRightBig.css +14 -0
  50. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutUp.css +14 -0
  51. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutUpBig.css +14 -0
  52. data/app/assets/node_modules/animate.css/source/flippers/flip.css +31 -0
  53. data/app/assets/node_modules/animate.css/source/flippers/flipInX.css +30 -0
  54. data/app/assets/node_modules/animate.css/source/flippers/flipInY.css +30 -0
  55. data/app/assets/node_modules/animate.css/source/flippers/flipOutX.css +21 -0
  56. data/app/assets/node_modules/animate.css/source/flippers/flipOutY.css +21 -0
  57. data/app/assets/node_modules/animate.css/source/lightspeed/lightSpeedIn.css +26 -0
  58. data/app/assets/node_modules/animate.css/source/lightspeed/lightSpeedOut.css +15 -0
  59. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateIn.css +17 -0
  60. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInDownLeft.css +17 -0
  61. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInDownRight.css +17 -0
  62. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInUpLeft.css +17 -0
  63. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInUpRight.css +17 -0
  64. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOut.css +16 -0
  65. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutDownLeft.css +16 -0
  66. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutDownRight.css +16 -0
  67. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutUpLeft.css +16 -0
  68. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutUpRight.css +16 -0
  69. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInDown.css +14 -0
  70. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInLeft.css +14 -0
  71. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInRight.css +14 -0
  72. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInUp.css +14 -0
  73. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutDown.css +14 -0
  74. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutLeft.css +14 -0
  75. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutRight.css +14 -0
  76. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutUp.css +14 -0
  77. data/app/assets/node_modules/animate.css/source/specials/hinge.css +31 -0
  78. data/app/assets/node_modules/animate.css/source/specials/jackInTheBox.css +24 -0
  79. data/app/assets/node_modules/animate.css/source/specials/rollIn.css +17 -0
  80. data/app/assets/node_modules/animate.css/source/specials/rollOut.css +16 -0
  81. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomIn.css +14 -0
  82. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInDown.css +17 -0
  83. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInLeft.css +17 -0
  84. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInRight.css +17 -0
  85. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInUp.css +17 -0
  86. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOut.css +18 -0
  87. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutDown.css +18 -0
  88. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutLeft.css +16 -0
  89. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutRight.css +16 -0
  90. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutUp.css +18 -0
  91. data/app/assets/node_modules/bootstrap/LICENSE +22 -0
  92. data/app/assets/node_modules/bootstrap/README.md +171 -0
  93. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.css +1912 -0
  94. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.css.map +1 -0
  95. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css +7 -0
  96. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css.map +1 -0
  97. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css +330 -0
  98. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css.map +1 -0
  99. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css +8 -0
  100. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css.map +1 -0
  101. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.css +8981 -0
  102. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.css.map +1 -0
  103. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.min.css +7 -0
  104. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.min.css.map +1 -0
  105. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js +6444 -0
  106. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js.map +1 -0
  107. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
  108. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -0
  109. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.js +3927 -0
  110. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.js.map +1 -0
  111. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.min.js +7 -0
  112. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.min.js.map +1 -0
  113. data/app/assets/node_modules/bootstrap/js/dist/alert.js +178 -0
  114. data/app/assets/node_modules/bootstrap/js/dist/alert.js.map +1 -0
  115. data/app/assets/node_modules/bootstrap/js/dist/button.js +167 -0
  116. data/app/assets/node_modules/bootstrap/js/dist/button.js.map +1 -0
  117. data/app/assets/node_modules/bootstrap/js/dist/carousel.js +508 -0
  118. data/app/assets/node_modules/bootstrap/js/dist/carousel.js.map +1 -0
  119. data/app/assets/node_modules/bootstrap/js/dist/collapse.js +367 -0
  120. data/app/assets/node_modules/bootstrap/js/dist/collapse.js.map +1 -0
  121. data/app/assets/node_modules/bootstrap/js/dist/dropdown.js +489 -0
  122. data/app/assets/node_modules/bootstrap/js/dist/dropdown.js.map +1 -0
  123. data/app/assets/node_modules/bootstrap/js/dist/index.js +23 -0
  124. data/app/assets/node_modules/bootstrap/js/dist/index.js.map +1 -0
  125. data/app/assets/node_modules/bootstrap/js/dist/modal.js +585 -0
  126. data/app/assets/node_modules/bootstrap/js/dist/modal.js.map +1 -0
  127. data/app/assets/node_modules/bootstrap/js/dist/popover.js +206 -0
  128. data/app/assets/node_modules/bootstrap/js/dist/popover.js.map +1 -0
  129. data/app/assets/node_modules/bootstrap/js/dist/scrollspy.js +319 -0
  130. data/app/assets/node_modules/bootstrap/js/dist/scrollspy.js.map +1 -0
  131. data/app/assets/node_modules/bootstrap/js/dist/tab.js +251 -0
  132. data/app/assets/node_modules/bootstrap/js/dist/tab.js.map +1 -0
  133. data/app/assets/node_modules/bootstrap/js/dist/tooltip.js +674 -0
  134. data/app/assets/node_modules/bootstrap/js/dist/tooltip.js.map +1 -0
  135. data/app/assets/node_modules/bootstrap/js/dist/util.js +132 -0
  136. data/app/assets/node_modules/bootstrap/js/dist/util.js.map +1 -0
  137. data/app/assets/node_modules/bootstrap/js/src/alert.js +183 -0
  138. data/app/assets/node_modules/bootstrap/js/src/button.js +175 -0
  139. data/app/assets/node_modules/bootstrap/js/src/carousel.js +517 -0
  140. data/app/assets/node_modules/bootstrap/js/src/collapse.js +394 -0
  141. data/app/assets/node_modules/bootstrap/js/src/dropdown.js +487 -0
  142. data/app/assets/node_modules/bootstrap/js/src/index.js +50 -0
  143. data/app/assets/node_modules/bootstrap/js/src/modal.js +579 -0
  144. data/app/assets/node_modules/bootstrap/js/src/popover.js +188 -0
  145. data/app/assets/node_modules/bootstrap/js/src/scrollspy.js +329 -0
  146. data/app/assets/node_modules/bootstrap/js/src/tab.js +263 -0
  147. data/app/assets/node_modules/bootstrap/js/src/tooltip.js +723 -0
  148. data/app/assets/node_modules/bootstrap/js/src/util.js +153 -0
  149. data/app/assets/node_modules/bootstrap/package.json +218 -0
  150. data/app/assets/node_modules/bootstrap/scss/_alert.scss +51 -0
  151. data/app/assets/node_modules/bootstrap/scss/_badge.scss +47 -0
  152. data/app/assets/node_modules/bootstrap/scss/_breadcrumb.scss +41 -0
  153. data/app/assets/node_modules/bootstrap/scss/_button-group.scss +172 -0
  154. data/app/assets/node_modules/bootstrap/scss/_buttons.scss +144 -0
  155. data/app/assets/node_modules/bootstrap/scss/_card.scss +301 -0
  156. data/app/assets/node_modules/bootstrap/scss/_carousel.scss +236 -0
  157. data/app/assets/node_modules/bootstrap/scss/_close.scss +34 -0
  158. data/app/assets/node_modules/bootstrap/scss/_code.scss +48 -0
  159. data/app/assets/node_modules/bootstrap/scss/_custom-forms.scss +421 -0
  160. data/app/assets/node_modules/bootstrap/scss/_dropdown.scss +166 -0
  161. data/app/assets/node_modules/bootstrap/scss/_forms.scss +335 -0
  162. data/app/assets/node_modules/bootstrap/scss/_functions.scss +86 -0
  163. data/app/assets/node_modules/bootstrap/scss/_grid.scss +52 -0
  164. data/app/assets/node_modules/bootstrap/scss/_images.scss +42 -0
  165. data/app/assets/node_modules/bootstrap/scss/_input-group.scss +158 -0
  166. data/app/assets/node_modules/bootstrap/scss/_jumbotron.scss +16 -0
  167. data/app/assets/node_modules/bootstrap/scss/_list-group.scss +115 -0
  168. data/app/assets/node_modules/bootstrap/scss/_media.scss +8 -0
  169. data/app/assets/node_modules/bootstrap/scss/_mixins.scss +41 -0
  170. data/app/assets/node_modules/bootstrap/scss/_modal.scss +168 -0
  171. data/app/assets/node_modules/bootstrap/scss/_nav.scss +118 -0
  172. data/app/assets/node_modules/bootstrap/scss/_navbar.scss +299 -0
  173. data/app/assets/node_modules/bootstrap/scss/_pagination.scss +78 -0
  174. data/app/assets/node_modules/bootstrap/scss/_popover.scss +183 -0
  175. data/app/assets/node_modules/bootstrap/scss/_print.scss +141 -0
  176. data/app/assets/node_modules/bootstrap/scss/_progress.scss +34 -0
  177. data/app/assets/node_modules/bootstrap/scss/_reboot.scss +480 -0
  178. data/app/assets/node_modules/bootstrap/scss/_root.scss +19 -0
  179. data/app/assets/node_modules/bootstrap/scss/_tables.scss +188 -0
  180. data/app/assets/node_modules/bootstrap/scss/_tooltip.scss +115 -0
  181. data/app/assets/node_modules/bootstrap/scss/_transitions.scss +22 -0
  182. data/app/assets/node_modules/bootstrap/scss/_type.scss +125 -0
  183. data/app/assets/node_modules/bootstrap/scss/_utilities.scss +15 -0
  184. data/app/assets/node_modules/bootstrap/scss/_variables.scss +929 -0
  185. data/app/assets/node_modules/bootstrap/scss/bootstrap-grid.scss +32 -0
  186. data/app/assets/node_modules/bootstrap/scss/bootstrap-reboot.scss +12 -0
  187. data/app/assets/node_modules/bootstrap/scss/bootstrap.scss +42 -0
  188. data/app/assets/node_modules/bootstrap/scss/mixins/_alert.scss +13 -0
  189. data/app/assets/node_modules/bootstrap/scss/mixins/_background-variant.scss +21 -0
  190. data/app/assets/node_modules/bootstrap/scss/mixins/_badge.scss +12 -0
  191. data/app/assets/node_modules/bootstrap/scss/mixins/_border-radius.scss +35 -0
  192. data/app/assets/node_modules/bootstrap/scss/mixins/_box-shadow.scss +5 -0
  193. data/app/assets/node_modules/bootstrap/scss/mixins/_breakpoints.scss +123 -0
  194. data/app/assets/node_modules/bootstrap/scss/mixins/_buttons.scss +109 -0
  195. data/app/assets/node_modules/bootstrap/scss/mixins/_caret.scss +66 -0
  196. data/app/assets/node_modules/bootstrap/scss/mixins/_clearfix.scss +7 -0
  197. data/app/assets/node_modules/bootstrap/scss/mixins/_float.scss +11 -0
  198. data/app/assets/node_modules/bootstrap/scss/mixins/_forms.scss +147 -0
  199. data/app/assets/node_modules/bootstrap/scss/mixins/_gradients.scss +45 -0
  200. data/app/assets/node_modules/bootstrap/scss/mixins/_grid-framework.scss +67 -0
  201. data/app/assets/node_modules/bootstrap/scss/mixins/_grid.scss +52 -0
  202. data/app/assets/node_modules/bootstrap/scss/mixins/_hover.scss +37 -0
  203. data/app/assets/node_modules/bootstrap/scss/mixins/_image.scss +36 -0
  204. data/app/assets/node_modules/bootstrap/scss/mixins/_list-group.scss +21 -0
  205. data/app/assets/node_modules/bootstrap/scss/mixins/_lists.scss +7 -0
  206. data/app/assets/node_modules/bootstrap/scss/mixins/_nav-divider.scss +10 -0
  207. data/app/assets/node_modules/bootstrap/scss/mixins/_pagination.scss +22 -0
  208. data/app/assets/node_modules/bootstrap/scss/mixins/_reset-text.scss +17 -0
  209. data/app/assets/node_modules/bootstrap/scss/mixins/_resize.scss +6 -0
  210. data/app/assets/node_modules/bootstrap/scss/mixins/_screen-reader.scss +33 -0
  211. data/app/assets/node_modules/bootstrap/scss/mixins/_size.scss +6 -0
  212. data/app/assets/node_modules/bootstrap/scss/mixins/_table-row.scss +30 -0
  213. data/app/assets/node_modules/bootstrap/scss/mixins/_text-emphasis.scss +14 -0
  214. data/app/assets/node_modules/bootstrap/scss/mixins/_text-hide.scss +13 -0
  215. data/app/assets/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  216. data/app/assets/node_modules/bootstrap/scss/mixins/_transition.scss +13 -0
  217. data/app/assets/node_modules/bootstrap/scss/mixins/_visibility.scss +7 -0
  218. data/app/assets/node_modules/bootstrap/scss/utilities/_align.scss +8 -0
  219. data/app/assets/node_modules/bootstrap/scss/utilities/_background.scss +19 -0
  220. data/app/assets/node_modules/bootstrap/scss/utilities/_borders.scss +59 -0
  221. data/app/assets/node_modules/bootstrap/scss/utilities/_clearfix.scss +3 -0
  222. data/app/assets/node_modules/bootstrap/scss/utilities/_display.scss +38 -0
  223. data/app/assets/node_modules/bootstrap/scss/utilities/_embed.scss +52 -0
  224. data/app/assets/node_modules/bootstrap/scss/utilities/_flex.scss +51 -0
  225. data/app/assets/node_modules/bootstrap/scss/utilities/_float.scss +9 -0
  226. data/app/assets/node_modules/bootstrap/scss/utilities/_position.scss +37 -0
  227. data/app/assets/node_modules/bootstrap/scss/utilities/_screenreaders.scss +11 -0
  228. data/app/assets/node_modules/bootstrap/scss/utilities/_shadows.scss +6 -0
  229. data/app/assets/node_modules/bootstrap/scss/utilities/_sizing.scss +12 -0
  230. data/app/assets/node_modules/bootstrap/scss/utilities/_spacing.scss +51 -0
  231. data/app/assets/node_modules/bootstrap/scss/utilities/_text.scss +58 -0
  232. data/app/assets/node_modules/bootstrap/scss/utilities/_visibility.scss +11 -0
  233. data/app/assets/node_modules/clone/LICENSE +18 -0
  234. data/app/assets/node_modules/clone/README.md +178 -0
  235. data/app/assets/node_modules/clone/clone.iml +10 -0
  236. data/app/assets/node_modules/clone/clone.js +251 -0
  237. data/app/assets/node_modules/clone/package.json +56 -0
  238. data/app/assets/node_modules/deep-equal/LICENSE +18 -0
  239. data/app/assets/node_modules/deep-equal/example/cmp.js +11 -0
  240. data/app/assets/node_modules/deep-equal/index.js +94 -0
  241. data/app/assets/node_modules/deep-equal/lib/is_arguments.js +20 -0
  242. data/app/assets/node_modules/deep-equal/lib/keys.js +9 -0
  243. data/app/assets/node_modules/deep-equal/package.json +58 -0
  244. data/app/assets/node_modules/deep-equal/readme.markdown +61 -0
  245. data/app/assets/node_modules/deep-equal/test/cmp.js +95 -0
  246. data/app/assets/node_modules/dropzone/CONTRIBUTING.md +6 -0
  247. data/app/assets/node_modules/dropzone/LICENSE +12 -0
  248. data/app/assets/node_modules/dropzone/README.md +36 -0
  249. data/app/assets/node_modules/dropzone/bower.json +16 -0
  250. data/app/assets/node_modules/dropzone/component.json +10 -0
  251. data/app/assets/node_modules/dropzone/composer.json +18 -0
  252. data/app/assets/node_modules/dropzone/dist/basic.css +39 -0
  253. data/app/assets/node_modules/dropzone/dist/dropzone-amd-module.js +3541 -0
  254. data/app/assets/node_modules/dropzone/dist/dropzone.css +388 -0
  255. data/app/assets/node_modules/dropzone/dist/dropzone.js +3526 -0
  256. data/app/assets/node_modules/dropzone/dist/min/basic.min.css +1 -0
  257. data/app/assets/node_modules/dropzone/dist/min/dropzone-amd-module.min.js +2 -0
  258. data/app/assets/node_modules/dropzone/dist/min/dropzone.min.css +1 -0
  259. data/app/assets/node_modules/dropzone/dist/min/dropzone.min.js +2 -0
  260. data/app/assets/node_modules/dropzone/dist/readme.md +10 -0
  261. data/app/assets/node_modules/dropzone/index.js +1 -0
  262. data/app/assets/node_modules/dropzone/package.json +40 -0
  263. data/app/assets/node_modules/eve-raphael/LICENSE +202 -0
  264. data/app/assets/node_modules/eve-raphael/README.md +5 -0
  265. data/app/assets/node_modules/eve-raphael/bower.json +17 -0
  266. data/app/assets/node_modules/eve-raphael/component.json +13 -0
  267. data/app/assets/node_modules/eve-raphael/e.html +66 -0
  268. data/app/assets/node_modules/eve-raphael/eve.js +426 -0
  269. data/app/assets/node_modules/eve-raphael/package.json +15 -0
  270. data/app/assets/node_modules/eventemitter3/LICENSE +21 -0
  271. data/app/assets/node_modules/eventemitter3/README.md +105 -0
  272. data/app/assets/node_modules/eventemitter3/index.d.ts +50 -0
  273. data/app/assets/node_modules/eventemitter3/index.js +311 -0
  274. data/app/assets/node_modules/eventemitter3/package.json +51 -0
  275. data/app/assets/node_modules/eventemitter3/umd/eventemitter3.min.js +1 -0
  276. data/app/assets/node_modules/extend/CHANGELOG.md +77 -0
  277. data/app/assets/node_modules/extend/LICENSE +23 -0
  278. data/app/assets/node_modules/extend/README.md +81 -0
  279. data/app/assets/node_modules/extend/component.json +32 -0
  280. data/app/assets/node_modules/extend/index.js +86 -0
  281. data/app/assets/node_modules/extend/package.json +43 -0
  282. data/app/assets/node_modules/fast-diff/README.md +24 -0
  283. data/app/assets/node_modules/fast-diff/diff.js +738 -0
  284. data/app/assets/node_modules/fast-diff/package.json +24 -0
  285. data/app/assets/node_modules/fast-diff/test.js +91 -0
  286. data/app/assets/node_modules/jquery/AUTHORS.txt +313 -0
  287. data/app/assets/node_modules/jquery/LICENSE.txt +36 -0
  288. data/app/assets/node_modules/jquery/README.md +67 -0
  289. data/app/assets/node_modules/jquery/bower.json +14 -0
  290. data/app/assets/node_modules/jquery/dist/core.js +399 -0
  291. data/app/assets/node_modules/jquery/dist/jquery.js +10364 -0
  292. data/app/assets/node_modules/jquery/dist/jquery.min.js +2 -0
  293. data/app/assets/node_modules/jquery/dist/jquery.min.map +1 -0
  294. data/app/assets/node_modules/jquery/dist/jquery.slim.js +8269 -0
  295. data/app/assets/node_modules/jquery/dist/jquery.slim.min.js +2 -0
  296. data/app/assets/node_modules/jquery/dist/jquery.slim.min.map +1 -0
  297. data/app/assets/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  298. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.js +2272 -0
  299. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  300. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  301. data/app/assets/node_modules/jquery/package.json +108 -0
  302. data/app/assets/node_modules/jquery/src/ajax/jsonp.js +103 -0
  303. data/app/assets/node_modules/jquery/src/ajax/load.js +77 -0
  304. data/app/assets/node_modules/jquery/src/ajax/parseXML.js +30 -0
  305. data/app/assets/node_modules/jquery/src/ajax/script.js +77 -0
  306. data/app/assets/node_modules/jquery/src/ajax/var/location.js +5 -0
  307. data/app/assets/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  308. data/app/assets/node_modules/jquery/src/ajax/var/rquery.js +5 -0
  309. data/app/assets/node_modules/jquery/src/ajax/xhr.js +170 -0
  310. data/app/assets/node_modules/jquery/src/ajax.js +856 -0
  311. data/app/assets/node_modules/jquery/src/attributes/attr.js +141 -0
  312. data/app/assets/node_modules/jquery/src/attributes/classes.js +186 -0
  313. data/app/assets/node_modules/jquery/src/attributes/prop.js +143 -0
  314. data/app/assets/node_modules/jquery/src/attributes/support.js +33 -0
  315. data/app/assets/node_modules/jquery/src/attributes/val.js +191 -0
  316. data/app/assets/node_modules/jquery/src/attributes.js +13 -0
  317. data/app/assets/node_modules/jquery/src/callbacks.js +236 -0
  318. data/app/assets/node_modules/jquery/src/core/DOMEval.js +30 -0
  319. data/app/assets/node_modules/jquery/src/core/access.js +72 -0
  320. data/app/assets/node_modules/jquery/src/core/camelCase.js +23 -0
  321. data/app/assets/node_modules/jquery/src/core/init.js +129 -0
  322. data/app/assets/node_modules/jquery/src/core/nodeName.js +13 -0
  323. data/app/assets/node_modules/jquery/src/core/parseHTML.js +65 -0
  324. data/app/assets/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
  325. data/app/assets/node_modules/jquery/src/core/ready.js +86 -0
  326. data/app/assets/node_modules/jquery/src/core/readyException.js +13 -0
  327. data/app/assets/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
  328. data/app/assets/node_modules/jquery/src/core/support.js +20 -0
  329. data/app/assets/node_modules/jquery/src/core/toType.js +20 -0
  330. data/app/assets/node_modules/jquery/src/core/var/rsingleTag.js +6 -0
  331. data/app/assets/node_modules/jquery/src/core.js +399 -0
  332. data/app/assets/node_modules/jquery/src/css/addGetHookIf.js +26 -0
  333. data/app/assets/node_modules/jquery/src/css/adjustCSS.js +73 -0
  334. data/app/assets/node_modules/jquery/src/css/curCSS.js +65 -0
  335. data/app/assets/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  336. data/app/assets/node_modules/jquery/src/css/showHide.js +105 -0
  337. data/app/assets/node_modules/jquery/src/css/support.js +102 -0
  338. data/app/assets/node_modules/jquery/src/css/var/cssExpand.js +5 -0
  339. data/app/assets/node_modules/jquery/src/css/var/getStyles.js +17 -0
  340. data/app/assets/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
  341. data/app/assets/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
  342. data/app/assets/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
  343. data/app/assets/node_modules/jquery/src/css/var/swap.js +26 -0
  344. data/app/assets/node_modules/jquery/src/css.js +481 -0
  345. data/app/assets/node_modules/jquery/src/data/Data.js +162 -0
  346. data/app/assets/node_modules/jquery/src/data/var/acceptData.js +19 -0
  347. data/app/assets/node_modules/jquery/src/data/var/dataPriv.js +7 -0
  348. data/app/assets/node_modules/jquery/src/data/var/dataUser.js +7 -0
  349. data/app/assets/node_modules/jquery/src/data.js +180 -0
  350. data/app/assets/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
  351. data/app/assets/node_modules/jquery/src/deferred.js +399 -0
  352. data/app/assets/node_modules/jquery/src/deprecated.js +98 -0
  353. data/app/assets/node_modules/jquery/src/dimensions.js +57 -0
  354. data/app/assets/node_modules/jquery/src/effects/Tween.js +123 -0
  355. data/app/assets/node_modules/jquery/src/effects/animatedSelector.js +15 -0
  356. data/app/assets/node_modules/jquery/src/effects.js +702 -0
  357. data/app/assets/node_modules/jquery/src/event/ajax.js +22 -0
  358. data/app/assets/node_modules/jquery/src/event/alias.js +29 -0
  359. data/app/assets/node_modules/jquery/src/event/focusin.js +55 -0
  360. data/app/assets/node_modules/jquery/src/event/support.js +11 -0
  361. data/app/assets/node_modules/jquery/src/event/trigger.js +199 -0
  362. data/app/assets/node_modules/jquery/src/event.js +748 -0
  363. data/app/assets/node_modules/jquery/src/exports/amd.js +26 -0
  364. data/app/assets/node_modules/jquery/src/exports/global.js +34 -0
  365. data/app/assets/node_modules/jquery/src/jquery.js +40 -0
  366. data/app/assets/node_modules/jquery/src/manipulation/_evalUrl.js +23 -0
  367. data/app/assets/node_modules/jquery/src/manipulation/buildFragment.js +105 -0
  368. data/app/assets/node_modules/jquery/src/manipulation/getAll.js +32 -0
  369. data/app/assets/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
  370. data/app/assets/node_modules/jquery/src/manipulation/support.js +35 -0
  371. data/app/assets/node_modules/jquery/src/manipulation/var/rcheckableType.js +5 -0
  372. data/app/assets/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
  373. data/app/assets/node_modules/jquery/src/manipulation/var/rtagName.js +5 -0
  374. data/app/assets/node_modules/jquery/src/manipulation/wrapMap.js +29 -0
  375. data/app/assets/node_modules/jquery/src/manipulation.js +486 -0
  376. data/app/assets/node_modules/jquery/src/offset.js +233 -0
  377. data/app/assets/node_modules/jquery/src/queue/delay.js +24 -0
  378. data/app/assets/node_modules/jquery/src/queue.js +145 -0
  379. data/app/assets/node_modules/jquery/src/selector-native.js +237 -0
  380. data/app/assets/node_modules/jquery/src/selector-sizzle.js +19 -0
  381. data/app/assets/node_modules/jquery/src/selector.js +3 -0
  382. data/app/assets/node_modules/jquery/src/serialize.js +132 -0
  383. data/app/assets/node_modules/jquery/src/traversing/findFilter.js +97 -0
  384. data/app/assets/node_modules/jquery/src/traversing/var/dir.js +22 -0
  385. data/app/assets/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
  386. data/app/assets/node_modules/jquery/src/traversing/var/siblings.js +17 -0
  387. data/app/assets/node_modules/jquery/src/traversing.js +191 -0
  388. data/app/assets/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
  389. data/app/assets/node_modules/jquery/src/var/arr.js +5 -0
  390. data/app/assets/node_modules/jquery/src/var/class2type.js +6 -0
  391. data/app/assets/node_modules/jquery/src/var/concat.js +7 -0
  392. data/app/assets/node_modules/jquery/src/var/document.js +5 -0
  393. data/app/assets/node_modules/jquery/src/var/documentElement.js +7 -0
  394. data/app/assets/node_modules/jquery/src/var/fnToString.js +7 -0
  395. data/app/assets/node_modules/jquery/src/var/getProto.js +5 -0
  396. data/app/assets/node_modules/jquery/src/var/hasOwn.js +7 -0
  397. data/app/assets/node_modules/jquery/src/var/indexOf.js +7 -0
  398. data/app/assets/node_modules/jquery/src/var/isFunction.js +13 -0
  399. data/app/assets/node_modules/jquery/src/var/isWindow.js +8 -0
  400. data/app/assets/node_modules/jquery/src/var/pnum.js +5 -0
  401. data/app/assets/node_modules/jquery/src/var/push.js +7 -0
  402. data/app/assets/node_modules/jquery/src/var/rcssNum.js +9 -0
  403. data/app/assets/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
  404. data/app/assets/node_modules/jquery/src/var/slice.js +7 -0
  405. data/app/assets/node_modules/jquery/src/var/support.js +6 -0
  406. data/app/assets/node_modules/jquery/src/var/toString.js +7 -0
  407. data/app/assets/node_modules/jquery/src/wrap.js +78 -0
  408. data/app/assets/node_modules/jquery-flot/API.md +1498 -0
  409. data/app/assets/node_modules/jquery-flot/CONTRIBUTING.md +98 -0
  410. data/app/assets/node_modules/jquery-flot/FAQ.md +75 -0
  411. data/app/assets/node_modules/jquery-flot/LICENSE.txt +22 -0
  412. data/app/assets/node_modules/jquery-flot/Makefile +12 -0
  413. data/app/assets/node_modules/jquery-flot/NEWS.md +1026 -0
  414. data/app/assets/node_modules/jquery-flot/PLUGINS.md +143 -0
  415. data/app/assets/node_modules/jquery-flot/README.md +110 -0
  416. data/app/assets/node_modules/jquery-flot/component.json +8 -0
  417. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-1.json +4 -0
  418. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-2.json +4 -0
  419. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-3.json +4 -0
  420. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-4.json +4 -0
  421. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-5.json +4 -0
  422. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth.json +4 -0
  423. data/app/assets/node_modules/jquery-flot/examples/ajax/data-japan-gdp-growth.json +4 -0
  424. data/app/assets/node_modules/jquery-flot/examples/ajax/data-usa-gdp-growth.json +4 -0
  425. data/app/assets/node_modules/jquery-flot/examples/ajax/index.html +173 -0
  426. data/app/assets/node_modules/jquery-flot/examples/annotating/index.html +87 -0
  427. data/app/assets/node_modules/jquery-flot/examples/axes-interacting/index.html +97 -0
  428. data/app/assets/node_modules/jquery-flot/examples/axes-multiple/index.html +77 -0
  429. data/app/assets/node_modules/jquery-flot/examples/axes-time/index.html +137 -0
  430. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/date.js +893 -0
  431. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/index.html +114 -0
  432. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/africa +1181 -0
  433. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/antarctica +413 -0
  434. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/asia +2717 -0
  435. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/australasia +1719 -0
  436. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/backward +117 -0
  437. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/etcetera +81 -0
  438. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/europe +2856 -0
  439. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/factory +10 -0
  440. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/iso3166.tab +276 -0
  441. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/leapseconds +100 -0
  442. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/northamerica +3235 -0
  443. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/pacificnew +28 -0
  444. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar87 +390 -0
  445. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar88 +390 -0
  446. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar89 +395 -0
  447. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/southamerica +1711 -0
  448. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/systemv +38 -0
  449. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/yearistype.sh +38 -0
  450. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/zone.tab +441 -0
  451. data/app/assets/node_modules/jquery-flot/examples/background.png +0 -0
  452. data/app/assets/node_modules/jquery-flot/examples/basic-options/index.html +91 -0
  453. data/app/assets/node_modules/jquery-flot/examples/basic-usage/index.html +57 -0
  454. data/app/assets/node_modules/jquery-flot/examples/canvas/index.html +75 -0
  455. data/app/assets/node_modules/jquery-flot/examples/categories/index.html +64 -0
  456. data/app/assets/node_modules/jquery-flot/examples/examples.css +97 -0
  457. data/app/assets/node_modules/jquery-flot/examples/image/hs-2004-27-a-large-web.jpg +0 -0
  458. data/app/assets/node_modules/jquery-flot/examples/image/index.html +69 -0
  459. data/app/assets/node_modules/jquery-flot/examples/index.html +80 -0
  460. data/app/assets/node_modules/jquery-flot/examples/interacting/index.html +118 -0
  461. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-down.gif +0 -0
  462. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-left.gif +0 -0
  463. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-right.gif +0 -0
  464. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-up.gif +0 -0
  465. data/app/assets/node_modules/jquery-flot/examples/navigate/index.html +153 -0
  466. data/app/assets/node_modules/jquery-flot/examples/percentiles/index.html +79 -0
  467. data/app/assets/node_modules/jquery-flot/examples/realtime/index.html +122 -0
  468. data/app/assets/node_modules/jquery-flot/examples/resize/index.html +76 -0
  469. data/app/assets/node_modules/jquery-flot/examples/selection/index.html +152 -0
  470. data/app/assets/node_modules/jquery-flot/examples/series-errorbars/index.html +150 -0
  471. data/app/assets/node_modules/jquery-flot/examples/series-pie/index.html +818 -0
  472. data/app/assets/node_modules/jquery-flot/examples/series-toggle/index.html +121 -0
  473. data/app/assets/node_modules/jquery-flot/examples/series-types/index.html +90 -0
  474. data/app/assets/node_modules/jquery-flot/examples/shared/jquery-ui/jquery-ui.min.css +6 -0
  475. data/app/assets/node_modules/jquery-flot/examples/stacking/index.html +107 -0
  476. data/app/assets/node_modules/jquery-flot/examples/symbols/index.html +76 -0
  477. data/app/assets/node_modules/jquery-flot/examples/threshold/index.html +76 -0
  478. data/app/assets/node_modules/jquery-flot/examples/tracking/index.html +135 -0
  479. data/app/assets/node_modules/jquery-flot/examples/visitors/index.html +147 -0
  480. data/app/assets/node_modules/jquery-flot/examples/zooming/index.html +144 -0
  481. data/app/assets/node_modules/jquery-flot/excanvas.js +1428 -0
  482. data/app/assets/node_modules/jquery-flot/excanvas.min.js +1 -0
  483. data/app/assets/node_modules/jquery-flot/flot.jquery.json +27 -0
  484. data/app/assets/node_modules/jquery-flot/jquery.colorhelpers.js +180 -0
  485. data/app/assets/node_modules/jquery-flot/jquery.flot.canvas.js +345 -0
  486. data/app/assets/node_modules/jquery-flot/jquery.flot.categories.js +190 -0
  487. data/app/assets/node_modules/jquery-flot/jquery.flot.crosshair.js +176 -0
  488. data/app/assets/node_modules/jquery-flot/jquery.flot.errorbars.js +353 -0
  489. data/app/assets/node_modules/jquery-flot/jquery.flot.fillbetween.js +226 -0
  490. data/app/assets/node_modules/jquery-flot/jquery.flot.image.js +241 -0
  491. data/app/assets/node_modules/jquery-flot/jquery.flot.js +3168 -0
  492. data/app/assets/node_modules/jquery-flot/jquery.flot.navigate.js +346 -0
  493. data/app/assets/node_modules/jquery-flot/jquery.flot.pie.js +820 -0
  494. data/app/assets/node_modules/jquery-flot/jquery.flot.resize.js +59 -0
  495. data/app/assets/node_modules/jquery-flot/jquery.flot.selection.js +360 -0
  496. data/app/assets/node_modules/jquery-flot/jquery.flot.stack.js +188 -0
  497. data/app/assets/node_modules/jquery-flot/jquery.flot.symbol.js +71 -0
  498. data/app/assets/node_modules/jquery-flot/jquery.flot.threshold.js +142 -0
  499. data/app/assets/node_modules/jquery-flot/jquery.flot.time.js +432 -0
  500. data/app/assets/node_modules/jquery-flot/jquery.js +9472 -0
  501. data/app/assets/node_modules/jquery-flot/package.json +11 -0
  502. data/app/assets/node_modules/jquery-sparkline/Changelog.txt +324 -0
  503. data/app/assets/node_modules/jquery-sparkline/README.md +19 -0
  504. data/app/assets/node_modules/jquery-sparkline/build.js +13 -0
  505. data/app/assets/node_modules/jquery-sparkline/jquery.sparkline.js +3068 -0
  506. data/app/assets/node_modules/jquery-sparkline/jquery.sparkline.min.js +2 -0
  507. data/app/assets/node_modules/jquery-sparkline/package.json +32 -0
  508. data/app/assets/node_modules/jquery-sparkline/src/base.js +415 -0
  509. data/app/assets/node_modules/jquery-sparkline/src/chart-bar.js +256 -0
  510. data/app/assets/node_modules/jquery-sparkline/src/chart-box.js +186 -0
  511. data/app/assets/node_modules/jquery-sparkline/src/chart-bullet.js +131 -0
  512. data/app/assets/node_modules/jquery-sparkline/src/chart-discrete.js +66 -0
  513. data/app/assets/node_modules/jquery-sparkline/src/chart-line.js +350 -0
  514. data/app/assets/node_modules/jquery-sparkline/src/chart-pie.js +117 -0
  515. data/app/assets/node_modules/jquery-sparkline/src/chart-tristate.js +98 -0
  516. data/app/assets/node_modules/jquery-sparkline/src/defaults.js +156 -0
  517. data/app/assets/node_modules/jquery-sparkline/src/footer.js +1 -0
  518. data/app/assets/node_modules/jquery-sparkline/src/header.js +222 -0
  519. data/app/assets/node_modules/jquery-sparkline/src/interact.js +247 -0
  520. data/app/assets/node_modules/jquery-sparkline/src/rangemap.js +39 -0
  521. data/app/assets/node_modules/jquery-sparkline/src/simpledraw.js +55 -0
  522. data/app/assets/node_modules/jquery-sparkline/src/utils.js +224 -0
  523. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-base.js +147 -0
  524. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-canvas.js +193 -0
  525. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-vml.js +165 -0
  526. data/app/assets/node_modules/jquery-touchswipe/LICENSE +24 -0
  527. data/app/assets/node_modules/jquery-touchswipe/README.md +81 -0
  528. data/app/assets/node_modules/jquery-touchswipe/bower.json +8 -0
  529. data/app/assets/node_modules/jquery-touchswipe/demos/Any_finger_swipe.html +49 -0
  530. data/app/assets/node_modules/jquery-touchswipe/demos/Basic_swipe.html +48 -0
  531. data/app/assets/node_modules/jquery-touchswipe/demos/Enable_and_destroy.html +95 -0
  532. data/app/assets/node_modules/jquery-touchswipe/demos/Excluded_children.html +82 -0
  533. data/app/assets/node_modules/jquery-touchswipe/demos/Finger_swipe.html +61 -0
  534. data/app/assets/node_modules/jquery-touchswipe/demos/Handlers_and_events.html +128 -0
  535. data/app/assets/node_modules/jquery-touchswipe/demos/Hold.html +61 -0
  536. data/app/assets/node_modules/jquery-touchswipe/demos/Image_gallery_example.html +148 -0
  537. data/app/assets/node_modules/jquery-touchswipe/demos/Options.html +90 -0
  538. data/app/assets/node_modules/jquery-touchswipe/demos/Page_scrolling.html +109 -0
  539. data/app/assets/node_modules/jquery-touchswipe/demos/Page_zoom.html +50 -0
  540. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch.html +57 -0
  541. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch_and_Swipe.html +81 -0
  542. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch_status.html +51 -0
  543. data/app/assets/node_modules/jquery-touchswipe/demos/Single_swipe.html +51 -0
  544. data/app/assets/node_modules/jquery-touchswipe/demos/Stop_propegation.html +57 -0
  545. data/app/assets/node_modules/jquery-touchswipe/demos/Swipe_status.html +82 -0
  546. data/app/assets/node_modules/jquery-touchswipe/demos/Tap_vs_swipe.html +114 -0
  547. data/app/assets/node_modules/jquery-touchswipe/demos/Thresholds.html +109 -0
  548. data/app/assets/node_modules/jquery-touchswipe/demos/Trigger_handlers.html +158 -0
  549. data/app/assets/node_modules/jquery-touchswipe/demos/css/main.css +110 -0
  550. data/app/assets/node_modules/jquery-touchswipe/demos/index.html +74 -0
  551. data/app/assets/node_modules/jquery-touchswipe/demos/js/jquery.ui.ipad.js +223 -0
  552. data/app/assets/node_modules/jquery-touchswipe/demos/js/main.js +240 -0
  553. data/app/assets/node_modules/jquery-touchswipe/demos/tutorials.json +22 -0
  554. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.html +188 -0
  555. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.defaults.html +1174 -0
  556. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.directions.html +311 -0
  557. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.fingers.html +319 -0
  558. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.html +4205 -0
  559. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.pageScroll.html +272 -0
  560. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.phases.html +265 -0
  561. data/app/assets/node_modules/jquery-touchswipe/docs/$.html +186 -0
  562. data/app/assets/node_modules/jquery-touchswipe/docs/css/main.css +110 -0
  563. data/app/assets/node_modules/jquery-touchswipe/docs/index.html +101 -0
  564. data/app/assets/node_modules/jquery-touchswipe/docs/jquery.touchSwipe.js.html +2168 -0
  565. data/app/assets/node_modules/jquery-touchswipe/docs/js/jquery.ui.ipad.js +223 -0
  566. data/app/assets/node_modules/jquery-touchswipe/docs/js/main.js +85 -0
  567. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/linenumber.js +25 -0
  568. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
  569. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/lang-css.js +2 -0
  570. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/prettify.js +28 -0
  571. data/app/assets/node_modules/jquery-touchswipe/docs/styles/jsdoc.css +625 -0
  572. data/app/assets/node_modules/jquery-touchswipe/docs/styles/prettify.css +79 -0
  573. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Any_finger_swipe.html +108 -0
  574. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Basic_swipe.html +107 -0
  575. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Enable_and_destroy.html +154 -0
  576. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Excluded_children.html +141 -0
  577. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Finger_swipe.html +120 -0
  578. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Handlers_and_events.html +187 -0
  579. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Hold.html +120 -0
  580. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Image_gallery_example.html +207 -0
  581. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Options.html +149 -0
  582. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Page_scrolling.html +168 -0
  583. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Page_zoom.html +109 -0
  584. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch.html +116 -0
  585. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch_and_Swipe.html +140 -0
  586. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch_status.html +110 -0
  587. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Single_swipe.html +110 -0
  588. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Stop_propegation.html +116 -0
  589. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Swipe_status.html +141 -0
  590. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Tap_vs_swipe.html +173 -0
  591. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Thresholds.html +168 -0
  592. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Trigger_handlers.html +217 -0
  593. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-index_.html +133 -0
  594. data/app/assets/node_modules/jquery-touchswipe/jquery.touchSwipe.js +2109 -0
  595. data/app/assets/node_modules/jquery-touchswipe/jquery.touchSwipe.min.js +14 -0
  596. data/app/assets/node_modules/jquery-touchswipe/package.json +47 -0
  597. data/app/assets/node_modules/jquery-validation/LICENSE.md +22 -0
  598. data/app/assets/node_modules/jquery-validation/README.md +76 -0
  599. data/app/assets/node_modules/jquery-validation/changelog.md +639 -0
  600. data/app/assets/node_modules/jquery-validation/dist/additional-methods.js +1158 -0
  601. data/app/assets/node_modules/jquery-validation/dist/jquery.validate.js +1601 -0
  602. data/app/assets/node_modules/jquery-validation/dist/jquery.validate.min.js +4 -0
  603. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ar.js +35 -0
  604. data/app/assets/node_modules/jquery-validation/dist/localization/messages_az.js +35 -0
  605. data/app/assets/node_modules/jquery-validation/dist/localization/messages_bg.js +35 -0
  606. data/app/assets/node_modules/jquery-validation/dist/localization/messages_bn_BD.js +35 -0
  607. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ca.js +35 -0
  608. data/app/assets/node_modules/jquery-validation/dist/localization/messages_cs.js +35 -0
  609. data/app/assets/node_modules/jquery-validation/dist/localization/messages_da.js +32 -0
  610. data/app/assets/node_modules/jquery-validation/dist/localization/messages_de.js +32 -0
  611. data/app/assets/node_modules/jquery-validation/dist/localization/messages_el.js +35 -0
  612. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es.js +38 -0
  613. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es_AR.js +39 -0
  614. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es_PE.js +39 -0
  615. data/app/assets/node_modules/jquery-validation/dist/localization/messages_et.js +33 -0
  616. data/app/assets/node_modules/jquery-validation/dist/localization/messages_eu.js +35 -0
  617. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fa.js +38 -0
  618. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fi.js +33 -0
  619. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fr.js +63 -0
  620. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ge.js +35 -0
  621. data/app/assets/node_modules/jquery-validation/dist/localization/messages_gl.js +40 -0
  622. data/app/assets/node_modules/jquery-validation/dist/localization/messages_he.js +35 -0
  623. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hr.js +35 -0
  624. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hu.js +35 -0
  625. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hy_AM.js +35 -0
  626. data/app/assets/node_modules/jquery-validation/dist/localization/messages_id.js +34 -0
  627. data/app/assets/node_modules/jquery-validation/dist/localization/messages_is.js +33 -0
  628. data/app/assets/node_modules/jquery-validation/dist/localization/messages_it.js +39 -0
  629. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ja.js +36 -0
  630. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ka.js +35 -0
  631. data/app/assets/node_modules/jquery-validation/dist/localization/messages_kk.js +35 -0
  632. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ko.js +35 -0
  633. data/app/assets/node_modules/jquery-validation/dist/localization/messages_lt.js +35 -0
  634. data/app/assets/node_modules/jquery-validation/dist/localization/messages_lv.js +35 -0
  635. data/app/assets/node_modules/jquery-validation/dist/localization/messages_mk.js +35 -0
  636. data/app/assets/node_modules/jquery-validation/dist/localization/messages_my.js +35 -0
  637. data/app/assets/node_modules/jquery-validation/dist/localization/messages_nl.js +46 -0
  638. data/app/assets/node_modules/jquery-validation/dist/localization/messages_no.js +36 -0
  639. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pl.js +37 -0
  640. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pt_BR.js +88 -0
  641. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pt_PT.js +39 -0
  642. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ro.js +35 -0
  643. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ru.js +35 -0
  644. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sd.js +35 -0
  645. data/app/assets/node_modules/jquery-validation/dist/localization/messages_si.js +35 -0
  646. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sk.js +32 -0
  647. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sl.js +35 -0
  648. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sr.js +35 -0
  649. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sr_lat.js +35 -0
  650. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sv.js +33 -0
  651. data/app/assets/node_modules/jquery-validation/dist/localization/messages_th.js +35 -0
  652. data/app/assets/node_modules/jquery-validation/dist/localization/messages_tj.js +35 -0
  653. data/app/assets/node_modules/jquery-validation/dist/localization/messages_tr.js +36 -0
  654. data/app/assets/node_modules/jquery-validation/dist/localization/messages_uk.js +35 -0
  655. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ur.js +35 -0
  656. data/app/assets/node_modules/jquery-validation/dist/localization/messages_vi.js +35 -0
  657. data/app/assets/node_modules/jquery-validation/dist/localization/messages_zh.js +35 -0
  658. data/app/assets/node_modules/jquery-validation/dist/localization/messages_zh_TW.js +36 -0
  659. data/app/assets/node_modules/jquery-validation/dist/localization/methods_de.js +24 -0
  660. data/app/assets/node_modules/jquery-validation/dist/localization/methods_es_CL.js +24 -0
  661. data/app/assets/node_modules/jquery-validation/dist/localization/methods_fi.js +24 -0
  662. data/app/assets/node_modules/jquery-validation/dist/localization/methods_nl.js +24 -0
  663. data/app/assets/node_modules/jquery-validation/dist/localization/methods_pt.js +21 -0
  664. data/app/assets/node_modules/jquery-validation/package.json +61 -0
  665. data/app/assets/node_modules/jquery.browser/Gruntfile.js +62 -0
  666. data/app/assets/node_modules/jquery.browser/MIT-LICENSE.txt +21 -0
  667. data/app/assets/node_modules/jquery.browser/README.md +117 -0
  668. data/app/assets/node_modules/jquery.browser/bower.json +13 -0
  669. data/app/assets/node_modules/jquery.browser/browser.jquery.json +37 -0
  670. data/app/assets/node_modules/jquery.browser/dist/jquery.browser.js +193 -0
  671. data/app/assets/node_modules/jquery.browser/dist/jquery.browser.min.js +14 -0
  672. data/app/assets/node_modules/jquery.browser/package.json +30 -0
  673. data/app/assets/node_modules/jquery.browser/test/casperserver.js +257 -0
  674. data/app/assets/node_modules/jquery.browser/test/index.html +13 -0
  675. data/app/assets/node_modules/jquery.browser/test/src/jquery-1.10.2.min.js +6 -0
  676. data/app/assets/node_modules/jquery.browser/test/src/require/test.js +21 -0
  677. data/app/assets/node_modules/jquery.browser/test/test.js +962 -0
  678. data/app/assets/node_modules/jquery.flot.tooltip/CONTRIBUTING.md +9 -0
  679. data/app/assets/node_modules/jquery.flot.tooltip/Gruntfile.js +72 -0
  680. data/app/assets/node_modules/jquery.flot.tooltip/README.md +267 -0
  681. data/app/assets/node_modules/jquery.flot.tooltip/bower.json +13 -0
  682. data/app/assets/node_modules/jquery.flot.tooltip/examples/basic.html +45 -0
  683. data/app/assets/node_modules/jquery.flot.tooltip/examples/curved-lines.html +59 -0
  684. data/app/assets/node_modules/jquery.flot.tooltip/examples/custom-label-text.html +114 -0
  685. data/app/assets/node_modules/jquery.flot.tooltip/examples/custom_ticks.html +78 -0
  686. data/app/assets/node_modules/jquery.flot.tooltip/examples/dollar_in_tickformatter.html +68 -0
  687. data/app/assets/node_modules/jquery.flot.tooltip/examples/index.html +36 -0
  688. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/curvedLines.js +483 -0
  689. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/excanvas.min.js +1 -0
  690. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.js +3168 -0
  691. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.pie.js +820 -0
  692. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.stack.js +184 -0
  693. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.threshold.js +142 -0
  694. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.time.js +432 -0
  695. data/app/assets/node_modules/jquery.flot.tooltip/examples/many_series.html +78 -0
  696. data/app/assets/node_modules/jquery.flot.tooltip/examples/multiple-axes.html +78 -0
  697. data/app/assets/node_modules/jquery.flot.tooltip/examples/pie.html +87 -0
  698. data/app/assets/node_modules/jquery.flot.tooltip/examples/real_data.html +133 -0
  699. data/app/assets/node_modules/jquery.flot.tooltip/examples/stacking.html +97 -0
  700. data/app/assets/node_modules/jquery.flot.tooltip/examples/threshold.html +97 -0
  701. data/app/assets/node_modules/jquery.flot.tooltip/examples/time_bars.html +77 -0
  702. data/app/assets/node_modules/jquery.flot.tooltip/examples/two_chars.html +63 -0
  703. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.js +606 -0
  704. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.min.js +12 -0
  705. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.source.js +595 -0
  706. data/app/assets/node_modules/jquery.flot.tooltip/package.json +37 -0
  707. data/app/assets/node_modules/jqvmap/CHANGELOG.md +118 -0
  708. data/app/assets/node_modules/jqvmap/CONTRIBUTING.md +118 -0
  709. data/app/assets/node_modules/jqvmap/LICENSE +43 -0
  710. data/app/assets/node_modules/jqvmap/README.md +495 -0
  711. data/app/assets/node_modules/jqvmap/REGIONS.md +405 -0
  712. data/app/assets/node_modules/jqvmap/bower.json +32 -0
  713. data/app/assets/node_modules/jqvmap/create/README.md +207 -0
  714. data/app/assets/node_modules/jqvmap/create/config/continent.json +64 -0
  715. data/app/assets/node_modules/jqvmap/create/config/new-york.json +16 -0
  716. data/app/assets/node_modules/jqvmap/create/config/syria.json +16 -0
  717. data/app/assets/node_modules/jqvmap/create/jqvmap.py +573 -0
  718. data/app/assets/node_modules/jqvmap/dist/jquery.vmap.js +1281 -0
  719. data/app/assets/node_modules/jqvmap/dist/jquery.vmap.min.js +10 -0
  720. data/app/assets/node_modules/jqvmap/dist/jqvmap.css +50 -0
  721. data/app/assets/node_modules/jqvmap/dist/jqvmap.min.css +1 -0
  722. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.africa.js +2 -0
  723. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.asia.js +2 -0
  724. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.australia.js +2 -0
  725. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.europe.js +2 -0
  726. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.north-america.js +2 -0
  727. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.south-america.js +2 -0
  728. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.algeria.js +2 -0
  729. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.argentina.js +1 -0
  730. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.brazil.js +2 -0
  731. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.canada.js +2 -0
  732. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.europe.js +2 -0
  733. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.france.js +1 -0
  734. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.germany.js +2 -0
  735. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.greece.js +1 -0
  736. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.iran.js +6 -0
  737. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.iraq.js +1 -0
  738. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.russia.js +2 -0
  739. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.tunisia.js +2 -0
  740. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.turkey.js +11 -0
  741. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.usa.js +2 -0
  742. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.world.js +2 -0
  743. data/app/assets/node_modules/jqvmap/examples/algeria.html +27 -0
  744. data/app/assets/node_modules/jqvmap/examples/argentina.html +33 -0
  745. data/app/assets/node_modules/jqvmap/examples/brazil.html +33 -0
  746. data/app/assets/node_modules/jqvmap/examples/continents.html +172 -0
  747. data/app/assets/node_modules/jqvmap/examples/europe.html +27 -0
  748. data/app/assets/node_modules/jqvmap/examples/france.html +27 -0
  749. data/app/assets/node_modules/jqvmap/examples/germany.html +33 -0
  750. data/app/assets/node_modules/jqvmap/examples/greece.html +33 -0
  751. data/app/assets/node_modules/jqvmap/examples/images/background.png +0 -0
  752. data/app/assets/node_modules/jqvmap/examples/images/flag.png +0 -0
  753. data/app/assets/node_modules/jqvmap/examples/images/globe.png +0 -0
  754. data/app/assets/node_modules/jqvmap/examples/images/marker/black.png +0 -0
  755. data/app/assets/node_modules/jqvmap/examples/images/marker/blue.png +0 -0
  756. data/app/assets/node_modules/jqvmap/examples/images/marker/green.png +0 -0
  757. data/app/assets/node_modules/jqvmap/examples/images/marker/grey.png +0 -0
  758. data/app/assets/node_modules/jqvmap/examples/images/marker/orange.png +0 -0
  759. data/app/assets/node_modules/jqvmap/examples/images/marker/purple.png +0 -0
  760. data/app/assets/node_modules/jqvmap/examples/images/marker/red.png +0 -0
  761. data/app/assets/node_modules/jqvmap/examples/images/marker/white.png +0 -0
  762. data/app/assets/node_modules/jqvmap/examples/images/marker/yellow.png +0 -0
  763. data/app/assets/node_modules/jqvmap/examples/images/thumb.jpg +0 -0
  764. data/app/assets/node_modules/jqvmap/examples/images/tip.png +0 -0
  765. data/app/assets/node_modules/jqvmap/examples/inactive_regions.html +62 -0
  766. data/app/assets/node_modules/jqvmap/examples/iran.html +44 -0
  767. data/app/assets/node_modules/jqvmap/examples/iraq.html +44 -0
  768. data/app/assets/node_modules/jqvmap/examples/js/jquery.vmap.sampledata.js +1 -0
  769. data/app/assets/node_modules/jqvmap/examples/labels.html +146 -0
  770. data/app/assets/node_modules/jqvmap/examples/mobile.html +59 -0
  771. data/app/assets/node_modules/jqvmap/examples/multi.html +29 -0
  772. data/app/assets/node_modules/jqvmap/examples/pins.html +236 -0
  773. data/app/assets/node_modules/jqvmap/examples/pins_custom.html +127 -0
  774. data/app/assets/node_modules/jqvmap/examples/responsive.html +45 -0
  775. data/app/assets/node_modules/jqvmap/examples/russia.html +33 -0
  776. data/app/assets/node_modules/jqvmap/examples/touch_detect.html +46 -0
  777. data/app/assets/node_modules/jqvmap/examples/tunisia.html +33 -0
  778. data/app/assets/node_modules/jqvmap/examples/turkey.html +26 -0
  779. data/app/assets/node_modules/jqvmap/examples/usa.html +37 -0
  780. data/app/assets/node_modules/jqvmap/examples/world.html +35 -0
  781. data/app/assets/node_modules/jqvmap/grunt/bump.js +22 -0
  782. data/app/assets/node_modules/jqvmap/grunt/changelog.js +14 -0
  783. data/app/assets/node_modules/jqvmap/grunt/clean.js +5 -0
  784. data/app/assets/node_modules/jqvmap/grunt/concat.js +23 -0
  785. data/app/assets/node_modules/jqvmap/grunt/index.js +2 -0
  786. data/app/assets/node_modules/jqvmap/grunt/qunit.js +3 -0
  787. data/app/assets/node_modules/jqvmap/grunt/shell.js +6 -0
  788. data/app/assets/node_modules/jqvmap/grunt/uglify.js +19 -0
  789. data/app/assets/node_modules/jqvmap/gruntfile.js +21 -0
  790. data/app/assets/node_modules/jqvmap/node_modules/jquery/AUTHORS.txt +217 -0
  791. data/app/assets/node_modules/jqvmap/node_modules/jquery/CONTRIBUTING.md +214 -0
  792. data/app/assets/node_modules/jqvmap/node_modules/jquery/MIT-LICENSE.txt +21 -0
  793. data/app/assets/node_modules/jqvmap/node_modules/jquery/README.md +368 -0
  794. data/app/assets/node_modules/jqvmap/node_modules/jquery/bower.json +28 -0
  795. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.js +10351 -0
  796. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.min.js +6 -0
  797. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.min.map +1 -0
  798. data/app/assets/node_modules/jqvmap/node_modules/jquery/package.json +54 -0
  799. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/jsonp.js +89 -0
  800. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/load.js +75 -0
  801. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/parseJSON.js +51 -0
  802. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/parseXML.js +31 -0
  803. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/script.js +93 -0
  804. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  805. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/var/rquery.js +3 -0
  806. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/xhr.js +197 -0
  807. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax.js +801 -0
  808. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/attr.js +271 -0
  809. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/classes.js +157 -0
  810. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/prop.js +134 -0
  811. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/support.js +62 -0
  812. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/val.js +178 -0
  813. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes.js +11 -0
  814. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/callbacks.js +205 -0
  815. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/access.js +60 -0
  816. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/init.js +132 -0
  817. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/parseHTML.js +39 -0
  818. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/ready.js +152 -0
  819. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/var/rsingleTag.js +4 -0
  820. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core.js +540 -0
  821. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/addGetHookIf.js +32 -0
  822. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/curCSS.js +124 -0
  823. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/defaultDisplay.js +69 -0
  824. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/hiddenVisibleSelectors.js +20 -0
  825. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/support.js +151 -0
  826. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/swap.js +28 -0
  827. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/cssExpand.js +3 -0
  828. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/isHidden.js +13 -0
  829. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/rmargin.js +3 -0
  830. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
  831. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css.js +504 -0
  832. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data/accepts.js +21 -0
  833. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data/support.js +25 -0
  834. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data.js +335 -0
  835. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/deferred.js +150 -0
  836. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/deprecated.js +13 -0
  837. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/dimensions.js +50 -0
  838. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/Tween.js +114 -0
  839. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/animatedSelector.js +13 -0
  840. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/support.js +55 -0
  841. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects.js +656 -0
  842. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/ajax.js +13 -0
  843. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/alias.js +39 -0
  844. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/support.js +26 -0
  845. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event.js +1037 -0
  846. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/exports/amd.js +24 -0
  847. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/exports/global.js +32 -0
  848. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/intro.js +44 -0
  849. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/jquery.js +38 -0
  850. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/_evalUrl.js +18 -0
  851. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/support.js +76 -0
  852. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
  853. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation.js +744 -0
  854. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/offset.js +211 -0
  855. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/outro.js +1 -0
  856. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/queue/delay.js +22 -0
  857. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/queue.js +142 -0
  858. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/selector-sizzle.js +14 -0
  859. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/selector.js +1 -0
  860. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/serialize.js +110 -0
  861. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.js +2067 -0
  862. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.min.js +3 -0
  863. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.min.map +1 -0
  864. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/empty.js +0 -0
  865. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/mixed_sort.html +22 -0
  866. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/testinit.js +136 -0
  867. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/index.html +242 -0
  868. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/jquery.js +9597 -0
  869. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/extending.js +95 -0
  870. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/selector.js +1149 -0
  871. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/utilities.js +169 -0
  872. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/support.js +58 -0
  873. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing/findFilter.js +100 -0
  874. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
  875. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing.js +200 -0
  876. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/class2type.js +4 -0
  877. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/concat.js +5 -0
  878. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/deletedIds.js +3 -0
  879. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/hasOwn.js +5 -0
  880. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/indexOf.js +5 -0
  881. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/pnum.js +3 -0
  882. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/push.js +5 -0
  883. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/rnotwhite.js +3 -0
  884. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/slice.js +5 -0
  885. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/strundefined.js +3 -0
  886. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/support.js +4 -0
  887. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/toString.js +5 -0
  888. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/wrap.js +76 -0
  889. data/app/assets/node_modules/jqvmap/package.json +45 -0
  890. data/app/assets/node_modules/jqvmap/src/Base.js +80 -0
  891. data/app/assets/node_modules/jqvmap/src/ColorScale/arrayToRgb.js +9 -0
  892. data/app/assets/node_modules/jqvmap/src/ColorScale/getColor.js +41 -0
  893. data/app/assets/node_modules/jqvmap/src/ColorScale/rgbToArray.js +4 -0
  894. data/app/assets/node_modules/jqvmap/src/ColorScale/setColors.js +6 -0
  895. data/app/assets/node_modules/jqvmap/src/ColorScale/setMax.js +8 -0
  896. data/app/assets/node_modules/jqvmap/src/ColorScale/setMin.js +9 -0
  897. data/app/assets/node_modules/jqvmap/src/ColorScale/setNormalizeFunction.js +13 -0
  898. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorAdd.js +7 -0
  899. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorLength.js +7 -0
  900. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorMult.js +7 -0
  901. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorSubtract.js +7 -0
  902. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorToNum.js +7 -0
  903. data/app/assets/node_modules/jqvmap/src/ColorScale.js +18 -0
  904. data/app/assets/node_modules/jqvmap/src/JQVMap/applyTransform.js +31 -0
  905. data/app/assets/node_modules/jqvmap/src/JQVMap/bindZoomButtons.js +9 -0
  906. data/app/assets/node_modules/jqvmap/src/JQVMap/deselect.js +18 -0
  907. data/app/assets/node_modules/jqvmap/src/JQVMap/getCountryId.js +3 -0
  908. data/app/assets/node_modules/jqvmap/src/JQVMap/getPin.js +4 -0
  909. data/app/assets/node_modules/jqvmap/src/JQVMap/getPinId.js +3 -0
  910. data/app/assets/node_modules/jqvmap/src/JQVMap/getPins.js +11 -0
  911. data/app/assets/node_modules/jqvmap/src/JQVMap/highlight.js +12 -0
  912. data/app/assets/node_modules/jqvmap/src/JQVMap/isSelected.js +3 -0
  913. data/app/assets/node_modules/jqvmap/src/JQVMap/makeDraggable.js +159 -0
  914. data/app/assets/node_modules/jqvmap/src/JQVMap/placePins.js +46 -0
  915. data/app/assets/node_modules/jqvmap/src/JQVMap/positionPins.js +19 -0
  916. data/app/assets/node_modules/jqvmap/src/JQVMap/removePin.js +4 -0
  917. data/app/assets/node_modules/jqvmap/src/JQVMap/removePins.js +3 -0
  918. data/app/assets/node_modules/jqvmap/src/JQVMap/reset.js +9 -0
  919. data/app/assets/node_modules/jqvmap/src/JQVMap/resize.js +13 -0
  920. data/app/assets/node_modules/jqvmap/src/JQVMap/select.js +18 -0
  921. data/app/assets/node_modules/jqvmap/src/JQVMap/selectIndex.js +9 -0
  922. data/app/assets/node_modules/jqvmap/src/JQVMap/setBackgroundColor.js +3 -0
  923. data/app/assets/node_modules/jqvmap/src/JQVMap/setColors.js +15 -0
  924. data/app/assets/node_modules/jqvmap/src/JQVMap/setNormalizeFunction.js +7 -0
  925. data/app/assets/node_modules/jqvmap/src/JQVMap/setScale.js +4 -0
  926. data/app/assets/node_modules/jqvmap/src/JQVMap/setScaleColors.js +7 -0
  927. data/app/assets/node_modules/jqvmap/src/JQVMap/setValues.js +36 -0
  928. data/app/assets/node_modules/jqvmap/src/JQVMap/unhighlight.js +8 -0
  929. data/app/assets/node_modules/jqvmap/src/JQVMap/zoomIn.js +17 -0
  930. data/app/assets/node_modules/jqvmap/src/JQVMap/zoomOut.js +17 -0
  931. data/app/assets/node_modules/jqvmap/src/JQVMap.js +243 -0
  932. data/app/assets/node_modules/jqvmap/src/VectorCanvas/applyTransformParams.js +8 -0
  933. data/app/assets/node_modules/jqvmap/src/VectorCanvas/createGroup.js +19 -0
  934. data/app/assets/node_modules/jqvmap/src/VectorCanvas/createPath.js +75 -0
  935. data/app/assets/node_modules/jqvmap/src/VectorCanvas/pathSvgToVml.js +103 -0
  936. data/app/assets/node_modules/jqvmap/src/VectorCanvas/setSize.js +24 -0
  937. data/app/assets/node_modules/jqvmap/src/VectorCanvas.js +42 -0
  938. data/app/assets/node_modules/jqvmap/tests/index.html +32 -0
  939. data/app/assets/node_modules/jqvmap/tests/qunit/qunit.css +291 -0
  940. data/app/assets/node_modules/jqvmap/tests/qunit/qunit.js +3828 -0
  941. data/app/assets/node_modules/jqvmap/tests/tests.js +422 -0
  942. data/app/assets/node_modules/metismenu/LICENSE +20 -0
  943. data/app/assets/node_modules/metismenu/README.md +361 -0
  944. data/app/assets/node_modules/metismenu/changelog.md +22 -0
  945. data/app/assets/node_modules/metismenu/dist/cjs/index.js +327 -0
  946. data/app/assets/node_modules/metismenu/dist/metisMenu.css +132 -0
  947. data/app/assets/node_modules/metismenu/dist/metisMenu.css.map +1 -0
  948. data/app/assets/node_modules/metismenu/dist/metisMenu.js +332 -0
  949. data/app/assets/node_modules/metismenu/dist/metisMenu.js.map +1 -0
  950. data/app/assets/node_modules/metismenu/dist/metisMenu.min.css +9 -0
  951. data/app/assets/node_modules/metismenu/dist/metisMenu.min.css.map +1 -0
  952. data/app/assets/node_modules/metismenu/dist/metisMenu.min.js +10 -0
  953. data/app/assets/node_modules/metismenu/dist/metisMenu.min.js.map +1 -0
  954. data/app/assets/node_modules/metismenu/dist/modules/index.js +323 -0
  955. data/app/assets/node_modules/metismenu/package.json +122 -0
  956. data/app/assets/node_modules/metismenu/src/index.js +260 -0
  957. data/app/assets/node_modules/metismenu/src/metisMenu.css +116 -0
  958. data/app/assets/node_modules/metismenu/src/util.js +61 -0
  959. data/app/assets/node_modules/metismenu/types/metismenu.d.ts +25 -0
  960. data/app/assets/node_modules/morris.js/Gruntfile.js +90 -0
  961. data/app/assets/node_modules/morris.js/README.md +234 -0
  962. data/app/assets/node_modules/morris.js/bower.json +20 -0
  963. data/app/assets/node_modules/morris.js/bower.travis.json +20 -0
  964. data/app/assets/node_modules/morris.js/examples/_template.html +18 -0
  965. data/app/assets/node_modules/morris.js/examples/area-as-line.html +31 -0
  966. data/app/assets/node_modules/morris.js/examples/area.html +34 -0
  967. data/app/assets/node_modules/morris.js/examples/bar-colors.html +44 -0
  968. data/app/assets/node_modules/morris.js/examples/bar-no-axes.html +31 -0
  969. data/app/assets/node_modules/morris.js/examples/bar.html +32 -0
  970. data/app/assets/node_modules/morris.js/examples/days.html +37 -0
  971. data/app/assets/node_modules/morris.js/examples/decimal-custom-hover.html +37 -0
  972. data/app/assets/node_modules/morris.js/examples/diagonal-xlabels-bar.html +38 -0
  973. data/app/assets/node_modules/morris.js/examples/diagonal-xlabels.html +38 -0
  974. data/app/assets/node_modules/morris.js/examples/donut-colors.html +38 -0
  975. data/app/assets/node_modules/morris.js/examples/donut-formatter.html +27 -0
  976. data/app/assets/node_modules/morris.js/examples/donut.html +29 -0
  977. data/app/assets/node_modules/morris.js/examples/dst.html +30 -0
  978. data/app/assets/node_modules/morris.js/examples/events.html +57 -0
  979. data/app/assets/node_modules/morris.js/examples/goals.html +33 -0
  980. data/app/assets/node_modules/morris.js/examples/lib/example.css +13 -0
  981. data/app/assets/node_modules/morris.js/examples/lib/example.js +4 -0
  982. data/app/assets/node_modules/morris.js/examples/months-no-smooth.html +38 -0
  983. data/app/assets/node_modules/morris.js/examples/negative.html +36 -0
  984. data/app/assets/node_modules/morris.js/examples/no-grid.html +38 -0
  985. data/app/assets/node_modules/morris.js/examples/non-continuous.html +42 -0
  986. data/app/assets/node_modules/morris.js/examples/non-date.html +37 -0
  987. data/app/assets/node_modules/morris.js/examples/quarters.html +54 -0
  988. data/app/assets/node_modules/morris.js/examples/resize.html +42 -0
  989. data/app/assets/node_modules/morris.js/examples/stacked_bars.html +31 -0
  990. data/app/assets/node_modules/morris.js/examples/timestamps.html +38 -0
  991. data/app/assets/node_modules/morris.js/examples/updating.html +49 -0
  992. data/app/assets/node_modules/morris.js/examples/weeks.html +53 -0
  993. data/app/assets/node_modules/morris.js/examples/years.html +37 -0
  994. data/app/assets/node_modules/morris.js/less/morris.core.less +27 -0
  995. data/app/assets/node_modules/morris.js/lib/morris.area.coffee +66 -0
  996. data/app/assets/node_modules/morris.js/lib/morris.bar.coffee +208 -0
  997. data/app/assets/node_modules/morris.js/lib/morris.coffee +43 -0
  998. data/app/assets/node_modules/morris.js/lib/morris.donut.coffee +213 -0
  999. data/app/assets/node_modules/morris.js/lib/morris.grid.coffee +499 -0
  1000. data/app/assets/node_modules/morris.js/lib/morris.hover.coffee +44 -0
  1001. data/app/assets/node_modules/morris.js/lib/morris.line.coffee +405 -0
  1002. data/app/assets/node_modules/morris.js/morris.css +2 -0
  1003. data/app/assets/node_modules/morris.js/morris.js +1892 -0
  1004. data/app/assets/node_modules/morris.js/morris.min.js +7 -0
  1005. data/app/assets/node_modules/morris.js/package.json +36 -0
  1006. data/app/assets/node_modules/morris.js/spec/lib/area/area_spec.coffee +60 -0
  1007. data/app/assets/node_modules/morris.js/spec/lib/bar/bar_spec.coffee +127 -0
  1008. data/app/assets/node_modules/morris.js/spec/lib/bar/colours.coffee +36 -0
  1009. data/app/assets/node_modules/morris.js/spec/lib/commas_spec.coffee +38 -0
  1010. data/app/assets/node_modules/morris.js/spec/lib/donut/donut_spec.coffee +76 -0
  1011. data/app/assets/node_modules/morris.js/spec/lib/grid/auto_grid_lines_spec.coffee +25 -0
  1012. data/app/assets/node_modules/morris.js/spec/lib/grid/set_data_spec.coffee +208 -0
  1013. data/app/assets/node_modules/morris.js/spec/lib/grid/y_label_format_spec.coffee +15 -0
  1014. data/app/assets/node_modules/morris.js/spec/lib/hover_spec.coffee +64 -0
  1015. data/app/assets/node_modules/morris.js/spec/lib/label_series_spec.coffee +186 -0
  1016. data/app/assets/node_modules/morris.js/spec/lib/line/line_spec.coffee +211 -0
  1017. data/app/assets/node_modules/morris.js/spec/lib/pad_spec.coffee +17 -0
  1018. data/app/assets/node_modules/morris.js/spec/lib/parse_time_spec.coffee +35 -0
  1019. data/app/assets/node_modules/morris.js/spec/specs.html +34 -0
  1020. data/app/assets/node_modules/morris.js/spec/support/placeholder.coffee +6 -0
  1021. data/app/assets/node_modules/morris.js/spec/viz/examples.js +56 -0
  1022. data/app/assets/node_modules/morris.js/spec/viz/exemplary/area0.png +0 -0
  1023. data/app/assets/node_modules/morris.js/spec/viz/exemplary/bar0.png +0 -0
  1024. data/app/assets/node_modules/morris.js/spec/viz/exemplary/line0.png +0 -0
  1025. data/app/assets/node_modules/morris.js/spec/viz/exemplary/stacked_bar0.png +0 -0
  1026. data/app/assets/node_modules/morris.js/spec/viz/run.sh +32 -0
  1027. data/app/assets/node_modules/morris.js/spec/viz/test.html +34 -0
  1028. data/app/assets/node_modules/morris.js/spec/viz/visual_specs.js +66 -0
  1029. data/app/assets/node_modules/nprogress/History.md +110 -0
  1030. data/app/assets/node_modules/nprogress/License.md +19 -0
  1031. data/app/assets/node_modules/nprogress/Notes.md +25 -0
  1032. data/app/assets/node_modules/nprogress/Readme.md +197 -0
  1033. data/app/assets/node_modules/nprogress/bower.json +27 -0
  1034. data/app/assets/node_modules/nprogress/component.json +19 -0
  1035. data/app/assets/node_modules/nprogress/nprogress.css +74 -0
  1036. data/app/assets/node_modules/nprogress/nprogress.js +476 -0
  1037. data/app/assets/node_modules/nprogress/package.json +47 -0
  1038. data/app/assets/node_modules/nprogress/test/component.html +26 -0
  1039. data/app/assets/node_modules/nprogress/test/test.js +175 -0
  1040. data/app/assets/node_modules/parchment/LICENSE +29 -0
  1041. data/app/assets/node_modules/parchment/README.md +274 -0
  1042. data/app/assets/node_modules/parchment/dist/parchment.js +1749 -0
  1043. data/app/assets/node_modules/parchment/dist/parchment.js.map +1 -0
  1044. data/app/assets/node_modules/parchment/dist/src/attributor/attributor.d.ts +17 -0
  1045. data/app/assets/node_modules/parchment/dist/src/attributor/class.d.ts +8 -0
  1046. data/app/assets/node_modules/parchment/dist/src/attributor/store.d.ts +15 -0
  1047. data/app/assets/node_modules/parchment/dist/src/attributor/style.d.ts +8 -0
  1048. data/app/assets/node_modules/parchment/dist/src/blot/abstract/blot.d.ts +63 -0
  1049. data/app/assets/node_modules/parchment/dist/src/blot/abstract/container.d.ts +40 -0
  1050. data/app/assets/node_modules/parchment/dist/src/blot/abstract/format.d.ts +18 -0
  1051. data/app/assets/node_modules/parchment/dist/src/blot/abstract/leaf.d.ts +11 -0
  1052. data/app/assets/node_modules/parchment/dist/src/blot/abstract/parent.d.ts +41 -0
  1053. data/app/assets/node_modules/parchment/dist/src/blot/abstract/shadow.d.ts +38 -0
  1054. data/app/assets/node_modules/parchment/dist/src/blot/block.d.ts +15 -0
  1055. data/app/assets/node_modules/parchment/dist/src/blot/embed.d.ts +11 -0
  1056. data/app/assets/node_modules/parchment/dist/src/blot/inline.d.ts +14 -0
  1057. data/app/assets/node_modules/parchment/dist/src/blot/scroll.d.ts +24 -0
  1058. data/app/assets/node_modules/parchment/dist/src/blot/text.d.ts +26 -0
  1059. data/app/assets/node_modules/parchment/dist/src/collection/linked-list.d.ts +19 -0
  1060. data/app/assets/node_modules/parchment/dist/src/collection/linked-node.d.ts +6 -0
  1061. data/app/assets/node_modules/parchment/dist/src/parchment.d.ts +35 -0
  1062. data/app/assets/node_modules/parchment/dist/src/registry.d.ts +31 -0
  1063. data/app/assets/node_modules/parchment/package.json +44 -0
  1064. data/app/assets/node_modules/parchment/src/attributor/attributor.ts +61 -0
  1065. data/app/assets/node_modules/parchment/src/attributor/class.ts +44 -0
  1066. data/app/assets/node_modules/parchment/src/attributor/store.ts +73 -0
  1067. data/app/assets/node_modules/parchment/src/attributor/style.ts +44 -0
  1068. data/app/assets/node_modules/parchment/src/blot/abstract/blot.ts +58 -0
  1069. data/app/assets/node_modules/parchment/src/blot/abstract/container.ts +268 -0
  1070. data/app/assets/node_modules/parchment/src/blot/abstract/format.ts +71 -0
  1071. data/app/assets/node_modules/parchment/src/blot/abstract/leaf.ts +33 -0
  1072. data/app/assets/node_modules/parchment/src/blot/abstract/shadow.ts +174 -0
  1073. data/app/assets/node_modules/parchment/src/blot/block.ts +53 -0
  1074. data/app/assets/node_modules/parchment/src/blot/embed.ts +29 -0
  1075. data/app/assets/node_modules/parchment/src/blot/inline.ts +64 -0
  1076. data/app/assets/node_modules/parchment/src/blot/scroll.ts +166 -0
  1077. data/app/assets/node_modules/parchment/src/blot/text.ts +93 -0
  1078. data/app/assets/node_modules/parchment/src/collection/linked-list.ts +143 -0
  1079. data/app/assets/node_modules/parchment/src/collection/linked-node.ts +8 -0
  1080. data/app/assets/node_modules/parchment/src/parchment.ts +46 -0
  1081. data/app/assets/node_modules/parchment/src/registry.ts +133 -0
  1082. data/app/assets/node_modules/parchment/tsconfig.json +9 -0
  1083. data/app/assets/node_modules/popper.js/README.md +219 -0
  1084. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.js +1093 -0
  1085. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.js.map +1 -0
  1086. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.min.js +5 -0
  1087. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.min.js.map +1 -0
  1088. data/app/assets/node_modules/popper.js/dist/esm/popper.js +2520 -0
  1089. data/app/assets/node_modules/popper.js/dist/esm/popper.js.map +1 -0
  1090. data/app/assets/node_modules/popper.js/dist/esm/popper.min.js +5 -0
  1091. data/app/assets/node_modules/popper.js/dist/esm/popper.min.js.map +1 -0
  1092. data/app/assets/node_modules/popper.js/dist/popper-utils.js +1042 -0
  1093. data/app/assets/node_modules/popper.js/dist/popper-utils.js.map +1 -0
  1094. data/app/assets/node_modules/popper.js/dist/popper-utils.min.js +5 -0
  1095. data/app/assets/node_modules/popper.js/dist/popper-utils.min.js.map +1 -0
  1096. data/app/assets/node_modules/popper.js/dist/popper.js +2372 -0
  1097. data/app/assets/node_modules/popper.js/dist/popper.js.map +1 -0
  1098. data/app/assets/node_modules/popper.js/dist/popper.min.js +5 -0
  1099. data/app/assets/node_modules/popper.js/dist/popper.min.js.map +1 -0
  1100. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.js +1131 -0
  1101. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.js.map +1 -0
  1102. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.min.js +5 -0
  1103. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.min.js.map +1 -0
  1104. data/app/assets/node_modules/popper.js/dist/umd/popper.js +2528 -0
  1105. data/app/assets/node_modules/popper.js/dist/umd/popper.js.map +1 -0
  1106. data/app/assets/node_modules/popper.js/dist/umd/popper.min.js +5 -0
  1107. data/app/assets/node_modules/popper.js/dist/umd/popper.min.js.map +1 -0
  1108. data/app/assets/node_modules/popper.js/index.d.ts +159 -0
  1109. data/app/assets/node_modules/popper.js/package.json +54 -0
  1110. data/app/assets/node_modules/quill/CHANGELOG.md +734 -0
  1111. data/app/assets/node_modules/quill/LICENSE +30 -0
  1112. data/app/assets/node_modules/quill/README.md +109 -0
  1113. data/app/assets/node_modules/quill/assets/base.styl +304 -0
  1114. data/app/assets/node_modules/quill/assets/bubble/toolbar.styl +14 -0
  1115. data/app/assets/node_modules/quill/assets/bubble/tooltip.styl +49 -0
  1116. data/app/assets/node_modules/quill/assets/bubble.styl +45 -0
  1117. data/app/assets/node_modules/quill/assets/core.styl +183 -0
  1118. data/app/assets/node_modules/quill/assets/favicon.png +0 -0
  1119. data/app/assets/node_modules/quill/assets/icons/align-center.svg +5 -0
  1120. data/app/assets/node_modules/quill/assets/icons/align-justify.svg +5 -0
  1121. data/app/assets/node_modules/quill/assets/icons/align-left.svg +5 -0
  1122. data/app/assets/node_modules/quill/assets/icons/align-right.svg +5 -0
  1123. data/app/assets/node_modules/quill/assets/icons/attachment.svg +3 -0
  1124. data/app/assets/node_modules/quill/assets/icons/audio.svg +5 -0
  1125. data/app/assets/node_modules/quill/assets/icons/authorship.svg +5 -0
  1126. data/app/assets/node_modules/quill/assets/icons/background.svg +52 -0
  1127. data/app/assets/node_modules/quill/assets/icons/blockquote.svg +6 -0
  1128. data/app/assets/node_modules/quill/assets/icons/bold.svg +4 -0
  1129. data/app/assets/node_modules/quill/assets/icons/clean.svg +7 -0
  1130. data/app/assets/node_modules/quill/assets/icons/code.svg +5 -0
  1131. data/app/assets/node_modules/quill/assets/icons/color.svg +5 -0
  1132. data/app/assets/node_modules/quill/assets/icons/comment.svg +3 -0
  1133. data/app/assets/node_modules/quill/assets/icons/direction-ltr.svg +7 -0
  1134. data/app/assets/node_modules/quill/assets/icons/direction-rtl.svg +7 -0
  1135. data/app/assets/node_modules/quill/assets/icons/dropdown.svg +4 -0
  1136. data/app/assets/node_modules/quill/assets/icons/embed.svg +3 -0
  1137. data/app/assets/node_modules/quill/assets/icons/emoji.svg +6 -0
  1138. data/app/assets/node_modules/quill/assets/icons/float-center.svg +5 -0
  1139. data/app/assets/node_modules/quill/assets/icons/float-full.svg +5 -0
  1140. data/app/assets/node_modules/quill/assets/icons/float-left.svg +7 -0
  1141. data/app/assets/node_modules/quill/assets/icons/float-right.svg +7 -0
  1142. data/app/assets/node_modules/quill/assets/icons/font.svg +5 -0
  1143. data/app/assets/node_modules/quill/assets/icons/formula.svg +5 -0
  1144. data/app/assets/node_modules/quill/assets/icons/hashtag.svg +6 -0
  1145. data/app/assets/node_modules/quill/assets/icons/header-2.svg +3 -0
  1146. data/app/assets/node_modules/quill/assets/icons/header-3.svg +3 -0
  1147. data/app/assets/node_modules/quill/assets/icons/header-4.svg +3 -0
  1148. data/app/assets/node_modules/quill/assets/icons/header-5.svg +3 -0
  1149. data/app/assets/node_modules/quill/assets/icons/header-6.svg +3 -0
  1150. data/app/assets/node_modules/quill/assets/icons/header.svg +3 -0
  1151. data/app/assets/node_modules/quill/assets/icons/horizontal-rule.svg +4 -0
  1152. data/app/assets/node_modules/quill/assets/icons/image.svg +5 -0
  1153. data/app/assets/node_modules/quill/assets/icons/indent.svg +6 -0
  1154. data/app/assets/node_modules/quill/assets/icons/italic.svg +5 -0
  1155. data/app/assets/node_modules/quill/assets/icons/link.svg +5 -0
  1156. data/app/assets/node_modules/quill/assets/icons/list-bullet.svg +8 -0
  1157. data/app/assets/node_modules/quill/assets/icons/list-check.svg +8 -0
  1158. data/app/assets/node_modules/quill/assets/icons/list-ordered.svg +9 -0
  1159. data/app/assets/node_modules/quill/assets/icons/map.svg +5 -0
  1160. data/app/assets/node_modules/quill/assets/icons/mention.svg +4 -0
  1161. data/app/assets/node_modules/quill/assets/icons/more.svg +3 -0
  1162. data/app/assets/node_modules/quill/assets/icons/outdent.svg +6 -0
  1163. data/app/assets/node_modules/quill/assets/icons/redo.svg +4 -0
  1164. data/app/assets/node_modules/quill/assets/icons/size-decrease.svg +5 -0
  1165. data/app/assets/node_modules/quill/assets/icons/size-increase.svg +6 -0
  1166. data/app/assets/node_modules/quill/assets/icons/size.svg +6 -0
  1167. data/app/assets/node_modules/quill/assets/icons/spacing.svg +9 -0
  1168. data/app/assets/node_modules/quill/assets/icons/speech.svg +6 -0
  1169. data/app/assets/node_modules/quill/assets/icons/strike.svg +5 -0
  1170. data/app/assets/node_modules/quill/assets/icons/subscript.svg +4 -0
  1171. data/app/assets/node_modules/quill/assets/icons/superscript.svg +4 -0
  1172. data/app/assets/node_modules/quill/assets/icons/table-border-all.svg +5 -0
  1173. data/app/assets/node_modules/quill/assets/icons/table-border-bottom.svg +28 -0
  1174. data/app/assets/node_modules/quill/assets/icons/table-border-left.svg +28 -0
  1175. data/app/assets/node_modules/quill/assets/icons/table-border-none.svg +25 -0
  1176. data/app/assets/node_modules/quill/assets/icons/table-border-outside.svg +35 -0
  1177. data/app/assets/node_modules/quill/assets/icons/table-border-right.svg +28 -0
  1178. data/app/assets/node_modules/quill/assets/icons/table-border-top.svg +28 -0
  1179. data/app/assets/node_modules/quill/assets/icons/table-delete-cells.svg +13 -0
  1180. data/app/assets/node_modules/quill/assets/icons/table-delete-columns.svg +8 -0
  1181. data/app/assets/node_modules/quill/assets/icons/table-delete-rows.svg +9 -0
  1182. data/app/assets/node_modules/quill/assets/icons/table-insert-cells.svg +13 -0
  1183. data/app/assets/node_modules/quill/assets/icons/table-insert-columns.svg +8 -0
  1184. data/app/assets/node_modules/quill/assets/icons/table-insert-rows.svg +9 -0
  1185. data/app/assets/node_modules/quill/assets/icons/table-merge-cells.svg +4 -0
  1186. data/app/assets/node_modules/quill/assets/icons/table-unmerge-cells.svg +7 -0
  1187. data/app/assets/node_modules/quill/assets/icons/table.svg +11 -0
  1188. data/app/assets/node_modules/quill/assets/icons/underline.svg +4 -0
  1189. data/app/assets/node_modules/quill/assets/icons/undo.svg +4 -0
  1190. data/app/assets/node_modules/quill/assets/icons/video.svg +14 -0
  1191. data/app/assets/node_modules/quill/assets/snow/toolbar.styl +26 -0
  1192. data/app/assets/node_modules/quill/assets/snow/tooltip.styl +53 -0
  1193. data/app/assets/node_modules/quill/assets/snow.styl +18 -0
  1194. data/app/assets/node_modules/quill/blots/block.js +174 -0
  1195. data/app/assets/node_modules/quill/blots/break.js +29 -0
  1196. data/app/assets/node_modules/quill/blots/container.js +9 -0
  1197. data/app/assets/node_modules/quill/blots/cursor.js +116 -0
  1198. data/app/assets/node_modules/quill/blots/embed.js +79 -0
  1199. data/app/assets/node_modules/quill/blots/inline.js +50 -0
  1200. data/app/assets/node_modules/quill/blots/scroll.js +173 -0
  1201. data/app/assets/node_modules/quill/blots/text.js +5 -0
  1202. data/app/assets/node_modules/quill/core/editor.js +267 -0
  1203. data/app/assets/node_modules/quill/core/emitter.js +63 -0
  1204. data/app/assets/node_modules/quill/core/logger.js +22 -0
  1205. data/app/assets/node_modules/quill/core/module.js +10 -0
  1206. data/app/assets/node_modules/quill/core/polyfill.js +63 -0
  1207. data/app/assets/node_modules/quill/core/quill.js +506 -0
  1208. data/app/assets/node_modules/quill/core/selection.js +355 -0
  1209. data/app/assets/node_modules/quill/core/theme.js +30 -0
  1210. data/app/assets/node_modules/quill/core.js +36 -0
  1211. data/app/assets/node_modules/quill/dist/quill.bubble.css +952 -0
  1212. data/app/assets/node_modules/quill/dist/quill.core.css +397 -0
  1213. data/app/assets/node_modules/quill/dist/quill.core.js +8522 -0
  1214. data/app/assets/node_modules/quill/dist/quill.js +11489 -0
  1215. data/app/assets/node_modules/quill/dist/quill.min.js +8 -0
  1216. data/app/assets/node_modules/quill/dist/quill.min.js.map +1 -0
  1217. data/app/assets/node_modules/quill/dist/quill.snow.css +945 -0
  1218. data/app/assets/node_modules/quill/formats/align.js +12 -0
  1219. data/app/assets/node_modules/quill/formats/background.js +11 -0
  1220. data/app/assets/node_modules/quill/formats/blockquote.js +9 -0
  1221. data/app/assets/node_modules/quill/formats/bold.js +22 -0
  1222. data/app/assets/node_modules/quill/formats/code.js +118 -0
  1223. data/app/assets/node_modules/quill/formats/color.js +21 -0
  1224. data/app/assets/node_modules/quill/formats/direction.js +12 -0
  1225. data/app/assets/node_modules/quill/formats/font.js +18 -0
  1226. data/app/assets/node_modules/quill/formats/header.js +13 -0
  1227. data/app/assets/node_modules/quill/formats/image.js +57 -0
  1228. data/app/assets/node_modules/quill/formats/indent.js +31 -0
  1229. data/app/assets/node_modules/quill/formats/italic.js +7 -0
  1230. data/app/assets/node_modules/quill/formats/link.js +41 -0
  1231. data/app/assets/node_modules/quill/formats/list.js +130 -0
  1232. data/app/assets/node_modules/quill/formats/script.js +23 -0
  1233. data/app/assets/node_modules/quill/formats/size.js +12 -0
  1234. data/app/assets/node_modules/quill/formats/strike.js +7 -0
  1235. data/app/assets/node_modules/quill/formats/underline.js +7 -0
  1236. data/app/assets/node_modules/quill/formats/video.js +53 -0
  1237. data/app/assets/node_modules/quill/modules/clipboard.js +358 -0
  1238. data/app/assets/node_modules/quill/modules/formula.js +42 -0
  1239. data/app/assets/node_modules/quill/modules/history.js +120 -0
  1240. data/app/assets/node_modules/quill/modules/keyboard.js +494 -0
  1241. data/app/assets/node_modules/quill/modules/syntax.js +81 -0
  1242. data/app/assets/node_modules/quill/modules/toolbar.js +261 -0
  1243. data/app/assets/node_modules/quill/package.json +99 -0
  1244. data/app/assets/node_modules/quill/quill.js +104 -0
  1245. data/app/assets/node_modules/quill/themes/base.js +264 -0
  1246. data/app/assets/node_modules/quill/themes/bubble.js +111 -0
  1247. data/app/assets/node_modules/quill/themes/snow.js +120 -0
  1248. data/app/assets/node_modules/quill/ui/color-picker.js +35 -0
  1249. data/app/assets/node_modules/quill/ui/icon-picker.js +23 -0
  1250. data/app/assets/node_modules/quill/ui/icons.js +49 -0
  1251. data/app/assets/node_modules/quill/ui/picker.js +186 -0
  1252. data/app/assets/node_modules/quill/ui/tooltip.js +53 -0
  1253. data/app/assets/node_modules/quill-delta/CHANGELOG.md +48 -0
  1254. data/app/assets/node_modules/quill-delta/LICENSE +21 -0
  1255. data/app/assets/node_modules/quill-delta/README.md +639 -0
  1256. data/app/assets/node_modules/quill-delta/lib/delta.js +325 -0
  1257. data/app/assets/node_modules/quill-delta/lib/op.js +139 -0
  1258. data/app/assets/node_modules/quill-delta/package.json +40 -0
  1259. data/app/assets/node_modules/raphael/CONTRIBUTING.md +22 -0
  1260. data/app/assets/node_modules/raphael/Gruntfile.js +72 -0
  1261. data/app/assets/node_modules/raphael/README.md +75 -0
  1262. data/app/assets/node_modules/raphael/bower.json +31 -0
  1263. data/app/assets/node_modules/raphael/dev/banner.txt +8 -0
  1264. data/app/assets/node_modules/raphael/dev/raphael.amd.js +5 -0
  1265. data/app/assets/node_modules/raphael/dev/raphael.core.js +5405 -0
  1266. data/app/assets/node_modules/raphael/dev/raphael.svg.js +1424 -0
  1267. data/app/assets/node_modules/raphael/dev/raphael.vml.js +999 -0
  1268. data/app/assets/node_modules/raphael/dev/raphaelTest.html +39 -0
  1269. data/app/assets/node_modules/raphael/dev/test/index.html +31 -0
  1270. data/app/assets/node_modules/raphael/dev/test/svg/dom.js +317 -0
  1271. data/app/assets/node_modules/raphael/dev/test/vml/dom.js +5 -0
  1272. data/app/assets/node_modules/raphael/history.md +155 -0
  1273. data/app/assets/node_modules/raphael/license.txt +21 -0
  1274. data/app/assets/node_modules/raphael/package.json +47 -0
  1275. data/app/assets/node_modules/raphael/raphael.js +8353 -0
  1276. data/app/assets/node_modules/raphael/raphael.min.js +3 -0
  1277. data/app/assets/node_modules/raphael/raphael.no-deps.js +7927 -0
  1278. data/app/assets/node_modules/raphael/raphael.no-deps.min.js +3 -0
  1279. data/app/assets/node_modules/raphael/webpack.config.js +64 -0
  1280. data/app/assets/node_modules/raphael/yarn.lock +2012 -0
  1281. data/app/assets/node_modules/responsive-toolkit/CHANGELOG.md +70 -0
  1282. data/app/assets/node_modules/responsive-toolkit/LICENSE +21 -0
  1283. data/app/assets/node_modules/responsive-toolkit/README.md +155 -0
  1284. data/app/assets/node_modules/responsive-toolkit/bower.json +22 -0
  1285. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/index.html +53 -0
  1286. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/main.js +42 -0
  1287. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/style.css +109 -0
  1288. data/app/assets/node_modules/responsive-toolkit/demos/custom/index.html +23 -0
  1289. data/app/assets/node_modules/responsive-toolkit/demos/custom/main.js +36 -0
  1290. data/app/assets/node_modules/responsive-toolkit/demos/custom/style.css +19 -0
  1291. data/app/assets/node_modules/responsive-toolkit/demos/foundation/index.html +25 -0
  1292. data/app/assets/node_modules/responsive-toolkit/demos/foundation/main.js +28 -0
  1293. data/app/assets/node_modules/responsive-toolkit/demos/foundation/style.css +3 -0
  1294. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit-1.5.0.js +49 -0
  1295. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit-1.5.0.min.js +8 -0
  1296. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit.js +238 -0
  1297. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit.min.js +8 -0
  1298. data/app/assets/node_modules/responsive-toolkit/gulpfile.js +38 -0
  1299. data/app/assets/node_modules/responsive-toolkit/package.json +28 -0
  1300. data/app/assets/node_modules/responsive-toolkit/src/bootstrap-toolkit.js +238 -0
  1301. data/app/assets/node_modules/sortablejs/README.md +636 -0
  1302. data/app/assets/node_modules/sortablejs/Sortable.js +1540 -0
  1303. data/app/assets/node_modules/sortablejs/Sortable.min.js +2 -0
  1304. data/app/assets/node_modules/sortablejs/package.json +48 -0
  1305. data/app/assets/node_modules/tether/CHANGELOG.md +13 -0
  1306. data/app/assets/node_modules/tether/CONTRIBUTING.md +59 -0
  1307. data/app/assets/node_modules/tether/LICENSE +8 -0
  1308. data/app/assets/node_modules/tether/README.md +116 -0
  1309. data/app/assets/node_modules/tether/bower.json +26 -0
  1310. data/app/assets/node_modules/tether/component.json +22 -0
  1311. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows-dark.css +150 -0
  1312. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows-dark.min.css +1 -0
  1313. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows.css +153 -0
  1314. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows.min.css +1 -0
  1315. data/app/assets/node_modules/tether/dist/css/tether-theme-basic.css +21 -0
  1316. data/app/assets/node_modules/tether/dist/css/tether-theme-basic.min.css +1 -0
  1317. data/app/assets/node_modules/tether/dist/css/tether.css +8 -0
  1318. data/app/assets/node_modules/tether/dist/css/tether.min.css +1 -0
  1319. data/app/assets/node_modules/tether/dist/js/tether.js +1813 -0
  1320. data/app/assets/node_modules/tether/dist/js/tether.min.js +1 -0
  1321. data/app/assets/node_modules/tether/docs/1-Overview/1-why_you_should_use_tether.md +43 -0
  1322. data/app/assets/node_modules/tether/docs/1-Overview/2-repositioning.md +46 -0
  1323. data/app/assets/node_modules/tether/docs/1-Overview/3-why_we_dont_support_IE_8.md +47 -0
  1324. data/app/assets/node_modules/tether/docs/2-Examples/1-list_of_examples.md +27 -0
  1325. data/app/assets/node_modules/tether/docs/2-Examples/2-projects_using_tether.md +45 -0
  1326. data/app/assets/node_modules/tether/docs/3-Advanced/1-embedding_tether.md +9 -0
  1327. data/app/assets/node_modules/tether/docs/3-Advanced/2-extending_tether.md +54 -0
  1328. data/app/assets/node_modules/tether/docs/coffee/intro.coffee +113 -0
  1329. data/app/assets/node_modules/tether/docs/css/intro.css +218 -0
  1330. data/app/assets/node_modules/tether/docs/intro.md +591 -0
  1331. data/app/assets/node_modules/tether/docs/js/intro.js +117 -0
  1332. data/app/assets/node_modules/tether/docs/js/markAttachment.js +51 -0
  1333. data/app/assets/node_modules/tether/docs/sass/intro.sass +233 -0
  1334. data/app/assets/node_modules/tether/docs/welcome/browser-demo.html +76 -0
  1335. data/app/assets/node_modules/tether/docs/welcome/coffee/welcome.coffee +212 -0
  1336. data/app/assets/node_modules/tether/docs/welcome/css/browser-demo.css +86 -0
  1337. data/app/assets/node_modules/tether/docs/welcome/css/prism.css +2 -0
  1338. data/app/assets/node_modules/tether/docs/welcome/css/welcome.css +247 -0
  1339. data/app/assets/node_modules/tether/docs/welcome/index.html +226 -0
  1340. data/app/assets/node_modules/tether/docs/welcome/js/drop.js +239 -0
  1341. data/app/assets/node_modules/tether/docs/welcome/js/jquery.js +9597 -0
  1342. data/app/assets/node_modules/tether/docs/welcome/js/log.js +134 -0
  1343. data/app/assets/node_modules/tether/docs/welcome/js/tether-v0.1.3.js +2 -0
  1344. data/app/assets/node_modules/tether/docs/welcome/js/welcome.js +193 -0
  1345. data/app/assets/node_modules/tether/docs/welcome/sass/_inline-block.sass +6 -0
  1346. data/app/assets/node_modules/tether/docs/welcome/sass/browser-demo.sass +93 -0
  1347. data/app/assets/node_modules/tether/docs/welcome/sass/welcome.sass +285 -0
  1348. data/app/assets/node_modules/tether/examples/chosen/chosen-sprite.png +0 -0
  1349. data/app/assets/node_modules/tether/examples/chosen/chosen-sprite@2x.png +0 -0
  1350. data/app/assets/node_modules/tether/examples/chosen/chosen.css +430 -0
  1351. data/app/assets/node_modules/tether/examples/chosen/chosen.js +1166 -0
  1352. data/app/assets/node_modules/tether/examples/chosen/index.html +110 -0
  1353. data/app/assets/node_modules/tether/examples/common/css/style.css +48 -0
  1354. data/app/assets/node_modules/tether/examples/content-visible/index.html +64 -0
  1355. data/app/assets/node_modules/tether/examples/dolls/dolls.css +18 -0
  1356. data/app/assets/node_modules/tether/examples/dolls/dolls.js +83 -0
  1357. data/app/assets/node_modules/tether/examples/dolls/index.html +7 -0
  1358. data/app/assets/node_modules/tether/examples/element-scroll/index.html +499 -0
  1359. data/app/assets/node_modules/tether/examples/enable-disable/index.html +37 -0
  1360. data/app/assets/node_modules/tether/examples/facebook/facebook.css +86 -0
  1361. data/app/assets/node_modules/tether/examples/facebook/index.html +209 -0
  1362. data/app/assets/node_modules/tether/examples/out-of-bounds/index.html +38 -0
  1363. data/app/assets/node_modules/tether/examples/pin/index.html +30 -0
  1364. data/app/assets/node_modules/tether/examples/resources/css/base.css +10 -0
  1365. data/app/assets/node_modules/tether/examples/resources/js/jquery.js +9597 -0
  1366. data/app/assets/node_modules/tether/examples/resources/js/log.js +134 -0
  1367. data/app/assets/node_modules/tether/examples/scroll/index.html +922 -0
  1368. data/app/assets/node_modules/tether/examples/simple/index.html +30 -0
  1369. data/app/assets/node_modules/tether/examples/testbed/index.html +36 -0
  1370. data/app/assets/node_modules/tether/examples/tooltip/index.html +86 -0
  1371. data/app/assets/node_modules/tether/examples/viewport/colors.css +145 -0
  1372. data/app/assets/node_modules/tether/examples/viewport/index.html +70 -0
  1373. data/app/assets/node_modules/tether/gulpfile.js +97 -0
  1374. data/app/assets/node_modules/tether/package.json +40 -0
  1375. data/app/assets/node_modules/tether/src/css/helpers/_tether-theme-arrows.sass +192 -0
  1376. data/app/assets/node_modules/tether/src/css/helpers/_tether-theme-basic.sass +14 -0
  1377. data/app/assets/node_modules/tether/src/css/helpers/_tether.sass +12 -0
  1378. data/app/assets/node_modules/tether/src/css/mixins/_inline-block.sass +6 -0
  1379. data/app/assets/node_modules/tether/src/css/mixins/_pie-clearfix.sass +7 -0
  1380. data/app/assets/node_modules/tether/src/css/tether-theme-arrows-dark.sass +12 -0
  1381. data/app/assets/node_modules/tether/src/css/tether-theme-arrows.sass +12 -0
  1382. data/app/assets/node_modules/tether/src/css/tether-theme-basic.sass +10 -0
  1383. data/app/assets/node_modules/tether/src/css/tether.sass +5 -0
  1384. data/app/assets/node_modules/tether/src/js/abutment.js +61 -0
  1385. data/app/assets/node_modules/tether/src/js/constraint.js +366 -0
  1386. data/app/assets/node_modules/tether/src/js/markAttachment.js +46 -0
  1387. data/app/assets/node_modules/tether/src/js/shift.js +32 -0
  1388. data/app/assets/node_modules/tether/src/js/tether.js +811 -0
  1389. data/app/assets/node_modules/tether/src/js/utils.js +370 -0
  1390. data/app/assets/node_modules/tinycolor2/Gruntfile.js +59 -0
  1391. data/app/assets/node_modules/tinycolor2/LICENSE +20 -0
  1392. data/app/assets/node_modules/tinycolor2/README.md +469 -0
  1393. data/app/assets/node_modules/tinycolor2/bower.json +9 -0
  1394. data/app/assets/node_modules/tinycolor2/demo/demo.css +23 -0
  1395. data/app/assets/node_modules/tinycolor2/demo/jquery-1.9.1.js +9597 -0
  1396. data/app/assets/node_modules/tinycolor2/dist/tinycolor-min.js +4 -0
  1397. data/app/assets/node_modules/tinycolor2/docs/docco.css +192 -0
  1398. data/app/assets/node_modules/tinycolor2/docs/tinycolor.html +1023 -0
  1399. data/app/assets/node_modules/tinycolor2/index.html +207 -0
  1400. data/app/assets/node_modules/tinycolor2/package.json +31 -0
  1401. data/app/assets/node_modules/tinycolor2/test/index.html +19 -0
  1402. data/app/assets/node_modules/tinycolor2/test/qunit.css +244 -0
  1403. data/app/assets/node_modules/tinycolor2/test/qunit.js +2152 -0
  1404. data/app/assets/node_modules/tinycolor2/test/test.js +791 -0
  1405. data/app/assets/node_modules/tinycolor2/tinycolor.js +1195 -0
  1406. data/app/assets/stylesheets/rails_modular_admin/application.scss +2 -3
  1407. data/app/assets/stylesheets/rails_modular_admin.scss +0 -1
  1408. data/config/initializers/assets.rb +4 -29
  1409. data/lib/rails_modular_admin/engine.rb +30 -2
  1410. data/lib/rails_modular_admin/version.rb +1 -1
  1411. metadata +1419 -8
  1412. data/app/controllers/rails_modular_admin/application_controller.rb +0 -5
  1413. data/app/helpers/rails_modular_admin/application_helper.rb +0 -4
  1414. data/app/jobs/rails_modular_admin/application_job.rb +0 -4
  1415. data/app/mailers/rails_modular_admin/application_mailer.rb +0 -6
  1416. data/app/models/rails_modular_admin/application_record.rb +0 -5
@@ -0,0 +1,2168 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jquery.touchSwipe.js - Documentation</title>
6
+
7
+ <script src="scripts/prettify/prettify.js"></script>
8
+ <script src="scripts/prettify/lang-css.js"></script>
9
+ <!--[if lt IE 9]>
10
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
+ <![endif]-->
12
+ <link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
13
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
14
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
15
+ </head>
16
+ <body>
17
+
18
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
19
+ <label for="nav-trigger" class="navicon-button x">
20
+ <div class="navicon"></div>
21
+ </label>
22
+
23
+ <label for="nav-trigger" class="overlay"></label>
24
+
25
+ <nav>
26
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="$.html">$</a></li><li><a href="$.fn.html">fn</a></li><li><a href="$.fn.swipe.html">swipe</a><ul class='methods'><li data-type='method'><a href="$.fn.swipe.html#destroy">destroy</a></li><li data-type='method'><a href="$.fn.swipe.html#disable">disable</a></li><li data-type='method'><a href="$.fn.swipe.html#enable">enable</a></li><li data-type='method'><a href="$.fn.swipe.html#option">option</a></li></ul></li></ul><h3>Events</h3><ul><li><a href="$.fn.swipe.html#event:click">click</a></li><li><a href="$.fn.swipe.html#event:doubleTap">doubleTap</a></li><li><a href="$.fn.swipe.html#event:hold">hold</a></li><li><a href="$.fn.swipe.html#event:longTap">longTap</a></li><li><a href="$.fn.swipe.html#event:pinchIn">pinchIn</a></li><li><a href="$.fn.swipe.html#event:pinchOut">pinchOut</a></li><li><a href="$.fn.swipe.html#event:pinchStatus">pinchStatus</a></li><li><a href="$.fn.swipe.html#event:swipe">swipe</a></li><li><a href="$.fn.swipe.html#event:swipeDown">swipeDown</a></li><li><a href="$.fn.swipe.html#event:swipeLeft">swipeLeft</a></li><li><a href="$.fn.swipe.html#event:swipeRight">swipeRight</a></li><li><a href="$.fn.swipe.html#event:swipeStatus">swipeStatus</a></li><li><a href="$.fn.swipe.html#event:swipeUp">swipeUp</a></li><li><a href="$.fn.swipe.html#event:tap">tap</a></li></ul><h3>Namespaces</h3><ul><li><a href="$.fn.swipe.defaults.html">defaults</a></li><li><a href="$.fn.swipe.directions.html">directions</a></li><li><a href="$.fn.swipe.fingers.html">fingers</a></li><li><a href="$.fn.swipe.pageScroll.html">pageScroll</a></li><li><a href="$.fn.swipe.phases.html">phases</a></li></ul><h3>Tutorials</h3><ul><li><a href="tutorial-Any_finger_swipe.html">Any finger swipe</a></li><li><a href="tutorial-Basic_swipe.html">Basic swipe</a></li><li><a href="tutorial-Enable_and_destroy.html">Enable and destroy</a></li><li><a href="tutorial-Excluded_children.html">Excluded children</a></li><li><a href="tutorial-Finger_swipe.html">Finger swipe</a></li><li><a href="tutorial-Handlers_and_events.html">Handlers and events</a></li><li><a href="tutorial-Hold.html">Hold</a></li><li><a href="tutorial-Image_gallery_example.html">Image gallery example</a></li><li><a href="tutorial-Options.html">Options</a></li><li><a href="tutorial-Page_scrolling.html">Page scrolling</a></li><li><a href="tutorial-Page_zoom.html">Page zoom</a></li><li><a href="tutorial-Pinch.html">Pinch</a></li><li><a href="tutorial-Pinch_and_Swipe.html">Pinch and Swipe</a></li><li><a href="tutorial-Pinch_status.html">Pinch status</a></li><li><a href="tutorial-Single_swipe.html">Single swipe</a></li><li><a href="tutorial-Stop_propegation.html">Stop propegation</a></li><li><a href="tutorial-Swipe_status.html">Swipe status</a></li><li><a href="tutorial-Tap_vs_swipe.html">Tap vs swipe</a></li><li><a href="tutorial-Thresholds.html">Thresholds</a></li><li><a href="tutorial-Trigger_handlers.html">Trigger handlers</a></li><li><a href="tutorial-index_.html">index</a></li></ul>
27
+ </nav>
28
+
29
+ <div id="main">
30
+
31
+ <h1 class="page-title">jquery.touchSwipe.js</h1>
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ <section>
40
+ <article>
41
+ <pre class="prettyprint source linenums"><code>/*!
42
+ * @fileOverview TouchSwipe - jQuery Plugin
43
+ * @version 1.6.18
44
+ *
45
+ * @author Matt Bryson http://www.github.com/mattbryson
46
+ * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
47
+ * @see http://labs.rampinteractive.co.uk/touchSwipe/
48
+ * @see http://plugins.jquery.com/project/touchSwipe
49
+ * @license
50
+ * Copyright (c) 2010-2015 Matt Bryson
51
+ * Dual licensed under the MIT or GPL Version 2 licenses.
52
+ *
53
+ */
54
+
55
+ /*
56
+ *
57
+ * Changelog
58
+ * $Date: 2010-12-12 (Wed, 12 Dec 2010) $
59
+ * $version: 1.0.0
60
+ * $version: 1.0.1 - removed multibyte comments
61
+ *
62
+ * $Date: 2011-21-02 (Mon, 21 Feb 2011) $
63
+ * $version: 1.1.0 - added allowPageScroll property to allow swiping and scrolling of page
64
+ * - changed handler signatures so one handler can be used for multiple events
65
+ * $Date: 2011-23-02 (Wed, 23 Feb 2011) $
66
+ * $version: 1.2.0 - added click handler. This is fired if the user simply clicks and does not swipe. The event object and click target are passed to handler.
67
+ * - If you use the http://code.google.com/p/jquery-ui-for-ipad-and-iphone/ plugin, you can also assign jQuery mouse events to children of a touchSwipe object.
68
+ * $version: 1.2.1 - removed console log!
69
+ *
70
+ * $version: 1.2.2 - Fixed bug where scope was not preserved in callback methods.
71
+ *
72
+ * $Date: 2011-28-04 (Thurs, 28 April 2011) $
73
+ * $version: 1.2.4 - Changed licence terms to be MIT or GPL inline with jQuery. Added check for support of touch events to stop non compatible browsers erroring.
74
+ *
75
+ * $Date: 2011-27-09 (Tues, 27 September 2011) $
76
+ * $version: 1.2.5 - Added support for testing swipes with mouse on desktop browser (thanks to https://github.com/joelhy)
77
+ *
78
+ * $Date: 2012-14-05 (Mon, 14 May 2012) $
79
+ * $version: 1.2.6 - Added timeThreshold between start and end touch, so user can ignore slow swipes (thanks to Mark Chase). Default is null, all swipes are detected
80
+ *
81
+ * $Date: 2012-05-06 (Tues, 05 June 2012) $
82
+ * $version: 1.2.7 - Changed time threshold to have null default for backwards compatibility. Added duration param passed back in events, and refactored how time is handled.
83
+ *
84
+ * $Date: 2012-05-06 (Tues, 05 June 2012) $
85
+ * $version: 1.2.8 - Added the possibility to return a value like null or false in the trigger callback. In that way we can control when the touch start/move should take effect or not (simply by returning in some cases return null; or return false;) This effects the ontouchstart/ontouchmove event.
86
+ *
87
+ * $Date: 2012-06-06 (Wed, 06 June 2012) $
88
+ * $version: 1.3.0 - Refactored whole plugin to allow for methods to be executed, as well as exposed defaults for user override. Added 'enable', 'disable', and 'destroy' methods
89
+ *
90
+ * $Date: 2012-05-06 (Fri, 05 June 2012) $
91
+ * $version: 1.3.1 - Bug fixes - bind() with false as last argument is no longer supported in jQuery 1.6, also, if you just click, the duration is now returned correctly.
92
+ *
93
+ * $Date: 2012-29-07 (Sun, 29 July 2012) $
94
+ * $version: 1.3.2 - Added fallbackToMouseEvents option to NOT capture mouse events on non touch devices.
95
+ * - Added "all" fingers value to the fingers property, so any combination of fingers triggers the swipe, allowing event handlers to check the finger count
96
+ *
97
+ * $Date: 2012-09-08 (Thurs, 9 Aug 2012) $
98
+ * $version: 1.3.3 - Code tidy prep for minefied version
99
+ *
100
+ * $Date: 2012-04-10 (wed, 4 Oct 2012) $
101
+ * $version: 1.4.0 - Added pinch support, pinchIn and pinchOut
102
+ *
103
+ * $Date: 2012-11-10 (Thurs, 11 Oct 2012) $
104
+ * $version: 1.5.0 - Added excludedElements, a jquery selector that specifies child elements that do NOT trigger swipes. By default, this is .noSwipe
105
+ *
106
+ * $Date: 2012-22-10 (Mon, 22 Oct 2012) $
107
+ * $version: 1.5.1 - Fixed bug with jQuery 1.8 and trailing comma in excludedElements
108
+ * - Fixed bug with IE and eventPreventDefault()
109
+ * $Date: 2013-01-12 (Fri, 12 Jan 2013) $
110
+ * $version: 1.6.0 - Fixed bugs with pinching, mainly when both pinch and swipe enabled, as well as adding time threshold for multifinger gestures, so releasing one finger beofre the other doesnt trigger as single finger gesture.
111
+ * - made the demo site all static local HTML pages so they can be run locally by a developer
112
+ * - added jsDoc comments and added documentation for the plugin
113
+ * - code tidy
114
+ * - added triggerOnTouchLeave property that will end the event when the user swipes off the element.
115
+ * $Date: 2013-03-23 (Sat, 23 Mar 2013) $
116
+ * $version: 1.6.1 - Added support for ie8 touch events
117
+ * $version: 1.6.2 - Added support for events binding with on / off / bind in jQ for all callback names.
118
+ * - Deprecated the 'click' handler in favour of tap.
119
+ * - added cancelThreshold property
120
+ * - added option method to update init options at runtime
121
+ * $version 1.6.3 - added doubletap, longtap events and longTapThreshold, doubleTapThreshold property
122
+ *
123
+ * $Date: 2013-04-04 (Thurs, 04 April 2013) $
124
+ * $version 1.6.4 - Fixed bug with cancelThreshold introduced in 1.6.3, where swipe status no longer fired start event, and stopped once swiping back.
125
+ *
126
+ * $Date: 2013-08-24 (Sat, 24 Aug 2013) $
127
+ * $version 1.6.5 - Merged a few pull requests fixing various bugs, added AMD support.
128
+ *
129
+ * $Date: 2014-06-04 (Wed, 04 June 2014) $
130
+ * $version 1.6.6 - Merge of pull requests.
131
+ * - IE10 touch support
132
+ * - Only prevent default event handling on valid swipe
133
+ * - Separate license/changelog comment
134
+ * - Detect if the swipe is valid at the end of the touch event.
135
+ * - Pass fingerdata to event handlers.
136
+ * - Add 'hold' gesture
137
+ * - Be more tolerant about the tap distance
138
+ * - Typos and minor fixes
139
+ *
140
+ * $Date: 2015-22-01 (Thurs, 22 Jan 2015) $
141
+ * $version 1.6.7 - Added patch from https://github.com/mattbryson/TouchSwipe-Jquery-Plugin/issues/206 to fix memory leak
142
+ *
143
+ * $Date: 2015-2-2 (Mon, 2 Feb 2015) $
144
+ * $version 1.6.8 - Added preventDefaultEvents option to proxy events regardless.
145
+ * - Fixed issue with swipe and pinch not triggering at the same time
146
+ *
147
+ * $Date: 2015-9-6 (Tues, 9 June 2015) $
148
+ * $version 1.6.9 - Added PR from jdalton/hybrid to fix pointer events
149
+ * - Added scrolling demo
150
+ * - Added version property to plugin
151
+ *
152
+ * $Date: 2015-1-10 (Wed, 1 October 2015) $
153
+ * $version 1.6.10 - Added PR from beatspace to fix tap events
154
+ * $version 1.6.11 - Added PRs from indri-indri ( Doc tidyup), kkirsche ( Bower tidy up ), UziTech (preventDefaultEvents fixes )
155
+ * - Allowed setting multiple options via .swipe("options", options_hash) and more simply .swipe(options_hash) or exisitng instances
156
+ * $version 1.6.12 - Fixed bug with multi finger releases above 2 not triggering events
157
+ *
158
+ * $Date: 2015-12-18 (Fri, 18 December 2015) $
159
+ * $version 1.6.13 - Added PRs
160
+ * - Fixed #267 allowPageScroll not working correctly
161
+ * $version 1.6.14 - Fixed #220 / #248 doubletap not firing with swipes, #223 commonJS compatible
162
+ * $version 1.6.15 - More bug fixes
163
+ *
164
+ * $Date: 2016-04-29 (Fri, 29 April 2016) $
165
+ * $version 1.6.16 - Swipes with 0 distance now allow default events to trigger. So tapping any form elements or A tags will allow default interaction, but swiping will trigger a swipe.
166
+ Removed the a, input, select etc from the excluded Children list as the 0 distance tap solves that issue.
167
+ * $Date: 2016-05-19 (Fri, 29 April 2016) $
168
+ * $version 1.6.17 - Fixed context issue when calling instance methods via $("selector").swipe("method");
169
+ * $version 1.6.18 - now honors fallbackToMouseEvents=false for MS Pointer events when a Mouse is used.
170
+
171
+ */
172
+
173
+ /**
174
+ * See (http://jquery.com/).
175
+ * @name $
176
+ * @class
177
+ * See the jQuery Library (http://jquery.com/) for full details. This just
178
+ * documents the function and classes that are added to jQuery by this plug-in.
179
+ */
180
+
181
+ /**
182
+ * See (http://jquery.com/)
183
+ * @name fn
184
+ * @class
185
+ * See the jQuery Library (http://jquery.com/) for full details. This just
186
+ * documents the function and classes that are added to jQuery by this plug-in.
187
+ * @memberOf $
188
+ */
189
+
190
+
191
+ (function(factory) {
192
+ if (typeof define === 'function' &amp;&amp; define.amd &amp;&amp; define.amd.jQuery) {
193
+ // AMD. Register as anonymous module.
194
+ define(['jquery'], factory);
195
+ } else if (typeof module !== 'undefined' &amp;&amp; module.exports) {
196
+ // CommonJS Module
197
+ factory(require("jquery"));
198
+ } else {
199
+ // Browser globals.
200
+ factory(jQuery);
201
+ }
202
+ }(function($) {
203
+ "use strict";
204
+
205
+ //Constants
206
+ var VERSION = "1.6.18",
207
+ LEFT = "left",
208
+ RIGHT = "right",
209
+ UP = "up",
210
+ DOWN = "down",
211
+ IN = "in",
212
+ OUT = "out",
213
+
214
+ NONE = "none",
215
+ AUTO = "auto",
216
+
217
+ SWIPE = "swipe",
218
+ PINCH = "pinch",
219
+ TAP = "tap",
220
+ DOUBLE_TAP = "doubletap",
221
+ LONG_TAP = "longtap",
222
+ HOLD = "hold",
223
+
224
+ HORIZONTAL = "horizontal",
225
+ VERTICAL = "vertical",
226
+
227
+ ALL_FINGERS = "all",
228
+
229
+ DOUBLE_TAP_THRESHOLD = 10,
230
+
231
+ PHASE_START = "start",
232
+ PHASE_MOVE = "move",
233
+ PHASE_END = "end",
234
+ PHASE_CANCEL = "cancel",
235
+
236
+ SUPPORTS_TOUCH = 'ontouchstart' in window,
237
+
238
+ SUPPORTS_POINTER_IE10 = window.navigator.msPointerEnabled &amp;&amp; !window.navigator.pointerEnabled &amp;&amp; !SUPPORTS_TOUCH,
239
+
240
+ SUPPORTS_POINTER = (window.navigator.pointerEnabled || window.navigator.msPointerEnabled) &amp;&amp; !SUPPORTS_TOUCH,
241
+
242
+ PLUGIN_NS = 'TouchSwipe';
243
+
244
+
245
+
246
+ /**
247
+ * The default configuration, and available options to configure touch swipe with.
248
+ * You can set the default values by updating any of the properties prior to instantiation.
249
+ * @name $.fn.swipe.defaults
250
+ * @namespace
251
+ * @property {int} [fingers=1] The number of fingers to detect in a swipe. Any swipes that do not meet this requirement will NOT trigger swipe handlers.
252
+ * @property {int} [threshold=75] The number of pixels that the user must move their finger by before it is considered a swipe.
253
+ * @property {int} [cancelThreshold=null] The number of pixels that the user must move their finger back from the original swipe direction to cancel the gesture.
254
+ * @property {int} [pinchThreshold=20] The number of pixels that the user must pinch their finger by before it is considered a pinch.
255
+ * @property {int} [maxTimeThreshold=null] Time, in milliseconds, between touchStart and touchEnd must NOT exceed in order to be considered a swipe.
256
+ * @property {int} [fingerReleaseThreshold=250] Time in milliseconds between releasing multiple fingers. If 2 fingers are down, and are released one after the other, if they are within this threshold, it counts as a simultaneous release.
257
+ * @property {int} [longTapThreshold=500] Time in milliseconds between tap and release for a long tap
258
+ * @property {int} [doubleTapThreshold=200] Time in milliseconds between 2 taps to count as a double tap
259
+ * @property {function} [swipe=null] A handler to catch all swipes. See {@link $.fn.swipe#event:swipe}
260
+ * @property {function} [swipeLeft=null] A handler that is triggered for "left" swipes. See {@link $.fn.swipe#event:swipeLeft}
261
+ * @property {function} [swipeRight=null] A handler that is triggered for "right" swipes. See {@link $.fn.swipe#event:swipeRight}
262
+ * @property {function} [swipeUp=null] A handler that is triggered for "up" swipes. See {@link $.fn.swipe#event:swipeUp}
263
+ * @property {function} [swipeDown=null] A handler that is triggered for "down" swipes. See {@link $.fn.swipe#event:swipeDown}
264
+ * @property {function} [swipeStatus=null] A handler triggered for every phase of the swipe. See {@link $.fn.swipe#event:swipeStatus}
265
+ * @property {function} [pinchIn=null] A handler triggered for pinch in events. See {@link $.fn.swipe#event:pinchIn}
266
+ * @property {function} [pinchOut=null] A handler triggered for pinch out events. See {@link $.fn.swipe#event:pinchOut}
267
+ * @property {function} [pinchStatus=null] A handler triggered for every phase of a pinch. See {@link $.fn.swipe#event:pinchStatus}
268
+ * @property {function} [tap=null] A handler triggered when a user just taps on the item, rather than swipes it. If they do not move, tap is triggered, if they do move, it is not.
269
+ * @property {function} [doubleTap=null] A handler triggered when a user double taps on the item. The delay between taps can be set with the doubleTapThreshold property. See {@link $.fn.swipe.defaults#doubleTapThreshold}
270
+ * @property {function} [longTap=null] A handler triggered when a user long taps on the item. The delay between start and end can be set with the longTapThreshold property. See {@link $.fn.swipe.defaults#longTapThreshold}
271
+ * @property (function) [hold=null] A handler triggered when a user reaches longTapThreshold on the item. See {@link $.fn.swipe.defaults#longTapThreshold}
272
+ * @property {boolean} [triggerOnTouchEnd=true] If true, the swipe events are triggered when the touch end event is received (user releases finger). If false, it will be triggered on reaching the threshold, and then cancel the touch event automatically.
273
+ * @property {boolean} [triggerOnTouchLeave=false] If true, then when the user leaves the swipe object, the swipe will end and trigger appropriate handlers.
274
+ * @property {string|undefined} [allowPageScroll='auto'] How the browser handles page scrolls when the user is swiping on a touchSwipe object. See {@link $.fn.swipe.pageScroll}. &lt;br/>&lt;br/>
275
+ &lt;code>"auto"&lt;/code> : all undefined swipes will cause the page to scroll in that direction. &lt;br/>
276
+ &lt;code>"none"&lt;/code> : the page will not scroll when user swipes. &lt;br/>
277
+ &lt;code>"horizontal"&lt;/code> : will force page to scroll on horizontal swipes. &lt;br/>
278
+ &lt;code>"vertical"&lt;/code> : will force page to scroll on vertical swipes. &lt;br/>
279
+ * @property {boolean} [fallbackToMouseEvents=true] If true mouse events are used when run on a non touch device, false will stop swipes being triggered by mouse events on non tocuh devices.
280
+ * @property {string} [excludedElements=".noSwipe"] A jquery selector that specifies child elements that do NOT trigger swipes. By default this excludes elements with the class .noSwipe .
281
+ * @property {boolean} [preventDefaultEvents=true] by default default events are cancelled, so the page doesn't move. You can dissable this so both native events fire as well as your handlers.
282
+
283
+ */
284
+ var defaults = {
285
+ fingers: 1,
286
+ threshold: 75,
287
+ cancelThreshold: null,
288
+ pinchThreshold: 20,
289
+ maxTimeThreshold: null,
290
+ fingerReleaseThreshold: 250,
291
+ longTapThreshold: 500,
292
+ doubleTapThreshold: 200,
293
+ swipe: null,
294
+ swipeLeft: null,
295
+ swipeRight: null,
296
+ swipeUp: null,
297
+ swipeDown: null,
298
+ swipeStatus: null,
299
+ pinchIn: null,
300
+ pinchOut: null,
301
+ pinchStatus: null,
302
+ click: null, //Deprecated since 1.6.2
303
+ tap: null,
304
+ doubleTap: null,
305
+ longTap: null,
306
+ hold: null,
307
+ triggerOnTouchEnd: true,
308
+ triggerOnTouchLeave: false,
309
+ allowPageScroll: "auto",
310
+ fallbackToMouseEvents: true,
311
+ excludedElements: ".noSwipe",
312
+ preventDefaultEvents: true
313
+ };
314
+
315
+
316
+
317
+ /**
318
+ * Applies TouchSwipe behaviour to one or more jQuery objects.
319
+ * The TouchSwipe plugin can be instantiated via this method, or methods within
320
+ * TouchSwipe can be executed via this method as per jQuery plugin architecture.
321
+ * An existing plugin can have its options changed simply by re calling .swipe(options)
322
+ * @see TouchSwipe
323
+ * @class
324
+ * @param {Mixed} method If the current DOMNode is a TouchSwipe object, and &lt;code>method&lt;/code> is a TouchSwipe method, then
325
+ * the &lt;code>method&lt;/code> is executed, and any following arguments are passed to the TouchSwipe method.
326
+ * If &lt;code>method&lt;/code> is an object, then the TouchSwipe class is instantiated on the current DOMNode, passing the
327
+ * configuration properties defined in the object. See TouchSwipe
328
+ *
329
+ */
330
+ $.fn.swipe = function(method) {
331
+ var $this = $(this),
332
+ plugin = $this.data(PLUGIN_NS);
333
+
334
+ //Check if we are already instantiated and trying to execute a method
335
+ if (plugin &amp;&amp; typeof method === 'string') {
336
+ if (plugin[method]) {
337
+ return plugin[method].apply(plugin, Array.prototype.slice.call(arguments, 1));
338
+ } else {
339
+ $.error('Method ' + method + ' does not exist on jQuery.swipe');
340
+ }
341
+ }
342
+
343
+ //Else update existing plugin with new options hash
344
+ else if (plugin &amp;&amp; typeof method === 'object') {
345
+ plugin['option'].apply(plugin, arguments);
346
+ }
347
+
348
+ //Else not instantiated and trying to pass init object (or nothing)
349
+ else if (!plugin &amp;&amp; (typeof method === 'object' || !method)) {
350
+ return init.apply(this, arguments);
351
+ }
352
+
353
+ return $this;
354
+ };
355
+
356
+ /**
357
+ * The version of the plugin
358
+ * @readonly
359
+ */
360
+ $.fn.swipe.version = VERSION;
361
+
362
+
363
+
364
+ //Expose our defaults so a user could override the plugin defaults
365
+ $.fn.swipe.defaults = defaults;
366
+
367
+ /**
368
+ * The phases that a touch event goes through. The &lt;code>phase&lt;/code> is passed to the event handlers.
369
+ * These properties are read only, attempting to change them will not alter the values passed to the event handlers.
370
+ * @namespace
371
+ * @readonly
372
+ * @property {string} PHASE_START Constant indicating the start phase of the touch event. Value is &lt;code>"start"&lt;/code>.
373
+ * @property {string} PHASE_MOVE Constant indicating the move phase of the touch event. Value is &lt;code>"move"&lt;/code>.
374
+ * @property {string} PHASE_END Constant indicating the end phase of the touch event. Value is &lt;code>"end"&lt;/code>.
375
+ * @property {string} PHASE_CANCEL Constant indicating the cancel phase of the touch event. Value is &lt;code>"cancel"&lt;/code>.
376
+ */
377
+ $.fn.swipe.phases = {
378
+ PHASE_START: PHASE_START,
379
+ PHASE_MOVE: PHASE_MOVE,
380
+ PHASE_END: PHASE_END,
381
+ PHASE_CANCEL: PHASE_CANCEL
382
+ };
383
+
384
+ /**
385
+ * The direction constants that are passed to the event handlers.
386
+ * These properties are read only, attempting to change them will not alter the values passed to the event handlers.
387
+ * @namespace
388
+ * @readonly
389
+ * @property {string} LEFT Constant indicating the left direction. Value is &lt;code>"left"&lt;/code>.
390
+ * @property {string} RIGHT Constant indicating the right direction. Value is &lt;code>"right"&lt;/code>.
391
+ * @property {string} UP Constant indicating the up direction. Value is &lt;code>"up"&lt;/code>.
392
+ * @property {string} DOWN Constant indicating the down direction. Value is &lt;code>"cancel"&lt;/code>.
393
+ * @property {string} IN Constant indicating the in direction. Value is &lt;code>"in"&lt;/code>.
394
+ * @property {string} OUT Constant indicating the out direction. Value is &lt;code>"out"&lt;/code>.
395
+ */
396
+ $.fn.swipe.directions = {
397
+ LEFT: LEFT,
398
+ RIGHT: RIGHT,
399
+ UP: UP,
400
+ DOWN: DOWN,
401
+ IN: IN,
402
+ OUT: OUT
403
+ };
404
+
405
+ /**
406
+ * The page scroll constants that can be used to set the value of &lt;code>allowPageScroll&lt;/code> option
407
+ * These properties are read only
408
+ * @namespace
409
+ * @readonly
410
+ * @see $.fn.swipe.defaults#allowPageScroll
411
+ * @property {string} NONE Constant indicating no page scrolling is allowed. Value is &lt;code>"none"&lt;/code>.
412
+ * @property {string} HORIZONTAL Constant indicating horizontal page scrolling is allowed. Value is &lt;code>"horizontal"&lt;/code>.
413
+ * @property {string} VERTICAL Constant indicating vertical page scrolling is allowed. Value is &lt;code>"vertical"&lt;/code>.
414
+ * @property {string} AUTO Constant indicating either horizontal or vertical will be allowed, depending on the swipe handlers registered. Value is &lt;code>"auto"&lt;/code>.
415
+ */
416
+ $.fn.swipe.pageScroll = {
417
+ NONE: NONE,
418
+ HORIZONTAL: HORIZONTAL,
419
+ VERTICAL: VERTICAL,
420
+ AUTO: AUTO
421
+ };
422
+
423
+ /**
424
+ * Constants representing the number of fingers used in a swipe. These are used to set both the value of &lt;code>fingers&lt;/code> in the
425
+ * options object, as well as the value of the &lt;code>fingers&lt;/code> event property.
426
+ * These properties are read only, attempting to change them will not alter the values passed to the event handlers.
427
+ * @namespace
428
+ * @readonly
429
+ * @see $.fn.swipe.defaults#fingers
430
+ * @property {string} ONE Constant indicating 1 finger is to be detected / was detected. Value is &lt;code>1&lt;/code>.
431
+ * @property {string} TWO Constant indicating 2 fingers are to be detected / were detected. Value is &lt;code>2&lt;/code>.
432
+ * @property {string} THREE Constant indicating 3 finger are to be detected / were detected. Value is &lt;code>3&lt;/code>.
433
+ * @property {string} FOUR Constant indicating 4 finger are to be detected / were detected. Not all devices support this. Value is &lt;code>4&lt;/code>.
434
+ * @property {string} FIVE Constant indicating 5 finger are to be detected / were detected. Not all devices support this. Value is &lt;code>5&lt;/code>.
435
+ * @property {string} ALL Constant indicating any combination of finger are to be detected. Value is &lt;code>"all"&lt;/code>.
436
+ */
437
+ $.fn.swipe.fingers = {
438
+ ONE: 1,
439
+ TWO: 2,
440
+ THREE: 3,
441
+ FOUR: 4,
442
+ FIVE: 5,
443
+ ALL: ALL_FINGERS
444
+ };
445
+
446
+ /**
447
+ * Initialise the plugin for each DOM element matched
448
+ * This creates a new instance of the main TouchSwipe class for each DOM element, and then
449
+ * saves a reference to that instance in the elements data property.
450
+ * @internal
451
+ */
452
+ function init(options) {
453
+ //Prep and extend the options
454
+ if (options &amp;&amp; (options.allowPageScroll === undefined &amp;&amp; (options.swipe !== undefined || options.swipeStatus !== undefined))) {
455
+ options.allowPageScroll = NONE;
456
+ }
457
+
458
+ //Check for deprecated options
459
+ //Ensure that any old click handlers are assigned to the new tap, unless we have a tap
460
+ if (options.click !== undefined &amp;&amp; options.tap === undefined) {
461
+ options.tap = options.click;
462
+ }
463
+
464
+ if (!options) {
465
+ options = {};
466
+ }
467
+
468
+ //pass empty object so we dont modify the defaults
469
+ options = $.extend({}, $.fn.swipe.defaults, options);
470
+
471
+ //For each element instantiate the plugin
472
+ return this.each(function() {
473
+ var $this = $(this);
474
+
475
+ //Check we havent already initialised the plugin
476
+ var plugin = $this.data(PLUGIN_NS);
477
+
478
+ if (!plugin) {
479
+ plugin = new TouchSwipe(this, options);
480
+ $this.data(PLUGIN_NS, plugin);
481
+ }
482
+ });
483
+ }
484
+
485
+ /**
486
+ * Main TouchSwipe Plugin Class.
487
+ * Do not use this to construct your TouchSwipe object, use the jQuery plugin method $.fn.swipe(); {@link $.fn.swipe}
488
+ * @private
489
+ * @name TouchSwipe
490
+ * @param {DOMNode} element The HTML DOM object to apply to plugin to
491
+ * @param {Object} options The options to configure the plugin with. @link {$.fn.swipe.defaults}
492
+ * @see $.fh.swipe.defaults
493
+ * @see $.fh.swipe
494
+ * @class
495
+ */
496
+ function TouchSwipe(element, options) {
497
+
498
+ //take a local/instacne level copy of the options - should make it this.options really...
499
+ var options = $.extend({}, options);
500
+
501
+ var useTouchEvents = (SUPPORTS_TOUCH || SUPPORTS_POINTER || !options.fallbackToMouseEvents),
502
+ START_EV = useTouchEvents ? (SUPPORTS_POINTER ? (SUPPORTS_POINTER_IE10 ? 'MSPointerDown' : 'pointerdown') : 'touchstart') : 'mousedown',
503
+ MOVE_EV = useTouchEvents ? (SUPPORTS_POINTER ? (SUPPORTS_POINTER_IE10 ? 'MSPointerMove' : 'pointermove') : 'touchmove') : 'mousemove',
504
+ END_EV = useTouchEvents ? (SUPPORTS_POINTER ? (SUPPORTS_POINTER_IE10 ? 'MSPointerUp' : 'pointerup') : 'touchend') : 'mouseup',
505
+ LEAVE_EV = useTouchEvents ? (SUPPORTS_POINTER ? 'mouseleave' : null) : 'mouseleave', //we manually detect leave on touch devices, so null event here
506
+ CANCEL_EV = (SUPPORTS_POINTER ? (SUPPORTS_POINTER_IE10 ? 'MSPointerCancel' : 'pointercancel') : 'touchcancel');
507
+
508
+
509
+
510
+ //touch properties
511
+ var distance = 0,
512
+ direction = null,
513
+ currentDirection = null,
514
+ duration = 0,
515
+ startTouchesDistance = 0,
516
+ endTouchesDistance = 0,
517
+ pinchZoom = 1,
518
+ pinchDistance = 0,
519
+ pinchDirection = 0,
520
+ maximumsMap = null;
521
+
522
+
523
+
524
+ //jQuery wrapped element for this instance
525
+ var $element = $(element);
526
+
527
+ //Current phase of th touch cycle
528
+ var phase = "start";
529
+
530
+ // the current number of fingers being used.
531
+ var fingerCount = 0;
532
+
533
+ //track mouse points / delta
534
+ var fingerData = {};
535
+
536
+ //track times
537
+ var startTime = 0,
538
+ endTime = 0,
539
+ previousTouchEndTime = 0,
540
+ fingerCountAtRelease = 0,
541
+ doubleTapStartTime = 0;
542
+
543
+ //Timeouts
544
+ var singleTapTimeout = null,
545
+ holdTimeout = null;
546
+
547
+ // Add gestures to all swipable areas if supported
548
+ try {
549
+ $element.bind(START_EV, touchStart);
550
+ $element.bind(CANCEL_EV, touchCancel);
551
+ } catch (e) {
552
+ $.error('events not supported ' + START_EV + ',' + CANCEL_EV + ' on jQuery.swipe');
553
+ }
554
+
555
+ //
556
+ //Public methods
557
+ //
558
+
559
+ /**
560
+ * re-enables the swipe plugin with the previous configuration
561
+ * @function
562
+ * @name $.fn.swipe#enable
563
+ * @return {DOMNode} The Dom element that was registered with TouchSwipe
564
+ * @example $("#element").swipe("enable");
565
+ */
566
+ this.enable = function() {
567
+ //Incase we are already enabled, clean up...
568
+ this.disable();
569
+ $element.bind(START_EV, touchStart);
570
+ $element.bind(CANCEL_EV, touchCancel);
571
+ return $element;
572
+ };
573
+
574
+ /**
575
+ * disables the swipe plugin
576
+ * @function
577
+ * @name $.fn.swipe#disable
578
+ * @return {DOMNode} The Dom element that is now registered with TouchSwipe
579
+ * @example $("#element").swipe("disable");
580
+ */
581
+ this.disable = function() {
582
+ removeListeners();
583
+ return $element;
584
+ };
585
+
586
+ /**
587
+ * Destroy the swipe plugin completely. To use any swipe methods, you must re initialise the plugin.
588
+ * @function
589
+ * @name $.fn.swipe#destroy
590
+ * @example $("#element").swipe("destroy");
591
+ */
592
+ this.destroy = function() {
593
+ removeListeners();
594
+ $element.data(PLUGIN_NS, null);
595
+ $element = null;
596
+ };
597
+
598
+
599
+ /**
600
+ * Allows run time updating of the swipe configuration options.
601
+ * @function
602
+ * @name $.fn.swipe#option
603
+ * @param {String} property The option property to get or set, or a has of multiple options to set
604
+ * @param {Object} [value] The value to set the property to
605
+ * @return {Object} If only a property name is passed, then that property value is returned. If nothing is passed the current options hash is returned.
606
+ * @example $("#element").swipe("option", "threshold"); // return the threshold
607
+ * @example $("#element").swipe("option", "threshold", 100); // set the threshold after init
608
+ * @example $("#element").swipe("option", {threshold:100, fingers:3} ); // set multiple properties after init
609
+ * @example $("#element").swipe({threshold:100, fingers:3} ); // set multiple properties after init - the "option" method is optional!
610
+ * @example $("#element").swipe("option"); // Return the current options hash
611
+ * @see $.fn.swipe.defaults
612
+ *
613
+ */
614
+ this.option = function(property, value) {
615
+
616
+ if (typeof property === 'object') {
617
+ options = $.extend(options, property);
618
+ } else if (options[property] !== undefined) {
619
+ if (value === undefined) {
620
+ return options[property];
621
+ } else {
622
+ options[property] = value;
623
+ }
624
+ } else if (!property) {
625
+ return options;
626
+ } else {
627
+ $.error('Option ' + property + ' does not exist on jQuery.swipe.options');
628
+ }
629
+
630
+ return null;
631
+ }
632
+
633
+
634
+
635
+ //
636
+ // Private methods
637
+ //
638
+
639
+ //
640
+ // EVENTS
641
+ //
642
+ /**
643
+ * Event handler for a touch start event.
644
+ * Stops the default click event from triggering and stores where we touched
645
+ * @inner
646
+ * @param {object} jqEvent The normalised jQuery event object.
647
+ */
648
+ function touchStart(jqEvent) {
649
+
650
+ //If we already in a touch event (a finger already in use) then ignore subsequent ones..
651
+ if (getTouchInProgress()) {
652
+ return;
653
+ }
654
+
655
+ //Check if this element matches any in the excluded elements selectors, or its parent is excluded, if so, DON'T swipe
656
+ if ($(jqEvent.target).closest(options.excludedElements, $element).length > 0) {
657
+ return;
658
+ }
659
+
660
+ //As we use Jquery bind for events, we need to target the original event object
661
+ //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.
662
+ var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;
663
+
664
+
665
+ //If we have a pointer event, whoes type is 'mouse' and we have said NO mouse events, then dont do anything.
666
+ if(event.pointerType &amp;&amp; event.pointerType=="mouse" &amp;&amp; options.fallbackToMouseEvents==false) {
667
+ return;
668
+ };
669
+
670
+ var ret,
671
+ touches = event.touches,
672
+ evt = touches ? touches[0] : event;
673
+
674
+ phase = PHASE_START;
675
+
676
+ //If we support touches, get the finger count
677
+ if (touches) {
678
+ // get the total number of fingers touching the screen
679
+ fingerCount = touches.length;
680
+ }
681
+ //Else this is the desktop, so stop the browser from dragging content
682
+ else if (options.preventDefaultEvents !== false) {
683
+ jqEvent.preventDefault(); //call this on jq event so we are cross browser
684
+ }
685
+
686
+ //clear vars..
687
+ distance = 0;
688
+ direction = null;
689
+ currentDirection=null;
690
+ pinchDirection = null;
691
+ duration = 0;
692
+ startTouchesDistance = 0;
693
+ endTouchesDistance = 0;
694
+ pinchZoom = 1;
695
+ pinchDistance = 0;
696
+ maximumsMap = createMaximumsData();
697
+ cancelMultiFingerRelease();
698
+
699
+ //Create the default finger data
700
+ createFingerData(0, evt);
701
+
702
+ // check the number of fingers is what we are looking for, or we are capturing pinches
703
+ if (!touches || (fingerCount === options.fingers || options.fingers === ALL_FINGERS) || hasPinches()) {
704
+ // get the coordinates of the touch
705
+ startTime = getTimeStamp();
706
+
707
+ if (fingerCount == 2) {
708
+ //Keep track of the initial pinch distance, so we can calculate the diff later
709
+ //Store second finger data as start
710
+ createFingerData(1, touches[1]);
711
+ startTouchesDistance = endTouchesDistance = calculateTouchesDistance(fingerData[0].start, fingerData[1].start);
712
+ }
713
+
714
+ if (options.swipeStatus || options.pinchStatus) {
715
+ ret = triggerHandler(event, phase);
716
+ }
717
+ } else {
718
+ //A touch with more or less than the fingers we are looking for, so cancel
719
+ ret = false;
720
+ }
721
+
722
+ //If we have a return value from the users handler, then return and cancel
723
+ if (ret === false) {
724
+ phase = PHASE_CANCEL;
725
+ triggerHandler(event, phase);
726
+ return ret;
727
+ } else {
728
+ if (options.hold) {
729
+ holdTimeout = setTimeout($.proxy(function() {
730
+ //Trigger the event
731
+ $element.trigger('hold', [event.target]);
732
+ //Fire the callback
733
+ if (options.hold) {
734
+ ret = options.hold.call($element, event, event.target);
735
+ }
736
+ }, this), options.longTapThreshold);
737
+ }
738
+
739
+ setTouchInProgress(true);
740
+ }
741
+
742
+ return null;
743
+ };
744
+
745
+
746
+
747
+ /**
748
+ * Event handler for a touch move event.
749
+ * If we change fingers during move, then cancel the event
750
+ * @inner
751
+ * @param {object} jqEvent The normalised jQuery event object.
752
+ */
753
+ function touchMove(jqEvent) {
754
+
755
+ //As we use Jquery bind for events, we need to target the original event object
756
+ //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.
757
+ var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;
758
+
759
+ //If we are ending, cancelling, or within the threshold of 2 fingers being released, don't track anything..
760
+ if (phase === PHASE_END || phase === PHASE_CANCEL || inMultiFingerRelease())
761
+ return;
762
+
763
+ var ret,
764
+ touches = event.touches,
765
+ evt = touches ? touches[0] : event;
766
+
767
+
768
+ //Update the finger data
769
+ var currentFinger = updateFingerData(evt);
770
+ endTime = getTimeStamp();
771
+
772
+ if (touches) {
773
+ fingerCount = touches.length;
774
+ }
775
+
776
+ if (options.hold) {
777
+ clearTimeout(holdTimeout);
778
+ }
779
+
780
+ phase = PHASE_MOVE;
781
+
782
+ //If we have 2 fingers get Touches distance as well
783
+ if (fingerCount == 2) {
784
+
785
+ //Keep track of the initial pinch distance, so we can calculate the diff later
786
+ //We do this here as well as the start event, in case they start with 1 finger, and the press 2 fingers
787
+ if (startTouchesDistance == 0) {
788
+ //Create second finger if this is the first time...
789
+ createFingerData(1, touches[1]);
790
+
791
+ startTouchesDistance = endTouchesDistance = calculateTouchesDistance(fingerData[0].start, fingerData[1].start);
792
+ } else {
793
+ //Else just update the second finger
794
+ updateFingerData(touches[1]);
795
+
796
+ endTouchesDistance = calculateTouchesDistance(fingerData[0].end, fingerData[1].end);
797
+ pinchDirection = calculatePinchDirection(fingerData[0].end, fingerData[1].end);
798
+ }
799
+
800
+ pinchZoom = calculatePinchZoom(startTouchesDistance, endTouchesDistance);
801
+ pinchDistance = Math.abs(startTouchesDistance - endTouchesDistance);
802
+ }
803
+
804
+ if ((fingerCount === options.fingers || options.fingers === ALL_FINGERS) || !touches || hasPinches()) {
805
+
806
+ //The overall direction of the swipe. From start to now.
807
+ direction = calculateDirection(currentFinger.start, currentFinger.end);
808
+
809
+ //The immediate direction of the swipe, direction between the last movement and this one.
810
+ currentDirection = calculateDirection(currentFinger.last, currentFinger.end);
811
+
812
+ //Check if we need to prevent default event (page scroll / pinch zoom) or not
813
+ validateDefaultEvent(jqEvent, currentDirection);
814
+
815
+ //Distance and duration are all off the main finger
816
+ distance = calculateDistance(currentFinger.start, currentFinger.end);
817
+ duration = calculateDuration();
818
+
819
+ //Cache the maximum distance we made in this direction
820
+ setMaxDistance(direction, distance);
821
+
822
+ //Trigger status handler
823
+ ret = triggerHandler(event, phase);
824
+
825
+
826
+ //If we trigger end events when threshold are met, or trigger events when touch leaves element
827
+ if (!options.triggerOnTouchEnd || options.triggerOnTouchLeave) {
828
+
829
+ var inBounds = true;
830
+
831
+ //If checking if we leave the element, run the bounds check (we can use touchleave as its not supported on webkit)
832
+ if (options.triggerOnTouchLeave) {
833
+ var bounds = getbounds(this);
834
+ inBounds = isInBounds(currentFinger.end, bounds);
835
+ }
836
+
837
+ //Trigger end handles as we swipe if thresholds met or if we have left the element if the user has asked to check these..
838
+ if (!options.triggerOnTouchEnd &amp;&amp; inBounds) {
839
+ phase = getNextPhase(PHASE_MOVE);
840
+ }
841
+ //We end if out of bounds here, so set current phase to END, and check if its modified
842
+ else if (options.triggerOnTouchLeave &amp;&amp; !inBounds) {
843
+ phase = getNextPhase(PHASE_END);
844
+ }
845
+
846
+ if (phase == PHASE_CANCEL || phase == PHASE_END) {
847
+ triggerHandler(event, phase);
848
+ }
849
+ }
850
+ } else {
851
+ phase = PHASE_CANCEL;
852
+ triggerHandler(event, phase);
853
+ }
854
+
855
+ if (ret === false) {
856
+ phase = PHASE_CANCEL;
857
+ triggerHandler(event, phase);
858
+ }
859
+ }
860
+
861
+
862
+
863
+
864
+ /**
865
+ * Event handler for a touch end event.
866
+ * Calculate the direction and trigger events
867
+ * @inner
868
+ * @param {object} jqEvent The normalised jQuery event object.
869
+ */
870
+ function touchEnd(jqEvent) {
871
+ //As we use Jquery bind for events, we need to target the original event object
872
+ //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.
873
+ var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent,
874
+ touches = event.touches;
875
+
876
+ //If we are still in a touch with the device wait a fraction and see if the other finger comes up
877
+ //if it does within the threshold, then we treat it as a multi release, not a single release and end the touch / swipe
878
+ if (touches) {
879
+ if (touches.length &amp;&amp; !inMultiFingerRelease()) {
880
+ startMultiFingerRelease(event);
881
+ return true;
882
+ } else if (touches.length &amp;&amp; inMultiFingerRelease()) {
883
+ return true;
884
+ }
885
+ }
886
+
887
+ //If a previous finger has been released, check how long ago, if within the threshold, then assume it was a multifinger release.
888
+ //This is used to allow 2 fingers to release fractionally after each other, whilst maintaining the event as containing 2 fingers, not 1
889
+ if (inMultiFingerRelease()) {
890
+ fingerCount = fingerCountAtRelease;
891
+ }
892
+
893
+ //Set end of swipe
894
+ endTime = getTimeStamp();
895
+
896
+ //Get duration incase move was never fired
897
+ duration = calculateDuration();
898
+
899
+ //If we trigger handlers at end of swipe OR, we trigger during, but they didnt trigger and we are still in the move phase
900
+ if (didSwipeBackToCancel() || !validateSwipeDistance()) {
901
+ phase = PHASE_CANCEL;
902
+ triggerHandler(event, phase);
903
+ } else if (options.triggerOnTouchEnd || (options.triggerOnTouchEnd === false &amp;&amp; phase === PHASE_MOVE)) {
904
+ //call this on jq event so we are cross browser
905
+ if (options.preventDefaultEvents !== false) {
906
+ jqEvent.preventDefault();
907
+ }
908
+ phase = PHASE_END;
909
+ triggerHandler(event, phase);
910
+ }
911
+ //Special cases - A tap should always fire on touch end regardless,
912
+ //So here we manually trigger the tap end handler by itself
913
+ //We dont run trigger handler as it will re-trigger events that may have fired already
914
+ else if (!options.triggerOnTouchEnd &amp;&amp; hasTap()) {
915
+ //Trigger the pinch events...
916
+ phase = PHASE_END;
917
+ triggerHandlerForGesture(event, phase, TAP);
918
+ } else if (phase === PHASE_MOVE) {
919
+ phase = PHASE_CANCEL;
920
+ triggerHandler(event, phase);
921
+ }
922
+
923
+ setTouchInProgress(false);
924
+
925
+ return null;
926
+ }
927
+
928
+
929
+
930
+ /**
931
+ * Event handler for a touch cancel event.
932
+ * Clears current vars
933
+ * @inner
934
+ */
935
+ function touchCancel() {
936
+ // reset the variables back to default values
937
+ fingerCount = 0;
938
+ endTime = 0;
939
+ startTime = 0;
940
+ startTouchesDistance = 0;
941
+ endTouchesDistance = 0;
942
+ pinchZoom = 1;
943
+
944
+ //If we were in progress of tracking a possible multi touch end, then re set it.
945
+ cancelMultiFingerRelease();
946
+
947
+ setTouchInProgress(false);
948
+ }
949
+
950
+
951
+ /**
952
+ * Event handler for a touch leave event.
953
+ * This is only triggered on desktops, in touch we work this out manually
954
+ * as the touchleave event is not supported in webkit
955
+ * @inner
956
+ */
957
+ function touchLeave(jqEvent) {
958
+ //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.
959
+ var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;
960
+
961
+ //If we have the trigger on leave property set....
962
+ if (options.triggerOnTouchLeave) {
963
+ phase = getNextPhase(PHASE_END);
964
+ triggerHandler(event, phase);
965
+ }
966
+ }
967
+
968
+ /**
969
+ * Removes all listeners that were associated with the plugin
970
+ * @inner
971
+ */
972
+ function removeListeners() {
973
+ $element.unbind(START_EV, touchStart);
974
+ $element.unbind(CANCEL_EV, touchCancel);
975
+ $element.unbind(MOVE_EV, touchMove);
976
+ $element.unbind(END_EV, touchEnd);
977
+
978
+ //we only have leave events on desktop, we manually calculate leave on touch as its not supported in webkit
979
+ if (LEAVE_EV) {
980
+ $element.unbind(LEAVE_EV, touchLeave);
981
+ }
982
+
983
+ setTouchInProgress(false);
984
+ }
985
+
986
+
987
+ /**
988
+ * Checks if the time and distance thresholds have been met, and if so then the appropriate handlers are fired.
989
+ */
990
+ function getNextPhase(currentPhase) {
991
+
992
+ var nextPhase = currentPhase;
993
+
994
+ // Ensure we have valid swipe (under time and over distance and check if we are out of bound...)
995
+ var validTime = validateSwipeTime();
996
+ var validDistance = validateSwipeDistance();
997
+ var didCancel = didSwipeBackToCancel();
998
+
999
+ //If we have exceeded our time, then cancel
1000
+ if (!validTime || didCancel) {
1001
+ nextPhase = PHASE_CANCEL;
1002
+ }
1003
+ //Else if we are moving, and have reached distance then end
1004
+ else if (validDistance &amp;&amp; currentPhase == PHASE_MOVE &amp;&amp; (!options.triggerOnTouchEnd || options.triggerOnTouchLeave)) {
1005
+ nextPhase = PHASE_END;
1006
+ }
1007
+ //Else if we have ended by leaving and didn't reach distance, then cancel
1008
+ else if (!validDistance &amp;&amp; currentPhase == PHASE_END &amp;&amp; options.triggerOnTouchLeave) {
1009
+ nextPhase = PHASE_CANCEL;
1010
+ }
1011
+
1012
+ return nextPhase;
1013
+ }
1014
+
1015
+
1016
+ /**
1017
+ * Trigger the relevant event handler
1018
+ * The handlers are passed the original event, the element that was swiped, and in the case of the catch all handler, the direction that was swiped, "left", "right", "up", or "down"
1019
+ * @param {object} event the original event object
1020
+ * @param {string} phase the phase of the swipe (start, end cancel etc) {@link $.fn.swipe.phases}
1021
+ * @inner
1022
+ */
1023
+ function triggerHandler(event, phase) {
1024
+
1025
+
1026
+
1027
+ var ret,
1028
+ touches = event.touches;
1029
+
1030
+ // SWIPE GESTURES
1031
+ if (didSwipe() || hasSwipes()) {
1032
+ ret = triggerHandlerForGesture(event, phase, SWIPE);
1033
+ }
1034
+
1035
+ // PINCH GESTURES (if the above didn't cancel)
1036
+ if ((didPinch() || hasPinches()) &amp;&amp; ret !== false) {
1037
+ ret = triggerHandlerForGesture(event, phase, PINCH);
1038
+ }
1039
+
1040
+ // CLICK / TAP (if the above didn't cancel)
1041
+ if (didDoubleTap() &amp;&amp; ret !== false) {
1042
+ //Trigger the tap events...
1043
+ ret = triggerHandlerForGesture(event, phase, DOUBLE_TAP);
1044
+ }
1045
+
1046
+ // CLICK / TAP (if the above didn't cancel)
1047
+ else if (didLongTap() &amp;&amp; ret !== false) {
1048
+ //Trigger the tap events...
1049
+ ret = triggerHandlerForGesture(event, phase, LONG_TAP);
1050
+ }
1051
+
1052
+ // CLICK / TAP (if the above didn't cancel)
1053
+ else if (didTap() &amp;&amp; ret !== false) {
1054
+ //Trigger the tap event..
1055
+ ret = triggerHandlerForGesture(event, phase, TAP);
1056
+ }
1057
+
1058
+
1059
+
1060
+ // If we are cancelling the gesture, then manually trigger the reset handler
1061
+ if (phase === PHASE_CANCEL) {
1062
+
1063
+ touchCancel(event);
1064
+ }
1065
+
1066
+
1067
+
1068
+
1069
+ // If we are ending the gesture, then manually trigger the reset handler IF all fingers are off
1070
+ if (phase === PHASE_END) {
1071
+ //If we support touch, then check that all fingers are off before we cancel
1072
+ if (touches) {
1073
+ if (!touches.length) {
1074
+ touchCancel(event);
1075
+ }
1076
+ } else {
1077
+ touchCancel(event);
1078
+ }
1079
+ }
1080
+
1081
+ return ret;
1082
+ }
1083
+
1084
+
1085
+
1086
+ /**
1087
+ * Trigger the relevant event handler
1088
+ * The handlers are passed the original event, the element that was swiped, and in the case of the catch all handler, the direction that was swiped, "left", "right", "up", or "down"
1089
+ * @param {object} event the original event object
1090
+ * @param {string} phase the phase of the swipe (start, end cancel etc) {@link $.fn.swipe.phases}
1091
+ * @param {string} gesture the gesture to trigger a handler for : PINCH or SWIPE {@link $.fn.swipe.gestures}
1092
+ * @return Boolean False, to indicate that the event should stop propagation, or void.
1093
+ * @inner
1094
+ */
1095
+ function triggerHandlerForGesture(event, phase, gesture) {
1096
+
1097
+ var ret;
1098
+
1099
+ //SWIPES....
1100
+ if (gesture == SWIPE) {
1101
+ //Trigger status every time..
1102
+ $element.trigger('swipeStatus', [phase, direction || null, distance || 0, duration || 0, fingerCount, fingerData, currentDirection]);
1103
+
1104
+ if (options.swipeStatus) {
1105
+ ret = options.swipeStatus.call($element, event, phase, direction || null, distance || 0, duration || 0, fingerCount, fingerData, currentDirection);
1106
+ //If the status cancels, then dont run the subsequent event handlers..
1107
+ if (ret === false) return false;
1108
+ }
1109
+
1110
+ if (phase == PHASE_END &amp;&amp; validateSwipe()) {
1111
+
1112
+ //Cancel any taps that were in progress...
1113
+ clearTimeout(singleTapTimeout);
1114
+ clearTimeout(holdTimeout);
1115
+
1116
+ $element.trigger('swipe', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1117
+
1118
+ if (options.swipe) {
1119
+ ret = options.swipe.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1120
+ //If the status cancels, then dont run the subsequent event handlers..
1121
+ if (ret === false) return false;
1122
+ }
1123
+
1124
+ //trigger direction specific event handlers
1125
+ switch (direction) {
1126
+ case LEFT:
1127
+ $element.trigger('swipeLeft', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1128
+
1129
+ if (options.swipeLeft) {
1130
+ ret = options.swipeLeft.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1131
+ }
1132
+ break;
1133
+
1134
+ case RIGHT:
1135
+ $element.trigger('swipeRight', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1136
+
1137
+ if (options.swipeRight) {
1138
+ ret = options.swipeRight.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1139
+ }
1140
+ break;
1141
+
1142
+ case UP:
1143
+ $element.trigger('swipeUp', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1144
+
1145
+ if (options.swipeUp) {
1146
+ ret = options.swipeUp.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1147
+ }
1148
+ break;
1149
+
1150
+ case DOWN:
1151
+ $element.trigger('swipeDown', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1152
+
1153
+ if (options.swipeDown) {
1154
+ ret = options.swipeDown.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1155
+ }
1156
+ break;
1157
+ }
1158
+ }
1159
+ }
1160
+
1161
+
1162
+ //PINCHES....
1163
+ if (gesture == PINCH) {
1164
+ $element.trigger('pinchStatus', [phase, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]);
1165
+
1166
+ if (options.pinchStatus) {
1167
+ ret = options.pinchStatus.call($element, event, phase, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData);
1168
+ //If the status cancels, then dont run the subsequent event handlers..
1169
+ if (ret === false) return false;
1170
+ }
1171
+
1172
+ if (phase == PHASE_END &amp;&amp; validatePinch()) {
1173
+
1174
+ switch (pinchDirection) {
1175
+ case IN:
1176
+ $element.trigger('pinchIn', [pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]);
1177
+
1178
+ if (options.pinchIn) {
1179
+ ret = options.pinchIn.call($element, event, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData);
1180
+ }
1181
+ break;
1182
+
1183
+ case OUT:
1184
+ $element.trigger('pinchOut', [pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]);
1185
+
1186
+ if (options.pinchOut) {
1187
+ ret = options.pinchOut.call($element, event, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData);
1188
+ }
1189
+ break;
1190
+ }
1191
+ }
1192
+ }
1193
+
1194
+ if (gesture == TAP) {
1195
+ if (phase === PHASE_CANCEL || phase === PHASE_END) {
1196
+
1197
+ clearTimeout(singleTapTimeout);
1198
+ clearTimeout(holdTimeout);
1199
+
1200
+ //If we are also looking for doubelTaps, wait incase this is one...
1201
+ if (hasDoubleTap() &amp;&amp; !inDoubleTap()) {
1202
+ doubleTapStartTime = getTimeStamp();
1203
+
1204
+ //Now wait for the double tap timeout, and trigger this single tap
1205
+ //if its not cancelled by a double tap
1206
+ singleTapTimeout = setTimeout($.proxy(function() {
1207
+ doubleTapStartTime = null;
1208
+ $element.trigger('tap', [event.target]);
1209
+
1210
+ if (options.tap) {
1211
+ ret = options.tap.call($element, event, event.target);
1212
+ }
1213
+ }, this), options.doubleTapThreshold);
1214
+
1215
+ } else {
1216
+ doubleTapStartTime = null;
1217
+ $element.trigger('tap', [event.target]);
1218
+ if (options.tap) {
1219
+ ret = options.tap.call($element, event, event.target);
1220
+ }
1221
+ }
1222
+ }
1223
+ } else if (gesture == DOUBLE_TAP) {
1224
+ if (phase === PHASE_CANCEL || phase === PHASE_END) {
1225
+ clearTimeout(singleTapTimeout);
1226
+ clearTimeout(holdTimeout);
1227
+ doubleTapStartTime = null;
1228
+ $element.trigger('doubletap', [event.target]);
1229
+
1230
+ if (options.doubleTap) {
1231
+ ret = options.doubleTap.call($element, event, event.target);
1232
+ }
1233
+ }
1234
+ } else if (gesture == LONG_TAP) {
1235
+ if (phase === PHASE_CANCEL || phase === PHASE_END) {
1236
+ clearTimeout(singleTapTimeout);
1237
+ doubleTapStartTime = null;
1238
+
1239
+ $element.trigger('longtap', [event.target]);
1240
+ if (options.longTap) {
1241
+ ret = options.longTap.call($element, event, event.target);
1242
+ }
1243
+ }
1244
+ }
1245
+
1246
+ return ret;
1247
+ }
1248
+
1249
+
1250
+ //
1251
+ // GESTURE VALIDATION
1252
+ //
1253
+
1254
+ /**
1255
+ * Checks the user has swipe far enough
1256
+ * @return Boolean if &lt;code>threshold&lt;/code> has been set, return true if the threshold was met, else false.
1257
+ * If no threshold was set, then we return true.
1258
+ * @inner
1259
+ */
1260
+ function validateSwipeDistance() {
1261
+ var valid = true;
1262
+ //If we made it past the min swipe distance..
1263
+ if (options.threshold !== null) {
1264
+ valid = distance >= options.threshold;
1265
+ }
1266
+
1267
+ return valid;
1268
+ }
1269
+
1270
+ /**
1271
+ * Checks the user has swiped back to cancel.
1272
+ * @return Boolean if &lt;code>cancelThreshold&lt;/code> has been set, return true if the cancelThreshold was met, else false.
1273
+ * If no cancelThreshold was set, then we return true.
1274
+ * @inner
1275
+ */
1276
+ function didSwipeBackToCancel() {
1277
+ var cancelled = false;
1278
+ if (options.cancelThreshold !== null &amp;&amp; direction !== null) {
1279
+ cancelled = (getMaxDistance(direction) - distance) >= options.cancelThreshold;
1280
+ }
1281
+
1282
+ return cancelled;
1283
+ }
1284
+
1285
+ /**
1286
+ * Checks the user has pinched far enough
1287
+ * @return Boolean if &lt;code>pinchThreshold&lt;/code> has been set, return true if the threshold was met, else false.
1288
+ * If no threshold was set, then we return true.
1289
+ * @inner
1290
+ */
1291
+ function validatePinchDistance() {
1292
+ if (options.pinchThreshold !== null) {
1293
+ return pinchDistance >= options.pinchThreshold;
1294
+ }
1295
+ return true;
1296
+ }
1297
+
1298
+ /**
1299
+ * Checks that the time taken to swipe meets the minimum / maximum requirements
1300
+ * @return Boolean
1301
+ * @inner
1302
+ */
1303
+ function validateSwipeTime() {
1304
+ var result;
1305
+ //If no time set, then return true
1306
+ if (options.maxTimeThreshold) {
1307
+ if (duration >= options.maxTimeThreshold) {
1308
+ result = false;
1309
+ } else {
1310
+ result = true;
1311
+ }
1312
+ } else {
1313
+ result = true;
1314
+ }
1315
+
1316
+ return result;
1317
+ }
1318
+
1319
+
1320
+ /**
1321
+ * Checks direction of the swipe and the value allowPageScroll to see if we should allow or prevent the default behaviour from occurring.
1322
+ * This will essentially allow page scrolling or not when the user is swiping on a touchSwipe object.
1323
+ * @param {object} jqEvent The normalised jQuery representation of the event object.
1324
+ * @param {string} direction The direction of the event. See {@link $.fn.swipe.directions}
1325
+ * @see $.fn.swipe.directions
1326
+ * @inner
1327
+ */
1328
+ function validateDefaultEvent(jqEvent, direction) {
1329
+
1330
+ //If the option is set, allways allow the event to bubble up (let user handle weirdness)
1331
+ if (options.preventDefaultEvents === false) {
1332
+ return;
1333
+ }
1334
+
1335
+ if (options.allowPageScroll === NONE) {
1336
+ jqEvent.preventDefault();
1337
+ } else {
1338
+ var auto = options.allowPageScroll === AUTO;
1339
+
1340
+ switch (direction) {
1341
+ case LEFT:
1342
+ if ((options.swipeLeft &amp;&amp; auto) || (!auto &amp;&amp; options.allowPageScroll != HORIZONTAL)) {
1343
+ jqEvent.preventDefault();
1344
+ }
1345
+ break;
1346
+
1347
+ case RIGHT:
1348
+ if ((options.swipeRight &amp;&amp; auto) || (!auto &amp;&amp; options.allowPageScroll != HORIZONTAL)) {
1349
+ jqEvent.preventDefault();
1350
+ }
1351
+ break;
1352
+
1353
+ case UP:
1354
+ if ((options.swipeUp &amp;&amp; auto) || (!auto &amp;&amp; options.allowPageScroll != VERTICAL)) {
1355
+ jqEvent.preventDefault();
1356
+ }
1357
+ break;
1358
+
1359
+ case DOWN:
1360
+ if ((options.swipeDown &amp;&amp; auto) || (!auto &amp;&amp; options.allowPageScroll != VERTICAL)) {
1361
+ jqEvent.preventDefault();
1362
+ }
1363
+ break;
1364
+
1365
+ case NONE:
1366
+
1367
+ break;
1368
+ }
1369
+ }
1370
+ }
1371
+
1372
+
1373
+ // PINCHES
1374
+ /**
1375
+ * Returns true of the current pinch meets the thresholds
1376
+ * @return Boolean
1377
+ * @inner
1378
+ */
1379
+ function validatePinch() {
1380
+ var hasCorrectFingerCount = validateFingers();
1381
+ var hasEndPoint = validateEndPoint();
1382
+ var hasCorrectDistance = validatePinchDistance();
1383
+ return hasCorrectFingerCount &amp;&amp; hasEndPoint &amp;&amp; hasCorrectDistance;
1384
+
1385
+ }
1386
+
1387
+ /**
1388
+ * Returns true if any Pinch events have been registered
1389
+ * @return Boolean
1390
+ * @inner
1391
+ */
1392
+ function hasPinches() {
1393
+ //Enure we dont return 0 or null for false values
1394
+ return !!(options.pinchStatus || options.pinchIn || options.pinchOut);
1395
+ }
1396
+
1397
+ /**
1398
+ * Returns true if we are detecting pinches, and have one
1399
+ * @return Boolean
1400
+ * @inner
1401
+ */
1402
+ function didPinch() {
1403
+ //Enure we dont return 0 or null for false values
1404
+ return !!(validatePinch() &amp;&amp; hasPinches());
1405
+ }
1406
+
1407
+
1408
+
1409
+
1410
+ // SWIPES
1411
+ /**
1412
+ * Returns true if the current swipe meets the thresholds
1413
+ * @return Boolean
1414
+ * @inner
1415
+ */
1416
+ function validateSwipe() {
1417
+ //Check validity of swipe
1418
+ var hasValidTime = validateSwipeTime();
1419
+ var hasValidDistance = validateSwipeDistance();
1420
+ var hasCorrectFingerCount = validateFingers();
1421
+ var hasEndPoint = validateEndPoint();
1422
+ var didCancel = didSwipeBackToCancel();
1423
+
1424
+ // if the user swiped more than the minimum length, perform the appropriate action
1425
+ // hasValidDistance is null when no distance is set
1426
+ var valid = !didCancel &amp;&amp; hasEndPoint &amp;&amp; hasCorrectFingerCount &amp;&amp; hasValidDistance &amp;&amp; hasValidTime;
1427
+
1428
+ return valid;
1429
+ }
1430
+
1431
+ /**
1432
+ * Returns true if any Swipe events have been registered
1433
+ * @return Boolean
1434
+ * @inner
1435
+ */
1436
+ function hasSwipes() {
1437
+ //Enure we dont return 0 or null for false values
1438
+ return !!(options.swipe || options.swipeStatus || options.swipeLeft || options.swipeRight || options.swipeUp || options.swipeDown);
1439
+ }
1440
+
1441
+
1442
+ /**
1443
+ * Returns true if we are detecting swipes and have one
1444
+ * @return Boolean
1445
+ * @inner
1446
+ */
1447
+ function didSwipe() {
1448
+ //Enure we dont return 0 or null for false values
1449
+ return !!(validateSwipe() &amp;&amp; hasSwipes());
1450
+ }
1451
+
1452
+ /**
1453
+ * Returns true if we have matched the number of fingers we are looking for
1454
+ * @return Boolean
1455
+ * @inner
1456
+ */
1457
+ function validateFingers() {
1458
+ //The number of fingers we want were matched, or on desktop we ignore
1459
+ return ((fingerCount === options.fingers || options.fingers === ALL_FINGERS) || !SUPPORTS_TOUCH);
1460
+ }
1461
+
1462
+ /**
1463
+ * Returns true if we have an end point for the swipe
1464
+ * @return Boolean
1465
+ * @inner
1466
+ */
1467
+ function validateEndPoint() {
1468
+ //We have an end value for the finger
1469
+ return fingerData[0].end.x !== 0;
1470
+ }
1471
+
1472
+ // TAP / CLICK
1473
+ /**
1474
+ * Returns true if a click / tap events have been registered
1475
+ * @return Boolean
1476
+ * @inner
1477
+ */
1478
+ function hasTap() {
1479
+ //Enure we dont return 0 or null for false values
1480
+ return !!(options.tap);
1481
+ }
1482
+
1483
+ /**
1484
+ * Returns true if a double tap events have been registered
1485
+ * @return Boolean
1486
+ * @inner
1487
+ */
1488
+ function hasDoubleTap() {
1489
+ //Enure we dont return 0 or null for false values
1490
+ return !!(options.doubleTap);
1491
+ }
1492
+
1493
+ /**
1494
+ * Returns true if any long tap events have been registered
1495
+ * @return Boolean
1496
+ * @inner
1497
+ */
1498
+ function hasLongTap() {
1499
+ //Enure we dont return 0 or null for false values
1500
+ return !!(options.longTap);
1501
+ }
1502
+
1503
+ /**
1504
+ * Returns true if we could be in the process of a double tap (one tap has occurred, we are listening for double taps, and the threshold hasn't past.
1505
+ * @return Boolean
1506
+ * @inner
1507
+ */
1508
+ function validateDoubleTap() {
1509
+ if (doubleTapStartTime == null) {
1510
+ return false;
1511
+ }
1512
+ var now = getTimeStamp();
1513
+ return (hasDoubleTap() &amp;&amp; ((now - doubleTapStartTime) &lt;= options.doubleTapThreshold));
1514
+ }
1515
+
1516
+ /**
1517
+ * Returns true if we could be in the process of a double tap (one tap has occurred, we are listening for double taps, and the threshold hasn't past.
1518
+ * @return Boolean
1519
+ * @inner
1520
+ */
1521
+ function inDoubleTap() {
1522
+ return validateDoubleTap();
1523
+ }
1524
+
1525
+
1526
+ /**
1527
+ * Returns true if we have a valid tap
1528
+ * @return Boolean
1529
+ * @inner
1530
+ */
1531
+ function validateTap() {
1532
+ return ((fingerCount === 1 || !SUPPORTS_TOUCH) &amp;&amp; (isNaN(distance) || distance &lt; options.threshold));
1533
+ }
1534
+
1535
+ /**
1536
+ * Returns true if we have a valid long tap
1537
+ * @return Boolean
1538
+ * @inner
1539
+ */
1540
+ function validateLongTap() {
1541
+ //slight threshold on moving finger
1542
+ return ((duration > options.longTapThreshold) &amp;&amp; (distance &lt; DOUBLE_TAP_THRESHOLD));
1543
+ }
1544
+
1545
+ /**
1546
+ * Returns true if we are detecting taps and have one
1547
+ * @return Boolean
1548
+ * @inner
1549
+ */
1550
+ function didTap() {
1551
+ //Enure we dont return 0 or null for false values
1552
+ return !!(validateTap() &amp;&amp; hasTap());
1553
+ }
1554
+
1555
+
1556
+ /**
1557
+ * Returns true if we are detecting double taps and have one
1558
+ * @return Boolean
1559
+ * @inner
1560
+ */
1561
+ function didDoubleTap() {
1562
+ //Enure we dont return 0 or null for false values
1563
+ return !!(validateDoubleTap() &amp;&amp; hasDoubleTap());
1564
+ }
1565
+
1566
+ /**
1567
+ * Returns true if we are detecting long taps and have one
1568
+ * @return Boolean
1569
+ * @inner
1570
+ */
1571
+ function didLongTap() {
1572
+ //Enure we dont return 0 or null for false values
1573
+ return !!(validateLongTap() &amp;&amp; hasLongTap());
1574
+ }
1575
+
1576
+
1577
+
1578
+
1579
+ // MULTI FINGER TOUCH
1580
+ /**
1581
+ * Starts tracking the time between 2 finger releases, and keeps track of how many fingers we initially had up
1582
+ * @inner
1583
+ */
1584
+ function startMultiFingerRelease(event) {
1585
+ previousTouchEndTime = getTimeStamp();
1586
+ fingerCountAtRelease = event.touches.length + 1;
1587
+ }
1588
+
1589
+ /**
1590
+ * Cancels the tracking of time between 2 finger releases, and resets counters
1591
+ * @inner
1592
+ */
1593
+ function cancelMultiFingerRelease() {
1594
+ previousTouchEndTime = 0;
1595
+ fingerCountAtRelease = 0;
1596
+ }
1597
+
1598
+ /**
1599
+ * Checks if we are in the threshold between 2 fingers being released
1600
+ * @return Boolean
1601
+ * @inner
1602
+ */
1603
+ function inMultiFingerRelease() {
1604
+
1605
+ var withinThreshold = false;
1606
+
1607
+ if (previousTouchEndTime) {
1608
+ var diff = getTimeStamp() - previousTouchEndTime
1609
+ if (diff &lt;= options.fingerReleaseThreshold) {
1610
+ withinThreshold = true;
1611
+ }
1612
+ }
1613
+
1614
+ return withinThreshold;
1615
+ }
1616
+
1617
+
1618
+ /**
1619
+ * gets a data flag to indicate that a touch is in progress
1620
+ * @return Boolean
1621
+ * @inner
1622
+ */
1623
+ function getTouchInProgress() {
1624
+ //strict equality to ensure only true and false are returned
1625
+ return !!($element.data(PLUGIN_NS + '_intouch') === true);
1626
+ }
1627
+
1628
+ /**
1629
+ * Sets a data flag to indicate that a touch is in progress
1630
+ * @param {boolean} val The value to set the property to
1631
+ * @inner
1632
+ */
1633
+ function setTouchInProgress(val) {
1634
+
1635
+ //If destroy is called in an event handler, we have no el, and we have already cleaned up, so return.
1636
+ if(!$element) { return; }
1637
+
1638
+ //Add or remove event listeners depending on touch status
1639
+ if (val === true) {
1640
+ $element.bind(MOVE_EV, touchMove);
1641
+ $element.bind(END_EV, touchEnd);
1642
+
1643
+ //we only have leave events on desktop, we manually calcuate leave on touch as its not supported in webkit
1644
+ if (LEAVE_EV) {
1645
+ $element.bind(LEAVE_EV, touchLeave);
1646
+ }
1647
+ } else {
1648
+
1649
+ $element.unbind(MOVE_EV, touchMove, false);
1650
+ $element.unbind(END_EV, touchEnd, false);
1651
+
1652
+ //we only have leave events on desktop, we manually calcuate leave on touch as its not supported in webkit
1653
+ if (LEAVE_EV) {
1654
+ $element.unbind(LEAVE_EV, touchLeave, false);
1655
+ }
1656
+ }
1657
+
1658
+
1659
+ //strict equality to ensure only true and false can update the value
1660
+ $element.data(PLUGIN_NS + '_intouch', val === true);
1661
+ }
1662
+
1663
+
1664
+ /**
1665
+ * Creates the finger data for the touch/finger in the event object.
1666
+ * @param {int} id The id to store the finger data under (usually the order the fingers were pressed)
1667
+ * @param {object} evt The event object containing finger data
1668
+ * @return finger data object
1669
+ * @inner
1670
+ */
1671
+ function createFingerData(id, evt) {
1672
+ var f = {
1673
+ start: {
1674
+ x: 0,
1675
+ y: 0
1676
+ },
1677
+ last: {
1678
+ x: 0,
1679
+ y: 0
1680
+ },
1681
+ end: {
1682
+ x: 0,
1683
+ y: 0
1684
+ }
1685
+ };
1686
+ f.start.x = f.last.x = f.end.x = evt.pageX || evt.clientX;
1687
+ f.start.y = f.last.y = f.end.y = evt.pageY || evt.clientY;
1688
+ fingerData[id] = f;
1689
+ return f;
1690
+ }
1691
+
1692
+ /**
1693
+ * Updates the finger data for a particular event object
1694
+ * @param {object} evt The event object containing the touch/finger data to upadte
1695
+ * @return a finger data object.
1696
+ * @inner
1697
+ */
1698
+ function updateFingerData(evt) {
1699
+ var id = evt.identifier !== undefined ? evt.identifier : 0;
1700
+ var f = getFingerData(id);
1701
+
1702
+ if (f === null) {
1703
+ f = createFingerData(id, evt);
1704
+ }
1705
+
1706
+ f.last.x = f.end.x;
1707
+ f.last.y = f.end.y;
1708
+
1709
+ f.end.x = evt.pageX || evt.clientX;
1710
+ f.end.y = evt.pageY || evt.clientY;
1711
+
1712
+ return f;
1713
+ }
1714
+
1715
+ /**
1716
+ * Returns a finger data object by its event ID.
1717
+ * Each touch event has an identifier property, which is used
1718
+ * to track repeat touches
1719
+ * @param {int} id The unique id of the finger in the sequence of touch events.
1720
+ * @return a finger data object.
1721
+ * @inner
1722
+ */
1723
+ function getFingerData(id) {
1724
+ return fingerData[id] || null;
1725
+ }
1726
+
1727
+
1728
+ /**
1729
+ * Sets the maximum distance swiped in the given direction.
1730
+ * If the new value is lower than the current value, the max value is not changed.
1731
+ * @param {string} direction The direction of the swipe
1732
+ * @param {int} distance The distance of the swipe
1733
+ * @inner
1734
+ */
1735
+ function setMaxDistance(direction, distance) {
1736
+ if(direction==NONE) return;
1737
+ distance = Math.max(distance, getMaxDistance(direction));
1738
+ maximumsMap[direction].distance = distance;
1739
+ }
1740
+
1741
+ /**
1742
+ * gets the maximum distance swiped in the given direction.
1743
+ * @param {string} direction The direction of the swipe
1744
+ * @return int The distance of the swipe
1745
+ * @inner
1746
+ */
1747
+ function getMaxDistance(direction) {
1748
+ if (maximumsMap[direction]) return maximumsMap[direction].distance;
1749
+ return undefined;
1750
+ }
1751
+
1752
+ /**
1753
+ * Creats a map of directions to maximum swiped values.
1754
+ * @return Object A dictionary of maximum values, indexed by direction.
1755
+ * @inner
1756
+ */
1757
+ function createMaximumsData() {
1758
+ var maxData = {};
1759
+ maxData[LEFT] = createMaximumVO(LEFT);
1760
+ maxData[RIGHT] = createMaximumVO(RIGHT);
1761
+ maxData[UP] = createMaximumVO(UP);
1762
+ maxData[DOWN] = createMaximumVO(DOWN);
1763
+
1764
+ return maxData;
1765
+ }
1766
+
1767
+ /**
1768
+ * Creates a map maximum swiped values for a given swipe direction
1769
+ * @param {string} The direction that these values will be associated with
1770
+ * @return Object Maximum values
1771
+ * @inner
1772
+ */
1773
+ function createMaximumVO(dir) {
1774
+ return {
1775
+ direction: dir,
1776
+ distance: 0
1777
+ }
1778
+ }
1779
+
1780
+
1781
+ //
1782
+ // MATHS / UTILS
1783
+ //
1784
+
1785
+ /**
1786
+ * Calculate the duration of the swipe
1787
+ * @return int
1788
+ * @inner
1789
+ */
1790
+ function calculateDuration() {
1791
+ return endTime - startTime;
1792
+ }
1793
+
1794
+ /**
1795
+ * Calculate the distance between 2 touches (pinch)
1796
+ * @param {point} startPoint A point object containing x and y co-ordinates
1797
+ * @param {point} endPoint A point object containing x and y co-ordinates
1798
+ * @return int;
1799
+ * @inner
1800
+ */
1801
+ function calculateTouchesDistance(startPoint, endPoint) {
1802
+ var diffX = Math.abs(startPoint.x - endPoint.x);
1803
+ var diffY = Math.abs(startPoint.y - endPoint.y);
1804
+
1805
+ return Math.round(Math.sqrt(diffX * diffX + diffY * diffY));
1806
+ }
1807
+
1808
+ /**
1809
+ * Calculate the zoom factor between the start and end distances
1810
+ * @param {int} startDistance Distance (between 2 fingers) the user started pinching at
1811
+ * @param {int} endDistance Distance (between 2 fingers) the user ended pinching at
1812
+ * @return float The zoom value from 0 to 1.
1813
+ * @inner
1814
+ */
1815
+ function calculatePinchZoom(startDistance, endDistance) {
1816
+ var percent = (endDistance / startDistance) * 1;
1817
+ return percent.toFixed(2);
1818
+ }
1819
+
1820
+
1821
+ /**
1822
+ * Returns the pinch direction, either IN or OUT for the given points
1823
+ * @return string Either {@link $.fn.swipe.directions.IN} or {@link $.fn.swipe.directions.OUT}
1824
+ * @see $.fn.swipe.directions
1825
+ * @inner
1826
+ */
1827
+ function calculatePinchDirection() {
1828
+ if (pinchZoom &lt; 1) {
1829
+ return OUT;
1830
+ } else {
1831
+ return IN;
1832
+ }
1833
+ }
1834
+
1835
+
1836
+ /**
1837
+ * Calculate the length / distance of the swipe
1838
+ * @param {point} startPoint A point object containing x and y co-ordinates
1839
+ * @param {point} endPoint A point object containing x and y co-ordinates
1840
+ * @return int
1841
+ * @inner
1842
+ */
1843
+ function calculateDistance(startPoint, endPoint) {
1844
+ return Math.round(Math.sqrt(Math.pow(endPoint.x - startPoint.x, 2) + Math.pow(endPoint.y - startPoint.y, 2)));
1845
+ }
1846
+
1847
+ /**
1848
+ * Calculate the angle of the swipe
1849
+ * @param {point} startPoint A point object containing x and y co-ordinates
1850
+ * @param {point} endPoint A point object containing x and y co-ordinates
1851
+ * @return int
1852
+ * @inner
1853
+ */
1854
+ function calculateAngle(startPoint, endPoint) {
1855
+ var x = startPoint.x - endPoint.x;
1856
+ var y = endPoint.y - startPoint.y;
1857
+ var r = Math.atan2(y, x); //radians
1858
+ var angle = Math.round(r * 180 / Math.PI); //degrees
1859
+
1860
+ //ensure value is positive
1861
+ if (angle &lt; 0) {
1862
+ angle = 360 - Math.abs(angle);
1863
+ }
1864
+
1865
+ return angle;
1866
+ }
1867
+
1868
+ /**
1869
+ * Calculate the direction of the swipe
1870
+ * This will also call calculateAngle to get the latest angle of swipe
1871
+ * @param {point} startPoint A point object containing x and y co-ordinates
1872
+ * @param {point} endPoint A point object containing x and y co-ordinates
1873
+ * @return string Either {@link $.fn.swipe.directions.LEFT} / {@link $.fn.swipe.directions.RIGHT} / {@link $.fn.swipe.directions.DOWN} / {@link $.fn.swipe.directions.UP}
1874
+ * @see $.fn.swipe.directions
1875
+ * @inner
1876
+ */
1877
+ function calculateDirection(startPoint, endPoint) {
1878
+
1879
+ if( comparePoints(startPoint, endPoint) ) {
1880
+ return NONE;
1881
+ }
1882
+
1883
+ var angle = calculateAngle(startPoint, endPoint);
1884
+
1885
+ if ((angle &lt;= 45) &amp;&amp; (angle >= 0)) {
1886
+ return LEFT;
1887
+ } else if ((angle &lt;= 360) &amp;&amp; (angle >= 315)) {
1888
+ return LEFT;
1889
+ } else if ((angle >= 135) &amp;&amp; (angle &lt;= 225)) {
1890
+ return RIGHT;
1891
+ } else if ((angle > 45) &amp;&amp; (angle &lt; 135)) {
1892
+ return DOWN;
1893
+ } else {
1894
+ return UP;
1895
+ }
1896
+ }
1897
+
1898
+
1899
+ /**
1900
+ * Returns a MS time stamp of the current time
1901
+ * @return int
1902
+ * @inner
1903
+ */
1904
+ function getTimeStamp() {
1905
+ var now = new Date();
1906
+ return now.getTime();
1907
+ }
1908
+
1909
+
1910
+
1911
+ /**
1912
+ * Returns a bounds object with left, right, top and bottom properties for the element specified.
1913
+ * @param {DomNode} The DOM node to get the bounds for.
1914
+ */
1915
+ function getbounds(el) {
1916
+ el = $(el);
1917
+ var offset = el.offset();
1918
+
1919
+ var bounds = {
1920
+ left: offset.left,
1921
+ right: offset.left + el.outerWidth(),
1922
+ top: offset.top,
1923
+ bottom: offset.top + el.outerHeight()
1924
+ }
1925
+
1926
+ return bounds;
1927
+ }
1928
+
1929
+
1930
+ /**
1931
+ * Checks if the point object is in the bounds object.
1932
+ * @param {object} point A point object.
1933
+ * @param {int} point.x The x value of the point.
1934
+ * @param {int} point.y The x value of the point.
1935
+ * @param {object} bounds The bounds object to test
1936
+ * @param {int} bounds.left The leftmost value
1937
+ * @param {int} bounds.right The righttmost value
1938
+ * @param {int} bounds.top The topmost value
1939
+ * @param {int} bounds.bottom The bottommost value
1940
+ */
1941
+ function isInBounds(point, bounds) {
1942
+ return (point.x > bounds.left &amp;&amp; point.x &lt; bounds.right &amp;&amp; point.y > bounds.top &amp;&amp; point.y &lt; bounds.bottom);
1943
+ };
1944
+
1945
+ /**
1946
+ * Checks if the two points are equal
1947
+ * @param {object} point A point object.
1948
+ * @param {object} point B point object.
1949
+ * @return true of the points match
1950
+ */
1951
+ function comparePoints(pointA, pointB) {
1952
+ return (pointA.x == pointB.x &amp;&amp; pointA.y == pointB.y);
1953
+ }
1954
+
1955
+
1956
+ }
1957
+
1958
+
1959
+
1960
+
1961
+ /**
1962
+ * A catch all handler that is triggered for all swipe directions.
1963
+ * @name $.fn.swipe#swipe
1964
+ * @event
1965
+ * @default null
1966
+ * @param {EventObject} event The original event object
1967
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
1968
+ * @param {int} distance The distance the user swiped
1969
+ * @param {int} duration The duration of the swipe in milliseconds
1970
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
1971
+ * @param {object} fingerData The coordinates of fingers in event
1972
+ * @param {string} currentDirection The current direction the user is swiping.
1973
+ */
1974
+
1975
+
1976
+
1977
+
1978
+ /**
1979
+ * A handler that is triggered for "left" swipes.
1980
+ * @name $.fn.swipe#swipeLeft
1981
+ * @event
1982
+ * @default null
1983
+ * @param {EventObject} event The original event object
1984
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
1985
+ * @param {int} distance The distance the user swiped
1986
+ * @param {int} duration The duration of the swipe in milliseconds
1987
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
1988
+ * @param {object} fingerData The coordinates of fingers in event
1989
+ * @param {string} currentDirection The current direction the user is swiping.
1990
+ */
1991
+
1992
+ /**
1993
+ * A handler that is triggered for "right" swipes.
1994
+ * @name $.fn.swipe#swipeRight
1995
+ * @event
1996
+ * @default null
1997
+ * @param {EventObject} event The original event object
1998
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
1999
+ * @param {int} distance The distance the user swiped
2000
+ * @param {int} duration The duration of the swipe in milliseconds
2001
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2002
+ * @param {object} fingerData The coordinates of fingers in event
2003
+ * @param {string} currentDirection The current direction the user is swiping.
2004
+ */
2005
+
2006
+ /**
2007
+ * A handler that is triggered for "up" swipes.
2008
+ * @name $.fn.swipe#swipeUp
2009
+ * @event
2010
+ * @default null
2011
+ * @param {EventObject} event The original event object
2012
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
2013
+ * @param {int} distance The distance the user swiped
2014
+ * @param {int} duration The duration of the swipe in milliseconds
2015
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2016
+ * @param {object} fingerData The coordinates of fingers in event
2017
+ * @param {string} currentDirection The current direction the user is swiping.
2018
+ */
2019
+
2020
+ /**
2021
+ * A handler that is triggered for "down" swipes.
2022
+ * @name $.fn.swipe#swipeDown
2023
+ * @event
2024
+ * @default null
2025
+ * @param {EventObject} event The original event object
2026
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
2027
+ * @param {int} distance The distance the user swiped
2028
+ * @param {int} duration The duration of the swipe in milliseconds
2029
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2030
+ * @param {object} fingerData The coordinates of fingers in event
2031
+ * @param {string} currentDirection The current direction the user is swiping.
2032
+ */
2033
+
2034
+ /**
2035
+ * A handler triggered for every phase of the swipe. This handler is constantly fired for the duration of the pinch.
2036
+ * This is triggered regardless of swipe thresholds.
2037
+ * @name $.fn.swipe#swipeStatus
2038
+ * @event
2039
+ * @default null
2040
+ * @param {EventObject} event The original event object
2041
+ * @param {string} phase The phase of the swipe event. See {@link $.fn.swipe.phases}
2042
+ * @param {string} direction The direction the user swiped in. This is null if the user has yet to move. See {@link $.fn.swipe.directions}
2043
+ * @param {int} distance The distance the user swiped. This is 0 if the user has yet to move.
2044
+ * @param {int} duration The duration of the swipe in milliseconds
2045
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2046
+ * @param {object} fingerData The coordinates of fingers in event
2047
+ * @param {string} currentDirection The current direction the user is swiping.
2048
+ */
2049
+
2050
+ /**
2051
+ * A handler triggered for pinch in events.
2052
+ * @name $.fn.swipe#pinchIn
2053
+ * @event
2054
+ * @default null
2055
+ * @param {EventObject} event The original event object
2056
+ * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}
2057
+ * @param {int} distance The distance the user pinched
2058
+ * @param {int} duration The duration of the swipe in milliseconds
2059
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2060
+ * @param {int} zoom The zoom/scale level the user pinched too, 0-1.
2061
+ * @param {object} fingerData The coordinates of fingers in event
2062
+ */
2063
+
2064
+ /**
2065
+ * A handler triggered for pinch out events.
2066
+ * @name $.fn.swipe#pinchOut
2067
+ * @event
2068
+ * @default null
2069
+ * @param {EventObject} event The original event object
2070
+ * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}
2071
+ * @param {int} distance The distance the user pinched
2072
+ * @param {int} duration The duration of the swipe in milliseconds
2073
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2074
+ * @param {int} zoom The zoom/scale level the user pinched too, 0-1.
2075
+ * @param {object} fingerData The coordinates of fingers in event
2076
+ */
2077
+
2078
+ /**
2079
+ * A handler triggered for all pinch events. This handler is constantly fired for the duration of the pinch. This is triggered regardless of thresholds.
2080
+ * @name $.fn.swipe#pinchStatus
2081
+ * @event
2082
+ * @default null
2083
+ * @param {EventObject} event The original event object
2084
+ * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}
2085
+ * @param {int} distance The distance the user pinched
2086
+ * @param {int} duration The duration of the swipe in milliseconds
2087
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2088
+ * @param {int} zoom The zoom/scale level the user pinched too, 0-1.
2089
+ * @param {object} fingerData The coordinates of fingers in event
2090
+ */
2091
+
2092
+ /**
2093
+ * A click handler triggered when a user simply clicks, rather than swipes on an element.
2094
+ * This is deprecated since version 1.6.2, any assignment to click will be assigned to the tap handler.
2095
+ * You cannot use &lt;code>on&lt;/code> to bind to this event as the default jQ &lt;code>click&lt;/code> event will be triggered.
2096
+ * Use the &lt;code>tap&lt;/code> event instead.
2097
+ * @name $.fn.swipe#click
2098
+ * @event
2099
+ * @deprecated since version 1.6.2, please use {@link $.fn.swipe#tap} instead
2100
+ * @default null
2101
+ * @param {EventObject} event The original event object
2102
+ * @param {DomObject} target The element clicked on.
2103
+ */
2104
+
2105
+ /**
2106
+ * A click / tap handler triggered when a user simply clicks or taps, rather than swipes on an element.
2107
+ * @name $.fn.swipe#tap
2108
+ * @event
2109
+ * @default null
2110
+ * @param {EventObject} event The original event object
2111
+ * @param {DomObject} target The element clicked on.
2112
+ */
2113
+
2114
+ /**
2115
+ * A double tap handler triggered when a user double clicks or taps on an element.
2116
+ * You can set the time delay for a double tap with the {@link $.fn.swipe.defaults#doubleTapThreshold} property.
2117
+ * Note: If you set both &lt;code>doubleTap&lt;/code> and &lt;code>tap&lt;/code> handlers, the &lt;code>tap&lt;/code> event will be delayed by the &lt;code>doubleTapThreshold&lt;/code>
2118
+ * as the script needs to check if its a double tap.
2119
+ * @name $.fn.swipe#doubleTap
2120
+ * @see $.fn.swipe.defaults#doubleTapThreshold
2121
+ * @event
2122
+ * @default null
2123
+ * @param {EventObject} event The original event object
2124
+ * @param {DomObject} target The element clicked on.
2125
+ */
2126
+
2127
+ /**
2128
+ * A long tap handler triggered once a tap has been release if the tap was longer than the longTapThreshold.
2129
+ * You can set the time delay for a long tap with the {@link $.fn.swipe.defaults#longTapThreshold} property.
2130
+ * @name $.fn.swipe#longTap
2131
+ * @see $.fn.swipe.defaults#longTapThreshold
2132
+ * @event
2133
+ * @default null
2134
+ * @param {EventObject} event The original event object
2135
+ * @param {DomObject} target The element clicked on.
2136
+ */
2137
+
2138
+ /**
2139
+ * A hold tap handler triggered as soon as the longTapThreshold is reached
2140
+ * You can set the time delay for a long tap with the {@link $.fn.swipe.defaults#longTapThreshold} property.
2141
+ * @name $.fn.swipe#hold
2142
+ * @see $.fn.swipe.defaults#longTapThreshold
2143
+ * @event
2144
+ * @default null
2145
+ * @param {EventObject} event The original event object
2146
+ * @param {DomObject} target The element clicked on.
2147
+ */
2148
+
2149
+ }));
2150
+ </code></pre>
2151
+ </article>
2152
+ </section>
2153
+
2154
+
2155
+
2156
+
2157
+ </div>
2158
+
2159
+ <br class="clear">
2160
+
2161
+ <footer>
2162
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Thu May 19 2016 17:22:25 GMT+0100 (BST) using the docdash theme.
2163
+ </footer>
2164
+
2165
+ <script>prettyPrint();</script>
2166
+ <script src="scripts/linenumber.js"></script>
2167
+ </body>
2168
+ </html>