rubyneat_dashboard 0.4.0.alpha.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1249) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/.rspec +1 -0
  4. data/.ruby-version +1 -0
  5. data/.sass-cache/b114455b2c708d8ae00bfa5eb291284996faaf1c/class_methods.rbc +0 -0
  6. data/.sass-cache/ebb0fda2e452b8e78b76a6d0f76937b12fe7a173/class_methods.rbc20140602-17212-2us5of +0 -0
  7. data/.semver +5 -0
  8. data/Gemfile +23 -0
  9. data/Gemfile.lock +129 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.rdoc +90 -0
  12. data/Rakefile +60 -0
  13. data/VERSION +1 -0
  14. data/app/css/angular-csp.css +13 -0
  15. data/app/css/dashboard/linechart.sass +16 -0
  16. data/app/css/dashboard.sass +30 -0
  17. data/app/css/foundation.css +5263 -0
  18. data/app/css/foundation.min.css +1 -0
  19. data/app/css/vendor/normalize.css +423 -0
  20. data/app/images/RubyNEAT_Dashboard_logo_full.xcf +0 -0
  21. data/app/images/logo.png +0 -0
  22. data/app/js/dashboard/controllers/critters_controller.coffee +1 -0
  23. data/app/js/dashboard/controllers/dashboard_controller.coffee +2 -0
  24. data/app/js/dashboard/controllers/home_controller.coffee +1 -0
  25. data/app/js/dashboard/controllers/overview_controller.coffee +2 -0
  26. data/app/js/dashboard/controllers/population_controller.coffee +14 -0
  27. data/app/js/dashboard/directives/critter_genotype_topology.coffee +6 -0
  28. data/app/js/dashboard/directives/critter_phenotype_topology.coffee +6 -0
  29. data/app/js/dashboard/directives/pie.coffee +39 -0
  30. data/app/js/dashboard/directives/population_progress_chart.coffee +172 -0
  31. data/app/js/dashboard/services/population_service.coffee +5 -0
  32. data/app/js/dashboard.coffee +40 -0
  33. data/bower_components/angular/.bower.json +16 -0
  34. data/bower_components/angular/README.md +48 -0
  35. data/bower_components/angular/angular-csp.css +24 -0
  36. data/bower_components/angular/angular.js +21883 -0
  37. data/bower_components/angular/angular.min.js +214 -0
  38. data/bower_components/angular/angular.min.js.gzip +0 -0
  39. data/bower_components/angular/angular.min.js.map +8 -0
  40. data/bower_components/angular/bower.json +7 -0
  41. data/bower_components/angular-animate/.bower.json +18 -0
  42. data/bower_components/angular-animate/README.md +54 -0
  43. data/bower_components/angular-animate/angular-animate.js +1689 -0
  44. data/bower_components/angular-animate/angular-animate.min.js +28 -0
  45. data/bower_components/angular-animate/angular-animate.min.js.map +8 -0
  46. data/bower_components/angular-animate/bower.json +8 -0
  47. data/bower_components/angular-animate.css/.bower.json +27 -0
  48. data/bower_components/angular-animate.css/README.md +104 -0
  49. data/bower_components/angular-animate.css/angular-animate.css +1407 -0
  50. data/bower_components/angular-animate.css/angular-animate.min.css +1 -0
  51. data/bower_components/angular-animate.css/bower.json +13 -0
  52. data/bower_components/angular-d3-directives/.bower.json +27 -0
  53. data/bower_components/angular-d3-directives/LICENSE +20 -0
  54. data/bower_components/angular-d3-directives/bower.json +17 -0
  55. data/bower_components/angular-d3-directives/gauge/gauge.js +279 -0
  56. data/bower_components/angular-pusher/.bower.json +39 -0
  57. data/bower_components/angular-pusher/CHANGELOG.md +9 -0
  58. data/bower_components/angular-pusher/README.md +52 -0
  59. data/bower_components/angular-pusher/angular-pusher.js +106 -0
  60. data/bower_components/angular-pusher/angular-pusher.min.js +1 -0
  61. data/bower_components/angular-pusher/bower.json +29 -0
  62. data/bower_components/angular-pusher/package.json +34 -0
  63. data/bower_components/angular-resource/.bower.json +18 -0
  64. data/bower_components/angular-resource/README.md +54 -0
  65. data/bower_components/angular-resource/angular-resource.js +619 -0
  66. data/bower_components/angular-resource/angular-resource.min.js +13 -0
  67. data/bower_components/angular-resource/angular-resource.min.js.map +8 -0
  68. data/bower_components/angular-resource/bower.json +8 -0
  69. data/bower_components/angular-route/.bower.json +18 -0
  70. data/bower_components/angular-route/README.md +54 -0
  71. data/bower_components/angular-route/angular-route.js +925 -0
  72. data/bower_components/angular-route/angular-route.min.js +14 -0
  73. data/bower_components/angular-route/angular-route.min.js.map +8 -0
  74. data/bower_components/angular-route/bower.json +8 -0
  75. data/bower_components/angular-sanitize/.bower.json +18 -0
  76. data/bower_components/angular-sanitize/README.md +54 -0
  77. data/bower_components/angular-sanitize/angular-sanitize.js +640 -0
  78. data/bower_components/angular-sanitize/angular-sanitize.min.js +15 -0
  79. data/bower_components/angular-sanitize/angular-sanitize.min.js.map +8 -0
  80. data/bower_components/angular-sanitize/bower.json +8 -0
  81. data/bower_components/angular-socket-io/.bower.json +22 -0
  82. data/bower_components/angular-socket-io/.gitignore +3 -0
  83. data/bower_components/angular-socket-io/.travis.yml +8 -0
  84. data/bower_components/angular-socket-io/README.md +243 -0
  85. data/bower_components/angular-socket-io/bower.json +11 -0
  86. data/bower_components/angular-socket-io/gulpfile.js +18 -0
  87. data/bower_components/angular-socket-io/karma.conf.js +33 -0
  88. data/bower_components/angular-socket-io/mock/socket-io.js +47 -0
  89. data/bower_components/angular-socket-io/package.json +26 -0
  90. data/bower_components/angular-socket-io/socket.js +98 -0
  91. data/bower_components/angular-socket-io/socket.min.js +7 -0
  92. data/bower_components/angular-socket-io/socket.min.js.map +1 -0
  93. data/bower_components/angular-socket-io/socket.spec.js +228 -0
  94. data/bower_components/animate.css/.bower.json +15 -0
  95. data/bower_components/animate.css/.editorconfig +11 -0
  96. data/bower_components/animate.css/.gitignore +4 -0
  97. data/bower_components/animate.css/Gruntfile.js +79 -0
  98. data/bower_components/animate.css/README.md +73 -0
  99. data/bower_components/animate.css/animate-config.json +105 -0
  100. data/bower_components/animate.css/animate.css +3125 -0
  101. data/bower_components/animate.css/animate.min.css +6 -0
  102. data/bower_components/animate.css/bower.json +5 -0
  103. data/bower_components/animate.css/package.json +15 -0
  104. data/bower_components/animate.css/source/_base.css +20 -0
  105. data/bower_components/animate.css/source/attention_seekers/bounce.css +25 -0
  106. data/bower_components/animate.css/source/attention_seekers/flash.css +13 -0
  107. data/bower_components/animate.css/source/attention_seekers/pulse.css +19 -0
  108. data/bower_components/animate.css/source/attention_seekers/rubberBand.css +33 -0
  109. data/bower_components/animate.css/source/attention_seekers/shake.css +17 -0
  110. data/bower_components/animate.css/source/attention_seekers/swing.css +26 -0
  111. data/bower_components/animate.css/source/attention_seekers/tada.css +25 -0
  112. data/bower_components/animate.css/source/attention_seekers/wobble.css +35 -0
  113. data/bower_components/animate.css/source/bouncing_entrances/bounceIn.css +37 -0
  114. data/bower_components/animate.css/source/bouncing_entrances/bounceInDown.css +31 -0
  115. data/bower_components/animate.css/source/bouncing_entrances/bounceInLeft.css +31 -0
  116. data/bower_components/animate.css/source/bouncing_entrances/bounceInRight.css +31 -0
  117. data/bower_components/animate.css/source/bouncing_entrances/bounceInUp.css +31 -0
  118. data/bower_components/animate.css/source/bouncing_exits/bounceOut.css +20 -0
  119. data/bower_components/animate.css/source/bouncing_exits/bounceOutDown.css +19 -0
  120. data/bower_components/animate.css/source/bouncing_exits/bounceOutLeft.css +15 -0
  121. data/bower_components/animate.css/source/bouncing_exits/bounceOutRight.css +15 -0
  122. data/bower_components/animate.css/source/bouncing_exits/bounceOutUp.css +19 -0
  123. data/bower_components/animate.css/source/fading_entrances/fadeIn.css +8 -0
  124. data/bower_components/animate.css/source/fading_entrances/fadeInDown.css +15 -0
  125. data/bower_components/animate.css/source/fading_entrances/fadeInDownBig.css +15 -0
  126. data/bower_components/animate.css/source/fading_entrances/fadeInLeft.css +15 -0
  127. data/bower_components/animate.css/source/fading_entrances/fadeInLeftBig.css +15 -0
  128. data/bower_components/animate.css/source/fading_entrances/fadeInRight.css +15 -0
  129. data/bower_components/animate.css/source/fading_entrances/fadeInRightBig.css +15 -0
  130. data/bower_components/animate.css/source/fading_entrances/fadeInUp.css +15 -0
  131. data/bower_components/animate.css/source/fading_entrances/fadeInUpBig.css +15 -0
  132. data/bower_components/animate.css/source/fading_exits/fadeOut.css +8 -0
  133. data/bower_components/animate.css/source/fading_exits/fadeOutDown.css +14 -0
  134. data/bower_components/animate.css/source/fading_exits/fadeOutDownBig.css +14 -0
  135. data/bower_components/animate.css/source/fading_exits/fadeOutLeft.css +14 -0
  136. data/bower_components/animate.css/source/fading_exits/fadeOutLeftBig.css +14 -0
  137. data/bower_components/animate.css/source/fading_exits/fadeOutRight.css +14 -0
  138. data/bower_components/animate.css/source/fading_exits/fadeOutRightBig.css +14 -0
  139. data/bower_components/animate.css/source/fading_exits/fadeOutUp.css +14 -0
  140. data/bower_components/animate.css/source/fading_exits/fadeOutUpBig.css +14 -0
  141. data/bower_components/animate.css/source/flippers/flip.css +31 -0
  142. data/bower_components/animate.css/source/flippers/flipInX.css +30 -0
  143. data/bower_components/animate.css/source/flippers/flipInY.css +30 -0
  144. data/bower_components/animate.css/source/flippers/flipOutX.css +21 -0
  145. data/bower_components/animate.css/source/flippers/flipOutY.css +21 -0
  146. data/bower_components/animate.css/source/lightspeed/lightSpeedIn.css +26 -0
  147. data/bower_components/animate.css/source/lightspeed/lightSpeedOut.css +15 -0
  148. data/bower_components/animate.css/source/rotating_entrances/rotateIn.css +17 -0
  149. data/bower_components/animate.css/source/rotating_entrances/rotateInDownLeft.css +17 -0
  150. data/bower_components/animate.css/source/rotating_entrances/rotateInDownRight.css +17 -0
  151. data/bower_components/animate.css/source/rotating_entrances/rotateInUpLeft.css +17 -0
  152. data/bower_components/animate.css/source/rotating_entrances/rotateInUpRight.css +17 -0
  153. data/bower_components/animate.css/source/rotating_exits/rotateOut.css +16 -0
  154. data/bower_components/animate.css/source/rotating_exits/rotateOutDownLeft.css +16 -0
  155. data/bower_components/animate.css/source/rotating_exits/rotateOutDownRight.css +16 -0
  156. data/bower_components/animate.css/source/rotating_exits/rotateOutUpLeft.css +16 -0
  157. data/bower_components/animate.css/source/rotating_exits/rotateOutUpRight.css +16 -0
  158. data/bower_components/animate.css/source/specials/hinge.css +28 -0
  159. data/bower_components/animate.css/source/specials/rollIn.css +17 -0
  160. data/bower_components/animate.css/source/specials/rollOut.css +16 -0
  161. data/bower_components/animate.css/source/zooming_entrances/zoomIn.css +14 -0
  162. data/bower_components/animate.css/source/zooming_entrances/zoomInDown.css +17 -0
  163. data/bower_components/animate.css/source/zooming_entrances/zoomInLeft.css +17 -0
  164. data/bower_components/animate.css/source/zooming_entrances/zoomInRight.css +17 -0
  165. data/bower_components/animate.css/source/zooming_entrances/zoomInUp.css +17 -0
  166. data/bower_components/animate.css/source/zooming_exits/zoomOut.css +18 -0
  167. data/bower_components/animate.css/source/zooming_exits/zoomOutDown.css +18 -0
  168. data/bower_components/animate.css/source/zooming_exits/zoomOutLeft.css +16 -0
  169. data/bower_components/animate.css/source/zooming_exits/zoomOutRight.css +16 -0
  170. data/bower_components/animate.css/source/zooming_exits/zoomOutUp.css +18 -0
  171. data/bower_components/d3/.bower.json +34 -0
  172. data/bower_components/d3/.spmignore +4 -0
  173. data/bower_components/d3/CONTRIBUTING.md +25 -0
  174. data/bower_components/d3/LICENSE +26 -0
  175. data/bower_components/d3/README.md +9 -0
  176. data/bower_components/d3/bower.json +24 -0
  177. data/bower_components/d3/composer.json +19 -0
  178. data/bower_components/d3/d3.js +9233 -0
  179. data/bower_components/d3/d3.min.js +5 -0
  180. data/bower_components/fastclick/.bower.json +23 -0
  181. data/bower_components/fastclick/LICENSE +22 -0
  182. data/bower_components/fastclick/README.md +133 -0
  183. data/bower_components/fastclick/bower.json +13 -0
  184. data/bower_components/fastclick/lib/fastclick.js +821 -0
  185. data/bower_components/foundation/.bower.json +30 -0
  186. data/bower_components/foundation/bower.json +20 -0
  187. data/bower_components/foundation/css/foundation.css +4860 -0
  188. data/bower_components/foundation/css/normalize.css +320 -0
  189. data/bower_components/foundation/js/foundation/foundation.abide.js +299 -0
  190. data/bower_components/foundation/js/foundation/foundation.accordion.js +59 -0
  191. data/bower_components/foundation/js/foundation/foundation.alert.js +43 -0
  192. data/bower_components/foundation/js/foundation/foundation.clearing.js +534 -0
  193. data/bower_components/foundation/js/foundation/foundation.dropdown.js +311 -0
  194. data/bower_components/foundation/js/foundation/foundation.equalizer.js +74 -0
  195. data/bower_components/foundation/js/foundation/foundation.interchange.js +331 -0
  196. data/bower_components/foundation/js/foundation/foundation.joyride.js +843 -0
  197. data/bower_components/foundation/js/foundation/foundation.js +611 -0
  198. data/bower_components/foundation/js/foundation/foundation.magellan.js +178 -0
  199. data/bower_components/foundation/js/foundation/foundation.offcanvas.js +108 -0
  200. data/bower_components/foundation/js/foundation/foundation.orbit.js +610 -0
  201. data/bower_components/foundation/js/foundation/foundation.reveal.js +437 -0
  202. data/bower_components/foundation/js/foundation/foundation.slider.js +199 -0
  203. data/bower_components/foundation/js/foundation/foundation.tab.js +167 -0
  204. data/bower_components/foundation/js/foundation/foundation.tooltip.js +298 -0
  205. data/bower_components/foundation/js/foundation/foundation.topbar.js +425 -0
  206. data/bower_components/foundation/js/foundation.js +5543 -0
  207. data/bower_components/foundation/js/foundation.min.js +3 -0
  208. data/bower_components/foundation/js/vendor/fastclick.js +9 -0
  209. data/bower_components/foundation/js/vendor/jquery.cookie.js +8 -0
  210. data/bower_components/foundation/js/vendor/jquery.js +26 -0
  211. data/bower_components/foundation/js/vendor/modernizr.js +8 -0
  212. data/bower_components/foundation/js/vendor/placeholder.js +2 -0
  213. data/bower_components/foundation/scss/foundation/_functions.scss +101 -0
  214. data/bower_components/foundation/scss/foundation/_settings.scss +1289 -0
  215. data/bower_components/foundation/scss/foundation/components/_accordion.scss +53 -0
  216. data/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +126 -0
  217. data/bower_components/foundation/scss/foundation/components/_block-grid.scss +132 -0
  218. data/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +127 -0
  219. data/bower_components/foundation/scss/foundation/components/_button-groups.scss +108 -0
  220. data/bower_components/foundation/scss/foundation/components/_buttons.scss +222 -0
  221. data/bower_components/foundation/scss/foundation/components/_clearing.scss +247 -0
  222. data/bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss +129 -0
  223. data/bower_components/foundation/scss/foundation/components/_dropdown.scss +248 -0
  224. data/bower_components/foundation/scss/foundation/components/_flex-video.scss +51 -0
  225. data/bower_components/foundation/scss/foundation/components/_forms.scss +498 -0
  226. data/bower_components/foundation/scss/foundation/components/_global.scss +429 -0
  227. data/bower_components/foundation/scss/foundation/components/_grid.scss +260 -0
  228. data/bower_components/foundation/scss/foundation/components/_inline-lists.scss +57 -0
  229. data/bower_components/foundation/scss/foundation/components/_joyride.scss +220 -0
  230. data/bower_components/foundation/scss/foundation/components/_keystrokes.scss +61 -0
  231. data/bower_components/foundation/scss/foundation/components/_labels.scss +104 -0
  232. data/bower_components/foundation/scss/foundation/components/_magellan.scss +34 -0
  233. data/bower_components/foundation/scss/foundation/components/_offcanvas.scss +355 -0
  234. data/bower_components/foundation/scss/foundation/components/_orbit.scss +423 -0
  235. data/bower_components/foundation/scss/foundation/components/_pagination.scss +150 -0
  236. data/bower_components/foundation/scss/foundation/components/_panels.scss +90 -0
  237. data/bower_components/foundation/scss/foundation/components/_pricing-tables.scss +150 -0
  238. data/bower_components/foundation/scss/foundation/components/_progress-bars.scss +79 -0
  239. data/bower_components/foundation/scss/foundation/components/_range-slider.scss +148 -0
  240. data/bower_components/foundation/scss/foundation/components/_reveal-new.scss +0 -0
  241. data/bower_components/foundation/scss/foundation/components/_reveal.scss +216 -0
  242. data/bower_components/foundation/scss/foundation/components/_side-nav.scss +115 -0
  243. data/bower_components/foundation/scss/foundation/components/_split-buttons.scss +191 -0
  244. data/bower_components/foundation/scss/foundation/components/_sub-nav.scss +125 -0
  245. data/bower_components/foundation/scss/foundation/components/_switch.scss +294 -0
  246. data/bower_components/foundation/scss/foundation/components/_tables.scss +129 -0
  247. data/bower_components/foundation/scss/foundation/components/_tabs.scss +109 -0
  248. data/bower_components/foundation/scss/foundation/components/_thumbs.scss +68 -0
  249. data/bower_components/foundation/scss/foundation/components/_tooltips.scss +140 -0
  250. data/bower_components/foundation/scss/foundation/components/_top-bar.scss +644 -0
  251. data/bower_components/foundation/scss/foundation/components/_type.scss +511 -0
  252. data/bower_components/foundation/scss/foundation/components/_visibility.scss +408 -0
  253. data/bower_components/foundation/scss/foundation.scss +45 -0
  254. data/bower_components/foundation/scss/normalize.scss +425 -0
  255. data/bower_components/jquery/.bower.json +37 -0
  256. data/bower_components/jquery/MIT-LICENSE.txt +21 -0
  257. data/bower_components/jquery/bower.json +27 -0
  258. data/bower_components/jquery/dist/jquery.js +9190 -0
  259. data/bower_components/jquery/dist/jquery.min.js +5 -0
  260. data/bower_components/jquery/dist/jquery.min.map +1 -0
  261. data/bower_components/jquery/src/ajax/jsonp.js +89 -0
  262. data/bower_components/jquery/src/ajax/load.js +75 -0
  263. data/bower_components/jquery/src/ajax/parseJSON.js +13 -0
  264. data/bower_components/jquery/src/ajax/parseXML.js +28 -0
  265. data/bower_components/jquery/src/ajax/script.js +64 -0
  266. data/bower_components/jquery/src/ajax/var/nonce.js +5 -0
  267. data/bower_components/jquery/src/ajax/var/rquery.js +3 -0
  268. data/bower_components/jquery/src/ajax/xhr.js +135 -0
  269. data/bower_components/jquery/src/ajax.js +806 -0
  270. data/bower_components/jquery/src/attributes/attr.js +143 -0
  271. data/bower_components/jquery/src/attributes/classes.js +158 -0
  272. data/bower_components/jquery/src/attributes/prop.js +96 -0
  273. data/bower_components/jquery/src/attributes/support.js +35 -0
  274. data/bower_components/jquery/src/attributes/val.js +163 -0
  275. data/bower_components/jquery/src/attributes.js +11 -0
  276. data/bower_components/jquery/src/callbacks.js +205 -0
  277. data/bower_components/jquery/src/core/access.js +60 -0
  278. data/bower_components/jquery/src/core/init.js +123 -0
  279. data/bower_components/jquery/src/core/parseHTML.js +39 -0
  280. data/bower_components/jquery/src/core/ready.js +97 -0
  281. data/bower_components/jquery/src/core/var/rsingleTag.js +4 -0
  282. data/bower_components/jquery/src/core.js +498 -0
  283. data/bower_components/jquery/src/css/addGetHookIf.js +24 -0
  284. data/bower_components/jquery/src/css/curCSS.js +57 -0
  285. data/bower_components/jquery/src/css/defaultDisplay.js +70 -0
  286. data/bower_components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  287. data/bower_components/jquery/src/css/support.js +91 -0
  288. data/bower_components/jquery/src/css/swap.js +28 -0
  289. data/bower_components/jquery/src/css/var/cssExpand.js +3 -0
  290. data/bower_components/jquery/src/css/var/getStyles.js +5 -0
  291. data/bower_components/jquery/src/css/var/isHidden.js +13 -0
  292. data/bower_components/jquery/src/css/var/rmargin.js +3 -0
  293. data/bower_components/jquery/src/css/var/rnumnonpx.js +5 -0
  294. data/bower_components/jquery/src/css.js +451 -0
  295. data/bower_components/jquery/src/data/Data.js +181 -0
  296. data/bower_components/jquery/src/data/accepts.js +20 -0
  297. data/bower_components/jquery/src/data/var/data_priv.js +5 -0
  298. data/bower_components/jquery/src/data/var/data_user.js +5 -0
  299. data/bower_components/jquery/src/data.js +179 -0
  300. data/bower_components/jquery/src/deferred.js +149 -0
  301. data/bower_components/jquery/src/deprecated.js +13 -0
  302. data/bower_components/jquery/src/dimensions.js +50 -0
  303. data/bower_components/jquery/src/effects/Tween.js +114 -0
  304. data/bower_components/jquery/src/effects/animatedSelector.js +13 -0
  305. data/bower_components/jquery/src/effects.js +649 -0
  306. data/bower_components/jquery/src/event/alias.js +39 -0
  307. data/bower_components/jquery/src/event/support.js +9 -0
  308. data/bower_components/jquery/src/event.js +868 -0
  309. data/bower_components/jquery/src/exports/amd.js +24 -0
  310. data/bower_components/jquery/src/exports/global.js +32 -0
  311. data/bower_components/jquery/src/intro.js +44 -0
  312. data/bower_components/jquery/src/jquery.js +36 -0
  313. data/bower_components/jquery/src/manipulation/_evalUrl.js +18 -0
  314. data/bower_components/jquery/src/manipulation/support.js +31 -0
  315. data/bower_components/jquery/src/manipulation/var/rcheckableType.js +3 -0
  316. data/bower_components/jquery/src/manipulation.js +582 -0
  317. data/bower_components/jquery/src/offset.js +204 -0
  318. data/bower_components/jquery/src/outro.js +1 -0
  319. data/bower_components/jquery/src/queue/delay.js +22 -0
  320. data/bower_components/jquery/src/queue.js +142 -0
  321. data/bower_components/jquery/src/selector-native.js +172 -0
  322. data/bower_components/jquery/src/selector-sizzle.js +14 -0
  323. data/bower_components/jquery/src/selector.js +1 -0
  324. data/bower_components/jquery/src/serialize.js +111 -0
  325. data/bower_components/jquery/src/sizzle/dist/sizzle.js +2044 -0
  326. data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +3 -0
  327. data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +1 -0
  328. data/bower_components/jquery/src/traversing/findFilter.js +100 -0
  329. data/bower_components/jquery/src/traversing/var/rneedsContext.js +6 -0
  330. data/bower_components/jquery/src/traversing.js +200 -0
  331. data/bower_components/jquery/src/var/arr.js +3 -0
  332. data/bower_components/jquery/src/var/class2type.js +4 -0
  333. data/bower_components/jquery/src/var/concat.js +5 -0
  334. data/bower_components/jquery/src/var/hasOwn.js +5 -0
  335. data/bower_components/jquery/src/var/indexOf.js +5 -0
  336. data/bower_components/jquery/src/var/pnum.js +3 -0
  337. data/bower_components/jquery/src/var/push.js +5 -0
  338. data/bower_components/jquery/src/var/rnotwhite.js +3 -0
  339. data/bower_components/jquery/src/var/slice.js +5 -0
  340. data/bower_components/jquery/src/var/strundefined.js +3 -0
  341. data/bower_components/jquery/src/var/support.js +4 -0
  342. data/bower_components/jquery/src/var/toString.js +5 -0
  343. data/bower_components/jquery/src/wrap.js +78 -0
  344. data/bower_components/jquery-placeholder/.bower.json +17 -0
  345. data/bower_components/jquery-placeholder/.gitattributes +1 -0
  346. data/bower_components/jquery-placeholder/.gitignore +1 -0
  347. data/bower_components/jquery-placeholder/LICENSE-MIT.txt +20 -0
  348. data/bower_components/jquery-placeholder/README.md +76 -0
  349. data/bower_components/jquery-placeholder/bower.json +5 -0
  350. data/bower_components/jquery-placeholder/demo.html +55 -0
  351. data/bower_components/jquery-placeholder/jquery.placeholder.js +185 -0
  352. data/bower_components/jquery-placeholder/tests/index.html +32 -0
  353. data/bower_components/jquery-placeholder/tests/tests.js +134 -0
  354. data/bower_components/jquery-ui/.bower.json +21 -0
  355. data/bower_components/jquery-ui/.gitignore +3 -0
  356. data/bower_components/jquery-ui/AUTHORS.txt +260 -0
  357. data/bower_components/jquery-ui/MIT-LICENSE.txt +26 -0
  358. data/bower_components/jquery-ui/README.md +11 -0
  359. data/bower_components/jquery-ui/bower.json +10 -0
  360. data/bower_components/jquery-ui/component.json +13 -0
  361. data/bower_components/jquery-ui/composer.json +64 -0
  362. data/bower_components/jquery-ui/jquery-ui.js +16150 -0
  363. data/bower_components/jquery-ui/jquery-ui.min.js +13 -0
  364. data/bower_components/jquery-ui/package.json +66 -0
  365. data/bower_components/jquery-ui/themes/base/accordion.css +36 -0
  366. data/bower_components/jquery-ui/themes/base/all.css +12 -0
  367. data/bower_components/jquery-ui/themes/base/autocomplete.css +16 -0
  368. data/bower_components/jquery-ui/themes/base/base.css +28 -0
  369. data/bower_components/jquery-ui/themes/base/button.css +114 -0
  370. data/bower_components/jquery-ui/themes/base/core.css +93 -0
  371. data/bower_components/jquery-ui/themes/base/datepicker.css +175 -0
  372. data/bower_components/jquery-ui/themes/base/dialog.css +70 -0
  373. data/bower_components/jquery-ui/themes/base/draggable.css +12 -0
  374. data/bower_components/jquery-ui/themes/base/images/animated-overlay.gif +0 -0
  375. data/bower_components/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  376. data/bower_components/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  377. data/bower_components/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  378. data/bower_components/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  379. data/bower_components/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  380. data/bower_components/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  381. data/bower_components/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  382. data/bower_components/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  383. data/bower_components/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
  384. data/bower_components/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  385. data/bower_components/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
  386. data/bower_components/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
  387. data/bower_components/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  388. data/bower_components/jquery-ui/themes/base/menu.css +63 -0
  389. data/bower_components/jquery-ui/themes/base/progressbar.css +28 -0
  390. data/bower_components/jquery-ui/themes/base/resizable.css +78 -0
  391. data/bower_components/jquery-ui/themes/base/selectable.css +17 -0
  392. data/bower_components/jquery-ui/themes/base/selectmenu.css +59 -0
  393. data/bower_components/jquery-ui/themes/base/slider.css +75 -0
  394. data/bower_components/jquery-ui/themes/base/sortable.css +12 -0
  395. data/bower_components/jquery-ui/themes/base/spinner.css +65 -0
  396. data/bower_components/jquery-ui/themes/base/tabs.css +51 -0
  397. data/bower_components/jquery-ui/themes/base/theme.css +410 -0
  398. data/bower_components/jquery-ui/themes/base/tooltip.css +21 -0
  399. data/bower_components/jquery-ui/themes/black-tie/images/animated-overlay.gif +0 -0
  400. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  401. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  402. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
  403. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  404. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  405. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  406. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  407. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  408. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  409. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
  410. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
  411. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
  412. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
  413. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
  414. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
  415. data/bower_components/jquery-ui/themes/black-tie/jquery-ui.css +1225 -0
  416. data/bower_components/jquery-ui/themes/black-tie/jquery-ui.min.css +7 -0
  417. data/bower_components/jquery-ui/themes/black-tie/theme.css +410 -0
  418. data/bower_components/jquery-ui/themes/blitzer/images/animated-overlay.gif +0 -0
  419. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  420. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  421. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
  422. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  423. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  424. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  425. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  426. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  427. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  428. data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
  429. data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
  430. data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
  431. data/bower_components/jquery-ui/themes/blitzer/jquery-ui.css +1225 -0
  432. data/bower_components/jquery-ui/themes/blitzer/jquery-ui.min.css +7 -0
  433. data/bower_components/jquery-ui/themes/blitzer/theme.css +410 -0
  434. data/bower_components/jquery-ui/themes/cupertino/images/animated-overlay.gif +0 -0
  435. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  436. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  437. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  438. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
  439. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  440. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  441. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  442. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  443. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  444. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  445. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  446. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
  447. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  448. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  449. data/bower_components/jquery-ui/themes/cupertino/jquery-ui.css +1225 -0
  450. data/bower_components/jquery-ui/themes/cupertino/jquery-ui.min.css +7 -0
  451. data/bower_components/jquery-ui/themes/cupertino/theme.css +410 -0
  452. data/bower_components/jquery-ui/themes/dark-hive/images/animated-overlay.gif +0 -0
  453. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  454. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  455. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  456. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  457. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  458. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  459. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  460. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  461. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  462. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  463. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  464. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  465. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  466. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  467. data/bower_components/jquery-ui/themes/dark-hive/jquery-ui.css +1225 -0
  468. data/bower_components/jquery-ui/themes/dark-hive/jquery-ui.min.css +7 -0
  469. data/bower_components/jquery-ui/themes/dark-hive/theme.css +410 -0
  470. data/bower_components/jquery-ui/themes/dot-luv/images/animated-overlay.gif +0 -0
  471. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  472. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  473. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
  474. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  475. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  476. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  477. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
  478. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  479. data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
  480. data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
  481. data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
  482. data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
  483. data/bower_components/jquery-ui/themes/dot-luv/jquery-ui.css +1225 -0
  484. data/bower_components/jquery-ui/themes/dot-luv/jquery-ui.min.css +7 -0
  485. data/bower_components/jquery-ui/themes/dot-luv/theme.css +410 -0
  486. data/bower_components/jquery-ui/themes/eggplant/images/animated-overlay.gif +0 -0
  487. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  488. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  489. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
  490. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
  491. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  492. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  493. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  494. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  495. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  496. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
  497. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
  498. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
  499. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
  500. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
  501. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
  502. data/bower_components/jquery-ui/themes/eggplant/jquery-ui.css +1225 -0
  503. data/bower_components/jquery-ui/themes/eggplant/jquery-ui.min.css +7 -0
  504. data/bower_components/jquery-ui/themes/eggplant/theme.css +410 -0
  505. data/bower_components/jquery-ui/themes/excite-bike/images/animated-overlay.gif +0 -0
  506. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  507. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  508. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  509. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  510. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
  511. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
  512. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  513. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  514. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
  515. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
  516. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
  517. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
  518. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
  519. data/bower_components/jquery-ui/themes/excite-bike/jquery-ui.css +1225 -0
  520. data/bower_components/jquery-ui/themes/excite-bike/jquery-ui.min.css +7 -0
  521. data/bower_components/jquery-ui/themes/excite-bike/theme.css +410 -0
  522. data/bower_components/jquery-ui/themes/flick/images/animated-overlay.gif +0 -0
  523. data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  524. data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  525. data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
  526. data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  527. data/bower_components/jquery-ui/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  528. data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  529. data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  530. data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  531. data/bower_components/jquery-ui/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
  532. data/bower_components/jquery-ui/themes/flick/images/ui-icons_454545_256x240.png +0 -0
  533. data/bower_components/jquery-ui/themes/flick/images/ui-icons_666666_256x240.png +0 -0
  534. data/bower_components/jquery-ui/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
  535. data/bower_components/jquery-ui/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
  536. data/bower_components/jquery-ui/themes/flick/jquery-ui.css +1225 -0
  537. data/bower_components/jquery-ui/themes/flick/jquery-ui.min.css +7 -0
  538. data/bower_components/jquery-ui/themes/flick/theme.css +410 -0
  539. data/bower_components/jquery-ui/themes/hot-sneaks/images/animated-overlay.gif +0 -0
  540. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  541. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  542. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  543. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  544. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  545. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  546. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
  547. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  548. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  549. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
  550. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
  551. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
  552. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
  553. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
  554. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
  555. data/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.css +1225 -0
  556. data/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.min.css +7 -0
  557. data/bower_components/jquery-ui/themes/hot-sneaks/theme.css +410 -0
  558. data/bower_components/jquery-ui/themes/humanity/images/animated-overlay.gif +0 -0
  559. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  560. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  561. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
  562. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  563. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  564. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  565. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  566. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  567. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
  568. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
  569. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
  570. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
  571. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
  572. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
  573. data/bower_components/jquery-ui/themes/humanity/jquery-ui.css +1225 -0
  574. data/bower_components/jquery-ui/themes/humanity/jquery-ui.min.css +7 -0
  575. data/bower_components/jquery-ui/themes/humanity/theme.css +410 -0
  576. data/bower_components/jquery-ui/themes/le-frog/images/animated-overlay.gif +0 -0
  577. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  578. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  579. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  580. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  581. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  582. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  583. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  584. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  585. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  586. data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
  587. data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
  588. data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
  589. data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
  590. data/bower_components/jquery-ui/themes/le-frog/jquery-ui.css +1225 -0
  591. data/bower_components/jquery-ui/themes/le-frog/jquery-ui.min.css +7 -0
  592. data/bower_components/jquery-ui/themes/le-frog/theme.css +410 -0
  593. data/bower_components/jquery-ui/themes/mint-choc/images/animated-overlay.gif +0 -0
  594. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  595. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
  596. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  597. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  598. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  599. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  600. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  601. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  602. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
  603. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
  604. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
  605. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
  606. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
  607. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
  608. data/bower_components/jquery-ui/themes/mint-choc/jquery-ui.css +1225 -0
  609. data/bower_components/jquery-ui/themes/mint-choc/jquery-ui.min.css +7 -0
  610. data/bower_components/jquery-ui/themes/mint-choc/theme.css +410 -0
  611. data/bower_components/jquery-ui/themes/overcast/images/animated-overlay.gif +0 -0
  612. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  613. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  614. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
  615. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  616. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  617. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
  618. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  619. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  620. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  621. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
  622. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
  623. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
  624. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
  625. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
  626. data/bower_components/jquery-ui/themes/overcast/jquery-ui.css +1225 -0
  627. data/bower_components/jquery-ui/themes/overcast/jquery-ui.min.css +7 -0
  628. data/bower_components/jquery-ui/themes/overcast/theme.css +410 -0
  629. data/bower_components/jquery-ui/themes/pepper-grinder/images/animated-overlay.gif +0 -0
  630. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  631. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  632. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  633. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  634. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  635. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  636. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  637. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  638. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  639. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
  640. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
  641. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
  642. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
  643. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
  644. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
  645. data/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.css +1225 -0
  646. data/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.min.css +7 -0
  647. data/bower_components/jquery-ui/themes/pepper-grinder/theme.css +410 -0
  648. data/bower_components/jquery-ui/themes/redmond/images/animated-overlay.gif +0 -0
  649. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  650. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  651. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  652. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  653. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  654. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  655. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  656. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  657. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  658. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  659. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  660. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  661. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  662. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  663. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  664. data/bower_components/jquery-ui/themes/redmond/jquery-ui.css +1225 -0
  665. data/bower_components/jquery-ui/themes/redmond/jquery-ui.min.css +7 -0
  666. data/bower_components/jquery-ui/themes/redmond/theme.css +410 -0
  667. data/bower_components/jquery-ui/themes/smoothness/images/animated-overlay.gif +0 -0
  668. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  669. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  670. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  671. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  672. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  673. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  674. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  675. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  676. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  677. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  678. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  679. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  680. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  681. data/bower_components/jquery-ui/themes/smoothness/jquery-ui.css +1225 -0
  682. data/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css +7 -0
  683. data/bower_components/jquery-ui/themes/smoothness/theme.css +410 -0
  684. data/bower_components/jquery-ui/themes/south-street/images/animated-overlay.gif +0 -0
  685. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  686. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  687. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  688. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  689. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  690. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  691. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  692. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  693. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  694. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
  695. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
  696. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_8DC262_256x240.png +0 -0
  697. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
  698. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
  699. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
  700. data/bower_components/jquery-ui/themes/south-street/jquery-ui.css +1225 -0
  701. data/bower_components/jquery-ui/themes/south-street/jquery-ui.min.css +7 -0
  702. data/bower_components/jquery-ui/themes/south-street/theme.css +410 -0
  703. data/bower_components/jquery-ui/themes/start/images/animated-overlay.gif +0 -0
  704. data/bower_components/jquery-ui/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
  705. data/bower_components/jquery-ui/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  706. data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
  707. data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  708. data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  709. data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  710. data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  711. data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  712. data/bower_components/jquery-ui/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  713. data/bower_components/jquery-ui/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
  714. data/bower_components/jquery-ui/themes/start/images/ui-icons_056b93_256x240.png +0 -0
  715. data/bower_components/jquery-ui/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
  716. data/bower_components/jquery-ui/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
  717. data/bower_components/jquery-ui/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
  718. data/bower_components/jquery-ui/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
  719. data/bower_components/jquery-ui/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
  720. data/bower_components/jquery-ui/themes/start/jquery-ui.css +1225 -0
  721. data/bower_components/jquery-ui/themes/start/jquery-ui.min.css +7 -0
  722. data/bower_components/jquery-ui/themes/start/theme.css +410 -0
  723. data/bower_components/jquery-ui/themes/sunny/images/animated-overlay.gif +0 -0
  724. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  725. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  726. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  727. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  728. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  729. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  730. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  731. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  732. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  733. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
  734. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
  735. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
  736. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
  737. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
  738. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
  739. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
  740. data/bower_components/jquery-ui/themes/sunny/jquery-ui.css +1225 -0
  741. data/bower_components/jquery-ui/themes/sunny/jquery-ui.min.css +7 -0
  742. data/bower_components/jquery-ui/themes/sunny/theme.css +410 -0
  743. data/bower_components/jquery-ui/themes/swanky-purse/images/animated-overlay.gif +0 -0
  744. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  745. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
  746. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
  747. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  748. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
  749. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
  750. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  751. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  752. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
  753. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
  754. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
  755. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
  756. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
  757. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
  758. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
  759. data/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.css +1225 -0
  760. data/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.min.css +7 -0
  761. data/bower_components/jquery-ui/themes/swanky-purse/theme.css +410 -0
  762. data/bower_components/jquery-ui/themes/trontastic/images/animated-overlay.gif +0 -0
  763. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  764. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
  765. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  766. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  767. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  768. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
  769. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  770. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  771. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  772. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
  773. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
  774. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
  775. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
  776. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
  777. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
  778. data/bower_components/jquery-ui/themes/trontastic/jquery-ui.css +1225 -0
  779. data/bower_components/jquery-ui/themes/trontastic/jquery-ui.min.css +7 -0
  780. data/bower_components/jquery-ui/themes/trontastic/theme.css +410 -0
  781. data/bower_components/jquery-ui/themes/ui-darkness/images/animated-overlay.gif +0 -0
  782. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  783. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  784. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
  785. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  786. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  787. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  788. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  789. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  790. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  791. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
  792. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
  793. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
  794. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
  795. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
  796. data/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.css +1225 -0
  797. data/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.min.css +7 -0
  798. data/bower_components/jquery-ui/themes/ui-darkness/theme.css +410 -0
  799. data/bower_components/jquery-ui/themes/ui-lightness/images/animated-overlay.gif +0 -0
  800. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  801. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  802. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  803. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  804. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  805. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  806. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  807. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  808. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  809. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  810. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  811. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  812. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  813. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  814. data/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.css +1225 -0
  815. data/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.min.css +7 -0
  816. data/bower_components/jquery-ui/themes/ui-lightness/theme.css +410 -0
  817. data/bower_components/jquery-ui/themes/vader/images/animated-overlay.gif +0 -0
  818. data/bower_components/jquery-ui/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  819. data/bower_components/jquery-ui/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  820. data/bower_components/jquery-ui/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  821. data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  822. data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  823. data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  824. data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  825. data/bower_components/jquery-ui/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  826. data/bower_components/jquery-ui/themes/vader/images/ui-icons_666666_256x240.png +0 -0
  827. data/bower_components/jquery-ui/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
  828. data/bower_components/jquery-ui/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
  829. data/bower_components/jquery-ui/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
  830. data/bower_components/jquery-ui/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
  831. data/bower_components/jquery-ui/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
  832. data/bower_components/jquery-ui/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
  833. data/bower_components/jquery-ui/themes/vader/jquery-ui.css +1225 -0
  834. data/bower_components/jquery-ui/themes/vader/jquery-ui.min.css +7 -0
  835. data/bower_components/jquery-ui/themes/vader/theme.css +410 -0
  836. data/bower_components/jquery-ui/ui/.jshintrc +24 -0
  837. data/bower_components/jquery-ui/ui/accordion.js +575 -0
  838. data/bower_components/jquery-ui/ui/autocomplete.js +626 -0
  839. data/bower_components/jquery-ui/ui/button.js +411 -0
  840. data/bower_components/jquery-ui/ui/core.js +303 -0
  841. data/bower_components/jquery-ui/ui/datepicker.js +2073 -0
  842. data/bower_components/jquery-ui/ui/dialog.js +858 -0
  843. data/bower_components/jquery-ui/ui/draggable.js +1016 -0
  844. data/bower_components/jquery-ui/ui/droppable.js +416 -0
  845. data/bower_components/jquery-ui/ui/effect-blind.js +90 -0
  846. data/bower_components/jquery-ui/ui/effect-bounce.js +123 -0
  847. data/bower_components/jquery-ui/ui/effect-clip.js +77 -0
  848. data/bower_components/jquery-ui/ui/effect-drop.js +75 -0
  849. data/bower_components/jquery-ui/ui/effect-explode.js +107 -0
  850. data/bower_components/jquery-ui/ui/effect-fade.js +40 -0
  851. data/bower_components/jquery-ui/ui/effect-fold.js +86 -0
  852. data/bower_components/jquery-ui/ui/effect-highlight.js +60 -0
  853. data/bower_components/jquery-ui/ui/effect-puff.js +60 -0
  854. data/bower_components/jquery-ui/ui/effect-pulsate.js +73 -0
  855. data/bower_components/jquery-ui/ui/effect-scale.js +89 -0
  856. data/bower_components/jquery-ui/ui/effect-shake.js +84 -0
  857. data/bower_components/jquery-ui/ui/effect-size.js +233 -0
  858. data/bower_components/jquery-ui/ui/effect-slide.js +74 -0
  859. data/bower_components/jquery-ui/ui/effect-transfer.js +57 -0
  860. data/bower_components/jquery-ui/ui/effect.js +1297 -0
  861. data/bower_components/jquery-ui/ui/i18n/datepicker-af.js +37 -0
  862. data/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js +37 -0
  863. data/bower_components/jquery-ui/ui/i18n/datepicker-ar.js +37 -0
  864. data/bower_components/jquery-ui/ui/i18n/datepicker-az.js +37 -0
  865. data/bower_components/jquery-ui/ui/i18n/datepicker-be.js +37 -0
  866. data/bower_components/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
  867. data/bower_components/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
  868. data/bower_components/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
  869. data/bower_components/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
  870. data/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js +37 -0
  871. data/bower_components/jquery-ui/ui/i18n/datepicker-da.js +37 -0
  872. data/bower_components/jquery-ui/ui/i18n/datepicker-de.js +37 -0
  873. data/bower_components/jquery-ui/ui/i18n/datepicker-el.js +37 -0
  874. data/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
  875. data/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
  876. data/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
  877. data/bower_components/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
  878. data/bower_components/jquery-ui/ui/i18n/datepicker-es.js +37 -0
  879. data/bower_components/jquery-ui/ui/i18n/datepicker-et.js +37 -0
  880. data/bower_components/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
  881. data/bower_components/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
  882. data/bower_components/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
  883. data/bower_components/jquery-ui/ui/i18n/datepicker-fo.js +37 -0
  884. data/bower_components/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
  885. data/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
  886. data/bower_components/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
  887. data/bower_components/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
  888. data/bower_components/jquery-ui/ui/i18n/datepicker-he.js +37 -0
  889. data/bower_components/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
  890. data/bower_components/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
  891. data/bower_components/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
  892. data/bower_components/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
  893. data/bower_components/jquery-ui/ui/i18n/datepicker-id.js +37 -0
  894. data/bower_components/jquery-ui/ui/i18n/datepicker-is.js +37 -0
  895. data/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
  896. data/bower_components/jquery-ui/ui/i18n/datepicker-it.js +37 -0
  897. data/bower_components/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
  898. data/bower_components/jquery-ui/ui/i18n/datepicker-ka.js +35 -0
  899. data/bower_components/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
  900. data/bower_components/jquery-ui/ui/i18n/datepicker-km.js +37 -0
  901. data/bower_components/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
  902. data/bower_components/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
  903. data/bower_components/jquery-ui/ui/i18n/datepicker-lb.js +37 -0
  904. data/bower_components/jquery-ui/ui/i18n/datepicker-lt.js +37 -0
  905. data/bower_components/jquery-ui/ui/i18n/datepicker-lv.js +37 -0
  906. data/bower_components/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
  907. data/bower_components/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
  908. data/bower_components/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
  909. data/bower_components/jquery-ui/ui/i18n/datepicker-nb.js +36 -0
  910. data/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
  911. data/bower_components/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
  912. data/bower_components/jquery-ui/ui/i18n/datepicker-nn.js +36 -0
  913. data/bower_components/jquery-ui/ui/i18n/datepicker-no.js +37 -0
  914. data/bower_components/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
  915. data/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js +37 -0
  916. data/bower_components/jquery-ui/ui/i18n/datepicker-pt.js +36 -0
  917. data/bower_components/jquery-ui/ui/i18n/datepicker-rm.js +35 -0
  918. data/bower_components/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
  919. data/bower_components/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
  920. data/bower_components/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
  921. data/bower_components/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
  922. data/bower_components/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
  923. data/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
  924. data/bower_components/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
  925. data/bower_components/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
  926. data/bower_components/jquery-ui/ui/i18n/datepicker-ta.js +37 -0
  927. data/bower_components/jquery-ui/ui/i18n/datepicker-th.js +37 -0
  928. data/bower_components/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
  929. data/bower_components/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
  930. data/bower_components/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
  931. data/bower_components/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
  932. data/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
  933. data/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
  934. data/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
  935. data/bower_components/jquery-ui/ui/menu.js +640 -0
  936. data/bower_components/jquery-ui/ui/minified/accordion.min.js +4 -0
  937. data/bower_components/jquery-ui/ui/minified/autocomplete.min.js +4 -0
  938. data/bower_components/jquery-ui/ui/minified/button.min.js +4 -0
  939. data/bower_components/jquery-ui/ui/minified/core.min.js +4 -0
  940. data/bower_components/jquery-ui/ui/minified/datepicker.min.js +5 -0
  941. data/bower_components/jquery-ui/ui/minified/dialog.min.js +4 -0
  942. data/bower_components/jquery-ui/ui/minified/draggable.min.js +4 -0
  943. data/bower_components/jquery-ui/ui/minified/droppable.min.js +4 -0
  944. data/bower_components/jquery-ui/ui/minified/effect-blind.min.js +4 -0
  945. data/bower_components/jquery-ui/ui/minified/effect-bounce.min.js +4 -0
  946. data/bower_components/jquery-ui/ui/minified/effect-clip.min.js +4 -0
  947. data/bower_components/jquery-ui/ui/minified/effect-drop.min.js +4 -0
  948. data/bower_components/jquery-ui/ui/minified/effect-explode.min.js +4 -0
  949. data/bower_components/jquery-ui/ui/minified/effect-fade.min.js +4 -0
  950. data/bower_components/jquery-ui/ui/minified/effect-fold.min.js +4 -0
  951. data/bower_components/jquery-ui/ui/minified/effect-highlight.min.js +4 -0
  952. data/bower_components/jquery-ui/ui/minified/effect-puff.min.js +4 -0
  953. data/bower_components/jquery-ui/ui/minified/effect-pulsate.min.js +4 -0
  954. data/bower_components/jquery-ui/ui/minified/effect-scale.min.js +4 -0
  955. data/bower_components/jquery-ui/ui/minified/effect-shake.min.js +4 -0
  956. data/bower_components/jquery-ui/ui/minified/effect-size.min.js +4 -0
  957. data/bower_components/jquery-ui/ui/minified/effect-slide.min.js +4 -0
  958. data/bower_components/jquery-ui/ui/minified/effect-transfer.min.js +4 -0
  959. data/bower_components/jquery-ui/ui/minified/effect.min.js +4 -0
  960. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-af.min.js +4 -0
  961. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.min.js +4 -0
  962. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar.min.js +4 -0
  963. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-az.min.js +4 -0
  964. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-be.min.js +4 -0
  965. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-bg.min.js +4 -0
  966. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-bs.min.js +4 -0
  967. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ca.min.js +4 -0
  968. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-cs.min.js +4 -0
  969. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.min.js +4 -0
  970. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-da.min.js +4 -0
  971. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-de.min.js +4 -0
  972. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-el.min.js +4 -0
  973. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-AU.min.js +4 -0
  974. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-GB.min.js +4 -0
  975. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.min.js +4 -0
  976. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-eo.min.js +4 -0
  977. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-es.min.js +4 -0
  978. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-et.min.js +4 -0
  979. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-eu.min.js +4 -0
  980. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fa.min.js +4 -0
  981. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fi.min.js +4 -0
  982. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fo.min.js +4 -0
  983. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.min.js +4 -0
  984. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.min.js +4 -0
  985. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr.min.js +4 -0
  986. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-gl.min.js +4 -0
  987. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-he.min.js +4 -0
  988. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hi.min.js +4 -0
  989. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hr.min.js +4 -0
  990. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hu.min.js +4 -0
  991. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hy.min.js +4 -0
  992. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-id.min.js +4 -0
  993. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-is.min.js +4 -0
  994. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-it-CH.min.js +4 -0
  995. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-it.min.js +4 -0
  996. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ja.min.js +4 -0
  997. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ka.min.js +4 -0
  998. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-kk.min.js +4 -0
  999. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-km.min.js +4 -0
  1000. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ko.min.js +4 -0
  1001. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ky.min.js +4 -0
  1002. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lb.min.js +4 -0
  1003. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lt.min.js +4 -0
  1004. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lv.min.js +4 -0
  1005. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-mk.min.js +4 -0
  1006. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ml.min.js +4 -0
  1007. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ms.min.js +4 -0
  1008. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nb.min.js +4 -0
  1009. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.min.js +4 -0
  1010. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl.min.js +4 -0
  1011. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nn.min.js +4 -0
  1012. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-no.min.js +4 -0
  1013. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pl.min.js +4 -0
  1014. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.min.js +4 -0
  1015. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt.min.js +4 -0
  1016. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-rm.min.js +4 -0
  1017. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ro.min.js +4 -0
  1018. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ru.min.js +4 -0
  1019. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sk.min.js +4 -0
  1020. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sl.min.js +4 -0
  1021. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sq.min.js +4 -0
  1022. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.min.js +4 -0
  1023. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr.min.js +4 -0
  1024. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sv.min.js +4 -0
  1025. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ta.min.js +4 -0
  1026. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-th.min.js +4 -0
  1027. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-tj.min.js +4 -0
  1028. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-tr.min.js +4 -0
  1029. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-uk.min.js +4 -0
  1030. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-vi.min.js +4 -0
  1031. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.min.js +4 -0
  1032. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.min.js +4 -0
  1033. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.min.js +4 -0
  1034. data/bower_components/jquery-ui/ui/minified/menu.min.js +4 -0
  1035. data/bower_components/jquery-ui/ui/minified/mouse.min.js +4 -0
  1036. data/bower_components/jquery-ui/ui/minified/position.min.js +4 -0
  1037. data/bower_components/jquery-ui/ui/minified/progressbar.min.js +4 -0
  1038. data/bower_components/jquery-ui/ui/minified/resizable.min.js +4 -0
  1039. data/bower_components/jquery-ui/ui/minified/selectable.min.js +4 -0
  1040. data/bower_components/jquery-ui/ui/minified/selectmenu.min.js +4 -0
  1041. data/bower_components/jquery-ui/ui/minified/slider.min.js +4 -0
  1042. data/bower_components/jquery-ui/ui/minified/sortable.min.js +4 -0
  1043. data/bower_components/jquery-ui/ui/minified/spinner.min.js +4 -0
  1044. data/bower_components/jquery-ui/ui/minified/tabs.min.js +4 -0
  1045. data/bower_components/jquery-ui/ui/minified/tooltip.min.js +4 -0
  1046. data/bower_components/jquery-ui/ui/minified/widget.min.js +4 -0
  1047. data/bower_components/jquery-ui/ui/mouse.js +187 -0
  1048. data/bower_components/jquery-ui/ui/position.js +514 -0
  1049. data/bower_components/jquery-ui/ui/progressbar.js +159 -0
  1050. data/bower_components/jquery-ui/ui/resizable.js +1028 -0
  1051. data/bower_components/jquery-ui/ui/selectable.js +287 -0
  1052. data/bower_components/jquery-ui/ui/selectmenu.js +555 -0
  1053. data/bower_components/jquery-ui/ui/slider.js +688 -0
  1054. data/bower_components/jquery-ui/ui/sortable.js +1310 -0
  1055. data/bower_components/jquery-ui/ui/spinner.js +514 -0
  1056. data/bower_components/jquery-ui/ui/tabs.js +866 -0
  1057. data/bower_components/jquery-ui/ui/tooltip.js +444 -0
  1058. data/bower_components/jquery-ui/ui/widget.js +543 -0
  1059. data/bower_components/jquery.cookie/.bower.json +28 -0
  1060. data/bower_components/jquery.cookie/jquery.cookie.js +117 -0
  1061. data/bower_components/modernizr/.bower.json +14 -0
  1062. data/bower_components/modernizr/.editorconfig +10 -0
  1063. data/bower_components/modernizr/.gitignore +2 -0
  1064. data/bower_components/modernizr/.travis.yml +6 -0
  1065. data/bower_components/modernizr/feature-detects/a-download.js +8 -0
  1066. data/bower_components/modernizr/feature-detects/audio-audiodata-api.js +4 -0
  1067. data/bower_components/modernizr/feature-detects/audio-webaudio-api.js +4 -0
  1068. data/bower_components/modernizr/feature-detects/battery-api.js +8 -0
  1069. data/bower_components/modernizr/feature-detects/battery-level.js +11 -0
  1070. data/bower_components/modernizr/feature-detects/blob-constructor.js +10 -0
  1071. data/bower_components/modernizr/feature-detects/canvas-todataurl-type.js +28 -0
  1072. data/bower_components/modernizr/feature-detects/contenteditable.js +9 -0
  1073. data/bower_components/modernizr/feature-detects/contentsecuritypolicy.js +10 -0
  1074. data/bower_components/modernizr/feature-detects/contextmenu.js +11 -0
  1075. data/bower_components/modernizr/feature-detects/cookies.js +15 -0
  1076. data/bower_components/modernizr/feature-detects/cors.js +3 -0
  1077. data/bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js +19 -0
  1078. data/bower_components/modernizr/feature-detects/css-backgroundposition-xy.js +15 -0
  1079. data/bower_components/modernizr/feature-detects/css-backgroundrepeat.js +31 -0
  1080. data/bower_components/modernizr/feature-detects/css-backgroundsizecover.js +10 -0
  1081. data/bower_components/modernizr/feature-detects/css-boxsizing.js +9 -0
  1082. data/bower_components/modernizr/feature-detects/css-calc.js +12 -0
  1083. data/bower_components/modernizr/feature-detects/css-cubicbezierrange.js +8 -0
  1084. data/bower_components/modernizr/feature-detects/css-displayrunin.js +18 -0
  1085. data/bower_components/modernizr/feature-detects/css-displaytable.js +27 -0
  1086. data/bower_components/modernizr/feature-detects/css-filters.js +7 -0
  1087. data/bower_components/modernizr/feature-detects/css-hyphens.js +205 -0
  1088. data/bower_components/modernizr/feature-detects/css-lastchild.js +11 -0
  1089. data/bower_components/modernizr/feature-detects/css-mask.js +12 -0
  1090. data/bower_components/modernizr/feature-detects/css-mediaqueries.js +3 -0
  1091. data/bower_components/modernizr/feature-detects/css-objectfit.js +6 -0
  1092. data/bower_components/modernizr/feature-detects/css-overflow-scrolling.js +9 -0
  1093. data/bower_components/modernizr/feature-detects/css-pointerevents.js +25 -0
  1094. data/bower_components/modernizr/feature-detects/css-positionsticky.js +13 -0
  1095. data/bower_components/modernizr/feature-detects/css-regions.js +55 -0
  1096. data/bower_components/modernizr/feature-detects/css-remunit.js +19 -0
  1097. data/bower_components/modernizr/feature-detects/css-resize.js +8 -0
  1098. data/bower_components/modernizr/feature-detects/css-scrollbars.js +19 -0
  1099. data/bower_components/modernizr/feature-detects/css-shapes.js +4 -0
  1100. data/bower_components/modernizr/feature-detects/css-subpixelfont.js +23 -0
  1101. data/bower_components/modernizr/feature-detects/css-supports.js +6 -0
  1102. data/bower_components/modernizr/feature-detects/css-userselect.js +10 -0
  1103. data/bower_components/modernizr/feature-detects/css-vhunit.js +14 -0
  1104. data/bower_components/modernizr/feature-detects/css-vmaxunit.js +14 -0
  1105. data/bower_components/modernizr/feature-detects/css-vminunit.js +14 -0
  1106. data/bower_components/modernizr/feature-detects/css-vwunit.js +14 -0
  1107. data/bower_components/modernizr/feature-detects/custom-protocol-handler.js +10 -0
  1108. data/bower_components/modernizr/feature-detects/dart.js +6 -0
  1109. data/bower_components/modernizr/feature-detects/dataview-api.js +4 -0
  1110. data/bower_components/modernizr/feature-detects/dom-classlist.js +4 -0
  1111. data/bower_components/modernizr/feature-detects/dom-createElement-attrs.js +11 -0
  1112. data/bower_components/modernizr/feature-detects/dom-dataset.js +9 -0
  1113. data/bower_components/modernizr/feature-detects/dom-microdata.js +4 -0
  1114. data/bower_components/modernizr/feature-detects/elem-datalist.js +12 -0
  1115. data/bower_components/modernizr/feature-detects/elem-details.js +25 -0
  1116. data/bower_components/modernizr/feature-detects/elem-output.js +4 -0
  1117. data/bower_components/modernizr/feature-detects/elem-progress-meter.js +11 -0
  1118. data/bower_components/modernizr/feature-detects/elem-ruby.js +53 -0
  1119. data/bower_components/modernizr/feature-detects/elem-time.js +4 -0
  1120. data/bower_components/modernizr/feature-detects/elem-track.js +11 -0
  1121. data/bower_components/modernizr/feature-detects/emoji.js +11 -0
  1122. data/bower_components/modernizr/feature-detects/es5-strictmode.js +7 -0
  1123. data/bower_components/modernizr/feature-detects/event-deviceorientation-motion.js +11 -0
  1124. data/bower_components/modernizr/feature-detects/exif-orientation.js +32 -0
  1125. data/bower_components/modernizr/feature-detects/file-api.js +12 -0
  1126. data/bower_components/modernizr/feature-detects/file-filesystem.js +9 -0
  1127. data/bower_components/modernizr/feature-detects/forms-fileinput.js +13 -0
  1128. data/bower_components/modernizr/feature-detects/forms-formattribute.js +29 -0
  1129. data/bower_components/modernizr/feature-detects/forms-inputnumber-l10n.js +32 -0
  1130. data/bower_components/modernizr/feature-detects/forms-placeholder.js +10 -0
  1131. data/bower_components/modernizr/feature-detects/forms-speechinput.js +19 -0
  1132. data/bower_components/modernizr/feature-detects/forms-validation.js +62 -0
  1133. data/bower_components/modernizr/feature-detects/fullscreen-api.js +10 -0
  1134. data/bower_components/modernizr/feature-detects/gamepad.js +12 -0
  1135. data/bower_components/modernizr/feature-detects/getusermedia.js +5 -0
  1136. data/bower_components/modernizr/feature-detects/ie8compat.js +12 -0
  1137. data/bower_components/modernizr/feature-detects/iframe-sandbox.js +5 -0
  1138. data/bower_components/modernizr/feature-detects/iframe-seamless.js +5 -0
  1139. data/bower_components/modernizr/feature-detects/iframe-srcdoc.js +5 -0
  1140. data/bower_components/modernizr/feature-detects/img-apng.js +26 -0
  1141. data/bower_components/modernizr/feature-detects/img-webp.js +20 -0
  1142. data/bower_components/modernizr/feature-detects/json.js +7 -0
  1143. data/bower_components/modernizr/feature-detects/lists-reversed.js +6 -0
  1144. data/bower_components/modernizr/feature-detects/mathml.js +23 -0
  1145. data/bower_components/modernizr/feature-detects/network-connection.js +22 -0
  1146. data/bower_components/modernizr/feature-detects/network-eventsource.js +5 -0
  1147. data/bower_components/modernizr/feature-detects/network-xhr2.js +13 -0
  1148. data/bower_components/modernizr/feature-detects/notification.js +10 -0
  1149. data/bower_components/modernizr/feature-detects/performance.js +5 -0
  1150. data/bower_components/modernizr/feature-detects/pointerlock-api.js +4 -0
  1151. data/bower_components/modernizr/feature-detects/quota-management-api.js +11 -0
  1152. data/bower_components/modernizr/feature-detects/requestanimationframe.js +7 -0
  1153. data/bower_components/modernizr/feature-detects/script-async.js +3 -0
  1154. data/bower_components/modernizr/feature-detects/script-defer.js +3 -0
  1155. data/bower_components/modernizr/feature-detects/style-scoped.js +6 -0
  1156. data/bower_components/modernizr/feature-detects/svg-filters.js +13 -0
  1157. data/bower_components/modernizr/feature-detects/unicode.js +32 -0
  1158. data/bower_components/modernizr/feature-detects/url-data-uri.js +26 -0
  1159. data/bower_components/modernizr/feature-detects/userdata.js +7 -0
  1160. data/bower_components/modernizr/feature-detects/vibration.js +4 -0
  1161. data/bower_components/modernizr/feature-detects/web-intents.js +6 -0
  1162. data/bower_components/modernizr/feature-detects/webgl-extensions.js +42 -0
  1163. data/bower_components/modernizr/feature-detects/websockets-binary.js +20 -0
  1164. data/bower_components/modernizr/feature-detects/window-framed.js +8 -0
  1165. data/bower_components/modernizr/feature-detects/workers-blobworkers.js +66 -0
  1166. data/bower_components/modernizr/feature-detects/workers-dataworkers.js +34 -0
  1167. data/bower_components/modernizr/feature-detects/workers-sharedworkers.js +3 -0
  1168. data/bower_components/modernizr/grunt.js +69 -0
  1169. data/bower_components/modernizr/media/Modernizr 2 Logo.ai +292 -1
  1170. data/bower_components/modernizr/media/Modernizr 2 Logo.eps +0 -0
  1171. data/bower_components/modernizr/media/Modernizr 2 Logo.pdf +292 -1
  1172. data/bower_components/modernizr/media/Modernizr 2 Logo.png +0 -0
  1173. data/bower_components/modernizr/media/Modernizr 2 Logo.svg +35 -0
  1174. data/bower_components/modernizr/modernizr.js +1406 -0
  1175. data/bower_components/modernizr/readme.md +28 -0
  1176. data/bower_components/modernizr/test/basic.html +65 -0
  1177. data/bower_components/modernizr/test/caniuse.html +1451 -0
  1178. data/bower_components/modernizr/test/caniuse_files/Windsong-webfont.eot +0 -0
  1179. data/bower_components/modernizr/test/caniuse_files/Windsong-webfont.otf +0 -0
  1180. data/bower_components/modernizr/test/caniuse_files/Windsong-webfont.svg +147 -0
  1181. data/bower_components/modernizr/test/caniuse_files/Windsong-webfont.ttf +0 -0
  1182. data/bower_components/modernizr/test/caniuse_files/Windsong-webfont.woff +0 -0
  1183. data/bower_components/modernizr/test/caniuse_files/alpha.png +0 -0
  1184. data/bower_components/modernizr/test/caniuse_files/apng_test.png +0 -0
  1185. data/bower_components/modernizr/test/caniuse_files/before-after.png +0 -0
  1186. data/bower_components/modernizr/test/caniuse_files/form_validation.html +15 -0
  1187. data/bower_components/modernizr/test/caniuse_files/ga.js +43 -0
  1188. data/bower_components/modernizr/test/caniuse_files/green5x5.png +0 -0
  1189. data/bower_components/modernizr/test/caniuse_files/hashchange.html +16 -0
  1190. data/bower_components/modernizr/test/caniuse_files/jquery.min.js +18 -0
  1191. data/bower_components/modernizr/test/caniuse_files/mathml.html +120 -0
  1192. data/bower_components/modernizr/test/caniuse_files/mathml_ref.png +0 -0
  1193. data/bower_components/modernizr/test/caniuse_files/modernizr-1.7.min.js +2 -0
  1194. data/bower_components/modernizr/test/caniuse_files/png_alpha_result.png +0 -0
  1195. data/bower_components/modernizr/test/caniuse_files/pushstate.html +40 -0
  1196. data/bower_components/modernizr/test/caniuse_files/red30x30.png +0 -0
  1197. data/bower_components/modernizr/test/caniuse_files/ruby.png +0 -0
  1198. data/bower_components/modernizr/test/caniuse_files/stroked-text.png +0 -0
  1199. data/bower_components/modernizr/test/caniuse_files/style.css +168 -0
  1200. data/bower_components/modernizr/test/caniuse_files/svg-html-blur.png +0 -0
  1201. data/bower_components/modernizr/test/caniuse_files/svg-img.svg +5 -0
  1202. data/bower_components/modernizr/test/caniuse_files/svg-img.svg.1 +5 -0
  1203. data/bower_components/modernizr/test/caniuse_files/svg_blur.png +0 -0
  1204. data/bower_components/modernizr/test/caniuse_files/table.png +0 -0
  1205. data/bower_components/modernizr/test/caniuse_files/text-shadow1.png +0 -0
  1206. data/bower_components/modernizr/test/caniuse_files/text-shadow2.png +0 -0
  1207. data/bower_components/modernizr/test/caniuse_files/windsong_font.png +0 -0
  1208. data/bower_components/modernizr/test/caniuse_files/xhtml.html +14 -0
  1209. data/bower_components/modernizr/test/index.html +104 -0
  1210. data/bower_components/modernizr/test/js/basic.html +65 -0
  1211. data/bower_components/modernizr/test/js/dumpdata.js +75 -0
  1212. data/bower_components/modernizr/test/js/lib/detect-global.js +153 -0
  1213. data/bower_components/modernizr/test/js/lib/jquery-1.7b2.js +9279 -0
  1214. data/bower_components/modernizr/test/js/lib/jsonselect.js +279 -0
  1215. data/bower_components/modernizr/test/js/lib/polyfills.js +96 -0
  1216. data/bower_components/modernizr/test/js/lib/uaparser.js +215 -0
  1217. data/bower_components/modernizr/test/js/setup.js +44 -0
  1218. data/bower_components/modernizr/test/js/unit-caniuse.js +191 -0
  1219. data/bower_components/modernizr/test/js/unit.js +669 -0
  1220. data/bower_components/modernizr/test/qunit/qunit.css +231 -0
  1221. data/bower_components/modernizr/test/qunit/qunit.js +1932 -0
  1222. data/bower_components/modernizr/test/qunit/run-qunit.js +72 -0
  1223. data/bower_components/underscore/.bower.json +33 -0
  1224. data/bower_components/underscore/.editorconfig +14 -0
  1225. data/bower_components/underscore/.gitignore +2 -0
  1226. data/bower_components/underscore/LICENSE +23 -0
  1227. data/bower_components/underscore/README.md +22 -0
  1228. data/bower_components/underscore/bower.json +8 -0
  1229. data/bower_components/underscore/component.json +10 -0
  1230. data/bower_components/underscore/package.json +27 -0
  1231. data/bower_components/underscore/underscore.js +1343 -0
  1232. data/lib/rubyneat_dashboard/bower_dsl.rb +94 -0
  1233. data/lib/rubyneat_dashboard/main.rb +70 -0
  1234. data/lib/rubyneat_dashboard/overview_rest.rb +43 -0
  1235. data/lib/rubyneat_dashboard/reporting.rb +19 -0
  1236. data/lib/rubyneat_dashboard/rubyneat_dsl.rb +43 -0
  1237. data/lib/rubyneat_dashboard/stream_helpers.rb +14 -0
  1238. data/lib/rubyneat_dashboard.rb +93 -0
  1239. data/rubyneat_dashboard.gemspec +1339 -0
  1240. data/spec/rubyneat_dashboard_spec.rb +5 -0
  1241. data/spec/spec_helper.rb +32 -0
  1242. data/views/critters.haml +1 -0
  1243. data/views/home.haml +35 -0
  1244. data/views/layout.haml +46 -0
  1245. data/views/overview.haml +6 -0
  1246. data/views/population/general.haml +6 -0
  1247. data/views/population/home.haml +28 -0
  1248. data/views/population/speciation.haml +1 -0
  1249. metadata +1545 -0
