rearview 1.0.0.rc1-jruby → 1.0.0.rc2-jruby

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1814) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rails +8 -0
  3. data/lib/rearview/version.rb +1 -1
  4. data/public/favicon.ico +0 -0
  5. data/public/help/alert.html +20 -0
  6. data/public/help/quick.html +34 -0
  7. data/public/monitors/index.json +3 -0
  8. data/public/monitors/outage.rb +2 -0
  9. data/public/rearview-src/css/rearview.css +1 -0
  10. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.eot +0 -0
  11. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.svg +249 -0
  12. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.ttf +0 -0
  13. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.woff +0 -0
  14. data/public/rearview-src/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold.otf +0 -0
  15. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.eot +0 -0
  16. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.svg +250 -0
  17. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.ttf +0 -0
  18. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.woff +0 -0
  19. data/public/rearview-src/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular.otf +0 -0
  20. data/public/rearview-src/img/livingsocial-logo-white.svg +107 -0
  21. data/public/rearview-src/img/login/company-logo.svg +107 -0
  22. data/public/rearview-src/img/noise-light.png +0 -0
  23. data/public/rearview-src/img/noise.png +0 -0
  24. data/public/rearview-src/img/rearview.svg +19 -0
  25. data/public/rearview-src/img/rearviewlogo.png +0 -0
  26. data/public/rearview-src/img/rearviewlogo_small.png +0 -0
  27. data/public/rearview-src/img/sample-monitor.png +0 -0
  28. data/public/rearview-src/js/app.build.js +15 -0
  29. data/public/rearview-src/js/app.js +295 -0
  30. data/public/rearview-src/js/collection/dashboard.js +41 -0
  31. data/public/rearview-src/js/collection/monitor.js +53 -0
  32. data/public/rearview-src/js/main.js +89 -0
  33. data/public/rearview-src/js/model/base.js +34 -0
  34. data/public/rearview-src/js/model/dashboard.js +47 -0
  35. data/public/rearview-src/js/model/monitor.js +67 -0
  36. data/public/rearview-src/js/model/user.js +81 -0
  37. data/public/rearview-src/js/route/index.js +47 -0
  38. data/public/rearview-src/js/util/highcharts-gray-theme.js +266 -0
  39. data/public/rearview-src/js/util/templar.js +178 -0
  40. data/public/rearview-src/js/view/addcategory.js +250 -0
  41. data/public/rearview-src/js/view/adddashboard.js +166 -0
  42. data/public/rearview-src/js/view/addmonitor.js +679 -0
  43. data/public/rearview-src/js/view/alert.js +47 -0
  44. data/public/rearview-src/js/view/alerttimeline.js +340 -0
  45. data/public/rearview-src/js/view/base.js +535 -0
  46. data/public/rearview-src/js/view/dashboard.js +493 -0
  47. data/public/rearview-src/js/view/dashboardtile.js +146 -0
  48. data/public/rearview-src/js/view/deletemonitor.js +68 -0
  49. data/public/rearview-src/js/view/ecosystem.js +90 -0
  50. data/public/rearview-src/js/view/expandedmonitor.js +706 -0
  51. data/public/rearview-src/js/view/header.js +43 -0
  52. data/public/rearview-src/js/view/primarynav.js +63 -0
  53. data/public/rearview-src/js/view/resetmonitor.js +101 -0
  54. data/public/rearview-src/js/view/secondarynav.js +45 -0
  55. data/public/rearview-src/js/view/smallmonitor.js +416 -0
  56. data/public/rearview-src/less/alert.less +45 -0
  57. data/public/rearview-src/less/dashboard.less +173 -0
  58. data/public/rearview-src/less/ecosystem.less +221 -0
  59. data/public/rearview-src/less/elements.less +168 -0
  60. data/public/rearview-src/less/expandedmonitor.less +283 -0
  61. data/public/rearview-src/less/header.less +76 -0
  62. data/public/rearview-src/less/login.less +1050 -0
  63. data/public/rearview-src/less/primarynav.less +151 -0
  64. data/public/rearview-src/less/rearview.less +1207 -0
  65. data/public/rearview-src/login/icons/rearview.svg +19 -0
  66. data/public/rearview-src/templates/addcategory.hbs +38 -0
  67. data/public/rearview-src/templates/adddashboard.hbs +26 -0
  68. data/public/rearview-src/templates/addmonitor.hbs +10 -0
  69. data/public/rearview-src/templates/alert.hbs +4 -0
  70. data/public/rearview-src/templates/alerttimeline.hbs +15 -0
  71. data/public/rearview-src/templates/dashboard.hbs +35 -0
  72. data/public/rearview-src/templates/dashboardtile.hbs +22 -0
  73. data/public/rearview-src/templates/deletemonitor.hbs +16 -0
  74. data/public/rearview-src/templates/expandedmonitor.hbs +191 -0
  75. data/public/rearview-src/templates/header.hbs +9 -0
  76. data/public/rearview-src/templates/primarynav.hbs +50 -0
  77. data/public/rearview-src/templates/resetmonitor.hbs +16 -0
  78. data/public/rearview-src/templates/schedulemonitor.hbs +78 -0
  79. data/public/rearview-src/templates/secondarynav.hbs +11 -0
  80. data/public/rearview-src/templates/setmetrics.hbs +53 -0
  81. data/public/rearview-src/templates/smallmonitor.hbs +52 -0
  82. data/public/rearview-src/templates/test.txt +1 -0
  83. data/public/rearview-src/test/spec/model/application.js +60 -0
  84. data/public/rearview-src/test/spec/model/job.js +109 -0
  85. data/public/rearview-src/test/spec/model/user.js +50 -0
  86. data/public/rearview-src/test/spec/view/base.js +58 -0
  87. data/public/rearview-src/vendor/backbone/js/backbone.js +1431 -0
  88. data/public/rearview-src/vendor/backbone/plugins/backbone-localStorage/js/backbone-localStorage.js +130 -0
  89. data/public/rearview-src/vendor/backbone/plugins/backbone-mediator/js/backbone-mediator.js +221 -0
  90. data/public/rearview-src/vendor/bootstrap/css/bootstrap-responsive.css +1109 -0
  91. data/public/rearview-src/vendor/bootstrap/css/bootstrap-responsive.min.css +9 -0
  92. data/public/rearview-src/vendor/bootstrap/css/bootstrap.css +6167 -0
  93. data/public/rearview-src/vendor/bootstrap/css/bootstrap.min.css +9 -0
  94. data/public/rearview-src/vendor/bootstrap/img/glyphicons-halflings-white.png +0 -0
  95. data/public/rearview-src/vendor/bootstrap/img/glyphicons-halflings.png +0 -0
  96. data/public/rearview-src/vendor/bootstrap/js/bootstrap.js +2280 -0
  97. data/public/rearview-src/vendor/bootstrap/js/bootstrap.min.js +6 -0
  98. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/LICENSE +202 -0
  99. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/README.md +305 -0
  100. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/build/build.less +66 -0
  101. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/build/build_standalone.less +69 -0
  102. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/css/datepicker.css +274 -0
  103. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js +841 -0
  104. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.cs.js +14 -0
  105. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.da.js +14 -0
  106. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js +14 -0
  107. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js +14 -0
  108. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.fi.js +14 -0
  109. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js +14 -0
  110. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.id.js +13 -0
  111. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.is.js +14 -0
  112. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js +14 -0
  113. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ja.js +13 -0
  114. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.kr.js +13 -0
  115. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.lt.js +15 -0
  116. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.lv.js +16 -0
  117. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ms.js +14 -0
  118. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.nb.js +14 -0
  119. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl.js +14 -0
  120. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pl.js +14 -0
  121. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt-BR.js +14 -0
  122. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt.js +14 -0
  123. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ru.js +14 -0
  124. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.sv.js +14 -0
  125. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.th.js +14 -0
  126. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.tr.js +15 -0
  127. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js +14 -0
  128. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-TW.js +13 -0
  129. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/less/datepicker.less +147 -0
  130. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/README.md +55 -0
  131. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/_coverage.html +26 -0
  132. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/coverage.js +48 -0
  133. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/jquery-1.7.1.min.js +4 -0
  134. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/mock.js +26 -0
  135. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit-logging.js +29 -0
  136. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit.css +235 -0
  137. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit.js +1669 -0
  138. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/utils.js +21 -0
  139. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/run-qunit.js +157 -0
  140. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/component.js +157 -0
  141. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/events.js +80 -0
  142. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/formats.js +195 -0
  143. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/2011.js +86 -0
  144. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/2012.js +410 -0
  145. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/all.js +26 -0
  146. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/2011.js +66 -0
  147. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/2012.js +251 -0
  148. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/all.js +33 -0
  149. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/options.js +264 -0
  150. data/public/rearview-src/vendor/bootstrap/plugins/bootstrap-datepicker/tests/tests.html +45 -0
  151. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/css/font-awesome-ie7.css +1203 -0
  152. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/css/font-awesome-ie7.min.css +384 -0
  153. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/css/font-awesome.css +1479 -0
  154. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/css/font-awesome.min.css +403 -0
  155. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/FontAwesome.otf +0 -0
  156. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.eot +0 -0
  157. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.svg +399 -0
  158. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.ttf +0 -0
  159. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.woff +0 -0
  160. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/bootstrap.less +84 -0
  161. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/core.less +129 -0
  162. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/extras.less +93 -0
  163. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/font-awesome-ie7.less +1953 -0
  164. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/font-awesome.less +33 -0
  165. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/icons.less +381 -0
  166. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/mixins.less +48 -0
  167. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/path.less +14 -0
  168. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/less/variables.less +735 -0
  169. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_bootstrap.scss +84 -0
  170. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_core.scss +129 -0
  171. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_extras.scss +93 -0
  172. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_icons.scss +381 -0
  173. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_mixins.scss +48 -0
  174. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_path.scss +14 -0
  175. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/_variables.scss +734 -0
  176. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/font-awesome-ie7.scss +1953 -0
  177. data/public/rearview-src/vendor/bootstrap/plugins/font-awesome/scss/font-awesome.scss +33 -0
  178. data/public/rearview-src/vendor/codemirror/LICENSE +23 -0
  179. data/public/rearview-src/vendor/codemirror/README.md +8 -0
  180. data/public/rearview-src/vendor/codemirror/demo/activeline.html +73 -0
  181. data/public/rearview-src/vendor/codemirror/demo/changemode.html +51 -0
  182. data/public/rearview-src/vendor/codemirror/demo/closetag.html +66 -0
  183. data/public/rearview-src/vendor/codemirror/demo/complete.html +71 -0
  184. data/public/rearview-src/vendor/codemirror/demo/emacs.html +60 -0
  185. data/public/rearview-src/vendor/codemirror/demo/folding.html +62 -0
  186. data/public/rearview-src/vendor/codemirror/demo/formatting.html +81 -0
  187. data/public/rearview-src/vendor/codemirror/demo/fullscreen.html +147 -0
  188. data/public/rearview-src/vendor/codemirror/demo/loadmode.html +40 -0
  189. data/public/rearview-src/vendor/codemirror/demo/marker.html +53 -0
  190. data/public/rearview-src/vendor/codemirror/demo/matchhighlighter.html +38 -0
  191. data/public/rearview-src/vendor/codemirror/demo/multiplex.html +60 -0
  192. data/public/rearview-src/vendor/codemirror/demo/mustache.html +58 -0
  193. data/public/rearview-src/vendor/codemirror/demo/preview.html +76 -0
  194. data/public/rearview-src/vendor/codemirror/demo/resize.html +42 -0
  195. data/public/rearview-src/vendor/codemirror/demo/runmode.html +50 -0
  196. data/public/rearview-src/vendor/codemirror/demo/search.html +85 -0
  197. data/public/rearview-src/vendor/codemirror/demo/theme.html +79 -0
  198. data/public/rearview-src/vendor/codemirror/demo/vim.html +53 -0
  199. data/public/rearview-src/vendor/codemirror/demo/visibletabs.html +53 -0
  200. data/public/rearview-src/vendor/codemirror/demo/xmlcomplete.html +71 -0
  201. data/public/rearview-src/vendor/codemirror/doc/baboon.png +0 -0
  202. data/public/rearview-src/vendor/codemirror/doc/baboon_vector.svg +153 -0
  203. data/public/rearview-src/vendor/codemirror/doc/compress.html +163 -0
  204. data/public/rearview-src/vendor/codemirror/doc/docs.css +165 -0
  205. data/public/rearview-src/vendor/codemirror/doc/internals.html +497 -0
  206. data/public/rearview-src/vendor/codemirror/doc/manual.html +1224 -0
  207. data/public/rearview-src/vendor/codemirror/doc/oldrelease.html +305 -0
  208. data/public/rearview-src/vendor/codemirror/doc/reporting.html +60 -0
  209. data/public/rearview-src/vendor/codemirror/doc/upgrade_v2.2.html +98 -0
  210. data/public/rearview-src/vendor/codemirror/index.html +472 -0
  211. data/public/rearview-src/vendor/codemirror/keymap/emacs.js +29 -0
  212. data/public/rearview-src/vendor/codemirror/keymap/vim.js +789 -0
  213. data/public/rearview-src/vendor/codemirror/lib/codemirror.css +173 -0
  214. data/public/rearview-src/vendor/codemirror/lib/codemirror.js +3143 -0
  215. data/public/rearview-src/vendor/codemirror/lib/util/closetag.js +164 -0
  216. data/public/rearview-src/vendor/codemirror/lib/util/dialog.css +27 -0
  217. data/public/rearview-src/vendor/codemirror/lib/util/dialog.js +70 -0
  218. data/public/rearview-src/vendor/codemirror/lib/util/foldcode.js +196 -0
  219. data/public/rearview-src/vendor/codemirror/lib/util/formatting.js +193 -0
  220. data/public/rearview-src/vendor/codemirror/lib/util/javascript-hint.js +134 -0
  221. data/public/rearview-src/vendor/codemirror/lib/util/loadmode.js +51 -0
  222. data/public/rearview-src/vendor/codemirror/lib/util/match-highlighter.js +44 -0
  223. data/public/rearview-src/vendor/codemirror/lib/util/multiplex.js +77 -0
  224. data/public/rearview-src/vendor/codemirror/lib/util/overlay.js +54 -0
  225. data/public/rearview-src/vendor/codemirror/lib/util/pig-hint.js +123 -0
  226. data/public/rearview-src/vendor/codemirror/lib/util/runmode-standalone.js +90 -0
  227. data/public/rearview-src/vendor/codemirror/lib/util/runmode.js +53 -0
  228. data/public/rearview-src/vendor/codemirror/lib/util/search.js +118 -0
  229. data/public/rearview-src/vendor/codemirror/lib/util/searchcursor.js +119 -0
  230. data/public/rearview-src/vendor/codemirror/lib/util/simple-hint.css +16 -0
  231. data/public/rearview-src/vendor/codemirror/lib/util/simple-hint.js +97 -0
  232. data/public/rearview-src/vendor/codemirror/lib/util/xml-hint.js +137 -0
  233. data/public/rearview-src/vendor/codemirror/mode/clike/clike.js +284 -0
  234. data/public/rearview-src/vendor/codemirror/mode/clike/index.html +102 -0
  235. data/public/rearview-src/vendor/codemirror/mode/clike/scala.html +766 -0
  236. data/public/rearview-src/vendor/codemirror/mode/clojure/clojure.js +206 -0
  237. data/public/rearview-src/vendor/codemirror/mode/clojure/index.html +67 -0
  238. data/public/rearview-src/vendor/codemirror/mode/coffeescript/LICENSE +22 -0
  239. data/public/rearview-src/vendor/codemirror/mode/coffeescript/coffeescript.js +346 -0
  240. data/public/rearview-src/vendor/codemirror/mode/coffeescript/index.html +728 -0
  241. data/public/rearview-src/vendor/codemirror/mode/commonlisp/commonlisp.js +101 -0
  242. data/public/rearview-src/vendor/codemirror/mode/commonlisp/index.html +165 -0
  243. data/public/rearview-src/vendor/codemirror/mode/css/css.js +448 -0
  244. data/public/rearview-src/vendor/codemirror/mode/css/index.html +58 -0
  245. data/public/rearview-src/vendor/codemirror/mode/css/test.js +501 -0
  246. data/public/rearview-src/vendor/codemirror/mode/diff/diff.js +32 -0
  247. data/public/rearview-src/vendor/codemirror/mode/diff/index.html +105 -0
  248. data/public/rearview-src/vendor/codemirror/mode/ecl/ecl.js +203 -0
  249. data/public/rearview-src/vendor/codemirror/mode/ecl/index.html +42 -0
  250. data/public/rearview-src/vendor/codemirror/mode/erlang/erlang.js +463 -0
  251. data/public/rearview-src/vendor/codemirror/mode/erlang/index.html +63 -0
  252. data/public/rearview-src/vendor/codemirror/mode/gfm/gfm.js +150 -0
  253. data/public/rearview-src/vendor/codemirror/mode/gfm/index.html +48 -0
  254. data/public/rearview-src/vendor/codemirror/mode/go/go.js +170 -0
  255. data/public/rearview-src/vendor/codemirror/mode/go/index.html +73 -0
  256. data/public/rearview-src/vendor/codemirror/mode/groovy/groovy.js +210 -0
  257. data/public/rearview-src/vendor/codemirror/mode/groovy/index.html +72 -0
  258. data/public/rearview-src/vendor/codemirror/mode/haskell/haskell.js +242 -0
  259. data/public/rearview-src/vendor/codemirror/mode/haskell/index.html +61 -0
  260. data/public/rearview-src/vendor/codemirror/mode/haxe/haxe.js +429 -0
  261. data/public/rearview-src/vendor/codemirror/mode/haxe/index.html +91 -0
  262. data/public/rearview-src/vendor/codemirror/mode/htmlembedded/htmlembedded.js +72 -0
  263. data/public/rearview-src/vendor/codemirror/mode/htmlembedded/index.html +50 -0
  264. data/public/rearview-src/vendor/codemirror/mode/htmlmixed/htmlmixed.js +84 -0
  265. data/public/rearview-src/vendor/codemirror/mode/htmlmixed/index.html +52 -0
  266. data/public/rearview-src/vendor/codemirror/mode/javascript/index.html +78 -0
  267. data/public/rearview-src/vendor/codemirror/mode/javascript/javascript.js +361 -0
  268. data/public/rearview-src/vendor/codemirror/mode/jinja2/index.html +38 -0
  269. data/public/rearview-src/vendor/codemirror/mode/jinja2/jinja2.js +42 -0
  270. data/public/rearview-src/vendor/codemirror/mode/less/index.html +740 -0
  271. data/public/rearview-src/vendor/codemirror/mode/less/less.js +266 -0
  272. data/public/rearview-src/vendor/codemirror/mode/lua/index.html +73 -0
  273. data/public/rearview-src/vendor/codemirror/mode/lua/lua.js +140 -0
  274. data/public/rearview-src/vendor/codemirror/mode/markdown/index.html +343 -0
  275. data/public/rearview-src/vendor/codemirror/mode/markdown/markdown.js +382 -0
  276. data/public/rearview-src/vendor/codemirror/mode/markdown/test.js +1084 -0
  277. data/public/rearview-src/vendor/codemirror/mode/mysql/index.html +42 -0
  278. data/public/rearview-src/vendor/codemirror/mode/mysql/mysql.js +186 -0
  279. data/public/rearview-src/vendor/codemirror/mode/ntriples/index.html +33 -0
  280. data/public/rearview-src/vendor/codemirror/mode/ntriples/ntriples.js +172 -0
  281. data/public/rearview-src/vendor/codemirror/mode/ocaml/index.html +130 -0
  282. data/public/rearview-src/vendor/codemirror/mode/ocaml/ocaml.js +114 -0
  283. data/public/rearview-src/vendor/codemirror/mode/pascal/LICENSE +7 -0
  284. data/public/rearview-src/vendor/codemirror/mode/pascal/index.html +49 -0
  285. data/public/rearview-src/vendor/codemirror/mode/pascal/pascal.js +94 -0
  286. data/public/rearview-src/vendor/codemirror/mode/perl/LICENSE +19 -0
  287. data/public/rearview-src/vendor/codemirror/mode/perl/index.html +63 -0
  288. data/public/rearview-src/vendor/codemirror/mode/perl/perl.js +816 -0
  289. data/public/rearview-src/vendor/codemirror/mode/php/index.html +49 -0
  290. data/public/rearview-src/vendor/codemirror/mode/php/php.js +148 -0
  291. data/public/rearview-src/vendor/codemirror/mode/pig/index.html +43 -0
  292. data/public/rearview-src/vendor/codemirror/mode/pig/pig.js +172 -0
  293. data/public/rearview-src/vendor/codemirror/mode/plsql/index.html +63 -0
  294. data/public/rearview-src/vendor/codemirror/mode/plsql/plsql.js +217 -0
  295. data/public/rearview-src/vendor/codemirror/mode/properties/index.html +41 -0
  296. data/public/rearview-src/vendor/codemirror/mode/properties/properties.js +63 -0
  297. data/public/rearview-src/vendor/codemirror/mode/python/LICENSE.txt +21 -0
  298. data/public/rearview-src/vendor/codemirror/mode/python/index.html +123 -0
  299. data/public/rearview-src/vendor/codemirror/mode/python/python.js +338 -0
  300. data/public/rearview-src/vendor/codemirror/mode/r/LICENSE +24 -0
  301. data/public/rearview-src/vendor/codemirror/mode/r/index.html +74 -0
  302. data/public/rearview-src/vendor/codemirror/mode/r/r.js +141 -0
  303. data/public/rearview-src/vendor/codemirror/mode/rpm/changes/changes.js +19 -0
  304. data/public/rearview-src/vendor/codemirror/mode/rpm/changes/index.html +54 -0
  305. data/public/rearview-src/vendor/codemirror/mode/rpm/spec/index.html +100 -0
  306. data/public/rearview-src/vendor/codemirror/mode/rpm/spec/spec.css +5 -0
  307. data/public/rearview-src/vendor/codemirror/mode/rpm/spec/spec.js +66 -0
  308. data/public/rearview-src/vendor/codemirror/mode/rst/index.html +526 -0
  309. data/public/rearview-src/vendor/codemirror/mode/rst/rst.js +326 -0
  310. data/public/rearview-src/vendor/codemirror/mode/ruby/LICENSE +24 -0
  311. data/public/rearview-src/vendor/codemirror/mode/ruby/index.html +172 -0
  312. data/public/rearview-src/vendor/codemirror/mode/ruby/ruby.js +195 -0
  313. data/public/rearview-src/vendor/codemirror/mode/rust/index.html +49 -0
  314. data/public/rearview-src/vendor/codemirror/mode/rust/rust.js +432 -0
  315. data/public/rearview-src/vendor/codemirror/mode/scheme/index.html +65 -0
  316. data/public/rearview-src/vendor/codemirror/mode/scheme/scheme.js +230 -0
  317. data/public/rearview-src/vendor/codemirror/mode/shell/index.html +50 -0
  318. data/public/rearview-src/vendor/codemirror/mode/shell/shell.js +118 -0
  319. data/public/rearview-src/vendor/codemirror/mode/sieve/LICENSE +23 -0
  320. data/public/rearview-src/vendor/codemirror/mode/sieve/index.html +81 -0
  321. data/public/rearview-src/vendor/codemirror/mode/sieve/sieve.js +156 -0
  322. data/public/rearview-src/vendor/codemirror/mode/smalltalk/index.html +56 -0
  323. data/public/rearview-src/vendor/codemirror/mode/smalltalk/smalltalk.js +139 -0
  324. data/public/rearview-src/vendor/codemirror/mode/smarty/index.html +83 -0
  325. data/public/rearview-src/vendor/codemirror/mode/smarty/smarty.js +148 -0
  326. data/public/rearview-src/vendor/codemirror/mode/sparql/index.html +41 -0
  327. data/public/rearview-src/vendor/codemirror/mode/sparql/sparql.js +143 -0
  328. data/public/rearview-src/vendor/codemirror/mode/stex/index.html +98 -0
  329. data/public/rearview-src/vendor/codemirror/mode/stex/stex.js +182 -0
  330. data/public/rearview-src/vendor/codemirror/mode/stex/test.js +343 -0
  331. data/public/rearview-src/vendor/codemirror/mode/tiddlywiki/index.html +141 -0
  332. data/public/rearview-src/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  333. data/public/rearview-src/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js +384 -0
  334. data/public/rearview-src/vendor/codemirror/mode/tiki/index.html +83 -0
  335. data/public/rearview-src/vendor/codemirror/mode/tiki/tiki.css +26 -0
  336. data/public/rearview-src/vendor/codemirror/mode/tiki/tiki.js +309 -0
  337. data/public/rearview-src/vendor/codemirror/mode/vb/LICENSE.txt +21 -0
  338. data/public/rearview-src/vendor/codemirror/mode/vb/index.html +89 -0
  339. data/public/rearview-src/vendor/codemirror/mode/vb/vb.js +260 -0
  340. data/public/rearview-src/vendor/codemirror/mode/vbscript/index.html +43 -0
  341. data/public/rearview-src/vendor/codemirror/mode/vbscript/vbscript.js +26 -0
  342. data/public/rearview-src/vendor/codemirror/mode/velocity/index.html +104 -0
  343. data/public/rearview-src/vendor/codemirror/mode/velocity/velocity.js +146 -0
  344. data/public/rearview-src/vendor/codemirror/mode/verilog/index.html +211 -0
  345. data/public/rearview-src/vendor/codemirror/mode/verilog/verilog.js +194 -0
  346. data/public/rearview-src/vendor/codemirror/mode/xml/index.html +45 -0
  347. data/public/rearview-src/vendor/codemirror/mode/xml/xml.js +318 -0
  348. data/public/rearview-src/vendor/codemirror/mode/xquery/LICENSE +20 -0
  349. data/public/rearview-src/vendor/codemirror/mode/xquery/index.html +223 -0
  350. data/public/rearview-src/vendor/codemirror/mode/xquery/test/index.html +27 -0
  351. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testBase.js +42 -0
  352. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testEmptySequenceKeyword.js +16 -0
  353. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testMultiAttr.js +16 -0
  354. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testNamespaces.js +91 -0
  355. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testProcessingInstructions.js +16 -0
  356. data/public/rearview-src/vendor/codemirror/mode/xquery/test/testQuotes.js +19 -0
  357. data/public/rearview-src/vendor/codemirror/mode/xquery/xquery.js +451 -0
  358. data/public/rearview-src/vendor/codemirror/mode/yaml/index.html +68 -0
  359. data/public/rearview-src/vendor/codemirror/mode/yaml/yaml.js +95 -0
  360. data/public/rearview-src/vendor/codemirror/package.json +21 -0
  361. data/public/rearview-src/vendor/codemirror/test/driver.js +129 -0
  362. data/public/rearview-src/vendor/codemirror/test/index.html +168 -0
  363. data/public/rearview-src/vendor/codemirror/test/lint/lint.js +120 -0
  364. data/public/rearview-src/vendor/codemirror/test/lint/parse-js.js +1372 -0
  365. data/public/rearview-src/vendor/codemirror/test/mode_test.css +10 -0
  366. data/public/rearview-src/vendor/codemirror/test/mode_test.js +203 -0
  367. data/public/rearview-src/vendor/codemirror/test/phantom_driver.js +30 -0
  368. data/public/rearview-src/vendor/codemirror/test/run.js +32 -0
  369. data/public/rearview-src/vendor/codemirror/test/test.js +672 -0
  370. data/public/rearview-src/vendor/codemirror/theme/ambiance.css +81 -0
  371. data/public/rearview-src/vendor/codemirror/theme/blackboard.css +25 -0
  372. data/public/rearview-src/vendor/codemirror/theme/cobalt.css +18 -0
  373. data/public/rearview-src/vendor/codemirror/theme/eclipse.css +25 -0
  374. data/public/rearview-src/vendor/codemirror/theme/elegant.css +10 -0
  375. data/public/rearview-src/vendor/codemirror/theme/erlang-dark.css +21 -0
  376. data/public/rearview-src/vendor/codemirror/theme/lesser-dark.css +44 -0
  377. data/public/rearview-src/vendor/codemirror/theme/monokai.css +28 -0
  378. data/public/rearview-src/vendor/codemirror/theme/neat.css +9 -0
  379. data/public/rearview-src/vendor/codemirror/theme/night.css +21 -0
  380. data/public/rearview-src/vendor/codemirror/theme/rubyblue.css +21 -0
  381. data/public/rearview-src/vendor/codemirror/theme/vibrant-ink.css +27 -0
  382. data/public/rearview-src/vendor/codemirror/theme/xq-dark.css +46 -0
  383. data/public/rearview-src/vendor/handlebars/js/handlebars.js +1920 -0
  384. data/public/rearview-src/vendor/highcharts/examples/area-basic/index.htm +94 -0
  385. data/public/rearview-src/vendor/highcharts/examples/area-inverted/index.htm +91 -0
  386. data/public/rearview-src/vendor/highcharts/examples/area-missing/index.htm +85 -0
  387. data/public/rearview-src/vendor/highcharts/examples/area-negative/index.htm +55 -0
  388. data/public/rearview-src/vendor/highcharts/examples/area-stacked-percent/index.htm +82 -0
  389. data/public/rearview-src/vendor/highcharts/examples/area-stacked/index.htm +86 -0
  390. data/public/rearview-src/vendor/highcharts/examples/arearange/index.htm +62 -0
  391. data/public/rearview-src/vendor/highcharts/examples/areaspline/index.htm +85 -0
  392. data/public/rearview-src/vendor/highcharts/examples/bar-basic/index.htm +89 -0
  393. data/public/rearview-src/vendor/highcharts/examples/bar-negative-stack/index.htm +87 -0
  394. data/public/rearview-src/vendor/highcharts/examples/bar-stacked/index.htm +67 -0
  395. data/public/rearview-src/vendor/highcharts/examples/column-basic/index.htm +97 -0
  396. data/public/rearview-src/vendor/highcharts/examples/column-drilldown/index.htm +155 -0
  397. data/public/rearview-src/vendor/highcharts/examples/column-negative/index.htm +55 -0
  398. data/public/rearview-src/vendor/highcharts/examples/column-parsed/index.htm +120 -0
  399. data/public/rearview-src/vendor/highcharts/examples/column-rotated-labels/index.htm +100 -0
  400. data/public/rearview-src/vendor/highcharts/examples/column-stacked-and-grouped/index.htm +79 -0
  401. data/public/rearview-src/vendor/highcharts/examples/column-stacked-percent/index.htm +63 -0
  402. data/public/rearview-src/vendor/highcharts/examples/column-stacked/index.htm +86 -0
  403. data/public/rearview-src/vendor/highcharts/examples/columnrange/index.htm +87 -0
  404. data/public/rearview-src/vendor/highcharts/examples/combo-dual-axes/index.htm +101 -0
  405. data/public/rearview-src/vendor/highcharts/examples/combo-multi-axes/index.htm +137 -0
  406. data/public/rearview-src/vendor/highcharts/examples/combo-regression/index.htm +60 -0
  407. data/public/rearview-src/vendor/highcharts/examples/combo/index.htm +102 -0
  408. data/public/rearview-src/vendor/highcharts/examples/dynamic-click-to-add/index.htm +88 -0
  409. data/public/rearview-src/vendor/highcharts/examples/dynamic-master-detail/index.htm +371 -0
  410. data/public/rearview-src/vendor/highcharts/examples/dynamic-update/index.htm +96 -0
  411. data/public/rearview-src/vendor/highcharts/examples/gauge-clock/index.htm +174 -0
  412. data/public/rearview-src/vendor/highcharts/examples/gauge-dual/index.htm +122 -0
  413. data/public/rearview-src/vendor/highcharts/examples/gauge-speedometer/index.htm +133 -0
  414. data/public/rearview-src/vendor/highcharts/examples/gauge-vu-meter/index.htm +148 -0
  415. data/public/rearview-src/vendor/highcharts/examples/line-ajax/analytics.tsv +87 -0
  416. data/public/rearview-src/vendor/highcharts/examples/line-ajax/index.htm +188 -0
  417. data/public/rearview-src/vendor/highcharts/examples/line-basic/index.htm +81 -0
  418. data/public/rearview-src/vendor/highcharts/examples/line-labels/index.htm +66 -0
  419. data/public/rearview-src/vendor/highcharts/examples/line-log-axis/index.htm +53 -0
  420. data/public/rearview-src/vendor/highcharts/examples/line-time-series/index.htm +206 -0
  421. data/public/rearview-src/vendor/highcharts/examples/pie-basic/index.htm +70 -0
  422. data/public/rearview-src/vendor/highcharts/examples/pie-donut/index.htm +146 -0
  423. data/public/rearview-src/vendor/highcharts/examples/pie-gradient/index.htm +83 -0
  424. data/public/rearview-src/vendor/highcharts/examples/pie-legend/index.htm +69 -0
  425. data/public/rearview-src/vendor/highcharts/examples/polar-spider/index.htm +75 -0
  426. data/public/rearview-src/vendor/highcharts/examples/polar-wind-rose/index.htm +307 -0
  427. data/public/rearview-src/vendor/highcharts/examples/polar/index.htm +79 -0
  428. data/public/rearview-src/vendor/highcharts/examples/scatter/index.htm +197 -0
  429. data/public/rearview-src/vendor/highcharts/examples/spline-inverted/index.htm +87 -0
  430. data/public/rearview-src/vendor/highcharts/examples/spline-irregular-time/index.htm +133 -0
  431. data/public/rearview-src/vendor/highcharts/examples/spline-plot-bands/index.htm +169 -0
  432. data/public/rearview-src/vendor/highcharts/examples/spline-symbols/index.htm +87 -0
  433. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/pom.xml +106 -0
  434. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/controller/ExportController.java +229 -0
  435. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/filters/DefaultEncodingFilter.java +79 -0
  436. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/MimeType.java +34 -0
  437. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/SVGRasterizer.java +77 -0
  438. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/SVGRasterizerException.java +22 -0
  439. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/resources/log4j.properties +17 -0
  440. data/public/rearview-src/vendor/highcharts/exporting-server/java/highcharts-export/src/main/webapp/WEB-INF/web.xml +22 -0
  441. data/public/rearview-src/vendor/highcharts/exporting-server/java/install.txt +10 -0
  442. data/public/rearview-src/vendor/highcharts/exporting-server/php/index-with-imagick.php +112 -0
  443. data/public/rearview-src/vendor/highcharts/exporting-server/php/index.php +112 -0
  444. data/public/rearview-src/vendor/highcharts/gfx/vml-radial-gradient.png +0 -0
  445. data/public/rearview-src/vendor/highcharts/graphics/skies.jpg +0 -0
  446. data/public/rearview-src/vendor/highcharts/graphics/snow.png +0 -0
  447. data/public/rearview-src/vendor/highcharts/graphics/sun.png +0 -0
  448. data/public/rearview-src/vendor/highcharts/index.htm +79 -0
  449. data/public/rearview-src/vendor/highcharts/js/adapters/mootools-adapter.js +13 -0
  450. data/public/rearview-src/vendor/highcharts/js/adapters/mootools-adapter.src.js +327 -0
  451. data/public/rearview-src/vendor/highcharts/js/adapters/prototype-adapter.js +16 -0
  452. data/public/rearview-src/vendor/highcharts/js/adapters/prototype-adapter.src.js +385 -0
  453. data/public/rearview-src/vendor/highcharts/js/highcharts-more.js +35 -0
  454. data/public/rearview-src/vendor/highcharts/js/highcharts.js +249 -0
  455. data/public/rearview-src/vendor/highcharts/js/highcharts.src.js +15111 -0
  456. data/public/rearview-src/vendor/highcharts/js/modules/canvas-tools.js +133 -0
  457. data/public/rearview-src/vendor/highcharts/js/modules/canvas-tools.src.js +3113 -0
  458. data/public/rearview-src/vendor/highcharts/js/modules/data.js +11 -0
  459. data/public/rearview-src/vendor/highcharts/js/modules/data.src.js +277 -0
  460. data/public/rearview-src/vendor/highcharts/js/modules/exporting.js +23 -0
  461. data/public/rearview-src/vendor/highcharts/js/modules/exporting.src.js +736 -0
  462. data/public/rearview-src/vendor/highcharts/js/themes/dark-blue.js +263 -0
  463. data/public/rearview-src/vendor/highcharts/js/themes/dark-green.js +263 -0
  464. data/public/rearview-src/vendor/highcharts/js/themes/gray.js +262 -0
  465. data/public/rearview-src/vendor/highcharts/js/themes/grid.js +95 -0
  466. data/public/rearview-src/vendor/highcharts/js/themes/skies.js +89 -0
  467. data/public/rearview-src/vendor/jasmine/SpecRunner.html +53 -0
  468. data/public/rearview-src/vendor/jasmine/lib/jasmine-1.3.1/MIT.LICENSE +20 -0
  469. data/public/rearview-src/vendor/jasmine/lib/jasmine-1.3.1/jasmine-html.js +680 -0
  470. data/public/rearview-src/vendor/jasmine/lib/jasmine-1.3.1/jasmine.css +82 -0
  471. data/public/rearview-src/vendor/jasmine/lib/jasmine-1.3.1/jasmine.js +2600 -0
  472. data/public/rearview-src/vendor/jasmine/spec/PlayerSpec.js +58 -0
  473. data/public/rearview-src/vendor/jasmine/spec/SpecHelper.js +9 -0
  474. data/public/rearview-src/vendor/jasmine/src/Player.js +22 -0
  475. data/public/rearview-src/vendor/jasmine/src/Song.js +7 -0
  476. data/public/rearview-src/vendor/jquery/js/jquery.js +9440 -0
  477. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/animated-overlay.gif +0 -0
  478. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  479. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  480. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  481. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  482. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  483. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  484. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  485. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  486. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  487. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  488. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  489. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  490. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  491. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  492. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/jquery-ui-1.10.3.custom.css +785 -0
  493. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/css/dark-hive/jquery-ui-1.10.3.custom.min.css +7 -0
  494. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/AUTHORS.txt +245 -0
  495. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/Gruntfile.js +378 -0
  496. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/MIT-LICENSE.txt +26 -0
  497. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/README.md +99 -0
  498. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/addClass/default.html +45 -0
  499. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/addClass/index.html +14 -0
  500. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/animate/default.html +55 -0
  501. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/animate/index.html +14 -0
  502. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/alt-field.html +29 -0
  503. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/animation.html +51 -0
  504. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/buttonbar.html +28 -0
  505. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/date-formats.html +40 -0
  506. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/date-range.html +44 -0
  507. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/default.html +26 -0
  508. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/dropdown-month-year.html +29 -0
  509. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/icon-trigger.html +30 -0
  510. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/images/calendar.gif +0 -0
  511. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/index.html +27 -0
  512. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/inline.html +26 -0
  513. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-ar.js +23 -0
  514. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-fr.js +25 -0
  515. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-he.js +23 -0
  516. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-zh-TW.js +23 -0
  517. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/localization.html +41 -0
  518. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/min-max.html +26 -0
  519. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/multiple-calendars.html +29 -0
  520. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/other-months.html +30 -0
  521. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/show-week.html +32 -0
  522. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/demos.css +19 -0
  523. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/constrain-movement.html +58 -0
  524. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/cursor-style.html +42 -0
  525. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/default.html +32 -0
  526. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/delay-start.html +38 -0
  527. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/events.html +70 -0
  528. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/handle.html +41 -0
  529. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/index.html +24 -0
  530. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/revert.html +37 -0
  531. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/scroll.html +44 -0
  532. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/snap-to.html +61 -0
  533. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/sortable.html +50 -0
  534. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/visual-feedback.html +70 -0
  535. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/accepted-elements.html +53 -0
  536. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/default.html +46 -0
  537. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  538. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  539. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  540. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  541. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  542. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  543. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  544. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  545. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/index.html +20 -0
  546. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/photo-manager.html +182 -0
  547. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/propagation.html +73 -0
  548. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/revert.html +54 -0
  549. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/shopping-cart.html +94 -0
  550. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/visual-feedback.html +72 -0
  551. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/default.html +102 -0
  552. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/easing.html +102 -0
  553. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/index.html +15 -0
  554. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/hide/default.html +95 -0
  555. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/hide/index.html +14 -0
  556. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/calendar.gif +0 -0
  557. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  558. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-config-on.gif +0 -0
  559. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  560. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  561. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/icon-docs-info.gif +0 -0
  562. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/pbar-ani.gif +0 -0
  563. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/index.html +26 -0
  564. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/removeClass/default.html +45 -0
  565. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/removeClass/index.html +14 -0
  566. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/show/default.html +97 -0
  567. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/show/index.html +14 -0
  568. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/switchClass/default.html +40 -0
  569. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/switchClass/index.html +14 -0
  570. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggle/default.html +103 -0
  571. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggle/index.html +14 -0
  572. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggleClass/default.html +39 -0
  573. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggleClass/index.html +14 -0
  574. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/widget/default.html +178 -0
  575. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/demos/widget/index.html +14 -0
  576. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/blind-effect.html +58 -0
  577. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/bounce-effect.html +61 -0
  578. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/clip-effect.html +55 -0
  579. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/datepicker.html +946 -0
  580. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/draggable.html +741 -0
  581. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/drop-effect.html +55 -0
  582. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/droppable.html +548 -0
  583. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/explode-effect.html +52 -0
  584. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/fade-effect.html +43 -0
  585. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/fold-effect.html +61 -0
  586. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/highlight-effect.html +52 -0
  587. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/jQuery.widget.html +611 -0
  588. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/mouse.html +216 -0
  589. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/puff-effect.html +52 -0
  590. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/pulsate-effect.html +52 -0
  591. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/scale-effect.html +82 -0
  592. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/shake-effect.html +66 -0
  593. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/size-effect.html +65 -0
  594. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/slide-effect.html +59 -0
  595. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/docs/transfer-effect.html +61 -0
  596. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.culture.de-DE.js +81 -0
  597. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.culture.ja-JP.js +100 -0
  598. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.js +1573 -0
  599. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/jquery.mousewheel.js +101 -0
  600. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/jshint.js +4835 -0
  601. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/qunit.css +244 -0
  602. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/external/qunit.js +2152 -0
  603. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/jquery-1.9.1.js +9597 -0
  604. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/package.json +70 -0
  605. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/animated-overlay.gif +0 -0
  606. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  607. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  608. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  609. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  610. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  611. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  612. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  613. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  614. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  615. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  616. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  617. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  618. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  619. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery-ui.css +648 -0
  620. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.all.css +12 -0
  621. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.base.css +25 -0
  622. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.core.css +93 -0
  623. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.datepicker.css +178 -0
  624. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.theme.css +406 -0
  625. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/animated-overlay.gif +0 -0
  626. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  627. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  628. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  629. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  630. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  631. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  632. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  633. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  634. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png +0 -0
  635. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png +0 -0
  636. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png +0 -0
  637. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png +0 -0
  638. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
  639. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery-ui.min.css +7 -0
  640. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.core.min.css +5 -0
  641. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.datepicker.min.css +5 -0
  642. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.theme.min.css +5 -0
  643. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/animated-overlay.gif +0 -0
  644. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  645. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  646. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  647. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  648. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  649. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  650. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  651. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  652. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  653. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  654. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  655. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  656. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  657. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  658. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery-ui.css +649 -0
  659. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.all.css +12 -0
  660. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.base.css +25 -0
  661. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.core.css +93 -0
  662. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.datepicker.css +178 -0
  663. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.theme.css +406 -0
  664. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/animated-overlay.gif +0 -0
  665. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  666. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  667. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  668. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  669. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  670. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  671. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  672. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  673. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_loop_25_000000_21x21.png +0 -0
  674. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_222222_256x240.png +0 -0
  675. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_4b8e0b_256x240.png +0 -0
  676. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_a83300_256x240.png +0 -0
  677. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_cccccc_256x240.png +0 -0
  678. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_ffffff_256x240.png +0 -0
  679. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery-ui.min.css +7 -0
  680. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.core.min.css +5 -0
  681. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.datepicker.min.css +5 -0
  682. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.theme.min.css +5 -0
  683. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.core.jquery.json +61 -0
  684. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.datepicker.jquery.json +66 -0
  685. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.draggable.jquery.json +66 -0
  686. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.droppable.jquery.json +67 -0
  687. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-blind.jquery.json +65 -0
  688. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-bounce.jquery.json +65 -0
  689. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-clip.jquery.json +65 -0
  690. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-drop.jquery.json +65 -0
  691. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-explode.jquery.json +65 -0
  692. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-fade.jquery.json +65 -0
  693. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-fold.jquery.json +65 -0
  694. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-highlight.jquery.json +65 -0
  695. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-pulsate.jquery.json +65 -0
  696. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-scale.jquery.json +65 -0
  697. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-shake.jquery.json +65 -0
  698. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-slide.jquery.json +65 -0
  699. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-transfer.jquery.json +63 -0
  700. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect.jquery.json +68 -0
  701. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.mouse.jquery.json +64 -0
  702. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui.widget.jquery.json +64 -0
  703. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery-ui-i18n.js +1645 -0
  704. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  705. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
  706. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
  707. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  708. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-be.js +23 -0
  709. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  710. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  711. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  712. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  713. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js +23 -0
  714. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  715. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  716. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  717. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
  718. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  719. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
  720. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  721. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  722. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  723. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  724. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +59 -0
  725. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  726. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  727. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CA.js +23 -0
  728. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  729. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
  730. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
  731. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  732. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js +23 -0
  733. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  734. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  735. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  736. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  737. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  738. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  739. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  740. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ka.js +21 -0
  741. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js +23 -0
  742. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-km.js +23 -0
  743. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  744. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ky.js +24 -0
  745. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js +23 -0
  746. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  747. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  748. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js +23 -0
  749. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
  750. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  751. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nb.js +22 -0
  752. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js +23 -0
  753. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  754. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nn.js +22 -0
  755. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  756. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  757. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  758. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
  759. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
  760. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  761. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  762. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  763. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  764. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  765. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  766. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  767. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  768. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  769. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  770. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
  771. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  772. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +24 -0
  773. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  774. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  775. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  776. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  777. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery-ui.custom.js +6562 -0
  778. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.core.js +320 -0
  779. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.datepicker.js +2038 -0
  780. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.draggable.js +958 -0
  781. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.droppable.js +372 -0
  782. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-blind.js +82 -0
  783. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-bounce.js +113 -0
  784. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-clip.js +67 -0
  785. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-drop.js +65 -0
  786. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-explode.js +97 -0
  787. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-fade.js +30 -0
  788. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-fold.js +76 -0
  789. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-highlight.js +50 -0
  790. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-pulsate.js +63 -0
  791. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-scale.js +318 -0
  792. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-shake.js +74 -0
  793. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-slide.js +64 -0
  794. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-transfer.js +47 -0
  795. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect.js +1289 -0
  796. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.mouse.js +169 -0
  797. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.widget.js +521 -0
  798. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery-ui-i18n.min.js +7 -0
  799. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-af.min.js +5 -0
  800. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js +5 -0
  801. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar.min.js +5 -0
  802. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-az.min.js +5 -0
  803. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-be.min.js +5 -0
  804. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bg.min.js +5 -0
  805. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bs.min.js +5 -0
  806. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ca.min.js +5 -0
  807. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cs.min.js +5 -0
  808. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js +5 -0
  809. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-da.min.js +5 -0
  810. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-de.min.js +5 -0
  811. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-el.min.js +5 -0
  812. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js +5 -0
  813. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js +5 -0
  814. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js +5 -0
  815. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eo.min.js +5 -0
  816. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-es.min.js +5 -0
  817. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-et.min.js +5 -0
  818. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eu.min.js +5 -0
  819. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fa.min.js +5 -0
  820. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fi.min.js +5 -0
  821. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fo.min.js +5 -0
  822. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js +5 -0
  823. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js +5 -0
  824. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr.min.js +5 -0
  825. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-gl.min.js +5 -0
  826. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-he.min.js +5 -0
  827. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hi.min.js +5 -0
  828. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hr.min.js +5 -0
  829. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hu.min.js +5 -0
  830. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hy.min.js +5 -0
  831. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-id.min.js +5 -0
  832. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-is.min.js +5 -0
  833. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-it.min.js +5 -0
  834. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ja.min.js +5 -0
  835. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ka.min.js +5 -0
  836. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-kk.min.js +5 -0
  837. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-km.min.js +5 -0
  838. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ko.min.js +5 -0
  839. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ky.min.js +5 -0
  840. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lb.min.js +5 -0
  841. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lt.min.js +5 -0
  842. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lv.min.js +5 -0
  843. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-mk.min.js +5 -0
  844. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ml.min.js +5 -0
  845. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ms.min.js +5 -0
  846. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nb.min.js +5 -0
  847. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js +5 -0
  848. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl.min.js +5 -0
  849. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nn.min.js +5 -0
  850. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-no.min.js +5 -0
  851. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pl.min.js +5 -0
  852. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js +5 -0
  853. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt.min.js +5 -0
  854. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-rm.min.js +5 -0
  855. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ro.min.js +5 -0
  856. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ru.min.js +5 -0
  857. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sk.min.js +5 -0
  858. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sl.min.js +5 -0
  859. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sq.min.js +5 -0
  860. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js +5 -0
  861. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr.min.js +5 -0
  862. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sv.min.js +5 -0
  863. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ta.min.js +5 -0
  864. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-th.min.js +5 -0
  865. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tj.min.js +5 -0
  866. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tr.min.js +5 -0
  867. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-uk.min.js +5 -0
  868. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-vi.min.js +5 -0
  869. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js +5 -0
  870. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js +5 -0
  871. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js +5 -0
  872. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery-ui.custom.min.js +7 -0
  873. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.core.min.js +5 -0
  874. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.datepicker.min.js +6 -0
  875. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.draggable.min.js +5 -0
  876. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.droppable.min.js +5 -0
  877. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-blind.min.js +5 -0
  878. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js +5 -0
  879. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-clip.min.js +5 -0
  880. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-drop.min.js +5 -0
  881. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-explode.min.js +5 -0
  882. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-fade.min.js +5 -0
  883. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-fold.min.js +5 -0
  884. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js +5 -0
  885. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js +5 -0
  886. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-scale.min.js +5 -0
  887. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-shake.min.js +5 -0
  888. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-slide.min.js +5 -0
  889. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js +5 -0
  890. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect.min.js +5 -0
  891. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.mouse.min.js +5 -0
  892. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.widget.min.js +5 -0
  893. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/js/jquery-ui-1.10.3.custom.js +7935 -0
  894. data/public/rearview-src/vendor/jquery/plugins/jquery-ui/js/jquery-ui-1.10.3.custom.min.js +7 -0
  895. data/public/rearview-src/vendor/jquery/plugins/jquery.validate.js +51 -0
  896. data/public/rearview-src/vendor/jquery/plugins/timepicker-ui/css/jquery.timepicker.css +31 -0
  897. data/public/rearview-src/vendor/jquery/plugins/timepicker-ui/js/jquery.timepicker.js +2162 -0
  898. data/public/rearview-src/vendor/less/js/less.js +11 -0
  899. data/public/rearview-src/vendor/parsley/js/parsley.js +421 -0
  900. data/public/rearview-src/vendor/parsley/js/parsley.min.js +27 -0
  901. data/public/rearview-src/vendor/require/js/require.js +11408 -0
  902. data/public/rearview-src/vendor/require/plugins/domready/domready.js +129 -0
  903. data/public/rearview-src/vendor/timeline/examples/example.json +38 -0
  904. data/public/rearview-src/vendor/timeline/examples/timeline_json.html +143 -0
  905. data/public/rearview-src/vendor/timeline/timeline.css +130 -0
  906. data/public/rearview-src/vendor/timeline/timeline.js +5055 -0
  907. data/public/rearview-src/vendor/underscore/js/underscore.js +1227 -0
  908. data/public/rearview-src/vendor/underscore/plugins/underscore-string/js/underscore.string.js +644 -0
  909. data/public/rearview-src/vendor/xdate/js/xdate.js +802 -0
  910. data/public/rearview/build.txt +295 -0
  911. data/public/rearview/css/rearview.css +1 -0
  912. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.eot +0 -0
  913. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.svg +249 -0
  914. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.ttf +0 -0
  915. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold-webfont.woff +0 -0
  916. data/public/rearview/fonts/ProximaNovaSoft-Bold/ProximaNovaSoft-Bold.otf +0 -0
  917. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.eot +0 -0
  918. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.svg +250 -0
  919. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.ttf +0 -0
  920. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular-webfont.woff +0 -0
  921. data/public/rearview/fonts/ProximaNovaSoft-Regular/ProximaNovaSoft-Regular.otf +0 -0
  922. data/public/rearview/img/livingsocial-logo-white.svg +107 -0
  923. data/public/rearview/img/login/company-logo.svg +107 -0
  924. data/public/rearview/img/noise-light.png +0 -0
  925. data/public/rearview/img/noise.png +0 -0
  926. data/public/rearview/img/rearview.svg +19 -0
  927. data/public/rearview/img/rearviewlogo.png +0 -0
  928. data/public/rearview/img/rearviewlogo_small.png +0 -0
  929. data/public/rearview/img/sample-monitor.png +0 -0
  930. data/public/rearview/js/app.build.js +0 -0
  931. data/public/rearview/js/app.js +1 -0
  932. data/public/rearview/js/collection/dashboard.js +1 -0
  933. data/public/rearview/js/collection/monitor.js +1 -0
  934. data/public/rearview/js/main.js +402 -0
  935. data/public/rearview/js/model/base.js +1 -0
  936. data/public/rearview/js/model/dashboard.js +1 -0
  937. data/public/rearview/js/model/monitor.js +1 -0
  938. data/public/rearview/js/model/user.js +1 -0
  939. data/public/rearview/js/route/index.js +1 -0
  940. data/public/rearview/js/util/highcharts-gray-theme.js +1 -0
  941. data/public/rearview/js/util/templar.js +1 -0
  942. data/public/rearview/js/view/addcategory.js +1 -0
  943. data/public/rearview/js/view/adddashboard.js +1 -0
  944. data/public/rearview/js/view/addmonitor.js +1 -0
  945. data/public/rearview/js/view/alert.js +1 -0
  946. data/public/rearview/js/view/alerttimeline.js +1 -0
  947. data/public/rearview/js/view/base.js +1 -0
  948. data/public/rearview/js/view/dashboard.js +1 -0
  949. data/public/rearview/js/view/dashboardtile.js +1 -0
  950. data/public/rearview/js/view/deletemonitor.js +1 -0
  951. data/public/rearview/js/view/ecosystem.js +1 -0
  952. data/public/rearview/js/view/expandedmonitor.js +1 -0
  953. data/public/rearview/js/view/header.js +1 -0
  954. data/public/rearview/js/view/primarynav.js +1 -0
  955. data/public/rearview/js/view/resetmonitor.js +1 -0
  956. data/public/rearview/js/view/secondarynav.js +1 -0
  957. data/public/rearview/js/view/smallmonitor.js +1 -0
  958. data/public/rearview/less/alert.less +45 -0
  959. data/public/rearview/less/dashboard.less +173 -0
  960. data/public/rearview/less/ecosystem.less +221 -0
  961. data/public/rearview/less/elements.less +168 -0
  962. data/public/rearview/less/expandedmonitor.less +283 -0
  963. data/public/rearview/less/header.less +76 -0
  964. data/public/rearview/less/login.less +1050 -0
  965. data/public/rearview/less/primarynav.less +151 -0
  966. data/public/rearview/less/rearview.less +1207 -0
  967. data/public/rearview/login/icons/rearview.svg +19 -0
  968. data/public/rearview/templates/addcategory.hbs +38 -0
  969. data/public/rearview/templates/adddashboard.hbs +26 -0
  970. data/public/rearview/templates/addmonitor.hbs +10 -0
  971. data/public/rearview/templates/alert.hbs +4 -0
  972. data/public/rearview/templates/alerttimeline.hbs +15 -0
  973. data/public/rearview/templates/dashboard.hbs +35 -0
  974. data/public/rearview/templates/dashboardtile.hbs +22 -0
  975. data/public/rearview/templates/deletemonitor.hbs +16 -0
  976. data/public/rearview/templates/expandedmonitor.hbs +191 -0
  977. data/public/rearview/templates/header.hbs +9 -0
  978. data/public/rearview/templates/primarynav.hbs +50 -0
  979. data/public/rearview/templates/resetmonitor.hbs +16 -0
  980. data/public/rearview/templates/schedulemonitor.hbs +78 -0
  981. data/public/rearview/templates/secondarynav.hbs +11 -0
  982. data/public/rearview/templates/setmetrics.hbs +53 -0
  983. data/public/rearview/templates/smallmonitor.hbs +52 -0
  984. data/public/rearview/templates/test.txt +1 -0
  985. data/public/rearview/test/spec/model/application.js +1 -0
  986. data/public/rearview/test/spec/model/job.js +1 -0
  987. data/public/rearview/test/spec/model/user.js +1 -0
  988. data/public/rearview/test/spec/view/base.js +1 -0
  989. data/public/rearview/vendor/backbone/js/backbone.js +6 -0
  990. data/public/rearview/vendor/backbone/plugins/backbone-localStorage/js/backbone-localStorage.js +1 -0
  991. data/public/rearview/vendor/backbone/plugins/backbone-mediator/js/backbone-mediator.js +15 -0
  992. data/public/rearview/vendor/bootstrap/css/bootstrap-responsive.css +1088 -0
  993. data/public/rearview/vendor/bootstrap/css/bootstrap-responsive.min.css +9 -0
  994. data/public/rearview/vendor/bootstrap/css/bootstrap.css +5209 -0
  995. data/public/rearview/vendor/bootstrap/css/bootstrap.min.css +9 -0
  996. data/public/rearview/vendor/bootstrap/img/glyphicons-halflings-white.png +0 -0
  997. data/public/rearview/vendor/bootstrap/img/glyphicons-halflings.png +0 -0
  998. data/public/rearview/vendor/bootstrap/js/bootstrap.js +249 -0
  999. data/public/rearview/vendor/bootstrap/js/bootstrap.min.js +7 -0
  1000. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/LICENSE +202 -0
  1001. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/README.md +305 -0
  1002. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/build/build.less +66 -0
  1003. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/build/build_standalone.less +69 -0
  1004. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/css/datepicker.css +271 -0
  1005. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js +21 -0
  1006. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.cs.js +1 -0
  1007. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.da.js +1 -0
  1008. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js +1 -0
  1009. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js +1 -0
  1010. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.fi.js +1 -0
  1011. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js +1 -0
  1012. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.id.js +1 -0
  1013. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.is.js +1 -0
  1014. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js +1 -0
  1015. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ja.js +1 -0
  1016. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.kr.js +1 -0
  1017. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.lt.js +1 -0
  1018. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.lv.js +1 -0
  1019. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ms.js +14 -0
  1020. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.nb.js +1 -0
  1021. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl.js +1 -0
  1022. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pl.js +1 -0
  1023. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt-BR.js +1 -0
  1024. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt.js +1 -0
  1025. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.ru.js +1 -0
  1026. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.sv.js +1 -0
  1027. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.th.js +1 -0
  1028. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.tr.js +1 -0
  1029. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js +1 -0
  1030. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-TW.js +1 -0
  1031. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/less/datepicker.less +147 -0
  1032. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/README.md +55 -0
  1033. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/_coverage.html +26 -0
  1034. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/coverage.js +1 -0
  1035. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/jquery-1.7.1.min.js +5 -0
  1036. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/mock.js +1 -0
  1037. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit-logging.js +1 -0
  1038. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit.css +170 -0
  1039. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/qunit.js +37 -0
  1040. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/assets/utils.js +1 -0
  1041. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/run-qunit.js +1 -0
  1042. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/component.js +1 -0
  1043. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/events.js +1 -0
  1044. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/formats.js +1 -0
  1045. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/2011.js +1 -0
  1046. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/2012.js +1 -0
  1047. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/keyboard_navigation/all.js +1 -0
  1048. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/2011.js +1 -0
  1049. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/2012.js +1 -0
  1050. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/mouse_navigation/all.js +1 -0
  1051. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/suites/options.js +1 -0
  1052. data/public/rearview/vendor/bootstrap/plugins/bootstrap-datepicker/tests/tests.html +45 -0
  1053. data/public/rearview/vendor/bootstrap/plugins/font-awesome/css/font-awesome-ie7.css +1203 -0
  1054. data/public/rearview/vendor/bootstrap/plugins/font-awesome/css/font-awesome-ie7.min.css +384 -0
  1055. data/public/rearview/vendor/bootstrap/plugins/font-awesome/css/font-awesome.css +1457 -0
  1056. data/public/rearview/vendor/bootstrap/plugins/font-awesome/css/font-awesome.min.css +403 -0
  1057. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/FontAwesome.otf +0 -0
  1058. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.eot +0 -0
  1059. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.svg +399 -0
  1060. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.ttf +0 -0
  1061. data/public/rearview/vendor/bootstrap/plugins/font-awesome/font/fontawesome-webfont.woff +0 -0
  1062. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/bootstrap.less +84 -0
  1063. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/core.less +129 -0
  1064. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/extras.less +93 -0
  1065. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/font-awesome-ie7.less +1953 -0
  1066. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/font-awesome.less +33 -0
  1067. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/icons.less +381 -0
  1068. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/mixins.less +48 -0
  1069. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/path.less +14 -0
  1070. data/public/rearview/vendor/bootstrap/plugins/font-awesome/less/variables.less +735 -0
  1071. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_bootstrap.scss +84 -0
  1072. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_core.scss +129 -0
  1073. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_extras.scss +93 -0
  1074. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_icons.scss +381 -0
  1075. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_mixins.scss +48 -0
  1076. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_path.scss +14 -0
  1077. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/_variables.scss +734 -0
  1078. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/font-awesome-ie7.scss +1953 -0
  1079. data/public/rearview/vendor/bootstrap/plugins/font-awesome/scss/font-awesome.scss +33 -0
  1080. data/public/rearview/vendor/codemirror/LICENSE +23 -0
  1081. data/public/rearview/vendor/codemirror/README.md +8 -0
  1082. data/public/rearview/vendor/codemirror/demo/activeline.html +73 -0
  1083. data/public/rearview/vendor/codemirror/demo/changemode.html +51 -0
  1084. data/public/rearview/vendor/codemirror/demo/closetag.html +66 -0
  1085. data/public/rearview/vendor/codemirror/demo/complete.html +71 -0
  1086. data/public/rearview/vendor/codemirror/demo/emacs.html +60 -0
  1087. data/public/rearview/vendor/codemirror/demo/folding.html +62 -0
  1088. data/public/rearview/vendor/codemirror/demo/formatting.html +81 -0
  1089. data/public/rearview/vendor/codemirror/demo/fullscreen.html +147 -0
  1090. data/public/rearview/vendor/codemirror/demo/loadmode.html +40 -0
  1091. data/public/rearview/vendor/codemirror/demo/marker.html +53 -0
  1092. data/public/rearview/vendor/codemirror/demo/matchhighlighter.html +38 -0
  1093. data/public/rearview/vendor/codemirror/demo/multiplex.html +60 -0
  1094. data/public/rearview/vendor/codemirror/demo/mustache.html +58 -0
  1095. data/public/rearview/vendor/codemirror/demo/preview.html +76 -0
  1096. data/public/rearview/vendor/codemirror/demo/resize.html +42 -0
  1097. data/public/rearview/vendor/codemirror/demo/runmode.html +50 -0
  1098. data/public/rearview/vendor/codemirror/demo/search.html +85 -0
  1099. data/public/rearview/vendor/codemirror/demo/theme.html +79 -0
  1100. data/public/rearview/vendor/codemirror/demo/vim.html +53 -0
  1101. data/public/rearview/vendor/codemirror/demo/visibletabs.html +53 -0
  1102. data/public/rearview/vendor/codemirror/demo/xmlcomplete.html +71 -0
  1103. data/public/rearview/vendor/codemirror/doc/baboon.png +0 -0
  1104. data/public/rearview/vendor/codemirror/doc/baboon_vector.svg +153 -0
  1105. data/public/rearview/vendor/codemirror/doc/compress.html +163 -0
  1106. data/public/rearview/vendor/codemirror/doc/docs.css +138 -0
  1107. data/public/rearview/vendor/codemirror/doc/internals.html +497 -0
  1108. data/public/rearview/vendor/codemirror/doc/manual.html +1224 -0
  1109. data/public/rearview/vendor/codemirror/doc/oldrelease.html +305 -0
  1110. data/public/rearview/vendor/codemirror/doc/reporting.html +60 -0
  1111. data/public/rearview/vendor/codemirror/doc/upgrade_v2.2.html +98 -0
  1112. data/public/rearview/vendor/codemirror/index.html +472 -0
  1113. data/public/rearview/vendor/codemirror/keymap/emacs.js +1 -0
  1114. data/public/rearview/vendor/codemirror/keymap/vim.js +1 -0
  1115. data/public/rearview/vendor/codemirror/lib/codemirror.css +149 -0
  1116. data/public/rearview/vendor/codemirror/lib/codemirror.js +2 -0
  1117. data/public/rearview/vendor/codemirror/lib/util/closetag.js +20 -0
  1118. data/public/rearview/vendor/codemirror/lib/util/dialog.css +24 -0
  1119. data/public/rearview/vendor/codemirror/lib/util/dialog.js +1 -0
  1120. data/public/rearview/vendor/codemirror/lib/util/foldcode.js +5 -0
  1121. data/public/rearview/vendor/codemirror/lib/util/formatting.js +1 -0
  1122. data/public/rearview/vendor/codemirror/lib/util/javascript-hint.js +1 -0
  1123. data/public/rearview/vendor/codemirror/lib/util/loadmode.js +1 -0
  1124. data/public/rearview/vendor/codemirror/lib/util/match-highlighter.js +1 -0
  1125. data/public/rearview/vendor/codemirror/lib/util/multiplex.js +1 -0
  1126. data/public/rearview/vendor/codemirror/lib/util/overlay.js +1 -0
  1127. data/public/rearview/vendor/codemirror/lib/util/pig-hint.js +1 -0
  1128. data/public/rearview/vendor/codemirror/lib/util/runmode-standalone.js +1 -0
  1129. data/public/rearview/vendor/codemirror/lib/util/runmode.js +1 -0
  1130. data/public/rearview/vendor/codemirror/lib/util/search.js +1 -0
  1131. data/public/rearview/vendor/codemirror/lib/util/searchcursor.js +1 -0
  1132. data/public/rearview/vendor/codemirror/lib/util/simple-hint.css +16 -0
  1133. data/public/rearview/vendor/codemirror/lib/util/simple-hint.js +1 -0
  1134. data/public/rearview/vendor/codemirror/lib/util/xml-hint.js +1 -0
  1135. data/public/rearview/vendor/codemirror/mode/clike/clike.js +1 -0
  1136. data/public/rearview/vendor/codemirror/mode/clike/index.html +102 -0
  1137. data/public/rearview/vendor/codemirror/mode/clike/scala.html +766 -0
  1138. data/public/rearview/vendor/codemirror/mode/clojure/clojure.js +1 -0
  1139. data/public/rearview/vendor/codemirror/mode/clojure/index.html +67 -0
  1140. data/public/rearview/vendor/codemirror/mode/coffeescript/LICENSE +22 -0
  1141. data/public/rearview/vendor/codemirror/mode/coffeescript/coffeescript.js +1 -0
  1142. data/public/rearview/vendor/codemirror/mode/coffeescript/index.html +728 -0
  1143. data/public/rearview/vendor/codemirror/mode/commonlisp/commonlisp.js +1 -0
  1144. data/public/rearview/vendor/codemirror/mode/commonlisp/index.html +165 -0
  1145. data/public/rearview/vendor/codemirror/mode/css/css.js +1 -0
  1146. data/public/rearview/vendor/codemirror/mode/css/index.html +58 -0
  1147. data/public/rearview/vendor/codemirror/mode/css/test.js +1 -0
  1148. data/public/rearview/vendor/codemirror/mode/diff/diff.js +1 -0
  1149. data/public/rearview/vendor/codemirror/mode/diff/index.html +105 -0
  1150. data/public/rearview/vendor/codemirror/mode/ecl/ecl.js +1 -0
  1151. data/public/rearview/vendor/codemirror/mode/ecl/index.html +42 -0
  1152. data/public/rearview/vendor/codemirror/mode/erlang/erlang.js +1 -0
  1153. data/public/rearview/vendor/codemirror/mode/erlang/index.html +63 -0
  1154. data/public/rearview/vendor/codemirror/mode/gfm/gfm.js +1 -0
  1155. data/public/rearview/vendor/codemirror/mode/gfm/index.html +48 -0
  1156. data/public/rearview/vendor/codemirror/mode/go/go.js +1 -0
  1157. data/public/rearview/vendor/codemirror/mode/go/index.html +73 -0
  1158. data/public/rearview/vendor/codemirror/mode/groovy/groovy.js +1 -0
  1159. data/public/rearview/vendor/codemirror/mode/groovy/index.html +72 -0
  1160. data/public/rearview/vendor/codemirror/mode/haskell/haskell.js +1 -0
  1161. data/public/rearview/vendor/codemirror/mode/haskell/index.html +61 -0
  1162. data/public/rearview/vendor/codemirror/mode/haxe/haxe.js +1 -0
  1163. data/public/rearview/vendor/codemirror/mode/haxe/index.html +91 -0
  1164. data/public/rearview/vendor/codemirror/mode/htmlembedded/htmlembedded.js +1 -0
  1165. data/public/rearview/vendor/codemirror/mode/htmlembedded/index.html +50 -0
  1166. data/public/rearview/vendor/codemirror/mode/htmlmixed/htmlmixed.js +1 -0
  1167. data/public/rearview/vendor/codemirror/mode/htmlmixed/index.html +52 -0
  1168. data/public/rearview/vendor/codemirror/mode/javascript/index.html +78 -0
  1169. data/public/rearview/vendor/codemirror/mode/javascript/javascript.js +1 -0
  1170. data/public/rearview/vendor/codemirror/mode/jinja2/index.html +38 -0
  1171. data/public/rearview/vendor/codemirror/mode/jinja2/jinja2.js +1 -0
  1172. data/public/rearview/vendor/codemirror/mode/less/index.html +740 -0
  1173. data/public/rearview/vendor/codemirror/mode/less/less.js +1 -0
  1174. data/public/rearview/vendor/codemirror/mode/lua/index.html +73 -0
  1175. data/public/rearview/vendor/codemirror/mode/lua/lua.js +1 -0
  1176. data/public/rearview/vendor/codemirror/mode/markdown/index.html +343 -0
  1177. data/public/rearview/vendor/codemirror/mode/markdown/markdown.js +1 -0
  1178. data/public/rearview/vendor/codemirror/mode/markdown/test.js +1 -0
  1179. data/public/rearview/vendor/codemirror/mode/mysql/index.html +42 -0
  1180. data/public/rearview/vendor/codemirror/mode/mysql/mysql.js +1 -0
  1181. data/public/rearview/vendor/codemirror/mode/ntriples/index.html +33 -0
  1182. data/public/rearview/vendor/codemirror/mode/ntriples/ntriples.js +1 -0
  1183. data/public/rearview/vendor/codemirror/mode/ocaml/index.html +130 -0
  1184. data/public/rearview/vendor/codemirror/mode/ocaml/ocaml.js +1 -0
  1185. data/public/rearview/vendor/codemirror/mode/pascal/LICENSE +7 -0
  1186. data/public/rearview/vendor/codemirror/mode/pascal/index.html +49 -0
  1187. data/public/rearview/vendor/codemirror/mode/pascal/pascal.js +1 -0
  1188. data/public/rearview/vendor/codemirror/mode/perl/LICENSE +19 -0
  1189. data/public/rearview/vendor/codemirror/mode/perl/index.html +63 -0
  1190. data/public/rearview/vendor/codemirror/mode/perl/perl.js +1 -0
  1191. data/public/rearview/vendor/codemirror/mode/php/index.html +49 -0
  1192. data/public/rearview/vendor/codemirror/mode/php/php.js +1 -0
  1193. data/public/rearview/vendor/codemirror/mode/pig/index.html +43 -0
  1194. data/public/rearview/vendor/codemirror/mode/pig/pig.js +1 -0
  1195. data/public/rearview/vendor/codemirror/mode/plsql/index.html +63 -0
  1196. data/public/rearview/vendor/codemirror/mode/plsql/plsql.js +1 -0
  1197. data/public/rearview/vendor/codemirror/mode/properties/index.html +41 -0
  1198. data/public/rearview/vendor/codemirror/mode/properties/properties.js +1 -0
  1199. data/public/rearview/vendor/codemirror/mode/python/LICENSE.txt +21 -0
  1200. data/public/rearview/vendor/codemirror/mode/python/index.html +123 -0
  1201. data/public/rearview/vendor/codemirror/mode/python/python.js +1 -0
  1202. data/public/rearview/vendor/codemirror/mode/r/LICENSE +24 -0
  1203. data/public/rearview/vendor/codemirror/mode/r/index.html +74 -0
  1204. data/public/rearview/vendor/codemirror/mode/r/r.js +1 -0
  1205. data/public/rearview/vendor/codemirror/mode/rpm/changes/changes.js +1 -0
  1206. data/public/rearview/vendor/codemirror/mode/rpm/changes/index.html +54 -0
  1207. data/public/rearview/vendor/codemirror/mode/rpm/spec/index.html +100 -0
  1208. data/public/rearview/vendor/codemirror/mode/rpm/spec/spec.css +5 -0
  1209. data/public/rearview/vendor/codemirror/mode/rpm/spec/spec.js +1 -0
  1210. data/public/rearview/vendor/codemirror/mode/rst/index.html +526 -0
  1211. data/public/rearview/vendor/codemirror/mode/rst/rst.js +1 -0
  1212. data/public/rearview/vendor/codemirror/mode/ruby/LICENSE +24 -0
  1213. data/public/rearview/vendor/codemirror/mode/ruby/index.html +172 -0
  1214. data/public/rearview/vendor/codemirror/mode/ruby/ruby.js +1 -0
  1215. data/public/rearview/vendor/codemirror/mode/rust/index.html +49 -0
  1216. data/public/rearview/vendor/codemirror/mode/rust/rust.js +1 -0
  1217. data/public/rearview/vendor/codemirror/mode/scheme/index.html +65 -0
  1218. data/public/rearview/vendor/codemirror/mode/scheme/scheme.js +1 -0
  1219. data/public/rearview/vendor/codemirror/mode/shell/index.html +50 -0
  1220. data/public/rearview/vendor/codemirror/mode/shell/shell.js +1 -0
  1221. data/public/rearview/vendor/codemirror/mode/sieve/LICENSE +23 -0
  1222. data/public/rearview/vendor/codemirror/mode/sieve/index.html +81 -0
  1223. data/public/rearview/vendor/codemirror/mode/sieve/sieve.js +6 -0
  1224. data/public/rearview/vendor/codemirror/mode/smalltalk/index.html +56 -0
  1225. data/public/rearview/vendor/codemirror/mode/smalltalk/smalltalk.js +1 -0
  1226. data/public/rearview/vendor/codemirror/mode/smarty/index.html +83 -0
  1227. data/public/rearview/vendor/codemirror/mode/smarty/smarty.js +1 -0
  1228. data/public/rearview/vendor/codemirror/mode/sparql/index.html +41 -0
  1229. data/public/rearview/vendor/codemirror/mode/sparql/sparql.js +1 -0
  1230. data/public/rearview/vendor/codemirror/mode/stex/index.html +98 -0
  1231. data/public/rearview/vendor/codemirror/mode/stex/stex.js +1 -0
  1232. data/public/rearview/vendor/codemirror/mode/stex/test.js +1 -0
  1233. data/public/rearview/vendor/codemirror/mode/tiddlywiki/index.html +141 -0
  1234. data/public/rearview/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  1235. data/public/rearview/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js +17 -0
  1236. data/public/rearview/vendor/codemirror/mode/tiki/index.html +83 -0
  1237. data/public/rearview/vendor/codemirror/mode/tiki/tiki.css +22 -0
  1238. data/public/rearview/vendor/codemirror/mode/tiki/tiki.js +1 -0
  1239. data/public/rearview/vendor/codemirror/mode/vb/LICENSE.txt +21 -0
  1240. data/public/rearview/vendor/codemirror/mode/vb/index.html +89 -0
  1241. data/public/rearview/vendor/codemirror/mode/vb/vb.js +1 -0
  1242. data/public/rearview/vendor/codemirror/mode/vbscript/index.html +43 -0
  1243. data/public/rearview/vendor/codemirror/mode/vbscript/vbscript.js +1 -0
  1244. data/public/rearview/vendor/codemirror/mode/velocity/index.html +104 -0
  1245. data/public/rearview/vendor/codemirror/mode/velocity/velocity.js +1 -0
  1246. data/public/rearview/vendor/codemirror/mode/verilog/index.html +211 -0
  1247. data/public/rearview/vendor/codemirror/mode/verilog/verilog.js +1 -0
  1248. data/public/rearview/vendor/codemirror/mode/xml/index.html +45 -0
  1249. data/public/rearview/vendor/codemirror/mode/xml/xml.js +1 -0
  1250. data/public/rearview/vendor/codemirror/mode/xquery/LICENSE +20 -0
  1251. data/public/rearview/vendor/codemirror/mode/xquery/index.html +223 -0
  1252. data/public/rearview/vendor/codemirror/mode/xquery/test/index.html +27 -0
  1253. data/public/rearview/vendor/codemirror/mode/xquery/test/testBase.js +1 -0
  1254. data/public/rearview/vendor/codemirror/mode/xquery/test/testEmptySequenceKeyword.js +1 -0
  1255. data/public/rearview/vendor/codemirror/mode/xquery/test/testMultiAttr.js +1 -0
  1256. data/public/rearview/vendor/codemirror/mode/xquery/test/testNamespaces.js +1 -0
  1257. data/public/rearview/vendor/codemirror/mode/xquery/test/testProcessingInstructions.js +1 -0
  1258. data/public/rearview/vendor/codemirror/mode/xquery/test/testQuotes.js +1 -0
  1259. data/public/rearview/vendor/codemirror/mode/xquery/xquery.js +24 -0
  1260. data/public/rearview/vendor/codemirror/mode/yaml/index.html +68 -0
  1261. data/public/rearview/vendor/codemirror/mode/yaml/yaml.js +1 -0
  1262. data/public/rearview/vendor/codemirror/package.json +21 -0
  1263. data/public/rearview/vendor/codemirror/test/driver.js +1 -0
  1264. data/public/rearview/vendor/codemirror/test/index.html +168 -0
  1265. data/public/rearview/vendor/codemirror/test/lint/lint.js +1 -0
  1266. data/public/rearview/vendor/codemirror/test/lint/parse-js.js +60 -0
  1267. data/public/rearview/vendor/codemirror/test/mode_test.css +9 -0
  1268. data/public/rearview/vendor/codemirror/test/mode_test.js +1 -0
  1269. data/public/rearview/vendor/codemirror/test/phantom_driver.js +1 -0
  1270. data/public/rearview/vendor/codemirror/test/run.js +32 -0
  1271. data/public/rearview/vendor/codemirror/test/test.js +1 -0
  1272. data/public/rearview/vendor/codemirror/theme/ambiance.css +67 -0
  1273. data/public/rearview/vendor/codemirror/theme/blackboard.css +23 -0
  1274. data/public/rearview/vendor/codemirror/theme/cobalt.css +17 -0
  1275. data/public/rearview/vendor/codemirror/theme/eclipse.css +24 -0
  1276. data/public/rearview/vendor/codemirror/theme/elegant.css +10 -0
  1277. data/public/rearview/vendor/codemirror/theme/erlang-dark.css +20 -0
  1278. data/public/rearview/vendor/codemirror/theme/lesser-dark.css +37 -0
  1279. data/public/rearview/vendor/codemirror/theme/monokai.css +23 -0
  1280. data/public/rearview/vendor/codemirror/theme/neat.css +9 -0
  1281. data/public/rearview/vendor/codemirror/theme/night.css +19 -0
  1282. data/public/rearview/vendor/codemirror/theme/rubyblue.css +19 -0
  1283. data/public/rearview/vendor/codemirror/theme/vibrant-ink.css +24 -0
  1284. data/public/rearview/vendor/codemirror/theme/xq-dark.css +42 -0
  1285. data/public/rearview/vendor/handlebars/js/handlebars.js +2 -0
  1286. data/public/rearview/vendor/highcharts/examples/area-basic/index.htm +94 -0
  1287. data/public/rearview/vendor/highcharts/examples/area-inverted/index.htm +91 -0
  1288. data/public/rearview/vendor/highcharts/examples/area-missing/index.htm +85 -0
  1289. data/public/rearview/vendor/highcharts/examples/area-negative/index.htm +55 -0
  1290. data/public/rearview/vendor/highcharts/examples/area-stacked-percent/index.htm +82 -0
  1291. data/public/rearview/vendor/highcharts/examples/area-stacked/index.htm +86 -0
  1292. data/public/rearview/vendor/highcharts/examples/arearange/index.htm +62 -0
  1293. data/public/rearview/vendor/highcharts/examples/areaspline/index.htm +85 -0
  1294. data/public/rearview/vendor/highcharts/examples/bar-basic/index.htm +89 -0
  1295. data/public/rearview/vendor/highcharts/examples/bar-negative-stack/index.htm +87 -0
  1296. data/public/rearview/vendor/highcharts/examples/bar-stacked/index.htm +67 -0
  1297. data/public/rearview/vendor/highcharts/examples/column-basic/index.htm +97 -0
  1298. data/public/rearview/vendor/highcharts/examples/column-drilldown/index.htm +155 -0
  1299. data/public/rearview/vendor/highcharts/examples/column-negative/index.htm +55 -0
  1300. data/public/rearview/vendor/highcharts/examples/column-parsed/index.htm +120 -0
  1301. data/public/rearview/vendor/highcharts/examples/column-rotated-labels/index.htm +100 -0
  1302. data/public/rearview/vendor/highcharts/examples/column-stacked-and-grouped/index.htm +79 -0
  1303. data/public/rearview/vendor/highcharts/examples/column-stacked-percent/index.htm +63 -0
  1304. data/public/rearview/vendor/highcharts/examples/column-stacked/index.htm +86 -0
  1305. data/public/rearview/vendor/highcharts/examples/columnrange/index.htm +87 -0
  1306. data/public/rearview/vendor/highcharts/examples/combo-dual-axes/index.htm +101 -0
  1307. data/public/rearview/vendor/highcharts/examples/combo-multi-axes/index.htm +137 -0
  1308. data/public/rearview/vendor/highcharts/examples/combo-regression/index.htm +60 -0
  1309. data/public/rearview/vendor/highcharts/examples/combo/index.htm +102 -0
  1310. data/public/rearview/vendor/highcharts/examples/dynamic-click-to-add/index.htm +88 -0
  1311. data/public/rearview/vendor/highcharts/examples/dynamic-master-detail/index.htm +371 -0
  1312. data/public/rearview/vendor/highcharts/examples/dynamic-update/index.htm +96 -0
  1313. data/public/rearview/vendor/highcharts/examples/gauge-clock/index.htm +174 -0
  1314. data/public/rearview/vendor/highcharts/examples/gauge-dual/index.htm +122 -0
  1315. data/public/rearview/vendor/highcharts/examples/gauge-speedometer/index.htm +133 -0
  1316. data/public/rearview/vendor/highcharts/examples/gauge-vu-meter/index.htm +148 -0
  1317. data/public/rearview/vendor/highcharts/examples/line-ajax/analytics.tsv +87 -0
  1318. data/public/rearview/vendor/highcharts/examples/line-ajax/index.htm +188 -0
  1319. data/public/rearview/vendor/highcharts/examples/line-basic/index.htm +81 -0
  1320. data/public/rearview/vendor/highcharts/examples/line-labels/index.htm +66 -0
  1321. data/public/rearview/vendor/highcharts/examples/line-log-axis/index.htm +53 -0
  1322. data/public/rearview/vendor/highcharts/examples/line-time-series/index.htm +206 -0
  1323. data/public/rearview/vendor/highcharts/examples/pie-basic/index.htm +70 -0
  1324. data/public/rearview/vendor/highcharts/examples/pie-donut/index.htm +146 -0
  1325. data/public/rearview/vendor/highcharts/examples/pie-gradient/index.htm +83 -0
  1326. data/public/rearview/vendor/highcharts/examples/pie-legend/index.htm +69 -0
  1327. data/public/rearview/vendor/highcharts/examples/polar-spider/index.htm +75 -0
  1328. data/public/rearview/vendor/highcharts/examples/polar-wind-rose/index.htm +307 -0
  1329. data/public/rearview/vendor/highcharts/examples/polar/index.htm +79 -0
  1330. data/public/rearview/vendor/highcharts/examples/scatter/index.htm +197 -0
  1331. data/public/rearview/vendor/highcharts/examples/spline-inverted/index.htm +87 -0
  1332. data/public/rearview/vendor/highcharts/examples/spline-irregular-time/index.htm +133 -0
  1333. data/public/rearview/vendor/highcharts/examples/spline-plot-bands/index.htm +169 -0
  1334. data/public/rearview/vendor/highcharts/examples/spline-symbols/index.htm +87 -0
  1335. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/pom.xml +106 -0
  1336. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/controller/ExportController.java +229 -0
  1337. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/filters/DefaultEncodingFilter.java +79 -0
  1338. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/MimeType.java +34 -0
  1339. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/SVGRasterizer.java +77 -0
  1340. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/java/com/highcharts/export/util/SVGRasterizerException.java +22 -0
  1341. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/resources/log4j.properties +17 -0
  1342. data/public/rearview/vendor/highcharts/exporting-server/java/highcharts-export/src/main/webapp/WEB-INF/web.xml +22 -0
  1343. data/public/rearview/vendor/highcharts/exporting-server/java/install.txt +10 -0
  1344. data/public/rearview/vendor/highcharts/exporting-server/php/index-with-imagick.php +112 -0
  1345. data/public/rearview/vendor/highcharts/exporting-server/php/index.php +112 -0
  1346. data/public/rearview/vendor/highcharts/gfx/vml-radial-gradient.png +0 -0
  1347. data/public/rearview/vendor/highcharts/graphics/skies.jpg +0 -0
  1348. data/public/rearview/vendor/highcharts/graphics/snow.png +0 -0
  1349. data/public/rearview/vendor/highcharts/graphics/sun.png +0 -0
  1350. data/public/rearview/vendor/highcharts/index.htm +79 -0
  1351. data/public/rearview/vendor/highcharts/js/adapters/mootools-adapter.js +10 -0
  1352. data/public/rearview/vendor/highcharts/js/adapters/mootools-adapter.src.js +10 -0
  1353. data/public/rearview/vendor/highcharts/js/adapters/prototype-adapter.js +11 -0
  1354. data/public/rearview/vendor/highcharts/js/adapters/prototype-adapter.src.js +11 -0
  1355. data/public/rearview/vendor/highcharts/js/highcharts-more.js +9 -0
  1356. data/public/rearview/vendor/highcharts/js/highcharts.js +12 -0
  1357. data/public/rearview/vendor/highcharts/js/highcharts.src.js +12 -0
  1358. data/public/rearview/vendor/highcharts/js/modules/canvas-tools.js +23 -0
  1359. data/public/rearview/vendor/highcharts/js/modules/canvas-tools.src.js +29 -0
  1360. data/public/rearview/vendor/highcharts/js/modules/data.js +9 -0
  1361. data/public/rearview/vendor/highcharts/js/modules/data.src.js +9 -0
  1362. data/public/rearview/vendor/highcharts/js/modules/exporting.js +10 -0
  1363. data/public/rearview/vendor/highcharts/js/modules/exporting.src.js +10 -0
  1364. data/public/rearview/vendor/highcharts/js/themes/dark-blue.js +1 -0
  1365. data/public/rearview/vendor/highcharts/js/themes/dark-green.js +1 -0
  1366. data/public/rearview/vendor/highcharts/js/themes/gray.js +1 -0
  1367. data/public/rearview/vendor/highcharts/js/themes/grid.js +1 -0
  1368. data/public/rearview/vendor/highcharts/js/themes/skies.js +1 -0
  1369. data/public/rearview/vendor/jasmine/SpecRunner.html +53 -0
  1370. data/public/rearview/vendor/jasmine/lib/jasmine-1.3.1/MIT.LICENSE +20 -0
  1371. data/public/rearview/vendor/jasmine/lib/jasmine-1.3.1/jasmine-html.js +1 -0
  1372. data/public/rearview/vendor/jasmine/lib/jasmine-1.3.1/jasmine.css +80 -0
  1373. data/public/rearview/vendor/jasmine/lib/jasmine-1.3.1/jasmine.js +2 -0
  1374. data/public/rearview/vendor/jasmine/spec/PlayerSpec.js +1 -0
  1375. data/public/rearview/vendor/jasmine/spec/SpecHelper.js +1 -0
  1376. data/public/rearview/vendor/jasmine/src/Player.js +1 -0
  1377. data/public/rearview/vendor/jasmine/src/Song.js +1 -0
  1378. data/public/rearview/vendor/jquery/js/jquery.js +24 -0
  1379. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/animated-overlay.gif +0 -0
  1380. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1381. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1382. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1383. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  1384. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  1385. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  1386. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  1387. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1388. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  1389. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  1390. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  1391. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  1392. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  1393. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  1394. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/jquery-ui-1.10.3.custom.css +732 -0
  1395. data/public/rearview/vendor/jquery/plugins/jquery-ui/css/dark-hive/jquery-ui-1.10.3.custom.min.css +6 -0
  1396. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/AUTHORS.txt +245 -0
  1397. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/Gruntfile.js +1 -0
  1398. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/MIT-LICENSE.txt +26 -0
  1399. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/README.md +99 -0
  1400. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/addClass/default.html +45 -0
  1401. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/addClass/index.html +14 -0
  1402. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/animate/default.html +55 -0
  1403. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/animate/index.html +14 -0
  1404. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/alt-field.html +29 -0
  1405. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/animation.html +51 -0
  1406. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/buttonbar.html +28 -0
  1407. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/date-formats.html +40 -0
  1408. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/date-range.html +44 -0
  1409. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/default.html +26 -0
  1410. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/dropdown-month-year.html +29 -0
  1411. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/icon-trigger.html +30 -0
  1412. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/images/calendar.gif +0 -0
  1413. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/index.html +27 -0
  1414. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/inline.html +26 -0
  1415. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-ar.js +1 -0
  1416. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-fr.js +1 -0
  1417. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-he.js +1 -0
  1418. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/jquery.ui.datepicker-zh-TW.js +1 -0
  1419. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/localization.html +41 -0
  1420. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/min-max.html +26 -0
  1421. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/multiple-calendars.html +29 -0
  1422. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/other-months.html +30 -0
  1423. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/datepicker/show-week.html +32 -0
  1424. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/demos.css +16 -0
  1425. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/constrain-movement.html +58 -0
  1426. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/cursor-style.html +42 -0
  1427. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/default.html +32 -0
  1428. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/delay-start.html +38 -0
  1429. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/events.html +70 -0
  1430. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/handle.html +41 -0
  1431. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/index.html +24 -0
  1432. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/revert.html +37 -0
  1433. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/scroll.html +44 -0
  1434. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/snap-to.html +61 -0
  1435. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/sortable.html +50 -0
  1436. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/draggable/visual-feedback.html +70 -0
  1437. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/accepted-elements.html +53 -0
  1438. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/default.html +46 -0
  1439. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  1440. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  1441. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  1442. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  1443. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  1444. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  1445. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  1446. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  1447. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/index.html +20 -0
  1448. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/photo-manager.html +182 -0
  1449. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/propagation.html +73 -0
  1450. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/revert.html +54 -0
  1451. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/shopping-cart.html +94 -0
  1452. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/droppable/visual-feedback.html +72 -0
  1453. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/default.html +102 -0
  1454. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/easing.html +102 -0
  1455. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/effect/index.html +15 -0
  1456. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/hide/default.html +95 -0
  1457. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/hide/index.html +14 -0
  1458. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/calendar.gif +0 -0
  1459. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  1460. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-config-on.gif +0 -0
  1461. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  1462. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  1463. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/icon-docs-info.gif +0 -0
  1464. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/images/pbar-ani.gif +0 -0
  1465. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/index.html +26 -0
  1466. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/removeClass/default.html +45 -0
  1467. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/removeClass/index.html +14 -0
  1468. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/show/default.html +97 -0
  1469. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/show/index.html +14 -0
  1470. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/switchClass/default.html +40 -0
  1471. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/switchClass/index.html +14 -0
  1472. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggle/default.html +103 -0
  1473. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggle/index.html +14 -0
  1474. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggleClass/default.html +39 -0
  1475. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/toggleClass/index.html +14 -0
  1476. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/widget/default.html +178 -0
  1477. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/demos/widget/index.html +14 -0
  1478. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/blind-effect.html +58 -0
  1479. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/bounce-effect.html +61 -0
  1480. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/clip-effect.html +55 -0
  1481. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/datepicker.html +946 -0
  1482. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/draggable.html +741 -0
  1483. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/drop-effect.html +55 -0
  1484. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/droppable.html +548 -0
  1485. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/explode-effect.html +52 -0
  1486. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/fade-effect.html +43 -0
  1487. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/fold-effect.html +61 -0
  1488. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/highlight-effect.html +52 -0
  1489. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/jQuery.widget.html +611 -0
  1490. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/mouse.html +216 -0
  1491. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/puff-effect.html +52 -0
  1492. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/pulsate-effect.html +52 -0
  1493. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/scale-effect.html +82 -0
  1494. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/shake-effect.html +66 -0
  1495. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/size-effect.html +65 -0
  1496. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/slide-effect.html +59 -0
  1497. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/docs/transfer-effect.html +61 -0
  1498. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.culture.de-DE.js +14 -0
  1499. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.culture.ja-JP.js +14 -0
  1500. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/globalize.js +11 -0
  1501. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/jquery.mousewheel.js +13 -0
  1502. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/jshint.js +34 -0
  1503. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/qunit.css +178 -0
  1504. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/external/qunit.js +37 -0
  1505. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/jquery-1.9.1.js +24 -0
  1506. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/package.json +70 -0
  1507. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/animated-overlay.gif +0 -0
  1508. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1509. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1510. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1511. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1512. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1513. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1514. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1515. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1516. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  1517. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  1518. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  1519. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  1520. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  1521. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery-ui.css +599 -0
  1522. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.all.css +659 -0
  1523. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.base.css +269 -0
  1524. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.core.css +73 -0
  1525. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.datepicker.css +174 -0
  1526. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.theme.css +380 -0
  1527. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/animated-overlay.gif +0 -0
  1528. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1529. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1530. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1531. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1532. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1533. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1534. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1535. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1536. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png +0 -0
  1537. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png +0 -0
  1538. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png +0 -0
  1539. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png +0 -0
  1540. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
  1541. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery-ui.min.css +6 -0
  1542. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.core.min.css +4 -0
  1543. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.datepicker.min.css +4 -0
  1544. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/base/minified/jquery.ui.theme.min.css +4 -0
  1545. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/animated-overlay.gif +0 -0
  1546. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1547. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1548. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1549. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  1550. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  1551. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  1552. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  1553. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1554. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  1555. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  1556. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  1557. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  1558. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  1559. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  1560. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery-ui.css +600 -0
  1561. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.all.css +659 -0
  1562. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.base.css +269 -0
  1563. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.core.css +73 -0
  1564. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.datepicker.css +174 -0
  1565. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/jquery.ui.theme.css +380 -0
  1566. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/animated-overlay.gif +0 -0
  1567. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1568. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1569. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1570. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  1571. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  1572. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  1573. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  1574. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1575. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-bg_loop_25_000000_21x21.png +0 -0
  1576. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_222222_256x240.png +0 -0
  1577. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_4b8e0b_256x240.png +0 -0
  1578. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_a83300_256x240.png +0 -0
  1579. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_cccccc_256x240.png +0 -0
  1580. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/images/ui-icons_ffffff_256x240.png +0 -0
  1581. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery-ui.min.css +6 -0
  1582. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.core.min.css +4 -0
  1583. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.datepicker.min.css +4 -0
  1584. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/themes/dark-hive/minified/jquery.ui.theme.min.css +4 -0
  1585. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.core.jquery.json +61 -0
  1586. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.datepicker.jquery.json +66 -0
  1587. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.draggable.jquery.json +66 -0
  1588. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.droppable.jquery.json +67 -0
  1589. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-blind.jquery.json +65 -0
  1590. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-bounce.jquery.json +65 -0
  1591. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-clip.jquery.json +65 -0
  1592. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-drop.jquery.json +65 -0
  1593. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-explode.jquery.json +65 -0
  1594. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-fade.jquery.json +65 -0
  1595. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-fold.jquery.json +65 -0
  1596. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-highlight.jquery.json +65 -0
  1597. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-pulsate.jquery.json +65 -0
  1598. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-scale.jquery.json +65 -0
  1599. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-shake.jquery.json +65 -0
  1600. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-slide.jquery.json +65 -0
  1601. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect-transfer.jquery.json +63 -0
  1602. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.effect.jquery.json +68 -0
  1603. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.mouse.jquery.json +64 -0
  1604. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui.widget.jquery.json +64 -0
  1605. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery-ui-i18n.js +7 -0
  1606. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +1 -0
  1607. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +1 -0
  1608. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +1 -0
  1609. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +1 -0
  1610. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-be.js +1 -0
  1611. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +1 -0
  1612. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +1 -0
  1613. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +1 -0
  1614. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +1 -0
  1615. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js +1 -0
  1616. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +1 -0
  1617. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +1 -0
  1618. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +1 -0
  1619. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +1 -0
  1620. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +1 -0
  1621. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +1 -0
  1622. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +1 -0
  1623. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +1 -0
  1624. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +1 -0
  1625. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +1 -0
  1626. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +1 -0
  1627. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +1 -0
  1628. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +1 -0
  1629. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CA.js +1 -0
  1630. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +1 -0
  1631. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +1 -0
  1632. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +1 -0
  1633. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +1 -0
  1634. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js +1 -0
  1635. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +1 -0
  1636. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +1 -0
  1637. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +1 -0
  1638. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +1 -0
  1639. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +1 -0
  1640. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +1 -0
  1641. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +1 -0
  1642. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ka.js +1 -0
  1643. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js +1 -0
  1644. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-km.js +1 -0
  1645. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +1 -0
  1646. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ky.js +1 -0
  1647. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js +1 -0
  1648. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +1 -0
  1649. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +1 -0
  1650. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js +1 -0
  1651. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +1 -0
  1652. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +1 -0
  1653. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nb.js +1 -0
  1654. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js +1 -0
  1655. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +1 -0
  1656. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nn.js +1 -0
  1657. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +1 -0
  1658. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +1 -0
  1659. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +1 -0
  1660. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +1 -0
  1661. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +1 -0
  1662. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +1 -0
  1663. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +1 -0
  1664. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +1 -0
  1665. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +1 -0
  1666. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +1 -0
  1667. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +1 -0
  1668. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +1 -0
  1669. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +1 -0
  1670. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +1 -0
  1671. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +1 -0
  1672. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +1 -0
  1673. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +1 -0
  1674. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +1 -0
  1675. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +1 -0
  1676. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +1 -0
  1677. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +1 -0
  1678. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +1 -0
  1679. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery-ui.custom.js +19 -0
  1680. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.core.js +12 -0
  1681. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.datepicker.js +16 -0
  1682. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.draggable.js +17 -0
  1683. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.droppable.js +18 -0
  1684. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-blind.js +15 -0
  1685. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-bounce.js +15 -0
  1686. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-clip.js +15 -0
  1687. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-drop.js +15 -0
  1688. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-explode.js +15 -0
  1689. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-fade.js +15 -0
  1690. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-fold.js +15 -0
  1691. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-highlight.js +15 -0
  1692. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-pulsate.js +15 -0
  1693. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-scale.js +15 -0
  1694. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-shake.js +15 -0
  1695. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-slide.js +15 -0
  1696. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect-transfer.js +15 -0
  1697. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.effect.js +23 -0
  1698. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.mouse.js +15 -0
  1699. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/jquery.ui.widget.js +12 -0
  1700. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery-ui-i18n.min.js +7 -0
  1701. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-af.min.js +5 -0
  1702. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js +5 -0
  1703. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar.min.js +5 -0
  1704. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-az.min.js +5 -0
  1705. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-be.min.js +5 -0
  1706. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bg.min.js +5 -0
  1707. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bs.min.js +5 -0
  1708. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ca.min.js +5 -0
  1709. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cs.min.js +5 -0
  1710. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js +5 -0
  1711. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-da.min.js +5 -0
  1712. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-de.min.js +5 -0
  1713. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-el.min.js +5 -0
  1714. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js +5 -0
  1715. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js +5 -0
  1716. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js +5 -0
  1717. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eo.min.js +5 -0
  1718. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-es.min.js +5 -0
  1719. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-et.min.js +5 -0
  1720. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eu.min.js +5 -0
  1721. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fa.min.js +5 -0
  1722. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fi.min.js +5 -0
  1723. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fo.min.js +5 -0
  1724. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js +5 -0
  1725. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js +5 -0
  1726. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fr.min.js +5 -0
  1727. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-gl.min.js +5 -0
  1728. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-he.min.js +5 -0
  1729. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hi.min.js +5 -0
  1730. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hr.min.js +5 -0
  1731. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hu.min.js +5 -0
  1732. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hy.min.js +5 -0
  1733. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-id.min.js +5 -0
  1734. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-is.min.js +5 -0
  1735. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-it.min.js +5 -0
  1736. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ja.min.js +5 -0
  1737. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ka.min.js +5 -0
  1738. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-kk.min.js +5 -0
  1739. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-km.min.js +5 -0
  1740. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ko.min.js +5 -0
  1741. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ky.min.js +5 -0
  1742. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lb.min.js +5 -0
  1743. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lt.min.js +5 -0
  1744. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lv.min.js +5 -0
  1745. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-mk.min.js +5 -0
  1746. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ml.min.js +5 -0
  1747. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ms.min.js +5 -0
  1748. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nb.min.js +5 -0
  1749. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js +5 -0
  1750. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl.min.js +5 -0
  1751. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nn.min.js +5 -0
  1752. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-no.min.js +5 -0
  1753. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pl.min.js +5 -0
  1754. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js +5 -0
  1755. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt.min.js +5 -0
  1756. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-rm.min.js +5 -0
  1757. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ro.min.js +5 -0
  1758. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ru.min.js +5 -0
  1759. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sk.min.js +5 -0
  1760. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sl.min.js +5 -0
  1761. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sq.min.js +5 -0
  1762. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js +5 -0
  1763. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr.min.js +5 -0
  1764. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sv.min.js +5 -0
  1765. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ta.min.js +5 -0
  1766. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-th.min.js +5 -0
  1767. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tj.min.js +5 -0
  1768. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tr.min.js +5 -0
  1769. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-uk.min.js +5 -0
  1770. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-vi.min.js +5 -0
  1771. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js +5 -0
  1772. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js +5 -0
  1773. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js +5 -0
  1774. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery-ui.custom.min.js +8 -0
  1775. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.core.min.js +5 -0
  1776. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.datepicker.min.js +6 -0
  1777. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.draggable.min.js +5 -0
  1778. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.droppable.min.js +5 -0
  1779. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-blind.min.js +5 -0
  1780. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js +5 -0
  1781. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-clip.min.js +5 -0
  1782. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-drop.min.js +5 -0
  1783. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-explode.min.js +5 -0
  1784. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-fade.min.js +5 -0
  1785. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-fold.min.js +5 -0
  1786. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js +5 -0
  1787. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js +5 -0
  1788. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-scale.min.js +5 -0
  1789. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-shake.min.js +5 -0
  1790. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-slide.min.js +5 -0
  1791. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js +5 -0
  1792. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect.min.js +5 -0
  1793. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.mouse.min.js +5 -0
  1794. data/public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.widget.min.js +5 -0
  1795. data/public/rearview/vendor/jquery/plugins/jquery-ui/js/jquery-ui-1.10.3.custom.js +10 -0
  1796. data/public/rearview/vendor/jquery/plugins/jquery-ui/js/jquery-ui-1.10.3.custom.min.js +10 -0
  1797. data/public/rearview/vendor/jquery/plugins/jquery.validate.js +14 -0
  1798. data/public/rearview/vendor/jquery/plugins/timepicker-ui/css/jquery.timepicker.css +31 -0
  1799. data/public/rearview/vendor/jquery/plugins/timepicker-ui/js/jquery.timepicker.js +11 -0
  1800. data/public/rearview/vendor/less/js/less.js +13 -0
  1801. data/public/rearview/vendor/parsley/js/parsley.js +1 -0
  1802. data/public/rearview/vendor/parsley/js/parsley.min.js +1 -0
  1803. data/public/rearview/vendor/require/js/require.js +31 -0
  1804. data/public/rearview/vendor/require/plugins/domready/domready.js +7 -0
  1805. data/public/rearview/vendor/timeline/examples/example.json +38 -0
  1806. data/public/rearview/vendor/timeline/examples/timeline_json.html +143 -0
  1807. data/public/rearview/vendor/timeline/timeline.css +114 -0
  1808. data/public/rearview/vendor/timeline/timeline.js +45 -0
  1809. data/public/rearview/vendor/underscore/js/underscore.js +5 -0
  1810. data/public/rearview/vendor/underscore/plugins/underscore-string/js/underscore.string.js +10 -0
  1811. data/public/rearview/vendor/xdate/js/xdate.js +1 -0
  1812. data/script/rails +8 -0
  1813. data/tasks/rearview.rake +9 -0
  1814. metadata +1814 -3
