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,2073 @@
1
+ /*!
2
+ * jQuery UI Datepicker 1.11.0
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/datepicker/
10
+ */
11
+ (function( factory ) {
12
+ if ( typeof define === "function" && define.amd ) {
13
+
14
+ // AMD. Register as an anonymous module.
15
+ define([
16
+ "jquery",
17
+ "./core"
18
+ ], factory );
19
+ } else {
20
+
21
+ // Browser globals
22
+ factory( jQuery );
23
+ }
24
+ }(function( $ ) {
25
+
26
+ $.extend($.ui, { datepicker: { version: "1.11.0" } });
27
+
28
+ var datepicker_instActive;
29
+
30
+ function datepicker_getZindex( elem ) {
31
+ var position, value;
32
+ while ( elem.length && elem[ 0 ] !== document ) {
33
+ // Ignore z-index if position is set to a value where z-index is ignored by the browser
34
+ // This makes behavior of this function consistent across browsers
35
+ // WebKit always returns auto if the element is positioned
36
+ position = elem.css( "position" );
37
+ if ( position === "absolute" || position === "relative" || position === "fixed" ) {
38
+ // IE returns 0 when zIndex is not specified
39
+ // other browsers return a string
40
+ // we ignore the case of nested elements with an explicit value of 0
41
+ // <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
42
+ value = parseInt( elem.css( "zIndex" ), 10 );
43
+ if ( !isNaN( value ) && value !== 0 ) {
44
+ return value;
45
+ }
46
+ }
47
+ elem = elem.parent();
48
+ }
49
+
50
+ return 0;
51
+ }
52
+ /* Date picker manager.
53
+ Use the singleton instance of this class, $.datepicker, to interact with the date picker.
54
+ Settings for (groups of) date pickers are maintained in an instance object,
55
+ allowing multiple different settings on the same page. */
56
+
57
+ function Datepicker() {
58
+ this._curInst = null; // The current instance in use
59
+ this._keyEvent = false; // If the last event was a key event
60
+ this._disabledInputs = []; // List of date picker inputs that have been disabled
61
+ this._datepickerShowing = false; // True if the popup picker is showing , false if not
62
+ this._inDialog = false; // True if showing within a "dialog", false if not
63
+ this._mainDivId = "ui-datepicker-div"; // The ID of the main datepicker division
64
+ this._inlineClass = "ui-datepicker-inline"; // The name of the inline marker class
65
+ this._appendClass = "ui-datepicker-append"; // The name of the append marker class
66
+ this._triggerClass = "ui-datepicker-trigger"; // The name of the trigger marker class
67
+ this._dialogClass = "ui-datepicker-dialog"; // The name of the dialog marker class
68
+ this._disableClass = "ui-datepicker-disabled"; // The name of the disabled covering marker class
69
+ this._unselectableClass = "ui-datepicker-unselectable"; // The name of the unselectable cell marker class
70
+ this._currentClass = "ui-datepicker-current-day"; // The name of the current day marker class
71
+ this._dayOverClass = "ui-datepicker-days-cell-over"; // The name of the day hover marker class
72
+ this.regional = []; // Available regional settings, indexed by language code
73
+ this.regional[""] = { // Default regional settings
74
+ closeText: "Done", // Display text for close link
75
+ prevText: "Prev", // Display text for previous month link
76
+ nextText: "Next", // Display text for next month link
77
+ currentText: "Today", // Display text for current month link
78
+ monthNames: ["January","February","March","April","May","June",
79
+ "July","August","September","October","November","December"], // Names of months for drop-down and formatting
80
+ monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], // For formatting
81
+ dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], // For formatting
82
+ dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], // For formatting
83
+ dayNamesMin: ["Su","Mo","Tu","We","Th","Fr","Sa"], // Column headings for days starting at Sunday
84
+ weekHeader: "Wk", // Column header for week of the year
85
+ dateFormat: "mm/dd/yy", // See format options on parseDate
86
+ firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
87
+ isRTL: false, // True if right-to-left language, false if left-to-right
88
+ showMonthAfterYear: false, // True if the year select precedes month, false for month then year
89
+ yearSuffix: "" // Additional text to append to the year in the month headers
90
+ };
91
+ this._defaults = { // Global defaults for all the date picker instances
92
+ showOn: "focus", // "focus" for popup on focus,
93
+ // "button" for trigger button, or "both" for either
94
+ showAnim: "fadeIn", // Name of jQuery animation for popup
95
+ showOptions: {}, // Options for enhanced animations
96
+ defaultDate: null, // Used when field is blank: actual date,
97
+ // +/-number for offset from today, null for today
98
+ appendText: "", // Display text following the input box, e.g. showing the format
99
+ buttonText: "...", // Text for trigger button
100
+ buttonImage: "", // URL for trigger button image
101
+ buttonImageOnly: false, // True if the image appears alone, false if it appears on a button
102
+ hideIfNoPrevNext: false, // True to hide next/previous month links
103
+ // if not applicable, false to just disable them
104
+ navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links
105
+ gotoCurrent: false, // True if today link goes back to current selection instead
106
+ changeMonth: false, // True if month can be selected directly, false if only prev/next
107
+ changeYear: false, // True if year can be selected directly, false if only prev/next
108
+ yearRange: "c-10:c+10", // Range of years to display in drop-down,
109
+ // either relative to today's year (-nn:+nn), relative to currently displayed year
110
+ // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)
111
+ showOtherMonths: false, // True to show dates in other months, false to leave blank
112
+ selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable
113
+ showWeek: false, // True to show week of the year, false to not show it
114
+ calculateWeek: this.iso8601Week, // How to calculate the week of the year,
115
+ // takes a Date and returns the number of the week for it
116
+ shortYearCutoff: "+10", // Short year values < this are in the current century,
117
+ // > this are in the previous century,
118
+ // string value starting with "+" for current year + value
119
+ minDate: null, // The earliest selectable date, or null for no limit
120
+ maxDate: null, // The latest selectable date, or null for no limit
121
+ duration: "fast", // Duration of display/closure
122
+ beforeShowDay: null, // Function that takes a date and returns an array with
123
+ // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "",
124
+ // [2] = cell title (optional), e.g. $.datepicker.noWeekends
125
+ beforeShow: null, // Function that takes an input field and
126
+ // returns a set of custom settings for the date picker
127
+ onSelect: null, // Define a callback function when a date is selected
128
+ onChangeMonthYear: null, // Define a callback function when the month or year is changed
129
+ onClose: null, // Define a callback function when the datepicker is closed
130
+ numberOfMonths: 1, // Number of months to show at a time
131
+ showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)
132
+ stepMonths: 1, // Number of months to step back/forward
133
+ stepBigMonths: 12, // Number of months to step back/forward for the big links
134
+ altField: "", // Selector for an alternate field to store selected dates into
135
+ altFormat: "", // The date format to use for the alternate field
136
+ constrainInput: true, // The input is constrained by the current date format
137
+ showButtonPanel: false, // True to show button panel, false to not show it
138
+ autoSize: false, // True to size the input for the date format, false to leave as is
139
+ disabled: false // The initial disabled state
140
+ };
141
+ $.extend(this._defaults, this.regional[""]);
142
+ this.regional.en = $.extend( true, {}, this.regional[ "" ]);
143
+ this.regional[ "en-US" ] = $.extend( true, {}, this.regional.en );
144
+ this.dpDiv = datepicker_bindHover($("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"));
145
+ }
146
+
147
+ $.extend(Datepicker.prototype, {
148
+ /* Class name added to elements to indicate already configured with a date picker. */
149
+ markerClassName: "hasDatepicker",
150
+
151
+ //Keep track of the maximum number of rows displayed (see #7043)
152
+ maxRows: 4,
153
+
154
+ // TODO rename to "widget" when switching to widget factory
155
+ _widgetDatepicker: function() {
156
+ return this.dpDiv;
157
+ },
158
+
159
+ /* Override the default settings for all instances of the date picker.
160
+ * @param settings object - the new settings to use as defaults (anonymous object)
161
+ * @return the manager object
162
+ */
163
+ setDefaults: function(settings) {
164
+ datepicker_extendRemove(this._defaults, settings || {});
165
+ return this;
166
+ },
167
+
168
+ /* Attach the date picker to a jQuery selection.
169
+ * @param target element - the target input field or division or span
170
+ * @param settings object - the new settings to use for this date picker instance (anonymous)
171
+ */
172
+ _attachDatepicker: function(target, settings) {
173
+ var nodeName, inline, inst;
174
+ nodeName = target.nodeName.toLowerCase();
175
+ inline = (nodeName === "div" || nodeName === "span");
176
+ if (!target.id) {
177
+ this.uuid += 1;
178
+ target.id = "dp" + this.uuid;
179
+ }
180
+ inst = this._newInst($(target), inline);
181
+ inst.settings = $.extend({}, settings || {});
182
+ if (nodeName === "input") {
183
+ this._connectDatepicker(target, inst);
184
+ } else if (inline) {
185
+ this._inlineDatepicker(target, inst);
186
+ }
187
+ },
188
+
189
+ /* Create a new instance object. */
190
+ _newInst: function(target, inline) {
191
+ var id = target[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1"); // escape jQuery meta chars
192
+ return {id: id, input: target, // associated target
193
+ selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
194
+ drawMonth: 0, drawYear: 0, // month being drawn
195
+ inline: inline, // is datepicker inline or not
196
+ dpDiv: (!inline ? this.dpDiv : // presentation div
197
+ datepicker_bindHover($("<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")))};
198
+ },
199
+
200
+ /* Attach the date picker to an input field. */
201
+ _connectDatepicker: function(target, inst) {
202
+ var input = $(target);
203
+ inst.append = $([]);
204
+ inst.trigger = $([]);
205
+ if (input.hasClass(this.markerClassName)) {
206
+ return;
207
+ }
208
+ this._attachments(input, inst);
209
+ input.addClass(this.markerClassName).keydown(this._doKeyDown).
210
+ keypress(this._doKeyPress).keyup(this._doKeyUp);
211
+ this._autoSize(inst);
212
+ $.data(target, "datepicker", inst);
213
+ //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)
214
+ if( inst.settings.disabled ) {
215
+ this._disableDatepicker( target );
216
+ }
217
+ },
218
+
219
+ /* Make attachments based on settings. */
220
+ _attachments: function(input, inst) {
221
+ var showOn, buttonText, buttonImage,
222
+ appendText = this._get(inst, "appendText"),
223
+ isRTL = this._get(inst, "isRTL");
224
+
225
+ if (inst.append) {
226
+ inst.append.remove();
227
+ }
228
+ if (appendText) {
229
+ inst.append = $("<span class='" + this._appendClass + "'>" + appendText + "</span>");
230
+ input[isRTL ? "before" : "after"](inst.append);
231
+ }
232
+
233
+ input.unbind("focus", this._showDatepicker);
234
+
235
+ if (inst.trigger) {
236
+ inst.trigger.remove();
237
+ }
238
+
239
+ showOn = this._get(inst, "showOn");
240
+ if (showOn === "focus" || showOn === "both") { // pop-up date picker when in the marked field
241
+ input.focus(this._showDatepicker);
242
+ }
243
+ if (showOn === "button" || showOn === "both") { // pop-up date picker when button clicked
244
+ buttonText = this._get(inst, "buttonText");
245
+ buttonImage = this._get(inst, "buttonImage");
246
+ inst.trigger = $(this._get(inst, "buttonImageOnly") ?
247
+ $("<img/>").addClass(this._triggerClass).
248
+ attr({ src: buttonImage, alt: buttonText, title: buttonText }) :
249
+ $("<button type='button'></button>").addClass(this._triggerClass).
250
+ html(!buttonImage ? buttonText : $("<img/>").attr(
251
+ { src:buttonImage, alt:buttonText, title:buttonText })));
252
+ input[isRTL ? "before" : "after"](inst.trigger);
253
+ inst.trigger.click(function() {
254
+ if ($.datepicker._datepickerShowing && $.datepicker._lastInput === input[0]) {
255
+ $.datepicker._hideDatepicker();
256
+ } else if ($.datepicker._datepickerShowing && $.datepicker._lastInput !== input[0]) {
257
+ $.datepicker._hideDatepicker();
258
+ $.datepicker._showDatepicker(input[0]);
259
+ } else {
260
+ $.datepicker._showDatepicker(input[0]);
261
+ }
262
+ return false;
263
+ });
264
+ }
265
+ },
266
+
267
+ /* Apply the maximum length for the date format. */
268
+ _autoSize: function(inst) {
269
+ if (this._get(inst, "autoSize") && !inst.inline) {
270
+ var findMax, max, maxI, i,
271
+ date = new Date(2009, 12 - 1, 20), // Ensure double digits
272
+ dateFormat = this._get(inst, "dateFormat");
273
+
274
+ if (dateFormat.match(/[DM]/)) {
275
+ findMax = function(names) {
276
+ max = 0;
277
+ maxI = 0;
278
+ for (i = 0; i < names.length; i++) {
279
+ if (names[i].length > max) {
280
+ max = names[i].length;
281
+ maxI = i;
282
+ }
283
+ }
284
+ return maxI;
285
+ };
286
+ date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ?
287
+ "monthNames" : "monthNamesShort"))));
288
+ date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
289
+ "dayNames" : "dayNamesShort"))) + 20 - date.getDay());
290
+ }
291
+ inst.input.attr("size", this._formatDate(inst, date).length);
292
+ }
293
+ },
294
+
295
+ /* Attach an inline date picker to a div. */
296
+ _inlineDatepicker: function(target, inst) {
297
+ var divSpan = $(target);
298
+ if (divSpan.hasClass(this.markerClassName)) {
299
+ return;
300
+ }
301
+ divSpan.addClass(this.markerClassName).append(inst.dpDiv);
302
+ $.data(target, "datepicker", inst);
303
+ this._setDate(inst, this._getDefaultDate(inst), true);
304
+ this._updateDatepicker(inst);
305
+ this._updateAlternate(inst);
306
+ //If disabled option is true, disable the datepicker before showing it (see ticket #5665)
307
+ if( inst.settings.disabled ) {
308
+ this._disableDatepicker( target );
309
+ }
310
+ // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements
311
+ // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height
312
+ inst.dpDiv.css( "display", "block" );
313
+ },
314
+
315
+ /* Pop-up the date picker in a "dialog" box.
316
+ * @param input element - ignored
317
+ * @param date string or Date - the initial date to display
318
+ * @param onSelect function - the function to call when a date is selected
319
+ * @param settings object - update the dialog date picker instance's settings (anonymous object)
320
+ * @param pos int[2] - coordinates for the dialog's position within the screen or
321
+ * event - with x/y coordinates or
322
+ * leave empty for default (screen centre)
323
+ * @return the manager object
324
+ */
325
+ _dialogDatepicker: function(input, date, onSelect, settings, pos) {
326
+ var id, browserWidth, browserHeight, scrollX, scrollY,
327
+ inst = this._dialogInst; // internal instance
328
+
329
+ if (!inst) {
330
+ this.uuid += 1;
331
+ id = "dp" + this.uuid;
332
+ this._dialogInput = $("<input type='text' id='" + id +
333
+ "' style='position: absolute; top: -100px; width: 0px;'/>");
334
+ this._dialogInput.keydown(this._doKeyDown);
335
+ $("body").append(this._dialogInput);
336
+ inst = this._dialogInst = this._newInst(this._dialogInput, false);
337
+ inst.settings = {};
338
+ $.data(this._dialogInput[0], "datepicker", inst);
339
+ }
340
+ datepicker_extendRemove(inst.settings, settings || {});
341
+ date = (date && date.constructor === Date ? this._formatDate(inst, date) : date);
342
+ this._dialogInput.val(date);
343
+
344
+ this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null);
345
+ if (!this._pos) {
346
+ browserWidth = document.documentElement.clientWidth;
347
+ browserHeight = document.documentElement.clientHeight;
348
+ scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
349
+ scrollY = document.documentElement.scrollTop || document.body.scrollTop;
350
+ this._pos = // should use actual width/height below
351
+ [(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY];
352
+ }
353
+
354
+ // move input on screen for focus, but hidden behind dialog
355
+ this._dialogInput.css("left", (this._pos[0] + 20) + "px").css("top", this._pos[1] + "px");
356
+ inst.settings.onSelect = onSelect;
357
+ this._inDialog = true;
358
+ this.dpDiv.addClass(this._dialogClass);
359
+ this._showDatepicker(this._dialogInput[0]);
360
+ if ($.blockUI) {
361
+ $.blockUI(this.dpDiv);
362
+ }
363
+ $.data(this._dialogInput[0], "datepicker", inst);
364
+ return this;
365
+ },
366
+
367
+ /* Detach a datepicker from its control.
368
+ * @param target element - the target input field or division or span
369
+ */
370
+ _destroyDatepicker: function(target) {
371
+ var nodeName,
372
+ $target = $(target),
373
+ inst = $.data(target, "datepicker");
374
+
375
+ if (!$target.hasClass(this.markerClassName)) {
376
+ return;
377
+ }
378
+
379
+ nodeName = target.nodeName.toLowerCase();
380
+ $.removeData(target, "datepicker");
381
+ if (nodeName === "input") {
382
+ inst.append.remove();
383
+ inst.trigger.remove();
384
+ $target.removeClass(this.markerClassName).
385
+ unbind("focus", this._showDatepicker).
386
+ unbind("keydown", this._doKeyDown).
387
+ unbind("keypress", this._doKeyPress).
388
+ unbind("keyup", this._doKeyUp);
389
+ } else if (nodeName === "div" || nodeName === "span") {
390
+ $target.removeClass(this.markerClassName).empty();
391
+ }
392
+ },
393
+
394
+ /* Enable the date picker to a jQuery selection.
395
+ * @param target element - the target input field or division or span
396
+ */
397
+ _enableDatepicker: function(target) {
398
+ var nodeName, inline,
399
+ $target = $(target),
400
+ inst = $.data(target, "datepicker");
401
+
402
+ if (!$target.hasClass(this.markerClassName)) {
403
+ return;
404
+ }
405
+
406
+ nodeName = target.nodeName.toLowerCase();
407
+ if (nodeName === "input") {
408
+ target.disabled = false;
409
+ inst.trigger.filter("button").
410
+ each(function() { this.disabled = false; }).end().
411
+ filter("img").css({opacity: "1.0", cursor: ""});
412
+ } else if (nodeName === "div" || nodeName === "span") {
413
+ inline = $target.children("." + this._inlineClass);
414
+ inline.children().removeClass("ui-state-disabled");
415
+ inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
416
+ prop("disabled", false);
417
+ }
418
+ this._disabledInputs = $.map(this._disabledInputs,
419
+ function(value) { return (value === target ? null : value); }); // delete entry
420
+ },
421
+
422
+ /* Disable the date picker to a jQuery selection.
423
+ * @param target element - the target input field or division or span
424
+ */
425
+ _disableDatepicker: function(target) {
426
+ var nodeName, inline,
427
+ $target = $(target),
428
+ inst = $.data(target, "datepicker");
429
+
430
+ if (!$target.hasClass(this.markerClassName)) {
431
+ return;
432
+ }
433
+
434
+ nodeName = target.nodeName.toLowerCase();
435
+ if (nodeName === "input") {
436
+ target.disabled = true;
437
+ inst.trigger.filter("button").
438
+ each(function() { this.disabled = true; }).end().
439
+ filter("img").css({opacity: "0.5", cursor: "default"});
440
+ } else if (nodeName === "div" || nodeName === "span") {
441
+ inline = $target.children("." + this._inlineClass);
442
+ inline.children().addClass("ui-state-disabled");
443
+ inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
444
+ prop("disabled", true);
445
+ }
446
+ this._disabledInputs = $.map(this._disabledInputs,
447
+ function(value) { return (value === target ? null : value); }); // delete entry
448
+ this._disabledInputs[this._disabledInputs.length] = target;
449
+ },
450
+
451
+ /* Is the first field in a jQuery collection disabled as a datepicker?
452
+ * @param target element - the target input field or division or span
453
+ * @return boolean - true if disabled, false if enabled
454
+ */
455
+ _isDisabledDatepicker: function(target) {
456
+ if (!target) {
457
+ return false;
458
+ }
459
+ for (var i = 0; i < this._disabledInputs.length; i++) {
460
+ if (this._disabledInputs[i] === target) {
461
+ return true;
462
+ }
463
+ }
464
+ return false;
465
+ },
466
+
467
+ /* Retrieve the instance data for the target control.
468
+ * @param target element - the target input field or division or span
469
+ * @return object - the associated instance data
470
+ * @throws error if a jQuery problem getting data
471
+ */
472
+ _getInst: function(target) {
473
+ try {
474
+ return $.data(target, "datepicker");
475
+ }
476
+ catch (err) {
477
+ throw "Missing instance data for this datepicker";
478
+ }
479
+ },
480
+
481
+ /* Update or retrieve the settings for a date picker attached to an input field or division.
482
+ * @param target element - the target input field or division or span
483
+ * @param name object - the new settings to update or
484
+ * string - the name of the setting to change or retrieve,
485
+ * when retrieving also "all" for all instance settings or
486
+ * "defaults" for all global defaults
487
+ * @param value any - the new value for the setting
488
+ * (omit if above is an object or to retrieve a value)
489
+ */
490
+ _optionDatepicker: function(target, name, value) {
491
+ var settings, date, minDate, maxDate,
492
+ inst = this._getInst(target);
493
+
494
+ if (arguments.length === 2 && typeof name === "string") {
495
+ return (name === "defaults" ? $.extend({}, $.datepicker._defaults) :
496
+ (inst ? (name === "all" ? $.extend({}, inst.settings) :
497
+ this._get(inst, name)) : null));
498
+ }
499
+
500
+ settings = name || {};
501
+ if (typeof name === "string") {
502
+ settings = {};
503
+ settings[name] = value;
504
+ }
505
+
506
+ if (inst) {
507
+ if (this._curInst === inst) {
508
+ this._hideDatepicker();
509
+ }
510
+
511
+ date = this._getDateDatepicker(target, true);
512
+ minDate = this._getMinMaxDate(inst, "min");
513
+ maxDate = this._getMinMaxDate(inst, "max");
514
+ datepicker_extendRemove(inst.settings, settings);
515
+ // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided
516
+ if (minDate !== null && settings.dateFormat !== undefined && settings.minDate === undefined) {
517
+ inst.settings.minDate = this._formatDate(inst, minDate);
518
+ }
519
+ if (maxDate !== null && settings.dateFormat !== undefined && settings.maxDate === undefined) {
520
+ inst.settings.maxDate = this._formatDate(inst, maxDate);
521
+ }
522
+ if ( "disabled" in settings ) {
523
+ if ( settings.disabled ) {
524
+ this._disableDatepicker(target);
525
+ } else {
526
+ this._enableDatepicker(target);
527
+ }
528
+ }
529
+ this._attachments($(target), inst);
530
+ this._autoSize(inst);
531
+ this._setDate(inst, date);
532
+ this._updateAlternate(inst);
533
+ this._updateDatepicker(inst);
534
+ }
535
+ },
536
+
537
+ // change method deprecated
538
+ _changeDatepicker: function(target, name, value) {
539
+ this._optionDatepicker(target, name, value);
540
+ },
541
+
542
+ /* Redraw the date picker attached to an input field or division.
543
+ * @param target element - the target input field or division or span
544
+ */
545
+ _refreshDatepicker: function(target) {
546
+ var inst = this._getInst(target);
547
+ if (inst) {
548
+ this._updateDatepicker(inst);
549
+ }
550
+ },
551
+
552
+ /* Set the dates for a jQuery selection.
553
+ * @param target element - the target input field or division or span
554
+ * @param date Date - the new date
555
+ */
556
+ _setDateDatepicker: function(target, date) {
557
+ var inst = this._getInst(target);
558
+ if (inst) {
559
+ this._setDate(inst, date);
560
+ this._updateDatepicker(inst);
561
+ this._updateAlternate(inst);
562
+ }
563
+ },
564
+
565
+ /* Get the date(s) for the first entry in a jQuery selection.
566
+ * @param target element - the target input field or division or span
567
+ * @param noDefault boolean - true if no default date is to be used
568
+ * @return Date - the current date
569
+ */
570
+ _getDateDatepicker: function(target, noDefault) {
571
+ var inst = this._getInst(target);
572
+ if (inst && !inst.inline) {
573
+ this._setDateFromField(inst, noDefault);
574
+ }
575
+ return (inst ? this._getDate(inst) : null);
576
+ },
577
+
578
+ /* Handle keystrokes. */
579
+ _doKeyDown: function(event) {
580
+ var onSelect, dateStr, sel,
581
+ inst = $.datepicker._getInst(event.target),
582
+ handled = true,
583
+ isRTL = inst.dpDiv.is(".ui-datepicker-rtl");
584
+
585
+ inst._keyEvent = true;
586
+ if ($.datepicker._datepickerShowing) {
587
+ switch (event.keyCode) {
588
+ case 9: $.datepicker._hideDatepicker();
589
+ handled = false;
590
+ break; // hide on tab out
591
+ case 13: sel = $("td." + $.datepicker._dayOverClass + ":not(." +
592
+ $.datepicker._currentClass + ")", inst.dpDiv);
593
+ if (sel[0]) {
594
+ $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]);
595
+ }
596
+
597
+ onSelect = $.datepicker._get(inst, "onSelect");
598
+ if (onSelect) {
599
+ dateStr = $.datepicker._formatDate(inst);
600
+
601
+ // trigger custom callback
602
+ onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]);
603
+ } else {
604
+ $.datepicker._hideDatepicker();
605
+ }
606
+
607
+ return false; // don't submit the form
608
+ case 27: $.datepicker._hideDatepicker();
609
+ break; // hide on escape
610
+ case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
611
+ -$.datepicker._get(inst, "stepBigMonths") :
612
+ -$.datepicker._get(inst, "stepMonths")), "M");
613
+ break; // previous month/year on page up/+ ctrl
614
+ case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
615
+ +$.datepicker._get(inst, "stepBigMonths") :
616
+ +$.datepicker._get(inst, "stepMonths")), "M");
617
+ break; // next month/year on page down/+ ctrl
618
+ case 35: if (event.ctrlKey || event.metaKey) {
619
+ $.datepicker._clearDate(event.target);
620
+ }
621
+ handled = event.ctrlKey || event.metaKey;
622
+ break; // clear on ctrl or command +end
623
+ case 36: if (event.ctrlKey || event.metaKey) {
624
+ $.datepicker._gotoToday(event.target);
625
+ }
626
+ handled = event.ctrlKey || event.metaKey;
627
+ break; // current on ctrl or command +home
628
+ case 37: if (event.ctrlKey || event.metaKey) {
629
+ $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), "D");
630
+ }
631
+ handled = event.ctrlKey || event.metaKey;
632
+ // -1 day on ctrl or command +left
633
+ if (event.originalEvent.altKey) {
634
+ $.datepicker._adjustDate(event.target, (event.ctrlKey ?
635
+ -$.datepicker._get(inst, "stepBigMonths") :
636
+ -$.datepicker._get(inst, "stepMonths")), "M");
637
+ }
638
+ // next month/year on alt +left on Mac
639
+ break;
640
+ case 38: if (event.ctrlKey || event.metaKey) {
641
+ $.datepicker._adjustDate(event.target, -7, "D");
642
+ }
643
+ handled = event.ctrlKey || event.metaKey;
644
+ break; // -1 week on ctrl or command +up
645
+ case 39: if (event.ctrlKey || event.metaKey) {
646
+ $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), "D");
647
+ }
648
+ handled = event.ctrlKey || event.metaKey;
649
+ // +1 day on ctrl or command +right
650
+ if (event.originalEvent.altKey) {
651
+ $.datepicker._adjustDate(event.target, (event.ctrlKey ?
652
+ +$.datepicker._get(inst, "stepBigMonths") :
653
+ +$.datepicker._get(inst, "stepMonths")), "M");
654
+ }
655
+ // next month/year on alt +right
656
+ break;
657
+ case 40: if (event.ctrlKey || event.metaKey) {
658
+ $.datepicker._adjustDate(event.target, +7, "D");
659
+ }
660
+ handled = event.ctrlKey || event.metaKey;
661
+ break; // +1 week on ctrl or command +down
662
+ default: handled = false;
663
+ }
664
+ } else if (event.keyCode === 36 && event.ctrlKey) { // display the date picker on ctrl+home
665
+ $.datepicker._showDatepicker(this);
666
+ } else {
667
+ handled = false;
668
+ }
669
+
670
+ if (handled) {
671
+ event.preventDefault();
672
+ event.stopPropagation();
673
+ }
674
+ },
675
+
676
+ /* Filter entered characters - based on date format. */
677
+ _doKeyPress: function(event) {
678
+ var chars, chr,
679
+ inst = $.datepicker._getInst(event.target);
680
+
681
+ if ($.datepicker._get(inst, "constrainInput")) {
682
+ chars = $.datepicker._possibleChars($.datepicker._get(inst, "dateFormat"));
683
+ chr = String.fromCharCode(event.charCode == null ? event.keyCode : event.charCode);
684
+ return event.ctrlKey || event.metaKey || (chr < " " || !chars || chars.indexOf(chr) > -1);
685
+ }
686
+ },
687
+
688
+ /* Synchronise manual entry and field/alternate field. */
689
+ _doKeyUp: function(event) {
690
+ var date,
691
+ inst = $.datepicker._getInst(event.target);
692
+
693
+ if (inst.input.val() !== inst.lastVal) {
694
+ try {
695
+ date = $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
696
+ (inst.input ? inst.input.val() : null),
697
+ $.datepicker._getFormatConfig(inst));
698
+
699
+ if (date) { // only if valid
700
+ $.datepicker._setDateFromField(inst);
701
+ $.datepicker._updateAlternate(inst);
702
+ $.datepicker._updateDatepicker(inst);
703
+ }
704
+ }
705
+ catch (err) {
706
+ }
707
+ }
708
+ return true;
709
+ },
710
+
711
+ /* Pop-up the date picker for a given input field.
712
+ * If false returned from beforeShow event handler do not show.
713
+ * @param input element - the input field attached to the date picker or
714
+ * event - if triggered by focus
715
+ */
716
+ _showDatepicker: function(input) {
717
+ input = input.target || input;
718
+ if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger
719
+ input = $("input", input.parentNode)[0];
720
+ }
721
+
722
+ if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput === input) { // already here
723
+ return;
724
+ }
725
+
726
+ var inst, beforeShow, beforeShowSettings, isFixed,
727
+ offset, showAnim, duration;
728
+
729
+ inst = $.datepicker._getInst(input);
730
+ if ($.datepicker._curInst && $.datepicker._curInst !== inst) {
731
+ $.datepicker._curInst.dpDiv.stop(true, true);
732
+ if ( inst && $.datepicker._datepickerShowing ) {
733
+ $.datepicker._hideDatepicker( $.datepicker._curInst.input[0] );
734
+ }
735
+ }
736
+
737
+ beforeShow = $.datepicker._get(inst, "beforeShow");
738
+ beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {};
739
+ if(beforeShowSettings === false){
740
+ return;
741
+ }
742
+ datepicker_extendRemove(inst.settings, beforeShowSettings);
743
+
744
+ inst.lastVal = null;
745
+ $.datepicker._lastInput = input;
746
+ $.datepicker._setDateFromField(inst);
747
+
748
+ if ($.datepicker._inDialog) { // hide cursor
749
+ input.value = "";
750
+ }
751
+ if (!$.datepicker._pos) { // position below input
752
+ $.datepicker._pos = $.datepicker._findPos(input);
753
+ $.datepicker._pos[1] += input.offsetHeight; // add the height
754
+ }
755
+
756
+ isFixed = false;
757
+ $(input).parents().each(function() {
758
+ isFixed |= $(this).css("position") === "fixed";
759
+ return !isFixed;
760
+ });
761
+
762
+ offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};
763
+ $.datepicker._pos = null;
764
+ //to avoid flashes on Firefox
765
+ inst.dpDiv.empty();
766
+ // determine sizing offscreen
767
+ inst.dpDiv.css({position: "absolute", display: "block", top: "-1000px"});
768
+ $.datepicker._updateDatepicker(inst);
769
+ // fix width for dynamic number of date pickers
770
+ // and adjust position before showing
771
+ offset = $.datepicker._checkOffset(inst, offset, isFixed);
772
+ inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ?
773
+ "static" : (isFixed ? "fixed" : "absolute")), display: "none",
774
+ left: offset.left + "px", top: offset.top + "px"});
775
+
776
+ if (!inst.inline) {
777
+ showAnim = $.datepicker._get(inst, "showAnim");
778
+ duration = $.datepicker._get(inst, "duration");
779
+ inst.dpDiv.css( "z-index", datepicker_getZindex( $( input ) ) + 1 );
780
+ $.datepicker._datepickerShowing = true;
781
+
782
+ if ( $.effects && $.effects.effect[ showAnim ] ) {
783
+ inst.dpDiv.show(showAnim, $.datepicker._get(inst, "showOptions"), duration);
784
+ } else {
785
+ inst.dpDiv[showAnim || "show"](showAnim ? duration : null);
786
+ }
787
+
788
+ if ( $.datepicker._shouldFocusInput( inst ) ) {
789
+ inst.input.focus();
790
+ }
791
+
792
+ $.datepicker._curInst = inst;
793
+ }
794
+ },
795
+
796
+ /* Generate the date picker content. */
797
+ _updateDatepicker: function(inst) {
798
+ this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
799
+ datepicker_instActive = inst; // for delegate hover events
800
+ inst.dpDiv.empty().append(this._generateHTML(inst));
801
+ this._attachHandlers(inst);
802
+ inst.dpDiv.find("." + this._dayOverClass + " a");
803
+
804
+ var origyearshtml,
805
+ numMonths = this._getNumberOfMonths(inst),
806
+ cols = numMonths[1],
807
+ width = 17;
808
+
809
+ inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");
810
+ if (cols > 1) {
811
+ inst.dpDiv.addClass("ui-datepicker-multi-" + cols).css("width", (width * cols) + "em");
812
+ }
813
+ inst.dpDiv[(numMonths[0] !== 1 || numMonths[1] !== 1 ? "add" : "remove") +
814
+ "Class"]("ui-datepicker-multi");
815
+ inst.dpDiv[(this._get(inst, "isRTL") ? "add" : "remove") +
816
+ "Class"]("ui-datepicker-rtl");
817
+
818
+ if (inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) {
819
+ inst.input.focus();
820
+ }
821
+
822
+ // deffered render of the years select (to avoid flashes on Firefox)
823
+ if( inst.yearshtml ){
824
+ origyearshtml = inst.yearshtml;
825
+ setTimeout(function(){
826
+ //assure that inst.yearshtml didn't change.
827
+ if( origyearshtml === inst.yearshtml && inst.yearshtml ){
828
+ inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml);
829
+ }
830
+ origyearshtml = inst.yearshtml = null;
831
+ }, 0);
832
+ }
833
+ },
834
+
835
+ // #6694 - don't focus the input if it's already focused
836
+ // this breaks the change event in IE
837
+ // Support: IE and jQuery <1.9
838
+ _shouldFocusInput: function( inst ) {
839
+ return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" ) && !inst.input.is( ":focus" );
840
+ },
841
+
842
+ /* Check positioning to remain on screen. */
843
+ _checkOffset: function(inst, offset, isFixed) {
844
+ var dpWidth = inst.dpDiv.outerWidth(),
845
+ dpHeight = inst.dpDiv.outerHeight(),
846
+ inputWidth = inst.input ? inst.input.outerWidth() : 0,
847
+ inputHeight = inst.input ? inst.input.outerHeight() : 0,
848
+ viewWidth = document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft()),
849
+ viewHeight = document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop());
850
+
851
+ offset.left -= (this._get(inst, "isRTL") ? (dpWidth - inputWidth) : 0);
852
+ offset.left -= (isFixed && offset.left === inst.input.offset().left) ? $(document).scrollLeft() : 0;
853
+ offset.top -= (isFixed && offset.top === (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0;
854
+
855
+ // now check if datepicker is showing outside window viewport - move to a better place if so.
856
+ offset.left -= Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?
857
+ Math.abs(offset.left + dpWidth - viewWidth) : 0);
858
+ offset.top -= Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?
859
+ Math.abs(dpHeight + inputHeight) : 0);
860
+
861
+ return offset;
862
+ },
863
+
864
+ /* Find an object's position on the screen. */
865
+ _findPos: function(obj) {
866
+ var position,
867
+ inst = this._getInst(obj),
868
+ isRTL = this._get(inst, "isRTL");
869
+
870
+ while (obj && (obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden(obj))) {
871
+ obj = obj[isRTL ? "previousSibling" : "nextSibling"];
872
+ }
873
+
874
+ position = $(obj).offset();
875
+ return [position.left, position.top];
876
+ },
877
+
878
+ /* Hide the date picker from view.
879
+ * @param input element - the input field attached to the date picker
880
+ */
881
+ _hideDatepicker: function(input) {
882
+ var showAnim, duration, postProcess, onClose,
883
+ inst = this._curInst;
884
+
885
+ if (!inst || (input && inst !== $.data(input, "datepicker"))) {
886
+ return;
887
+ }
888
+
889
+ if (this._datepickerShowing) {
890
+ showAnim = this._get(inst, "showAnim");
891
+ duration = this._get(inst, "duration");
892
+ postProcess = function() {
893
+ $.datepicker._tidyDialog(inst);
894
+ };
895
+
896
+ // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
897
+ if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {
898
+ inst.dpDiv.hide(showAnim, $.datepicker._get(inst, "showOptions"), duration, postProcess);
899
+ } else {
900
+ inst.dpDiv[(showAnim === "slideDown" ? "slideUp" :
901
+ (showAnim === "fadeIn" ? "fadeOut" : "hide"))]((showAnim ? duration : null), postProcess);
902
+ }
903
+
904
+ if (!showAnim) {
905
+ postProcess();
906
+ }
907
+ this._datepickerShowing = false;
908
+
909
+ onClose = this._get(inst, "onClose");
910
+ if (onClose) {
911
+ onClose.apply((inst.input ? inst.input[0] : null), [(inst.input ? inst.input.val() : ""), inst]);
912
+ }
913
+
914
+ this._lastInput = null;
915
+ if (this._inDialog) {
916
+ this._dialogInput.css({ position: "absolute", left: "0", top: "-100px" });
917
+ if ($.blockUI) {
918
+ $.unblockUI();
919
+ $("body").append(this.dpDiv);
920
+ }
921
+ }
922
+ this._inDialog = false;
923
+ }
924
+ },
925
+
926
+ /* Tidy up after a dialog display. */
927
+ _tidyDialog: function(inst) {
928
+ inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar");
929
+ },
930
+
931
+ /* Close date picker if clicked elsewhere. */
932
+ _checkExternalClick: function(event) {
933
+ if (!$.datepicker._curInst) {
934
+ return;
935
+ }
936
+
937
+ var $target = $(event.target),
938
+ inst = $.datepicker._getInst($target[0]);
939
+
940
+ if ( ( ( $target[0].id !== $.datepicker._mainDivId &&
941
+ $target.parents("#" + $.datepicker._mainDivId).length === 0 &&
942
+ !$target.hasClass($.datepicker.markerClassName) &&
943
+ !$target.closest("." + $.datepicker._triggerClass).length &&
944
+ $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
945
+ ( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst !== inst ) ) {
946
+ $.datepicker._hideDatepicker();
947
+ }
948
+ },
949
+
950
+ /* Adjust one of the date sub-fields. */
951
+ _adjustDate: function(id, offset, period) {
952
+ var target = $(id),
953
+ inst = this._getInst(target[0]);
954
+
955
+ if (this._isDisabledDatepicker(target[0])) {
956
+ return;
957
+ }
958
+ this._adjustInstDate(inst, offset +
959
+ (period === "M" ? this._get(inst, "showCurrentAtPos") : 0), // undo positioning
960
+ period);
961
+ this._updateDatepicker(inst);
962
+ },
963
+
964
+ /* Action for current link. */
965
+ _gotoToday: function(id) {
966
+ var date,
967
+ target = $(id),
968
+ inst = this._getInst(target[0]);
969
+
970
+ if (this._get(inst, "gotoCurrent") && inst.currentDay) {
971
+ inst.selectedDay = inst.currentDay;
972
+ inst.drawMonth = inst.selectedMonth = inst.currentMonth;
973
+ inst.drawYear = inst.selectedYear = inst.currentYear;
974
+ } else {
975
+ date = new Date();
976
+ inst.selectedDay = date.getDate();
977
+ inst.drawMonth = inst.selectedMonth = date.getMonth();
978
+ inst.drawYear = inst.selectedYear = date.getFullYear();
979
+ }
980
+ this._notifyChange(inst);
981
+ this._adjustDate(target);
982
+ },
983
+
984
+ /* Action for selecting a new month/year. */
985
+ _selectMonthYear: function(id, select, period) {
986
+ var target = $(id),
987
+ inst = this._getInst(target[0]);
988
+
989
+ inst["selected" + (period === "M" ? "Month" : "Year")] =
990
+ inst["draw" + (period === "M" ? "Month" : "Year")] =
991
+ parseInt(select.options[select.selectedIndex].value,10);
992
+
993
+ this._notifyChange(inst);
994
+ this._adjustDate(target);
995
+ },
996
+
997
+ /* Action for selecting a day. */
998
+ _selectDay: function(id, month, year, td) {
999
+ var inst,
1000
+ target = $(id);
1001
+
1002
+ if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) {
1003
+ return;
1004
+ }
1005
+
1006
+ inst = this._getInst(target[0]);
1007
+ inst.selectedDay = inst.currentDay = $("a", td).html();
1008
+ inst.selectedMonth = inst.currentMonth = month;
1009
+ inst.selectedYear = inst.currentYear = year;
1010
+ this._selectDate(id, this._formatDate(inst,
1011
+ inst.currentDay, inst.currentMonth, inst.currentYear));
1012
+ },
1013
+
1014
+ /* Erase the input field and hide the date picker. */
1015
+ _clearDate: function(id) {
1016
+ var target = $(id);
1017
+ this._selectDate(target, "");
1018
+ },
1019
+
1020
+ /* Update the input field with the selected date. */
1021
+ _selectDate: function(id, dateStr) {
1022
+ var onSelect,
1023
+ target = $(id),
1024
+ inst = this._getInst(target[0]);
1025
+
1026
+ dateStr = (dateStr != null ? dateStr : this._formatDate(inst));
1027
+ if (inst.input) {
1028
+ inst.input.val(dateStr);
1029
+ }
1030
+ this._updateAlternate(inst);
1031
+
1032
+ onSelect = this._get(inst, "onSelect");
1033
+ if (onSelect) {
1034
+ onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback
1035
+ } else if (inst.input) {
1036
+ inst.input.trigger("change"); // fire the change event
1037
+ }
1038
+
1039
+ if (inst.inline){
1040
+ this._updateDatepicker(inst);
1041
+ } else {
1042
+ this._hideDatepicker();
1043
+ this._lastInput = inst.input[0];
1044
+ if (typeof(inst.input[0]) !== "object") {
1045
+ inst.input.focus(); // restore focus
1046
+ }
1047
+ this._lastInput = null;
1048
+ }
1049
+ },
1050
+
1051
+ /* Update any alternate field to synchronise with the main field. */
1052
+ _updateAlternate: function(inst) {
1053
+ var altFormat, date, dateStr,
1054
+ altField = this._get(inst, "altField");
1055
+
1056
+ if (altField) { // update alternate field too
1057
+ altFormat = this._get(inst, "altFormat") || this._get(inst, "dateFormat");
1058
+ date = this._getDate(inst);
1059
+ dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));
1060
+ $(altField).each(function() { $(this).val(dateStr); });
1061
+ }
1062
+ },
1063
+
1064
+ /* Set as beforeShowDay function to prevent selection of weekends.
1065
+ * @param date Date - the date to customise
1066
+ * @return [boolean, string] - is this date selectable?, what is its CSS class?
1067
+ */
1068
+ noWeekends: function(date) {
1069
+ var day = date.getDay();
1070
+ return [(day > 0 && day < 6), ""];
1071
+ },
1072
+
1073
+ /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.
1074
+ * @param date Date - the date to get the week for
1075
+ * @return number - the number of the week within the year that contains this date
1076
+ */
1077
+ iso8601Week: function(date) {
1078
+ var time,
1079
+ checkDate = new Date(date.getTime());
1080
+
1081
+ // Find Thursday of this week starting on Monday
1082
+ checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));
1083
+
1084
+ time = checkDate.getTime();
1085
+ checkDate.setMonth(0); // Compare with Jan 1
1086
+ checkDate.setDate(1);
1087
+ return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1;
1088
+ },
1089
+
1090
+ /* Parse a string value into a date object.
1091
+ * See formatDate below for the possible formats.
1092
+ *
1093
+ * @param format string - the expected format of the date
1094
+ * @param value string - the date in the above format
1095
+ * @param settings Object - attributes include:
1096
+ * shortYearCutoff number - the cutoff year for determining the century (optional)
1097
+ * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
1098
+ * dayNames string[7] - names of the days from Sunday (optional)
1099
+ * monthNamesShort string[12] - abbreviated names of the months (optional)
1100
+ * monthNames string[12] - names of the months (optional)
1101
+ * @return Date - the extracted date value or null if value is blank
1102
+ */
1103
+ parseDate: function (format, value, settings) {
1104
+ if (format == null || value == null) {
1105
+ throw "Invalid arguments";
1106
+ }
1107
+
1108
+ value = (typeof value === "object" ? value.toString() : value + "");
1109
+ if (value === "") {
1110
+ return null;
1111
+ }
1112
+
1113
+ var iFormat, dim, extra,
1114
+ iValue = 0,
1115
+ shortYearCutoffTemp = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff,
1116
+ shortYearCutoff = (typeof shortYearCutoffTemp !== "string" ? shortYearCutoffTemp :
1117
+ new Date().getFullYear() % 100 + parseInt(shortYearCutoffTemp, 10)),
1118
+ dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,
1119
+ dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,
1120
+ monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,
1121
+ monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,
1122
+ year = -1,
1123
+ month = -1,
1124
+ day = -1,
1125
+ doy = -1,
1126
+ literal = false,
1127
+ date,
1128
+ // Check whether a format character is doubled
1129
+ lookAhead = function(match) {
1130
+ var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
1131
+ if (matches) {
1132
+ iFormat++;
1133
+ }
1134
+ return matches;
1135
+ },
1136
+ // Extract a number from the string value
1137
+ getNumber = function(match) {
1138
+ var isDoubled = lookAhead(match),
1139
+ size = (match === "@" ? 14 : (match === "!" ? 20 :
1140
+ (match === "y" && isDoubled ? 4 : (match === "o" ? 3 : 2)))),
1141
+ digits = new RegExp("^\\d{1," + size + "}"),
1142
+ num = value.substring(iValue).match(digits);
1143
+ if (!num) {
1144
+ throw "Missing number at position " + iValue;
1145
+ }
1146
+ iValue += num[0].length;
1147
+ return parseInt(num[0], 10);
1148
+ },
1149
+ // Extract a name from the string value and convert to an index
1150
+ getName = function(match, shortNames, longNames) {
1151
+ var index = -1,
1152
+ names = $.map(lookAhead(match) ? longNames : shortNames, function (v, k) {
1153
+ return [ [k, v] ];
1154
+ }).sort(function (a, b) {
1155
+ return -(a[1].length - b[1].length);
1156
+ });
1157
+
1158
+ $.each(names, function (i, pair) {
1159
+ var name = pair[1];
1160
+ if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {
1161
+ index = pair[0];
1162
+ iValue += name.length;
1163
+ return false;
1164
+ }
1165
+ });
1166
+ if (index !== -1) {
1167
+ return index + 1;
1168
+ } else {
1169
+ throw "Unknown name at position " + iValue;
1170
+ }
1171
+ },
1172
+ // Confirm that a literal character matches the string value
1173
+ checkLiteral = function() {
1174
+ if (value.charAt(iValue) !== format.charAt(iFormat)) {
1175
+ throw "Unexpected literal at position " + iValue;
1176
+ }
1177
+ iValue++;
1178
+ };
1179
+
1180
+ for (iFormat = 0; iFormat < format.length; iFormat++) {
1181
+ if (literal) {
1182
+ if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
1183
+ literal = false;
1184
+ } else {
1185
+ checkLiteral();
1186
+ }
1187
+ } else {
1188
+ switch (format.charAt(iFormat)) {
1189
+ case "d":
1190
+ day = getNumber("d");
1191
+ break;
1192
+ case "D":
1193
+ getName("D", dayNamesShort, dayNames);
1194
+ break;
1195
+ case "o":
1196
+ doy = getNumber("o");
1197
+ break;
1198
+ case "m":
1199
+ month = getNumber("m");
1200
+ break;
1201
+ case "M":
1202
+ month = getName("M", monthNamesShort, monthNames);
1203
+ break;
1204
+ case "y":
1205
+ year = getNumber("y");
1206
+ break;
1207
+ case "@":
1208
+ date = new Date(getNumber("@"));
1209
+ year = date.getFullYear();
1210
+ month = date.getMonth() + 1;
1211
+ day = date.getDate();
1212
+ break;
1213
+ case "!":
1214
+ date = new Date((getNumber("!") - this._ticksTo1970) / 10000);
1215
+ year = date.getFullYear();
1216
+ month = date.getMonth() + 1;
1217
+ day = date.getDate();
1218
+ break;
1219
+ case "'":
1220
+ if (lookAhead("'")){
1221
+ checkLiteral();
1222
+ } else {
1223
+ literal = true;
1224
+ }
1225
+ break;
1226
+ default:
1227
+ checkLiteral();
1228
+ }
1229
+ }
1230
+ }
1231
+
1232
+ if (iValue < value.length){
1233
+ extra = value.substr(iValue);
1234
+ if (!/^\s+/.test(extra)) {
1235
+ throw "Extra/unparsed characters found in date: " + extra;
1236
+ }
1237
+ }
1238
+
1239
+ if (year === -1) {
1240
+ year = new Date().getFullYear();
1241
+ } else if (year < 100) {
1242
+ year += new Date().getFullYear() - new Date().getFullYear() % 100 +
1243
+ (year <= shortYearCutoff ? 0 : -100);
1244
+ }
1245
+
1246
+ if (doy > -1) {
1247
+ month = 1;
1248
+ day = doy;
1249
+ do {
1250
+ dim = this._getDaysInMonth(year, month - 1);
1251
+ if (day <= dim) {
1252
+ break;
1253
+ }
1254
+ month++;
1255
+ day -= dim;
1256
+ } while (true);
1257
+ }
1258
+
1259
+ date = this._daylightSavingAdjust(new Date(year, month - 1, day));
1260
+ if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {
1261
+ throw "Invalid date"; // E.g. 31/02/00
1262
+ }
1263
+ return date;
1264
+ },
1265
+
1266
+ /* Standard date formats. */
1267
+ ATOM: "yy-mm-dd", // RFC 3339 (ISO 8601)
1268
+ COOKIE: "D, dd M yy",
1269
+ ISO_8601: "yy-mm-dd",
1270
+ RFC_822: "D, d M y",
1271
+ RFC_850: "DD, dd-M-y",
1272
+ RFC_1036: "D, d M y",
1273
+ RFC_1123: "D, d M yy",
1274
+ RFC_2822: "D, d M yy",
1275
+ RSS: "D, d M y", // RFC 822
1276
+ TICKS: "!",
1277
+ TIMESTAMP: "@",
1278
+ W3C: "yy-mm-dd", // ISO 8601
1279
+
1280
+ _ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) +
1281
+ Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000),
1282
+
1283
+ /* Format a date object into a string value.
1284
+ * The format can be combinations of the following:
1285
+ * d - day of month (no leading zero)
1286
+ * dd - day of month (two digit)
1287
+ * o - day of year (no leading zeros)
1288
+ * oo - day of year (three digit)
1289
+ * D - day name short
1290
+ * DD - day name long
1291
+ * m - month of year (no leading zero)
1292
+ * mm - month of year (two digit)
1293
+ * M - month name short
1294
+ * MM - month name long
1295
+ * y - year (two digit)
1296
+ * yy - year (four digit)
1297
+ * @ - Unix timestamp (ms since 01/01/1970)
1298
+ * ! - Windows ticks (100ns since 01/01/0001)
1299
+ * "..." - literal text
1300
+ * '' - single quote
1301
+ *
1302
+ * @param format string - the desired format of the date
1303
+ * @param date Date - the date value to format
1304
+ * @param settings Object - attributes include:
1305
+ * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
1306
+ * dayNames string[7] - names of the days from Sunday (optional)
1307
+ * monthNamesShort string[12] - abbreviated names of the months (optional)
1308
+ * monthNames string[12] - names of the months (optional)
1309
+ * @return string - the date in the above format
1310
+ */
1311
+ formatDate: function (format, date, settings) {
1312
+ if (!date) {
1313
+ return "";
1314
+ }
1315
+
1316
+ var iFormat,
1317
+ dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,
1318
+ dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,
1319
+ monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,
1320
+ monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,
1321
+ // Check whether a format character is doubled
1322
+ lookAhead = function(match) {
1323
+ var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
1324
+ if (matches) {
1325
+ iFormat++;
1326
+ }
1327
+ return matches;
1328
+ },
1329
+ // Format a number, with leading zero if necessary
1330
+ formatNumber = function(match, value, len) {
1331
+ var num = "" + value;
1332
+ if (lookAhead(match)) {
1333
+ while (num.length < len) {
1334
+ num = "0" + num;
1335
+ }
1336
+ }
1337
+ return num;
1338
+ },
1339
+ // Format a name, short or long as requested
1340
+ formatName = function(match, value, shortNames, longNames) {
1341
+ return (lookAhead(match) ? longNames[value] : shortNames[value]);
1342
+ },
1343
+ output = "",
1344
+ literal = false;
1345
+
1346
+ if (date) {
1347
+ for (iFormat = 0; iFormat < format.length; iFormat++) {
1348
+ if (literal) {
1349
+ if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
1350
+ literal = false;
1351
+ } else {
1352
+ output += format.charAt(iFormat);
1353
+ }
1354
+ } else {
1355
+ switch (format.charAt(iFormat)) {
1356
+ case "d":
1357
+ output += formatNumber("d", date.getDate(), 2);
1358
+ break;
1359
+ case "D":
1360
+ output += formatName("D", date.getDay(), dayNamesShort, dayNames);
1361
+ break;
1362
+ case "o":
1363
+ output += formatNumber("o",
1364
+ Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);
1365
+ break;
1366
+ case "m":
1367
+ output += formatNumber("m", date.getMonth() + 1, 2);
1368
+ break;
1369
+ case "M":
1370
+ output += formatName("M", date.getMonth(), monthNamesShort, monthNames);
1371
+ break;
1372
+ case "y":
1373
+ output += (lookAhead("y") ? date.getFullYear() :
1374
+ (date.getYear() % 100 < 10 ? "0" : "") + date.getYear() % 100);
1375
+ break;
1376
+ case "@":
1377
+ output += date.getTime();
1378
+ break;
1379
+ case "!":
1380
+ output += date.getTime() * 10000 + this._ticksTo1970;
1381
+ break;
1382
+ case "'":
1383
+ if (lookAhead("'")) {
1384
+ output += "'";
1385
+ } else {
1386
+ literal = true;
1387
+ }
1388
+ break;
1389
+ default:
1390
+ output += format.charAt(iFormat);
1391
+ }
1392
+ }
1393
+ }
1394
+ }
1395
+ return output;
1396
+ },
1397
+
1398
+ /* Extract all possible characters from the date format. */
1399
+ _possibleChars: function (format) {
1400
+ var iFormat,
1401
+ chars = "",
1402
+ literal = false,
1403
+ // Check whether a format character is doubled
1404
+ lookAhead = function(match) {
1405
+ var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
1406
+ if (matches) {
1407
+ iFormat++;
1408
+ }
1409
+ return matches;
1410
+ };
1411
+
1412
+ for (iFormat = 0; iFormat < format.length; iFormat++) {
1413
+ if (literal) {
1414
+ if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
1415
+ literal = false;
1416
+ } else {
1417
+ chars += format.charAt(iFormat);
1418
+ }
1419
+ } else {
1420
+ switch (format.charAt(iFormat)) {
1421
+ case "d": case "m": case "y": case "@":
1422
+ chars += "0123456789";
1423
+ break;
1424
+ case "D": case "M":
1425
+ return null; // Accept anything
1426
+ case "'":
1427
+ if (lookAhead("'")) {
1428
+ chars += "'";
1429
+ } else {
1430
+ literal = true;
1431
+ }
1432
+ break;
1433
+ default:
1434
+ chars += format.charAt(iFormat);
1435
+ }
1436
+ }
1437
+ }
1438
+ return chars;
1439
+ },
1440
+
1441
+ /* Get a setting value, defaulting if necessary. */
1442
+ _get: function(inst, name) {
1443
+ return inst.settings[name] !== undefined ?
1444
+ inst.settings[name] : this._defaults[name];
1445
+ },
1446
+
1447
+ /* Parse existing date and initialise date picker. */
1448
+ _setDateFromField: function(inst, noDefault) {
1449
+ if (inst.input.val() === inst.lastVal) {
1450
+ return;
1451
+ }
1452
+
1453
+ var dateFormat = this._get(inst, "dateFormat"),
1454
+ dates = inst.lastVal = inst.input ? inst.input.val() : null,
1455
+ defaultDate = this._getDefaultDate(inst),
1456
+ date = defaultDate,
1457
+ settings = this._getFormatConfig(inst);
1458
+
1459
+ try {
1460
+ date = this.parseDate(dateFormat, dates, settings) || defaultDate;
1461
+ } catch (event) {
1462
+ dates = (noDefault ? "" : dates);
1463
+ }
1464
+ inst.selectedDay = date.getDate();
1465
+ inst.drawMonth = inst.selectedMonth = date.getMonth();
1466
+ inst.drawYear = inst.selectedYear = date.getFullYear();
1467
+ inst.currentDay = (dates ? date.getDate() : 0);
1468
+ inst.currentMonth = (dates ? date.getMonth() : 0);
1469
+ inst.currentYear = (dates ? date.getFullYear() : 0);
1470
+ this._adjustInstDate(inst);
1471
+ },
1472
+
1473
+ /* Retrieve the default date shown on opening. */
1474
+ _getDefaultDate: function(inst) {
1475
+ return this._restrictMinMax(inst,
1476
+ this._determineDate(inst, this._get(inst, "defaultDate"), new Date()));
1477
+ },
1478
+
1479
+ /* A date may be specified as an exact value or a relative one. */
1480
+ _determineDate: function(inst, date, defaultDate) {
1481
+ var offsetNumeric = function(offset) {
1482
+ var date = new Date();
1483
+ date.setDate(date.getDate() + offset);
1484
+ return date;
1485
+ },
1486
+ offsetString = function(offset) {
1487
+ try {
1488
+ return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
1489
+ offset, $.datepicker._getFormatConfig(inst));
1490
+ }
1491
+ catch (e) {
1492
+ // Ignore
1493
+ }
1494
+
1495
+ var date = (offset.toLowerCase().match(/^c/) ?
1496
+ $.datepicker._getDate(inst) : null) || new Date(),
1497
+ year = date.getFullYear(),
1498
+ month = date.getMonth(),
1499
+ day = date.getDate(),
1500
+ pattern = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,
1501
+ matches = pattern.exec(offset);
1502
+
1503
+ while (matches) {
1504
+ switch (matches[2] || "d") {
1505
+ case "d" : case "D" :
1506
+ day += parseInt(matches[1],10); break;
1507
+ case "w" : case "W" :
1508
+ day += parseInt(matches[1],10) * 7; break;
1509
+ case "m" : case "M" :
1510
+ month += parseInt(matches[1],10);
1511
+ day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
1512
+ break;
1513
+ case "y": case "Y" :
1514
+ year += parseInt(matches[1],10);
1515
+ day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
1516
+ break;
1517
+ }
1518
+ matches = pattern.exec(offset);
1519
+ }
1520
+ return new Date(year, month, day);
1521
+ },
1522
+ newDate = (date == null || date === "" ? defaultDate : (typeof date === "string" ? offsetString(date) :
1523
+ (typeof date === "number" ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime()))));
1524
+
1525
+ newDate = (newDate && newDate.toString() === "Invalid Date" ? defaultDate : newDate);
1526
+ if (newDate) {
1527
+ newDate.setHours(0);
1528
+ newDate.setMinutes(0);
1529
+ newDate.setSeconds(0);
1530
+ newDate.setMilliseconds(0);
1531
+ }
1532
+ return this._daylightSavingAdjust(newDate);
1533
+ },
1534
+
1535
+ /* Handle switch to/from daylight saving.
1536
+ * Hours may be non-zero on daylight saving cut-over:
1537
+ * > 12 when midnight changeover, but then cannot generate
1538
+ * midnight datetime, so jump to 1AM, otherwise reset.
1539
+ * @param date (Date) the date to check
1540
+ * @return (Date) the corrected date
1541
+ */
1542
+ _daylightSavingAdjust: function(date) {
1543
+ if (!date) {
1544
+ return null;
1545
+ }
1546
+ date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);
1547
+ return date;
1548
+ },
1549
+
1550
+ /* Set the date(s) directly. */
1551
+ _setDate: function(inst, date, noChange) {
1552
+ var clear = !date,
1553
+ origMonth = inst.selectedMonth,
1554
+ origYear = inst.selectedYear,
1555
+ newDate = this._restrictMinMax(inst, this._determineDate(inst, date, new Date()));
1556
+
1557
+ inst.selectedDay = inst.currentDay = newDate.getDate();
1558
+ inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();
1559
+ inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();
1560
+ if ((origMonth !== inst.selectedMonth || origYear !== inst.selectedYear) && !noChange) {
1561
+ this._notifyChange(inst);
1562
+ }
1563
+ this._adjustInstDate(inst);
1564
+ if (inst.input) {
1565
+ inst.input.val(clear ? "" : this._formatDate(inst));
1566
+ }
1567
+ },
1568
+
1569
+ /* Retrieve the date(s) directly. */
1570
+ _getDate: function(inst) {
1571
+ var startDate = (!inst.currentYear || (inst.input && inst.input.val() === "") ? null :
1572
+ this._daylightSavingAdjust(new Date(
1573
+ inst.currentYear, inst.currentMonth, inst.currentDay)));
1574
+ return startDate;
1575
+ },
1576
+
1577
+ /* Attach the onxxx handlers. These are declared statically so
1578
+ * they work with static code transformers like Caja.
1579
+ */
1580
+ _attachHandlers: function(inst) {
1581
+ var stepMonths = this._get(inst, "stepMonths"),
1582
+ id = "#" + inst.id.replace( /\\\\/g, "\\" );
1583
+ inst.dpDiv.find("[data-handler]").map(function () {
1584
+ var handler = {
1585
+ prev: function () {
1586
+ $.datepicker._adjustDate(id, -stepMonths, "M");
1587
+ },
1588
+ next: function () {
1589
+ $.datepicker._adjustDate(id, +stepMonths, "M");
1590
+ },
1591
+ hide: function () {
1592
+ $.datepicker._hideDatepicker();
1593
+ },
1594
+ today: function () {
1595
+ $.datepicker._gotoToday(id);
1596
+ },
1597
+ selectDay: function () {
1598
+ $.datepicker._selectDay(id, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this);
1599
+ return false;
1600
+ },
1601
+ selectMonth: function () {
1602
+ $.datepicker._selectMonthYear(id, this, "M");
1603
+ return false;
1604
+ },
1605
+ selectYear: function () {
1606
+ $.datepicker._selectMonthYear(id, this, "Y");
1607
+ return false;
1608
+ }
1609
+ };
1610
+ $(this).bind(this.getAttribute("data-event"), handler[this.getAttribute("data-handler")]);
1611
+ });
1612
+ },
1613
+
1614
+ /* Generate the HTML for the current state of the date picker. */
1615
+ _generateHTML: function(inst) {
1616
+ var maxDraw, prevText, prev, nextText, next, currentText, gotoDate,
1617
+ controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin,
1618
+ monthNames, monthNamesShort, beforeShowDay, showOtherMonths,
1619
+ selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate,
1620
+ cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows,
1621
+ printDate, dRow, tbody, daySettings, otherMonth, unselectable,
1622
+ tempDate = new Date(),
1623
+ today = this._daylightSavingAdjust(
1624
+ new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate())), // clear time
1625
+ isRTL = this._get(inst, "isRTL"),
1626
+ showButtonPanel = this._get(inst, "showButtonPanel"),
1627
+ hideIfNoPrevNext = this._get(inst, "hideIfNoPrevNext"),
1628
+ navigationAsDateFormat = this._get(inst, "navigationAsDateFormat"),
1629
+ numMonths = this._getNumberOfMonths(inst),
1630
+ showCurrentAtPos = this._get(inst, "showCurrentAtPos"),
1631
+ stepMonths = this._get(inst, "stepMonths"),
1632
+ isMultiMonth = (numMonths[0] !== 1 || numMonths[1] !== 1),
1633
+ currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) :
1634
+ new Date(inst.currentYear, inst.currentMonth, inst.currentDay))),
1635
+ minDate = this._getMinMaxDate(inst, "min"),
1636
+ maxDate = this._getMinMaxDate(inst, "max"),
1637
+ drawMonth = inst.drawMonth - showCurrentAtPos,
1638
+ drawYear = inst.drawYear;
1639
+
1640
+ if (drawMonth < 0) {
1641
+ drawMonth += 12;
1642
+ drawYear--;
1643
+ }
1644
+ if (maxDate) {
1645
+ maxDraw = this._daylightSavingAdjust(new Date(maxDate.getFullYear(),
1646
+ maxDate.getMonth() - (numMonths[0] * numMonths[1]) + 1, maxDate.getDate()));
1647
+ maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw);
1648
+ while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) {
1649
+ drawMonth--;
1650
+ if (drawMonth < 0) {
1651
+ drawMonth = 11;
1652
+ drawYear--;
1653
+ }
1654
+ }
1655
+ }
1656
+ inst.drawMonth = drawMonth;
1657
+ inst.drawYear = drawYear;
1658
+
1659
+ prevText = this._get(inst, "prevText");
1660
+ prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText,
1661
+ this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),
1662
+ this._getFormatConfig(inst)));
1663
+
1664
+ prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
1665
+ "<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
1666
+ " title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" :
1667
+ (hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+ prevText +"'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>"));
1668
+
1669
+ nextText = this._get(inst, "nextText");
1670
+ nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,
1671
+ this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),
1672
+ this._getFormatConfig(inst)));
1673
+
1674
+ next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
1675
+ "<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
1676
+ " title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" :
1677
+ (hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+ nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>"));
1678
+
1679
+ currentText = this._get(inst, "currentText");
1680
+ gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);
1681
+ currentText = (!navigationAsDateFormat ? currentText :
1682
+ this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
1683
+
1684
+ controls = (!inst.inline ? "<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>" +
1685
+ this._get(inst, "closeText") + "</button>" : "");
1686
+
1687
+ buttonPanel = (showButtonPanel) ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (isRTL ? controls : "") +
1688
+ (this._isInRange(inst, gotoDate) ? "<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'" +
1689
+ ">" + currentText + "</button>" : "") + (isRTL ? "" : controls) + "</div>" : "";
1690
+
1691
+ firstDay = parseInt(this._get(inst, "firstDay"),10);
1692
+ firstDay = (isNaN(firstDay) ? 0 : firstDay);
1693
+
1694
+ showWeek = this._get(inst, "showWeek");
1695
+ dayNames = this._get(inst, "dayNames");
1696
+ dayNamesMin = this._get(inst, "dayNamesMin");
1697
+ monthNames = this._get(inst, "monthNames");
1698
+ monthNamesShort = this._get(inst, "monthNamesShort");
1699
+ beforeShowDay = this._get(inst, "beforeShowDay");
1700
+ showOtherMonths = this._get(inst, "showOtherMonths");
1701
+ selectOtherMonths = this._get(inst, "selectOtherMonths");
1702
+ defaultDate = this._getDefaultDate(inst);
1703
+ html = "";
1704
+ dow;
1705
+ for (row = 0; row < numMonths[0]; row++) {
1706
+ group = "";
1707
+ this.maxRows = 4;
1708
+ for (col = 0; col < numMonths[1]; col++) {
1709
+ selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay));
1710
+ cornerClass = " ui-corner-all";
1711
+ calender = "";
1712
+ if (isMultiMonth) {
1713
+ calender += "<div class='ui-datepicker-group";
1714
+ if (numMonths[1] > 1) {
1715
+ switch (col) {
1716
+ case 0: calender += " ui-datepicker-group-first";
1717
+ cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break;
1718
+ case numMonths[1]-1: calender += " ui-datepicker-group-last";
1719
+ cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break;
1720
+ default: calender += " ui-datepicker-group-middle"; cornerClass = ""; break;
1721
+ }
1722
+ }
1723
+ calender += "'>";
1724
+ }
1725
+ calender += "<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix" + cornerClass + "'>" +
1726
+ (/all|left/.test(cornerClass) && row === 0 ? (isRTL ? next : prev) : "") +
1727
+ (/all|right/.test(cornerClass) && row === 0 ? (isRTL ? prev : next) : "") +
1728
+ this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate,
1729
+ row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers
1730
+ "</div><table class='ui-datepicker-calendar'><thead>" +
1731
+ "<tr>";
1732
+ thead = (showWeek ? "<th class='ui-datepicker-week-col'>" + this._get(inst, "weekHeader") + "</th>" : "");
1733
+ for (dow = 0; dow < 7; dow++) { // days of the week
1734
+ day = (dow + firstDay) % 7;
1735
+ thead += "<th scope='col'" + ((dow + firstDay + 6) % 7 >= 5 ? " class='ui-datepicker-week-end'" : "") + ">" +
1736
+ "<span title='" + dayNames[day] + "'>" + dayNamesMin[day] + "</span></th>";
1737
+ }
1738
+ calender += thead + "</tr></thead><tbody>";
1739
+ daysInMonth = this._getDaysInMonth(drawYear, drawMonth);
1740
+ if (drawYear === inst.selectedYear && drawMonth === inst.selectedMonth) {
1741
+ inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);
1742
+ }
1743
+ leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;
1744
+ curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate
1745
+ numRows = (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043)
1746
+ this.maxRows = numRows;
1747
+ printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays));
1748
+ for (dRow = 0; dRow < numRows; dRow++) { // create date picker rows
1749
+ calender += "<tr>";
1750
+ tbody = (!showWeek ? "" : "<td class='ui-datepicker-week-col'>" +
1751
+ this._get(inst, "calculateWeek")(printDate) + "</td>");
1752
+ for (dow = 0; dow < 7; dow++) { // create date picker days
1753
+ daySettings = (beforeShowDay ?
1754
+ beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, ""]);
1755
+ otherMonth = (printDate.getMonth() !== drawMonth);
1756
+ unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] ||
1757
+ (minDate && printDate < minDate) || (maxDate && printDate > maxDate);
1758
+ tbody += "<td class='" +
1759
+ ((dow + firstDay + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + // highlight weekends
1760
+ (otherMonth ? " ui-datepicker-other-month" : "") + // highlight days from other months
1761
+ ((printDate.getTime() === selectedDate.getTime() && drawMonth === inst.selectedMonth && inst._keyEvent) || // user pressed key
1762
+ (defaultDate.getTime() === printDate.getTime() && defaultDate.getTime() === selectedDate.getTime()) ?
1763
+ // or defaultDate is current printedDate and defaultDate is selectedDate
1764
+ " " + this._dayOverClass : "") + // highlight selected day
1765
+ (unselectable ? " " + this._unselectableClass + " ui-state-disabled": "") + // highlight unselectable days
1766
+ (otherMonth && !showOtherMonths ? "" : " " + daySettings[1] + // highlight custom dates
1767
+ (printDate.getTime() === currentDate.getTime() ? " " + this._currentClass : "") + // highlight selected day
1768
+ (printDate.getTime() === today.getTime() ? " ui-datepicker-today" : "")) + "'" + // highlight today (if different)
1769
+ ((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "&#39;") + "'" : "") + // cell title
1770
+ (unselectable ? "" : " data-handler='selectDay' data-event='click' data-month='" + printDate.getMonth() + "' data-year='" + printDate.getFullYear() + "'") + ">" + // actions
1771
+ (otherMonth && !showOtherMonths ? "&#xa0;" : // display for other months
1772
+ (unselectable ? "<span class='ui-state-default'>" + printDate.getDate() + "</span>" : "<a class='ui-state-default" +
1773
+ (printDate.getTime() === today.getTime() ? " ui-state-highlight" : "") +
1774
+ (printDate.getTime() === currentDate.getTime() ? " ui-state-active" : "") + // highlight selected day
1775
+ (otherMonth ? " ui-priority-secondary" : "") + // distinguish dates from other months
1776
+ "' href='#'>" + printDate.getDate() + "</a>")) + "</td>"; // display selectable date
1777
+ printDate.setDate(printDate.getDate() + 1);
1778
+ printDate = this._daylightSavingAdjust(printDate);
1779
+ }
1780
+ calender += tbody + "</tr>";
1781
+ }
1782
+ drawMonth++;
1783
+ if (drawMonth > 11) {
1784
+ drawMonth = 0;
1785
+ drawYear++;
1786
+ }
1787
+ calender += "</tbody></table>" + (isMultiMonth ? "</div>" +
1788
+ ((numMonths[0] > 0 && col === numMonths[1]-1) ? "<div class='ui-datepicker-row-break'></div>" : "") : "");
1789
+ group += calender;
1790
+ }
1791
+ html += group;
1792
+ }
1793
+ html += buttonPanel;
1794
+ inst._keyEvent = false;
1795
+ return html;
1796
+ },
1797
+
1798
+ /* Generate the month and year header. */
1799
+ _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
1800
+ secondary, monthNames, monthNamesShort) {
1801
+
1802
+ var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,
1803
+ changeMonth = this._get(inst, "changeMonth"),
1804
+ changeYear = this._get(inst, "changeYear"),
1805
+ showMonthAfterYear = this._get(inst, "showMonthAfterYear"),
1806
+ html = "<div class='ui-datepicker-title'>",
1807
+ monthHtml = "";
1808
+
1809
+ // month selection
1810
+ if (secondary || !changeMonth) {
1811
+ monthHtml += "<span class='ui-datepicker-month'>" + monthNames[drawMonth] + "</span>";
1812
+ } else {
1813
+ inMinYear = (minDate && minDate.getFullYear() === drawYear);
1814
+ inMaxYear = (maxDate && maxDate.getFullYear() === drawYear);
1815
+ monthHtml += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>";
1816
+ for ( month = 0; month < 12; month++) {
1817
+ if ((!inMinYear || month >= minDate.getMonth()) && (!inMaxYear || month <= maxDate.getMonth())) {
1818
+ monthHtml += "<option value='" + month + "'" +
1819
+ (month === drawMonth ? " selected='selected'" : "") +
1820
+ ">" + monthNamesShort[month] + "</option>";
1821
+ }
1822
+ }
1823
+ monthHtml += "</select>";
1824
+ }
1825
+
1826
+ if (!showMonthAfterYear) {
1827
+ html += monthHtml + (secondary || !(changeMonth && changeYear) ? "&#xa0;" : "");
1828
+ }
1829
+
1830
+ // year selection
1831
+ if ( !inst.yearshtml ) {
1832
+ inst.yearshtml = "";
1833
+ if (secondary || !changeYear) {
1834
+ html += "<span class='ui-datepicker-year'>" + drawYear + "</span>";
1835
+ } else {
1836
+ // determine range of years to display
1837
+ years = this._get(inst, "yearRange").split(":");
1838
+ thisYear = new Date().getFullYear();
1839
+ determineYear = function(value) {
1840
+ var year = (value.match(/c[+\-].*/) ? drawYear + parseInt(value.substring(1), 10) :
1841
+ (value.match(/[+\-].*/) ? thisYear + parseInt(value, 10) :
1842
+ parseInt(value, 10)));
1843
+ return (isNaN(year) ? thisYear : year);
1844
+ };
1845
+ year = determineYear(years[0]);
1846
+ endYear = Math.max(year, determineYear(years[1] || ""));
1847
+ year = (minDate ? Math.max(year, minDate.getFullYear()) : year);
1848
+ endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);
1849
+ inst.yearshtml += "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";
1850
+ for (; year <= endYear; year++) {
1851
+ inst.yearshtml += "<option value='" + year + "'" +
1852
+ (year === drawYear ? " selected='selected'" : "") +
1853
+ ">" + year + "</option>";
1854
+ }
1855
+ inst.yearshtml += "</select>";
1856
+
1857
+ html += inst.yearshtml;
1858
+ inst.yearshtml = null;
1859
+ }
1860
+ }
1861
+
1862
+ html += this._get(inst, "yearSuffix");
1863
+ if (showMonthAfterYear) {
1864
+ html += (secondary || !(changeMonth && changeYear) ? "&#xa0;" : "") + monthHtml;
1865
+ }
1866
+ html += "</div>"; // Close datepicker_header
1867
+ return html;
1868
+ },
1869
+
1870
+ /* Adjust one of the date sub-fields. */
1871
+ _adjustInstDate: function(inst, offset, period) {
1872
+ var year = inst.drawYear + (period === "Y" ? offset : 0),
1873
+ month = inst.drawMonth + (period === "M" ? offset : 0),
1874
+ day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period === "D" ? offset : 0),
1875
+ date = this._restrictMinMax(inst, this._daylightSavingAdjust(new Date(year, month, day)));
1876
+
1877
+ inst.selectedDay = date.getDate();
1878
+ inst.drawMonth = inst.selectedMonth = date.getMonth();
1879
+ inst.drawYear = inst.selectedYear = date.getFullYear();
1880
+ if (period === "M" || period === "Y") {
1881
+ this._notifyChange(inst);
1882
+ }
1883
+ },
1884
+
1885
+ /* Ensure a date is within any min/max bounds. */
1886
+ _restrictMinMax: function(inst, date) {
1887
+ var minDate = this._getMinMaxDate(inst, "min"),
1888
+ maxDate = this._getMinMaxDate(inst, "max"),
1889
+ newDate = (minDate && date < minDate ? minDate : date);
1890
+ return (maxDate && newDate > maxDate ? maxDate : newDate);
1891
+ },
1892
+
1893
+ /* Notify change of month/year. */
1894
+ _notifyChange: function(inst) {
1895
+ var onChange = this._get(inst, "onChangeMonthYear");
1896
+ if (onChange) {
1897
+ onChange.apply((inst.input ? inst.input[0] : null),
1898
+ [inst.selectedYear, inst.selectedMonth + 1, inst]);
1899
+ }
1900
+ },
1901
+
1902
+ /* Determine the number of months to show. */
1903
+ _getNumberOfMonths: function(inst) {
1904
+ var numMonths = this._get(inst, "numberOfMonths");
1905
+ return (numMonths == null ? [1, 1] : (typeof numMonths === "number" ? [1, numMonths] : numMonths));
1906
+ },
1907
+
1908
+ /* Determine the current maximum date - ensure no time components are set. */
1909
+ _getMinMaxDate: function(inst, minMax) {
1910
+ return this._determineDate(inst, this._get(inst, minMax + "Date"), null);
1911
+ },
1912
+
1913
+ /* Find the number of days in a given month. */
1914
+ _getDaysInMonth: function(year, month) {
1915
+ return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate();
1916
+ },
1917
+
1918
+ /* Find the day of the week of the first of a month. */
1919
+ _getFirstDayOfMonth: function(year, month) {
1920
+ return new Date(year, month, 1).getDay();
1921
+ },
1922
+
1923
+ /* Determines if we should allow a "next/prev" month display change. */
1924
+ _canAdjustMonth: function(inst, offset, curYear, curMonth) {
1925
+ var numMonths = this._getNumberOfMonths(inst),
1926
+ date = this._daylightSavingAdjust(new Date(curYear,
1927
+ curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]), 1));
1928
+
1929
+ if (offset < 0) {
1930
+ date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth()));
1931
+ }
1932
+ return this._isInRange(inst, date);
1933
+ },
1934
+
1935
+ /* Is the given date in the accepted range? */
1936
+ _isInRange: function(inst, date) {
1937
+ var yearSplit, currentYear,
1938
+ minDate = this._getMinMaxDate(inst, "min"),
1939
+ maxDate = this._getMinMaxDate(inst, "max"),
1940
+ minYear = null,
1941
+ maxYear = null,
1942
+ years = this._get(inst, "yearRange");
1943
+ if (years){
1944
+ yearSplit = years.split(":");
1945
+ currentYear = new Date().getFullYear();
1946
+ minYear = parseInt(yearSplit[0], 10);
1947
+ maxYear = parseInt(yearSplit[1], 10);
1948
+ if ( yearSplit[0].match(/[+\-].*/) ) {
1949
+ minYear += currentYear;
1950
+ }
1951
+ if ( yearSplit[1].match(/[+\-].*/) ) {
1952
+ maxYear += currentYear;
1953
+ }
1954
+ }
1955
+
1956
+ return ((!minDate || date.getTime() >= minDate.getTime()) &&
1957
+ (!maxDate || date.getTime() <= maxDate.getTime()) &&
1958
+ (!minYear || date.getFullYear() >= minYear) &&
1959
+ (!maxYear || date.getFullYear() <= maxYear));
1960
+ },
1961
+
1962
+ /* Provide the configuration settings for formatting/parsing. */
1963
+ _getFormatConfig: function(inst) {
1964
+ var shortYearCutoff = this._get(inst, "shortYearCutoff");
1965
+ shortYearCutoff = (typeof shortYearCutoff !== "string" ? shortYearCutoff :
1966
+ new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10));
1967
+ return {shortYearCutoff: shortYearCutoff,
1968
+ dayNamesShort: this._get(inst, "dayNamesShort"), dayNames: this._get(inst, "dayNames"),
1969
+ monthNamesShort: this._get(inst, "monthNamesShort"), monthNames: this._get(inst, "monthNames")};
1970
+ },
1971
+
1972
+ /* Format the given date for display. */
1973
+ _formatDate: function(inst, day, month, year) {
1974
+ if (!day) {
1975
+ inst.currentDay = inst.selectedDay;
1976
+ inst.currentMonth = inst.selectedMonth;
1977
+ inst.currentYear = inst.selectedYear;
1978
+ }
1979
+ var date = (day ? (typeof day === "object" ? day :
1980
+ this._daylightSavingAdjust(new Date(year, month, day))) :
1981
+ this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay)));
1982
+ return this.formatDate(this._get(inst, "dateFormat"), date, this._getFormatConfig(inst));
1983
+ }
1984
+ });
1985
+
1986
+ /*
1987
+ * Bind hover events for datepicker elements.
1988
+ * Done via delegate so the binding only occurs once in the lifetime of the parent div.
1989
+ * Global datepicker_instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.
1990
+ */
1991
+ function datepicker_bindHover(dpDiv) {
1992
+ var selector = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
1993
+ return dpDiv.delegate(selector, "mouseout", function() {
1994
+ $(this).removeClass("ui-state-hover");
1995
+ if (this.className.indexOf("ui-datepicker-prev") !== -1) {
1996
+ $(this).removeClass("ui-datepicker-prev-hover");
1997
+ }
1998
+ if (this.className.indexOf("ui-datepicker-next") !== -1) {
1999
+ $(this).removeClass("ui-datepicker-next-hover");
2000
+ }
2001
+ })
2002
+ .delegate(selector, "mouseover", function(){
2003
+ if (!$.datepicker._isDisabledDatepicker( datepicker_instActive.inline ? dpDiv.parent()[0] : datepicker_instActive.input[0])) {
2004
+ $(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
2005
+ $(this).addClass("ui-state-hover");
2006
+ if (this.className.indexOf("ui-datepicker-prev") !== -1) {
2007
+ $(this).addClass("ui-datepicker-prev-hover");
2008
+ }
2009
+ if (this.className.indexOf("ui-datepicker-next") !== -1) {
2010
+ $(this).addClass("ui-datepicker-next-hover");
2011
+ }
2012
+ }
2013
+ });
2014
+ }
2015
+
2016
+ /* jQuery extend now ignores nulls! */
2017
+ function datepicker_extendRemove(target, props) {
2018
+ $.extend(target, props);
2019
+ for (var name in props) {
2020
+ if (props[name] == null) {
2021
+ target[name] = props[name];
2022
+ }
2023
+ }
2024
+ return target;
2025
+ }
2026
+
2027
+ /* Invoke the datepicker functionality.
2028
+ @param options string - a command, optionally followed by additional parameters or
2029
+ Object - settings for attaching new datepicker functionality
2030
+ @return jQuery object */
2031
+ $.fn.datepicker = function(options){
2032
+
2033
+ /* Verify an empty collection wasn't passed - Fixes #6976 */
2034
+ if ( !this.length ) {
2035
+ return this;
2036
+ }
2037
+
2038
+ /* Initialise the date picker. */
2039
+ if (!$.datepicker.initialized) {
2040
+ $(document).mousedown($.datepicker._checkExternalClick);
2041
+ $.datepicker.initialized = true;
2042
+ }
2043
+
2044
+ /* Append datepicker main container to body if not exist. */
2045
+ if ($("#"+$.datepicker._mainDivId).length === 0) {
2046
+ $("body").append($.datepicker.dpDiv);
2047
+ }
2048
+
2049
+ var otherArgs = Array.prototype.slice.call(arguments, 1);
2050
+ if (typeof options === "string" && (options === "isDisabled" || options === "getDate" || options === "widget")) {
2051
+ return $.datepicker["_" + options + "Datepicker"].
2052
+ apply($.datepicker, [this[0]].concat(otherArgs));
2053
+ }
2054
+ if (options === "option" && arguments.length === 2 && typeof arguments[1] === "string") {
2055
+ return $.datepicker["_" + options + "Datepicker"].
2056
+ apply($.datepicker, [this[0]].concat(otherArgs));
2057
+ }
2058
+ return this.each(function() {
2059
+ typeof options === "string" ?
2060
+ $.datepicker["_" + options + "Datepicker"].
2061
+ apply($.datepicker, [this].concat(otherArgs)) :
2062
+ $.datepicker._attachDatepicker(this, options);
2063
+ });
2064
+ };
2065
+
2066
+ $.datepicker = new Datepicker(); // singleton instance
2067
+ $.datepicker.initialized = false;
2068
+ $.datepicker.uuid = new Date().getTime();
2069
+ $.datepicker.version = "1.11.0";
2070
+
2071
+ return $.datepicker;
2072
+
2073
+ }));