@@ -0,0 +1,1689 @@
1
+ /**
2
+ * @license AngularJS v1.2.21
3
+ * (c) 2010-2014 Google, Inc. http://angularjs.org
4
+ * License: MIT
5
+ */
6
+ (function(window, angular, undefined) {'use strict';
7
+
8
+ /* jshint maxlen: false */
9
+
10
+ /**
11
+ * @ngdoc module
12
+ * @name ngAnimate
13
+ * @description
14
+ *
15
+ * # ngAnimate
16
+ *
17
+ * The `ngAnimate` module provides support for JavaScript, CSS3 transition and CSS3 keyframe animation hooks within existing core and custom directives.
18
+ *
19
+ *
20
+ * <div doc-module-components="ngAnimate"></div>
21
+ *
22
+ * # Usage
23
+ *
24
+ * To see animations in action, all that is required is to define the appropriate CSS classes
25
+ * or to register a JavaScript animation via the myModule.animation() function. The directives that support animation automatically are:
26
+ * `ngRepeat`, `ngInclude`, `ngIf`, `ngSwitch`, `ngShow`, `ngHide`, `ngView` and `ngClass`. Custom directives can take advantage of animation
27
+ * by using the `$animate` service.
28
+ *
29
+ * Below is a more detailed breakdown of the supported animation events provided by pre-existing ng directives:
30
+ *
31
+ * | Directive | Supported Animations |
32
+ * |---------------------------------------------------------- |----------------------------------------------------|
33
+ * | {@link ng.directive:ngRepeat#usage_animations ngRepeat} | enter, leave and move |
34
+ * | {@link ngRoute.directive:ngView#usage_animations ngView} | enter and leave |
35
+ * | {@link ng.directive:ngInclude#usage_animations ngInclude} | enter and leave |
36
+ * | {@link ng.directive:ngSwitch#usage_animations ngSwitch} | enter and leave |
37
+ * | {@link ng.directive:ngIf#usage_animations ngIf} | enter and leave |
38
+ * | {@link ng.directive:ngClass#usage_animations ngClass} | add and remove |
39
+ * | {@link ng.directive:ngShow#usage_animations ngShow & ngHide} | add and remove (the ng-hide class value) |
40
+ * | {@link ng.directive:form#usage_animations form} | add and remove (dirty, pristine, valid, invalid & all other validations) |
41
+ * | {@link ng.directive:ngModel#usage_animations ngModel} | add and remove (dirty, pristine, valid, invalid & all other validations) |
42
+ *
43
+ * You can find out more information about animations upon visiting each directive page.
44
+ *
45
+ * Below is an example of how to apply animations to a directive that supports animation hooks:
46
+ *
47
+ * ```html
48
+ * <style type="text/css">
49
+ * .slide.ng-enter, .slide.ng-leave {
50
+ * -webkit-transition:0.5s linear all;
51
+ * transition:0.5s linear all;
52
+ * }
53
+ *
54
+ * .slide.ng-enter { } /&#42; starting animations for enter &#42;/
55
+ * .slide.ng-enter.ng-enter-active { } /&#42; terminal animations for enter &#42;/
56
+ * .slide.ng-leave { } /&#42; starting animations for leave &#42;/
57
+ * .slide.ng-leave.ng-leave-active { } /&#42; terminal animations for leave &#42;/
58
+ * </style>
59
+ *
60
+ * <!--
61
+ * the animate service will automatically add .ng-enter and .ng-leave to the element
62
+ * to trigger the CSS transition/animations
63
+ * -->
64
+ * <ANY class="slide" ng-include="..."></ANY>
65
+ * ```
66
+ *
67
+ * Keep in mind that, by default, if an animation is running, any child elements cannot be animated
68
+ * until the parent element's animation has completed. This blocking feature can be overridden by
69
+ * placing the `ng-animate-children` attribute on a parent container tag.
70
+ *
71
+ * ```html
72
+ * <div class="slide-animation" ng-if="on" ng-animate-children>
73
+ * <div class="fade-animation" ng-if="on">
74
+ * <div class="explode-animation" ng-if="on">
75
+ * ...
76
+ * </div>
77
+ * </div>
78
+ * </div>
79
+ * ```
80
+ *
81
+ * When the `on` expression value changes and an animation is triggered then each of the elements within
82
+ * will all animate without the block being applied to child elements.
83
+ *
84
+ * <h2>CSS-defined Animations</h2>
85
+ * The animate service will automatically apply two CSS classes to the animated element and these two CSS classes
86
+ * are designed to contain the start and end CSS styling. Both CSS transitions and keyframe animations are supported
87
+ * and can be used to play along with this naming structure.
88
+ *
89
+ * The following code below demonstrates how to perform animations using **CSS transitions** with Angular:
90
+ *
91
+ * ```html
92
+ * <style type="text/css">
93
+ * /&#42;
94
+ * The animate class is apart of the element and the ng-enter class
95
+ * is attached to the element once the enter animation event is triggered
96
+ * &#42;/
97
+ * .reveal-animation.ng-enter {
98
+ * -webkit-transition: 1s linear all; /&#42; Safari/Chrome &#42;/
99
+ * transition: 1s linear all; /&#42; All other modern browsers and IE10+ &#42;/
100
+ *
101
+ * /&#42; The animation preparation code &#42;/
102
+ * opacity: 0;
103
+ * }
104
+ *
105
+ * /&#42;
106
+ * Keep in mind that you want to combine both CSS
107
+ * classes together to avoid any CSS-specificity
108
+ * conflicts
109
+ * &#42;/
110
+ * .reveal-animation.ng-enter.ng-enter-active {
111
+ * /&#42; The animation code itself &#42;/
112
+ * opacity: 1;
113
+ * }
114
+ * </style>
115
+ *
116
+ * <div class="view-container">
117
+ * <div ng-view class="reveal-animation"></div>
118
+ * </div>
119
+ * ```
120
+ *
121
+ * The following code below demonstrates how to perform animations using **CSS animations** with Angular:
122
+ *
123
+ * ```html
124
+ * <style type="text/css">
125
+ * .reveal-animation.ng-enter {
126
+ * -webkit-animation: enter_sequence 1s linear; /&#42; Safari/Chrome &#42;/
127
+ * animation: enter_sequence 1s linear; /&#42; IE10+ and Future Browsers &#42;/
128
+ * }
129
+ * @-webkit-keyframes enter_sequence {
130
+ * from { opacity:0; }
131
+ * to { opacity:1; }
132
+ * }
133
+ * @keyframes enter_sequence {
134
+ * from { opacity:0; }
135
+ * to { opacity:1; }
136
+ * }
137
+ * </style>
138
+ *
139
+ * <div class="view-container">
140
+ * <div ng-view class="reveal-animation"></div>
141
+ * </div>
142
+ * ```
143
+ *
144
+ * Both CSS3 animations and transitions can be used together and the animate service will figure out the correct duration and delay timing.
145
+ *
146
+ * Upon DOM mutation, the event class is added first (something like `ng-enter`), then the browser prepares itself to add
147
+ * the active class (in this case `ng-enter-active`) which then triggers the animation. The animation module will automatically
148
+ * detect the CSS code to determine when the animation ends. Once the animation is over then both CSS classes will be
149
+ * removed from the DOM. If a browser does not support CSS transitions or CSS animations then the animation will start and end
150
+ * immediately resulting in a DOM element that is at its final state. This final state is when the DOM element
151
+ * has no CSS transition/animation classes applied to it.
152
+ *
153
+ * <h3>CSS Staggering Animations</h3>
154
+ * A Staggering animation is a collection of animations that are issued with a slight delay in between each successive operation resulting in a
155
+ * curtain-like effect. The ngAnimate module, as of 1.2.0, supports staggering animations and the stagger effect can be
156
+ * performed by creating a **ng-EVENT-stagger** CSS class and attaching that class to the base CSS class used for
157
+ * the animation. The style property expected within the stagger class can either be a **transition-delay** or an
158
+ * **animation-delay** property (or both if your animation contains both transitions and keyframe animations).
159
+ *
160
+ * ```css
161
+ * .my-animation.ng-enter {
162
+ * /&#42; standard transition code &#42;/
163
+ * -webkit-transition: 1s linear all;
164
+ * transition: 1s linear all;
165
+ * opacity:0;
166
+ * }
167
+ * .my-animation.ng-enter-stagger {
168
+ * /&#42; this will have a 100ms delay between each successive leave animation &#42;/
169
+ * -webkit-transition-delay: 0.1s;
170
+ * transition-delay: 0.1s;
171
+ *
172
+ * /&#42; in case the stagger doesn't work then these two values
173
+ * must be set to 0 to avoid an accidental CSS inheritance &#42;/
174
+ * -webkit-transition-duration: 0s;
175
+ * transition-duration: 0s;
176
+ * }
177
+ * .my-animation.ng-enter.ng-enter-active {
178
+ * /&#42; standard transition styles &#42;/
179
+ * opacity:1;
180
+ * }
181
+ * ```
182
+ *
183
+ * Staggering animations work by default in ngRepeat (so long as the CSS class is defined). Outside of ngRepeat, to use staggering animations
184
+ * on your own, they can be triggered by firing multiple calls to the same event on $animate. However, the restrictions surrounding this
185
+ * are that each of the elements must have the same CSS className value as well as the same parent element. A stagger operation
186
+ * will also be reset if more than 10ms has passed after the last animation has been fired.
187
+ *
188
+ * The following code will issue the **ng-leave-stagger** event on the element provided:
189
+ *
190
+ * ```js
191
+ * var kids = parent.children();
192
+ *
193
+ * $animate.leave(kids[0]); //stagger index=0
194
+ * $animate.leave(kids[1]); //stagger index=1
195
+ * $animate.leave(kids[2]); //stagger index=2
196
+ * $animate.leave(kids[3]); //stagger index=3
197
+ * $animate.leave(kids[4]); //stagger index=4
198
+ *
199
+ * $timeout(function() {
200
+ * //stagger has reset itself
201
+ * $animate.leave(kids[5]); //stagger index=0
202
+ * $animate.leave(kids[6]); //stagger index=1
203
+ * }, 100, false);
204
+ * ```
205
+ *
206
+ * Stagger animations are currently only supported within CSS-defined animations.
207
+ *
208
+ * <h2>JavaScript-defined Animations</h2>
209
+ * In the event that you do not want to use CSS3 transitions or CSS3 animations or if you wish to offer animations on browsers that do not
210
+ * yet support CSS transitions/animations, then you can make use of JavaScript animations defined inside of your AngularJS module.
211
+ *
212
+ * ```js
213
+ * //!annotate="YourApp" Your AngularJS Module|Replace this or ngModule with the module that you used to define your application.
214
+ * var ngModule = angular.module('YourApp', ['ngAnimate']);
215
+ * ngModule.animation('.my-crazy-animation', function() {
216
+ * return {
217
+ * enter: function(element, done) {
218
+ * //run the animation here and call done when the animation is complete
219
+ * return function(cancelled) {
220
+ * //this (optional) function will be called when the animation
221
+ * //completes or when the animation is cancelled (the cancelled
222
+ * //flag will be set to true if cancelled).
223
+ * };
224
+ * },
225
+ * leave: function(element, done) { },
226
+ * move: function(element, done) { },
227
+ *
228
+ * //animation that can be triggered before the class is added
229
+ * beforeAddClass: function(element, className, done) { },
230
+ *
231
+ * //animation that can be triggered after the class is added
232
+ * addClass: function(element, className, done) { },
233
+ *
234
+ * //animation that can be triggered before the class is removed
235
+ * beforeRemoveClass: function(element, className, done) { },
236
+ *
237
+ * //animation that can be triggered after the class is removed
238
+ * removeClass: function(element, className, done) { }
239
+ * };
240
+ * });
241
+ * ```
242
+ *
243
+ * JavaScript-defined animations are created with a CSS-like class selector and a collection of events which are set to run
244
+ * a javascript callback function. When an animation is triggered, $animate will look for a matching animation which fits
245
+ * the element's CSS class attribute value and then run the matching animation event function (if found).
246
+ * In other words, if the CSS classes present on the animated element match any of the JavaScript animations then the callback function will
247
+ * be executed. It should be also noted that only simple, single class selectors are allowed (compound class selectors are not supported).
248
+ *
249
+ * Within a JavaScript animation, an object containing various event callback animation functions is expected to be returned.
250
+ * As explained above, these callbacks are triggered based on the animation event. Therefore if an enter animation is run,
251
+ * and the JavaScript animation is found, then the enter callback will handle that animation (in addition to the CSS keyframe animation
252
+ * or transition code that is defined via a stylesheet).
253
+ *
254
+ */
255
+
256
+ angular.module('ngAnimate', ['ng'])
257
+
258
+ /**
259
+ * @ngdoc provider
260
+ * @name $animateProvider
261
+ * @description
262
+ *
263
+ * The `$animateProvider` allows developers to register JavaScript animation event handlers directly inside of a module.
264
+ * When an animation is triggered, the $animate service will query the $animate service to find any animations that match
265
+ * the provided name value.
266
+ *
267
+ * Requires the {@link ngAnimate `ngAnimate`} module to be installed.
268
+ *
269
+ * Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application.
270
+ *
271
+ */
272
+ .directive('ngAnimateChildren', function() {
273
+ var NG_ANIMATE_CHILDREN = '$$ngAnimateChildren';
274
+ return function(scope, element, attrs) {
275
+ var val = attrs.ngAnimateChildren;
276
+ if(angular.isString(val) && val.length === 0) { //empty attribute
277
+ element.data(NG_ANIMATE_CHILDREN, true);
278
+ } else {
279
+ scope.$watch(val, function(value) {
280
+ element.data(NG_ANIMATE_CHILDREN, !!value);
281
+ });
282
+ }
283
+ };
284
+ })
285
+
286
+ //this private service is only used within CSS-enabled animations
287
+ //IE8 + IE9 do not support rAF natively, but that is fine since they
288
+ //also don't support transitions and keyframes which means that the code
289
+ //below will never be used by the two browsers.
290
+ .factory('$$animateReflow', ['$$rAF', '$document', function($$rAF, $document) {
291
+ var bod = $document[0].body;
292
+ return function(fn) {
293
+ //the returned function acts as the cancellation function
294
+ return $$rAF(function() {
295
+ //the line below will force the browser to perform a repaint
296
+ //so that all the animated elements within the animation frame
297
+ //will be properly updated and drawn on screen. This is
298
+ //required to perform multi-class CSS based animations with
299
+ //Firefox. DO NOT REMOVE THIS LINE.
300
+ var a = bod.offsetWidth + 1;
301
+ fn();
302
+ });
303
+ };
304
+ }])
305
+
306
+ .config(['$provide', '$animateProvider', function($provide, $animateProvider) {
307
+ var noop = angular.noop;
308
+ var forEach = angular.forEach;
309
+ var selectors = $animateProvider.$$selectors;
310
+
311
+ var ELEMENT_NODE = 1;
312
+ var NG_ANIMATE_STATE = '$$ngAnimateState';
313
+ var NG_ANIMATE_CHILDREN = '$$ngAnimateChildren';
314
+ var NG_ANIMATE_CLASS_NAME = 'ng-animate';
315
+ var rootAnimateState = {running: true};
316
+
317
+ function extractElementNode(element) {
318
+ for(var i = 0; i < element.length; i++) {
319
+ var elm = element[i];
320
+ if(elm.nodeType == ELEMENT_NODE) {
321
+ return elm;
322
+ }
323
+ }
324
+ }
325
+
326
+ function prepareElement(element) {
327
+ return element && angular.element(element);
328
+ }
329
+
330
+ function stripCommentsFromElement(element) {
331
+ return angular.element(extractElementNode(element));
332
+ }
333
+
334
+ function isMatchingElement(elm1, elm2) {
335
+ return extractElementNode(elm1) == extractElementNode(elm2);
336
+ }
337
+
338
+ $provide.decorator('$animate', ['$delegate', '$injector', '$sniffer', '$rootElement', '$$asyncCallback', '$rootScope', '$document',
339
+ function($delegate, $injector, $sniffer, $rootElement, $$asyncCallback, $rootScope, $document) {
340
+
341
+ var globalAnimationCounter = 0;
342
+ $rootElement.data(NG_ANIMATE_STATE, rootAnimateState);
343
+
344
+ // disable animations during bootstrap, but once we bootstrapped, wait again
345
+ // for another digest until enabling animations. The reason why we digest twice
346
+ // is because all structural animations (enter, leave and move) all perform a
347
+ // post digest operation before animating. If we only wait for a single digest
348
+ // to pass then the structural animation would render its animation on page load.
349
+ // (which is what we're trying to avoid when the application first boots up.)
350
+ $rootScope.$$postDigest(function() {
351
+ $rootScope.$$postDigest(function() {
352
+ rootAnimateState.running = false;
353
+ });
354
+ });
355
+
356
+ var classNameFilter = $animateProvider.classNameFilter();
357
+ var isAnimatableClassName = !classNameFilter
358
+ ? function() { return true; }
359
+ : function(className) {
360
+ return classNameFilter.test(className);
361
+ };
362
+
363
+ function blockElementAnimations(element) {
364
+ var data = element.data(NG_ANIMATE_STATE) || {};
365
+ data.running = true;
366
+ element.data(NG_ANIMATE_STATE, data);
367
+ }
368
+
369
+ function lookup(name) {
370
+ if (name) {
371
+ var matches = [],
372
+ flagMap = {},
373
+ classes = name.substr(1).split('.');
374
+
375
+ //the empty string value is the default animation
376
+ //operation which performs CSS transition and keyframe
377
+ //animations sniffing. This is always included for each
378
+ //element animation procedure if the browser supports
379
+ //transitions and/or keyframe animations. The default
380
+ //animation is added to the top of the list to prevent
381
+ //any previous animations from affecting the element styling
382
+ //prior to the element being animated.
383
+ if ($sniffer.transitions || $sniffer.animations) {
384
+ matches.push($injector.get(selectors['']));
385
+ }
386
+
387
+ for(var i=0; i < classes.length; i++) {
388
+ var klass = classes[i],
389
+ selectorFactoryName = selectors[klass];
390
+ if(selectorFactoryName && !flagMap[klass]) {
391
+ matches.push($injector.get(selectorFactoryName));
392
+ flagMap[klass] = true;
393
+ }
394
+ }
395
+ return matches;
396
+ }
397
+ }
398
+
399
+ function animationRunner(element, animationEvent, className) {
400
+ //transcluded directives may sometimes fire an animation using only comment nodes
401
+ //best to catch this early on to prevent any animation operations from occurring
402
+ var node = element[0];
403
+ if(!node) {
404
+ return;
405
+ }
406
+
407
+ var isSetClassOperation = animationEvent == 'setClass';
408
+ var isClassBased = isSetClassOperation ||
409
+ animationEvent == 'addClass' ||
410
+ animationEvent == 'removeClass';
411
+
412
+ var classNameAdd, classNameRemove;
413
+ if(angular.isArray(className)) {
414
+ classNameAdd = className[0];
415
+ classNameRemove = className[1];
416
+ className = classNameAdd + ' ' + classNameRemove;
417
+ }
418
+
419
+ var currentClassName = element.attr('class');
420
+ var classes = currentClassName + ' ' + className;
421
+ if(!isAnimatableClassName(classes)) {
422
+ return;
423
+ }
424
+
425
+ var beforeComplete = noop,
426
+ beforeCancel = [],
427
+ before = [],
428
+ afterComplete = noop,
429
+ afterCancel = [],
430
+ after = [];
431
+
432
+ var animationLookup = (' ' + classes).replace(/\s+/g,'.');
433
+ forEach(lookup(animationLookup), function(animationFactory) {
434
+ var created = registerAnimation(animationFactory, animationEvent);
435
+ if(!created && isSetClassOperation) {
436
+ registerAnimation(animationFactory, 'addClass');
437
+ registerAnimation(animationFactory, 'removeClass');
438
+ }
439
+ });
440
+
441
+ function registerAnimation(animationFactory, event) {
442
+ var afterFn = animationFactory[event];
443
+ var beforeFn = animationFactory['before' + event.charAt(0).toUpperCase() + event.substr(1)];
444
+ if(afterFn || beforeFn) {
445
+ if(event == 'leave') {
446
+ beforeFn = afterFn;
447
+ //when set as null then animation knows to skip this phase
448
+ afterFn = null;
449
+ }
450
+ after.push({
451
+ event : event, fn : afterFn
452
+ });
453
+ before.push({
454
+ event : event, fn : beforeFn
455
+ });
456
+ return true;
457
+ }
458
+ }
459
+
460
+ function run(fns, cancellations, allCompleteFn) {
461
+ var animations = [];
462
+ forEach(fns, function(animation) {
463
+ animation.fn && animations.push(animation);
464
+ });
465
+
466
+ var count = 0;
467
+ function afterAnimationComplete(index) {
468
+ if(cancellations) {
469
+ (cancellations[index] || noop)();
470
+ if(++count < animations.length) return;
471
+ cancellations = null;
472
+ }
473
+ allCompleteFn();
474
+ }
475
+
476
+ //The code below adds directly to the array in order to work with
477
+ //both sync and async animations. Sync animations are when the done()
478
+ //operation is called right away. DO NOT REFACTOR!
479
+ forEach(animations, function(animation, index) {
480
+ var progress = function() {
481
+ afterAnimationComplete(index);
482
+ };
483
+ switch(animation.event) {
484
+ case 'setClass':
485
+ cancellations.push(animation.fn(element, classNameAdd, classNameRemove, progress));
486
+ break;
487
+ case 'addClass':
488
+ cancellations.push(animation.fn(element, classNameAdd || className, progress));
489
+ break;
490
+ case 'removeClass':
491
+ cancellations.push(animation.fn(element, classNameRemove || className, progress));
492
+ break;
493
+ default:
494
+ cancellations.push(animation.fn(element, progress));
495
+ break;
496
+ }
497
+ });
498
+
499
+ if(cancellations && cancellations.length === 0) {
500
+ allCompleteFn();
501
+ }
502
+ }
503
+
504
+ return {
505
+ node : node,
506
+ event : animationEvent,
507
+ className : className,
508
+ isClassBased : isClassBased,
509
+ isSetClassOperation : isSetClassOperation,
510
+ before : function(allCompleteFn) {
511
+ beforeComplete = allCompleteFn;
512
+ run(before, beforeCancel, function() {
513
+ beforeComplete = noop;
514
+ allCompleteFn();
515
+ });
516
+ },
517
+ after : function(allCompleteFn) {
518
+ afterComplete = allCompleteFn;
519
+ run(after, afterCancel, function() {
520
+ afterComplete = noop;
521
+ allCompleteFn();
522
+ });
523
+ },
524
+ cancel : function() {
525
+ if(beforeCancel) {
526
+ forEach(beforeCancel, function(cancelFn) {
527
+ (cancelFn || noop)(true);
528
+ });
529
+ beforeComplete(true);
530
+ }
531
+ if(afterCancel) {
532
+ forEach(afterCancel, function(cancelFn) {
533
+ (cancelFn || noop)(true);
534
+ });
535
+ afterComplete(true);
536
+ }
537
+ }
538
+ };
539
+ }
540
+
541
+ /**
542
+ * @ngdoc service
543
+ * @name $animate
544
+ * @kind function
545
+ *
546
+ * @description
547
+ * The `$animate` service provides animation detection support while performing DOM operations (enter, leave and move) as well as during addClass and removeClass operations.
548
+ * When any of these operations are run, the $animate service
549
+ * will examine any JavaScript-defined animations (which are defined by using the $animateProvider provider object)
550
+ * as well as any CSS-defined animations against the CSS classes present on the element once the DOM operation is run.
551
+ *
552
+ * The `$animate` service is used behind the scenes with pre-existing directives and animation with these directives
553
+ * will work out of the box without any extra configuration.
554
+ *
555
+ * Requires the {@link ngAnimate `ngAnimate`} module to be installed.
556
+ *
557
+ * Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application.
558
+ *
559
+ */
560
+ return {
561
+ /**
562
+ * @ngdoc method
563
+ * @name $animate#enter
564
+ * @kind function
565
+ *
566
+ * @description
567
+ * Appends the element to the parentElement element that resides in the document and then runs the enter animation. Once
568
+ * the animation is started, the following CSS classes will be present on the element for the duration of the animation:
569
+ *
570
+ * Below is a breakdown of each step that occurs during enter animation:
571
+ *
572
+ * | Animation Step | What the element class attribute looks like |
573
+ * |----------------------------------------------------------------------------------------------|---------------------------------------------|
574
+ * | 1. $animate.enter(...) is called | class="my-animation" |
575
+ * | 2. element is inserted into the parentElement element or beside the afterElement element | class="my-animation" |
576
+ * | 3. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-animate" |
577
+ * | 4. the .ng-enter class is added to the element | class="my-animation ng-animate ng-enter" |
578
+ * | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-enter" |
579
+ * | 6. $animate waits for 10ms (this performs a reflow) | class="my-animation ng-animate ng-enter" |
580
+ * | 7. the .ng-enter-active and .ng-animate-active classes are added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active ng-enter ng-enter-active" |
581
+ * | 8. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-animate ng-animate-active ng-enter ng-enter-active" |
582
+ * | 9. The animation ends and all generated CSS classes are removed from the element | class="my-animation" |
583
+ * | 10. The doneCallback() callback is fired (if provided) | class="my-animation" |
584
+ *
585
+ * @param {DOMElement} element the element that will be the focus of the enter animation
586
+ * @param {DOMElement} parentElement the parent element of the element that will be the focus of the enter animation
587
+ * @param {DOMElement} afterElement the sibling element (which is the previous element) of the element that will be the focus of the enter animation
588
+ * @param {function()=} doneCallback the callback function that will be called once the animation is complete
589
+ */
590
+ enter : function(element, parentElement, afterElement, doneCallback) {
591
+ element = angular.element(element);
592
+ parentElement = prepareElement(parentElement);
593
+ afterElement = prepareElement(afterElement);
594
+
595
+ blockElementAnimations(element);
596
+ $delegate.enter(element, parentElement, afterElement);
597
+ $rootScope.$$postDigest(function() {
598
+ element = stripCommentsFromElement(element);
599
+ performAnimation('enter', 'ng-enter', element, parentElement, afterElement, noop, doneCallback);
600
+ });
601
+ },
602
+
603
+ /**
604
+ * @ngdoc method
605
+ * @name $animate#leave
606
+ * @kind function
607
+ *
608
+ * @description
609
+ * Runs the leave animation operation and, upon completion, removes the element from the DOM. Once
610
+ * the animation is started, the following CSS classes will be added for the duration of the animation:
611
+ *
612
+ * Below is a breakdown of each step that occurs during leave animation:
613
+ *
614
+ * | Animation Step | What the element class attribute looks like |
615
+ * |----------------------------------------------------------------------------------------------|---------------------------------------------|
616
+ * | 1. $animate.leave(...) is called | class="my-animation" |
617
+ * | 2. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-animate" |
618
+ * | 3. the .ng-leave class is added to the element | class="my-animation ng-animate ng-leave" |
619
+ * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-leave" |
620
+ * | 5. $animate waits for 10ms (this performs a reflow) | class="my-animation ng-animate ng-leave" |
621
+ * | 6. the .ng-leave-active and .ng-animate-active classes is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active ng-leave ng-leave-active" |
622
+ * | 7. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-animate ng-animate-active ng-leave ng-leave-active" |
623
+ * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation" |
624
+ * | 9. The element is removed from the DOM | ... |
625
+ * | 10. The doneCallback() callback is fired (if provided) | ... |
626
+ *
627
+ * @param {DOMElement} element the element that will be the focus of the leave animation
628
+ * @param {function()=} doneCallback the callback function that will be called once the animation is complete
629
+ */
630
+ leave : function(element, doneCallback) {
631
+ element = angular.element(element);
632
+ cancelChildAnimations(element);
633
+ blockElementAnimations(element);
634
+ $rootScope.$$postDigest(function() {
635
+ performAnimation('leave', 'ng-leave', stripCommentsFromElement(element), null, null, function() {
636
+ $delegate.leave(element);
637
+ }, doneCallback);
638
+ });
639
+ },
640
+
641
+ /**
642
+ * @ngdoc method
643
+ * @name $animate#move
644
+ * @kind function
645
+ *
646
+ * @description
647
+ * Fires the move DOM operation. Just before the animation starts, the animate service will either append it into the parentElement container or
648
+ * add the element directly after the afterElement element if present. Then the move animation will be run. Once
649
+ * the animation is started, the following CSS classes will be added for the duration of the animation:
650
+ *
651
+ * Below is a breakdown of each step that occurs during move animation:
652
+ *
653
+ * | Animation Step | What the element class attribute looks like |
654
+ * |----------------------------------------------------------------------------------------------|---------------------------------------------|
655
+ * | 1. $animate.move(...) is called | class="my-animation" |
656
+ * | 2. element is moved into the parentElement element or beside the afterElement element | class="my-animation" |
657
+ * | 3. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-animate" |
658
+ * | 4. the .ng-move class is added to the element | class="my-animation ng-animate ng-move" |
659
+ * | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-move" |
660
+ * | 6. $animate waits for 10ms (this performs a reflow) | class="my-animation ng-animate ng-move" |
661
+ * | 7. the .ng-move-active and .ng-animate-active classes is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active ng-move ng-move-active" |
662
+ * | 8. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-animate ng-animate-active ng-move ng-move-active" |
663
+ * | 9. The animation ends and all generated CSS classes are removed from the element | class="my-animation" |
664
+ * | 10. The doneCallback() callback is fired (if provided) | class="my-animation" |
665
+ *
666
+ * @param {DOMElement} element the element that will be the focus of the move animation
667
+ * @param {DOMElement} parentElement the parentElement element of the element that will be the focus of the move animation
668
+ * @param {DOMElement} afterElement the sibling element (which is the previous element) of the element that will be the focus of the move animation
669
+ * @param {function()=} doneCallback the callback function that will be called once the animation is complete
670
+ */
671
+ move : function(element, parentElement, afterElement, doneCallback) {
672
+ element = angular.element(element);
673
+ parentElement = prepareElement(parentElement);
674
+ afterElement = prepareElement(afterElement);
675
+
676
+ cancelChildAnimations(element);
677
+ blockElementAnimations(element);
678
+ $delegate.move(element, parentElement, afterElement);
679
+ $rootScope.$$postDigest(function() {
680
+ element = stripCommentsFromElement(element);
681
+ performAnimation('move', 'ng-move', element, parentElement, afterElement, noop, doneCallback);
682
+ });
683
+ },
684
+
685
+ /**
686
+ * @ngdoc method
687
+ * @name $animate#addClass
688
+ *
689
+ * @description
690
+ * Triggers a custom animation event based off the className variable and then attaches the className value to the element as a CSS class.
691
+ * Unlike the other animation methods, the animate service will suffix the className value with {@type -add} in order to provide
692
+ * the animate service the setup and active CSS classes in order to trigger the animation (this will be skipped if no CSS transitions
693
+ * or keyframes are defined on the -add or base CSS class).
694
+ *
695
+ * Below is a breakdown of each step that occurs during addClass animation:
696
+ *
697
+ * | Animation Step | What the element class attribute looks like |
698
+ * |------------------------------------------------------------------------------------------------|---------------------------------------------|
699
+ * | 1. $animate.addClass(element, 'super') is called | class="my-animation" |
700
+ * | 2. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-animate" |
701
+ * | 3. the .super-add class are added to the element | class="my-animation ng-animate super-add" |
702
+ * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate super-add" |
703
+ * | 5. $animate waits for 10ms (this performs a reflow) | class="my-animation ng-animate super-add" |
704
+ * | 6. the .super, .super-add-active and .ng-animate-active classes are added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active super super-add super-add-active" |
705
+ * | 7. $animate waits for X milliseconds for the animation to complete | class="my-animation super super-add super-add-active" |
706
+ * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation super" |
707
+ * | 9. The super class is kept on the element | class="my-animation super" |
708
+ * | 10. The doneCallback() callback is fired (if provided) | class="my-animation super" |
709
+ *
710
+ * @param {DOMElement} element the element that will be animated
711
+ * @param {string} className the CSS class that will be added to the element and then animated
712
+ * @param {function()=} doneCallback the callback function that will be called once the animation is complete
713
+ */
714
+ addClass : function(element, className, doneCallback) {
715
+ element = angular.element(element);
716
+ element = stripCommentsFromElement(element);
717
+ performAnimation('addClass', className, element, null, null, function() {
718
+ $delegate.addClass(element, className);
719
+ }, doneCallback);
720
+ },
721
+
722
+ /**
723
+ * @ngdoc method
724
+ * @name $animate#removeClass
725
+ *
726
+ * @description
727
+ * Triggers a custom animation event based off the className variable and then removes the CSS class provided by the className value
728
+ * from the element. Unlike the other animation methods, the animate service will suffix the className value with {@type -remove} in
729
+ * order to provide the animate service the setup and active CSS classes in order to trigger the animation (this will be skipped if
730
+ * no CSS transitions or keyframes are defined on the -remove or base CSS classes).
731
+ *
732
+ * Below is a breakdown of each step that occurs during removeClass animation:
733
+ *
734
+ * | Animation Step | What the element class attribute looks like |
735
+ * |-----------------------------------------------------------------------------------------------|---------------------------------------------|
736
+ * | 1. $animate.removeClass(element, 'super') is called | class="my-animation super" |
737
+ * | 2. $animate runs any JavaScript-defined animations on the element | class="my-animation super ng-animate" |
738
+ * | 3. the .super-remove class are added to the element | class="my-animation super ng-animate super-remove"|
739
+ * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation super ng-animate super-remove" |
740
+ * | 5. $animate waits for 10ms (this performs a reflow) | class="my-animation super ng-animate super-remove" |
741
+ * | 6. the .super-remove-active and .ng-animate-active classes are added and .super is removed (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active super-remove super-remove-active" |
742
+ * | 7. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-animate ng-animate-active super-remove super-remove-active" |
743
+ * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation" |
744
+ * | 9. The doneCallback() callback is fired (if provided) | class="my-animation" |
745
+ *
746
+ *
747
+ * @param {DOMElement} element the element that will be animated
748
+ * @param {string} className the CSS class that will be animated and then removed from the element
749
+ * @param {function()=} doneCallback the callback function that will be called once the animation is complete
750
+ */
751
+ removeClass : function(element, className, doneCallback) {
752
+ element = angular.element(element);
753
+ element = stripCommentsFromElement(element);
754
+ performAnimation('removeClass', className, element, null, null, function() {
755
+ $delegate.removeClass(element, className);
756
+ }, doneCallback);
757
+ },
758
+
759
+ /**
760
+ *
761
+ * @ngdoc function
762
+ * @name $animate#setClass
763
+ * @function
764
+ * @description Adds and/or removes the given CSS classes to and from the element.
765
+ * Once complete, the done() callback will be fired (if provided).
766
+ * @param {DOMElement} element the element which will its CSS classes changed
767
+ * removed from it
768
+ * @param {string} add the CSS classes which will be added to the element
769
+ * @param {string} remove the CSS class which will be removed from the element
770
+ * @param {Function=} done the callback function (if provided) that will be fired after the
771
+ * CSS classes have been set on the element
772
+ */
773
+ setClass : function(element, add, remove, doneCallback) {
774
+ element = angular.element(element);
775
+ element = stripCommentsFromElement(element);
776
+ performAnimation('setClass', [add, remove], element, null, null, function() {
777
+ $delegate.setClass(element, add, remove);
778
+ }, doneCallback);
779
+ },
780
+
781
+ /**
782
+ * @ngdoc method
783
+ * @name $animate#enabled
784
+ * @kind function
785
+ *
786
+ * @param {boolean=} value If provided then set the animation on or off.
787
+ * @param {DOMElement=} element If provided then the element will be used to represent the enable/disable operation
788
+ * @return {boolean} Current animation state.
789
+ *
790
+ * @description
791
+ * Globally enables/disables animations.
792
+ *
793
+ */
794
+ enabled : function(value, element) {
795
+ switch(arguments.length) {
796
+ case 2:
797
+ if(value) {
798
+ cleanup(element);
799
+ } else {
800
+ var data = element.data(NG_ANIMATE_STATE) || {};
801
+ data.disabled = true;
802
+ element.data(NG_ANIMATE_STATE, data);
803
+ }
804
+ break;
805
+
806
+ case 1:
807
+ rootAnimateState.disabled = !value;
808
+ break;
809
+
810
+ default:
811
+ value = !rootAnimateState.disabled;
812
+ break;
813
+ }
814
+ return !!value;
815
+ }
816
+ };
817
+
818
+ /*
819
+ all animations call this shared animation triggering function internally.
820
+ The animationEvent variable refers to the JavaScript animation event that will be triggered
821
+ and the className value is the name of the animation that will be applied within the
822
+ CSS code. Element, parentElement and afterElement are provided DOM elements for the animation
823
+ and the onComplete callback will be fired once the animation is fully complete.
824
+ */
825
+ function performAnimation(animationEvent, className, element, parentElement, afterElement, domOperation, doneCallback) {
826
+
827
+ var runner = animationRunner(element, animationEvent, className);
828
+ if(!runner) {
829
+ fireDOMOperation();
830
+ fireBeforeCallbackAsync();
831
+ fireAfterCallbackAsync();
832
+ closeAnimation();
833
+ return;
834
+ }
835
+
836
+ className = runner.className;
837
+ var elementEvents = angular.element._data(runner.node);
838
+ elementEvents = elementEvents && elementEvents.events;
839
+
840
+ if (!parentElement) {
841
+ parentElement = afterElement ? afterElement.parent() : element.parent();
842
+ }
843
+
844
+ var ngAnimateState = element.data(NG_ANIMATE_STATE) || {};
845
+ var runningAnimations = ngAnimateState.active || {};
846
+ var totalActiveAnimations = ngAnimateState.totalActive || 0;
847
+ var lastAnimation = ngAnimateState.last;
848
+
849
+ //only allow animations if the currently running animation is not structural
850
+ //or if there is no animation running at all
851
+ var skipAnimations;
852
+ if (runner.isClassBased) {
853
+ skipAnimations = ngAnimateState.running ||
854
+ ngAnimateState.disabled ||
855
+ (lastAnimation && !lastAnimation.isClassBased);
856
+ }
857
+
858
+ //skip the animation if animations are disabled, a parent is already being animated,
859
+ //the element is not currently attached to the document body or then completely close
860
+ //the animation if any matching animations are not found at all.
861
+ //NOTE: IE8 + IE9 should close properly (run closeAnimation()) in case an animation was found.
862
+ if (skipAnimations || animationsDisabled(element, parentElement)) {
863
+ fireDOMOperation();
864
+ fireBeforeCallbackAsync();
865
+ fireAfterCallbackAsync();
866
+ closeAnimation();
867
+ return;
868
+ }
869
+
870
+ var skipAnimation = false;
871
+ if(totalActiveAnimations > 0) {
872
+ var animationsToCancel = [];
873
+ if(!runner.isClassBased) {
874
+ if(animationEvent == 'leave' && runningAnimations['ng-leave']) {
875
+ skipAnimation = true;
876
+ } else {
877
+ //cancel all animations when a structural animation takes place
878
+ for(var klass in runningAnimations) {
879
+ animationsToCancel.push(runningAnimations[klass]);
880
+ cleanup(element, klass);
881
+ }
882
+ runningAnimations = {};
883
+ totalActiveAnimations = 0;
884
+ }
885
+ } else if(lastAnimation.event == 'setClass') {
886
+ animationsToCancel.push(lastAnimation);
887
+ cleanup(element, className);
888
+ }
889
+ else if(runningAnimations[className]) {
890
+ var current = runningAnimations[className];
891
+ if(current.event == animationEvent) {
892
+ skipAnimation = true;
893
+ } else {
894
+ animationsToCancel.push(current);
895
+ cleanup(element, className);
896
+ }
897
+ }
898
+
899
+ if(animationsToCancel.length > 0) {
900
+ forEach(animationsToCancel, function(operation) {
901
+ operation.cancel();
902
+ });
903
+ }
904
+ }
905
+
906
+ if(runner.isClassBased && !runner.isSetClassOperation && !skipAnimation) {
907
+ skipAnimation = (animationEvent == 'addClass') == element.hasClass(className); //opposite of XOR
908
+ }
909
+
910
+ if(skipAnimation) {
911
+ fireDOMOperation();
912
+ fireBeforeCallbackAsync();
913
+ fireAfterCallbackAsync();
914
+ fireDoneCallbackAsync();
915
+ return;
916
+ }
917
+
918
+ if(animationEvent == 'leave') {
919
+ //there's no need to ever remove the listener since the element
920
+ //will be removed (destroyed) after the leave animation ends or
921
+ //is cancelled midway
922
+ element.one('$destroy', function(e) {
923
+ var element = angular.element(this);
924
+ var state = element.data(NG_ANIMATE_STATE);
925
+ if(state) {
926
+ var activeLeaveAnimation = state.active['ng-leave'];
927
+ if(activeLeaveAnimation) {
928
+ activeLeaveAnimation.cancel();
929
+ cleanup(element, 'ng-leave');
930
+ }
931
+ }
932
+ });
933
+ }
934
+
935
+ //the ng-animate class does nothing, but it's here to allow for
936
+ //parent animations to find and cancel child animations when needed
937
+ element.addClass(NG_ANIMATE_CLASS_NAME);
938
+
939
+ var localAnimationCount = globalAnimationCounter++;
940
+ totalActiveAnimations++;
941
+ runningAnimations[className] = runner;
942
+
943
+ element.data(NG_ANIMATE_STATE, {
944
+ last : runner,
945
+ active : runningAnimations,
946
+ index : localAnimationCount,
947
+ totalActive : totalActiveAnimations
948
+ });
949
+
950
+ //first we run the before animations and when all of those are complete
951
+ //then we perform the DOM operation and run the next set of animations
952
+ fireBeforeCallbackAsync();
953
+ runner.before(function(cancelled) {
954
+ var data = element.data(NG_ANIMATE_STATE);
955
+ cancelled = cancelled ||
956
+ !data || !data.active[className] ||
957
+ (runner.isClassBased && data.active[className].event != animationEvent);
958
+
959
+ fireDOMOperation();
960
+ if(cancelled === true) {
961
+ closeAnimation();
962
+ } else {
963
+ fireAfterCallbackAsync();
964
+ runner.after(closeAnimation);
965
+ }
966
+ });
967
+
968
+ function fireDOMCallback(animationPhase) {
969
+ var eventName = '$animate:' + animationPhase;
970
+ if(elementEvents && elementEvents[eventName] && elementEvents[eventName].length > 0) {
971
+ $$asyncCallback(function() {
972
+ element.triggerHandler(eventName, {
973
+ event : animationEvent,
974
+ className : className
975
+ });
976
+ });
977
+ }
978
+ }
979
+
980
+ function fireBeforeCallbackAsync() {
981
+ fireDOMCallback('before');
982
+ }
983
+
984
+ function fireAfterCallbackAsync() {
985
+ fireDOMCallback('after');
986
+ }
987
+
988
+ function fireDoneCallbackAsync() {
989
+ fireDOMCallback('close');
990
+ if(doneCallback) {
991
+ $$asyncCallback(function() {
992
+ doneCallback();
993
+ });
994
+ }
995
+ }
996
+
997
+ //it is less complicated to use a flag than managing and canceling
998
+ //timeouts containing multiple callbacks.
999
+ function fireDOMOperation() {
1000
+ if(!fireDOMOperation.hasBeenRun) {
1001
+ fireDOMOperation.hasBeenRun = true;
1002
+ domOperation();
1003
+ }
1004
+ }
1005
+
1006
+ function closeAnimation() {
1007
+ if(!closeAnimation.hasBeenRun) {
1008
+ closeAnimation.hasBeenRun = true;
1009
+ var data = element.data(NG_ANIMATE_STATE);
1010
+ if(data) {
1011
+ /* only structural animations wait for reflow before removing an
1012
+ animation, but class-based animations don't. An example of this
1013
+ failing would be when a parent HTML tag has a ng-class attribute
1014
+ causing ALL directives below to skip animations during the digest */
1015
+ if(runner && runner.isClassBased) {
1016
+ cleanup(element, className);
1017
+ } else {
1018
+ $$asyncCallback(function() {
1019
+ var data = element.data(NG_ANIMATE_STATE) || {};
1020
+ if(localAnimationCount == data.index) {
1021
+ cleanup(element, className, animationEvent);
1022
+ }
1023
+ });
1024
+ element.data(NG_ANIMATE_STATE, data);
1025
+ }
1026
+ }
1027
+ fireDoneCallbackAsync();
1028
+ }
1029
+ }
1030
+ }
1031
+
1032
+ function cancelChildAnimations(element) {
1033
+ var node = extractElementNode(element);
1034
+ if (node) {
1035
+ var nodes = angular.isFunction(node.getElementsByClassName) ?
1036
+ node.getElementsByClassName(NG_ANIMATE_CLASS_NAME) :
1037
+ node.querySelectorAll('.' + NG_ANIMATE_CLASS_NAME);
1038
+ forEach(nodes, function(element) {
1039
+ element = angular.element(element);
1040
+ var data = element.data(NG_ANIMATE_STATE);
1041
+ if(data && data.active) {
1042
+ forEach(data.active, function(runner) {
1043
+ runner.cancel();
1044
+ });
1045
+ }
1046
+ });
1047
+ }
1048
+ }
1049
+
1050
+ function cleanup(element, className) {
1051
+ if(isMatchingElement(element, $rootElement)) {
1052
+ if(!rootAnimateState.disabled) {
1053
+ rootAnimateState.running = false;
1054
+ rootAnimateState.structural = false;
1055
+ }
1056
+ } else if(className) {
1057
+ var data = element.data(NG_ANIMATE_STATE) || {};
1058
+
1059
+ var removeAnimations = className === true;
1060
+ if(!removeAnimations && data.active && data.active[className]) {
1061
+ data.totalActive--;
1062
+ delete data.active[className];
1063
+ }
1064
+
1065
+ if(removeAnimations || !data.totalActive) {
1066
+ element.removeClass(NG_ANIMATE_CLASS_NAME);
1067
+ element.removeData(NG_ANIMATE_STATE);
1068
+ }
1069
+ }
1070
+ }
1071
+
1072
+ function animationsDisabled(element, parentElement) {
1073
+ if (rootAnimateState.disabled) {
1074
+ return true;
1075
+ }
1076
+
1077
+ if (isMatchingElement(element, $rootElement)) {
1078
+ return rootAnimateState.running;
1079
+ }
1080
+
1081
+ var allowChildAnimations, parentRunningAnimation, hasParent;
1082
+ do {
1083
+ //the element did not reach the root element which means that it
1084
+ //is not apart of the DOM. Therefore there is no reason to do
1085
+ //any animations on it
1086
+ if (parentElement.length === 0) break;
1087
+
1088
+ var isRoot = isMatchingElement(parentElement, $rootElement);
1089
+ var state = isRoot ? rootAnimateState : (parentElement.data(NG_ANIMATE_STATE) || {});
1090
+ if (state.disabled) {
1091
+ return true;
1092
+ }
1093
+
1094
+ //no matter what, for an animation to work it must reach the root element
1095
+ //this implies that the element is attached to the DOM when the animation is run
1096
+ if (isRoot) {
1097
+ hasParent = true;
1098
+ }
1099
+
1100
+ //once a flag is found that is strictly false then everything before
1101
+ //it will be discarded and all child animations will be restricted
1102
+ if (allowChildAnimations !== false) {
1103
+ var animateChildrenFlag = parentElement.data(NG_ANIMATE_CHILDREN);
1104
+ if(angular.isDefined(animateChildrenFlag)) {
1105
+ allowChildAnimations = animateChildrenFlag;
1106
+ }
1107
+ }
1108
+
1109
+ parentRunningAnimation = parentRunningAnimation ||
1110
+ state.running ||
1111
+ (state.last && !state.last.isClassBased);
1112
+ }
1113
+ while(parentElement = parentElement.parent());
1114
+
1115
+ return !hasParent || (!allowChildAnimations && parentRunningAnimation);
1116
+ }
1117
+ }]);
1118
+
1119
+ $animateProvider.register('', ['$window', '$sniffer', '$timeout', '$$animateReflow',
1120
+ function($window, $sniffer, $timeout, $$animateReflow) {
1121
+ // Detect proper transitionend/animationend event names.
1122
+ var CSS_PREFIX = '', TRANSITION_PROP, TRANSITIONEND_EVENT, ANIMATION_PROP, ANIMATIONEND_EVENT;
1123
+
1124
+ // If unprefixed events are not supported but webkit-prefixed are, use the latter.
1125
+ // Otherwise, just use W3C names, browsers not supporting them at all will just ignore them.
1126
+ // Note: Chrome implements `window.onwebkitanimationend` and doesn't implement `window.onanimationend`
1127
+ // but at the same time dispatches the `animationend` event and not `webkitAnimationEnd`.
1128
+ // Register both events in case `window.onanimationend` is not supported because of that,
1129
+ // do the same for `transitionend` as Safari is likely to exhibit similar behavior.
1130
+ // Also, the only modern browser that uses vendor prefixes for transitions/keyframes is webkit
1131
+ // therefore there is no reason to test anymore for other vendor prefixes: http://caniuse.com/#search=transition
1132
+ if (window.ontransitionend === undefined && window.onwebkittransitionend !== undefined) {
1133
+ CSS_PREFIX = '-webkit-';
1134
+ TRANSITION_PROP = 'WebkitTransition';
1135
+ TRANSITIONEND_EVENT = 'webkitTransitionEnd transitionend';
1136
+ } else {
1137
+ TRANSITION_PROP = 'transition';
1138
+ TRANSITIONEND_EVENT = 'transitionend';
1139
+ }
1140
+
1141
+ if (window.onanimationend === undefined && window.onwebkitanimationend !== undefined) {
1142
+ CSS_PREFIX = '-webkit-';
1143
+ ANIMATION_PROP = 'WebkitAnimation';
1144
+ ANIMATIONEND_EVENT = 'webkitAnimationEnd animationend';
1145
+ } else {
1146
+ ANIMATION_PROP = 'animation';
1147
+ ANIMATIONEND_EVENT = 'animationend';
1148
+ }
1149
+
1150
+ var DURATION_KEY = 'Duration';
1151
+ var PROPERTY_KEY = 'Property';
1152
+ var DELAY_KEY = 'Delay';
1153
+ var ANIMATION_ITERATION_COUNT_KEY = 'IterationCount';
1154
+ var NG_ANIMATE_PARENT_KEY = '$$ngAnimateKey';
1155
+ var NG_ANIMATE_CSS_DATA_KEY = '$$ngAnimateCSS3Data';
1156
+ var NG_ANIMATE_BLOCK_CLASS_NAME = 'ng-animate-block-transitions';
1157
+ var ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;
1158
+ var CLOSING_TIME_BUFFER = 1.5;
1159
+ var ONE_SECOND = 1000;
1160
+
1161
+ var lookupCache = {};
1162
+ var parentCounter = 0;
1163
+ var animationReflowQueue = [];
1164
+ var cancelAnimationReflow;
1165
+ function afterReflow(element, callback) {
1166
+ if(cancelAnimationReflow) {
1167
+ cancelAnimationReflow();
1168
+ }
1169
+ animationReflowQueue.push(callback);
1170
+ cancelAnimationReflow = $$animateReflow(function() {
1171
+ forEach(animationReflowQueue, function(fn) {
1172
+ fn();
1173
+ });
1174
+
1175
+ animationReflowQueue = [];
1176
+ cancelAnimationReflow = null;
1177
+ lookupCache = {};
1178
+ });
1179
+ }
1180
+
1181
+ var closingTimer = null;
1182
+ var closingTimestamp = 0;
1183
+ var animationElementQueue = [];
1184
+ function animationCloseHandler(element, totalTime) {
1185
+ var node = extractElementNode(element);
1186
+ element = angular.element(node);
1187
+
1188
+ //this item will be garbage collected by the closing
1189
+ //animation timeout
1190
+ animationElementQueue.push(element);
1191
+
1192
+ //but it may not need to cancel out the existing timeout
1193
+ //if the timestamp is less than the previous one
1194
+ var futureTimestamp = Date.now() + totalTime;
1195
+ if(futureTimestamp <= closingTimestamp) {
1196
+ return;
1197
+ }
1198
+
1199
+ $timeout.cancel(closingTimer);
1200
+
1201
+ closingTimestamp = futureTimestamp;
1202
+ closingTimer = $timeout(function() {
1203
+ closeAllAnimations(animationElementQueue);
1204
+ animationElementQueue = [];
1205
+ }, totalTime, false);
1206
+ }
1207
+
1208
+ function closeAllAnimations(elements) {
1209
+ forEach(elements, function(element) {
1210
+ var elementData = element.data(NG_ANIMATE_CSS_DATA_KEY);
1211
+ if(elementData) {
1212
+ (elementData.closeAnimationFn || noop)();
1213
+ }
1214
+ });
1215
+ }
1216
+
1217
+ function getElementAnimationDetails(element, cacheKey) {
1218
+ var data = cacheKey ? lookupCache[cacheKey] : null;
1219
+ if(!data) {
1220
+ var transitionDuration = 0;
1221
+ var transitionDelay = 0;
1222
+ var animationDuration = 0;
1223
+ var animationDelay = 0;
1224
+ var transitionDelayStyle;
1225
+ var animationDelayStyle;
1226
+ var transitionDurationStyle;
1227
+ var transitionPropertyStyle;
1228
+
1229
+ //we want all the styles defined before and after
1230
+ forEach(element, function(element) {
1231
+ if (element.nodeType == ELEMENT_NODE) {
1232
+ var elementStyles = $window.getComputedStyle(element) || {};
1233
+
1234
+ transitionDurationStyle = elementStyles[TRANSITION_PROP + DURATION_KEY];
1235
+
1236
+ transitionDuration = Math.max(parseMaxTime(transitionDurationStyle), transitionDuration);
1237
+
1238
+ transitionPropertyStyle = elementStyles[TRANSITION_PROP + PROPERTY_KEY];
1239
+
1240
+ transitionDelayStyle = elementStyles[TRANSITION_PROP + DELAY_KEY];
1241
+
1242
+ transitionDelay = Math.max(parseMaxTime(transitionDelayStyle), transitionDelay);
1243
+
1244
+ animationDelayStyle = elementStyles[ANIMATION_PROP + DELAY_KEY];
1245
+
1246
+ animationDelay = Math.max(parseMaxTime(animationDelayStyle), animationDelay);
1247
+
1248
+ var aDuration = parseMaxTime(elementStyles[ANIMATION_PROP + DURATION_KEY]);
1249
+
1250
+ if(aDuration > 0) {
1251
+ aDuration *= parseInt(elementStyles[ANIMATION_PROP + ANIMATION_ITERATION_COUNT_KEY], 10) || 1;
1252
+ }
1253
+
1254
+ animationDuration = Math.max(aDuration, animationDuration);
1255
+ }
1256
+ });
1257
+ data = {
1258
+ total : 0,
1259
+ transitionPropertyStyle: transitionPropertyStyle,
1260
+ transitionDurationStyle: transitionDurationStyle,
1261
+ transitionDelayStyle: transitionDelayStyle,
1262
+ transitionDelay: transitionDelay,
1263
+ transitionDuration: transitionDuration,
1264
+ animationDelayStyle: animationDelayStyle,
1265
+ animationDelay: animationDelay,
1266
+ animationDuration: animationDuration
1267
+ };
1268
+ if(cacheKey) {
1269
+ lookupCache[cacheKey] = data;
1270
+ }
1271
+ }
1272
+ return data;
1273
+ }
1274
+
1275
+ function parseMaxTime(str) {
1276
+ var maxValue = 0;
1277
+ var values = angular.isString(str) ?
1278
+ str.split(/\s*,\s*/) :
1279
+ [];
1280
+ forEach(values, function(value) {
1281
+ maxValue = Math.max(parseFloat(value) || 0, maxValue);
1282
+ });
1283
+ return maxValue;
1284
+ }
1285
+
1286
+ function getCacheKey(element) {
1287
+ var parentElement = element.parent();
1288
+ var parentID = parentElement.data(NG_ANIMATE_PARENT_KEY);
1289
+ if(!parentID) {
1290
+ parentElement.data(NG_ANIMATE_PARENT_KEY, ++parentCounter);
1291
+ parentID = parentCounter;
1292
+ }
1293
+ return parentID + '-' + extractElementNode(element).getAttribute('class');
1294
+ }
1295
+
1296
+ function animateSetup(animationEvent, element, className, calculationDecorator) {
1297
+ var cacheKey = getCacheKey(element);
1298
+ var eventCacheKey = cacheKey + ' ' + className;
1299
+ var itemIndex = lookupCache[eventCacheKey] ? ++lookupCache[eventCacheKey].total : 0;
1300
+
1301
+ var stagger = {};
1302
+ if(itemIndex > 0) {
1303
+ var staggerClassName = className + '-stagger';
1304
+ var staggerCacheKey = cacheKey + ' ' + staggerClassName;
1305
+ var applyClasses = !lookupCache[staggerCacheKey];
1306
+
1307
+ applyClasses && element.addClass(staggerClassName);
1308
+
1309
+ stagger = getElementAnimationDetails(element, staggerCacheKey);
1310
+
1311
+ applyClasses && element.removeClass(staggerClassName);
1312
+ }
1313
+
1314
+ /* the animation itself may need to add/remove special CSS classes
1315
+ * before calculating the anmation styles */
1316
+ calculationDecorator = calculationDecorator ||
1317
+ function(fn) { return fn(); };
1318
+
1319
+ element.addClass(className);
1320
+
1321
+ var formerData = element.data(NG_ANIMATE_CSS_DATA_KEY) || {};
1322
+
1323
+ var timings = calculationDecorator(function() {
1324
+ return getElementAnimationDetails(element, eventCacheKey);
1325
+ });
1326
+
1327
+ var transitionDuration = timings.transitionDuration;
1328
+ var animationDuration = timings.animationDuration;
1329
+ if(transitionDuration === 0 && animationDuration === 0) {
1330
+ element.removeClass(className);
1331
+ return false;
1332
+ }
1333
+
1334
+ element.data(NG_ANIMATE_CSS_DATA_KEY, {
1335
+ running : formerData.running || 0,
1336
+ itemIndex : itemIndex,
1337
+ stagger : stagger,
1338
+ timings : timings,
1339
+ closeAnimationFn : noop
1340
+ });
1341
+
1342
+ //temporarily disable the transition so that the enter styles
1343
+ //don't animate twice (this is here to avoid a bug in Chrome/FF).
1344
+ var isCurrentlyAnimating = formerData.running > 0 || animationEvent == 'setClass';
1345
+ if(transitionDuration > 0) {
1346
+ blockTransitions(element, className, isCurrentlyAnimating);
1347
+ }
1348
+
1349
+ //staggering keyframe animations work by adjusting the `animation-delay` CSS property
1350
+ //on the given element, however, the delay value can only calculated after the reflow
1351
+ //since by that time $animate knows how many elements are being animated. Therefore,
1352
+ //until the reflow occurs the element needs to be blocked (where the keyframe animation
1353
+ //is set to `none 0s`). This blocking mechanism should only be set for when a stagger
1354
+ //animation is detected and when the element item index is greater than 0.
1355
+ if(animationDuration > 0 && stagger.animationDelay > 0 && stagger.animationDuration === 0) {
1356
+ blockKeyframeAnimations(element);
1357
+ }
1358
+
1359
+ return true;
1360
+ }
1361
+
1362
+ function isStructuralAnimation(className) {
1363
+ return className == 'ng-enter' || className == 'ng-move' || className == 'ng-leave';
1364
+ }
1365
+
1366
+ function blockTransitions(element, className, isAnimating) {
1367
+ if(isStructuralAnimation(className) || !isAnimating) {
1368
+ extractElementNode(element).style[TRANSITION_PROP + PROPERTY_KEY] = 'none';
1369
+ } else {
1370
+ element.addClass(NG_ANIMATE_BLOCK_CLASS_NAME);
1371
+ }
1372
+ }
1373
+
1374
+ function blockKeyframeAnimations(element) {
1375
+ extractElementNode(element).style[ANIMATION_PROP] = 'none 0s';
1376
+ }
1377
+
1378
+ function unblockTransitions(element, className) {
1379
+ var prop = TRANSITION_PROP + PROPERTY_KEY;
1380
+ var node = extractElementNode(element);
1381
+ if(node.style[prop] && node.style[prop].length > 0) {
1382
+ node.style[prop] = '';
1383
+ }
1384
+ element.removeClass(NG_ANIMATE_BLOCK_CLASS_NAME);
1385
+ }
1386
+
1387
+ function unblockKeyframeAnimations(element) {
1388
+ var prop = ANIMATION_PROP;
1389
+ var node = extractElementNode(element);
1390
+ if(node.style[prop] && node.style[prop].length > 0) {
1391
+ node.style[prop] = '';
1392
+ }
1393
+ }
1394
+
1395
+ function animateRun(animationEvent, element, className, activeAnimationComplete) {
1396
+ var node = extractElementNode(element);
1397
+ var elementData = element.data(NG_ANIMATE_CSS_DATA_KEY);
1398
+ if(node.getAttribute('class').indexOf(className) == -1 || !elementData) {
1399
+ activeAnimationComplete();
1400
+ return;
1401
+ }
1402
+
1403
+ var activeClassName = '';
1404
+ forEach(className.split(' '), function(klass, i) {
1405
+ activeClassName += (i > 0 ? ' ' : '') + klass + '-active';
1406
+ });
1407
+
1408
+ var stagger = elementData.stagger;
1409
+ var timings = elementData.timings;
1410
+ var itemIndex = elementData.itemIndex;
1411
+ var maxDuration = Math.max(timings.transitionDuration, timings.animationDuration);
1412
+ var maxDelay = Math.max(timings.transitionDelay, timings.animationDelay);
1413
+ var maxDelayTime = maxDelay * ONE_SECOND;
1414
+
1415
+ var startTime = Date.now();
1416
+ var css3AnimationEvents = ANIMATIONEND_EVENT + ' ' + TRANSITIONEND_EVENT;
1417
+
1418
+ var style = '', appliedStyles = [];
1419
+ if(timings.transitionDuration > 0) {
1420
+ var propertyStyle = timings.transitionPropertyStyle;
1421
+ if(propertyStyle.indexOf('all') == -1) {
1422
+ style += CSS_PREFIX + 'transition-property: ' + propertyStyle + ';';
1423
+ style += CSS_PREFIX + 'transition-duration: ' + timings.transitionDurationStyle + ';';
1424
+ appliedStyles.push(CSS_PREFIX + 'transition-property');
1425
+ appliedStyles.push(CSS_PREFIX + 'transition-duration');
1426
+ }
1427
+ }
1428
+
1429
+ if(itemIndex > 0) {
1430
+ if(stagger.transitionDelay > 0 && stagger.transitionDuration === 0) {
1431
+ var delayStyle = timings.transitionDelayStyle;
1432
+ style += CSS_PREFIX + 'transition-delay: ' +
1433
+ prepareStaggerDelay(delayStyle, stagger.transitionDelay, itemIndex) + '; ';
1434
+ appliedStyles.push(CSS_PREFIX + 'transition-delay');
1435
+ }
1436
+
1437
+ if(stagger.animationDelay > 0 && stagger.animationDuration === 0) {
1438
+ style += CSS_PREFIX + 'animation-delay: ' +
1439
+ prepareStaggerDelay(timings.animationDelayStyle, stagger.animationDelay, itemIndex) + '; ';
1440
+ appliedStyles.push(CSS_PREFIX + 'animation-delay');
1441
+ }
1442
+ }
1443
+
1444
+ if(appliedStyles.length > 0) {
1445
+ //the element being animated may sometimes contain comment nodes in
1446
+ //the jqLite object, so we're safe to use a single variable to house
1447
+ //the styles since there is always only one element being animated
1448
+ var oldStyle = node.getAttribute('style') || '';
1449
+ node.setAttribute('style', oldStyle + '; ' + style);
1450
+ }
1451
+
1452
+ element.on(css3AnimationEvents, onAnimationProgress);
1453
+ element.addClass(activeClassName);
1454
+ elementData.closeAnimationFn = function() {
1455
+ onEnd();
1456
+ activeAnimationComplete();
1457
+ };
1458
+
1459
+ var staggerTime = itemIndex * (Math.max(stagger.animationDelay, stagger.transitionDelay) || 0);
1460
+ var animationTime = (maxDelay + maxDuration) * CLOSING_TIME_BUFFER;
1461
+ var totalTime = (staggerTime + animationTime) * ONE_SECOND;
1462
+
1463
+ elementData.running++;
1464
+ animationCloseHandler(element, totalTime);
1465
+ return onEnd;
1466
+
1467
+ // This will automatically be called by $animate so
1468
+ // there is no need to attach this internally to the
1469
+ // timeout done method.
1470
+ function onEnd(cancelled) {
1471
+ element.off(css3AnimationEvents, onAnimationProgress);
1472
+ element.removeClass(activeClassName);
1473
+ animateClose(element, className);
1474
+ var node = extractElementNode(element);
1475
+ for (var i in appliedStyles) {
1476
+ node.style.removeProperty(appliedStyles[i]);
1477
+ }
1478
+ }
1479
+
1480
+ function onAnimationProgress(event) {
1481
+ event.stopPropagation();
1482
+ var ev = event.originalEvent || event;
1483
+ var timeStamp = ev.$manualTimeStamp || ev.timeStamp || Date.now();
1484
+
1485
+ /* Firefox (or possibly just Gecko) likes to not round values up
1486
+ * when a ms measurement is used for the animation */
1487
+ var elapsedTime = parseFloat(ev.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES));
1488
+
1489
+ /* $manualTimeStamp is a mocked timeStamp value which is set
1490
+ * within browserTrigger(). This is only here so that tests can
1491
+ * mock animations properly. Real events fallback to event.timeStamp,
1492
+ * or, if they don't, then a timeStamp is automatically created for them.
1493
+ * We're checking to see if the timeStamp surpasses the expected delay,
1494
+ * but we're using elapsedTime instead of the timeStamp on the 2nd
1495
+ * pre-condition since animations sometimes close off early */
1496
+ if(Math.max(timeStamp - startTime, 0) >= maxDelayTime && elapsedTime >= maxDuration) {
1497
+ activeAnimationComplete();
1498
+ }
1499
+ }
1500
+ }
1501
+
1502
+ function prepareStaggerDelay(delayStyle, staggerDelay, index) {
1503
+ var style = '';
1504
+ forEach(delayStyle.split(','), function(val, i) {
1505
+ style += (i > 0 ? ',' : '') +
1506
+ (index * staggerDelay + parseInt(val, 10)) + 's';
1507
+ });
1508
+ return style;
1509
+ }
1510
+
1511
+ function animateBefore(animationEvent, element, className, calculationDecorator) {
1512
+ if(animateSetup(animationEvent, element, className, calculationDecorator)) {
1513
+ return function(cancelled) {
1514
+ cancelled && animateClose(element, className);
1515
+ };
1516
+ }
1517
+ }
1518
+
1519
+ function animateAfter(animationEvent, element, className, afterAnimationComplete) {
1520
+ if(element.data(NG_ANIMATE_CSS_DATA_KEY)) {
1521
+ return animateRun(animationEvent, element, className, afterAnimationComplete);
1522
+ } else {
1523
+ animateClose(element, className);
1524
+ afterAnimationComplete();
1525
+ }
1526
+ }
1527
+
1528
+ function animate(animationEvent, element, className, animationComplete) {
1529
+ //If the animateSetup function doesn't bother returning a
1530
+ //cancellation function then it means that there is no animation
1531
+ //to perform at all
1532
+ var preReflowCancellation = animateBefore(animationEvent, element, className);
1533
+ if(!preReflowCancellation) {
1534
+ animationComplete();
1535
+ return;
1536
+ }
1537
+
1538
+ //There are two cancellation functions: one is before the first
1539
+ //reflow animation and the second is during the active state
1540
+ //animation. The first function will take care of removing the
1541
+ //data from the element which will not make the 2nd animation
1542
+ //happen in the first place
1543
+ var cancel = preReflowCancellation;
1544
+ afterReflow(element, function() {
1545
+ unblockTransitions(element, className);
1546
+ unblockKeyframeAnimations(element);
1547
+ //once the reflow is complete then we point cancel to
1548
+ //the new cancellation function which will remove all of the
1549
+ //animation properties from the active animation
1550
+ cancel = animateAfter(animationEvent, element, className, animationComplete);
1551
+ });
1552
+
1553
+ return function(cancelled) {
1554
+ (cancel || noop)(cancelled);
1555
+ };
1556
+ }
1557
+
1558
+ function animateClose(element, className) {
1559
+ element.removeClass(className);
1560
+ var data = element.data(NG_ANIMATE_CSS_DATA_KEY);
1561
+ if(data) {
1562
+ if(data.running) {
1563
+ data.running--;
1564
+ }
1565
+ if(!data.running || data.running === 0) {
1566
+ element.removeData(NG_ANIMATE_CSS_DATA_KEY);
1567
+ }
1568
+ }
1569
+ }
1570
+
1571
+ return {
1572
+ enter : function(element, animationCompleted) {
1573
+ return animate('enter', element, 'ng-enter', animationCompleted);
1574
+ },
1575
+
1576
+ leave : function(element, animationCompleted) {
1577
+ return animate('leave', element, 'ng-leave', animationCompleted);
1578
+ },
1579
+
1580
+ move : function(element, animationCompleted) {
1581
+ return animate('move', element, 'ng-move', animationCompleted);
1582
+ },
1583
+
1584
+ beforeSetClass : function(element, add, remove, animationCompleted) {
1585
+ var className = suffixClasses(remove, '-remove') + ' ' +
1586
+ suffixClasses(add, '-add');
1587
+ var cancellationMethod = animateBefore('setClass', element, className, function(fn) {
1588
+ /* when classes are removed from an element then the transition style
1589
+ * that is applied is the transition defined on the element without the
1590
+ * CSS class being there. This is how CSS3 functions outside of ngAnimate.
1591
+ * http://plnkr.co/edit/j8OzgTNxHTb4n3zLyjGW?p=preview */
1592
+ var klass = element.attr('class');
1593
+ element.removeClass(remove);
1594
+ element.addClass(add);
1595
+ var timings = fn();
1596
+ element.attr('class', klass);
1597
+ return timings;
1598
+ });
1599
+
1600
+ if(cancellationMethod) {
1601
+ afterReflow(element, function() {
1602
+ unblockTransitions(element, className);
1603
+ unblockKeyframeAnimations(element);
1604
+ animationCompleted();
1605
+ });
1606
+ return cancellationMethod;
1607
+ }
1608
+ animationCompleted();
1609
+ },
1610
+
1611
+ beforeAddClass : function(element, className, animationCompleted) {
1612
+ var cancellationMethod = animateBefore('addClass', element, suffixClasses(className, '-add'), function(fn) {
1613
+
1614
+ /* when a CSS class is added to an element then the transition style that
1615
+ * is applied is the transition defined on the element when the CSS class
1616
+ * is added at the time of the animation. This is how CSS3 functions
1617
+ * outside of ngAnimate. */
1618
+ element.addClass(className);
1619
+ var timings = fn();
1620
+ element.removeClass(className);
1621
+ return timings;
1622
+ });
1623
+
1624
+ if(cancellationMethod) {
1625
+ afterReflow(element, function() {
1626
+ unblockTransitions(element, className);
1627
+ unblockKeyframeAnimations(element);
1628
+ animationCompleted();
1629
+ });
1630
+ return cancellationMethod;
1631
+ }
1632
+ animationCompleted();
1633
+ },
1634
+
1635
+ setClass : function(element, add, remove, animationCompleted) {
1636
+ remove = suffixClasses(remove, '-remove');
1637
+ add = suffixClasses(add, '-add');
1638
+ var className = remove + ' ' + add;
1639
+ return animateAfter('setClass', element, className, animationCompleted);
1640
+ },
1641
+
1642
+ addClass : function(element, className, animationCompleted) {
1643
+ return animateAfter('addClass', element, suffixClasses(className, '-add'), animationCompleted);
1644
+ },
1645
+
1646
+ beforeRemoveClass : function(element, className, animationCompleted) {
1647
+ var cancellationMethod = animateBefore('removeClass', element, suffixClasses(className, '-remove'), function(fn) {
1648
+ /* when classes are removed from an element then the transition style
1649
+ * that is applied is the transition defined on the element without the
1650
+ * CSS class being there. This is how CSS3 functions outside of ngAnimate.
1651
+ * http://plnkr.co/edit/j8OzgTNxHTb4n3zLyjGW?p=preview */
1652
+ var klass = element.attr('class');
1653
+ element.removeClass(className);
1654
+ var timings = fn();
1655
+ element.attr('class', klass);
1656
+ return timings;
1657
+ });
1658
+
1659
+ if(cancellationMethod) {
1660
+ afterReflow(element, function() {
1661
+ unblockTransitions(element, className);
1662
+ unblockKeyframeAnimations(element);
1663
+ animationCompleted();
1664
+ });
1665
+ return cancellationMethod;
1666
+ }
1667
+ animationCompleted();
1668
+ },
1669
+
1670
+ removeClass : function(element, className, animationCompleted) {
1671
+ return animateAfter('removeClass', element, suffixClasses(className, '-remove'), animationCompleted);
1672
+ }
1673
+ };
1674
+
1675
+ function suffixClasses(classes, suffix) {
1676
+ var className = '';
1677
+ classes = angular.isArray(classes) ? classes : classes.split(/\s+/);
1678
+ forEach(classes, function(klass, i) {
1679
+ if(klass && klass.length > 0) {
1680
+ className += (i > 0 ? ' ' : '') + klass + suffix;
1681
+ }
1682
+ });
1683
+ return className;
1684
+ }
1685
+ }]);
1686
+ }]);
1687
+
1688
+
1689
+ })(window, window.angular);