@@ -0,0 +1,7 @@
1
+ /*! jQuery UI - v1.10.3 - 2013-09-11
2
+ * http://jqueryui.com
3
+ * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.datepicker.js, jquery.ui.slider.js
4
+ * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
5
+
6
+ (function(e,t){function i(t,i){var s,n,r,o=t.nodeName.toLowerCase();return"area"===o?(s=t.parentNode,n=s.name,t.href&&n&&"map"===s.nodeName.toLowerCase()?(r=e("img[usemap=#"+n+"]")[0],!!r&&a(r)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&a(t)}function a(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var s=0,n=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(i,a){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),a&&a.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var a,s,n=e(this[0]);n.length&&n[0]!==document;){if(a=n.css("position"),("absolute"===a||"relative"===a||"fixed"===a)&&(s=parseInt(n.css("zIndex"),10),!isNaN(s)&&0!==s))return s;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++s)})},removeUniqueId:function(){return this.each(function(){n.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,a){return!!e.data(t,a[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var a=e.attr(t,"tabindex"),s=isNaN(a);return(s||a>=0)&&i(t,!s)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(i,a){function s(t,i,a,s){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,a&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===a?["Left","Right"]:["Top","Bottom"],r=a.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+a]=function(i){return i===t?o["inner"+a].call(this):this.each(function(){e(this).css(r,s(this,i)+"px")})},e.fn["outer"+a]=function(t,i){return"number"!=typeof t?o["outer"+a].call(this,t):this.each(function(){e(this).css(r,s(this,t,!0,i)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,a){var s,n=e.ui[t].prototype;for(s in a)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([i,a[s]])},call:function(e,t,i){var a,s=e.plugins[t];if(s&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(a=0;s.length>a;a++)e.options[s[a][0]]&&s[a][1].apply(e.element,i)}},hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var a=i&&"left"===i?"scrollLeft":"scrollTop",s=!1;return t[a]>0?!0:(t[a]=1,s=t[a]>0,t[a]=0,s)}})})(jQuery);(function(e,t){var i=0,a=Array.prototype.slice,s=e.cleanData;e.cleanData=function(t){for(var i,a=0;null!=(i=t[a]);a++)try{e(i).triggerHandler("remove")}catch(n){}s(t)},e.widget=function(i,a,s){var n,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],n=u+"-"+i,s||(s=a,a=e.Widget),e.expr[":"][n.toLowerCase()]=function(t){return!!e.data(t,n)},e[u]=e[u]||{},r=e[u][i],o=e[u][i]=function(e,i){return this._createWidget?(arguments.length&&this._createWidget(e,i),t):new o(e,i)},e.extend(o,r,{version:s.version,_proto:e.extend({},s),_childConstructors:[]}),h=new a,h.options=e.widget.extend({},h.options),e.each(s,function(i,s){return e.isFunction(s)?(l[i]=function(){var e=function(){return a.prototype[i].apply(this,arguments)},t=function(e){return a.prototype[i].apply(this,e)};return function(){var i,a=this._super,n=this._superApply;return this._super=e,this._superApply=t,i=s.apply(this,arguments),this._super=a,this._superApply=n,i}}(),t):(l[i]=s,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:n}),r?(e.each(r._childConstructors,function(t,i){var a=i.prototype;e.widget(a.namespace+"."+a.widgetName,o,i._proto)}),delete r._childConstructors):a._childConstructors.push(o),e.widget.bridge(i,o)},e.widget.extend=function(i){for(var s,n,r=a.call(arguments,1),o=0,h=r.length;h>o;o++)for(s in r[o])n=r[o][s],r[o].hasOwnProperty(s)&&n!==t&&(i[s]=e.isPlainObject(n)?e.isPlainObject(i[s])?e.widget.extend({},i[s],n):e.widget.extend({},n):n);return i},e.widget.bridge=function(i,s){var n=s.prototype.widgetFullName||i;e.fn[i]=function(r){var o="string"==typeof r,h=a.call(arguments,1),l=this;return r=!o&&h.length?e.widget.extend.apply(null,[r].concat(h)):r,o?this.each(function(){var a,s=e.data(this,n);return s?e.isFunction(s[r])&&"_"!==r.charAt(0)?(a=s[r].apply(s,h),a!==s&&a!==t?(l=a&&a.jquery?l.pushStack(a.get()):a,!1):t):e.error("no such method '"+r+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+r+"'")}):this.each(function(){var t=e.data(this,n);t?t.option(r||{})._init():e.data(this,n,new s(r,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,a){a=e(a||this.defaultElement||this)[0],this.element=e(a),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),a!==this&&(e.data(a,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===a&&this.destroy()}}),this.document=e(a.style?a.ownerDocument:a.document||a),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(i,a){var s,n,r,o=i;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof i)if(o={},s=i.split("."),i=s.shift(),s.length){for(n=o[i]=e.widget.extend({},this.options[i]),r=0;s.length-1>r;r++)n[s[r]]=n[s[r]]||{},n=n[s[r]];if(i=s.pop(),a===t)return n[i]===t?null:n[i];n[i]=a}else{if(a===t)return this.options[i]===t?null:this.options[i];o[i]=a}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,a,s){var n,r=this;"boolean"!=typeof i&&(s=a,a=i,i=!1),s?(a=n=e(a),this.bindings=this.bindings.add(a)):(s=a,a=this.element,n=this.widget()),e.each(s,function(s,o){function h(){return i||r.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?r[o]:o).apply(r,arguments):t}"string"!=typeof o&&(h.guid=o.guid=o.guid||h.guid||e.guid++);var l=s.match(/^(\w+)\s*(.*)$/),u=l[1]+r.eventNamespace,d=l[2];d?n.delegate(d,u,h):a.bind(u,h)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function i(){return("string"==typeof e?a[e]:e).apply(a,arguments)}var a=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,a){var s,n,r=this.options[t];if(a=a||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],n=i.originalEvent)for(s in n)s in i||(i[s]=n[s]);return this.element.trigger(i,a),!(e.isFunction(r)&&r.apply(this.element[0],[i].concat(a))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(a,s,n){"string"==typeof s&&(s={effect:s});var r,o=s?s===!0||"number"==typeof s?i:s.effect||i:t;s=s||{},"number"==typeof s&&(s={duration:s}),r=!e.isEmptyObject(s),s.complete=n,s.delay&&a.delay(s.delay),r&&e.effects&&e.effects.effect[o]?a[t](s):o!==t&&a[o]?a[o](s.duration,s.easing,n):a.queue(function(i){e(this)[t](),n&&n.call(a[0]),i()})}})})(jQuery);(function(e){var t=!1;e(document).mouseup(function(){t=!1}),e.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var a=this,s=1===i.which,n="string"==typeof this.options.cancel&&i.target.nodeName?e(i.target).closest(this.options.cancel).length:!1;return s&&!n&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){a.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return a._mouseMove(e)},this._mouseUpDelegate=function(e){return a._mouseUp(e)},e(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0)):!0}},_mouseMove:function(t){return e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button?this._mouseUp(t):this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);(function(e,t){function i(e,t,i){return[parseFloat(e[0])*(p.test(e[0])?t/100:1),parseFloat(e[1])*(p.test(e[1])?i/100:1)]}function s(t,i){return parseInt(e.css(t,i),10)||0}function a(t){var i=t[0];return 9===i.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}e.ui=e.ui||{};var n,r=Math.max,o=Math.abs,l=Math.round,h=/left|center|right/,u=/top|center|bottom/,c=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,p=/%$/,f=e.fn.position;e.position={scrollbarWidth:function(){if(n!==t)return n;var i,s,a=e("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=a.children()[0];return e("body").append(a),i=r.offsetWidth,a.css("overflow","scroll"),s=r.offsetWidth,i===s&&(s=a[0].clientWidth),a.remove(),n=i-s},getScrollInfo:function(t){var i=t.isWindow?"":t.element.css("overflow-x"),s=t.isWindow?"":t.element.css("overflow-y"),a="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth,n="scroll"===s||"auto"===s&&t.height<t.element[0].scrollHeight;return{width:n?e.position.scrollbarWidth():0,height:a?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=e(t||window),s=e.isWindow(i[0]);return{element:i,isWindow:s,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:s?i.width():i.outerWidth(),height:s?i.height():i.outerHeight()}}},e.fn.position=function(t){if(!t||!t.of)return f.apply(this,arguments);t=e.extend({},t);var n,p,m,g,v,y,b=e(t.of),_=e.position.getWithinInfo(t.within),x=e.position.getScrollInfo(_),k=(t.collision||"flip").split(" "),w={};return y=a(b),b[0].preventDefault&&(t.at="left top"),p=y.width,m=y.height,g=y.offset,v=e.extend({},g),e.each(["my","at"],function(){var e,i,s=(t[this]||"").split(" ");1===s.length&&(s=h.test(s[0])?s.concat(["center"]):u.test(s[0])?["center"].concat(s):["center","center"]),s[0]=h.test(s[0])?s[0]:"center",s[1]=u.test(s[1])?s[1]:"center",e=c.exec(s[0]),i=c.exec(s[1]),w[this]=[e?e[0]:0,i?i[0]:0],t[this]=[d.exec(s[0])[0],d.exec(s[1])[0]]}),1===k.length&&(k[1]=k[0]),"right"===t.at[0]?v.left+=p:"center"===t.at[0]&&(v.left+=p/2),"bottom"===t.at[1]?v.top+=m:"center"===t.at[1]&&(v.top+=m/2),n=i(w.at,p,m),v.left+=n[0],v.top+=n[1],this.each(function(){var a,h,u=e(this),c=u.outerWidth(),d=u.outerHeight(),f=s(this,"marginLeft"),y=s(this,"marginTop"),D=c+f+s(this,"marginRight")+x.width,T=d+y+s(this,"marginBottom")+x.height,M=e.extend({},v),S=i(w.my,u.outerWidth(),u.outerHeight());"right"===t.my[0]?M.left-=c:"center"===t.my[0]&&(M.left-=c/2),"bottom"===t.my[1]?M.top-=d:"center"===t.my[1]&&(M.top-=d/2),M.left+=S[0],M.top+=S[1],e.support.offsetFractions||(M.left=l(M.left),M.top=l(M.top)),a={marginLeft:f,marginTop:y},e.each(["left","top"],function(i,s){e.ui.position[k[i]]&&e.ui.position[k[i]][s](M,{targetWidth:p,targetHeight:m,elemWidth:c,elemHeight:d,collisionPosition:a,collisionWidth:D,collisionHeight:T,offset:[n[0]+S[0],n[1]+S[1]],my:t.my,at:t.at,within:_,elem:u})}),t.using&&(h=function(e){var i=g.left-M.left,s=i+p-c,a=g.top-M.top,n=a+m-d,l={target:{element:b,left:g.left,top:g.top,width:p,height:m},element:{element:u,left:M.left,top:M.top,width:c,height:d},horizontal:0>s?"left":i>0?"right":"center",vertical:0>n?"top":a>0?"bottom":"middle"};c>p&&p>o(i+s)&&(l.horizontal="center"),d>m&&m>o(a+n)&&(l.vertical="middle"),l.important=r(o(i),o(s))>r(o(a),o(n))?"horizontal":"vertical",t.using.call(this,e,l)}),u.offset(e.extend(M,{using:h}))})},e.ui.position={fit:{left:function(e,t){var i,s=t.within,a=s.isWindow?s.scrollLeft:s.offset.left,n=s.width,o=e.left-t.collisionPosition.marginLeft,l=a-o,h=o+t.collisionWidth-n-a;t.collisionWidth>n?l>0&&0>=h?(i=e.left+l+t.collisionWidth-n-a,e.left+=l-i):e.left=h>0&&0>=l?a:l>h?a+n-t.collisionWidth:a:l>0?e.left+=l:h>0?e.left-=h:e.left=r(e.left-o,e.left)},top:function(e,t){var i,s=t.within,a=s.isWindow?s.scrollTop:s.offset.top,n=t.within.height,o=e.top-t.collisionPosition.marginTop,l=a-o,h=o+t.collisionHeight-n-a;t.collisionHeight>n?l>0&&0>=h?(i=e.top+l+t.collisionHeight-n-a,e.top+=l-i):e.top=h>0&&0>=l?a:l>h?a+n-t.collisionHeight:a:l>0?e.top+=l:h>0?e.top-=h:e.top=r(e.top-o,e.top)}},flip:{left:function(e,t){var i,s,a=t.within,n=a.offset.left+a.scrollLeft,r=a.width,l=a.isWindow?a.scrollLeft:a.offset.left,h=e.left-t.collisionPosition.marginLeft,u=h-l,c=h+t.collisionWidth-r-l,d="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];0>u?(i=e.left+d+p+f+t.collisionWidth-r-n,(0>i||o(u)>i)&&(e.left+=d+p+f)):c>0&&(s=e.left-t.collisionPosition.marginLeft+d+p+f-l,(s>0||c>o(s))&&(e.left+=d+p+f))},top:function(e,t){var i,s,a=t.within,n=a.offset.top+a.scrollTop,r=a.height,l=a.isWindow?a.scrollTop:a.offset.top,h=e.top-t.collisionPosition.marginTop,u=h-l,c=h+t.collisionHeight-r-l,d="top"===t.my[1],p=d?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,f="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,m=-2*t.offset[1];0>u?(s=e.top+p+f+m+t.collisionHeight-r-n,e.top+p+f+m>u&&(0>s||o(u)>s)&&(e.top+=p+f+m)):c>0&&(i=e.top-t.collisionPosition.marginTop+p+f+m-l,e.top+p+f+m>c&&(i>0||c>o(i))&&(e.top+=p+f+m))}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,s,a,n,r=document.getElementsByTagName("body")[0],o=document.createElement("div");t=document.createElement(r?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},r&&e.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(n in s)t.style[n]=s[n];t.appendChild(o),i=r||document.documentElement,i.insertBefore(t,i.firstChild),o.style.cssText="position: absolute; left: 10.7432222px;",a=e(o).offset().left,e.support.offsetFractions=a>10&&11>a,t.innerHTML="",i.removeChild(t)}()})(jQuery);(function(e){e.widget("ui.draggable",e.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var i=this.options;return this.helper||i.disabled||e(t.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(t),this.handle?(e(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){e("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,i){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",t,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var i=this,s=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(s=e.ui.ddmanager.drop(this,t)),this.dropped&&(s=this.dropped,this.dropped=!1),"original"!==this.options.helper||e.contains(this.element[0].ownerDocument,this.element[0])?("invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",t)!==!1&&i._clear()}):this._trigger("stop",t)!==!1&&this._clear(),!1):!1},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){return this.options.handle?!!e(t.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(t){var i=this.options,s=e.isFunction(i.helper)?e(i.helper.apply(this.element[0],[t])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,i,s,a=this.options;return a.containment?"window"===a.containment?(this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):"document"===a.containment?(this.containment=[0,0,e(document).width()-this.helperProportions.width-this.margins.left,(e(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):a.containment.constructor===Array?(this.containment=a.containment,undefined):("parent"===a.containment&&(a.containment=this.helper[0].parentNode),i=e(a.containment),s=i[0],s&&(t="hidden"!==i.css("overflow"),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(t?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i),undefined):(this.containment=null,undefined)},_convertPositionTo:function(t,i){i||(i=this.position);var s="absolute"===t?1:-1,a="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:a.scrollTop(),left:a.scrollLeft()}),{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*s}},_generatePosition:function(t){var i,s,a,n,r=this.options,o="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=t.pageX,h=t.pageY;return this.offset.scroll||(this.offset.scroll={top:o.scrollTop(),left:o.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(s=this.relative_container.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(h=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),r.grid&&(a=r.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/r.grid[1])*r.grid[1]:this.originalPageY,h=i?a-this.offset.click.top>=i[1]||a-this.offset.click.top>i[3]?a:a-this.offset.click.top>=i[1]?a-r.grid[1]:a+r.grid[1]:a,n=r.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/r.grid[0])*r.grid[0]:this.originalPageX,l=i?n-this.offset.click.left>=i[0]||n-this.offset.click.left>i[2]?n:n-this.offset.click.left>=i[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,i,s){return s=s||this._uiHash(),e.ui.plugin.call(this,t,[i,s]),"drag"===t&&(this.positionAbs=this._convertPositionTo("absolute")),e.Widget.prototype._trigger.call(this,t,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,i){var s=e(this).data("ui-draggable"),a=s.options,n=e.extend({},i,{item:s.element});s.sortables=[],e(a.connectToSortable).each(function(){var i=e.data(this,"ui-sortable");i&&!i.options.disabled&&(s.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",t,n))})},stop:function(t,i){var s=e(this).data("ui-draggable"),a=e.extend({},i,{item:s.element});e.each(s.sortables,function(){this.instance.isOver?(this.instance.isOver=0,s.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,"original"===s.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,a))})},drag:function(t,i){var s=e(this).data("ui-draggable"),a=this;e.each(s.sortables,function(){var n=!1,r=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(n=!0,e.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==r&&this.instance._intersectsWith(this.instance.containerCache)&&e.contains(r.instance.element[0],this.instance.element[0])&&(n=!1),n})),n?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=e(a).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},t.target=this.instance.currentItem[0],this.instance._mouseCapture(t,!0),this.instance._mouseStart(t,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",t),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(t)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",t,this.instance._uiHash(this.instance)),this.instance._mouseStop(t,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",t),s.dropped=!1)})}}),e.ui.plugin.add("draggable","cursor",{start:function(){var t=e("body"),i=e(this).data("ui-draggable").options;t.css("cursor")&&(i._cursor=t.css("cursor")),t.css("cursor",i.cursor)},stop:function(){var t=e(this).data("ui-draggable").options;t._cursor&&e("body").css("cursor",t._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,i){var s=e(i.helper),a=e(this).data("ui-draggable").options;s.css("opacity")&&(a._opacity=s.css("opacity")),s.css("opacity",a.opacity)},stop:function(t,i){var s=e(this).data("ui-draggable").options;s._opacity&&e(i.helper).css("opacity",s._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(){var t=e(this).data("ui-draggable");t.scrollParent[0]!==document&&"HTML"!==t.scrollParent[0].tagName&&(t.overflowOffset=t.scrollParent.offset())},drag:function(t){var i=e(this).data("ui-draggable"),s=i.options,a=!1;i.scrollParent[0]!==document&&"HTML"!==i.scrollParent[0].tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-t.pageY<s.scrollSensitivity?i.scrollParent[0].scrollTop=a=i.scrollParent[0].scrollTop+s.scrollSpeed:t.pageY-i.overflowOffset.top<s.scrollSensitivity&&(i.scrollParent[0].scrollTop=a=i.scrollParent[0].scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-t.pageX<s.scrollSensitivity?i.scrollParent[0].scrollLeft=a=i.scrollParent[0].scrollLeft+s.scrollSpeed:t.pageX-i.overflowOffset.left<s.scrollSensitivity&&(i.scrollParent[0].scrollLeft=a=i.scrollParent[0].scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(t.pageY-e(document).scrollTop()<s.scrollSensitivity?a=e(document).scrollTop(e(document).scrollTop()-s.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())<s.scrollSensitivity&&(a=e(document).scrollTop(e(document).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(t.pageX-e(document).scrollLeft()<s.scrollSensitivity?a=e(document).scrollLeft(e(document).scrollLeft()-s.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())<s.scrollSensitivity&&(a=e(document).scrollLeft(e(document).scrollLeft()+s.scrollSpeed)))),a!==!1&&e.ui.ddmanager&&!s.dropBehaviour&&e.ui.ddmanager.prepareOffsets(i,t)}}),e.ui.plugin.add("draggable","snap",{start:function(){var t=e(this).data("ui-draggable"),i=t.options;t.snapElements=[],e(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var i=e(this),s=i.offset();this!==t.element[0]&&t.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:s.top,left:s.left})})},drag:function(t,i){var s,a,n,r,o,l,h,u,d,c,p=e(this).data("ui-draggable"),f=p.options,m=f.snapTolerance,g=i.offset.left,v=g+p.helperProportions.width,y=i.offset.top,b=y+p.helperProportions.height;for(d=p.snapElements.length-1;d>=0;d--)o=p.snapElements[d].left,l=o+p.snapElements[d].width,h=p.snapElements[d].top,u=h+p.snapElements[d].height,o-m>v||g>l+m||h-m>b||y>u+m||!e.contains(p.snapElements[d].item.ownerDocument,p.snapElements[d].item)?(p.snapElements[d].snapping&&p.options.snap.release&&p.options.snap.release.call(p.element,t,e.extend(p._uiHash(),{snapItem:p.snapElements[d].item})),p.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(s=m>=Math.abs(h-b),a=m>=Math.abs(u-y),n=m>=Math.abs(o-v),r=m>=Math.abs(l-g),s&&(i.position.top=p._convertPositionTo("relative",{top:h-p.helperProportions.height,left:0}).top-p.margins.top),a&&(i.position.top=p._convertPositionTo("relative",{top:u,left:0}).top-p.margins.top),n&&(i.position.left=p._convertPositionTo("relative",{top:0,left:o-p.helperProportions.width}).left-p.margins.left),r&&(i.position.left=p._convertPositionTo("relative",{top:0,left:l}).left-p.margins.left)),c=s||a||n||r,"outer"!==f.snapMode&&(s=m>=Math.abs(h-y),a=m>=Math.abs(u-b),n=m>=Math.abs(o-g),r=m>=Math.abs(l-v),s&&(i.position.top=p._convertPositionTo("relative",{top:h,left:0}).top-p.margins.top),a&&(i.position.top=p._convertPositionTo("relative",{top:u-p.helperProportions.height,left:0}).top-p.margins.top),n&&(i.position.left=p._convertPositionTo("relative",{top:0,left:o}).left-p.margins.left),r&&(i.position.left=p._convertPositionTo("relative",{top:0,left:l-p.helperProportions.width}).left-p.margins.left)),!p.snapElements[d].snapping&&(s||a||n||r||c)&&p.options.snap.snap&&p.options.snap.snap.call(p.element,t,e.extend(p._uiHash(),{snapItem:p.snapElements[d].item})),p.snapElements[d].snapping=s||a||n||r||c)}}),e.ui.plugin.add("draggable","stack",{start:function(){var t,i=this.data("ui-draggable").options,s=e.makeArray(e(i.stack)).sort(function(t,i){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(i).css("zIndex"),10)||0)});s.length&&(t=parseInt(e(s[0]).css("zIndex"),10)||0,e(s).each(function(i){e(this).css("zIndex",t+i)}),this.css("zIndex",t+s.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i){var s=e(i.helper),a=e(this).data("ui-draggable").options;s.css("zIndex")&&(a._zIndex=s.css("zIndex")),s.css("zIndex",a.zIndex)},stop:function(t,i){var s=e(this).data("ui-draggable").options;s._zIndex&&e(i.helper).css("zIndex",s._zIndex)}})})(jQuery);(function(e){function t(e,t,i){return e>t&&t+i>e}e.widget("ui.droppable",{version:"1.10.3",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept=e.isFunction(i)?i:function(e){return e.is(i)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},e.ui.ddmanager.droppables[t.scope]=e.ui.ddmanager.droppables[t.scope]||[],e.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var t=0,i=e.ui.ddmanager.droppables[this.options.scope];i.length>t;t++)i[t]===this&&i.splice(t,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,i){"accept"===t&&(this.accept=e.isFunction(i)?i:function(e){return e.is(i)}),e.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var i=e.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",t,this.ui(i))},_deactivate:function(t){var i=e.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",t,this.ui(i))},_over:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(i)))},_out:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(i)))},_drop:function(t,i){var s=i||e.ui.ddmanager.current,a=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=e.data(this,"ui-droppable");return t.options.greedy&&!t.options.disabled&&t.options.scope===s.options.scope&&t.accept.call(t.element[0],s.currentItem||s.element)&&e.ui.intersect(s,e.extend(t,{offset:t.element.offset()}),t.options.tolerance)?(a=!0,!1):undefined}),a?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(s)),this.element):!1):!1},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}}}),e.ui.intersect=function(e,i,s){if(!i.offset)return!1;var a,n,r=(e.positionAbs||e.position.absolute).left,o=r+e.helperProportions.width,l=(e.positionAbs||e.position.absolute).top,h=l+e.helperProportions.height,u=i.offset.left,d=u+i.proportions.width,c=i.offset.top,p=c+i.proportions.height;switch(s){case"fit":return r>=u&&d>=o&&l>=c&&p>=h;case"intersect":return r+e.helperProportions.width/2>u&&d>o-e.helperProportions.width/2&&l+e.helperProportions.height/2>c&&p>h-e.helperProportions.height/2;case"pointer":return a=(e.positionAbs||e.position.absolute).left+(e.clickOffset||e.offset.click).left,n=(e.positionAbs||e.position.absolute).top+(e.clickOffset||e.offset.click).top,t(n,c,i.proportions.height)&&t(a,u,i.proportions.width);case"touch":return(l>=c&&p>=l||h>=c&&p>=h||c>l&&h>p)&&(r>=u&&d>=r||o>=u&&d>=o||u>r&&o>d);default:return!1}},e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,i){var s,a,n=e.ui.ddmanager.droppables[t.options.scope]||[],r=i?i.type:null,o=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(s=0;n.length>s;s++)if(!(n[s].options.disabled||t&&!n[s].accept.call(n[s].element[0],t.currentItem||t.element))){for(a=0;o.length>a;a++)if(o[a]===n[s].element[0]){n[s].proportions.height=0;continue e}n[s].visible="none"!==n[s].element.css("display"),n[s].visible&&("mousedown"===r&&n[s]._activate.call(n[s],i),n[s].offset=n[s].element.offset(),n[s].proportions={width:n[s].element[0].offsetWidth,height:n[s].element[0].offsetHeight})}},drop:function(t,i){var s=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.options.tolerance)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(t,i){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)})},drag:function(t,i){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,i),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,a,n,r=e.ui.intersect(t,this,this.options.tolerance),o=!r&&this.isover?"isout":r&&!this.isover?"isover":null;o&&(this.options.greedy&&(a=this.options.scope,n=this.element.parents(":data(ui-droppable)").filter(function(){return e.data(this,"ui-droppable").options.scope===a}),n.length&&(s=e.data(n[0],"ui-droppable"),s.greedyChild="isover"===o)),s&&"isover"===o&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[o]=!0,this["isout"===o?"isover":"isout"]=!1,this["isover"===o?"_over":"_out"].call(this,i),s&&"isout"===o&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(t,i){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)}}})(jQuery);(function(e){function t(e){return parseInt(e,10)||0}function i(e){return!isNaN(parseInt(e,10))}e.widget("ui.resizable",e.ui.mouse,{version:"1.10.3",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var t,i,s,a,n,r=this,o=this.options;if(this.element.addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!o.aspectRatio,aspectRatio:o.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:o.helper||o.ghost||o.animate?o.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(e("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=o.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),t=this.handles.split(","),this.handles={},i=0;t.length>i;i++)s=e.trim(t[i]),n="ui-resizable-"+s,a=e("<div class='ui-resizable-handle "+n+"'></div>"),a.css({zIndex:o.zIndex}),"se"===s&&a.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(a);this._renderAxis=function(t){var i,s,a,n;t=t||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=e(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=e(this.handles[i],this.element),n=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),a=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),t.css(a,n),this._proportionallyResize()),e(this.handles[i]).length},this._renderAxis(this.element),this._handles=e(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){r.resizing||(this.className&&(a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=a&&a[1]?a[1]:"se")}),o.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){o.disabled||(e(this).removeClass("ui-resizable-autohide"),r._handles.show())}).mouseleave(function(){o.disabled||r.resizing||(e(this).addClass("ui-resizable-autohide"),r._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,i=function(t){e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(t){var i,s,a=!1;for(i in this.handles)s=e(this.handles[i])[0],(s===t.target||e.contains(s,t.target))&&(a=!0);return!this.options.disabled&&a},_mouseStart:function(i){var s,a,n,r=this.options,o=this.element.position(),h=this.element;return this.resizing=!0,/absolute/.test(h.css("position"))?h.css({position:"absolute",top:h.css("top"),left:h.css("left")}):h.is(".ui-draggable")&&h.css({position:"absolute",top:o.top,left:o.left}),this._renderProxy(),s=t(this.helper.css("left")),a=t(this.helper.css("top")),r.containment&&(s+=e(r.containment).scrollLeft()||0,a+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:s,top:a},this.size=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalSize=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalPosition={left:s,top:a},this.sizeDiff={width:h.outerWidth()-h.width(),height:h.outerHeight()-h.height()},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=e(".ui-resizable-"+this.axis).css("cursor"),e("body").css("cursor","auto"===n?this.axis+"-resize":n),h.addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(t){var i,s=this.helper,a={},n=this.originalMousePosition,r=this.axis,o=this.position.top,h=this.position.left,l=this.size.width,u=this.size.height,c=t.pageX-n.left||0,d=t.pageY-n.top||0,p=this._change[r];return p?(i=p.apply(this,[t,c,d]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),this.position.top!==o&&(a.top=this.position.top+"px"),this.position.left!==h&&(a.left=this.position.left+"px"),this.size.width!==l&&(a.width=this.size.width+"px"),this.size.height!==u&&(a.height=this.size.height+"px"),s.css(a),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),e.isEmptyObject(a)||this._trigger("resize",t,this.ui()),!1):!1},_mouseStop:function(t){this.resizing=!1;var i,s,a,n,r,o,h,l=this.options,u=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),a=s&&e.ui.hasScroll(i[0],"left")?0:u.sizeDiff.height,n=s?0:u.sizeDiff.width,r={width:u.helper.width()-n,height:u.helper.height()-a},o=parseInt(u.element.css("left"),10)+(u.position.left-u.originalPosition.left)||null,h=parseInt(u.element.css("top"),10)+(u.position.top-u.originalPosition.top)||null,l.animate||this.element.css(e.extend(r,{top:h,left:o})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!l.animate&&this._proportionallyResize()),e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t,s,a,n,r,o=this.options;r={minWidth:i(o.minWidth)?o.minWidth:0,maxWidth:i(o.maxWidth)?o.maxWidth:1/0,minHeight:i(o.minHeight)?o.minHeight:0,maxHeight:i(o.maxHeight)?o.maxHeight:1/0},(this._aspectRatio||e)&&(t=r.minHeight*this.aspectRatio,a=r.minWidth/this.aspectRatio,s=r.maxHeight*this.aspectRatio,n=r.maxWidth/this.aspectRatio,t>r.minWidth&&(r.minWidth=t),a>r.minHeight&&(r.minHeight=a),r.maxWidth>s&&(r.maxWidth=s),r.maxHeight>n&&(r.maxHeight=n)),this._vBoundaries=r},_updateCache:function(e){this.offset=this.helper.offset(),i(e.left)&&(this.position.left=e.left),i(e.top)&&(this.position.top=e.top),i(e.height)&&(this.size.height=e.height),i(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,s=this.size,a=this.axis;return i(e.height)?e.width=e.height*this.aspectRatio:i(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===a&&(e.left=t.left+(s.width-e.width),e.top=null),"nw"===a&&(e.top=t.top+(s.height-e.height),e.left=t.left+(s.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,s=this.axis,a=i(e.width)&&t.maxWidth&&t.maxWidth<e.width,n=i(e.height)&&t.maxHeight&&t.maxHeight<e.height,r=i(e.width)&&t.minWidth&&t.minWidth>e.width,o=i(e.height)&&t.minHeight&&t.minHeight>e.height,h=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,u=/sw|nw|w/.test(s),c=/nw|ne|n/.test(s);return r&&(e.width=t.minWidth),o&&(e.height=t.minHeight),a&&(e.width=t.maxWidth),n&&(e.height=t.maxHeight),r&&u&&(e.left=h-t.minWidth),a&&u&&(e.left=h-t.maxWidth),o&&c&&(e.top=l-t.minHeight),n&&c&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var e,t,i,s,a,n=this.helper||this.element;for(e=0;this._proportionallyResizeElements.length>e;e++){if(a=this._proportionallyResizeElements[e],!this.borderDif)for(this.borderDif=[],i=[a.css("borderTopWidth"),a.css("borderRightWidth"),a.css("borderBottomWidth"),a.css("borderLeftWidth")],s=[a.css("paddingTop"),a.css("paddingRight"),a.css("paddingBottom"),a.css("paddingLeft")],t=0;i.length>t;t++)this.borderDif[t]=(parseInt(i[t],10)||0)+(parseInt(s[t],10)||0);a.css({height:n.height()-this.borderDif[0]-this.borderDif[2]||0,width:n.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var t=this.element,i=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||e("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,i){var s=this.originalSize,a=this.originalPosition;return{top:a.top+i,height:s.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(t,i,s){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,i,s]))},sw:function(t,i,s){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,i,s]))},ne:function(t,i,s){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,i,s]))},nw:function(t,i,s){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,i,s]))}},_propagate:function(t,i){e.ui.plugin.call(this,t,[i,this.ui()]),"resize"!==t&&this._trigger(t,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","animate",{stop:function(t){var i=e(this).data("ui-resizable"),s=i.options,a=i._proportionallyResizeElements,n=a.length&&/textarea/i.test(a[0].nodeName),r=n&&e.ui.hasScroll(a[0],"left")?0:i.sizeDiff.height,o=n?0:i.sizeDiff.width,h={width:i.size.width-o,height:i.size.height-r},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,u=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(e.extend(h,u&&l?{top:u,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};a&&a.length&&e(a[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(){var i,s,a,n,r,o,h,l=e(this).data("ui-resizable"),u=l.options,c=l.element,d=u.containment,p=d instanceof e?d.get(0):/parent/.test(d)?c.parent().get(0):d;p&&(l.containerElement=e(p),/document/.test(d)||d===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}):(i=e(p),s=[],e(["Top","Right","Left","Bottom"]).each(function(e,a){s[e]=t(i.css("padding"+a))}),l.containerOffset=i.offset(),l.containerPosition=i.position(),l.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},a=l.containerOffset,n=l.containerSize.height,r=l.containerSize.width,o=e.ui.hasScroll(p,"left")?p.scrollWidth:r,h=e.ui.hasScroll(p)?p.scrollHeight:n,l.parentData={element:p,left:a.left,top:a.top,width:o,height:h}))},resize:function(t){var i,s,a,n,r=e(this).data("ui-resizable"),o=r.options,h=r.containerOffset,l=r.position,u=r._aspectRatio||t.shiftKey,c={top:0,left:0},d=r.containerElement;d[0]!==document&&/static/.test(d.css("position"))&&(c=h),l.left<(r._helper?h.left:0)&&(r.size.width=r.size.width+(r._helper?r.position.left-h.left:r.position.left-c.left),u&&(r.size.height=r.size.width/r.aspectRatio),r.position.left=o.helper?h.left:0),l.top<(r._helper?h.top:0)&&(r.size.height=r.size.height+(r._helper?r.position.top-h.top:r.position.top),u&&(r.size.width=r.size.height*r.aspectRatio),r.position.top=r._helper?h.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top,i=Math.abs((r._helper?r.offset.left-c.left:r.offset.left-c.left)+r.sizeDiff.width),s=Math.abs((r._helper?r.offset.top-c.top:r.offset.top-h.top)+r.sizeDiff.height),a=r.containerElement.get(0)===r.element.parent().get(0),n=/relative|absolute/.test(r.containerElement.css("position")),a&&n&&(i-=r.parentData.left),i+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-i,u&&(r.size.height=r.size.width/r.aspectRatio)),s+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-s,u&&(r.size.width=r.size.height*r.aspectRatio))},stop:function(){var t=e(this).data("ui-resizable"),i=t.options,s=t.containerOffset,a=t.containerPosition,n=t.containerElement,r=e(t.helper),o=r.offset(),h=r.outerWidth()-t.sizeDiff.width,l=r.outerHeight()-t.sizeDiff.height;t._helper&&!i.animate&&/relative/.test(n.css("position"))&&e(this).css({left:o.left-a.left-s.left,width:h,height:l}),t._helper&&!i.animate&&/static/.test(n.css("position"))&&e(this).css({left:o.left-a.left-s.left,width:h,height:l})}}),e.ui.plugin.add("resizable","alsoResize",{start:function(){var t=e(this).data("ui-resizable"),i=t.options,s=function(t){e(t).each(function(){var t=e(this);t.data("ui-resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};"object"!=typeof i.alsoResize||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)})},resize:function(t,i){var s=e(this).data("ui-resizable"),a=s.options,n=s.originalSize,r=s.originalPosition,o={height:s.size.height-n.height||0,width:s.size.width-n.width||0,top:s.position.top-r.top||0,left:s.position.left-r.left||0},h=function(t,s){e(t).each(function(){var t=e(this),a=e(this).data("ui-resizable-alsoresize"),n={},r=s&&s.length?s:t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(r,function(e,t){var i=(a[t]||0)+(o[t]||0);i&&i>=0&&(n[t]=i||null)}),t.css(n)})};"object"!=typeof a.alsoResize||a.alsoResize.nodeType?h(a.alsoResize):e.each(a.alsoResize,function(e,t){h(e,t)})},stop:function(){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var t=e(this).data("ui-resizable"),i=t.options,s=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),t.ghost.appendTo(t.helper)},resize:function(){var t=e(this).data("ui-resizable");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=e(this).data("ui-resizable");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var t=e(this).data("ui-resizable"),i=t.options,s=t.size,a=t.originalSize,n=t.originalPosition,r=t.axis,o="number"==typeof i.grid?[i.grid,i.grid]:i.grid,h=o[0]||1,l=o[1]||1,u=Math.round((s.width-a.width)/h)*h,c=Math.round((s.height-a.height)/l)*l,d=a.width+u,p=a.height+c,f=i.maxWidth&&d>i.maxWidth,m=i.maxHeight&&p>i.maxHeight,g=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=o,g&&(d+=h),v&&(p+=l),f&&(d-=h),m&&(p-=l),/^(se|s|e)$/.test(r)?(t.size.width=d,t.size.height=p):/^(ne)$/.test(r)?(t.size.width=d,t.size.height=p,t.position.top=n.top-c):/^(sw)$/.test(r)?(t.size.width=d,t.size.height=p,t.position.left=n.left-u):(t.size.width=d,t.size.height=p,t.position.top=n.top-c,t.position.left=n.left-u)}})})(jQuery);(function(e){e.widget("ui.selectable",e.ui.mouse,{version:"1.10.3",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t,i=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){t=e(i.options.filter,i.element[0]),t.addClass("ui-selectee"),t.each(function(){var t=e(this),i=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:i.left,top:i.top,right:i.left+t.outerWidth(),bottom:i.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-selectee"),this._mouseInit(),this.helper=e("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(t){var i=this,a=this.options;this.opos=[t.pageX,t.pageY],this.options.disabled||(this.selectees=e(a.filter,this.element[0]),this._trigger("start",t),e(a.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),a.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var a=e.data(this,"selectable-item");a.startselected=!0,t.metaKey||t.ctrlKey||(a.$element.removeClass("ui-selected"),a.selected=!1,a.$element.addClass("ui-unselecting"),a.unselecting=!0,i._trigger("unselecting",t,{unselecting:a.element}))}),e(t.target).parents().addBack().each(function(){var a,s=e.data(this,"selectable-item");return s?(a=!t.metaKey&&!t.ctrlKey||!s.$element.hasClass("ui-selected"),s.$element.removeClass(a?"ui-unselecting":"ui-selected").addClass(a?"ui-selecting":"ui-unselecting"),s.unselecting=!a,s.selecting=a,s.selected=a,a?i._trigger("selecting",t,{selecting:s.element}):i._trigger("unselecting",t,{unselecting:s.element}),!1):undefined}))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var i,a=this,s=this.options,n=this.opos[0],r=this.opos[1],o=t.pageX,h=t.pageY;return n>o&&(i=o,o=n,n=i),r>h&&(i=h,h=r,r=i),this.helper.css({left:n,top:r,width:o-n,height:h-r}),this.selectees.each(function(){var i=e.data(this,"selectable-item"),l=!1;i&&i.element!==a.element[0]&&("touch"===s.tolerance?l=!(i.left>o||n>i.right||i.top>h||r>i.bottom):"fit"===s.tolerance&&(l=i.left>n&&o>i.right&&i.top>r&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,a._trigger("selecting",t,{selecting:i.element}))):(i.selecting&&((t.metaKey||t.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),a._trigger("unselecting",t,{unselecting:i.element}))),i.selected&&(t.metaKey||t.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,a._trigger("unselecting",t,{unselecting:i.element})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,e(".ui-unselecting",this.element[0]).each(function(){var a=e.data(this,"selectable-item");a.$element.removeClass("ui-unselecting"),a.unselecting=!1,a.startselected=!1,i._trigger("unselected",t,{unselected:a.element})}),e(".ui-selecting",this.element[0]).each(function(){var a=e.data(this,"selectable-item");a.$element.removeClass("ui-selecting").addClass("ui-selected"),a.selecting=!1,a.selected=!0,a.startselected=!0,i._trigger("selected",t,{selected:a.element})}),this._trigger("stop",t),this.helper.remove(),!1}})})(jQuery);(function(e){function t(e,t,i){return e>t&&t+i>e}function i(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}e.widget("ui.sortable",e.ui.mouse,{version:"1.10.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===e.axis||i(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,i){"disabled"===t?(this.options[t]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,i){var s=null,a=!1,n=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(t),e(t.target).parents().each(function(){return e.data(this,n.widgetName+"-item")===n?(s=e(this),!1):undefined}),e.data(t.target,n.widgetName+"-item")===n&&(s=e(t.target)),s?!this.options.handle||i||(e(this.options.handle,s).find("*").addBack().each(function(){this===t.target&&(a=!0)}),a)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(t,i,s){var a,n,r=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,r.cursorAt&&this._adjustOffsetFromHelper(r.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),r.containment&&this._setContainment(),r.cursor&&"auto"!==r.cursor&&(n=this.document.find("body"),this.storedCursor=n.css("cursor"),n.css("cursor",r.cursor),this.storedStylesheet=e("<style>*{ cursor: "+r.cursor+" !important; }</style>").appendTo(n)),r.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",r.opacity)),r.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",r.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(a=this.containers.length-1;a>=0;a--)this.containers[a]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!r.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var i,s,a,n,r=this.options,o=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<r.scrollSensitivity?this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop+r.scrollSpeed:t.pageY-this.overflowOffset.top<r.scrollSensitivity&&(this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop-r.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<r.scrollSensitivity?this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft+r.scrollSpeed:t.pageX-this.overflowOffset.left<r.scrollSensitivity&&(this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft-r.scrollSpeed)):(t.pageY-e(document).scrollTop()<r.scrollSensitivity?o=e(document).scrollTop(e(document).scrollTop()-r.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())<r.scrollSensitivity&&(o=e(document).scrollTop(e(document).scrollTop()+r.scrollSpeed)),t.pageX-e(document).scrollLeft()<r.scrollSensitivity?o=e(document).scrollLeft(e(document).scrollLeft()-r.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())<r.scrollSensitivity&&(o=e(document).scrollLeft(e(document).scrollLeft()+r.scrollSpeed))),o!==!1&&e.ui.ddmanager&&!r.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.items.length-1;i>=0;i--)if(s=this.items[i],a=s.item[0],n=this._intersectsWithPointer(s),n&&s.instance===this.currentContainer&&a!==this.currentItem[0]&&this.placeholder[1===n?"next":"prev"]()[0]!==a&&!e.contains(this.placeholder[0],a)&&("semi-dynamic"===this.options.type?!e.contains(this.element[0],a):!0)){if(this.direction=1===n?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,i){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var s=this,a=this.placeholder.offset(),n=this.options.axis,r={};n&&"x"!==n||(r.left=a.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),n&&"y"!==n||(r.top=a.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(r,parseInt(this.options.revert,10)||500,function(){s._clear(t)})}else this._clear(t,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var i=this._getItemsAsjQuery(t&&t.connected),s=[];return t=t||{},e(i).each(function(){var i=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);i&&s.push((t.key||i[1]+"[]")+"="+(t.key&&t.expression?i[1]:i[2]))}),!s.length&&t.key&&s.push(t.key+"="),s.join("&")},toArray:function(t){var i=this._getItemsAsjQuery(t&&t.connected),s=[];return t=t||{},i.each(function(){s.push(e(t.item||this).attr(t.attribute||"id")||"")}),s},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,s=this.positionAbs.top,a=s+this.helperProportions.height,n=e.left,r=n+e.width,o=e.top,h=o+e.height,l=this.offset.click.top,u=this.offset.click.left,c="x"===this.options.axis||s+l>o&&h>s+l,d="y"===this.options.axis||t+u>n&&r>t+u,p=c&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?p:t+this.helperProportions.width/2>n&&r>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>o&&h>a-this.helperProportions.height/2},_intersectsWithPointer:function(e){var i="x"===this.options.axis||t(this.positionAbs.top+this.offset.click.top,e.top,e.height),s="y"===this.options.axis||t(this.positionAbs.left+this.offset.click.left,e.left,e.width),a=i&&s,n=this._getDragVerticalDirection(),r=this._getDragHorizontalDirection();return a?this.floating?r&&"right"===r||"down"===n?2:1:n&&("down"===n?2:1):!1},_intersectsWithSides:function(e){var i=t(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),s=t(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),a=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection();return this.floating&&n?"right"===n&&s||"left"===n&&!s:a&&("down"===a&&i||"up"===a&&!i)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!==e&&(e>0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var i,s,a,n,r=[],o=[],h=this._connectWith();if(h&&t)for(i=h.length-1;i>=0;i--)for(a=e(h[i]),s=a.length-1;s>=0;s--)n=e.data(a[s],this.widgetFullName),n&&n!==this&&!n.options.disabled&&o.push([e.isFunction(n.options.items)?n.options.items.call(n.element):e(n.options.items,n.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),n]);for(o.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=o.length-1;i>=0;i--)o[i][0].each(function(){r.push(this)});return e(r)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(e){for(var i=0;t.length>i;i++)if(t[i]===e.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var i,s,a,n,r,o,h,l,u=this.items,c=[[e.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(a=e(d[i]),s=a.length-1;s>=0;s--)n=e.data(a[s],this.widgetFullName),n&&n!==this&&!n.options.disabled&&(c.push([e.isFunction(n.options.items)?n.options.items.call(n.element[0],t,{item:this.currentItem}):e(n.options.items,n.element),n]),this.containers.push(n));for(i=c.length-1;i>=0;i--)for(r=c[i][1],o=c[i][0],s=0,l=o.length;l>s;s++)h=e(o[s]),h.data(this.widgetName+"-item",r),u.push({item:h,instance:r,width:0,height:0,left:0,top:0})},refreshPositions:function(t){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,a,n;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(a=this.options.toleranceElement?e(this.options.toleranceElement,s.item):s.item,t||(s.width=a.outerWidth(),s.height=a.outerHeight()),n=a.offset(),s.left=n.left,s.top=n.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)n=this.containers[i].element.offset(),this.containers[i].containerCache.left=n.left,this.containers[i].containerCache.top=n.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(t){t=t||this;var i,s=t.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=t.currentItem[0].nodeName.toLowerCase(),a=e("<"+s+">",t.document[0]).addClass(i||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===s?t.currentItem.children().each(function(){e("<td>&#160;</td>",t.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(a)}):"img"===s&&a.attr("src",t.currentItem.attr("src")),i||a.css("visibility","hidden"),a},update:function(e,a){(!i||s.forcePlaceholderSize)&&(a.height()||a.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),a.width()||a.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(s.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),s.placeholder.update(t,t.placeholder)},_contactContainers:function(s){var a,n,r,o,h,l,u,c,d,p,f=null,m=null;for(a=this.containers.length-1;a>=0;a--)if(!e.contains(this.currentItem[0],this.containers[a].element[0]))if(this._intersectsWith(this.containers[a].containerCache)){if(f&&e.contains(this.containers[a].element[0],f.element[0]))continue;f=this.containers[a],m=a}else this.containers[a].containerCache.over&&(this.containers[a]._trigger("out",s,this._uiHash(this)),this.containers[a].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[m].containerCache.over||(this.containers[m]._trigger("over",s,this._uiHash(this)),this.containers[m].containerCache.over=1);else{for(r=1e4,o=null,p=f.floating||i(this.currentItem),h=p?"left":"top",l=p?"width":"height",u=this.positionAbs[h]+this.offset.click[h],n=this.items.length-1;n>=0;n--)e.contains(this.containers[m].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(!p||t(this.positionAbs.top+this.offset.click.top,this.items[n].top,this.items[n].height))&&(c=this.items[n].item.offset()[h],d=!1,Math.abs(c-u)>Math.abs(c+this.items[n][l]-u)&&(d=!0,c+=this.items[n][l]),r>Math.abs(c-u)&&(r=Math.abs(c-u),o=this.items[n],this.direction=d?"up":"down"));if(!o&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[m])return;o?this._rearrange(s,o,null,!0):this._rearrange(s,null,this.containers[m].element,!0),this._trigger("change",s,this._uiHash()),this.containers[m]._trigger("change",s,this._uiHash(this)),this.currentContainer=this.containers[m],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[m]._trigger("over",s,this._uiHash(this)),this.containers[m].containerCache.over=1}},_createHelper:function(t){var i=this.options,s=e.isFunction(i.helper)?e(i.helper.apply(this.element[0],[t,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||e("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,i,s,a=this.options;"parent"===a.containment&&(a.containment=this.helper[0].parentNode),("document"===a.containment||"window"===a.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,e("document"===a.containment?document:window).width()-this.helperProportions.width-this.margins.left,(e("document"===a.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(a.containment)||(t=e(a.containment)[0],i=e(a.containment).offset(),s="hidden"!==e(t).css("overflow"),this.containment=[i.left+(parseInt(e(t).css("borderLeftWidth"),10)||0)+(parseInt(e(t).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(e(t).css("borderTopWidth"),10)||0)+(parseInt(e(t).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(e(t).css("borderLeftWidth"),10)||0)-(parseInt(e(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(e(t).css("borderTopWidth"),10)||0)-(parseInt(e(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,i){i||(i=this.position);var s="absolute"===t?1:-1,a="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(a[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():n?0:a.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():n?0:a.scrollLeft())*s}},_generatePosition:function(t){var i,s,a=this.options,n=t.pageX,r=t.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(n=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(r=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(n=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(r=this.containment[3]+this.offset.click.top)),a.grid&&(i=this.originalPageY+Math.round((r-this.originalPageY)/a.grid[1])*a.grid[1],r=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-a.grid[1]:i+a.grid[1]:i,s=this.originalPageX+Math.round((n-this.originalPageX)/a.grid[0])*a.grid[0],n=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-a.grid[0]:s+a.grid[0]:s)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:o.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:o.scrollLeft())}},_rearrange:function(e,t,i,s){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var a=this.counter;this._delay(function(){a===this.counter&&this.refreshPositions(!s)})},_clear:function(e,t){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&s.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||s.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(s.push(function(e){this._trigger("remove",e,this._uiHash())}),s.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)t||s.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!t){for(this._trigger("beforeStop",e,this._uiHash()),i=0;s.length>i;i++)s[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!1}if(t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!t){for(i=0;s.length>i;i++)s[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){e.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(t){var i=t||this;return{helper:i.helper,placeholder:i.placeholder||e([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:t?t.element:null}}})})(jQuery);(function(e,t){function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.dpDiv=a(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function a(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(i,"mouseout",function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",function(){e.datepicker._isDisabledDatepicker(n.inline?t.parent()[0]:n.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))})}function s(t,i){e.extend(t,i);for(var a in i)null==i[a]&&(t[a]=i[a]);return t}e.extend(e.ui,{datepicker:{version:"1.10.3"}});var n,r="datepicker";e.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return s(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var a,s,n;a=t.nodeName.toLowerCase(),s="div"===a||"span"===a,t.id||(this.uuid+=1,t.id="dp"+this.uuid),n=this._newInst(e(t),s),n.settings=e.extend({},i||{}),"input"===a?this._connectDatepicker(t,n):s&&this._inlineDatepicker(t,n)},_newInst:function(t,i){var s=t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:s,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?a(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var a=e(t);i.append=e([]),i.trigger=e([]),a.hasClass(this.markerClassName)||(this._attachments(a,i),a.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),e.data(t,r,i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var a,s,n,r=this._get(i,"appendText"),o=this._get(i,"isRTL");i.append&&i.append.remove(),r&&(i.append=e("<span class='"+this._appendClass+"'>"+r+"</span>"),t[o?"before":"after"](i.append)),t.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),a=this._get(i,"showOn"),("focus"===a||"both"===a)&&t.focus(this._showDatepicker),("button"===a||"both"===a)&&(s=this._get(i,"buttonText"),n=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("<img/>").addClass(this._triggerClass).attr({src:n,alt:s,title:s}):e("<button type='button'></button>").addClass(this._triggerClass).html(n?e("<img/>").attr({src:n,alt:s,title:s}):s)),t[o?"before":"after"](i.trigger),i.trigger.click(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,a,s,n=new Date(2009,11,20),r=this._get(e,"dateFormat");r.match(/[DM]/)&&(t=function(e){for(i=0,a=0,s=0;e.length>s;s++)e[s].length>i&&(i=e[s].length,a=s);return a},n.setMonth(t(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),n.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-n.getDay())),e.input.attr("size",this._formatDate(e,n).length)}},_inlineDatepicker:function(t,i){var a=e(t);a.hasClass(this.markerClassName)||(a.addClass(this.markerClassName).append(i.dpDiv),e.data(t,r,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,a,n,o){var h,l,u,d,c,p=this._dialogInst;return p||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+h+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),e("body").append(this._dialogInput),p=this._dialogInst=this._newInst(this._dialogInput,!1),p.settings={},e.data(this._dialogInput[0],r,p)),s(p.settings,n||{}),i=i&&i.constructor===Date?this._formatDate(p,i):i,this._dialogInput.val(i),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(l=document.documentElement.clientWidth,u=document.documentElement.clientHeight,d=document.documentElement.scrollLeft||document.body.scrollLeft,c=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+d,u/2-150+c]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=a,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],r,p),this},_destroyDatepicker:function(t){var i,a=e(t),s=e.data(t,r);a.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,r),"input"===i?(s.append.remove(),s.trigger.remove(),a.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&a.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var i,a,s=e(t),n=e.data(t,r);s.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(a=s.children("."+this._inlineClass),a.children().removeClass("ui-state-disabled"),a.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var i,a,s=e(t),n=e.data(t,r);s.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(a=s.children("."+this._inlineClass),a.children().addClass("ui-state-disabled"),a.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,r)}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(i,a,n){var r,o,h,l,u=this._getInst(i);return 2===arguments.length&&"string"==typeof a?"defaults"===a?e.extend({},e.datepicker._defaults):u?"all"===a?e.extend({},u.settings):this._get(u,a):null:(r=a||{},"string"==typeof a&&(r={},r[a]=n),u&&(this._curInst===u&&this._hideDatepicker(),o=this._getDateDatepicker(i,!0),h=this._getMinMaxDate(u,"min"),l=this._getMinMaxDate(u,"max"),s(u.settings,r),null!==h&&r.dateFormat!==t&&r.minDate===t&&(u.settings.minDate=this._formatDate(u,h)),null!==l&&r.dateFormat!==t&&r.maxDate===t&&(u.settings.maxDate=this._formatDate(u,l)),"disabled"in r&&(r.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(e(i),u),this._autoSize(u),this._setDate(u,o),this._updateAlternate(u),this._updateDatepicker(u)),t)},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var i,a,s,n=e.datepicker._getInst(t.target),r=!0,o=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),r=!1;break;case 13:return s=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",n.dpDiv),s[0]&&e.datepicker._selectDay(t.target,n.selectedMonth,n.selectedYear,s[0]),i=e.datepicker._get(n,"onSelect"),i?(a=e.datepicker._formatDate(n),i.apply(n.input?n.input[0]:null,[a,n])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(n,"stepBigMonths"):-e.datepicker._get(n,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(n,"stepBigMonths"):+e.datepicker._get(n,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),r=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),r=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,o?1:-1,"D"),r=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(n,"stepBigMonths"):-e.datepicker._get(n,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),r=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,o?-1:1,"D"),r=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(n,"stepBigMonths"):+e.datepicker._get(n,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),r=t.ctrlKey||t.metaKey;break;default:r=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):r=!1;r&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(i){var a,s,n=e.datepicker._getInst(i.target);return e.datepicker._get(n,"constrainInput")?(a=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">s||!a||a.indexOf(s)>-1):t},_doKeyUp:function(t){var i,a=e.datepicker._getInst(t.target);if(a.input.val()!==a.lastVal)try{i=e.datepicker.parseDate(e.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,e.datepicker._getFormatConfig(a)),i&&(e.datepicker._setDateFromField(a),e.datepicker._updateAlternate(a),e.datepicker._updateDatepicker(a))}catch(s){}return!0},_showDatepicker:function(t){if(t=t.target||t,"input"!==t.nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),!e.datepicker._isDisabledDatepicker(t)&&e.datepicker._lastInput!==t){var i,a,n,r,o,h,l;i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),a=e.datepicker._get(i,"beforeShow"),n=a?a.apply(t,[t,i]):{},n!==!1&&(s(i.settings,n),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),r=!1,e(t).parents().each(function(){return r|="fixed"===e(this).css("position"),!r}),o={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),o=e.datepicker._checkOffset(i,o,r),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":r?"fixed":"absolute",display:"none",left:o.left+"px",top:o.top+"px"}),i.inline||(h=e.datepicker._get(i,"showAnim"),l=e.datepicker._get(i,"duration"),i.dpDiv.zIndex(e(t).zIndex()+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[h]?i.dpDiv.show(h,e.datepicker._get(i,"showOptions"),l):i.dpDiv[h||"show"](h?l:null),e.datepicker._shouldFocusInput(i)&&i.input.focus(),e.datepicker._curInst=i))}},_updateDatepicker:function(t){this.maxRows=4,n=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t),t.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,a=this._getNumberOfMonths(t),s=a[1],r=17;t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),s>1&&t.dpDiv.addClass("ui-datepicker-multi-"+s).css("width",r*s+"em"),t.dpDiv[(1!==a[0]||1!==a[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.focus(),t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,a){var s=t.dpDiv.outerWidth(),n=t.dpDiv.outerHeight(),r=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,h=document.documentElement.clientWidth+(a?0:e(document).scrollLeft()),l=document.documentElement.clientHeight+(a?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?s-r:0,i.left-=a&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=a&&i.top===t.input.offset().top+o?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+s>h&&h>s?Math.abs(i.left+s-h):0),i.top-=Math.min(i.top,i.top+n>l&&l>n?Math.abs(n+o):0),i},_findPos:function(t){for(var i,a=this._getInst(t),s=this._get(a,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[s?"previousSibling":"nextSibling"];return i=e(t).offset(),[i.left,i.top]},_hideDatepicker:function(t){var i,a,s,n,o=this._curInst;!o||t&&o!==e.data(t,r)||this._datepickerShowing&&(i=this._get(o,"showAnim"),a=this._get(o,"duration"),s=function(){e.datepicker._tidyDialog(o)},e.effects&&(e.effects.effect[i]||e.effects[i])?o.dpDiv.hide(i,e.datepicker._get(o,"showOptions"),a,s):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?a:null,s),i||s(),this._datepickerShowing=!1,n=this._get(o,"onClose"),n&&n.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),a=e.datepicker._getInst(i[0]);(i[0].id!==e.datepicker._mainDivId&&0===i.parents("#"+e.datepicker._mainDivId).length&&!i.hasClass(e.datepicker.markerClassName)&&!i.closest("."+e.datepicker._triggerClass).length&&e.datepicker._datepickerShowing&&(!e.datepicker._inDialog||!e.blockUI)||i.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==a)&&e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,a){var s=e(t),n=this._getInst(s[0]);this._isDisabledDatepicker(s[0])||(this._adjustInstDate(n,i+("M"===a?this._get(n,"showCurrentAtPos"):0),a),this._updateDatepicker(n))},_gotoToday:function(t){var i,a=e(t),s=this._getInst(a[0]);this._get(s,"gotoCurrent")&&s.currentDay?(s.selectedDay=s.currentDay,s.drawMonth=s.selectedMonth=s.currentMonth,s.drawYear=s.selectedYear=s.currentYear):(i=new Date,s.selectedDay=i.getDate(),s.drawMonth=s.selectedMonth=i.getMonth(),s.drawYear=s.selectedYear=i.getFullYear()),this._notifyChange(s),this._adjustDate(a)},_selectMonthYear:function(t,i,a){var s=e(t),n=this._getInst(s[0]);n["selected"+("M"===a?"Month":"Year")]=n["draw"+("M"===a?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(n),this._adjustDate(s)},_selectDay:function(t,i,a,s){var n,r=e(t);e(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||(n=this._getInst(r[0]),n.selectedDay=n.currentDay=e("a",s).html(),n.selectedMonth=n.currentMonth=i,n.selectedYear=n.currentYear=a,this._selectDate(t,this._formatDate(n,n.currentDay,n.currentMonth,n.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var a,s=e(t),n=this._getInst(s[0]);i=null!=i?i:this._formatDate(n),n.input&&n.input.val(i),this._updateAlternate(n),a=this._get(n,"onSelect"),a?a.apply(n.input?n.input[0]:null,[i,n]):n.input&&n.input.trigger("change"),n.inline?this._updateDatepicker(n):(this._hideDatepicker(),this._lastInput=n.input[0],"object"!=typeof n.input[0]&&n.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var i,a,s,n=this._get(t,"altField");n&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),a=this._getDate(t),s=this.formatDate(i,a,this._getFormatConfig(t)),e(n).each(function(){e(this).val(s)}))},noWeekends:function(e){var t=e.getDay();return[t>0&&6>t,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(i,a,s){if(null==i||null==a)throw"Invalid arguments";if(a="object"==typeof a?""+a:a+"",""===a)return null;var n,r,o,h,l=0,u=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,d="string"!=typeof u?u:(new Date).getFullYear()%100+parseInt(u,10),c=(s?s.dayNamesShort:null)||this._defaults.dayNamesShort,p=(s?s.dayNames:null)||this._defaults.dayNames,m=(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,f=(s?s.monthNames:null)||this._defaults.monthNames,g=-1,v=-1,y=-1,b=-1,_=!1,x=function(e){var t=i.length>n+1&&i.charAt(n+1)===e;return t&&n++,t},k=function(e){var t=x(e),i="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,s=RegExp("^\\d{1,"+i+"}"),n=a.substring(l).match(s);if(!n)throw"Missing number at position "+l;return l+=n[0].length,parseInt(n[0],10)},w=function(i,s,n){var r=-1,o=e.map(x(i)?n:s,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(e.each(o,function(e,i){var s=i[1];return a.substr(l,s.length).toLowerCase()===s.toLowerCase()?(r=i[0],l+=s.length,!1):t}),-1!==r)return r+1;throw"Unknown name at position "+l},D=function(){if(a.charAt(l)!==i.charAt(n))throw"Unexpected literal at position "+l;l++};for(n=0;i.length>n;n++)if(_)"'"!==i.charAt(n)||x("'")?D():_=!1;else switch(i.charAt(n)){case"d":y=k("d");break;case"D":w("D",c,p);break;case"o":b=k("o");break;case"m":v=k("m");break;case"M":v=w("M",m,f);break;case"y":g=k("y");break;case"@":h=new Date(k("@")),g=h.getFullYear(),v=h.getMonth()+1,y=h.getDate();break;case"!":h=new Date((k("!")-this._ticksTo1970)/1e4),g=h.getFullYear(),v=h.getMonth()+1,y=h.getDate();break;case"'":x("'")?D():_=!0;break;default:D()}if(a.length>l&&(o=a.substr(l),!/^\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o;if(-1===g?g=(new Date).getFullYear():100>g&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(d>=g?0:-100)),b>-1)for(v=1,y=b;;){if(r=this._getDaysInMonth(g,v-1),r>=y)break;v++,y-=r}if(h=this._daylightSavingAdjust(new Date(g,v-1,y)),h.getFullYear()!==g||h.getMonth()+1!==v||h.getDate()!==y)throw"Invalid date";return h},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,i){if(!t)return"";var a,s=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,n=(i?i.dayNames:null)||this._defaults.dayNames,r=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,o=(i?i.monthNames:null)||this._defaults.monthNames,h=function(t){var i=e.length>a+1&&e.charAt(a+1)===t;return i&&a++,i},l=function(e,t,i){var a=""+t;if(h(e))for(;i>a.length;)a="0"+a;return a},u=function(e,t,i,a){return h(e)?a[t]:i[t]},d="",c=!1;if(t)for(a=0;e.length>a;a++)if(c)"'"!==e.charAt(a)||h("'")?d+=e.charAt(a):c=!1;else switch(e.charAt(a)){case"d":d+=l("d",t.getDate(),2);break;case"D":d+=u("D",t.getDay(),s,n);break;case"o":d+=l("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=l("m",t.getMonth()+1,2);break;case"M":d+=u("M",t.getMonth(),r,o);break;case"y":d+=h("y")?t.getFullYear():(10>t.getYear()%100?"0":"")+t.getYear()%100;break;case"@":d+=t.getTime();break;case"!":d+=1e4*t.getTime()+this._ticksTo1970;break;case"'":h("'")?d+="'":c=!0;break;default:d+=e.charAt(a)}return d},_possibleChars:function(e){var t,i="",a=!1,s=function(i){var a=e.length>t+1&&e.charAt(t+1)===i;return a&&t++,a};for(t=0;e.length>t;t++)if(a)"'"!==e.charAt(t)||s("'")?i+=e.charAt(t):a=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":s("'")?i+="'":a=!0;break;default:i+=e.charAt(t)}return i},_get:function(e,i){return e.settings[i]!==t?e.settings[i]:this._defaults[i]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),a=e.lastVal=e.input?e.input.val():null,s=this._getDefaultDate(e),n=s,r=this._getFormatConfig(e);try{n=this.parseDate(i,a,r)||s}catch(o){a=t?"":a}e.selectedDay=n.getDate(),e.drawMonth=e.selectedMonth=n.getMonth(),e.drawYear=e.selectedYear=n.getFullYear(),e.currentDay=a?n.getDate():0,e.currentMonth=a?n.getMonth():0,e.currentYear=a?n.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,a){var s=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},n=function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(a){}for(var s=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,n=s.getFullYear(),r=s.getMonth(),o=s.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":o+=parseInt(l[1],10);break;case"w":case"W":o+=7*parseInt(l[1],10);break;case"m":case"M":r+=parseInt(l[1],10),o=Math.min(o,e.datepicker._getDaysInMonth(n,r));break;case"y":case"Y":n+=parseInt(l[1],10),o=Math.min(o,e.datepicker._getDaysInMonth(n,r))}l=h.exec(i)}return new Date(n,r,o)},r=null==i||""===i?a:"string"==typeof i?n(i):"number"==typeof i?isNaN(i)?a:s(i):new Date(i.getTime());return r=r&&"Invalid Date"==""+r?a:r,r&&(r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0)),this._daylightSavingAdjust(r)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var a=!t,s=e.selectedMonth,n=e.selectedYear,r=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=r.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=r.getMonth(),e.drawYear=e.selectedYear=e.currentYear=r.getFullYear(),s===e.selectedMonth&&n===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(a?"":this._formatDate(e))},_getDate:function(e){var t=!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),a="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){e.datepicker._adjustDate(a,-i,"M")},next:function(){e.datepicker._adjustDate(a,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(a)},selectDay:function(){return e.datepicker._selectDay(a,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(a,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(a,this,"Y"),!1}};e(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,a,s,n,r,o,h,l,u,d,c,p,m,f,g,v,y,b,_,x,k,w,D,T,M,S,N,C,A,P,I,F,j,H,E,z,O,L,R=new Date,W=this._daylightSavingAdjust(new Date(R.getFullYear(),R.getMonth(),R.getDate())),Y=this._get(e,"isRTL"),J=this._get(e,"showButtonPanel"),$=this._get(e,"hideIfNoPrevNext"),Q=this._get(e,"navigationAsDateFormat"),B=this._getNumberOfMonths(e),K=this._get(e,"showCurrentAtPos"),V=this._get(e,"stepMonths"),U=1!==B[0]||1!==B[1],G=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),q=this._getMinMaxDate(e,"min"),X=this._getMinMaxDate(e,"max"),Z=e.drawMonth-K,et=e.drawYear;if(0>Z&&(Z+=12,et--),X)for(t=this._daylightSavingAdjust(new Date(X.getFullYear(),X.getMonth()-B[0]*B[1]+1,X.getDate())),t=q&&q>t?q:t;this._daylightSavingAdjust(new Date(et,Z,1))>t;)Z--,0>Z&&(Z=11,et--);for(e.drawMonth=Z,e.drawYear=et,i=this._get(e,"prevText"),i=Q?this.formatDate(i,this._daylightSavingAdjust(new Date(et,Z-V,1)),this._getFormatConfig(e)):i,a=this._canAdjustMonth(e,-1,et,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>":$?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>",s=this._get(e,"nextText"),s=Q?this.formatDate(s,this._daylightSavingAdjust(new Date(et,Z+V,1)),this._getFormatConfig(e)):s,n=this._canAdjustMonth(e,1,et,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+s+"</span></a>":$?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+s+"</span></a>",r=this._get(e,"currentText"),o=this._get(e,"gotoCurrent")&&e.currentDay?G:W,r=Q?this.formatDate(r,o,this._getFormatConfig(e)):r,h=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",l=J?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(Y?h:"")+(this._isInRange(e,o)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+r+"</button>":"")+(Y?"":h)+"</div>":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,d=this._get(e,"showWeek"),c=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),m=this._get(e,"monthNames"),f=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),y=this._get(e,"selectOtherMonths"),b=this._getDefaultDate(e),_="",k=0;B[0]>k;k++){for(w="",this.maxRows=4,D=0;B[1]>D;D++){if(T=this._daylightSavingAdjust(new Date(et,Z,e.selectedDay)),M=" ui-corner-all",S="",U){if(S+="<div class='ui-datepicker-group",B[1]>1)switch(D){case 0:S+=" ui-datepicker-group-first",M=" ui-corner-"+(Y?"right":"left");break;case B[1]-1:S+=" ui-datepicker-group-last",M=" ui-corner-"+(Y?"left":"right");break;default:S+=" ui-datepicker-group-middle",M=""}S+="'>"}for(S+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+M+"'>"+(/all|left/.test(M)&&0===k?Y?n:a:"")+(/all|right/.test(M)&&0===k?Y?a:n:"")+this._generateMonthYearHeader(e,Z,et,q,X,k>0||D>0,m,f)+"</div><table class='ui-datepicker-calendar'><thead>"+"<tr>",N=d?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",x=0;7>x;x++)C=(x+u)%7,N+="<th"+((x+u+6)%7>=5?" class='ui-datepicker-week-end'":"")+">"+"<span title='"+c[C]+"'>"+p[C]+"</span></th>";for(S+=N+"</tr></thead><tbody>",A=this._getDaysInMonth(et,Z),et===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),P=(this._getFirstDayOfMonth(et,Z)-u+7)%7,I=Math.ceil((P+A)/7),F=U?this.maxRows>I?this.maxRows:I:I,this.maxRows=F,j=this._daylightSavingAdjust(new Date(et,Z,1-P)),H=0;F>H;H++){for(S+="<tr>",E=d?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(j)+"</td>":"",x=0;7>x;x++)z=g?g.apply(e.input?e.input[0]:null,[j]):[!0,""],O=j.getMonth()!==Z,L=O&&!y||!z[0]||q&&q>j||X&&j>X,E+="<td class='"+((x+u+6)%7>=5?" ui-datepicker-week-end":"")+(O?" ui-datepicker-other-month":"")+(j.getTime()===T.getTime()&&Z===e.selectedMonth&&e._keyEvent||b.getTime()===j.getTime()&&b.getTime()===T.getTime()?" "+this._dayOverClass:"")+(L?" "+this._unselectableClass+" ui-state-disabled":"")+(O&&!v?"":" "+z[1]+(j.getTime()===G.getTime()?" "+this._currentClass:"")+(j.getTime()===W.getTime()?" ui-datepicker-today":""))+"'"+(O&&!v||!z[2]?"":" title='"+z[2].replace(/'/g,"&#39;")+"'")+(L?"":" data-handler='selectDay' data-event='click' data-month='"+j.getMonth()+"' data-year='"+j.getFullYear()+"'")+">"+(O&&!v?"&#xa0;":L?"<span class='ui-state-default'>"+j.getDate()+"</span>":"<a class='ui-state-default"+(j.getTime()===W.getTime()?" ui-state-highlight":"")+(j.getTime()===G.getTime()?" ui-state-active":"")+(O?" ui-priority-secondary":"")+"' href='#'>"+j.getDate()+"</a>")+"</td>",j.setDate(j.getDate()+1),j=this._daylightSavingAdjust(j);S+=E+"</tr>"}Z++,Z>11&&(Z=0,et++),S+="</tbody></table>"+(U?"</div>"+(B[0]>0&&D===B[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),w+=S}_+=w}return _+=l,e._keyEvent=!1,_},_generateMonthYearHeader:function(e,t,i,a,s,n,r,o){var h,l,u,d,c,p,m,f,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(e,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",_="";if(n||!g)_+="<span class='ui-datepicker-month'>"+r[t]+"</span>";else{for(h=a&&a.getFullYear()===i,l=s&&s.getFullYear()===i,_+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;12>u;u++)(!h||u>=a.getMonth())&&(!l||s.getMonth()>=u)&&(_+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+o[u]+"</option>");_+="</select>"}if(y||(b+=_+(!n&&g&&v?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",n||!v)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(d=this._get(e,"yearRange").split(":"),c=(new Date).getFullYear(),p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?c+parseInt(e,10):parseInt(e,10);
7
+ return isNaN(t)?c:t},m=p(d[0]),f=Math.max(m,p(d[1]||"")),m=a?Math.max(m,a.getFullYear()):m,f=s?Math.min(f,s.getFullYear()):f,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f>=m;m++)e.yearshtml+="<option value='"+m+"'"+(m===i?" selected='selected'":"")+">"+m+"</option>";e.yearshtml+="</select>",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),y&&(b+=(!n&&g&&v?"":"&#xa0;")+_),b+="</div>"},_adjustInstDate:function(e,t,i){var a=e.drawYear+("Y"===i?t:0),s=e.drawMonth+("M"===i?t:0),n=Math.min(e.selectedDay,this._getDaysInMonth(a,s))+("D"===i?t:0),r=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(a,s,n)));e.selectedDay=r.getDate(),e.drawMonth=e.selectedMonth=r.getMonth(),e.drawYear=e.selectedYear=r.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),s=i&&i>t?i:t;return a&&s>a?a:s},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,a){var s=this._getNumberOfMonths(e),n=this._daylightSavingAdjust(new Date(i,a+(0>t?t:s[0]*s[1]),1));return 0>t&&n.setDate(this._getDaysInMonth(n.getFullYear(),n.getMonth())),this._isInRange(e,n)},_isInRange:function(e,t){var i,a,s=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),r=null,o=null,h=this._get(e,"yearRange");return h&&(i=h.split(":"),a=(new Date).getFullYear(),r=parseInt(i[0],10),o=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(r+=a),i[1].match(/[+\-].*/)&&(o+=a)),(!s||t.getTime()>=s.getTime())&&(!n||t.getTime()<=n.getTime())&&(!r||t.getFullYear()>=r)&&(!o||o>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,a){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var s=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(a,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),s,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).mousedown(e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new i,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.10.3"})(jQuery);(function(e){var t=5;e.widget("ui.slider",e.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,i,s=this.options,a=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),n="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",r=[];for(i=s.values&&s.values.length||1,a.length>i&&(a.slice(i).remove(),a=a.slice(0,i)),t=a.length;i>t;t++)r.push(n);this.handles=a.add(e(r.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(t){e(this).data("ui-slider-handle-index",t)})},_createRange:function(){var t=this.options,i="";t.range?(t.range===!0&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:e.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=e("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===t.range||"max"===t.range?" ui-slider-range-"+t.range:""))):this.range=e([])},_setupEvents:function(){var e=this.handles.add(this.range).filter("a");this._off(e),this._on(e,this._handleEvents),this._hoverable(e),this._focusable(e)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(t){var i,s,a,n,r,o,h,l,u=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:t.pageX,y:t.pageY},s=this._normValueFromMouse(i),a=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var i=Math.abs(s-u.values(t));(a>i||a===i&&(t===u._lastChangedValue||u.values(t)===c.min))&&(a=i,n=e(this),r=t)}),o=this._start(t,r),o===!1?!1:(this._mouseSliding=!0,this._handleIndex=r,n.addClass("ui-state-active").focus(),h=n.offset(),l=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:t.pageX-h.left-n.width()/2,top:t.pageY-h.top-n.height()/2-(parseInt(n.css("borderTopWidth"),10)||0)-(parseInt(n.css("borderBottomWidth"),10)||0)+(parseInt(n.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,r,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,i,s,a,n;return"horizontal"===this.orientation?(t=this.elementSize.width,i=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,i=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/t,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),a=this._valueMax()-this._valueMin(),n=this._valueMin()+s*a,this._trimAlignValue(n)},_start:function(e,t){var i={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("start",e,i)},_slide:function(e,t,i){var s,a,n;this.options.values&&this.options.values.length?(s=this.values(t?0:1),2===this.options.values.length&&this.options.range===!0&&(0===t&&i>s||1===t&&s>i)&&(i=s),i!==this.values(t)&&(a=this.values(),a[t]=i,n=this._trigger("slide",e,{handle:this.handles[t],value:i,values:a}),s=this.values(t?0:1),n!==!1&&this.values(t,i,!0))):i!==this.value()&&(n=this._trigger("slide",e,{handle:this.handles[t],value:i}),n!==!1&&this.value(i))},_stop:function(e,t){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("stop",e,i)},_change:function(e,t){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._lastChangedValue=t,this._trigger("change",e,i)}},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(t,i){var s,a,n;if(arguments.length>1)return this.options.values[t]=this._trimAlignValue(i),this._refreshValue(),this._change(null,t),undefined;if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(t):this.value();for(s=this.options.values,a=arguments[0],n=0;s.length>n;n+=1)s[n]=this._trimAlignValue(a[n]),this._change(null,n);this._refreshValue()},_setOption:function(t,i){var s,a=0;switch("range"===t&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),e.isArray(this.options.values)&&(a=this.options.values.length),e.Widget.prototype._setOption.apply(this,arguments),t){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;a>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,i,s;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(e){if(this._valueMin()>=e)return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,i=(e-this._valueMin())%t,s=e-i;return 2*Math.abs(i)>=t&&(s+=i>0?t:-t),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,i,s,a,n,r=this.options.range,o=this.options,h=this,l=this._animateOff?!1:o.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),u["horizontal"===h.orientation?"left":"bottom"]=i+"%",e(this).stop(1,1)[l?"animate":"css"](u,o.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},o.animate),1===s&&h.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:o.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},o.animate),1===s&&h.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:o.animate}))),t=i}):(s=this.value(),a=this._valueMin(),n=this._valueMax(),i=n!==a?100*((s-a)/(n-a)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](u,o.animate),"min"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},o.animate),"max"===r&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:o.animate}),"min"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},o.animate),"max"===r&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:o.animate}))},_handleEvents:{keydown:function(i){var s,a,n,r,o=e(i.target).data("ui-slider-handle-index");switch(i.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,e(i.target).addClass("ui-state-active"),s=this._start(i,o),s===!1))return}switch(r=this.options.step,a=n=this.options.values&&this.options.values.length?this.values(o):this.value(),i.keyCode){case e.ui.keyCode.HOME:n=this._valueMin();break;case e.ui.keyCode.END:n=this._valueMax();break;case e.ui.keyCode.PAGE_UP:n=this._trimAlignValue(a+(this._valueMax()-this._valueMin())/t);break;case e.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(a-(this._valueMax()-this._valueMin())/t);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(a===this._valueMax())return;n=this._trimAlignValue(a+r);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(a===this._valueMin())return;n=this._trimAlignValue(a-r)}this._slide(i,o,n)},click:function(e){e.preventDefault()},keyup:function(t){var i=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,i),e(t.target).removeClass("ui-state-active"))}}})})(jQuery);
@@ -0,0 +1,51 @@
1
+ /**
2
+ * jQuery Validation Plugin 1.9.0
3
+ *
4
+ * http://bassistance.de/jquery-plugins/jquery-plugin-validation/
5
+ * http://docs.jquery.com/Plugins/Validation
6
+ *
7
+ * Copyright (c) 2006 - 2011 Jörn Zaefferer
8
+ *
9
+ * Dual licensed under the MIT and GPL licenses:
10
+ * http://www.opensource.org/licenses/mit-license.php
11
+ * http://www.gnu.org/licenses/gpl.html
12
+ */
13
+ (function(c){c.extend(c.fn,{validate:function(a){if(this.length){var b=c.data(this[0],"validator");if(b)return b;this.attr("novalidate","novalidate");b=new c.validator(a,this[0]);c.data(this[0],"validator",b);if(b.settings.onsubmit){a=this.find("input, button");a.filter(".cancel").click(function(){b.cancelSubmit=true});b.settings.submitHandler&&a.filter(":submit").click(function(){b.submitButton=this});this.submit(function(d){function e(){if(b.settings.submitHandler){if(b.submitButton)var f=c("<input type='hidden'/>").attr("name",
14
+ b.submitButton.name).val(b.submitButton.value).appendTo(b.currentForm);b.settings.submitHandler.call(b,b.currentForm);b.submitButton&&f.remove();return false}return true}b.settings.debug&&d.preventDefault();if(b.cancelSubmit){b.cancelSubmit=false;return e()}if(b.form()){if(b.pendingRequest){b.formSubmitted=true;return false}return e()}else{b.focusInvalid();return false}})}return b}else a&&a.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing")},valid:function(){if(c(this[0]).is("form"))return this.validate().form();
15
+ else{var a=true,b=c(this[0].form).validate();this.each(function(){a&=b.element(this)});return a}},removeAttrs:function(a){var b={},d=this;c.each(a.split(/\s/),function(e,f){b[f]=d.attr(f);d.removeAttr(f)});return b},rules:function(a,b){var d=this[0];if(a){var e=c.data(d.form,"validator").settings,f=e.rules,g=c.validator.staticRules(d);switch(a){case "add":c.extend(g,c.validator.normalizeRule(b));f[d.name]=g;if(b.messages)e.messages[d.name]=c.extend(e.messages[d.name],b.messages);break;case "remove":if(!b){delete f[d.name];
16
+ return g}var h={};c.each(b.split(/\s/),function(j,i){h[i]=g[i];delete g[i]});return h}}d=c.validator.normalizeRules(c.extend({},c.validator.metadataRules(d),c.validator.classRules(d),c.validator.attributeRules(d),c.validator.staticRules(d)),d);if(d.required){e=d.required;delete d.required;d=c.extend({required:e},d)}return d}});c.extend(c.expr[":"],{blank:function(a){return!c.trim(""+a.value)},filled:function(a){return!!c.trim(""+a.value)},unchecked:function(a){return!a.checked}});c.validator=function(a,
17
+ b){this.settings=c.extend(true,{},c.validator.defaults,a);this.currentForm=b;this.init()};c.validator.format=function(a,b){if(arguments.length==1)return function(){var d=c.makeArray(arguments);d.unshift(a);return c.validator.format.apply(this,d)};if(arguments.length>2&&b.constructor!=Array)b=c.makeArray(arguments).slice(1);if(b.constructor!=Array)b=[b];c.each(b,function(d,e){a=a.replace(RegExp("\\{"+d+"\\}","g"),e)});return a};c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",
18
+ validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:c([]),errorLabelContainer:c([]),onsubmit:true,ignore:":hidden",ignoreTitle:false,onfocusin:function(a){this.lastActive=a;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass);this.addWrapper(this.errorsFor(a)).hide()}},onfocusout:function(a){if(!this.checkable(a)&&(a.name in this.submitted||!this.optional(a)))this.element(a)},
19
+ onkeyup:function(a){if(a.name in this.submitted||a==this.lastElement)this.element(a)},onclick:function(a){if(a.name in this.submitted)this.element(a);else a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(a,b,d){a.type==="radio"?this.findByName(a.name).addClass(b).removeClass(d):c(a).addClass(b).removeClass(d)},unhighlight:function(a,b,d){a.type==="radio"?this.findByName(a.name).removeClass(b).addClass(d):c(a).removeClass(b).addClass(d)}},setDefaults:function(a){c.extend(c.validator.defaults,
20
+ a)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:c.validator.format("Please enter no more than {0} characters."),
21
+ minlength:c.validator.format("Please enter at least {0} characters."),rangelength:c.validator.format("Please enter a value between {0} and {1} characters long."),range:c.validator.format("Please enter a value between {0} and {1}."),max:c.validator.format("Please enter a value less than or equal to {0}."),min:c.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){function a(e){var f=c.data(this[0].form,"validator"),g="on"+e.type.replace(/^validate/,
22
+ "");f.settings[g]&&f.settings[g].call(f,this[0],e)}this.labelContainer=c(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||c(this.currentForm);this.containers=c(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=this.groups={};c.each(this.settings.groups,function(e,f){c.each(f.split(/\s/),function(g,h){b[h]=e})});var d=
23
+ this.settings.rules;c.each(d,function(e,f){d[e]=c.validator.normalizeRule(f)});c(this.currentForm).validateDelegate("[type='text'], [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",a).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",
24
+ a);this.settings.invalidHandler&&c(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){this.checkForm();c.extend(this.submitted,this.errorMap);this.invalid=c.extend({},this.errorMap);this.valid()||c(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(a){this.lastElement=
25
+ a=this.validationTargetFor(this.clean(a));this.prepareElement(a);this.currentElements=c(a);var b=this.check(a);if(b)delete this.invalid[a.name];else this.invalid[a.name]=true;if(!this.numberOfInvalids())this.toHide=this.toHide.add(this.containers);this.showErrors();return b},showErrors:function(a){if(a){c.extend(this.errorMap,a);this.errorList=[];for(var b in a)this.errorList.push({message:a[b],element:this.findByName(b)[0]});this.successList=c.grep(this.successList,function(d){return!(d.name in a)})}this.settings.showErrors?
26
+ this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){c.fn.resetForm&&c(this.currentForm).resetForm();this.submitted={};this.lastElement=null;this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b=0,d;for(d in a)b++;return b},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==
27
+ 0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{c(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(a){}},findLastActive:function(){var a=this.lastActive;return a&&c.grep(this.errorList,function(b){return b.element.name==a.name}).length==1&&a},elements:function(){var a=this,b={};return c(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&
28
+ a.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!a.objectLength(c(this).rules()))return false;return b[this.name]=true})},clean:function(a){return c(a)[0]},errors:function(){return c(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=c([]);this.toHide=c([]);this.currentElements=c([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},
29
+ prepareElement:function(a){this.reset();this.toHide=this.errorsFor(a)},check:function(a){a=this.validationTargetFor(this.clean(a));var b=c(a).rules(),d=false,e;for(e in b){var f={method:e,parameters:b[e]};try{var g=c.validator.methods[e].call(this,a.value.replace(/\r/g,""),a,f.parameters);if(g=="dependency-mismatch")d=true;else{d=false;if(g=="pending"){this.toHide=this.toHide.not(this.errorsFor(a));return}if(!g){this.formatAndAdd(a,f);return false}}}catch(h){this.settings.debug&&window.console&&console.log("exception occured when checking element "+
30
+ a.id+", check the '"+f.method+"' method",h);throw h;}}if(!d){this.objectLength(b)&&this.successList.push(a);return true}},customMetaMessage:function(a,b){if(c.metadata){var d=this.settings.meta?c(a).metadata()[this.settings.meta]:c(a).metadata();return d&&d.messages&&d.messages[b]}},customMessage:function(a,b){var d=this.settings.messages[a];return d&&(d.constructor==String?d:d[b])},findDefined:function(){for(var a=0;a<arguments.length;a++)if(arguments[a]!==undefined)return arguments[a]},defaultMessage:function(a,
31
+ b){return this.findDefined(this.customMessage(a.name,b),this.customMetaMessage(a,b),!this.settings.ignoreTitle&&a.title||undefined,c.validator.messages[b],"<strong>Warning: No message defined for "+a.name+"</strong>")},formatAndAdd:function(a,b){var d=this.defaultMessage(a,b.method),e=/\$?\{(\d+)\}/g;if(typeof d=="function")d=d.call(this,b.parameters,a);else if(e.test(d))d=jQuery.format(d.replace(e,"{$1}"),b.parameters);this.errorList.push({message:d,element:a});this.errorMap[a.name]=d;this.submitted[a.name]=
32
+ d},addWrapper:function(a){if(this.settings.wrapper)a=a.add(a.parent(this.settings.wrapper));return a},defaultShowErrors:function(){for(var a=0;this.errorList[a];a++){var b=this.errorList[a];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message)}if(this.errorList.length)this.toShow=this.toShow.add(this.containers);if(this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);
33
+ if(this.settings.unhighlight){a=0;for(b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass)}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return c(this.errorList).map(function(){return this.element})},showLabel:function(a,b){var d=this.errorsFor(a);if(d.length){d.removeClass(this.settings.validClass).addClass(this.settings.errorClass);
34
+ d.attr("generated")&&d.html(b)}else{d=c("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(a),generated:true}).addClass(this.settings.errorClass).html(b||"");if(this.settings.wrapper)d=d.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();this.labelContainer.append(d).length||(this.settings.errorPlacement?this.settings.errorPlacement(d,c(a)):d.insertAfter(a))}if(!b&&this.settings.success){d.text("");typeof this.settings.success=="string"?d.addClass(this.settings.success):this.settings.success(d)}this.toShow=
35
+ this.toShow.add(d)},errorsFor:function(a){var b=this.idOrName(a);return this.errors().filter(function(){return c(this).attr("for")==b})},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(a){if(this.checkable(a))a=this.findByName(a.name).not(this.settings.ignore)[0];return a},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(a){var b=this.currentForm;return c(document.getElementsByName(a)).map(function(d,
36
+ e){return e.form==b&&e.name==a&&e||null})},getLength:function(a,b){switch(b.nodeName.toLowerCase()){case "select":return c("option:selected",b).length;case "input":if(this.checkable(b))return this.findByName(b.name).filter(":checked").length}return a.length},depend:function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):true},dependTypes:{"boolean":function(a){return a},string:function(a,b){return!!c(a,b.form).length},"function":function(a,b){return a(b)}},optional:function(a){return!c.validator.methods.required.call(this,
37
+ c.trim(a.value),a)&&"dependency-mismatch"},startRequest:function(a){if(!this.pending[a.name]){this.pendingRequest++;this.pending[a.name]=true}},stopRequest:function(a,b){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[a.name];if(b&&this.pendingRequest==0&&this.formSubmitted&&this.form()){c(this.currentForm).submit();this.formSubmitted=false}else if(!b&&this.pendingRequest==0&&this.formSubmitted){c(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=
38
+ false}},previousValue:function(a){return c.data(a,"previousValue")||c.data(a,"previousValue",{old:null,valid:true,message:this.defaultMessage(a,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(a,b){a.constructor==String?this.classRuleSettings[a]=b:c.extend(this.classRuleSettings,
39
+ a)},classRules:function(a){var b={};(a=c(a).attr("class"))&&c.each(a.split(" "),function(){this in c.validator.classRuleSettings&&c.extend(b,c.validator.classRuleSettings[this])});return b},attributeRules:function(a){var b={};a=c(a);for(var d in c.validator.methods){var e;if(e=d==="required"&&typeof c.fn.prop==="function"?a.prop(d):a.attr(d))b[d]=e;else if(a[0].getAttribute("type")===d)b[d]=true}b.maxlength&&/-1|2147483647|524288/.test(b.maxlength)&&delete b.maxlength;return b},metadataRules:function(a){if(!c.metadata)return{};
40
+ var b=c.data(a.form,"validator").settings.meta;return b?c(a).metadata()[b]:c(a).metadata()},staticRules:function(a){var b={},d=c.data(a.form,"validator");if(d.settings.rules)b=c.validator.normalizeRule(d.settings.rules[a.name])||{};return b},normalizeRules:function(a,b){c.each(a,function(d,e){if(e===false)delete a[d];else if(e.param||e.depends){var f=true;switch(typeof e.depends){case "string":f=!!c(e.depends,b.form).length;break;case "function":f=e.depends.call(b,b)}if(f)a[d]=e.param!==undefined?
41
+ e.param:true;else delete a[d]}});c.each(a,function(d,e){a[d]=c.isFunction(e)?e(b):e});c.each(["minlength","maxlength","min","max"],function(){if(a[this])a[this]=Number(a[this])});c.each(["rangelength","range"],function(){if(a[this])a[this]=[Number(a[this][0]),Number(a[this][1])]});if(c.validator.autoCreateRanges){if(a.min&&a.max){a.range=[a.min,a.max];delete a.min;delete a.max}if(a.minlength&&a.maxlength){a.rangelength=[a.minlength,a.maxlength];delete a.minlength;delete a.maxlength}}a.messages&&delete a.messages;
42
+ return a},normalizeRule:function(a){if(typeof a=="string"){var b={};c.each(a.split(/\s/),function(){b[this]=true});a=b}return a},addMethod:function(a,b,d){c.validator.methods[a]=b;c.validator.messages[a]=d!=undefined?d:c.validator.messages[a];b.length<3&&c.validator.addClassRules(a,c.validator.normalizeRule(a))},methods:{required:function(a,b,d){if(!this.depend(d,b))return"dependency-mismatch";switch(b.nodeName.toLowerCase()){case "select":return(a=c(b).val())&&a.length>0;case "input":if(this.checkable(b))return this.getLength(a,
43
+ b)>0;default:return c.trim(a).length>0}},remote:function(a,b,d){if(this.optional(b))return"dependency-mismatch";var e=this.previousValue(b);this.settings.messages[b.name]||(this.settings.messages[b.name]={});e.originalMessage=this.settings.messages[b.name].remote;this.settings.messages[b.name].remote=e.message;d=typeof d=="string"&&{url:d}||d;if(this.pending[b.name])return"pending";if(e.old===a)return e.valid;e.old=a;var f=this;this.startRequest(b);var g={};g[b.name]=a;c.ajax(c.extend(true,{url:d,
44
+ mode:"abort",port:"validate"+b.name,dataType:"json",data:g,success:function(h){f.settings.messages[b.name].remote=e.originalMessage;var j=h===true;if(j){var i=f.formSubmitted;f.prepareElement(b);f.formSubmitted=i;f.successList.push(b);f.showErrors()}else{i={};h=h||f.defaultMessage(b,"remote");i[b.name]=e.message=c.isFunction(h)?h(a):h;f.showErrors(i)}e.valid=j;f.stopRequest(b,j)}},d));return"pending"},minlength:function(a,b,d){return this.optional(b)||this.getLength(c.trim(a),b)>=d},maxlength:function(a,
45
+ b,d){return this.optional(b)||this.getLength(c.trim(a),b)<=d},rangelength:function(a,b,d){a=this.getLength(c.trim(a),b);return this.optional(b)||a>=d[0]&&a<=d[1]},min:function(a,b,d){return this.optional(b)||a>=d},max:function(a,b,d){return this.optional(b)||a<=d},range:function(a,b,d){return this.optional(b)||a>=d[0]&&a<=d[1]},email:function(a,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(a)},
46
+ url:function(a,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)},
47
+ date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a))},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9 -]+/.test(a))return false;var d=0,e=0,f=false;a=a.replace(/\D/g,"");for(var g=a.length-1;g>=
48
+ 0;g--){e=a.charAt(g);e=parseInt(e,10);if(f)if((e*=2)>9)e-=9;d+=e;f=!f}return d%10==0},accept:function(a,b,d){d=typeof d=="string"?d.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(b)||a.match(RegExp(".("+d+")$","i"))},equalTo:function(a,b,d){d=c(d).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){c(b).valid()});return a==d.val()}}});c.format=c.validator.format})(jQuery);
49
+ (function(c){var a={};if(c.ajaxPrefilter)c.ajaxPrefilter(function(d,e,f){e=d.port;if(d.mode=="abort"){a[e]&&a[e].abort();a[e]=f}});else{var b=c.ajax;c.ajax=function(d){var e=("port"in d?d:c.ajaxSettings).port;if(("mode"in d?d:c.ajaxSettings).mode=="abort"){a[e]&&a[e].abort();return a[e]=b.apply(this,arguments)}return b.apply(this,arguments)}}})(jQuery);
50
+ (function(c){!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.handle.call(this,e)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)},handler:function(e){arguments[0]=c.event.fix(e);arguments[0].type=b;return c.event.handle.apply(this,arguments)}}});c.extend(c.fn,{validateDelegate:function(a,
51
+ b,d){return this.bind(b,function(e){var f=c(e.target);if(f.is(a))return d.apply(f,arguments)})}})})(jQuery);
@@ -0,0 +1,31 @@
1
+ .ui-timepicker-div .ui-widget-header {
2
+ margin-bottom: 8px;
3
+ }
4
+ .ui-timepicker-div dl {
5
+ text-align: left;
6
+ }
7
+ .ui-timepicker-div dl dt {
8
+ height: 25px;
9
+ margin-bottom: -25px;
10
+ }
11
+ .ui-timepicker-div dl dd {
12
+ margin: 0 10px 10px 65px;
13
+ }
14
+ .ui-timepicker-div td {
15
+ font-size: 90%;
16
+ }
17
+ .ui-tpicker-grid-label {
18
+ background: none repeat scroll 0 0 transparent;
19
+ border: medium none;
20
+ margin: 0;
21
+ padding: 0;
22
+ }
23
+ .ui-timepicker-rtl {
24
+ direction: rtl;
25
+ }
26
+ .ui-timepicker-rtl dl {
27
+ text-align: right;
28
+ }
29
+ .ui-timepicker-rtl dl dd {
30
+ margin: 0 65px 10px 10px;
31
+ }
@@ -0,0 +1,2162 @@
1
+ /*
2
+ * jQuery Timepicker Addon
3
+ * By: Trent Richardson [http://trentrichardson.com]
4
+ *
5
+ * Copyright 2013 Trent Richardson
6
+ * You may use this project under MIT license.
7
+ * http://trentrichardson.com/Impromptu/MIT-LICENSE.txt
8
+ */
9
+
10
+ (function ($) {
11
+
12
+ /*
13
+ * Lets not redefine timepicker, Prevent "Uncaught RangeError: Maximum call stack size exceeded"
14
+ */
15
+ $.ui.timepicker = $.ui.timepicker || {};
16
+ if ($.ui.timepicker.version) {
17
+ return;
18
+ }
19
+
20
+ /*
21
+ * Extend jQueryUI, get it started with our version number
22
+ */
23
+ $.extend($.ui, {
24
+ timepicker: {
25
+ version: "@@version"
26
+ }
27
+ });
28
+
29
+ /*
30
+ * Timepicker manager.
31
+ * Use the singleton instance of this class, $.timepicker, to interact with the time picker.
32
+ * Settings for (groups of) time pickers are maintained in an instance object,
33
+ * allowing multiple different settings on the same page.
34
+ */
35
+ var Timepicker = function () {
36
+ this.regional = []; // Available regional settings, indexed by language code
37
+ this.regional[''] = { // Default regional settings
38
+ currentText: 'Now',
39
+ closeText: 'Done',
40
+ amNames: ['AM', 'A'],
41
+ pmNames: ['PM', 'P'],
42
+ timeFormat: 'HH:mm',
43
+ timeSuffix: '',
44
+ timeOnlyTitle: 'Choose Time',
45
+ timeText: 'Time',
46
+ hourText: 'Hour',
47
+ minuteText: 'Minute',
48
+ secondText: 'Second',
49
+ millisecText: 'Millisecond',
50
+ microsecText: 'Microsecond',
51
+ timezoneText: 'Time Zone',
52
+ isRTL: false
53
+ };
54
+ this._defaults = { // Global defaults for all the datetime picker instances
55
+ showButtonPanel: true,
56
+ timeOnly: false,
57
+ showHour: null,
58
+ showMinute: null,
59
+ showSecond: null,
60
+ showMillisec: null,
61
+ showMicrosec: null,
62
+ showTimezone: null,
63
+ showTime: true,
64
+ stepHour: 1,
65
+ stepMinute: 1,
66
+ stepSecond: 1,
67
+ stepMillisec: 1,
68
+ stepMicrosec: 1,
69
+ hour: 0,
70
+ minute: 0,
71
+ second: 0,
72
+ millisec: 0,
73
+ microsec: 0,
74
+ timezone: null,
75
+ hourMin: 0,
76
+ minuteMin: 0,
77
+ secondMin: 0,
78
+ millisecMin: 0,
79
+ microsecMin: 0,
80
+ hourMax: 23,
81
+ minuteMax: 59,
82
+ secondMax: 59,
83
+ millisecMax: 999,
84
+ microsecMax: 999,
85
+ minDateTime: null,
86
+ maxDateTime: null,
87
+ onSelect: null,
88
+ hourGrid: 0,
89
+ minuteGrid: 0,
90
+ secondGrid: 0,
91
+ millisecGrid: 0,
92
+ microsecGrid: 0,
93
+ alwaysSetTime: true,
94
+ separator: ' ',
95
+ altFieldTimeOnly: true,
96
+ altTimeFormat: null,
97
+ altSeparator: null,
98
+ altTimeSuffix: null,
99
+ pickerTimeFormat: null,
100
+ pickerTimeSuffix: null,
101
+ showTimepicker: true,
102
+ timezoneList: null,
103
+ addSliderAccess: false,
104
+ sliderAccessArgs: null,
105
+ controlType: 'slider',
106
+ defaultValue: null,
107
+ parse: 'strict',
108
+ ls_now: false
109
+ };
110
+ $.extend(this._defaults, this.regional['']);
111
+ };
112
+
113
+ $.extend(Timepicker.prototype, {
114
+ $input: null,
115
+ $altInput: null,
116
+ $timeObj: null,
117
+ inst: null,
118
+ hour_slider: null,
119
+ minute_slider: null,
120
+ second_slider: null,
121
+ millisec_slider: null,
122
+ microsec_slider: null,
123
+ timezone_select: null,
124
+ hour: 0,
125
+ minute: 0,
126
+ second: 0,
127
+ millisec: 0,
128
+ microsec: 0,
129
+ timezone: null,
130
+ hourMinOriginal: null,
131
+ minuteMinOriginal: null,
132
+ secondMinOriginal: null,
133
+ millisecMinOriginal: null,
134
+ microsecMinOriginal: null,
135
+ hourMaxOriginal: null,
136
+ minuteMaxOriginal: null,
137
+ secondMaxOriginal: null,
138
+ millisecMaxOriginal: null,
139
+ microsecMaxOriginal: null,
140
+ ampm: '',
141
+ formattedDate: '',
142
+ formattedTime: '',
143
+ formattedDateTime: '',
144
+ timezoneList: null,
145
+ units: ['hour', 'minute', 'second', 'millisec', 'microsec'],
146
+ support: {},
147
+ control: null,
148
+ ls_now: false,
149
+
150
+ /*
151
+ * Override the default settings for all instances of the time picker.
152
+ * @param {Object} settings object - the new settings to use as defaults (anonymous object)
153
+ * @return {Object} the manager object
154
+ */
155
+ setDefaults: function (settings) {
156
+ extendRemove(this._defaults, settings || {});
157
+ return this;
158
+ },
159
+
160
+ /*
161
+ * Create a new Timepicker instance
162
+ */
163
+ _newInst: function ($input, opts) {
164
+ var tp_inst = new Timepicker(),
165
+ inlineSettings = {},
166
+ fns = {},
167
+ overrides, i;
168
+
169
+ for (var attrName in this._defaults) {
170
+ if (this._defaults.hasOwnProperty(attrName)) {
171
+ var attrValue = $input.attr('time:' + attrName);
172
+ if (attrValue) {
173
+ try {
174
+ inlineSettings[attrName] = eval(attrValue);
175
+ } catch (err) {
176
+ inlineSettings[attrName] = attrValue;
177
+ }
178
+ }
179
+ }
180
+ }
181
+
182
+ overrides = {
183
+ beforeShow: function (input, dp_inst) {
184
+ tp_inst.ls_now = ( tp_inst.$input.val() === 'now' ) ? true : false;
185
+ if ($.isFunction(tp_inst._defaults.evnts.beforeShow)) {
186
+ return tp_inst._defaults.evnts.beforeShow.call($input[0], input, dp_inst, tp_inst);
187
+ }
188
+ },
189
+ onChangeMonthYear: function (year, month, dp_inst) {
190
+ tp_inst.ls_now = false;
191
+ // Update the time as well : this prevents the time from disappearing from the $input field.
192
+ tp_inst._updateDateTime(dp_inst);
193
+ if ($.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)) {
194
+ tp_inst._defaults.evnts.onChangeMonthYear.call($input[0], year, month, dp_inst, tp_inst);
195
+ }
196
+ },
197
+ onClose: function (dateText, dp_inst) {
198
+ if (tp_inst.timeDefined === true && $input.val() !== '') {
199
+ tp_inst._updateDateTime(dp_inst);
200
+ }
201
+ if ($.isFunction(tp_inst._defaults.evnts.onClose)) {
202
+ tp_inst._defaults.evnts.onClose.call($input[0], dateText, dp_inst, tp_inst);
203
+ }
204
+ }
205
+ };
206
+ for (i in overrides) {
207
+ if (overrides.hasOwnProperty(i)) {
208
+ fns[i] = opts[i] || null;
209
+ }
210
+ }
211
+
212
+ tp_inst._defaults = $.extend({}, this._defaults, inlineSettings, opts, overrides, {
213
+ evnts: fns,
214
+ timepicker: tp_inst // add timepicker as a property of datepicker: $.datepicker._get(dp_inst, 'timepicker');
215
+ });
216
+ tp_inst.amNames = $.map(tp_inst._defaults.amNames, function (val) {
217
+ return val.toUpperCase();
218
+ });
219
+ tp_inst.pmNames = $.map(tp_inst._defaults.pmNames, function (val) {
220
+ return val.toUpperCase();
221
+ });
222
+
223
+ // detect which units are supported
224
+ tp_inst.support = detectSupport(
225
+ tp_inst._defaults.timeFormat +
226
+ (tp_inst._defaults.pickerTimeFormat ? tp_inst._defaults.pickerTimeFormat : '') +
227
+ (tp_inst._defaults.altTimeFormat ? tp_inst._defaults.altTimeFormat : ''));
228
+
229
+ // controlType is string - key to our this._controls
230
+ if (typeof(tp_inst._defaults.controlType) === 'string') {
231
+ if (tp_inst._defaults.controlType === 'slider' && typeof($.ui.slider) === 'undefined') {
232
+ tp_inst._defaults.controlType = 'select';
233
+ }
234
+ tp_inst.control = tp_inst._controls[tp_inst._defaults.controlType];
235
+ }
236
+ // controlType is an object and must implement create, options, value methods
237
+ else {
238
+ tp_inst.control = tp_inst._defaults.controlType;
239
+ }
240
+
241
+ // prep the timezone options
242
+ var timezoneList = [-720, -660, -600, -570, -540, -480, -420, -360, -300, -270, -240, -210, -180, -120, -60,
243
+ 0, 60, 120, 180, 210, 240, 270, 300, 330, 345, 360, 390, 420, 480, 525, 540, 570, 600, 630, 660, 690, 720, 765, 780, 840];
244
+ if (tp_inst._defaults.timezoneList !== null) {
245
+ timezoneList = tp_inst._defaults.timezoneList;
246
+ }
247
+ var tzl = timezoneList.length, tzi = 0, tzv = null;
248
+ if (tzl > 0 && typeof timezoneList[0] !== 'object') {
249
+ for (; tzi < tzl; tzi++) {
250
+ tzv = timezoneList[tzi];
251
+ timezoneList[tzi] = { value: tzv, label: $.timepicker.timezoneOffsetString(tzv, tp_inst.support.iso8601) };
252
+ }
253
+ }
254
+ tp_inst._defaults.timezoneList = timezoneList;
255
+
256
+ // set the default units
257
+ tp_inst.timezone = tp_inst._defaults.timezone !== null ? $.timepicker.timezoneOffsetNumber(tp_inst._defaults.timezone) :
258
+ ((new Date()).getTimezoneOffset() * -1);
259
+ tp_inst.hour = tp_inst._defaults.hour < tp_inst._defaults.hourMin ? tp_inst._defaults.hourMin :
260
+ tp_inst._defaults.hour > tp_inst._defaults.hourMax ? tp_inst._defaults.hourMax : tp_inst._defaults.hour;
261
+ tp_inst.minute = tp_inst._defaults.minute < tp_inst._defaults.minuteMin ? tp_inst._defaults.minuteMin :
262
+ tp_inst._defaults.minute > tp_inst._defaults.minuteMax ? tp_inst._defaults.minuteMax : tp_inst._defaults.minute;
263
+ tp_inst.second = tp_inst._defaults.second < tp_inst._defaults.secondMin ? tp_inst._defaults.secondMin :
264
+ tp_inst._defaults.second > tp_inst._defaults.secondMax ? tp_inst._defaults.secondMax : tp_inst._defaults.second;
265
+ tp_inst.millisec = tp_inst._defaults.millisec < tp_inst._defaults.millisecMin ? tp_inst._defaults.millisecMin :
266
+ tp_inst._defaults.millisec > tp_inst._defaults.millisecMax ? tp_inst._defaults.millisecMax : tp_inst._defaults.millisec;
267
+ tp_inst.microsec = tp_inst._defaults.microsec < tp_inst._defaults.microsecMin ? tp_inst._defaults.microsecMin :
268
+ tp_inst._defaults.microsec > tp_inst._defaults.microsecMax ? tp_inst._defaults.microsecMax : tp_inst._defaults.microsec;
269
+ tp_inst.ampm = '';
270
+ tp_inst.$input = $input;
271
+
272
+ if (tp_inst._defaults.altField) {
273
+ tp_inst.$altInput = $(tp_inst._defaults.altField).css({
274
+ cursor: 'pointer'
275
+ }).focus(function () {
276
+ $input.trigger("focus");
277
+ });
278
+ }
279
+
280
+ if (tp_inst._defaults.minDate === 0 || tp_inst._defaults.minDateTime === 0) {
281
+ tp_inst._defaults.minDate = new Date();
282
+ }
283
+ if (tp_inst._defaults.maxDate === 0 || tp_inst._defaults.maxDateTime === 0) {
284
+ tp_inst._defaults.maxDate = new Date();
285
+ }
286
+
287
+ // datepicker needs minDate/maxDate, timepicker needs minDateTime/maxDateTime..
288
+ if (tp_inst._defaults.minDate !== undefined && tp_inst._defaults.minDate instanceof Date) {
289
+ tp_inst._defaults.minDateTime = new Date(tp_inst._defaults.minDate.getTime());
290
+ }
291
+ if (tp_inst._defaults.minDateTime !== undefined && tp_inst._defaults.minDateTime instanceof Date) {
292
+ tp_inst._defaults.minDate = new Date(tp_inst._defaults.minDateTime.getTime());
293
+ }
294
+ if (tp_inst._defaults.maxDate !== undefined && tp_inst._defaults.maxDate instanceof Date) {
295
+ tp_inst._defaults.maxDateTime = new Date(tp_inst._defaults.maxDate.getTime());
296
+ }
297
+ if (tp_inst._defaults.maxDateTime !== undefined && tp_inst._defaults.maxDateTime instanceof Date) {
298
+ tp_inst._defaults.maxDate = new Date(tp_inst._defaults.maxDateTime.getTime());
299
+ }
300
+ tp_inst.$input.bind('focus', function () {
301
+ //tp_inst._onFocus();
302
+ });
303
+
304
+ return tp_inst;
305
+ },
306
+
307
+ /*
308
+ * add our sliders to the calendar
309
+ */
310
+ _addTimePicker: function (dp_inst) {
311
+ var currDT = (this.$altInput && this._defaults.altFieldTimeOnly) ? this.$input.val() + ' ' + this.$altInput.val() : this.$input.val();
312
+
313
+ this.timeDefined = this._parseTime(currDT);
314
+ this._limitMinMaxDateTime(dp_inst, false);
315
+ this._injectTimePicker();
316
+ },
317
+
318
+ /*
319
+ * parse the time string from input value or _setTime
320
+ */
321
+ _parseTime: function (timeString, withDate) {
322
+ if (!this.inst) {
323
+ this.inst = $.datepicker._getInst(this.$input[0]);
324
+ }
325
+
326
+ if (withDate || !this._defaults.timeOnly) {
327
+ var dp_dateFormat = $.datepicker._get(this.inst, 'dateFormat');
328
+ try {
329
+ //var parseRes = parseDateTimeInternal(dp_dateFormat, this._defaults.timeFormat, timeString, $.datepicker._getFormatConfig(this.inst), this._defaults);
330
+ //if (!parseRes.timeObj) {
331
+ // return false;
332
+ //}
333
+ //$.extend(this, parseRes.timeObj);
334
+ } catch (err) {
335
+ $.timepicker.log("Error parsing the date/time string: " + err +
336
+ "\ndate/time string = " + timeString +
337
+ "\ntimeFormat = " + this._defaults.timeFormat +
338
+ "\ndateFormat = " + dp_dateFormat);
339
+ return false;
340
+ }
341
+ return true;
342
+ } else {
343
+ var timeObj = $.datepicker.parseTime(this._defaults.timeFormat, timeString, this._defaults);
344
+ if (!timeObj) {
345
+ return false;
346
+ }
347
+ $.extend(this, timeObj);
348
+ return true;
349
+ }
350
+ },
351
+
352
+ /*
353
+ * generate and inject html for timepicker into ui datepicker
354
+ */
355
+ _injectTimePicker: function () {
356
+ var $dp = this.inst.dpDiv,
357
+ o = this.inst.settings,
358
+ tp_inst = this,
359
+ litem = '',
360
+ uitem = '',
361
+ show = null,
362
+ max = {},
363
+ gridSize = {},
364
+ size = null,
365
+ i = 0,
366
+ l = 0;
367
+
368
+ // Prevent displaying twice
369
+ if ($dp.find("div.ui-timepicker-div").length === 0 && o.showTimepicker) {
370
+ var noDisplay = ' style="display:none;"',
371
+ html = '<div class="ui-timepicker-div' + (o.isRTL ? ' ui-timepicker-rtl' : '') + '"><dl>' + '<dt class="ui_tpicker_time_label"' + ((o.showTime) ? '' : noDisplay) + '>' + o.timeText + '</dt>' +
372
+ '<dd class="ui_tpicker_time"' + ((o.showTime) ? '' : noDisplay) + '></dd>';
373
+
374
+ // Create the markup
375
+ for (i = 0, l = this.units.length; i < l; i++) {
376
+ litem = this.units[i];
377
+ uitem = litem.substr(0, 1).toUpperCase() + litem.substr(1);
378
+ show = o['show' + uitem] !== null ? o['show' + uitem] : this.support[litem];
379
+
380
+ // Added by Peter Medeiros:
381
+ // - Figure out what the hour/minute/second max should be based on the step values.
382
+ // - Example: if stepMinute is 15, then minMax is 45.
383
+ max[litem] = parseInt((o[litem + 'Max'] - ((o[litem + 'Max'] - o[litem + 'Min']) % o['step' + uitem])), 10);
384
+ gridSize[litem] = 0;
385
+
386
+ html += '<dt class="ui_tpicker_' + litem + '_label"' + (show ? '' : noDisplay) + '>' + o[litem + 'Text'] + '</dt>' +
387
+ '<dd class="ui_tpicker_' + litem + '"><div class="ui_tpicker_' + litem + '_slider"' + (show ? '' : noDisplay) + '></div>';
388
+
389
+ if (show && o[litem + 'Grid'] > 0) {
390
+ html += '<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
391
+
392
+ if (litem === 'hour') {
393
+ for (var h = o[litem + 'Min']; h <= max[litem]; h += parseInt(o[litem + 'Grid'], 10)) {
394
+ gridSize[litem]++;
395
+ var tmph = $.datepicker.formatTime(this.support.ampm ? 'hht' : 'HH', {hour: h}, o);
396
+ html += '<td data-for="' + litem + '">' + tmph + '</td>';
397
+ }
398
+ }
399
+ else {
400
+ for (var m = o[litem + 'Min']; m <= max[litem]; m += parseInt(o[litem + 'Grid'], 10)) {
401
+ gridSize[litem]++;
402
+ html += '<td data-for="' + litem + '">' + ((m < 10) ? '0' : '') + m + '</td>';
403
+ }
404
+ }
405
+
406
+ html += '</tr></table></div>';
407
+ }
408
+ html += '</dd>';
409
+ }
410
+
411
+ // Timezone
412
+ var showTz = o.showTimezone !== null ? o.showTimezone : this.support.timezone;
413
+ html += '<dt class="ui_tpicker_timezone_label"' + (showTz ? '' : noDisplay) + '>' + o.timezoneText + '</dt>';
414
+ html += '<dd class="ui_tpicker_timezone" ' + (showTz ? '' : noDisplay) + '></dd>';
415
+
416
+ // Create the elements from string
417
+ html += '</dl></div>';
418
+ var $tp = $(html);
419
+
420
+ // if we only want time picker...
421
+ if (o.timeOnly === true) {
422
+ $tp.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all">' + '<div class="ui-datepicker-title">' + o.timeOnlyTitle + '</div>' + '</div>');
423
+ $dp.find('.ui-datepicker-header, .ui-datepicker-calendar').hide();
424
+ }
425
+
426
+ // add sliders, adjust grids, add events
427
+ for (i = 0, l = tp_inst.units.length; i < l; i++) {
428
+ litem = tp_inst.units[i];
429
+ uitem = litem.substr(0, 1).toUpperCase() + litem.substr(1);
430
+ show = o['show' + uitem] !== null ? o['show' + uitem] : this.support[litem];
431
+
432
+ // add the slider
433
+ tp_inst[litem + '_slider'] = tp_inst.control.create(tp_inst, $tp.find('.ui_tpicker_' + litem + '_slider'), litem, tp_inst[litem], o[litem + 'Min'], max[litem], o['step' + uitem]);
434
+
435
+ // adjust the grid and add click event
436
+ if (show && o[litem + 'Grid'] > 0) {
437
+ size = 100 * gridSize[litem] * o[litem + 'Grid'] / (max[litem] - o[litem + 'Min']);
438
+ $tp.find('.ui_tpicker_' + litem + ' table').css({
439
+ width: size + "%",
440
+ marginLeft: o.isRTL ? '0' : ((size / (-2 * gridSize[litem])) + "%"),
441
+ marginRight: o.isRTL ? ((size / (-2 * gridSize[litem])) + "%") : '0',
442
+ borderCollapse: 'collapse'
443
+ }).find("td").click(function (e) {
444
+ var $t = $(this),
445
+ h = $t.html(),
446
+ n = parseInt(h.replace(/[^0-9]/g), 10),
447
+ ap = h.replace(/[^apm]/ig),
448
+ f = $t.data('for'); // loses scope, so we use data-for
449
+
450
+ if (f === 'hour') {
451
+ if (ap.indexOf('p') !== -1 && n < 12) {
452
+ n += 12;
453
+ }
454
+ else {
455
+ if (ap.indexOf('a') !== -1 && n === 12) {
456
+ n = 0;
457
+ }
458
+ }
459
+ }
460
+
461
+ tp_inst.control.value(tp_inst, tp_inst[f + '_slider'], litem, n);
462
+
463
+ tp_inst._onTimeChange();
464
+ tp_inst._onSelectHandler();
465
+ }).css({
466
+ cursor: 'pointer',
467
+ width: (100 / gridSize[litem]) + '%',
468
+ textAlign: 'center',
469
+ overflow: 'hidden'
470
+ });
471
+ } // end if grid > 0
472
+ } // end for loop
473
+
474
+ // Add timezone options
475
+ this.timezone_select = $tp.find('.ui_tpicker_timezone').append('<select></select>').find("select");
476
+ $.fn.append.apply(this.timezone_select,
477
+ $.map(o.timezoneList, function (val, idx) {
478
+ return $("<option />").val(typeof val === "object" ? val.value : val).text(typeof val === "object" ? val.label : val);
479
+ }));
480
+ if (typeof(this.timezone) !== "undefined" && this.timezone !== null && this.timezone !== "") {
481
+ var local_timezone = (new Date(this.inst.selectedYear, this.inst.selectedMonth, this.inst.selectedDay, 12)).getTimezoneOffset() * -1;
482
+ if (local_timezone === this.timezone) {
483
+ selectLocalTimezone(tp_inst);
484
+ } else {
485
+ this.timezone_select.val(this.timezone);
486
+ }
487
+ } else {
488
+ if (typeof(this.hour) !== "undefined" && this.hour !== null && this.hour !== "") {
489
+ this.timezone_select.val(o.timezone);
490
+ } else {
491
+ selectLocalTimezone(tp_inst);
492
+ }
493
+ }
494
+ this.timezone_select.change(function () {
495
+ tp_inst._onTimeChange();
496
+ tp_inst._onSelectHandler();
497
+ });
498
+ // End timezone options
499
+
500
+ // inject timepicker into datepicker
501
+ var $buttonPanel = $dp.find('.ui-datepicker-buttonpane');
502
+ if ($buttonPanel.length) {
503
+ $buttonPanel.before($tp);
504
+ } else {
505
+ $dp.append($tp);
506
+ }
507
+
508
+ this.$timeObj = $tp.find('.ui_tpicker_time');
509
+
510
+ if (this.inst !== null) {
511
+ var timeDefined = this.timeDefined;
512
+ this._onTimeChange();
513
+ this.timeDefined = timeDefined;
514
+ }
515
+
516
+ // slideAccess integration: http://trentrichardson.com/2011/11/11/jquery-ui-sliders-and-touch-accessibility/
517
+ if (this._defaults.addSliderAccess) {
518
+ var sliderAccessArgs = this._defaults.sliderAccessArgs,
519
+ rtl = this._defaults.isRTL;
520
+ sliderAccessArgs.isRTL = rtl;
521
+
522
+ setTimeout(function () { // fix for inline mode
523
+ if ($tp.find('.ui-slider-access').length === 0) {
524
+ $tp.find('.ui-slider:visible').sliderAccess(sliderAccessArgs);
525
+
526
+ // fix any grids since sliders are shorter
527
+ var sliderAccessWidth = $tp.find('.ui-slider-access:eq(0)').outerWidth(true);
528
+ if (sliderAccessWidth) {
529
+ $tp.find('table:visible').each(function () {
530
+ var $g = $(this),
531
+ oldWidth = $g.outerWidth(),
532
+ oldMarginLeft = $g.css(rtl ? 'marginRight' : 'marginLeft').toString().replace('%', ''),
533
+ newWidth = oldWidth - sliderAccessWidth,
534
+ newMarginLeft = ((oldMarginLeft * newWidth) / oldWidth) + '%',
535
+ css = { width: newWidth, marginRight: 0, marginLeft: 0 };
536
+ css[rtl ? 'marginRight' : 'marginLeft'] = newMarginLeft;
537
+ $g.css(css);
538
+ });
539
+ }
540
+ }
541
+ }, 10);
542
+ }
543
+ // end slideAccess integration
544
+
545
+ tp_inst._limitMinMaxDateTime(this.inst, true);
546
+ }
547
+ },
548
+
549
+ /*
550
+ * This function tries to limit the ability to go outside the
551
+ * min/max date range
552
+ */
553
+ _limitMinMaxDateTime: function (dp_inst, adjustSliders) {
554
+ var o = this._defaults,
555
+ dp_date = new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay);
556
+
557
+ if (!this._defaults.showTimepicker) {
558
+ return;
559
+ } // No time so nothing to check here
560
+
561
+ if ($.datepicker._get(dp_inst, 'minDateTime') !== null && $.datepicker._get(dp_inst, 'minDateTime') !== undefined && dp_date) {
562
+ var minDateTime = $.datepicker._get(dp_inst, 'minDateTime'),
563
+ minDateTimeDate = new Date(minDateTime.getFullYear(), minDateTime.getMonth(), minDateTime.getDate(), 0, 0, 0, 0);
564
+
565
+ if (this.hourMinOriginal === null || this.minuteMinOriginal === null || this.secondMinOriginal === null || this.millisecMinOriginal === null || this.microsecMinOriginal === null) {
566
+ this.hourMinOriginal = o.hourMin;
567
+ this.minuteMinOriginal = o.minuteMin;
568
+ this.secondMinOriginal = o.secondMin;
569
+ this.millisecMinOriginal = o.millisecMin;
570
+ this.microsecMinOriginal = o.microsecMin;
571
+ }
572
+
573
+ if (dp_inst.settings.timeOnly || minDateTimeDate.getTime() === dp_date.getTime()) {
574
+ this._defaults.hourMin = minDateTime.getHours();
575
+ if (this.hour <= this._defaults.hourMin) {
576
+ this.hour = this._defaults.hourMin;
577
+ this._defaults.minuteMin = minDateTime.getMinutes();
578
+ if (this.minute <= this._defaults.minuteMin) {
579
+ this.minute = this._defaults.minuteMin;
580
+ this._defaults.secondMin = minDateTime.getSeconds();
581
+ if (this.second <= this._defaults.secondMin) {
582
+ this.second = this._defaults.secondMin;
583
+ this._defaults.millisecMin = minDateTime.getMilliseconds();
584
+ if (this.millisec <= this._defaults.millisecMin) {
585
+ this.millisec = this._defaults.millisecMin;
586
+ this._defaults.microsecMin = minDateTime.getMicroseconds();
587
+ } else {
588
+ if (this.microsec < this._defaults.microsecMin) {
589
+ this.microsec = this._defaults.microsecMin;
590
+ }
591
+ this._defaults.microsecMin = this.microsecMinOriginal;
592
+ }
593
+ } else {
594
+ this._defaults.millisecMin = this.millisecMinOriginal;
595
+ this._defaults.microsecMin = this.microsecMinOriginal;
596
+ }
597
+ } else {
598
+ this._defaults.secondMin = this.secondMinOriginal;
599
+ this._defaults.millisecMin = this.millisecMinOriginal;
600
+ this._defaults.microsecMin = this.microsecMinOriginal;
601
+ }
602
+ } else {
603
+ this._defaults.minuteMin = this.minuteMinOriginal;
604
+ this._defaults.secondMin = this.secondMinOriginal;
605
+ this._defaults.millisecMin = this.millisecMinOriginal;
606
+ this._defaults.microsecMin = this.microsecMinOriginal;
607
+ }
608
+ } else {
609
+ this._defaults.hourMin = this.hourMinOriginal;
610
+ this._defaults.minuteMin = this.minuteMinOriginal;
611
+ this._defaults.secondMin = this.secondMinOriginal;
612
+ this._defaults.millisecMin = this.millisecMinOriginal;
613
+ this._defaults.microsecMin = this.microsecMinOriginal;
614
+ }
615
+ }
616
+
617
+ if ($.datepicker._get(dp_inst, 'maxDateTime') !== null && $.datepicker._get(dp_inst, 'maxDateTime') !== undefined && dp_date) {
618
+ var maxDateTime = $.datepicker._get(dp_inst, 'maxDateTime'),
619
+ maxDateTimeDate = new Date(maxDateTime.getFullYear(), maxDateTime.getMonth(), maxDateTime.getDate(), 0, 0, 0, 0);
620
+
621
+ if (this.hourMaxOriginal === null || this.minuteMaxOriginal === null || this.secondMaxOriginal === null || this.millisecMaxOriginal === null) {
622
+ this.hourMaxOriginal = o.hourMax;
623
+ this.minuteMaxOriginal = o.minuteMax;
624
+ this.secondMaxOriginal = o.secondMax;
625
+ this.millisecMaxOriginal = o.millisecMax;
626
+ this.microsecMaxOriginal = o.microsecMax;
627
+ }
628
+
629
+ if (dp_inst.settings.timeOnly || maxDateTimeDate.getTime() === dp_date.getTime()) {
630
+ this._defaults.hourMax = maxDateTime.getHours();
631
+ if (this.hour >= this._defaults.hourMax) {
632
+ this.hour = this._defaults.hourMax;
633
+ this._defaults.minuteMax = maxDateTime.getMinutes();
634
+ if (this.minute >= this._defaults.minuteMax) {
635
+ this.minute = this._defaults.minuteMax;
636
+ this._defaults.secondMax = maxDateTime.getSeconds();
637
+ if (this.second >= this._defaults.secondMax) {
638
+ this.second = this._defaults.secondMax;
639
+ this._defaults.millisecMax = maxDateTime.getMilliseconds();
640
+ if (this.millisec >= this._defaults.millisecMax) {
641
+ this.millisec = this._defaults.millisecMax;
642
+ this._defaults.microsecMax = maxDateTime.getMicroseconds();
643
+ } else {
644
+ if (this.microsec > this._defaults.microsecMax) {
645
+ this.microsec = this._defaults.microsecMax;
646
+ }
647
+ this._defaults.microsecMax = this.microsecMaxOriginal;
648
+ }
649
+ } else {
650
+ this._defaults.millisecMax = this.millisecMaxOriginal;
651
+ this._defaults.microsecMax = this.microsecMaxOriginal;
652
+ }
653
+ } else {
654
+ this._defaults.secondMax = this.secondMaxOriginal;
655
+ this._defaults.millisecMax = this.millisecMaxOriginal;
656
+ this._defaults.microsecMax = this.microsecMaxOriginal;
657
+ }
658
+ } else {
659
+ this._defaults.minuteMax = this.minuteMaxOriginal;
660
+ this._defaults.secondMax = this.secondMaxOriginal;
661
+ this._defaults.millisecMax = this.millisecMaxOriginal;
662
+ this._defaults.microsecMax = this.microsecMaxOriginal;
663
+ }
664
+ } else {
665
+ this._defaults.hourMax = this.hourMaxOriginal;
666
+ this._defaults.minuteMax = this.minuteMaxOriginal;
667
+ this._defaults.secondMax = this.secondMaxOriginal;
668
+ this._defaults.millisecMax = this.millisecMaxOriginal;
669
+ this._defaults.microsecMax = this.microsecMaxOriginal;
670
+ }
671
+ }
672
+
673
+ if (adjustSliders !== undefined && adjustSliders === true) {
674
+ var hourMax = parseInt((this._defaults.hourMax - ((this._defaults.hourMax - this._defaults.hourMin) % this._defaults.stepHour)), 10),
675
+ minMax = parseInt((this._defaults.minuteMax - ((this._defaults.minuteMax - this._defaults.minuteMin) % this._defaults.stepMinute)), 10),
676
+ secMax = parseInt((this._defaults.secondMax - ((this._defaults.secondMax - this._defaults.secondMin) % this._defaults.stepSecond)), 10),
677
+ millisecMax = parseInt((this._defaults.millisecMax - ((this._defaults.millisecMax - this._defaults.millisecMin) % this._defaults.stepMillisec)), 10),
678
+ microsecMax = parseInt((this._defaults.microsecMax - ((this._defaults.microsecMax - this._defaults.microsecMin) % this._defaults.stepMicrosec)), 10);
679
+
680
+ if (this.hour_slider) {
681
+ this.control.options(this, this.hour_slider, 'hour', { min: this._defaults.hourMin, max: hourMax });
682
+ this.control.value(this, this.hour_slider, 'hour', this.hour - (this.hour % this._defaults.stepHour));
683
+ }
684
+ if (this.minute_slider) {
685
+ this.control.options(this, this.minute_slider, 'minute', { min: this._defaults.minuteMin, max: minMax });
686
+ this.control.value(this, this.minute_slider, 'minute', this.minute - (this.minute % this._defaults.stepMinute));
687
+ }
688
+ if (this.second_slider) {
689
+ this.control.options(this, this.second_slider, 'second', { min: this._defaults.secondMin, max: secMax });
690
+ this.control.value(this, this.second_slider, 'second', this.second - (this.second % this._defaults.stepSecond));
691
+ }
692
+ if (this.millisec_slider) {
693
+ this.control.options(this, this.millisec_slider, 'millisec', { min: this._defaults.millisecMin, max: millisecMax });
694
+ this.control.value(this, this.millisec_slider, 'millisec', this.millisec - (this.millisec % this._defaults.stepMillisec));
695
+ }
696
+ if (this.microsec_slider) {
697
+ this.control.options(this, this.microsec_slider, 'microsec', { min: this._defaults.microsecMin, max: microsecMax });
698
+ this.control.value(this, this.microsec_slider, 'microsec', this.microsec - (this.microsec % this._defaults.stepMicrosec));
699
+ }
700
+ }
701
+
702
+ },
703
+
704
+ /*
705
+ * when a slider moves, set the internal time...
706
+ * on time change is also called when the time is updated in the text field
707
+ */
708
+ _onTimeChange: function () {
709
+ if (!this._defaults.showTimepicker) {
710
+ return;
711
+ }
712
+ var hour = (this.hour_slider) ? this.control.value(this, this.hour_slider, 'hour') : false,
713
+ minute = (this.minute_slider) ? this.control.value(this, this.minute_slider, 'minute') : false,
714
+ second = (this.second_slider) ? this.control.value(this, this.second_slider, 'second') : false,
715
+ millisec = (this.millisec_slider) ? this.control.value(this, this.millisec_slider, 'millisec') : false,
716
+ microsec = (this.microsec_slider) ? this.control.value(this, this.microsec_slider, 'microsec') : false,
717
+ timezone = (this.timezone_select) ? this.timezone_select.val() : false,
718
+ o = this._defaults,
719
+ pickerTimeFormat = o.pickerTimeFormat || o.timeFormat,
720
+ pickerTimeSuffix = o.pickerTimeSuffix || o.timeSuffix;
721
+
722
+ if (typeof(hour) === 'object') {
723
+ hour = false;
724
+ }
725
+ if (typeof(minute) === 'object') {
726
+ minute = false;
727
+ }
728
+ if (typeof(second) === 'object') {
729
+ second = false;
730
+ }
731
+ if (typeof(millisec) === 'object') {
732
+ millisec = false;
733
+ }
734
+ if (typeof(microsec) === 'object') {
735
+ microsec = false;
736
+ }
737
+ if (typeof(timezone) === 'object') {
738
+ timezone = false;
739
+ }
740
+
741
+ if (hour !== false) {
742
+ hour = parseInt(hour, 10);
743
+ }
744
+ if (minute !== false) {
745
+ minute = parseInt(minute, 10);
746
+ }
747
+ if (second !== false) {
748
+ second = parseInt(second, 10);
749
+ }
750
+ if (millisec !== false) {
751
+ millisec = parseInt(millisec, 10);
752
+ }
753
+ if (microsec !== false) {
754
+ microsec = parseInt(microsec, 10);
755
+ }
756
+
757
+ var ampm = o[hour < 12 ? 'amNames' : 'pmNames'][0];
758
+
759
+ // If the update was done in the input field, the input field should not be updated.
760
+ // If the update was done using the sliders, update the input field.
761
+ var hasChanged = (hour !== this.hour || minute !== this.minute || second !== this.second || millisec !== this.millisec || microsec !== this.microsec ||
762
+ (this.ampm.length > 0 && (hour < 12) !== ($.inArray(this.ampm.toUpperCase(), this.amNames) !== -1)) || (this.timezone !== null && timezone !== this.timezone));
763
+
764
+ if (hasChanged) {
765
+
766
+ if (hour !== false) {
767
+ this.hour = hour;
768
+ }
769
+ if (minute !== false) {
770
+ this.minute = minute;
771
+ }
772
+ if (second !== false) {
773
+ this.second = second;
774
+ }
775
+ if (millisec !== false) {
776
+ this.millisec = millisec;
777
+ }
778
+ if (microsec !== false) {
779
+ this.microsec = microsec;
780
+ }
781
+ if (timezone !== false) {
782
+ this.timezone = timezone;
783
+ }
784
+
785
+ if (!this.inst) {
786
+ this.inst = $.datepicker._getInst(this.$input[0]);
787
+ }
788
+
789
+ this._limitMinMaxDateTime(this.inst, true);
790
+ }
791
+ if (this.support.ampm) {
792
+ this.ampm = ampm;
793
+ }
794
+
795
+ // Updates the time within the timepicker
796
+ this.formattedTime = $.datepicker.formatTime(o.timeFormat, this, o);
797
+ if (this.$timeObj) {
798
+ if (pickerTimeFormat === o.timeFormat) {
799
+ this.$timeObj.text(this.formattedTime + pickerTimeSuffix);
800
+ }
801
+ else {
802
+ this.$timeObj.text($.datepicker.formatTime(pickerTimeFormat, this, o) + pickerTimeSuffix);
803
+ }
804
+ }
805
+
806
+ this.timeDefined = true;
807
+ if (hasChanged) {
808
+ this._updateDateTime();
809
+ }
810
+ },
811
+
812
+ /*
813
+ * call custom onSelect.
814
+ * bind to sliders slidestop, and grid click.
815
+ */
816
+ _onSelectHandler: function () {
817
+ var onSelect = this._defaults.onSelect || this.inst.settings.onSelect;
818
+ var inputEl = this.$input ? this.$input[0] : null;
819
+ if (onSelect && inputEl) {
820
+ onSelect.apply(inputEl, [this.formattedDateTime, this]);
821
+ }
822
+ },
823
+
824
+ /*
825
+ * update our input with the new date time..
826
+ */
827
+ _updateDateTime: function (dp_inst) {
828
+ dp_inst = this.inst || dp_inst;
829
+
830
+ if (!this.ls_now) {
831
+ var dtTmp = (dp_inst.currentYear > 0?
832
+ new Date(dp_inst.currentYear, dp_inst.currentMonth, dp_inst.currentDay) :
833
+ new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay)),
834
+ dt = $.datepicker._daylightSavingAdjust(dtTmp),
835
+ //dt = $.datepicker._daylightSavingAdjust(new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay)),
836
+ //dt = $.datepicker._daylightSavingAdjust(new Date(dp_inst.currentYear, dp_inst.currentMonth, dp_inst.currentDay)),
837
+ dateFmt = $.datepicker._get(dp_inst, 'dateFormat'),
838
+ formatCfg = $.datepicker._getFormatConfig(dp_inst),
839
+ timeAvailable = dt !== null && this.timeDefined;
840
+ this.formattedDate = $.datepicker.formatDate(dateFmt, (dt === null ? new Date() : dt), formatCfg);
841
+ var formattedDateTime = this.formattedDate;
842
+
843
+ // if a slider was changed but datepicker doesn't have a value yet, set it
844
+ if (dp_inst.lastVa === "") {
845
+ dp_inst.currentYear = dp_inst.selectedYear;
846
+ dp_inst.currentMonth = dp_inst.selectedMonth;
847
+ dp_inst.currentDay = dp_inst.selectedDay;
848
+ }
849
+
850
+ /*
851
+ * remove following lines to force every changes in date picker to change the input value
852
+ * Bug descriptions: when an input field has a default value, and click on the field to pop up the date picker.
853
+ * If the user manually empty the value in the input field, the date picker will never change selected value.
854
+ */
855
+ //if (dp_inst.lastVal !== undefined && (dp_inst.lastVal.length > 0 && this.$input.val().length === 0)) {
856
+ // return;
857
+ //}
858
+
859
+ if (this._defaults.timeOnly === true) {
860
+ formattedDateTime = this.formattedTime;
861
+ } else if (this._defaults.timeOnly !== true && (this._defaults.alwaysSetTime || timeAvailable)) {
862
+ formattedDateTime += this._defaults.separator + this.formattedTime + this._defaults.timeSuffix;
863
+ }
864
+
865
+ this.formattedDateTime = formattedDateTime;
866
+
867
+ if (!this._defaults.showTimepicker) {
868
+ this.$input.val(this.formattedDate);
869
+ } else if (this.$altInput && this._defaults.timeOnly === false && this._defaults.altFieldTimeOnly === true) {
870
+ this.$altInput.val(this.formattedTime);
871
+ this.$input.val(this.formattedDate);
872
+ } else if (this.$altInput) {
873
+ this.$input.val(formattedDateTime);
874
+ var altFormattedDateTime = '',
875
+ altSeparator = this._defaults.altSeparator ? this._defaults.altSeparator : this._defaults.separator,
876
+ altTimeSuffix = this._defaults.altTimeSuffix ? this._defaults.altTimeSuffix : this._defaults.timeSuffix;
877
+
878
+ if (!this._defaults.timeOnly) {
879
+ if (this._defaults.altFormat) {
880
+ altFormattedDateTime = $.datepicker.formatDate(this._defaults.altFormat, (dt === null ? new Date() : dt), formatCfg);
881
+ }
882
+ else {
883
+ altFormattedDateTime = this.formattedDate;
884
+ }
885
+
886
+ if (altFormattedDateTime) {
887
+ altFormattedDateTime += altSeparator;
888
+ }
889
+ }
890
+
891
+ if (this._defaults.altTimeFormat) {
892
+ altFormattedDateTime += $.datepicker.formatTime(this._defaults.altTimeFormat, this, this._defaults) + altTimeSuffix;
893
+ }
894
+ else {
895
+ altFormattedDateTime += this.formattedTime + altTimeSuffix;
896
+ }
897
+ this.$altInput.val(altFormattedDateTime);
898
+ } else {
899
+ this.$input.val(formattedDateTime);
900
+ }
901
+ } else {
902
+ this.$input.val('now');
903
+ }
904
+
905
+ this.$input.trigger("change");
906
+ },
907
+
908
+ _onFocus: function () {
909
+ if (!this.$input.val() && this._defaults.defaultValue) {
910
+ this.$input.val(this._defaults.defaultValue);
911
+ var inst = $.datepicker._getInst(this.$input.get(0)),
912
+ tp_inst = $.datepicker._get(inst, 'timepicker');
913
+ if (tp_inst) {
914
+ if (tp_inst._defaults.timeOnly && (inst.input.val() !== inst.lastVal)) {
915
+ try {
916
+ $.datepicker._updateDatepicker(inst);
917
+ } catch (err) {
918
+ $.timepicker.log(err);
919
+ }
920
+ }
921
+ }
922
+ }
923
+ },
924
+
925
+ /*
926
+ * Small abstraction to control types
927
+ * We can add more, just be sure to follow the pattern: create, options, value
928
+ */
929
+ _controls: {
930
+ // slider methods
931
+ slider: {
932
+ create: function (tp_inst, obj, unit, val, min, max, step) {
933
+ var rtl = tp_inst._defaults.isRTL; // if rtl go -60->0 instead of 0->60
934
+ return obj.prop('slide', null).slider({
935
+ orientation: "horizontal",
936
+ value: rtl ? val * -1 : val,
937
+ min: rtl ? max * -1 : min,
938
+ max: rtl ? min * -1 : max,
939
+ step: step,
940
+ slide: function (event, ui) {
941
+ tp_inst.ls_now = false;
942
+ tp_inst.control.value(tp_inst, $(this), unit, rtl ? ui.value * -1 : ui.value);
943
+ tp_inst._onTimeChange();
944
+ },
945
+ stop: function (event, ui) {
946
+ tp_inst._onSelectHandler();
947
+ }
948
+ });
949
+ },
950
+ options: function (tp_inst, obj, unit, opts, val) {
951
+ if (tp_inst._defaults.isRTL) {
952
+ if (typeof(opts) === 'string') {
953
+ if (opts === 'min' || opts === 'max') {
954
+ if (val !== undefined) {
955
+ return obj.slider(opts, val * -1);
956
+ }
957
+ return Math.abs(obj.slider(opts));
958
+ }
959
+ return obj.slider(opts);
960
+ }
961
+ var min = opts.min,
962
+ max = opts.max;
963
+ opts.min = opts.max = null;
964
+ if (min !== undefined) {
965
+ opts.max = min * -1;
966
+ }
967
+ if (max !== undefined) {
968
+ opts.min = max * -1;
969
+ }
970
+ return obj.slider(opts);
971
+ }
972
+ if (typeof(opts) === 'string' && val !== undefined) {
973
+ return obj.slider(opts, val);
974
+ }
975
+ return obj.slider(opts);
976
+ },
977
+ value: function (tp_inst, obj, unit, val) {
978
+ if (tp_inst._defaults.isRTL) {
979
+ if (val !== undefined) {
980
+ return obj.slider('value', val * -1);
981
+ }
982
+ return Math.abs(obj.slider('value'));
983
+ }
984
+ if (val !== undefined) {
985
+ return obj.slider('value', val);
986
+ }
987
+ return obj.slider('value');
988
+ }
989
+ },
990
+ // select methods
991
+ select: {
992
+ create: function (tp_inst, obj, unit, val, min, max, step) {
993
+ var sel = '<select class="ui-timepicker-select" data-unit="' + unit + '" data-min="' + min + '" data-max="' + max + '" data-step="' + step + '">',
994
+ format = tp_inst._defaults.pickerTimeFormat || tp_inst._defaults.timeFormat;
995
+
996
+ for (var i = min; i <= max; i += step) {
997
+ sel += '<option value="' + i + '"' + (i === val ? ' selected' : '') + '>';
998
+ if (unit === 'hour') {
999
+ sel += $.datepicker.formatTime($.trim(format.replace(/[^ht ]/ig, '')), {hour: i}, tp_inst._defaults);
1000
+ }
1001
+ else if (unit === 'millisec' || unit === 'microsec' || i >= 10) { sel += i; }
1002
+ else {sel += '0' + i.toString(); }
1003
+ sel += '</option>';
1004
+ }
1005
+ sel += '</select>';
1006
+
1007
+ obj.children('select').remove();
1008
+
1009
+ $(sel).appendTo(obj).change(function (e) {
1010
+ tp_inst._onTimeChange();
1011
+ tp_inst._onSelectHandler();
1012
+ });
1013
+
1014
+ return obj;
1015
+ },
1016
+ options: function (tp_inst, obj, unit, opts, val) {
1017
+ var o = {},
1018
+ $t = obj.children('select');
1019
+ if (typeof(opts) === 'string') {
1020
+ if (val === undefined) {
1021
+ return $t.data(opts);
1022
+ }
1023
+ o[opts] = val;
1024
+ }
1025
+ else { o = opts; }
1026
+ return tp_inst.control.create(tp_inst, obj, $t.data('unit'), $t.val(), o.min || $t.data('min'), o.max || $t.data('max'), o.step || $t.data('step'));
1027
+ },
1028
+ value: function (tp_inst, obj, unit, val) {
1029
+ var $t = obj.children('select');
1030
+ if (val !== undefined) {
1031
+ return $t.val(val);
1032
+ }
1033
+ return $t.val();
1034
+ }
1035
+ }
1036
+ } // end _controls
1037
+
1038
+ });
1039
+
1040
+ $.fn.extend({
1041
+ /*
1042
+ * shorthand just to use timepicker.
1043
+ */
1044
+ timepicker: function (o) {
1045
+ o = o || {};
1046
+ var tmp_args = Array.prototype.slice.call(arguments);
1047
+
1048
+ if (typeof o === 'object') {
1049
+ tmp_args[0] = $.extend(o, {
1050
+ timeOnly: true
1051
+ });
1052
+ }
1053
+
1054
+ return $(this).each(function () {
1055
+ $.fn.datetimepicker.apply($(this), tmp_args);
1056
+ });
1057
+ },
1058
+
1059
+ /*
1060
+ * extend timepicker to datepicker
1061
+ */
1062
+ datetimepicker: function (o) {
1063
+ o = o || {};
1064
+ var tmp_args = arguments;
1065
+
1066
+ if (typeof(o) === 'string') {
1067
+ if (o === 'getDate') {
1068
+ return $.fn.datepicker.apply($(this[0]), tmp_args);
1069
+ } else {
1070
+ return this.each(function () {
1071
+ var $t = $(this);
1072
+ $t.datepicker.apply($t, tmp_args);
1073
+ });
1074
+ }
1075
+ } else {
1076
+ return this.each(function () {
1077
+ var $t = $(this);
1078
+ $t.datepicker($.timepicker._newInst($t, o)._defaults);
1079
+ });
1080
+ }
1081
+ }
1082
+ });
1083
+
1084
+ /*
1085
+ * Public Utility to parse date and time
1086
+ */
1087
+ $.datepicker.parseDateTime = function (dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
1088
+ var parseRes = parseDateTimeInternal(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings);
1089
+ if (parseRes.timeObj) {
1090
+ var t = parseRes.timeObj;
1091
+ parseRes.date.setHours(t.hour, t.minute, t.second, t.millisec);
1092
+ parseRes.date.setMicroseconds(t.microsec);
1093
+ }
1094
+
1095
+ return parseRes.date;
1096
+ };
1097
+
1098
+ /*
1099
+ * Public utility to parse time
1100
+ */
1101
+ $.datepicker.parseTime = function (timeFormat, timeString, options) {
1102
+ var o = extendRemove(extendRemove({}, $.timepicker._defaults), options || {}),
1103
+ iso8601 = (timeFormat.replace(/\'.*?\'/g, '').indexOf('Z') !== -1);
1104
+
1105
+ // Strict parse requires the timeString to match the timeFormat exactly
1106
+ var strictParse = function (f, s, o) {
1107
+
1108
+ // pattern for standard and localized AM/PM markers
1109
+ var getPatternAmpm = function (amNames, pmNames) {
1110
+ var markers = [];
1111
+ if (amNames) {
1112
+ $.merge(markers, amNames);
1113
+ }
1114
+ if (pmNames) {
1115
+ $.merge(markers, pmNames);
1116
+ }
1117
+ markers = $.map(markers, function (val) {
1118
+ return val.replace(/[.*+?|()\[\]{}\\]/g, '\\$&');
1119
+ });
1120
+ return '(' + markers.join('|') + ')?';
1121
+ };
1122
+
1123
+ // figure out position of time elements.. cause js cant do named captures
1124
+ var getFormatPositions = function (timeFormat) {
1125
+ var finds = timeFormat.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),
1126
+ orders = {
1127
+ h: -1,
1128
+ m: -1,
1129
+ s: -1,
1130
+ l: -1,
1131
+ c: -1,
1132
+ t: -1,
1133
+ z: -1
1134
+ };
1135
+
1136
+ if (finds) {
1137
+ for (var i = 0; i < finds.length; i++) {
1138
+ if (orders[finds[i].toString().charAt(0)] === -1) {
1139
+ orders[finds[i].toString().charAt(0)] = i + 1;
1140
+ }
1141
+ }
1142
+ }
1143
+ return orders;
1144
+ };
1145
+
1146
+ var regstr = '^' + f.toString()
1147
+ .replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g, function (match) {
1148
+ var ml = match.length;
1149
+ switch (match.charAt(0).toLowerCase()) {
1150
+ case 'h':
1151
+ return ml === 1 ? '(\\d?\\d)' : '(\\d{' + ml + '})';
1152
+ case 'm':
1153
+ return ml === 1 ? '(\\d?\\d)' : '(\\d{' + ml + '})';
1154
+ case 's':
1155
+ return ml === 1 ? '(\\d?\\d)' : '(\\d{' + ml + '})';
1156
+ case 'l':
1157
+ return '(\\d?\\d?\\d)';
1158
+ case 'c':
1159
+ return '(\\d?\\d?\\d)';
1160
+ case 'z':
1161
+ return '(z|[-+]\\d\\d:?\\d\\d|\\S+)?';
1162
+ case 't':
1163
+ return getPatternAmpm(o.amNames, o.pmNames);
1164
+ default: // literal escaped in quotes
1165
+ return '(' + match.replace(/\'/g, "").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g, function (m) { return "\\" + m; }) + ')?';
1166
+ }
1167
+ })
1168
+ .replace(/\s/g, '\\s?') +
1169
+ o.timeSuffix + '$',
1170
+ order = getFormatPositions(f),
1171
+ ampm = '',
1172
+ treg;
1173
+
1174
+ treg = s.match(new RegExp(regstr, 'i'));
1175
+
1176
+ var resTime = {
1177
+ hour: 0,
1178
+ minute: 0,
1179
+ second: 0,
1180
+ millisec: 0,
1181
+ microsec: 0
1182
+ };
1183
+
1184
+ if (treg) {
1185
+ if (order.t !== -1) {
1186
+ if (treg[order.t] === undefined || treg[order.t].length === 0) {
1187
+ ampm = '';
1188
+ resTime.ampm = '';
1189
+ } else {
1190
+ ampm = $.inArray(treg[order.t].toUpperCase(), o.amNames) !== -1 ? 'AM' : 'PM';
1191
+ resTime.ampm = o[ampm === 'AM' ? 'amNames' : 'pmNames'][0];
1192
+ }
1193
+ }
1194
+
1195
+ if (order.h !== -1) {
1196
+ if (ampm === 'AM' && treg[order.h] === '12') {
1197
+ resTime.hour = 0; // 12am = 0 hour
1198
+ } else {
1199
+ if (ampm === 'PM' && treg[order.h] !== '12') {
1200
+ resTime.hour = parseInt(treg[order.h], 10) + 12; // 12pm = 12 hour, any other pm = hour + 12
1201
+ } else {
1202
+ resTime.hour = Number(treg[order.h]);
1203
+ }
1204
+ }
1205
+ }
1206
+
1207
+ if (order.m !== -1) {
1208
+ resTime.minute = Number(treg[order.m]);
1209
+ }
1210
+ if (order.s !== -1) {
1211
+ resTime.second = Number(treg[order.s]);
1212
+ }
1213
+ if (order.l !== -1) {
1214
+ resTime.millisec = Number(treg[order.l]);
1215
+ }
1216
+ if (order.c !== -1) {
1217
+ resTime.microsec = Number(treg[order.c]);
1218
+ }
1219
+ if (order.z !== -1 && treg[order.z] !== undefined) {
1220
+ resTime.timezone = $.timepicker.timezoneOffsetNumber(treg[order.z]);
1221
+ }
1222
+
1223
+
1224
+ return resTime;
1225
+ }
1226
+ return false;
1227
+ };// end strictParse
1228
+
1229
+ // First try JS Date, if that fails, use strictParse
1230
+ var looseParse = function (f, s, o) {
1231
+ try {
1232
+ var d = new Date('2012-01-01 ' + s);
1233
+ if (isNaN(d.getTime())) {
1234
+ d = new Date('2012-01-01T' + s);
1235
+ if (isNaN(d.getTime())) {
1236
+ d = new Date('01/01/2012 ' + s);
1237
+ if (isNaN(d.getTime())) {
1238
+ throw "Unable to parse time with native Date: " + s;
1239
+ }
1240
+ }
1241
+ }
1242
+
1243
+ return {
1244
+ hour: d.getHours(),
1245
+ minute: d.getMinutes(),
1246
+ second: d.getSeconds(),
1247
+ millisec: d.getMilliseconds(),
1248
+ microsec: d.getMicroseconds(),
1249
+ timezone: d.getTimezoneOffset() * -1
1250
+ };
1251
+ }
1252
+ catch (err) {
1253
+ try {
1254
+ return strictParse(f, s, o);
1255
+ }
1256
+ catch (err2) {
1257
+ $.timepicker.log("Unable to parse \ntimeString: " + s + "\ntimeFormat: " + f);
1258
+ }
1259
+ }
1260
+ return false;
1261
+ }; // end looseParse
1262
+
1263
+ if (typeof o.parse === "function") {
1264
+ return o.parse(timeFormat, timeString, o);
1265
+ }
1266
+ if (o.parse === 'loose') {
1267
+ return looseParse(timeFormat, timeString, o);
1268
+ }
1269
+ return strictParse(timeFormat, timeString, o);
1270
+ };
1271
+
1272
+ /**
1273
+ * Public utility to format the time
1274
+ * @param {string} format format of the time
1275
+ * @param {Object} time Object not a Date for timezones
1276
+ * @param {Object} [options] essentially the regional[].. amNames, pmNames, ampm
1277
+ * @returns {string} the formatted time
1278
+ */
1279
+ $.datepicker.formatTime = function (format, time, options) {
1280
+ options = options || {};
1281
+ options = $.extend({}, $.timepicker._defaults, options);
1282
+ time = $.extend({
1283
+ hour: 0,
1284
+ minute: 0,
1285
+ second: 0,
1286
+ millisec: 0,
1287
+ microsec: 0,
1288
+ timezone: null
1289
+ }, time);
1290
+
1291
+ var tmptime = format,
1292
+ ampmName = options.amNames[0],
1293
+ hour = parseInt(time.hour, 10);
1294
+
1295
+ if (hour > 11) {
1296
+ ampmName = options.pmNames[0];
1297
+ }
1298
+
1299
+ tmptime = tmptime.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g, function (match) {
1300
+ switch (match) {
1301
+ case 'HH':
1302
+ return ('0' + hour).slice(-2);
1303
+ case 'H':
1304
+ return hour;
1305
+ case 'hh':
1306
+ return ('0' + convert24to12(hour)).slice(-2);
1307
+ case 'h':
1308
+ return convert24to12(hour);
1309
+ case 'mm':
1310
+ return ('0' + time.minute).slice(-2);
1311
+ case 'm':
1312
+ return time.minute;
1313
+ case 'ss':
1314
+ return ('0' + time.second).slice(-2);
1315
+ case 's':
1316
+ return time.second;
1317
+ case 'l':
1318
+ return ('00' + time.millisec).slice(-3);
1319
+ case 'c':
1320
+ return ('00' + time.microsec).slice(-3);
1321
+ case 'z':
1322
+ return $.timepicker.timezoneOffsetString(time.timezone === null ? options.timezone : time.timezone, false);
1323
+ case 'Z':
1324
+ return $.timepicker.timezoneOffsetString(time.timezone === null ? options.timezone : time.timezone, true);
1325
+ case 'T':
1326
+ return ampmName.charAt(0).toUpperCase();
1327
+ case 'TT':
1328
+ return ampmName.toUpperCase();
1329
+ case 't':
1330
+ return ampmName.charAt(0).toLowerCase();
1331
+ case 'tt':
1332
+ return ampmName.toLowerCase();
1333
+ default:
1334
+ return match.replace(/'/g, "");
1335
+ }
1336
+ });
1337
+
1338
+ return tmptime;
1339
+ };
1340
+
1341
+ /*
1342
+ * the bad hack :/ override datepicker so it doesn't close on select
1343
+ // inspired: http://stackoverflow.com/questions/1252512/jquery-datepicker-prevent-closing-picker-when-clicking-a-date/1762378#1762378
1344
+ */
1345
+ $.datepicker._base_selectDate = $.datepicker._selectDate;
1346
+ $.datepicker._selectDate = function (id, dateStr) {
1347
+ var inst = this._getInst($(id)[0]),
1348
+ tp_inst = this._get(inst, 'timepicker');
1349
+
1350
+ if (tp_inst) {
1351
+ tp_inst._limitMinMaxDateTime(inst, true);
1352
+ inst.inline = inst.stay_open = true;
1353
+ //This way the onSelect handler called from calendarpicker get the full dateTime
1354
+ this._base_selectDate(id, dateStr);
1355
+ inst.inline = inst.stay_open = false;
1356
+ this._notifyChange(inst);
1357
+ this._updateDatepicker(inst);
1358
+ } else {
1359
+ this._base_selectDate(id, dateStr);
1360
+ }
1361
+ };
1362
+
1363
+ /*
1364
+ * second bad hack :/ override datepicker so it triggers an event when changing the input field
1365
+ * and does not redraw the datepicker on every selectDate event
1366
+ */
1367
+ $.datepicker._base_updateDatepicker = $.datepicker._updateDatepicker;
1368
+ $.datepicker._updateDatepicker = function (inst) {
1369
+
1370
+ // don't popup the datepicker if there is another instance already opened
1371
+ var input = inst.input[0];
1372
+ if ($.datepicker._curInst && $.datepicker._curInst !== inst && $.datepicker._datepickerShowing && $.datepicker._lastInput !== input) {
1373
+ return;
1374
+ }
1375
+
1376
+ if (typeof(inst.stay_open) !== 'boolean' || inst.stay_open === false) {
1377
+
1378
+ this._base_updateDatepicker(inst);
1379
+
1380
+ // Reload the time control when changing something in the input text field.
1381
+ var tp_inst = this._get(inst, 'timepicker');
1382
+ if (tp_inst) {
1383
+ tp_inst._addTimePicker(inst);
1384
+ }
1385
+ }
1386
+ };
1387
+
1388
+ /*
1389
+ * third bad hack :/ override datepicker so it allows spaces and colon in the input field
1390
+ */
1391
+ $.datepicker._base_doKeyPress = $.datepicker._doKeyPress;
1392
+ $.datepicker._doKeyPress = function (event) {
1393
+ var inst = $.datepicker._getInst(event.target),
1394
+ tp_inst = $.datepicker._get(inst, 'timepicker');
1395
+
1396
+ if (tp_inst) {
1397
+ if ($.datepicker._get(inst, 'constrainInput')) {
1398
+ var ampm = tp_inst.support.ampm,
1399
+ tz = tp_inst._defaults.showTimezone !== null ? tp_inst._defaults.showTimezone : tp_inst.support.timezone,
1400
+ dateChars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat')),
1401
+ datetimeChars = tp_inst._defaults.timeFormat.toString()
1402
+ .replace(/[hms]/g, '')
1403
+ .replace(/TT/g, ampm ? 'APM' : '')
1404
+ .replace(/Tt/g, ampm ? 'AaPpMm' : '')
1405
+ .replace(/tT/g, ampm ? 'AaPpMm' : '')
1406
+ .replace(/T/g, ampm ? 'AP' : '')
1407
+ .replace(/tt/g, ampm ? 'apm' : '')
1408
+ .replace(/t/g, ampm ? 'ap' : '') +
1409
+ " " + tp_inst._defaults.separator +
1410
+ tp_inst._defaults.timeSuffix +
1411
+ (tz ? tp_inst._defaults.timezoneList.join('') : '') +
1412
+ (tp_inst._defaults.amNames.join('')) + (tp_inst._defaults.pmNames.join('')) +
1413
+ dateChars,
1414
+ chr = String.fromCharCode(event.charCode === undefined ? event.keyCode : event.charCode);
1415
+ return event.ctrlKey || (chr < ' ' || !dateChars || datetimeChars.indexOf(chr) > -1);
1416
+ }
1417
+ }
1418
+
1419
+ return $.datepicker._base_doKeyPress(event);
1420
+ };
1421
+
1422
+ /*
1423
+ * Fourth bad hack :/ override _updateAlternate function used in inline mode to init altField
1424
+ * Update any alternate field to synchronise with the main field.
1425
+ */
1426
+ $.datepicker._base_updateAlternate = $.datepicker._updateAlternate;
1427
+ $.datepicker._updateAlternate = function (inst) {
1428
+ var tp_inst = this._get(inst, 'timepicker');
1429
+ if (tp_inst) {
1430
+ var altField = tp_inst._defaults.altField;
1431
+ if (altField) { // update alternate field too
1432
+ var altFormat = tp_inst._defaults.altFormat || tp_inst._defaults.dateFormat,
1433
+ date = this._getDate(inst),
1434
+ formatCfg = $.datepicker._getFormatConfig(inst),
1435
+ altFormattedDateTime = '',
1436
+ altSeparator = tp_inst._defaults.altSeparator ? tp_inst._defaults.altSeparator : tp_inst._defaults.separator,
1437
+ altTimeSuffix = tp_inst._defaults.altTimeSuffix ? tp_inst._defaults.altTimeSuffix : tp_inst._defaults.timeSuffix,
1438
+ altTimeFormat = tp_inst._defaults.altTimeFormat !== null ? tp_inst._defaults.altTimeFormat : tp_inst._defaults.timeFormat;
1439
+
1440
+ altFormattedDateTime += $.datepicker.formatTime(altTimeFormat, tp_inst, tp_inst._defaults) + altTimeSuffix;
1441
+ if (!tp_inst._defaults.timeOnly && !tp_inst._defaults.altFieldTimeOnly && date !== null) {
1442
+ if (tp_inst._defaults.altFormat) {
1443
+ altFormattedDateTime = $.datepicker.formatDate(tp_inst._defaults.altFormat, date, formatCfg) + altSeparator + altFormattedDateTime;
1444
+ }
1445
+ else {
1446
+ altFormattedDateTime = tp_inst.formattedDate + altSeparator + altFormattedDateTime;
1447
+ }
1448
+ }
1449
+ $(altField).val(altFormattedDateTime);
1450
+ }
1451
+ }
1452
+ else {
1453
+ $.datepicker._base_updateAlternate(inst);
1454
+ }
1455
+ };
1456
+
1457
+ /*
1458
+ * Override key up event to sync manual input changes.
1459
+ */
1460
+ $.datepicker._base_doKeyUp = $.datepicker._doKeyUp;
1461
+ $.datepicker._doKeyUp = function (event) {
1462
+ var inst = $.datepicker._getInst(event.target),
1463
+ tp_inst = $.datepicker._get(inst, 'timepicker');
1464
+
1465
+ if (tp_inst) {
1466
+ if (tp_inst._defaults.timeOnly && (inst.input.val() !== inst.lastVal)) {
1467
+ try {
1468
+ $.datepicker._updateDatepicker(inst);
1469
+ } catch (err) {
1470
+ $.timepicker.log(err);
1471
+ }
1472
+ }
1473
+ }
1474
+
1475
+ return $.datepicker._base_doKeyUp(event);
1476
+ };
1477
+
1478
+ /*
1479
+ * override "Today" button to also grab the time.
1480
+ */
1481
+ $.datepicker._base_gotoToday = $.datepicker._gotoToday;
1482
+ $.datepicker._gotoToday = function (id) {
1483
+ var inst = this._getInst($(id)[0]),
1484
+ $dp = inst.dpDiv;
1485
+ this._base_gotoToday(id);
1486
+ var tp_inst = this._get(inst, 'timepicker');
1487
+ selectLocalTimezone(tp_inst);
1488
+ var now = new Date();
1489
+ var now_utc = new Date(
1490
+ now.getUTCFullYear(),
1491
+ now.getUTCMonth(),
1492
+ now.getUTCDate(),
1493
+ now.getUTCHours(),
1494
+ now.getUTCMinutes(),
1495
+ now.getUTCHours()
1496
+ );
1497
+
1498
+ // NOTE : this is a flag to inject the string 'now' into the input field
1499
+ tp_inst.ls_now = true;
1500
+ this._setTime(inst, now_utc);
1501
+ //$('.ui-datepicker-today', $dp).click();
1502
+ };
1503
+
1504
+ /*
1505
+ * Disable & enable the Time in the datetimepicker
1506
+ */
1507
+ $.datepicker._disableTimepickerDatepicker = function (target) {
1508
+ var inst = this._getInst(target);
1509
+ if (!inst) {
1510
+ return;
1511
+ }
1512
+
1513
+ var tp_inst = this._get(inst, 'timepicker');
1514
+ $(target).datepicker('getDate'); // Init selected[Year|Month|Day]
1515
+ if (tp_inst) {
1516
+ inst.settings.showTimepicker = false;
1517
+ tp_inst._defaults.showTimepicker = false;
1518
+ tp_inst._updateDateTime(inst);
1519
+ }
1520
+ };
1521
+
1522
+ $.datepicker._enableTimepickerDatepicker = function (target) {
1523
+ var inst = this._getInst(target);
1524
+ if (!inst) {
1525
+ return;
1526
+ }
1527
+
1528
+ var tp_inst = this._get(inst, 'timepicker');
1529
+ $(target).datepicker('getDate'); // Init selected[Year|Month|Day]
1530
+ if (tp_inst) {
1531
+ inst.settings.showTimepicker = true;
1532
+ tp_inst._defaults.showTimepicker = true;
1533
+ tp_inst._addTimePicker(inst); // Could be disabled on page load
1534
+ tp_inst._updateDateTime(inst);
1535
+ }
1536
+ };
1537
+
1538
+ /*
1539
+ * Create our own set time function
1540
+ */
1541
+ $.datepicker._setTime = function (inst, date) {
1542
+ var tp_inst = this._get(inst, 'timepicker');
1543
+ if (tp_inst) {
1544
+ var defaults = tp_inst._defaults;
1545
+
1546
+ // calling _setTime with no date sets time to defaults
1547
+ tp_inst.hour = date ? date.getHours() : defaults.hour;
1548
+ tp_inst.minute = date ? date.getMinutes() : defaults.minute;
1549
+ tp_inst.second = date ? date.getSeconds() : defaults.second;
1550
+ tp_inst.millisec = date ? date.getMilliseconds() : defaults.millisec;
1551
+ tp_inst.microsec = date ? date.getMicroseconds() : defaults.microsec;
1552
+
1553
+ //check if within min/max times..
1554
+ tp_inst._limitMinMaxDateTime(inst, true);
1555
+
1556
+ tp_inst._onTimeChange();
1557
+
1558
+ tp_inst._updateDateTime(inst);
1559
+ }
1560
+ };
1561
+
1562
+ /*
1563
+ * Create new public method to set only time, callable as $().datepicker('setTime', date)
1564
+ */
1565
+ $.datepicker._setTimeDatepicker = function (target, date, withDate) {
1566
+ var inst = this._getInst(target);
1567
+ if (!inst) {
1568
+ return;
1569
+ }
1570
+
1571
+ var tp_inst = this._get(inst, 'timepicker');
1572
+
1573
+ if (tp_inst) {
1574
+ this._setDateFromField(inst);
1575
+ var tp_date;
1576
+ if (date) {
1577
+ if (typeof date === "string") {
1578
+ tp_inst._parseTime(date, withDate);
1579
+ tp_date = new Date();
1580
+ tp_date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
1581
+ tp_date.setMicroseconds(tp_inst.microsec);
1582
+ } else {
1583
+ tp_date = new Date(date.getTime());
1584
+ tp_date.setMicroseconds(date.getMicroseconds());
1585
+ }
1586
+ if (tp_date.toString() === 'Invalid Date') {
1587
+ tp_date = undefined;
1588
+ }
1589
+ this._setTime(inst, tp_date);
1590
+ }
1591
+ }
1592
+
1593
+ };
1594
+
1595
+ /*
1596
+ * override setDate() to allow setting time too within Date object
1597
+ */
1598
+ $.datepicker._base_setDateDatepicker = $.datepicker._setDateDatepicker;
1599
+ $.datepicker._setDateDatepicker = function (target, date) {
1600
+ var inst = this._getInst(target);
1601
+ if (!inst) {
1602
+ return;
1603
+ }
1604
+
1605
+ if (typeof(date) === 'string') {
1606
+ date = new Date(date);
1607
+ if (!date.getTime()) {
1608
+ $.timepicker.log("Error creating Date object from string.");
1609
+ }
1610
+ }
1611
+
1612
+ var tp_inst = this._get(inst, 'timepicker');
1613
+ var tp_date;
1614
+ if (date instanceof Date) {
1615
+ tp_date = new Date(date.getTime());
1616
+ tp_date.setMicroseconds(date.getMicroseconds());
1617
+ } else {
1618
+ tp_date = date;
1619
+ }
1620
+
1621
+ // This is important if you are using the timezone option, javascript's Date
1622
+ // object will only return the timezone offset for the current locale, so we
1623
+ // adjust it accordingly. If not using timezone option this won't matter..
1624
+ // If a timezone is different in tp, keep the timezone as is
1625
+ if (tp_inst) {
1626
+ // look out for DST if tz wasn't specified
1627
+ if (!tp_inst.support.timezone && tp_inst._defaults.timezone === null) {
1628
+ tp_inst.timezone = tp_date.getTimezoneOffset() * -1;
1629
+ }
1630
+ date = $.timepicker.timezoneAdjust(date, tp_inst.timezone);
1631
+ tp_date = $.timepicker.timezoneAdjust(tp_date, tp_inst.timezone);
1632
+ }
1633
+
1634
+ this._updateDatepicker(inst);
1635
+ this._base_setDateDatepicker.apply(this, arguments);
1636
+ this._setTimeDatepicker(target, tp_date, true);
1637
+ };
1638
+
1639
+ /*
1640
+ * override getDate() to allow getting time too within Date object
1641
+ */
1642
+ $.datepicker._base_getDateDatepicker = $.datepicker._getDateDatepicker;
1643
+ $.datepicker._getDateDatepicker = function (target, noDefault) {
1644
+ var inst = this._getInst(target);
1645
+ if (!inst) {
1646
+ return;
1647
+ }
1648
+
1649
+ var tp_inst = this._get(inst, 'timepicker');
1650
+
1651
+ if (tp_inst) {
1652
+ // if it hasn't yet been defined, grab from field
1653
+ if (inst.lastVal === undefined) {
1654
+ this._setDateFromField(inst, noDefault);
1655
+ }
1656
+
1657
+ var date = this._getDate(inst);
1658
+ if (date && tp_inst._parseTime($(target).val(), tp_inst.timeOnly)) {
1659
+ date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
1660
+ date.setMicroseconds(tp_inst.microsec);
1661
+
1662
+ // This is important if you are using the timezone option, javascript's Date
1663
+ // object will only return the timezone offset for the current locale, so we
1664
+ // adjust it accordingly. If not using timezone option this won't matter..
1665
+ if (tp_inst.timezone != null) {
1666
+ // look out for DST if tz wasn't specified
1667
+ if (!tp_inst.support.timezone && tp_inst._defaults.timezone === null) {
1668
+ tp_inst.timezone = date.getTimezoneOffset() * -1;
1669
+ }
1670
+ date = $.timepicker.timezoneAdjust(date, tp_inst.timezone);
1671
+ }
1672
+ }
1673
+ return date;
1674
+ }
1675
+ return this._base_getDateDatepicker(target, noDefault);
1676
+ };
1677
+
1678
+ /*
1679
+ * override parseDate() because UI 1.8.14 throws an error about "Extra characters"
1680
+ * An option in datapicker to ignore extra format characters would be nicer.
1681
+ */
1682
+ $.datepicker._base_parseDate = $.datepicker.parseDate;
1683
+ $.datepicker.parseDate = function (format, value, settings) {
1684
+ var date;
1685
+ try {
1686
+ date = this._base_parseDate(format, value, settings);
1687
+ } catch (err) {
1688
+ // Hack! The error message ends with a colon, a space, and
1689
+ // the "extra" characters. We rely on that instead of
1690
+ // attempting to perfectly reproduce the parsing algorithm.
1691
+ if (err.indexOf(":") >= 0) {
1692
+ date = this._base_parseDate(format, value.substring(0, value.length - (err.length - err.indexOf(':') - 2)), settings);
1693
+ $.timepicker.log("Error parsing the date string: " + err + "\ndate string = " + value + "\ndate format = " + format);
1694
+ } else {
1695
+ throw err;
1696
+ }
1697
+ }
1698
+ return date;
1699
+ };
1700
+
1701
+ /*
1702
+ * override formatDate to set date with time to the input
1703
+ */
1704
+ $.datepicker._base_formatDate = $.datepicker._formatDate;
1705
+ $.datepicker._formatDate = function (inst, day, month, year) {
1706
+ var tp_inst = this._get(inst, 'timepicker');
1707
+ if (tp_inst) {
1708
+ tp_inst._updateDateTime(inst);
1709
+ return tp_inst.$input.val();
1710
+ }
1711
+ return this._base_formatDate(inst);
1712
+ };
1713
+
1714
+ /*
1715
+ * override options setter to add time to maxDate(Time) and minDate(Time). MaxDate
1716
+ */
1717
+ $.datepicker._base_optionDatepicker = $.datepicker._optionDatepicker;
1718
+ $.datepicker._optionDatepicker = function (target, name, value) {
1719
+ var inst = this._getInst(target),
1720
+ name_clone;
1721
+ if (!inst) {
1722
+ return null;
1723
+ }
1724
+
1725
+ var tp_inst = this._get(inst, 'timepicker');
1726
+ if (tp_inst) {
1727
+ var min = null,
1728
+ max = null,
1729
+ onselect = null,
1730
+ overrides = tp_inst._defaults.evnts,
1731
+ fns = {},
1732
+ prop;
1733
+ if (typeof name === 'string') { // if min/max was set with the string
1734
+ if (name === 'minDate' || name === 'minDateTime') {
1735
+ min = value;
1736
+ } else if (name === 'maxDate' || name === 'maxDateTime') {
1737
+ max = value;
1738
+ } else if (name === 'onSelect') {
1739
+ onselect = value;
1740
+ } else if (overrides.hasOwnProperty(name)) {
1741
+ if (typeof (value) === 'undefined') {
1742
+ return overrides[name];
1743
+ }
1744
+ fns[name] = value;
1745
+ name_clone = {}; //empty results in exiting function after overrides updated
1746
+ }
1747
+ } else if (typeof name === 'object') { //if min/max was set with the JSON
1748
+ if (name.minDate) {
1749
+ min = name.minDate;
1750
+ } else if (name.minDateTime) {
1751
+ min = name.minDateTime;
1752
+ } else if (name.maxDate) {
1753
+ max = name.maxDate;
1754
+ } else if (name.maxDateTime) {
1755
+ max = name.maxDateTime;
1756
+ }
1757
+ for (prop in overrides) {
1758
+ if (overrides.hasOwnProperty(prop) && name[prop]) {
1759
+ fns[prop] = name[prop];
1760
+ }
1761
+ }
1762
+ }
1763
+ for (prop in fns) {
1764
+ if (fns.hasOwnProperty(prop)) {
1765
+ overrides[prop] = fns[prop];
1766
+ if (!name_clone) { name_clone = $.extend({}, name); }
1767
+ delete name_clone[prop];
1768
+ }
1769
+ }
1770
+ if (name_clone && isEmptyObject(name_clone)) { return; }
1771
+ if (min) { //if min was set
1772
+ if (min === 0) {
1773
+ min = new Date();
1774
+ } else {
1775
+ min = new Date(min);
1776
+ }
1777
+ tp_inst._defaults.minDate = min;
1778
+ tp_inst._defaults.minDateTime = min;
1779
+ } else if (max) { //if max was set
1780
+ if (max === 0) {
1781
+ max = new Date();
1782
+ } else {
1783
+ max = new Date(max);
1784
+ }
1785
+ tp_inst._defaults.maxDate = max;
1786
+ tp_inst._defaults.maxDateTime = max;
1787
+ } else if (onselect) {
1788
+ tp_inst._defaults.onSelect = onselect;
1789
+ }
1790
+ }
1791
+ if (value === undefined) {
1792
+ return this._base_optionDatepicker.call($.datepicker, target, name);
1793
+ }
1794
+ return this._base_optionDatepicker.call($.datepicker, target, name_clone || name, value);
1795
+ };
1796
+
1797
+ /*
1798
+ * jQuery isEmptyObject does not check hasOwnProperty - if someone has added to the object prototype,
1799
+ * it will return false for all objects
1800
+ */
1801
+ var isEmptyObject = function (obj) {
1802
+ var prop;
1803
+ for (prop in obj) {
1804
+ if (obj.hasOwnProperty(prop)) {
1805
+ return false;
1806
+ }
1807
+ }
1808
+ return true;
1809
+ };
1810
+
1811
+ /*
1812
+ * jQuery extend now ignores nulls!
1813
+ */
1814
+ var extendRemove = function (target, props) {
1815
+ $.extend(target, props);
1816
+ for (var name in props) {
1817
+ if (props[name] === null || props[name] === undefined) {
1818
+ target[name] = props[name];
1819
+ }
1820
+ }
1821
+ return target;
1822
+ };
1823
+
1824
+ /*
1825
+ * Determine by the time format which units are supported
1826
+ * Returns an object of booleans for each unit
1827
+ */
1828
+ var detectSupport = function (timeFormat) {
1829
+ var tf = timeFormat.replace(/'.*?'/g, '').toLowerCase(), // removes literals
1830
+ isIn = function (f, t) { // does the format contain the token?
1831
+ return f.indexOf(t) !== -1 ? true : false;
1832
+ };
1833
+ return {
1834
+ hour: isIn(tf, 'h'),
1835
+ minute: isIn(tf, 'm'),
1836
+ second: isIn(tf, 's'),
1837
+ millisec: isIn(tf, 'l'),
1838
+ microsec: isIn(tf, 'c'),
1839
+ timezone: isIn(tf, 'z'),
1840
+ ampm: isIn(tf, 't') && isIn(timeFormat, 'h'),
1841
+ iso8601: isIn(timeFormat, 'Z')
1842
+ };
1843
+ };
1844
+
1845
+ /*
1846
+ * Converts 24 hour format into 12 hour
1847
+ * Returns 12 hour without leading 0
1848
+ */
1849
+ var convert24to12 = function (hour) {
1850
+ hour %= 12;
1851
+
1852
+ if (hour === 0) {
1853
+ hour = 12;
1854
+ }
1855
+
1856
+ return String(hour);
1857
+ };
1858
+
1859
+ var computeEffectiveSetting = function (settings, property) {
1860
+ return settings && settings[property] ? settings[property] : $.timepicker._defaults[property];
1861
+ };
1862
+
1863
+ /*
1864
+ * Splits datetime string into date and time substrings.
1865
+ * Throws exception when date can't be parsed
1866
+ * Returns {dateString: dateString, timeString: timeString}
1867
+ */
1868
+ var splitDateTime = function (dateTimeString, timeSettings) {
1869
+ // The idea is to get the number separator occurrences in datetime and the time format requested (since time has
1870
+ // fewer unknowns, mostly numbers and am/pm). We will use the time pattern to split.
1871
+ var separator = computeEffectiveSetting(timeSettings, 'separator'),
1872
+ format = computeEffectiveSetting(timeSettings, 'timeFormat'),
1873
+ timeParts = format.split(separator), // how many occurrences of separator may be in our format?
1874
+ timePartsLen = timeParts.length,
1875
+ allParts = dateTimeString.split(separator),
1876
+ allPartsLen = allParts.length;
1877
+
1878
+ if (allPartsLen > 1) {
1879
+ return {
1880
+ dateString: allParts.splice(0, allPartsLen - timePartsLen).join(separator),
1881
+ timeString: allParts.splice(0, timePartsLen).join(separator)
1882
+ };
1883
+ }
1884
+
1885
+ return {
1886
+ dateString: dateTimeString,
1887
+ timeString: ''
1888
+ };
1889
+ };
1890
+
1891
+ /*
1892
+ * Internal function to parse datetime interval
1893
+ * Returns: {date: Date, timeObj: Object}, where
1894
+ * date - parsed date without time (type Date)
1895
+ * timeObj = {hour: , minute: , second: , millisec: , microsec: } - parsed time. Optional
1896
+ */
1897
+ var parseDateTimeInternal = function (dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
1898
+ var date,
1899
+ parts,
1900
+ parsedTime;
1901
+
1902
+ parts = splitDateTime(dateTimeString, timeSettings);
1903
+ date = $.datepicker._base_parseDate(dateFormat, parts.dateString, dateSettings);
1904
+
1905
+ if (parts.timeString === '') {
1906
+ return {
1907
+ date: date
1908
+ };
1909
+ }
1910
+
1911
+ parsedTime = $.datepicker.parseTime(timeFormat, parts.timeString, timeSettings);
1912
+
1913
+ if (!parsedTime) {
1914
+ throw 'Wrong time format';
1915
+ }
1916
+
1917
+ return {
1918
+ date: date,
1919
+ timeObj: parsedTime
1920
+ };
1921
+ };
1922
+
1923
+ /*
1924
+ * Internal function to set timezone_select to the local timezone
1925
+ */
1926
+ var selectLocalTimezone = function (tp_inst, date) {
1927
+ if (tp_inst && tp_inst.timezone_select) {
1928
+ var now = date || new Date();
1929
+ tp_inst.timezone_select.val(-now.getTimezoneOffset());
1930
+ }
1931
+ };
1932
+
1933
+ /*
1934
+ * Create a Singleton Instance
1935
+ */
1936
+ $.timepicker = new Timepicker();
1937
+
1938
+ /**
1939
+ * Get the timezone offset as string from a date object (eg '+0530' for UTC+5.5)
1940
+ * @param {number} tzMinutes if not a number, less than -720 (-1200), or greater than 840 (+1400) this value is returned
1941
+ * @param {boolean} iso8601 if true formats in accordance to iso8601 "+12:45"
1942
+ * @return {string}
1943
+ */
1944
+ $.timepicker.timezoneOffsetString = function (tzMinutes, iso8601) {
1945
+ if (isNaN(tzMinutes) || tzMinutes > 840 || tzMinutes < -720) {
1946
+ return tzMinutes;
1947
+ }
1948
+
1949
+ var off = tzMinutes,
1950
+ minutes = off % 60,
1951
+ hours = (off - minutes) / 60,
1952
+ iso = iso8601 ? ':' : '',
1953
+ tz = (off >= 0 ? '+' : '-') + ('0' + Math.abs(hours)).slice(-2) + iso + ('0' + Math.abs(minutes)).slice(-2);
1954
+
1955
+ if (tz === '+00:00') {
1956
+ return 'Z';
1957
+ }
1958
+ return tz;
1959
+ };
1960
+
1961
+ /**
1962
+ * Get the number in minutes that represents a timezone string
1963
+ * @param {string} tzString formatted like "+0500", "-1245", "Z"
1964
+ * @return {number} the offset minutes or the original string if it doesn't match expectations
1965
+ */
1966
+ $.timepicker.timezoneOffsetNumber = function (tzString) {
1967
+ var normalized = tzString.toString().replace(':', ''); // excuse any iso8601, end up with "+1245"
1968
+
1969
+ if (normalized.toUpperCase() === 'Z') { // if iso8601 with Z, its 0 minute offset
1970
+ return 0;
1971
+ }
1972
+
1973
+ if (!/^(\-|\+)\d{4}$/.test(normalized)) { // possibly a user defined tz, so just give it back
1974
+ return tzString;
1975
+ }
1976
+
1977
+ return ((normalized.substr(0, 1) === '-' ? -1 : 1) * // plus or minus
1978
+ ((parseInt(normalized.substr(1, 2), 10) * 60) + // hours (converted to minutes)
1979
+ parseInt(normalized.substr(3, 2), 10))); // minutes
1980
+ };
1981
+
1982
+ /**
1983
+ * No way to set timezone in js Date, so we must adjust the minutes to compensate. (think setDate, getDate)
1984
+ * @param {Date} date
1985
+ * @param {string} toTimezone formatted like "+0500", "-1245"
1986
+ * @return {Date}
1987
+ */
1988
+ $.timepicker.timezoneAdjust = function (date, toTimezone) {
1989
+ var toTz = $.timepicker.timezoneOffsetNumber(toTimezone);
1990
+ if (!isNaN(toTz)) {
1991
+ date.setMinutes(date.getMinutes() + -date.getTimezoneOffset() - toTz);
1992
+ }
1993
+ return date;
1994
+ };
1995
+
1996
+ /**
1997
+ * Calls `timepicker()` on the `startTime` and `endTime` elements, and configures them to
1998
+ * enforce date range limits.
1999
+ * n.b. The input value must be correctly formatted (reformatting is not supported)
2000
+ * @param {Element} startTime
2001
+ * @param {Element} endTime
2002
+ * @param {Object} options Options for the timepicker() call
2003
+ * @return {jQuery}
2004
+ */
2005
+ $.timepicker.timeRange = function (startTime, endTime, options) {
2006
+ return $.timepicker.handleRange('timepicker', startTime, endTime, options);
2007
+ };
2008
+
2009
+ /**
2010
+ * Calls `datetimepicker` on the `startTime` and `endTime` elements, and configures them to
2011
+ * enforce date range limits.
2012
+ * @param {Element} startTime
2013
+ * @param {Element} endTime
2014
+ * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`,
2015
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
2016
+ * @param {string} method Can be used to specify the type of picker to be added
2017
+ * @return {jQuery}
2018
+ */
2019
+ $.timepicker.datetimeRange = function (startTime, endTime, options) {
2020
+ $.timepicker.handleRange('datetimepicker', startTime, endTime, options);
2021
+ };
2022
+
2023
+ /**
2024
+ * Calls `datepicker` on the `startTime` and `endTime` elements, and configures them to
2025
+ * enforce date range limits.
2026
+ * @param {Element} startTime
2027
+ * @param {Element} endTime
2028
+ * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`,
2029
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
2030
+ * @return {jQuery}
2031
+ */
2032
+ $.timepicker.dateRange = function (startTime, endTime, options) {
2033
+ $.timepicker.handleRange('datepicker', startTime, endTime, options);
2034
+ };
2035
+
2036
+ /**
2037
+ * Calls `method` on the `startTime` and `endTime` elements, and configures them to
2038
+ * enforce date range limits.
2039
+ * @param {string} method Can be used to specify the type of picker to be added
2040
+ * @param {Element} startTime
2041
+ * @param {Element} endTime
2042
+ * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`,
2043
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
2044
+ * @return {jQuery}
2045
+ */
2046
+ $.timepicker.handleRange = function (method, startTime, endTime, options) {
2047
+ options = $.extend({}, {
2048
+ minInterval: 0, // min allowed interval in milliseconds
2049
+ maxInterval: 0, // max allowed interval in milliseconds
2050
+ start: {}, // options for start picker
2051
+ end: {} // options for end picker
2052
+ }, options);
2053
+
2054
+ function checkDates(changed, other) {
2055
+ var startdt = startTime[method]('getDate'),
2056
+ enddt = endTime[method]('getDate'),
2057
+ changeddt = changed[method]('getDate');
2058
+
2059
+ if (startdt !== null) {
2060
+ var minDate = new Date(startdt.getTime()),
2061
+ maxDate = new Date(startdt.getTime());
2062
+
2063
+ minDate.setMilliseconds(minDate.getMilliseconds() + options.minInterval);
2064
+ maxDate.setMilliseconds(maxDate.getMilliseconds() + options.maxInterval);
2065
+
2066
+ if (options.minInterval > 0 && minDate > enddt) { // minInterval check
2067
+ endTime[method]('setDate', minDate);
2068
+ }
2069
+ else if (options.maxInterval > 0 && maxDate < enddt) { // max interval check
2070
+ endTime[method]('setDate', maxDate);
2071
+ }
2072
+ else if (startdt > enddt) {
2073
+ other[method]('setDate', changeddt);
2074
+ }
2075
+ }
2076
+ }
2077
+
2078
+ function selected(changed, other, option) {
2079
+ if (!changed.val()) {
2080
+ return;
2081
+ }
2082
+ var date = changed[method].call(changed, 'getDate');
2083
+ if (date !== null && options.minInterval > 0) {
2084
+ if (option === 'minDate') {
2085
+ date.setMilliseconds(date.getMilliseconds() + options.minInterval);
2086
+ }
2087
+ if (option === 'maxDate') {
2088
+ date.setMilliseconds(date.getMilliseconds() - options.minInterval);
2089
+ }
2090
+ }
2091
+ if (date.getTime) {
2092
+ other[method].call(other, 'option', option, date);
2093
+ }
2094
+ }
2095
+
2096
+ $.fn[method].call(startTime, $.extend({
2097
+ onClose: function (dateText, inst) {
2098
+ checkDates($(this), endTime);
2099
+ },
2100
+ onSelect: function (selectedDateTime) {
2101
+ selected($(this), endTime, 'minDate');
2102
+ }
2103
+ }, options, options.start));
2104
+ $.fn[method].call(endTime, $.extend({
2105
+ onClose: function (dateText, inst) {
2106
+ checkDates($(this), startTime);
2107
+ },
2108
+ onSelect: function (selectedDateTime) {
2109
+ selected($(this), startTime, 'maxDate');
2110
+ }
2111
+ }, options, options.end));
2112
+
2113
+ checkDates(startTime, endTime);
2114
+ selected(startTime, endTime, 'minDate');
2115
+ selected(endTime, startTime, 'maxDate');
2116
+ return $([startTime.get(0), endTime.get(0)]);
2117
+ };
2118
+
2119
+ /**
2120
+ * Log error or data to the console during error or debugging
2121
+ * @param {Object} err pass any type object to log to the console during error or debugging
2122
+ * @return {void}
2123
+ */
2124
+ $.timepicker.log = function (err) {
2125
+ if (window.console) {
2126
+ window.console.log(err);
2127
+ }
2128
+ };
2129
+
2130
+ /*
2131
+ * Add util object to allow access to private methods for testability.
2132
+ */
2133
+ $.timepicker._util = {
2134
+ _extendRemove: extendRemove,
2135
+ _isEmptyObject: isEmptyObject,
2136
+ _convert24to12: convert24to12,
2137
+ _detectSupport: detectSupport,
2138
+ _selectLocalTimezone: selectLocalTimezone,
2139
+ _computeEffectiveSetting: computeEffectiveSetting,
2140
+ _splitDateTime: splitDateTime,
2141
+ _parseDateTimeInternal: parseDateTimeInternal
2142
+ };
2143
+
2144
+ /*
2145
+ * Microsecond support
2146
+ */
2147
+ if (!Date.prototype.getMicroseconds) {
2148
+ Date.prototype.microseconds = 0;
2149
+ Date.prototype.getMicroseconds = function () { return this.microseconds; };
2150
+ Date.prototype.setMicroseconds = function (m) {
2151
+ this.setMilliseconds(this.getMilliseconds() + Math.floor(m / 1000));
2152
+ this.microseconds = m % 1000;
2153
+ return this;
2154
+ };
2155
+ }
2156
+
2157
+ /*
2158
+ * Keep up with the version
2159
+ */
2160
+ $.timepicker.version = "@@version";
2161
+
2162
+ })(jQuery);