compass-jquery-plugin 0.3.1.1 → 0.3.2.pre.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (821) hide show
  1. data/Gemfile +4 -0
  2. data/{LICENSE → LICENSE.md} +1 -1
  3. data/{README.textile → README.md} +122 -71
  4. data/Rakefile +2 -47
  5. data/VERSION.yml +5 -4
  6. data/lib/jquery/gridify/grid_finder.rb +9 -1
  7. data/lib/jquery/gridify/grid_options.rb +16 -2
  8. data/lib/jquery/gridify/grid_view.rb +7 -1
  9. data/lib/jquery/jqgrid/jqgrid.rb +13 -2
  10. data/lib/jquery/jqgrid.rb +4 -4
  11. data/lib/jquery/jqtouch.rb +3 -3
  12. data/lib/jquery/{jrails.rb → jquery.rb} +1 -1
  13. data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +13 -13
  14. data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +18 -18
  15. data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +5 -5
  16. data/lib/jquery/secret_sauce/model/find_for_grid.rb +41 -41
  17. data/lib/jquery/secret_sauce.rb +8 -8
  18. data/lib/jquery.rb +18 -11
  19. data/lib/jquery_ui_theme.rb +3 -3
  20. data/templates/dynatree/jquery/dynatree/aero/icons.png +0 -0
  21. data/templates/dynatree/jquery/dynatree/aero/{ltWait.gif → loading.gif} +0 -0
  22. data/templates/dynatree/jquery/dynatree/aero.scss +235 -130
  23. data/templates/dynatree/jquery/dynatree/aqua/icons.png +0 -0
  24. data/templates/dynatree/jquery/dynatree/aqua/{ltWait.gif → loading.gif} +0 -0
  25. data/templates/dynatree/jquery/dynatree/aqua.scss +235 -130
  26. data/templates/dynatree/jquery/dynatree/crystal/icons.png +0 -0
  27. data/templates/dynatree/jquery/dynatree/crystal/{ltWait.gif → loading.gif} +0 -0
  28. data/templates/dynatree/jquery/dynatree/crystal.scss +235 -130
  29. data/templates/dynatree/jquery/dynatree/xp/icons.png +0 -0
  30. data/templates/dynatree/jquery/dynatree/xp/{ltWait.gif → loading.gif} +0 -0
  31. data/templates/dynatree/jquery/dynatree/xp.scss +72 -88
  32. data/templates/dynatree/jquery.dynatree.js +86 -60
  33. data/templates/dynatree/jquery.dynatree.min.js +47 -47
  34. data/templates/dynatree/manifest.rb +8 -139
  35. data/templates/ical/jquery/ical.scss +12 -2
  36. data/templates/ical/jquery.ical.js +3195 -2380
  37. data/templates/ical/jquery.ical.min.js +209 -199
  38. data/templates/jqgrid/i18n/jqgrid/locale-fa.js +139 -119
  39. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +5 -5
  40. data/templates/jqgrid/i18n/jqgrid/locale-sr.js +8 -8
  41. data/templates/jqgrid/i18n/jqgrid/locale-sr.min.js +3 -3
  42. data/templates/jqgrid/jquery/jqGrid.scss +13 -16
  43. data/templates/jqgrid/jquery.jqGrid.js +3493 -3326
  44. data/templates/jqgrid/jquery.jqGrid.min.js +427 -425
  45. data/templates/{jrails/config/initializers/jrails.rb → jquery/config/initializers/jquery.rb} +5 -4
  46. data/templates/{jrails → jquery}/haml.js +2 -2
  47. data/templates/{jrails → jquery}/haml.min.js +0 -0
  48. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-af.js +0 -0
  49. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-af.min.js +0 -0
  50. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ar.js +6 -7
  51. data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +2 -0
  52. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-az.js +0 -0
  53. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-az.min.js +0 -0
  54. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bg.js +0 -0
  55. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bg.min.js +0 -0
  56. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bs.js +0 -0
  57. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bs.min.js +0 -0
  58. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ca.js +0 -0
  59. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ca.min.js +0 -0
  60. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-cs.js +0 -0
  61. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-cs.min.js +0 -0
  62. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-da.js +0 -0
  63. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-da.min.js +0 -0
  64. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-de.js +0 -0
  65. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-de.min.js +0 -0
  66. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-el.js +0 -0
  67. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-el.min.js +0 -0
  68. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-en-GB.js +0 -0
  69. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-en-GB.min.js +0 -0
  70. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eo.js +0 -0
  71. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eo.min.js +0 -0
  72. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-es.js +0 -0
  73. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-es.min.js +0 -0
  74. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-et.js +0 -0
  75. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-et.min.js +0 -0
  76. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eu.js +0 -0
  77. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eu.min.js +0 -0
  78. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fa.js +0 -0
  79. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fa.min.js +0 -0
  80. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fi.js +0 -0
  81. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fi.min.js +0 -0
  82. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fo.js +0 -0
  83. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fo.min.js +0 -0
  84. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fr-CH.js +0 -0
  85. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fr-CH.min.js +0 -0
  86. data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +25 -0
  87. data/templates/jquery/i18n/jquery.ui/datepicker-fr.min.js +2 -0
  88. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-gl.js +0 -0
  89. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-gl.min.js +0 -0
  90. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-he.js +0 -0
  91. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-he.min.js +0 -0
  92. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hr.js +0 -0
  93. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hr.min.js +0 -0
  94. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hu.js +0 -0
  95. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hu.min.js +0 -0
  96. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hy.js +0 -0
  97. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hy.min.js +0 -0
  98. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-id.js +0 -0
  99. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-id.min.js +0 -0
  100. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-is.js +0 -0
  101. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-is.min.js +0 -0
  102. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-it.js +0 -0
  103. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-it.min.js +0 -0
  104. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ja.js +0 -0
  105. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ja.min.js +0 -0
  106. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ko.js +0 -0
  107. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ko.min.js +0 -0
  108. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-kz.js +0 -0
  109. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-kz.min.js +0 -0
  110. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lt.js +0 -0
  111. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lt.min.js +0 -0
  112. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lv.js +0 -0
  113. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lv.min.js +0 -0
  114. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ms.js +0 -0
  115. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ms.min.js +0 -0
  116. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-nl.js +0 -0
  117. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-nl.min.js +0 -0
  118. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-no.js +2 -2
  119. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-no.min.js +1 -1
  120. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pl.js +0 -0
  121. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pl.min.js +0 -0
  122. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt-BR.js +0 -0
  123. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt-BR.min.js +0 -0
  124. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt.js +0 -0
  125. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt.min.js +0 -0
  126. data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +21 -0
  127. data/templates/jquery/i18n/jquery.ui/datepicker-rm.min.js +2 -0
  128. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ro.js +0 -0
  129. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ro.min.js +0 -0
  130. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ru.js +0 -0
  131. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ru.min.js +0 -0
  132. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sk.js +0 -0
  133. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sk.min.js +0 -0
  134. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sl.js +0 -0
  135. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sl.min.js +0 -0
  136. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sq.js +0 -0
  137. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sq.min.js +0 -0
  138. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr-SR.js +0 -0
  139. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr-SR.min.js +0 -0
  140. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr.js +0 -0
  141. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr.min.js +0 -0
  142. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sv.js +0 -0
  143. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sv.min.js +0 -0
  144. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ta.js +0 -0
  145. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ta.min.js +0 -0
  146. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-th.js +1 -1
  147. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-th.min.js +1 -1
  148. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-tr.js +0 -0
  149. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-tr.min.js +0 -0
  150. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-uk.js +0 -0
  151. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-uk.min.js +0 -0
  152. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-vi.js +0 -0
  153. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-vi.min.js +0 -0
  154. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-CN.js +0 -0
  155. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-CN.min.js +0 -0
  156. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-HK.js +0 -0
  157. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-HK.min.js +0 -0
  158. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-TW.js +0 -0
  159. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-TW.min.js +0 -0
  160. data/templates/{jrails → jquery}/jquery/ui/_theme.scss +19 -17
  161. data/templates/{jrails → jquery}/jquery/ui/base/ui-anim_basic_16x16.gif +0 -0
  162. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  163. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  164. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  165. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  166. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  167. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  168. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  169. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  170. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_222222_256x240.png +0 -0
  171. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_2e83ff_256x240.png +0 -0
  172. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_454545_256x240.png +0 -0
  173. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_888888_256x240.png +0 -0
  174. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_cd0a0a_256x240.png +0 -0
  175. data/templates/{jrails → jquery}/jquery/ui/base.scss +1 -1
  176. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-anim_basic_16x16.gif +0 -0
  177. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  178. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
  179. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
  180. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  181. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  182. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  183. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  184. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  185. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  186. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_222222_256x240.png +0 -0
  187. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
  188. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
  189. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ededed_256x240.png +0 -0
  190. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
  191. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ffffff_256x240.png +0 -0
  192. data/templates/{jrails → jquery}/jquery/ui/black-tie.scss +1 -1
  193. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-anim_basic_16x16.gif +0 -0
  194. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  195. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  196. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
  197. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
  198. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
  199. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  200. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  201. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  202. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  203. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_004276_256x240.png +0 -0
  204. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_cc0000_256x240.png +0 -0
  205. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_ffffff_256x240.png +0 -0
  206. data/templates/{jrails → jquery}/jquery/ui/blitzer.scss +1 -1
  207. data/templates/{jrails → jquery}/jquery/ui/contextMenu/cut.png +0 -0
  208. data/templates/{jrails → jquery}/jquery/ui/contextMenu/door.png +0 -0
  209. data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_copy.png +0 -0
  210. data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_delete.png +0 -0
  211. data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_edit.png +0 -0
  212. data/templates/jquery/jquery/ui/contextMenu/page_white_new.png +0 -0
  213. data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_paste.png +0 -0
  214. data/templates/{jrails → jquery}/jquery/ui/contextMenu.scss +2 -0
  215. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-anim_basic_16x16.gif +0 -0
  216. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  217. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  218. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  219. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  220. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  221. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  222. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  223. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  224. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  225. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
  226. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  227. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  228. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  229. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
  230. data/templates/{jrails → jquery}/jquery/ui/cupertino.scss +1 -1
  231. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-anim_basic_16x16.gif +0 -0
  232. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
  233. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  234. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  235. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  236. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  237. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  238. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  239. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  240. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
  241. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_222222_256x240.png +0 -0
  242. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
  243. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_a83300_256x240.png +0 -0
  244. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_cccccc_256x240.png +0 -0
  245. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_ffffff_256x240.png +0 -0
  246. data/templates/{jrails → jquery}/jquery/ui/dark-hive.scss +1 -1
  247. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-anim_basic_16x16.gif +0 -0
  248. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  249. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  250. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
  251. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  252. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  253. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  254. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
  255. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  256. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_00498f_256x240.png +0 -0
  257. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
  258. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
  259. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_ffffff_256x240.png +0 -0
  260. data/templates/{jrails → jquery}/jquery/ui/dot-luv.scss +1 -1
  261. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-anim_basic_16x16.gif +0 -0
  262. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  263. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  264. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
  265. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
  266. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  267. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  268. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  269. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  270. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  271. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_454545_256x240.png +0 -0
  272. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_734d99_256x240.png +0 -0
  273. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_8d78a5_256x240.png +0 -0
  274. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
  275. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_ebccce_256x240.png +0 -0
  276. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_ffffff_256x240.png +0 -0
  277. data/templates/{jrails → jquery}/jquery/ui/eggplant.scss +1 -1
  278. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-anim_basic_16x16.gif +0 -0
  279. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  280. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  281. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  282. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  283. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
  284. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
  285. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  286. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  287. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
  288. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
  289. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
  290. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
  291. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_ffffff_256x240.png +0 -0
  292. data/templates/{jrails → jquery}/jquery/ui/excite-bike.scss +1 -1
  293. data/templates/{jrails → jquery}/jquery/ui/farbtastic/marker.png +0 -0
  294. data/templates/{jrails → jquery}/jquery/ui/farbtastic/mask.png +0 -0
  295. data/templates/{jrails → jquery}/jquery/ui/farbtastic/wheel.png +0 -0
  296. data/templates/{jrails → jquery}/jquery/ui/farbtastic.scss +0 -0
  297. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-check.png +0 -0
  298. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-error-bg.png +0 -0
  299. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-error.png +0 -0
  300. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-notice-bg.png +0 -0
  301. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-warning-bg.png +0 -0
  302. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-warning.png +0 -0
  303. data/templates/{jrails → jquery}/jquery/ui/flick/ui-anim_basic_16x16.gif +0 -0
  304. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  305. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  306. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
  307. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
  308. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
  309. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  310. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  311. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  312. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_0073ea_256x240.png +0 -0
  313. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_454545_256x240.png +0 -0
  314. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_666666_256x240.png +0 -0
  315. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_ff0084_256x240.png +0 -0
  316. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_ffffff_256x240.png +0 -0
  317. data/templates/{jrails → jquery}/jquery/ui/flick.scss +1 -1
  318. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-anim_basic_16x16.gif +0 -0
  319. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  320. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  321. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  322. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  323. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  324. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  325. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
  326. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
  327. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  328. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_454545_256x240.png +0 -0
  329. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
  330. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
  331. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
  332. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
  333. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
  334. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks.scss +1 -1
  335. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-anim_basic_16x16.gif +0 -0
  336. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  337. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  338. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  339. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  340. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  341. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  342. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  343. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  344. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_c47a23_256x240.png +0 -0
  345. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_cb672b_256x240.png +0 -0
  346. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_f08000_256x240.png +0 -0
  347. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_f35f07_256x240.png +0 -0
  348. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_ff7519_256x240.png +0 -0
  349. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_ffffff_256x240.png +0 -0
  350. data/templates/{jrails → jquery}/jquery/ui/humanity.scss +1 -1
  351. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-anim_basic_16x16.gif +0 -0
  352. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  353. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  354. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  355. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  356. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  357. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  358. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  359. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  360. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  361. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_4eb305_256x240.png +0 -0
  362. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_72b42d_256x240.png +0 -0
  363. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
  364. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_ffffff_256x240.png +0 -0
  365. data/templates/{jrails → jquery}/jquery/ui/le-frog.scss +1 -1
  366. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-anim_basic_16x16.gif +0 -0
  367. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  368. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
  369. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  370. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  371. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  372. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  373. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  374. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  375. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_222222_256x240.png +0 -0
  376. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
  377. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_add978_256x240.png +0 -0
  378. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
  379. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
  380. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_ffffff_256x240.png +0 -0
  381. data/templates/{jrails → jquery}/jquery/ui/mint-choc.scss +1 -1
  382. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-anim_basic_16x16.gif +0 -0
  383. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  384. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  385. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  386. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  387. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  388. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
  389. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  390. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  391. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  392. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_3383bb_256x240.png +0 -0
  393. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_454545_256x240.png +0 -0
  394. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_70b2e1_256x240.png +0 -0
  395. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_999999_256x240.png +0 -0
  396. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_fbc856_256x240.png +0 -0
  397. data/templates/{jrails → jquery}/jquery/ui/overcast.scss +1 -1
  398. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-anim_basic_16x16.gif +0 -0
  399. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  400. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  401. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  402. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  403. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  404. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  405. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  406. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  407. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  408. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_222222_256x240.png +0 -0
  409. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
  410. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
  411. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
  412. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
  413. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
  414. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder.scss +1 -1
  415. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-anim_basic_16x16.gif +0 -0
  416. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  417. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  418. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  419. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  420. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  421. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  422. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  423. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  424. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_217bc0_256x240.png +0 -0
  425. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
  426. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_469bdd_256x240.png +0 -0
  427. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
  428. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  429. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  430. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
  431. data/templates/{jrails → jquery}/jquery/ui/redmond.scss +1 -1
  432. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-anim_basic_16x16.gif +0 -0
  433. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  434. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  435. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  436. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  437. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  438. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  439. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  440. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  441. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_222222_256x240.png +0 -0
  442. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  443. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_454545_256x240.png +0 -0
  444. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_888888_256x240.png +0 -0
  445. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  446. data/templates/{jrails → jquery}/jquery/ui/smoothness.scss +1 -1
  447. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-anim_basic_16x16.gif +0 -0
  448. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  449. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  450. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  451. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  452. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  453. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  454. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  455. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  456. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  457. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_808080_256x240.png +0 -0
  458. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_847e71_256x240.png +0 -0
  459. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_8dc262_256x240.png +0 -0
  460. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_cd0a0a_256x240.png +0 -0
  461. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_eeeeee_256x240.png +0 -0
  462. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_ffffff_256x240.png +0 -0
  463. data/templates/{jrails → jquery}/jquery/ui/south-street.scss +1 -1
  464. data/templates/{jrails → jquery}/jquery/ui/start/ui-anim_basic_16x16.gif +0 -0
  465. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_flat_55_999999_40x100.png +0 -0
  466. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  467. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_45_0078ae_1x400.png +0 -0
  468. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  469. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  470. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  471. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  472. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  473. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  474. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_0078ae_256x240.png +0 -0
  475. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_056b93_256x240.png +0 -0
  476. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_d8e7f3_256x240.png +0 -0
  477. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_e0fdff_256x240.png +0 -0
  478. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_f5e175_256x240.png +0 -0
  479. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_f7a50d_256x240.png +0 -0
  480. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_fcd113_256x240.png +0 -0
  481. data/templates/{jrails → jquery}/jquery/ui/start.scss +1 -1
  482. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-anim_basic_16x16.gif +0 -0
  483. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  484. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
  485. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  486. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  487. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  488. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  489. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  490. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  491. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  492. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_3d3d3d_256x240.png +0 -0
  493. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_bd7b00_256x240.png +0 -0
  494. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_d19405_256x240.png +0 -0
  495. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_eb990f_256x240.png +0 -0
  496. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_ed9f26_256x240.png +0 -0
  497. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_fadc7a_256x240.png +0 -0
  498. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_ffe180_256x240.png +0 -0
  499. data/templates/{jrails → jquery}/jquery/ui/sunny.scss +1 -1
  500. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-anim_basic_16x16.gif +0 -0
  501. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  502. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
  503. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
  504. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  505. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
  506. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
  507. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  508. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  509. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_070603_256x240.png +0 -0
  510. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
  511. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
  512. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
  513. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
  514. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
  515. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
  516. data/templates/{jrails → jquery}/jquery/ui/swanky-purse.scss +1 -1
  517. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/buttonbg.png +0 -0
  518. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/icon_color_arrow.gif +0 -0
  519. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/menuhoverbg.png +0 -0
  520. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_black_matte.png +0 -0
  521. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_black_tie.png +0 -0
  522. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_blitzer.png +0 -0
  523. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_cupertino.png +0 -0
  524. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_dark_hive.png +0 -0
  525. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_dot_luv.png +0 -0
  526. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_eggplant.png +0 -0
  527. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_excite_bike.png +0 -0
  528. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_flick.png +0 -0
  529. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_hot_sneaks.png +0 -0
  530. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_humanity.png +0 -0
  531. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_le_frog.png +0 -0
  532. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_mint_choco.png +0 -0
  533. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_overcast.png +0 -0
  534. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_pepper_grinder.png +0 -0
  535. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_smoothness.png +0 -0
  536. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_south_street.png +0 -0
  537. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_start_menu.png +0 -0
  538. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_sunny.png +0 -0
  539. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_swanky_purse.png +0 -0
  540. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_trontastic.png +0 -0
  541. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_ui_dark.png +0 -0
  542. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_ui_light.png +0 -0
  543. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_windoze.png +0 -0
  544. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-anim_basic_16x16.gif +0 -0
  545. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  546. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
  547. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  548. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  549. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  550. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
  551. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  552. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  553. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  554. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_000000_256x240.png +0 -0
  555. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  556. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_9fda58_256x240.png +0 -0
  557. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_b8ec79_256x240.png +0 -0
  558. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
  559. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_ffffff_256x240.png +0 -0
  560. data/templates/{jrails → jquery}/jquery/ui/trontastic.scss +1 -1
  561. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-anim_basic_16x16.gif +0 -0
  562. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  563. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  564. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  565. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  566. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  567. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  568. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  569. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  570. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  571. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_222222_256x240.png +0 -0
  572. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  573. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_a83300_256x240.png +0 -0
  574. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  575. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  576. data/templates/{jrails → jquery}/jquery/ui/ui-darkness.scss +1 -1
  577. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-anim_basic_16x16.gif +0 -0
  578. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  579. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  580. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
  581. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  582. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  583. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  584. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  585. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  586. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  587. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_222222_256x240.png +0 -0
  588. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  589. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
  590. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
  591. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
  592. data/templates/{jrails → jquery}/jquery/ui/ui-lightness.scss +1 -1
  593. data/templates/{jrails → jquery}/jquery/ui/vader/ui-anim_basic_16x16.gif +0 -0
  594. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  595. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  596. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  597. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  598. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  599. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  600. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  601. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  602. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_666666_256x240.png +0 -0
  603. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_aaaaaa_256x240.png +0 -0
  604. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
  605. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_c98000_256x240.png +0 -0
  606. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_cccccc_256x240.png +0 -0
  607. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_cd0a0a_256x240.png +0 -0
  608. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_f29a00_256x240.png +0 -0
  609. data/templates/{jrails → jquery}/jquery/ui/vader.scss +1 -1
  610. data/templates/{jrails → jquery}/jquery-ui.js +518 -342
  611. data/templates/jquery/jquery-ui.min.js +830 -0
  612. data/templates/{jrails → jquery}/jquery.bgiframe.js +0 -0
  613. data/templates/{jrails → jquery}/jquery.bgiframe.min.js +0 -0
  614. data/templates/{jrails → jquery}/jquery.compat-1.3.js +0 -0
  615. data/templates/{jrails → jquery}/jquery.compat-1.3.min.js +0 -0
  616. data/templates/{jrails → jquery}/jquery.contextMenu.js +8 -8
  617. data/templates/{jrails → jquery}/jquery.contextMenu.min.js +4 -4
  618. data/templates/{jrails → jquery}/jquery.cookie.js +0 -0
  619. data/templates/{jrails → jquery}/jquery.cookie.min.js +0 -0
  620. data/templates/{jrails → jquery}/jquery.farbtastic.js +0 -0
  621. data/templates/{jrails → jquery}/jquery.farbtastic.min.js +0 -0
  622. data/templates/{jrails → jquery}/jquery.flash_messages.js +0 -0
  623. data/templates/{jrails → jquery}/jquery.flash_messages.min.js +0 -0
  624. data/templates/{jrails → jquery}/jquery.form.js +0 -0
  625. data/templates/{jrails → jquery}/jquery.form.min.js +0 -0
  626. data/templates/{jrails → jquery}/jquery.haml.js +0 -0
  627. data/templates/{jrails → jquery}/jquery.haml.min.js +0 -0
  628. data/templates/jquery/jquery.history.js +194 -0
  629. data/templates/jquery/jquery.history.min.js +5 -0
  630. data/templates/{jrails → jquery}/jquery.hotkeys.js +0 -0
  631. data/templates/{jrails → jquery}/jquery.hotkeys.min.js +0 -0
  632. data/templates/{jrails → jquery}/jquery.js +0 -0
  633. data/templates/{jrails → jquery}/jquery.layout.js +0 -0
  634. data/templates/{jrails → jquery}/jquery.layout.min.js +0 -0
  635. data/templates/{jrails → jquery}/jquery.metadata.js +0 -0
  636. data/templates/{jrails → jquery}/jquery.metadata.min.js +0 -0
  637. data/templates/{jrails → jquery}/jquery.min.js +0 -0
  638. data/templates/{jrails → jquery}/jquery.pngFix.js +0 -0
  639. data/templates/{jrails → jquery}/jquery.pngFix.min.js +0 -0
  640. data/templates/{jrails → jquery}/jquery.sparkline.js +609 -388
  641. data/templates/jquery/jquery.sparkline.min.js +36 -0
  642. data/templates/{jrails → jquery}/jquery.themeswitchertool.js +0 -0
  643. data/templates/{jrails → jquery}/jquery.themeswitchertool.min.js +0 -0
  644. data/templates/{jrails → jquery}/jquery.tmpl.js +0 -0
  645. data/templates/{jrails → jquery}/jquery.tmpl.min.js +0 -0
  646. data/templates/{jrails → jquery}/jquery.tmplPlus.js +0 -0
  647. data/templates/{jrails → jquery}/jquery.tmplPlus.min.js +0 -0
  648. data/templates/{jrails → jquery}/jrails.js +0 -0
  649. data/templates/{jrails → jquery}/jrails.min.js +0 -0
  650. data/templates/{jrails → jquery}/lib/tasks/haml.rake +0 -0
  651. data/templates/{jrails → jquery}/manifest.rb +8 -3
  652. data/templates/{jrails → jquery}/partials/_flash_messages.scss +0 -0
  653. data/templates/mobile/jquery/mobile/_base.scss +1069 -934
  654. data/templates/mobile/jquery/mobile/default.scss +119 -91
  655. data/templates/mobile/jquery/mobile/valencia.scss +3 -1
  656. data/templates/mobile/jquery.mobile.js +692 -365
  657. data/templates/mobile/jquery.mobile.min.js +2 -2
  658. metadata +703 -834
  659. data/.document +0 -3
  660. data/.loadpath +0 -5
  661. data/.project +0 -18
  662. data/gem_tasks/dynatree.rake +0 -77
  663. data/gem_tasks/emulators.rake +0 -57
  664. data/gem_tasks/ical.rake +0 -85
  665. data/gem_tasks/jqgrid.rake +0 -119
  666. data/gem_tasks/jqtouch.rake +0 -167
  667. data/gem_tasks/jrails.rake +0 -366
  668. data/gem_tasks/jstree.rake +0 -98
  669. data/gem_tasks/mobile.rake +0 -156
  670. data/gem_tasks/ribbon.rake +0 -78
  671. data/gem_tasks/rubygems.rake +0 -18
  672. data/gem_tasks/secret_sauce.rake +0 -64
  673. data/gem_tasks/tools.rake +0 -66
  674. data/lib/google-compiler-20100917.jar +0 -0
  675. data/lib/js.jar +0 -0
  676. data/lib/jslint-check.js +0 -36
  677. data/lib/jslint.js +0 -5500
  678. data/lib/yuicompressor-2.4.2.jar +0 -0
  679. data/spec/compass-jquery-plugin_spec.rb +0 -7
  680. data/spec/spec.opts +0 -1
  681. data/spec/spec_helper.rb +0 -9
  682. data/templates/dynatree/jquery/dynatree/aero/cbChecked.png +0 -0
  683. data/templates/dynatree/jquery/dynatree/aero/cbChecked_hover.png +0 -0
  684. data/templates/dynatree/jquery/dynatree/aero/cbIntermediate.png +0 -0
  685. data/templates/dynatree/jquery/dynatree/aero/cbIntermediate_hover.png +0 -0
  686. data/templates/dynatree/jquery/dynatree/aero/cbUnchecked.png +0 -0
  687. data/templates/dynatree/jquery/dynatree/aero/cbUnchecked_hover.png +0 -0
  688. data/templates/dynatree/jquery/dynatree/aero/collapsed.png +0 -0
  689. data/templates/dynatree/jquery/dynatree/aero/collapsed_hover.png +0 -0
  690. data/templates/dynatree/jquery/dynatree/aero/copy_here.png +0 -0
  691. data/templates/dynatree/jquery/dynatree/aero/customDoc1.png +0 -0
  692. data/templates/dynatree/jquery/dynatree/aero/customFolder1.png +0 -0
  693. data/templates/dynatree/jquery/dynatree/aero/doc_with_children.png +0 -0
  694. data/templates/dynatree/jquery/dynatree/aero/document.png +0 -0
  695. data/templates/dynatree/jquery/dynatree/aero/drop_accept.png +0 -0
  696. data/templates/dynatree/jquery/dynatree/aero/drop_here.png +0 -0
  697. data/templates/dynatree/jquery/dynatree/aero/drop_reject.png +0 -0
  698. data/templates/dynatree/jquery/dynatree/aero/drop_sibling_here.png +0 -0
  699. data/templates/dynatree/jquery/dynatree/aero/empty.png +0 -0
  700. data/templates/dynatree/jquery/dynatree/aero/expanded.png +0 -0
  701. data/templates/dynatree/jquery/dynatree/aero/expanded_hover.png +0 -0
  702. data/templates/dynatree/jquery/dynatree/aero/folder.png +0 -0
  703. data/templates/dynatree/jquery/dynatree/aero/folder_docs.png +0 -0
  704. data/templates/dynatree/jquery/dynatree/aero/folder_images.png +0 -0
  705. data/templates/dynatree/jquery/dynatree/aero/folder_page.png +0 -0
  706. data/templates/dynatree/jquery/dynatree/aero/ltDoc.png +0 -0
  707. data/templates/dynatree/jquery/dynatree/aero/ltError.png +0 -0
  708. data/templates/dynatree/jquery/dynatree/aero/move_here.png +0 -0
  709. data/templates/dynatree/jquery/dynatree/aero/rbChecked.png +0 -0
  710. data/templates/dynatree/jquery/dynatree/aero/rbChecked_hover.png +0 -0
  711. data/templates/dynatree/jquery/dynatree/aero/rbIntermediate.png +0 -0
  712. data/templates/dynatree/jquery/dynatree/aero/rbIntermediate_hover.png +0 -0
  713. data/templates/dynatree/jquery/dynatree/aero/rbUnchecked.png +0 -0
  714. data/templates/dynatree/jquery/dynatree/aero/rbUnchecked_hover.png +0 -0
  715. data/templates/dynatree/jquery/dynatree/aqua/cbChecked.png +0 -0
  716. data/templates/dynatree/jquery/dynatree/aqua/cbChecked_hover.png +0 -0
  717. data/templates/dynatree/jquery/dynatree/aqua/cbIntermediate.png +0 -0
  718. data/templates/dynatree/jquery/dynatree/aqua/cbIntermediate_hover.png +0 -0
  719. data/templates/dynatree/jquery/dynatree/aqua/cbUnchecked.png +0 -0
  720. data/templates/dynatree/jquery/dynatree/aqua/cbUnchecked_hover.png +0 -0
  721. data/templates/dynatree/jquery/dynatree/aqua/collapsed.png +0 -0
  722. data/templates/dynatree/jquery/dynatree/aqua/collapsed_hover.png +0 -0
  723. data/templates/dynatree/jquery/dynatree/aqua/copy_here.png +0 -0
  724. data/templates/dynatree/jquery/dynatree/aqua/customDoc1.png +0 -0
  725. data/templates/dynatree/jquery/dynatree/aqua/customFolder1.png +0 -0
  726. data/templates/dynatree/jquery/dynatree/aqua/doc_with_children.png +0 -0
  727. data/templates/dynatree/jquery/dynatree/aqua/document.png +0 -0
  728. data/templates/dynatree/jquery/dynatree/aqua/drop_accept.png +0 -0
  729. data/templates/dynatree/jquery/dynatree/aqua/drop_here.png +0 -0
  730. data/templates/dynatree/jquery/dynatree/aqua/drop_reject.png +0 -0
  731. data/templates/dynatree/jquery/dynatree/aqua/drop_sibling_here.png +0 -0
  732. data/templates/dynatree/jquery/dynatree/aqua/empty.png +0 -0
  733. data/templates/dynatree/jquery/dynatree/aqua/expanded.png +0 -0
  734. data/templates/dynatree/jquery/dynatree/aqua/expanded_hover.png +0 -0
  735. data/templates/dynatree/jquery/dynatree/aqua/folder.png +0 -0
  736. data/templates/dynatree/jquery/dynatree/aqua/folder_docs.png +0 -0
  737. data/templates/dynatree/jquery/dynatree/aqua/folder_images.png +0 -0
  738. data/templates/dynatree/jquery/dynatree/aqua/folder_open.png +0 -0
  739. data/templates/dynatree/jquery/dynatree/aqua/folder_page.png +0 -0
  740. data/templates/dynatree/jquery/dynatree/aqua/ltDoc.png +0 -0
  741. data/templates/dynatree/jquery/dynatree/aqua/ltError.png +0 -0
  742. data/templates/dynatree/jquery/dynatree/aqua/move_here.png +0 -0
  743. data/templates/dynatree/jquery/dynatree/aqua/rbChecked.png +0 -0
  744. data/templates/dynatree/jquery/dynatree/aqua/rbChecked_hover.png +0 -0
  745. data/templates/dynatree/jquery/dynatree/aqua/rbIntermediate.png +0 -0
  746. data/templates/dynatree/jquery/dynatree/aqua/rbIntermediate_hover.png +0 -0
  747. data/templates/dynatree/jquery/dynatree/aqua/rbUnchecked.png +0 -0
  748. data/templates/dynatree/jquery/dynatree/aqua/rbUnchecked_hover.png +0 -0
  749. data/templates/dynatree/jquery/dynatree/crystal/cbChecked.png +0 -0
  750. data/templates/dynatree/jquery/dynatree/crystal/cbChecked_hover.png +0 -0
  751. data/templates/dynatree/jquery/dynatree/crystal/cbIntermediate.png +0 -0
  752. data/templates/dynatree/jquery/dynatree/crystal/cbIntermediate_hover.png +0 -0
  753. data/templates/dynatree/jquery/dynatree/crystal/cbUnchecked.png +0 -0
  754. data/templates/dynatree/jquery/dynatree/crystal/cbUnchecked_hover.png +0 -0
  755. data/templates/dynatree/jquery/dynatree/crystal/collapsed.png +0 -0
  756. data/templates/dynatree/jquery/dynatree/crystal/collapsed_hover.png +0 -0
  757. data/templates/dynatree/jquery/dynatree/crystal/copy_here.png +0 -0
  758. data/templates/dynatree/jquery/dynatree/crystal/customDoc1.png +0 -0
  759. data/templates/dynatree/jquery/dynatree/crystal/customFolder1.png +0 -0
  760. data/templates/dynatree/jquery/dynatree/crystal/doc_with_children.png +0 -0
  761. data/templates/dynatree/jquery/dynatree/crystal/document.png +0 -0
  762. data/templates/dynatree/jquery/dynatree/crystal/drop_accept.png +0 -0
  763. data/templates/dynatree/jquery/dynatree/crystal/drop_here.png +0 -0
  764. data/templates/dynatree/jquery/dynatree/crystal/drop_reject.png +0 -0
  765. data/templates/dynatree/jquery/dynatree/crystal/drop_sibling_here.png +0 -0
  766. data/templates/dynatree/jquery/dynatree/crystal/empty.png +0 -0
  767. data/templates/dynatree/jquery/dynatree/crystal/expanded.png +0 -0
  768. data/templates/dynatree/jquery/dynatree/crystal/expanded_hover.png +0 -0
  769. data/templates/dynatree/jquery/dynatree/crystal/folder.png +0 -0
  770. data/templates/dynatree/jquery/dynatree/crystal/folder_docs.png +0 -0
  771. data/templates/dynatree/jquery/dynatree/crystal/folder_images.png +0 -0
  772. data/templates/dynatree/jquery/dynatree/crystal/folder_open.png +0 -0
  773. data/templates/dynatree/jquery/dynatree/crystal/folder_page.png +0 -0
  774. data/templates/dynatree/jquery/dynatree/crystal/ltDoc.png +0 -0
  775. data/templates/dynatree/jquery/dynatree/crystal/ltError.png +0 -0
  776. data/templates/dynatree/jquery/dynatree/crystal/move_here.png +0 -0
  777. data/templates/dynatree/jquery/dynatree/crystal/rbChecked.png +0 -0
  778. data/templates/dynatree/jquery/dynatree/crystal/rbChecked_hover.png +0 -0
  779. data/templates/dynatree/jquery/dynatree/crystal/rbIntermediate.png +0 -0
  780. data/templates/dynatree/jquery/dynatree/crystal/rbIntermediate_hover.png +0 -0
  781. data/templates/dynatree/jquery/dynatree/crystal/rbUnchecked.png +0 -0
  782. data/templates/dynatree/jquery/dynatree/crystal/rbUnchecked_hover.png +0 -0
  783. data/templates/dynatree/jquery/dynatree/xp/cbChecked.png +0 -0
  784. data/templates/dynatree/jquery/dynatree/xp/cbChecked_hover.png +0 -0
  785. data/templates/dynatree/jquery/dynatree/xp/cbIntermediate.png +0 -0
  786. data/templates/dynatree/jquery/dynatree/xp/cbIntermediate_hover.png +0 -0
  787. data/templates/dynatree/jquery/dynatree/xp/cbUnchecked.png +0 -0
  788. data/templates/dynatree/jquery/dynatree/xp/cbUnchecked_hover.png +0 -0
  789. data/templates/dynatree/jquery/dynatree/xp/copy_here.png +0 -0
  790. data/templates/dynatree/jquery/dynatree/xp/customDoc1.png +0 -0
  791. data/templates/dynatree/jquery/dynatree/xp/customFolder1.png +0 -0
  792. data/templates/dynatree/jquery/dynatree/xp/drop_accept.png +0 -0
  793. data/templates/dynatree/jquery/dynatree/xp/drop_here.png +0 -0
  794. data/templates/dynatree/jquery/dynatree/xp/drop_reject.png +0 -0
  795. data/templates/dynatree/jquery/dynatree/xp/drop_sibling_here.png +0 -0
  796. data/templates/dynatree/jquery/dynatree/xp/ltD_ne.png +0 -0
  797. data/templates/dynatree/jquery/dynatree/xp/ltD_nes.png +0 -0
  798. data/templates/dynatree/jquery/dynatree/xp/ltDoc.png +0 -0
  799. data/templates/dynatree/jquery/dynatree/xp/ltError.png +0 -0
  800. data/templates/dynatree/jquery/dynatree/xp/ltFld.png +0 -0
  801. data/templates/dynatree/jquery/dynatree/xp/ltFld_o.png +0 -0
  802. data/templates/dynatree/jquery/dynatree/xp/ltL_.png +0 -0
  803. data/templates/dynatree/jquery/dynatree/xp/ltL_ne.png +0 -0
  804. data/templates/dynatree/jquery/dynatree/xp/ltL_nes.png +0 -0
  805. data/templates/dynatree/jquery/dynatree/xp/ltL_ns.png +0 -0
  806. data/templates/dynatree/jquery/dynatree/xp/ltM_ne.png +0 -0
  807. data/templates/dynatree/jquery/dynatree/xp/ltM_nes.png +0 -0
  808. data/templates/dynatree/jquery/dynatree/xp/ltP_ne.png +0 -0
  809. data/templates/dynatree/jquery/dynatree/xp/ltP_nes.png +0 -0
  810. data/templates/dynatree/jquery/dynatree/xp/move_here.png +0 -0
  811. data/templates/dynatree/jquery/dynatree/xp/rbChecked.png +0 -0
  812. data/templates/dynatree/jquery/dynatree/xp/rbChecked_hover.png +0 -0
  813. data/templates/dynatree/jquery/dynatree/xp/rbIntermediate.png +0 -0
  814. data/templates/dynatree/jquery/dynatree/xp/rbIntermediate_hover.png +0 -0
  815. data/templates/dynatree/jquery/dynatree/xp/rbUnchecked.png +0 -0
  816. data/templates/dynatree/jquery/dynatree/xp/rbUnchecked_hover.png +0 -0
  817. data/templates/jrails/i18n/jquery.ui/datepicker-ar.min.js +0 -2
  818. data/templates/jrails/i18n/jquery.ui/datepicker-fr.js +0 -23
  819. data/templates/jrails/i18n/jquery.ui/datepicker-fr.min.js +0 -2
  820. data/templates/jrails/jquery-ui.min.js +0 -825
  821. data/templates/jrails/jquery.sparkline.min.js +0 -31
@@ -1,209 +1,219 @@
1
1
  /*
2
2
 
3
- FullCalendar v1.4.7
3
+ FullCalendar v1.4.9
4
4
  http://arshaw.com/fullcalendar/
5
5
 
6
6
  Use fullcalendar.css for basic styling.
7
- For event drag & drop, required jQuery UI draggable.
7
+ For event drag & drop, requires jQuery UI draggable.
8
8
  For event resizing, requires jQuery UI resizable.
9
9
 
10
- Copyright (c) 2009 Adam Shaw
11
- Dual licensed under the MIT and GPL licenses:
12
- http://www.opensource.org/licenses/mit-license.php
13
- http://www.gnu.org/licenses/gpl.html
10
+ Copyright (c) 2010 Adam Shaw
11
+ Dual licensed under the MIT and GPL licenses, located in
12
+ MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
14
13
 
15
- Date: Mon Jul 5 16:07:40 2010 -0700
14
+ Date: Fri Nov 19 22:45:44 2010 -0800
16
15
 
17
16
  */
18
- var AnyTime={pad:function(e,ca){for(var sa=String(Math.abs(e));sa.length<ca;)sa="0"+sa;if(e<0)sa="-"+sa;return sa}};
19
- (function(e){var ca=[31,28,31,30,31,30,31,31,30,31,30,31],sa=null,db=false,Ra=navigator.userAgent.indexOf("MSIE 6")>0,Sa=navigator.userAgent.indexOf("MSIE 7")>0,Ta=[];jQuery.prototype.AnyTime_picker=function(X){return this.each(function(){AnyTime.picker(this.id,X)})};jQuery.prototype.AnyTime_noPicker=function(){return this.each(function(){AnyTime.noPicker(this.id)})};jQuery.prototype.AnyTime_height=function(X){return Ra?Number(this.css("height").replace(/[^0-9]/g,"")):this.outerHeight(X)};jQuery.prototype.AnyTime_width=
20
- function(X){return Ra?1+Number(this.css("width").replace(/[^0-9]/g,"")):this.outerWidth(X)};jQuery.prototype.AnyTime_current=function(X,V){if(X){this.removeClass("AnyTime-out-btn ui-state-default ui-state-disabled ui-state-highlight");this.addClass("AnyTime-cur-btn ui-state-default ui-state-highlight")}else{this.removeClass("AnyTime-cur-btn ui-state-highlight");V?this.removeClass("AnyTime-out-btn ui-state-disabled"):this.addClass("AnyTime-out-btn ui-state-disabled")}};jQuery.prototype.AnyTime_clickCurrent=
21
- function(){this.find(".AnyTime-cur-btn").triggerHandler("click")};e(document).ready(function(){if(Ra){sa=e('<iframe frameborder="0" scrolling="no"></iframe>');sa.src="javascript:'<html></html>';";e(sa).css({display:"block",height:"1px",left:"0",top:"0",width:"1px",zIndex:0});e(document.body).append(sa)}for(var X in Ta)Array.prototype[X]||Ta[X].onReady();db=true});AnyTime.Converter=function(X){var V=0,y=9,f=9,b=6,d=3,h=Number.MIN_VALUE,O=Number.MIN_VALUE,E=Number.MIN_VALUE,Y=-1,w=Number.MIN_VALUE,
22
- aa=-1,W=false;this.fmt="%Y-%m-%d %T";this.dAbbr=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];this.dNames=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];this.eAbbr=["BCE","CE"];this.mAbbr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];this.mNames=["January","February","March","April","May","June","July","August","September","October","November","December"];this.baseYear=null;this.dAt=function(o,r){return o.charCodeAt(r)>="0".charCodeAt(0)&&o.charCodeAt(r)<=
23
- "9".charCodeAt(0)};this.format=function(o){o=new Date(o.getTime());h==Number.MIN_VALUE&&E!=Number.MIN_VALUE&&o.setTime(o.getTime()+o.getTimezoneOffset()*6E4+E*6E4);for(var r,q="",z=0;z<V;z++)if(this.fmt.charAt(z)!="%")q+=this.fmt.charAt(z);else{var j=this.fmt.charAt(z+1);switch(j){case "a":q+=this.dAbbr[o.getDay()];break;case "B":if(o.getFullYear()<0)q+=this.eAbbr[0];break;case "b":q+=this.mAbbr[o.getMonth()];break;case "C":if(o.getFullYear()>0)q+=this.eAbbr[1];break;case "c":q+=o.getMonth()+1;break;
24
- case "d":r=o.getDate();if(r<10)q+="0";q+=String(r);break;case "D":r=String(o.getDate());q+=r;if(r.length==2&&r.charAt(0)=="1")q+="th";else switch(r.charAt(r.length-1)){case "1":q+="st";break;case "2":q+="nd";break;case "3":q+="rd";break;default:q+="th"}break;case "E":q+=this.eAbbr[o.getFullYear()<0?0:1];break;case "e":q+=o.getDate();break;case "H":r=o.getHours();if(r<10)q+="0";q+=String(r);break;case "h":case "I":r=o.getHours()%12;if(r==0)q+="12";else{if(r<10)q+="0";q+=String(r)}break;case "i":r=
25
- o.getMinutes();if(r<10)q+="0";q+=String(r);break;case "k":q+=o.getHours();break;case "l":r=o.getHours()%12;q+=r==0?"12":String(r);break;case "M":q+=this.mNames[o.getMonth()];break;case "m":r=o.getMonth()+1;if(r<10)q+="0";q+=String(r);break;case "p":q+=o.getHours()<12?"AM":"PM";break;case "r":r=o.getHours()%12;if(r==0)q+="12:";else{if(r<10)q+="0";q+=String(r)+":"}r=o.getMinutes();if(r<10)q+="0";q+=String(r)+":";r=o.getSeconds();if(r<10)q+="0";q+=String(r);q+=o.getHours()<12?"AM":"PM";break;case "S":case "s":r=
26
- o.getSeconds();if(r<10)q+="0";q+=String(r);break;case "T":r=o.getHours();if(r<10)q+="0";q+=String(r)+":";r=o.getMinutes();if(r<10)q+="0";q+=String(r)+":";r=o.getSeconds();if(r<10)q+="0";q+=String(r);break;case "W":q+=this.dNames[o.getDay()];break;case "w":q+=o.getDay();break;case "Y":q+=AnyTime.pad(o.getFullYear(),4);break;case "y":r=o.getFullYear()%100;q+=AnyTime.pad(r,2);break;case "Z":q+=AnyTime.pad(Math.abs(o.getFullYear()),4);break;case "z":q+=Math.abs(o.getFullYear());break;case "%":q+="%";
27
- break;case "#":r=h!=Number.MIN_VALUE?h:E==Number.MIN_VALUE?0-o.getTimezoneOffset():E;if(r>=0)q+="+";q+=r;break;case "@":r=h!=Number.MIN_VALUE?h:E==Number.MIN_VALUE?0-o.getTimezoneOffset():E;if(AnyTime.utcLabel&&AnyTime.utcLabel[r]){q+=Y>0&&Y<AnyTime.utcLabel[r].length?AnyTime.utcLabel[r][Y]:AnyTime.utcLabel[r][0];break}q+="UTC";j=":";case "+":case "-":case ":":case ";":r=h!=Number.MIN_VALUE?h:E==Number.MIN_VALUE?0-o.getTimezoneOffset():E;q+=r<0?"-":"+";r=Math.abs(r);q+=j=="+"||j==":"?AnyTime.pad(Math.floor(r/
28
- 60),2):Math.floor(r/60);if(j==":"||j==";")q+=":";q+=AnyTime.pad(r%60,2);break;case "f":case "j":case "U":case "u":case "V":case "v":case "X":case "x":throw"%"+j+" not implemented by AnyTime.Converter";default:q+=this.fmt.substr(z,2)}z++}return q};this.getUtcParseOffsetCaptured=function(){return O};this.getUtcParseOffsetSubIndex=function(){return aa};this.parse=function(o){O=w;aa=-1;for(var r=1,q=new Date(0,0,1,0,0,0,0),z=o.length,j=0,ia=1,T=w,J,ba,Ha,U,Ma=0;Ma<V;Ma++)if(this.fmt.charAt(Ma)=="%"){ba=
29
- this.fmt.charAt(Ma+1);switch(ba){case "a":ba=false;for(U=0;j+U<z;U++){Ha=o.substr(j,U);for(J=0;J<12;J++)if(this.dAbbr[J]==Ha){ba=true;j+=U;break}if(ba)break}if(!ba)throw"unknown weekday: "+o.substr(j);break;case "B":U=this.eAbbr[0].length;if(j+U<=z&&o.substr(j,U)==this.eAbbr[0]){r=-1;j+=U}break;case "b":ba=false;for(U=0;j+U<z;U++){Ha=o.substr(j,U);for(J=0;J<12;J++)if(this.mAbbr[J]==Ha){q.setMonth(J);ba=true;j+=U;break}if(ba)break}if(!ba)throw"unknown month: "+o.substr(j);break;case "C":U=this.eAbbr[1].length;
30
- if(j+U<=z&&o.substr(j,U)==this.eAbbr[1])j+=U;break;case "c":if(j+1<z&&this.dAt(o,j+1)){q.setMonth((Number(o.substr(j,2))-1)%12);j+=2}else{q.setMonth((Number(o.substr(j,1))-1)%12);j++}break;case "D":if(j+1<z&&this.dAt(o,j+1)){q.setDate(Number(o.substr(j,2)));j+=4}else{q.setDate(Number(o.substr(j,1)));j+=3}break;case "d":q.setDate(Number(o.substr(j,2)));j+=2;break;case "E":U=this.eAbbr[0].length;if(j+U<=z&&o.substr(j,U)==this.eAbbr[0]){r=-1;j+=U}else if(j+(U=this.eAbbr[1].length)<=z&&o.substr(j,U)==
31
- this.eAbbr[1])j+=U;else throw"unknown era: "+o.substr(j);break;case "e":if(j+1<z&&this.dAt(o,j+1)){q.setDate(Number(o.substr(j,2)));j+=2}else{q.setDate(Number(o.substr(j,1)));j++}break;case "f":j+=6;break;case "H":q.setHours(Number(o.substr(j,2)));j+=2;break;case "h":case "I":q.setHours(Number(o.substr(j,2)));j+=2;break;case "i":q.setMinutes(Number(o.substr(j,2)));j+=2;break;case "k":if(j+1<z&&this.dAt(o,j+1)){q.setHours(Number(o.substr(j,2)));j+=2}else{q.setHours(Number(o.substr(j,1)));j++}break;
32
- case "l":if(j+1<z&&this.dAt(o,j+1)){q.setHours(Number(o.substr(j,2)));j+=2}else{q.setHours(Number(o.substr(j,1)));j++}break;case "M":ba=false;for(U=d;j+U<=z;U++){if(U>f)break;Ha=o.substr(j,U);for(J=0;J<12;J++)if(this.mNames[J]==Ha){q.setMonth(J);ba=true;j+=U;break}if(ba)break}break;case "m":q.setMonth((Number(o.substr(j,2))-1)%12);j+=2;break;case "p":if(q.getHours()==12)o.charAt(j)=="A"&&q.setHours(0);else o.charAt(j)=="P"&&q.setHours(q.getHours()+12);j+=2;break;case "r":q.setHours(Number(o.substr(j,
33
- 2)));q.setMinutes(Number(o.substr(j+3,2)));q.setSeconds(Number(o.substr(j+6,2)));if(q.getHours()==12)o.charAt(j)=="A"&&q.setHours(0);else o.charAt(j)=="P"&&q.setHours(q.getHours()+12);j+=10;break;case "S":case "s":q.setSeconds(Number(o.substr(j,2)));j+=2;break;case "T":q.setHours(Number(o.substr(j,2)));q.setMinutes(Number(o.substr(j+3,2)));q.setSeconds(Number(o.substr(j+6,2)));j+=8;break;case "W":ba=false;for(U=b;j+U<=z;U++){if(U>y)break;Ha=o.substr(j,U);for(J=0;J<7;J++)if(this.dNames[J]==Ha){ba=
34
- true;j+=U;break}if(ba)break}break;case "w":j+=1;break;case "Y":J=4;o.substr(j,1)=="-"&&J++;q.setFullYear(Number(o.substr(j,J)));j+=J;break;case "y":J=2;o.substr(j,1)=="-"&&J++;ba=Number(o.substr(j,J));ba+=typeof this.baseYear=="number"?this.baseYear:ba<70?2E3:1900;q.setFullYear(ba);j+=J;break;case "Z":q.setFullYear(Number(o.substr(j,4)));j+=4;break;case "z":for(J=0;j<z&&this.dAt(o,j);)J=J*10+Number(o.charAt(j++));q.setFullYear(J);break;case "#":if(o.charAt(j++)=="-")ia=-1;for(T=0;j<z&&String(J=Number(o.charAt(j)))==
35
- o.charAt(j);j++)T=T*10+J;T*=ia;break;case "@":aa=-1;if(AnyTime.utcLabel){ba=false;for(T in AnyTime.utcLabel)if(!Array.prototype[T]){for(J=0;J<AnyTime.utcLabel[T].length;J++){Ha=AnyTime.utcLabel[T][J];U=Ha.length;if(j+U<=z&&o.substr(j,U)==Ha){j+=U;ba=true;break}}if(ba)break}if(ba){aa=J;T=Number(T);break}}if(j+9<z||o.substr(j,3)!="UTC")throw"unknown time zone: "+o.substr(j);j+=3;ba=":";case "-":case "+":case ":":case ";":if(o.charAt(j++)=="-")ia=-1;T=Number(o.charAt(j));if(ba=="+"||ba==":"||j+3<z&&
36
- String(Number(o.charAt(j+3)))!==o.charAt(j+3))T=T*10+Number(o.charAt(++j));T*=60;if(ba==":"||ba==";")j++;T=(T+Number(o.substr(++j,2)))*ia;j+=2;break;case "j":case "U":case "u":case "V":case "v":case "X":case "x":throw"%"+this.fmt.charAt(Ma+1)+" not implemented by AnyTime.Converter";default:throw"%"+this.fmt.charAt(Ma+1)+" reserved for future use";}Ma++}else if(this.fmt.charAt(Ma)!=o.charAt(j))throw o+' is not in "'+this.fmt+'" format';else j++;r<0&&q.setFullYear(0-q.getFullYear());if(T!=Number.MIN_VALUE)if(W)O=
37
- T;else q.setTime(q.getTime()-T*6E4-q.getTimezoneOffset()*6E4);return q};this.setUtcFormatOffsetAlleged=function(o){var r=h;h=o;return r};this.setUtcFormatOffsetSubIndex=function(o){var r=Y;Y=o;return r};(function(o){var r,q;X=jQuery.extend(true,{},X||{});if(X.baseYear)o.baseYear=Number(X.baseYear);if(X.format)o.fmt=X.format;V=o.fmt.length;if(X.dayAbbreviations)o.dAbbr=e.makeArray(X.dayAbbreviations);if(X.dayNames){o.dNames=e.makeArray(X.dayNames);y=1;b=1E3;for(r=0;r<7;r++){q=o.dNames[r].length;if(q>
38
- y)y=q;if(q<b)b=q}}if(X.eraAbbreviations)o.eAbbr=e.makeArray(X.eraAbbreviations);if(X.monthAbbreviations)o.mAbbr=e.makeArray(X.monthAbbreviations);if(X.monthNames){o.mNames=e.makeArray(X.monthNames);f=1;d=1E3;for(r=0;r<12;r++){q=o.mNames[r].length;if(q>f)f=q;if(q<d)d=q}}if(typeof X.utcFormatOffsetImposed!="undefined")E=X.utcFormatOffsetImposed;if(typeof X.utcParseOffsetAssumed!="undefined")w=X.utcParseOffsetAssumed;if(X.utcParseOffsetCapture)W=true})(this)};AnyTime.noPicker=function(X){if(Ta[X]){Ta[X].cleanup();
39
- delete Ta[X]}};AnyTime.picker=function(X,V){if(Ta[X])throw'Cannot create another AnyTime picker for "'+X+'"';var y=null;Ta[X]={twelveHr:false,ajaxOpts:null,denyTab:true,askEra:false,cloak:null,conv:null,bMinW:0,bMinH:0,dMinW:0,dMinH:0,div:null,dB:null,dD:null,dY:null,dMo:null,dDoM:null,hDoM:null,hMo:null,hTitle:null,hY:null,dT:null,dH:null,dM:null,dS:null,dO:null,earliest:null,fBtn:null,fDOW:0,hBlur:null,hClick:null,hFocus:null,hKeydown:null,hKeypress:null,id:null,inp:null,latest:null,lastAjax:null,
40
- lostFocus:false,lX:"X",lY:"Year",lO:"Time Zone",oBody:null,oConv:null,oCur:null,oDiv:null,oLab:null,oListMinW:0,oMinW:0,oSel:null,offMin:Number.MIN_VALUE,offSI:-1,offStr:"",pop:true,time:null,tMinW:0,tMinH:0,url:null,wMinW:0,wMinH:0,yAhead:null,y0XXX:null,yCur:null,yDiv:null,yLab:null,yNext:null,yPast:null,yPrior:null,initialize:function(f){y=this;this.id="AnyTime--"+f.replace(/[^-_.A-Za-z0-9]/g,"--AnyTime--");V=jQuery.extend(true,{},V||{});V.utcParseOffsetCapture=true;this.conv=new AnyTime.Converter(V);
41
- if(V.placement)if(V.placement=="inline")this.pop=false;else if(V.placement!="popup")throw"unknown placement: "+V.placement;if(V.ajaxOptions){this.ajaxOpts=jQuery.extend({},V.ajaxOptions);if(!this.ajaxOpts.success)this.ajaxOpts.success=function(z){y.inp.val(z)}}if(V.earliest)this.earliest=typeof V.earliest.getTime=="function"?V.earliest.getTime():this.conv.parse(V.earliest.toString());if(V.firstDOW){if(V.firstDOW<0||V.firstDOW>6)throw new Exception("illegal firstDOW: "+V.firstDOW);this.fDOW=V.firstDOW}if(V.latest)this.latest=
42
- typeof V.latest.getTime=="function"?V.latest.getTime():this.conv.parse(V.latest.toString());this.lX=V.labelDismiss||"X";this.lY=V.labelYear||"Year";this.lO=V.labelTimeZone||"Time Zone";var b,d,h=0;d=this.conv.fmt;this.askEra=typeof V.askEra!="undefined"?V.askEra:d.indexOf("%B")>=0||d.indexOf("%C")>=0||d.indexOf("%E")>=0;b=d.indexOf("%Y")>=0||d.indexOf("%y")>=0||d.indexOf("%Z")>=0||d.indexOf("%z")>=0;var O=d.indexOf("%b")>=0||d.indexOf("%c")>=0||d.indexOf("%M")>=0||d.indexOf("%m")>=0,E=d.indexOf("%D")>=
43
- 0||d.indexOf("%d")>=0||d.indexOf("%e")>=0,Y=b||O||E,w=(this.twelveHr=d.indexOf("%h")>=0||d.indexOf("%I")>=0||d.indexOf("%l")>=0||d.indexOf("%r")>=0)||d.indexOf("%H")>=0||d.indexOf("%k")>=0||d.indexOf("%T")>=0,aa=d.indexOf("%i")>=0||d.indexOf("%r")>=0||d.indexOf("%T")>=0,W=d.indexOf("%r")>=0||d.indexOf("%S")>=0||d.indexOf("%s")>=0||d.indexOf("%T")>=0;if(W&&typeof V.askSecond!="undefined")W=V.askSecond;var o=d.indexOf("%#")>=0||d.indexOf("%+")>=0||d.indexOf("%-")>=0||d.indexOf("%:")>=0||d.indexOf("%;")>=
44
- 0||d.indexOf("%<")>=0||d.indexOf("%>")>=0||d.indexOf("%@")>=0,r=w||aa||W||o;if(o)this.oConv=new AnyTime.Converter({format:V.formatUtcOffset||d.match(/\S*%[-+:;<>#@]\S*/g).join(" ")});this.inp=e(document.getElementById(f));this.div=e('<div class="AnyTime-win AnyTime-pkr ui-widget ui-widget-content ui-corner-all" style="width:0;height:0" id="'+this.id+'" aria-live="off"/>');this.inp.after(this.div);this.wMinW=this.div.outerWidth(!e.browser.safari);this.wMinH=this.div.AnyTime_height(true);this.hTitle=
45
- e('<h5 class="AnyTime-hdr ui-widget-header ui-corner-top"/>');this.div.append(this.hTitle);this.dB=e('<div class="AnyTime-body" style="width:0;height:0"/>');this.div.append(this.dB);this.bMinW=this.dB.outerWidth(true);this.bMinH=this.dB.AnyTime_height(true);V.hideInput&&this.inp.css({border:0,height:"1px",margin:0,padding:0,width:"1px"});f=d=null;if(this.pop){f=e('<div class="AnyTime-x-btn ui-state-default">'+this.lX+"</div>");this.hTitle.append(f);f.click(function(z){y.dismiss(z)})}f="";if(Y){this.dD=
46
- e('<div class="AnyTime-date" style="width:0;height:0"/>');this.dB.append(this.dD);this.dMinW=this.dD.outerWidth(true);this.dMinH=this.dD.AnyTime_height(true);if(b){this.yLab=e('<h6 class="AnyTime-lbl AnyTime-lbl-yr">'+this.lY+"</h6>");this.dD.append(this.yLab);this.dY=e('<ul class="AnyTime-yrs ui-helper-reset" />');this.dD.append(this.dY);this.yPast=this.btn(this.dY,"&lt;",this.newYear,["yrs-past"],"- "+this.lY);this.yPrior=this.btn(this.dY,"1",this.newYear,["yr-prior"],"-1 "+this.lY);this.yCur=this.btn(this.dY,
47
- "2",this.newYear,["yr-cur"],this.lY);this.yCur.removeClass("ui-state-default");this.yCur.addClass("AnyTime-cur-btn ui-state-default ui-state-highlight");this.yNext=this.btn(this.dY,"3",this.newYear,["yr-next"],"+1 "+this.lY);this.yAhead=this.btn(this.dY,"&gt;",this.newYear,["yrs-ahead"],"+ "+this.lY);h++}if(O){f=V.labelMonth||"Month";this.hMo=e('<h6 class="AnyTime-lbl AnyTime-lbl-month">'+f+"</h6>");this.dD.append(this.hMo);this.dMo=e('<ul class="AnyTime-mons" />');this.dD.append(this.dMo);for(b=
48
- 0;b<12;b++)this.btn(this.dMo,this.conv.mAbbr[b],function(z){var j=e(z.target);if(!j.hasClass("AnyTime-out-btn")){z=z.target.AnyTime_month;var ia=new Date(this.time.getTime());ia.getDate()>ca[z]&&ia.setDate(ca[z]);ia.setMonth(z);this.set(ia);this.upd(j)}},["mon","mon"+String(b+1)],f+" "+this.conv.mNames[b])[0].AnyTime_month=b;h++}if(E){f=V.labelDayOfMonth||"Day of Month";this.hDoM=e('<h6 class="AnyTime-lbl AnyTime-lbl-dom">'+f+"</h6>");this.dD.append(this.hDoM);this.dDoM=e('<table border="0" cellpadding="0" cellspacing="0" class="AnyTime-dom-table"/>');
49
- this.dD.append(this.dDoM);d=e('<thead class="AnyTime-dom-head"/>');this.dDoM.append(d);E=e('<tr class="AnyTime-dow"/>');d.append(E);for(b=0;b<7;b++)E.append('<th class="AnyTime-dow AnyTime-dow'+String(b+1)+'">'+this.conv.dAbbr[(this.fDOW+b)%7]+"</th>");d=e('<tbody class="AnyTime-dom-body" />');this.dDoM.append(d);for(O=0;O<6;O++){E=e('<tr class="AnyTime-wk AnyTime-wk'+String(O+1)+'"/>');d.append(E);for(b=0;b<7;b++)this.btn(E,"x",function(z){z=e(z.target);if(!z.hasClass("AnyTime-out-btn")){var j=Number(z.html());
50
- if(j){var ia=new Date(this.time.getTime());ia.setDate(j);this.set(ia);this.upd(z)}}},["dom"],f)}h++}}if(r){this.dT=e('<div class="AnyTime-time" style="width:0;height:0" />');this.dB.append(this.dT);this.tMinW=this.dT.outerWidth(true);this.tMinH=this.dT.AnyTime_height(true);if(w){this.dH=e('<div class="AnyTime-hrs"/>');this.dT.append(this.dH);f=V.labelHour||"Hour";this.dH.append(e('<h6 class="AnyTime-lbl AnyTime-lbl-hr">'+f+"</h6>"));w=e('<ul class="AnyTime-hrs-am"/>');this.dH.append(w);E=e('<ul class="AnyTime-hrs-pm"/>');
51
- this.dH.append(E);for(b=0;b<12;b++){d=this.twelveHr?b==0?"12am":String(b)+"am":AnyTime.pad(b,2);this.btn(w,d,this.newHour,["hr","hr"+String(b)],f+" "+d);d=this.twelveHr?b==0?"12pm":String(b)+"pm":b+12;this.btn(E,d,this.newHour,["hr","hr"+String(b+12)],f+" "+d)}h++}if(aa){this.dM=e('<div class="AnyTime-mins"/>');this.dT.append(this.dM);f=V.labelMinute||"Minute";this.dM.append(e('<h6 class="AnyTime-lbl AnyTime-lbl-min">'+f+"</h6>"));aa=e('<ul class="AnyTime-mins-tens"/>');this.dM.append(aa);for(b=0;b<
52
- 6;b++)this.btn(aa,b,function(z){z=e(z.target);if(!z.hasClass("AnyTime-out-btn")){var j=new Date(this.time.getTime());j.setMinutes(Number(z.text())*10+this.time.getMinutes()%10);this.set(j);this.upd(z)}},["min-ten","min"+b+"0"],f+" "+b+"0");for(;b<12;b++)this.btn(aa,"&#160;",e.noop,["min-ten","min"+b+"0"],f+" "+b+"0").addClass("AnyTime-min-ten-btn-empty ui-state-default ui-state-disabled");aa=e('<ul class="AnyTime-mins-ones"/>');this.dM.append(aa);for(b=0;b<10;b++)this.btn(aa,b,function(z){z=e(z.target);
53
- if(!z.hasClass("AnyTime-out-btn")){var j=new Date(this.time.getTime());j.setMinutes(Math.floor(this.time.getMinutes()/10)*10+Number(z.text()));this.set(j);this.upd(z)}},["min-one","min"+b],f+" "+b);for(;b<12;b++)this.btn(aa,"&#160;",e.noop,["min-one","min"+b+"0"],f+" "+b).addClass("AnyTime-min-one-btn-empty ui-state-default ui-state-disabled");h++}if(W){this.dS=e('<div class="AnyTime-secs"/>');this.dT.append(this.dS);f=V.labelSecond||"Second";this.dS.append(e('<h6 class="AnyTime-lbl AnyTime-lbl-sec">'+
54
- f+"</h6>"));aa=e('<ul class="AnyTime-secs-tens"/>');this.dS.append(aa);for(b=0;b<6;b++)this.btn(aa,b,function(z){z=e(z.target);if(!z.hasClass("AnyTime-out-btn")){var j=new Date(this.time.getTime());j.setSeconds(Number(z.text())*10+this.time.getSeconds()%10);this.set(j);this.upd(z)}},["sec-ten","sec"+b+"0"],f+" "+b+"0");for(;b<12;b++)this.btn(aa,"&#160;",e.noop,["sec-ten","sec"+b+"0"],f+" "+b+"0").addClass("AnyTime-sec-ten-btn-empty ui-state-default ui-state-disabled");aa=e('<ul class="AnyTime-secs-ones"/>');
55
- this.dS.append(aa);for(b=0;b<10;b++)this.btn(aa,b,function(z){z=e(z.target);if(!z.hasClass("AnyTime-out-btn")){var j=new Date(this.time.getTime());j.setSeconds(Math.floor(this.time.getSeconds()/10)*10+Number(z.text()));this.set(j);this.upd(z)}},["sec-one","sec"+b],f+" "+b);for(;b<12;b++)this.btn(aa,"&#160;",e.noop,["sec-one","sec"+b+"0"],f+" "+b).addClass("AnyTime-sec-one-btn-empty ui-state-default ui-state-disabled");h++}if(o){this.dO=e('<div class="AnyTime-offs" />');this.dT.append(this.dO);this.oMinW=
56
- this.dO.outerWidth(true);this.oLab=e('<h6 class="AnyTime-lbl AnyTime-lbl-off">'+this.lO+"</h6>");this.dO.append(this.oLab);W=e('<ul class="AnyTime-off-list ui-helper-reset" />');this.dO.append(W);this.oCur=this.btn(W,"",this.newOffset,["off","off-cur"],f);this.oCur.removeClass("ui-state-default");this.oCur.addClass("AnyTime-cur-btn ui-state-default ui-state-highlight");this.oCur.css({overflow:"hidden"});this.oSel=this.btn(W,"&#177;",this.newOffset,["off","off-select"],"+/- "+this.lO);this.oListMinW=
57
- this.oCur.outerWidth(true)+this.oSel.outerWidth(true);h++}}if(V.labelTitle)this.hTitle.append(V.labelTitle);else h>1?this.hTitle.append("Select a "+(Y?r?"Date and Time":"Date":"Time")):this.hTitle.append("Select");try{this.time=this.conv.parse(this.inp.val());this.offMin=this.conv.getUtcParseOffsetCaptured();this.offSI=this.conv.getUtcParseOffsetSubIndex()}catch(q){this.time=new Date}this.lastAjax=this.time;if(this.pop){this.div.hide();sa&&sa.hide();this.div.css("position","absolute")}this.inp.blur(this.hBlur=
58
- function(z){y.inpBlur(z)});this.inp.click(this.hClick=function(z){y.showPkr(z)});this.inp.focus(this.hFocus=function(z){y.lostFocus&&y.showPkr(z);y.lostFocus=false});this.inp.keydown(this.hKeydown=function(z){y.key(z)});this.inp.keypress(this.hKeypress=function(z){e.browser.opera&&y.denyTab&&z.preventDefault()});this.div.click(function(){y.lostFocus=false;y.inp.focus()});e(window).resize(function(z){y.pos(z)});db&&this.onReady()},ajax:function(){if(this.ajaxOpts&&this.time.getTime()!=this.lastAjax.getTime())try{var f=
59
- jQuery.extend({},this.ajaxOpts);if(typeof f.data=="object")f.data[this.inp[0].name||this.inp[0].id]=this.inp.val();else{var b=(this.inp[0].name||this.inp[0].id)+"="+encodeURI(this.inp.val());if(f.data)f.data+="&"+b;else f.data=b}e.ajax(f);this.lastAjax=this.time}catch(d){}},askOffset:function(f){if(this.oDiv){this.cloak.show();this.oDiv.show()}else{this.makeCloak();this.oDiv=e('<div class="AnyTime-win AnyTime-off-selector ui-widget ui-widget-content ui-corner-all" style="position:absolute" />');this.div.append(this.oDiv);
60
- var b=e('<h5 class="AnyTime-hdr AnyTime-hdr-off-selector ui-widget-header ui-corner-top" />');this.oDiv.append(b);this.oBody=e('<div class="AnyTime-body AnyTime-body-off-selector" style="overflow:auto;white-space:nowrap" />');this.oDiv.append(this.oBody);var d=this.oBody.AnyTime_height(true),h=this.oBody.AnyTime_width(true),O=b.AnyTime_width(true),E=e('<div class="AnyTime-x-btn ui-state-default">'+this.lX+"</div>");b.append(E);E.click(function(q){y.dismissODiv(q)});b.append(this.lO);if(Ra||Sa)b.width(String(this.lO.length*
61
- 0.8)+"em");h=b.AnyTime_width(true)-h;E=e('<ul class="AnyTime-off-off" />');var Y=null;this.oBody.append(E);var w=this.oConv.fmt.indexOf("%@")>=0,aa=0;if(AnyTime.utcLabel)for(var W=-720;W<720;W++)if(AnyTime.utcLabel[W]){this.oConv.setUtcFormatOffsetAlleged(W);for(var o=0;o<AnyTime.utcLabel[W].length;o++){this.oConv.setUtcFormatOffsetSubIndex(o);Y=this.btn(E,this.oConv.format(this.time),this.newOPos,["off-off"],W);Y[0].AnyTime_offMin=W;Y[0].AnyTime_offSI=o;var r=Y.width();if(r>aa)aa=r;if(!w)break}}Y&&
62
- Y.addClass("AnyTime-off-off-last-btn");this.oBody.find(".AnyTime-off-off-btn").width(aa);if(Y){E=Y.AnyTime_width(true);if(E>h)h=E+1}this.oBody.width(h);h=this.oBody.AnyTime_width(true);this.oDiv.width(h);if(Ra||Sa)b.width(h-O);h=this.oDiv.AnyTime_height(true);E=this.div.height()*0.75;if(h>E){h=E;this.oBody.height(h-(b.AnyTime_height(true)+d));this.oBody.width(this.oBody.width()+20);this.oDiv.width(this.oDiv.width()+20);if(Ra||Sa)b.width(this.oBody.AnyTime_width(true)-O)}Sa||this.oDiv.height(String(h)+
63
- "px")}this.pos(f);this.updODiv(null);f=this.oDiv.find(".AnyTime-off-off-btn.AnyTime-cur-btn:first");f.length||(f=this.oDiv.find(".AnyTime-off-off-btn:first"));this.setFocus(f)},askYear:function(f){if(this.yDiv){this.cloak.show();this.yDiv.show()}else{this.makeCloak();this.yDiv=e('<div class="AnyTime-win AnyTime-yr-selector ui-widget ui-widget-content ui-corner-all" style="position:absolute" />');this.div.append(this.yDiv);var b=e('<h5 class="AnyTime-hdr AnyTime-hdr-yr-selector ui-widget-header ui-corner-top" />');
64
- this.yDiv.append(b);var d=e('<div class="AnyTime-x-btn ui-state-default">'+this.lX+"</div>");b.append(d);d.click(function(E){y.dismissYDiv(E)});b.append(this.lY);d=e('<div class="AnyTime-body AnyTime-body-yr-selector" />');var h=d.AnyTime_width(true),O=0;this.yDiv.append(d);cont=e('<ul class="AnyTime-yr-mil" />');d.append(cont);this.y0XXX=this.btn(cont,0,this.newYPos,["mil","mil0"],this.lY+" 0000");for(i=1;i<10;i++)this.btn(cont,i,this.newYPos,["mil","mil"+i],this.lY+" "+i+"000");h+=cont.AnyTime_width(true);
65
- if(O<cont.AnyTime_height(true))O=cont.AnyTime_height(true);cont=e('<ul class="AnyTime-yr-cent" />');d.append(cont);for(i=0;i<10;i++)this.btn(cont,i,this.newYPos,["cent","cent"+i],this.lY+" "+i+"00");h+=cont.AnyTime_width(true);if(O<cont.AnyTime_height(true))O=cont.AnyTime_height(true);cont=e('<ul class="AnyTime-yr-dec" />');d.append(cont);for(i=0;i<10;i++)this.btn(cont,i,this.newYPos,["dec","dec"+i],this.lY+" "+i+"0");h+=cont.AnyTime_width(true);if(O<cont.AnyTime_height(true))O=cont.AnyTime_height(true);
66
- cont=e('<ul class="AnyTime-yr-yr" />');d.append(cont);for(i=0;i<10;i++)this.btn(cont,i,this.newYPos,["yr","yr"+i],this.lY+" "+i);h+=cont.AnyTime_width(true);if(O<cont.AnyTime_height(true))O=cont.AnyTime_height(true);if(this.askEra){cont=e('<ul class="AnyTime-yr-era" />');d.append(cont);this.btn(cont,this.conv.eAbbr[0],function(E){var Y=new Date(this.time.getTime()),w=Y.getFullYear();w>0&&Y.setFullYear(0-w);this.set(Y);this.updYDiv(e(E.target))},["era","bce"],this.conv.eAbbr[0]);this.btn(cont,this.conv.eAbbr[1],
67
- function(E){var Y=new Date(this.time.getTime()),w=Y.getFullYear();w<0&&Y.setFullYear(0-w);this.set(Y);this.updYDiv(e(E.target))},["era","ce"],this.conv.eAbbr[1]);h+=cont.AnyTime_width(true);if(O<cont.AnyTime_height(true))O=cont.AnyTime_height(true)}if(e.browser.msie)h+=1;else if(e.browser.safari)h+=2;O+=d.AnyTime_height(true);d.css("width",String(h)+"px");Sa||d.css("height",String(O)+"px");if(Ra||Sa)b.width(d.outerWidth(true));O+=b.AnyTime_height(true);if(b.AnyTime_width(true)>h)h=b.AnyTime_width(true);
68
- this.yDiv.css("width",String(h)+"px");Sa||this.yDiv.css("height",String(O)+"px")}this.pos(f);this.updYDiv(null);this.setFocus(this.yDiv.find(".AnyTime-yr-btn.AnyTime-cur-btn:first"))},inpBlur:function(f){if(this.oDiv&&this.oDiv.is(":visible"))y.inp.focus();else{this.lostFocus=true;setTimeout(function(){if(y.lostFocus){y.div.find(".AnyTime-focus-btn").removeClass("AnyTime-focus-btn ui-state-focus");y.pop?y.dismiss(f):y.ajax()}},334)}},btn:function(f,b,d,h,O){for(var E=f[0].nodeName.toLowerCase()==
69
- "ul"?"li":"td",Y="<"+E+' class="AnyTime-btn',w=0;w<h.length;w++)Y+=" AnyTime-"+h[w]+"-btn";b=e(Y+' ui-state-default">'+b+"</"+E+">");f.append(b);b.AnyTime_title=O;b.click(function(aa){y.tempFunc=d;y.tempFunc(aa)});b.dblclick(function(aa){var W=e(this);if(W.is(".AnyTime-off-off-btn"))y.dismissODiv(aa);else if(W.is(".AnyTime-mil-btn")||W.is(".AnyTime-cent-btn")||W.is(".AnyTime-dec-btn")||W.is(".AnyTime-yr-btn")||W.is(".AnyTime-era-btn"))y.dismissYDiv(aa);else y.pop&&y.dismiss(aa)});return b},cleanup:function(){this.inp.unbind("blur",
70
- this.hBlur);this.inp.unbind("click",this.hClick);this.inp.unbind("focus",this.hFocus);this.inp.unbind("keydown",this.hKeydown);this.inp.unbind("keypress",this.hKeypress);this.div.remove()},dismiss:function(){this.ajax();this.div.hide();sa&&sa.hide();this.yDiv&&this.dismissYDiv();this.oDiv&&this.dismissODiv();this.lostFocus=true},dismissODiv:function(){this.oDiv.hide();this.cloak.hide();this.setFocus(this.oCur)},dismissYDiv:function(){this.yDiv.hide();this.cloak.hide();this.setFocus(this.yCur)},setFocus:function(f){if(!f.hasClass("AnyTime-focus-btn")){this.div.find(".AnyTime-focus-btn").removeClass("AnyTime-focus-btn ui-state-focus");
71
- this.fBtn=f;f.removeClass("ui-state-default ui-state-highlight");f.addClass("AnyTime-focus-btn ui-state-default ui-state-highlight ui-state-focus")}if(f.hasClass("AnyTime-off-off-btn")){var b=this.oBody.offset().top,d=f.offset().top;f=f.AnyTime_height(true);if(d-f<b)this.oBody.scrollTop(d+this.oBody.scrollTop()-(this.oBody.innerHeight()+b)+f*2);else d+f>b+this.oBody.innerHeight()&&this.oBody.scrollTop(d+this.oBody.scrollTop()-(b+f))}},key:function(f){var b=null;this.div.find(".AnyTime-focus-btn");
72
- var d=f.keyCode||f.which;this.denyTab=true;if(d!=16)if(d==10||d==13||d==27)if(this.oDiv&&this.oDiv.is(":visible"))this.dismissODiv(f);else if(this.yDiv&&this.yDiv.is(":visible"))this.dismissYDiv(f);else this.pop&&this.dismiss(f);else if(d==33||d==9&&f.shiftKey)if(this.fBtn.hasClass("AnyTime-off-off-btn"))d==9&&this.dismissODiv(f);else if(this.fBtn.hasClass("AnyTime-mil-btn"))d==9&&this.dismissYDiv(f);else if(this.fBtn.hasClass("AnyTime-cent-btn"))this.yDiv.find(".AnyTime-mil-btn.AnyTime-cur-btn").triggerHandler("click");
73
- else if(this.fBtn.hasClass("AnyTime-dec-btn"))this.yDiv.find(".AnyTime-cent-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr-btn"))this.yDiv.find(".AnyTime-dec-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-era-btn"))this.yDiv.find(".AnyTime-yr-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.parents(".AnyTime-yrs").length){if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-mon-btn"))if(this.dY)this.yCur.triggerHandler("click");
74
- else{if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-dom-btn"))if(d==9&&f.shiftKey){this.denyTab=false;return}else{b=new Date(this.time.getTime());if(f.shiftKey)b.setFullYear(b.getFullYear()-1);else{d=b.getMonth()-1;b.getDate()>ca[d]&&b.setDate(ca[d]);b.setMonth(d)}this.keyDateChange(b)}else if(this.fBtn.hasClass("AnyTime-hr-btn"))if(b=this.dDoM||this.dMo)b.AnyTime_clickCurrent();else if(this.dY)this.yCur.triggerHandler("click");else{if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-min-ten-btn"))if(b=
75
- this.dH||this.dDoM||this.dMo)b.AnyTime_clickCurrent();else if(this.dY)this.yCur.triggerHandler("click");else{if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-min-one-btn"))this.dM.AnyTime_clickCurrent();else if(this.fBtn.hasClass("AnyTime-sec-ten-btn"))if(b=this.dM?this.dM.find(".AnyTime-mins-ones"):this.dH||this.dDoM||this.dMo)b.AnyTime_clickCurrent();else if(this.dY)this.yCur.triggerHandler("click");else{if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-sec-one-btn"))this.dS.AnyTime_clickCurrent();
76
- else{if(this.fBtn.hasClass("AnyTime-off-btn"))if(b=this.dS?this.dS.find(".AnyTime-secs-ones"):this.dM?this.dM.find(".AnyTime-mins-ones"):this.dH||this.dDoM||this.dMo)b.AnyTime_clickCurrent();else if(this.dY)this.yCur.triggerHandler("click");else if(d==9){this.denyTab=false;return}}else if(d==34||d==9)if(this.fBtn.hasClass("AnyTime-mil-btn"))this.yDiv.find(".AnyTime-cent-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-cent-btn"))this.yDiv.find(".AnyTime-dec-btn.AnyTime-cur-btn").triggerHandler("click");
77
- else if(this.fBtn.hasClass("AnyTime-dec-btn"))this.yDiv.find(".AnyTime-yr-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr-btn")){b=this.yDiv.find(".AnyTime-era-btn.AnyTime-cur-btn");if(b.length)b.triggerHandler("click");else d==9&&this.dismissYDiv(f)}else if(this.fBtn.hasClass("AnyTime-era-btn"))d==9&&this.dismissYDiv(f);else if(this.fBtn.hasClass("AnyTime-off-off-btn"))d==9&&this.dismissODiv(f);else if(this.fBtn.parents(".AnyTime-yrs").length)if(b=this.dDoM||
78
- this.dMo||this.dH||this.dM||this.dS||this.dO)b.AnyTime_clickCurrent();else{if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-mon-btn"))if(b=this.dDoM||this.dH||this.dM||this.dS||this.dO)b.AnyTime_clickCurrent();else{if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-dom-btn"))if(d==9)if(b=this.dH||this.dM||this.dS||this.dO)b.AnyTime_clickCurrent();else{this.denyTab=false;return}else{b=new Date(this.time.getTime());if(f.shiftKey)b.setFullYear(b.getFullYear()+
79
- 1);else{d=b.getMonth()+1;b.getDate()>ca[d]&&b.setDate(ca[d]);b.setMonth(d)}this.keyDateChange(b)}else if(this.fBtn.hasClass("AnyTime-hr-btn"))if(b=this.dM||this.dS||this.dO)b.AnyTime_clickCurrent();else{if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-min-ten-btn"))this.dM.find(".AnyTime-mins-ones .AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min-one-btn"))if(b=this.dS||this.dO)b.AnyTime_clickCurrent();else{if(d==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-sec-ten-btn"))this.dS.find(".AnyTime-secs-ones .AnyTime-cur-btn").triggerHandler("click");
80
- else if(this.fBtn.hasClass("AnyTime-sec-one-btn"))if(this.dO)this.dO.AnyTime_clickCurrent();else{if(d==9){this.denyTab=false;return}}else{if(this.fBtn.hasClass("AnyTime-off-btn"))if(d==9){this.denyTab=false;return}}else if(d==35)if(this.fBtn.hasClass("AnyTime-mil-btn")||this.fBtn.hasClass("AnyTime-cent-btn")||this.fBtn.hasClass("AnyTime-dec-btn")||this.fBtn.hasClass("AnyTime-yr-btn")||this.fBtn.hasClass("AnyTime-era-btn")){b=this.yDiv.find(".AnyTime-ce-btn");b.length||(b=this.yDiv.find(".AnyTime-yr9-btn"));
81
- b.triggerHandler("click")}else if(this.fBtn.hasClass("AnyTime-dom-btn")){b=new Date(this.time.getTime());b.setDate(1);b.setMonth(b.getMonth()+1);b.setDate(b.getDate()-1);f.ctrlKey&&b.setMonth(11);this.keyDateChange(b)}else if(this.dS)this.dS.find(".AnyTime-sec9-btn").triggerHandler("click");else if(this.dM)this.dM.find(".AnyTime-min9-btn").triggerHandler("click");else if(this.dH)this.dH.find(".AnyTime-hr23-btn").triggerHandler("click");else if(this.dDoM)this.dDoM.find(".AnyTime-dom-btn-filled:last").triggerHandler("click");
82
- else if(this.dMo)this.dMo.find(".AnyTime-mon12-btn").triggerHandler("click");else this.dY&&this.yAhead.triggerHandler("click");else if(d==36)if(this.fBtn.hasClass("AnyTime-mil-btn")||this.fBtn.hasClass("AnyTime-cent-btn")||this.fBtn.hasClass("AnyTime-dec-btn")||this.fBtn.hasClass("AnyTime-yr-btn")||this.fBtn.hasClass("AnyTime-era-btn"))this.yDiv.find(".AnyTime-mil0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-dom-btn")){b=new Date(this.time.getTime());b.setDate(1);f.ctrlKey&&
83
- b.setMonth(0);this.keyDateChange(b)}else if(this.dY)this.yCur.triggerHandler("click");else if(this.dMo)this.dMo.find(".AnyTime-mon1-btn").triggerHandler("click");else if(this.dDoM)this.dDoM.find(".AnyTime-dom-btn-filled:first").triggerHandler("click");else if(this.dH)this.dH.find(".AnyTime-hr0-btn").triggerHandler("click");else if(this.dM)this.dM.find(".AnyTime-min00-btn").triggerHandler("click");else this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else if(d==37)this.fBtn.hasClass("AnyTime-dom-btn")?
84
- this.keyDateChange(new Date(this.time.getTime()-864E5)):this.keyBack();else if(d==38)this.fBtn.hasClass("AnyTime-dom-btn")?this.keyDateChange(new Date(this.time.getTime()-6048E5)):this.keyBack();else if(d==39)this.fBtn.hasClass("AnyTime-dom-btn")?this.keyDateChange(new Date(this.time.getTime()+864E5)):this.keyAhead();else if(d==40)this.fBtn.hasClass("AnyTime-dom-btn")?this.keyDateChange(new Date(this.time.getTime()+6048E5)):this.keyAhead();else if((d==86||d==118)&&f.ctrlKey){this.inp.val("").change();
85
- var h=this;setTimeout(function(){h.showPkr(null)},100);return}else this.showPkr(null);f.preventDefault()},keyAhead:function(){if(this.fBtn.hasClass("AnyTime-mil9-btn"))this.yDiv.find(".AnyTime-cent0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-cent9-btn"))this.yDiv.find(".AnyTime-dec0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-dec9-btn"))this.yDiv.find(".AnyTime-yr0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr9-btn"))this.yDiv.find(".AnyTime-bce-btn").triggerHandler("click");
86
- else if(!this.fBtn.hasClass("AnyTime-sec9-btn"))if(this.fBtn.hasClass("AnyTime-sec50-btn"))this.dS.find(".AnyTime-sec0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min9-btn"))this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min50-btn"))this.dM.find(".AnyTime-min0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-hr23-btn"))if(this.dM)this.dM.find(".AnyTime-min00-btn").triggerHandler("click");else this.dS&&
87
- this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-hr11-btn"))this.dH.find(".AnyTime-hr12-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-mon12-btn"))if(this.dDoM)this.dDoM.AnyTime_clickCurrent();else if(this.dH)this.dH.find(".AnyTime-hr0-btn").triggerHandler("click");else if(this.dM)this.dM.find(".AnyTime-min00-btn").triggerHandler("click");else this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yrs-ahead-btn"))if(this.dMo)this.dMo.find(".AnyTime-mon1-btn").triggerHandler("click");
88
- else if(this.dH)this.dH.find(".AnyTime-hr0-btn").triggerHandler("click");else if(this.dM)this.dM.find(".AnyTime-min00-btn").triggerHandler("click");else this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else this.fBtn.hasClass("AnyTime-yr-cur-btn")?this.yNext.triggerHandler("click"):this.fBtn.next().triggerHandler("click")},keyBack:function(){if(this.fBtn.hasClass("AnyTime-cent0-btn"))this.yDiv.find(".AnyTime-mil9-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-dec0-btn"))this.yDiv.find(".AnyTime-cent9-btn").triggerHandler("click");
89
- else if(this.fBtn.hasClass("AnyTime-yr0-btn"))this.yDiv.find(".AnyTime-dec9-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-bce-btn"))this.yDiv.find(".AnyTime-yr9-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr-cur-btn"))this.yPrior.triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-mon1-btn"))this.dY&&this.yCur.triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-hr0-btn"))if(this.dDoM)this.dDoM.AnyTime_clickCurrent();else if(this.dMo)this.dMo.find(".AnyTime-mon12-btn").triggerHandler("click");
90
- else this.dY&&this.yNext.triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-hr12-btn"))this.dH.find(".AnyTime-hr11-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min00-btn"))if(this.dH)this.dH.find(".AnyTime-hr23-btn").triggerHandler("click");else if(this.dDoM)this.dDoM.AnyTime_clickCurrent();else if(this.dMo)this.dMo.find(".AnyTime-mon12-btn").triggerHandler("click");else this.dY&&this.yNext.triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min0-btn"))this.dM.find(".AnyTime-min50-btn").triggerHandler("click");
91
- else if(this.fBtn.hasClass("AnyTime-sec00-btn"))if(this.dM)this.dM.find(".AnyTime-min9-btn").triggerHandler("click");else if(this.dH)this.dH.find(".AnyTime-hr23-btn").triggerHandler("click");else if(this.dDoM)this.dDoM.AnyTime_clickCurrent();else if(this.dMo)this.dMo.find(".AnyTime-mon12-btn").triggerHandler("click");else this.dY&&this.yNext.triggerHandler("click");else this.fBtn.hasClass("AnyTime-sec0-btn")?this.dS.find(".AnyTime-sec50-btn").triggerHandler("click"):this.fBtn.prev().triggerHandler("click")},
92
- keyDateChange:function(f){if(this.fBtn.hasClass("AnyTime-dom-btn")){this.set(f);this.upd(null);this.setFocus(this.dDoM.find(".AnyTime-cur-btn"))}},makeCloak:function(){if(this.cloak)this.cloak.show();else{this.cloak=e('<div class="AnyTime-cloak" style="position:absolute" />');this.div.append(this.cloak);this.cloak.click(function(f){y.oDiv&&y.oDiv.is(":visible")?y.dismissODiv(f):y.dismissYDiv(f)})}},newHour:function(f){var b,d=e(f.target);if(!d.hasClass("AnyTime-out-btn")){if(this.twelveHr){b=d.text();
93
- f=b.indexOf("a");if(f<0){f=Number(b.substr(0,b.indexOf("p")));b=f==12?12:f+12}else{f=Number(b.substr(0,f));b=f==12?0:f}}else b=Number(d.text());f=new Date(this.time.getTime());f.setHours(b);this.set(f);this.upd(d)}},newOffset:function(f){f.target==this.oSel[0]?this.askOffset(f):this.upd(this.oCur)},newOPos:function(f){f=e(f.target);this.offMin=f[0].AnyTime_offMin;this.offSI=f[0].AnyTime_offSI;this.set(new Date(this.time.getTime()));this.updODiv(f)},newYear:function(f){var b=e(f.target);if(!b.hasClass("AnyTime-out-btn")){b=
94
- b.text();if(b=="<"||b=="&lt;")this.askYear(f);else if(b==">"||b=="&gt;")this.askYear(f);else{f=new Date(this.time.getTime());f.setFullYear(Number(b));this.set(f);this.upd(this.yCur)}}},newYPos:function(f){f=e(f.target);if(!f.hasClass("AnyTime-out-btn")){var b=1,d=this.time.getFullYear();if(d<0){b=-1;d=0-d}d=AnyTime.pad(d,4);d=f.hasClass("AnyTime-mil-btn")?f.html()+d.substring(1,4):f.hasClass("AnyTime-cent-btn")?d.substring(0,1)+f.html()+d.substring(2,4):f.hasClass("AnyTime-dec-btn")?d.substring(0,
95
- 2)+f.html()+d.substring(3,4):d.substring(0,3)+f.html();if(d=="0000")d=1;var h=new Date(this.time.getTime());h.setFullYear(b*d);this.set(h);this.updYDiv(f)}},onReady:function(){this.lostFocus=true;if(this.pop)this.div.parent()!=document.body&&this.div.appendTo(document.body);else this.upd(null)},pos:function(){if(this.pop){var f=this.inp.offset(),b=e(document.body).outerWidth(true),d=this.div.outerWidth(true),h=f.left;if(h+d>b-20)h=b-(d+20);b=f.top-this.div.outerHeight(true);if(b<0)b=f.top+this.inp.outerHeight(true);
96
- this.div.css({top:String(b)+"px",left:String(h<0?0:h)+"px"})}f=this.div.offset();if(this.oDiv&&this.oDiv.is(":visible")){h=this.oLab.offset();if(this.div.css("position")=="absolute"){h.top-=f.top;h.left-=f.left;f={top:0,left:0}}b=this.oDiv.AnyTime_width(true);d=this.div.AnyTime_width(true);if(h.left+b>f.left+d){h.left=f.left+d-b;if(h.left<2)h.left=2}b=this.oDiv.AnyTime_height(true);d=this.div.AnyTime_height(true);h.top+=this.oLab.AnyTime_height(true);if(h.top+b>f.top+d)h.top-=b;if(h.top<f.top)h.top=
97
- f.top;this.oDiv.css({top:h.top+"px",left:h.left+"px"})}else if(this.yDiv&&this.yDiv.is(":visible")){h=this.yLab.offset();if(this.div.css("position")=="absolute"){h.top-=f.top;h.left-=f.left;f={top:0,left:0}}h.left+=(this.yLab.outerWidth(true)-this.yDiv.outerWidth(true))/2;this.yDiv.css({top:h.top+"px",left:h.left+"px"})}this.cloak&&this.cloak.css({top:f.top+"px",left:f.left+"px",height:String(this.div.outerHeight(true)-2)+"px",width:String(this.div.outerWidth(!e.browser.safari)-2)+"px"})},set:function(f){var b=
98
- f.getTime();this.time=this.earliest&&b<this.earliest?new Date(this.earliest):this.latest&&b>this.latest?new Date(this.latest):f},showPkr:function(f){try{this.time=this.conv.parse(this.inp.val());this.offMin=this.conv.getUtcParseOffsetCaptured();this.offSI=this.conv.getUtcParseOffsetSubIndex()}catch(b){this.time=new Date}this.set(this.time);this.upd(null);fBtn=null;if(this.dDoM)fBtn=this.dDoM.find(".AnyTime-cur-btn:first");else if(this.yCur)fBtn=this.yCur;else if(this.dMo)fBtn=this.dMo.find(".AnyTime-cur-btn:first");
99
- else if(this.dH)fBtn=this.dH.find(".AnyTime-cur-btn:first");else if(this.dM)fBtn=this.dM.find(".AnyTime-cur-btn:first");else if(this.dS)fBtn=this.dS.find(".AnyTime-cur-btn:first");this.setFocus(fBtn);this.pos(f);this.pop&&sa&&setTimeout(function(){var d=y.div.offset();sa.css({height:String(y.div.outerHeight(true))+"px",left:String(d.left)+"px",position:"absolute",top:String(d.top)+"px",width:String(y.div.outerWidth(true))+"px"});sa.show()},300)},upd:function(f){var b=new Date(this.time.getTime());
100
- b.setMonth(0,1);b.setHours(0,0,0,0);var d=new Date(this.time.getTime());d.setMonth(11,31);d.setHours(23,59,59,999);var h=this.time.getFullYear();if(this.earliest&&this.yPast){d.setYear(h-2);d.getTime()<this.earliest?this.yPast.addClass("AnyTime-out-btn ui-state-disabled"):this.yPast.removeClass("AnyTime-out-btn ui-state-disabled")}if(this.yPrior){this.yPrior.text(AnyTime.pad(h==1?-1:h-1,4));if(this.earliest){d.setYear(h-1);d.getTime()<this.earliest?this.yPrior.addClass("AnyTime-out-btn ui-state-disabled"):
101
- this.yPrior.removeClass("AnyTime-out-btn ui-state-disabled")}}this.yCur&&this.yCur.text(AnyTime.pad(h,4));if(this.yNext){this.yNext.text(AnyTime.pad(h==-1?1:h+1,4));if(this.latest){b.setYear(h+1);b.getTime()>this.latest?this.yNext.addClass("AnyTime-out-btn ui-state-disabled"):this.yNext.removeClass("AnyTime-out-btn ui-state-disabled")}}if(this.latest&&this.yAhead){b.setYear(h+2);b.getTime()>this.latest?this.yAhead.addClass("AnyTime-out-btn ui-state-disabled"):this.yAhead.removeClass("AnyTime-out-btn ui-state-disabled")}b.setFullYear(this.time.getFullYear());
102
- d.setFullYear(this.time.getFullYear());var O=0;h=this.time.getMonth();e("#"+this.id+" .AnyTime-mon-btn").each(function(){b.setMonth(O);d.setDate(1);d.setMonth(O+1);d.setDate(0);e(this).AnyTime_current(O==h,(!y.earliest||d.getTime()>=y.earliest)&&(!y.latest||b.getTime()<=y.latest));O++});b.setMonth(this.time.getMonth());d.setMonth(this.time.getMonth(),1);h=this.time.getDate();var E=this.time.getMonth(),Y=b.getDay();if(this.fDOW>Y)Y+=7;var w=0,aa=0;e("#"+this.id+" .AnyTime-wk").each(function(){aa=y.fDOW;
103
- e(this).children().each(function(){if(aa-y.fDOW<7){var J=e(this);if(w==0&&aa<Y||b.getMonth()!=E){J.html("&#160;");J.removeClass("AnyTime-dom-btn-filled AnyTime-cur-btn ui-state-default ui-state-highlight");J.addClass("AnyTime-dom-btn-empty");if(w){b.getDate()==1&&aa!=0?J.addClass("AnyTime-dom-btn-empty-after-filled"):J.removeClass("AnyTime-dom-btn-empty-after-filled");b.getDate()<=7?J.addClass("AnyTime-dom-btn-empty-below-filled"):J.removeClass("AnyTime-dom-btn-empty-below-filled");b.setDate(b.getDate()+
104
- 1);d.setDate(d.getDate()+1)}else{J.addClass("AnyTime-dom-btn-empty-above-filled");aa==Y-1?J.addClass("AnyTime-dom-btn-empty-before-filled"):J.removeClass("AnyTime-dom-btn-empty-before-filled")}J.addClass("ui-state-default ui-state-disabled")}else{O=b.getDate();J.text(O);J.removeClass("AnyTime-dom-btn-empty AnyTime-dom-btn-empty-above-filled AnyTime-dom-btn-empty-before-filled AnyTime-dom-btn-empty-after-filled AnyTime-dom-btn-empty-below-filled ui-state-default ui-state-disabled");J.addClass("AnyTime-dom-btn-filled ui-state-default");
105
- J.AnyTime_current(O==h,(!y.earliest||d.getTime()>=y.earliest)&&(!y.latest||b.getTime()<=y.latest));b.setDate(O+1);d.setDate(O+1)}}aa++});w++});b.setMonth(this.time.getMonth(),this.time.getDate());d.setMonth(this.time.getMonth(),this.time.getDate());var W=!this.twelveHr,o=this.time.getHours();e("#"+this.id+" .AnyTime-hr-btn").each(function(){var J=this.innerHTML,ba;if(W)ba=Number(J);else{ba=Number(J.substring(0,J.length-2));if(J.charAt(J.length-2)=="a"){if(ba==12)ba=0}else if(ba<12)ba+=12}b.setHours(ba);
106
- d.setHours(ba);e(this).AnyTime_current(o==ba,(!y.earliest||d.getTime()>=y.earliest)&&(!y.latest||b.getTime()<=y.latest));ba<23&&b.setHours(b.getHours()+1)});b.setHours(this.time.getHours());d.setHours(this.time.getHours());var r=this.time.getMinutes(),q=String(Math.floor(r/10)),z=String(r%10);e("#"+this.id+" .AnyTime-min-ten-btn:not(.AnyTime-min-ten-btn-empty)").each(function(){e(this).AnyTime_current(this.innerHTML==q,(!y.earliest||d.getTime()>=y.earliest)&&(!y.latest||b.getTime()<=y.latest));if(b.getMinutes()<
107
- 50){b.setMinutes(b.getMinutes()+10);d.setMinutes(d.getMinutes()+10)}});b.setMinutes(Math.floor(this.time.getMinutes()/10)*10);d.setMinutes(Math.floor(this.time.getMinutes()/10)*10);e("#"+this.id+" .AnyTime-min-one-btn:not(.AnyTime-min-one-btn-empty)").each(function(){e(this).AnyTime_current(this.innerHTML==z,(!y.earliest||d.getTime()>=y.earliest)&&(!y.latest||b.getTime()<=y.latest));b.setMinutes(b.getMinutes()+1);d.setMinutes(d.getMinutes()+1)});b.setMinutes(this.time.getMinutes());d.setMinutes(this.time.getMinutes());
108
- r=this.time.getSeconds();q=String(Math.floor(r/10));z=String(r%10);e("#"+this.id+" .AnyTime-sec-ten-btn:not(.AnyTime-sec-ten-btn-empty)").each(function(){e(this).AnyTime_current(this.innerHTML==q,(!y.earliest||d.getTime()>=y.earliest)&&(!y.latest||b.getTime()<=y.latest));if(b.getSeconds()<50){b.setSeconds(b.getSeconds()+10);d.setSeconds(d.getSeconds()+10)}});b.setSeconds(Math.floor(this.time.getSeconds()/10)*10);d.setSeconds(Math.floor(this.time.getSeconds()/10)*10);e("#"+this.id+" .AnyTime-sec-one-btn:not(.AnyTime-sec-one-btn-empty)").each(function(){e(this).AnyTime_current(this.innerHTML==
109
- z,(!y.earliest||d.getTime()>=y.earliest)&&(!y.latest||b.getTime()<=y.latest));b.setSeconds(b.getSeconds()+1);d.setSeconds(d.getSeconds()+1)});if(this.oConv){this.oConv.setUtcFormatOffsetAlleged(this.offMin);this.oConv.setUtcFormatOffsetSubIndex(this.offSI);this.oCur.html(this.oConv.format(this.time))}f&&this.setFocus(f);this.conv.setUtcFormatOffsetAlleged(this.offMin);this.conv.setUtcFormatOffsetSubIndex(this.offSI);this.inp.val(this.conv.format(this.time)).change();this.div.show();var j=r=f=0,ia=
110
- 0,T=0;if(this.dY){r=j=this.dY.outerWidth(true);f=this.yLab.AnyTime_height(true)+this.dY.AnyTime_height(true)}if(this.dMo){ia=this.dMo.outerWidth(true);if(ia>r)r=ia;f+=this.hMo.AnyTime_height(true)+this.dMo.AnyTime_height(true)}if(this.dDoM){T=this.dDoM.outerWidth(true);if(T>r)r=T;if(Ra||Sa)if(ia>T)this.dDoM.css("width",String(ia)+"px");else j>T&&this.dDoM.css("width",String(j)+"px");f+=this.hDoM.AnyTime_height(true)+this.dDoM.AnyTime_height(true)}if(this.dD){this.dD.css({width:String(r)+"px",height:String(f)+
111
- "px"});r+=this.dMinW;f+=this.dMinH}ia=j=T=T=0;if(this.dH){T=this.dH.outerWidth(true);ia+=T+1;T=this.dH.AnyTime_height(true);if(T>j)j=T}if(this.dM){T=this.dM.outerWidth(true);ia+=T+1;T=this.dM.AnyTime_height(true);if(T>j)j=T}if(this.dS){T=this.dS.outerWidth(true);ia+=T+1;T=this.dS.AnyTime_height(true);if(T>j)j=T}if(this.dO){T=this.oMinW;if(ia<T+1)ia=T+1;j+=this.dO.AnyTime_height(true)}if(this.dT){this.dT.css({width:String(ia)+"px",height:String(j)+"px"});ia+=this.tMinW+1;j+=this.tMinH;r+=ia;if(j>f)f=
112
- j;if(this.dO){j=this.dT.width()-(this.oMinW+1);this.dO.css({width:String(j)+"px"});this.oCur.css({width:String(j-(this.oListMinW+4))+"px"})}}this.dB.css({height:String(f)+"px",width:String(r)+"px"});f+=this.bMinH;r+=this.bMinW;f+=this.hTitle.AnyTime_height(true)+this.wMinH;r+=this.wMinW;if(this.hTitle.outerWidth(true)>r)r=this.hTitle.outerWidth(true);this.div.css({height:String(f)+"px",width:String(r)+"px"});this.pop||this.ajax()},updODiv:function(f){var b=false,d=null;this.oDiv.find(".AnyTime-off-off-btn").each(function(){if(this.AnyTime_offMin==
113
- y.offMin)if(this.AnyTime_offSI==y.offSI)e(this).AnyTime_current(b=true,true);else{e(this).AnyTime_current(false,true);if(d==null)d=e(this)}else e(this).AnyTime_current(false,true)});!b&&d!=null&&d.AnyTime_current(true,true);this.conv.setUtcFormatOffsetAlleged(this.offMin);this.conv.setUtcFormatOffsetSubIndex(this.offSI);this.inp.val(this.conv.format(this.time)).change();this.upd(f)},updYDiv:function(f){var b,d,h=1,O=this.time.getFullYear();if(O<0){h=-1;O=0-O}O=AnyTime.pad(O,4);var E=y.earliest&&(new Date(y.earliest)).getFullYear(),
114
- Y=y.latest&&(new Date(y.latest)).getFullYear();b=0;this.yDiv.find(".AnyTime-mil-btn").each(function(){d=(!y.earliest||h*(b+(h<0?0:999))>=E)&&(!y.latest||h*(b+(h>0?0:999))<=Y);e(this).AnyTime_current(this.innerHTML==O.substring(0,1),d);b+=1E3});b=Math.floor(O/1E3)*1E3;this.yDiv.find(".AnyTime-cent-btn").each(function(){d=(!y.earliest||h*(b+(h<0?0:99))>=E)&&(!y.latest||h*(b+(h>0?0:99))<=Y);e(this).AnyTime_current(this.innerHTML==O.substring(1,2),d);b+=100});b=Math.floor(O/100)*100;this.yDiv.find(".AnyTime-dec-btn").each(function(){d=
115
- (!y.earliest||h*(b+(h<0?0:9))>=E)&&(!y.latest||h*(b+(h>0?0:9))<=Y);e(this).AnyTime_current(this.innerHTML==O.substring(2,3),d);b+=10});b=Math.floor(O/10)*10;this.yDiv.find(".AnyTime-yr-btn").each(function(){d=(!y.earliest||h*b>=E)&&(!y.latest||h*b<=Y);e(this).AnyTime_current(this.innerHTML==O.substring(3),d);b+=1});this.yDiv.find(".AnyTime-bce-btn").each(function(){e(this).AnyTime_current(h<0,!y.earliest||y.earliest<0)});this.yDiv.find(".AnyTime-ce-btn").each(function(){e(this).AnyTime_current(h>
116
- 0,!y.latest||y.latest>0)});this.conv.setUtcFormatOffsetAlleged(this.offMin);this.conv.setUtcFormatOffsetSubIndex(this.offSI);this.inp.val(this.conv.format(this.time)).change();this.upd(f)}};Ta[X].initialize(X)}})(jQuery);AnyTime.utcLabel=[];AnyTime.utcLabel[-720]=["BIT--Baker Island Time"];AnyTime.utcLabel[-660]=["SST--Samoa Standard Time"];AnyTime.utcLabel[-600]=["CKT--Cook Island Time","HAST--Hawaii-Aleutian Standard Time","TAHT--Tahiti Time"];
117
- AnyTime.utcLabel[-540]=["AKST--Alaska Standard Time","GIT--Gambier Island Time"];AnyTime.utcLabel[-510]=["MIT--Marquesas Islands Time"];AnyTime.utcLabel[-480]=["CIST--Clipperton Island Standard Time","PST--Pacific Standard Time (North America)"];AnyTime.utcLabel[-420]=["MST--Mountain Standard Time (North America)","PDT--Pacific Daylight Time (North America)"];AnyTime.utcLabel[-360]=["CST--Central Standard Time (North America)","EAST--Easter Island Standard Time","GALT--Galapagos Time","MDT--Mountain Daylight Time (North America)"];
118
- AnyTime.utcLabel[-300]=["CDT--Central Daylight Time (North America)","COT--Colombia Time","ECT--Ecuador Time","EST--Eastern Standard Time (North America)"];AnyTime.utcLabel[-240]=["AST--Atlantic Standard Time","BOT--Bolivia Time","CLT--Chile Standard Time","COST--Colombia Summer Time","ECT--Eastern Caribbean Time","EDT--Eastern Daylight Time (North America)","FKST--Falkland Islands Standard Time","GYT--Guyana Time"];AnyTime.utcLabel[-210]=["VET--Venezuelan Standard Time"];
119
- AnyTime.utcLabel[-180]=["ART--Argentina Time","BRT--Brasilia Time","CLST--Chile Summer Time","GFT--French Guiana Time","UYT--Uruguay Standard Time"];AnyTime.utcLabel[-150]=["NT--Newfoundland Time"];AnyTime.utcLabel[-120]=["GST--South Georgia and the South Sandwich Islands","UYST--Uruguay Summer Time"];AnyTime.utcLabel[-90]=["NDT--Newfoundland Daylight Time"];AnyTime.utcLabel[-60]=["AZOST--Azores Standard Time","CVT--Cape Verde Time"];AnyTime.utcLabel[0]=["GMT--Greenwich Mean Time","WET--Western European Time"];
120
- AnyTime.utcLabel[60]=["BST--British Summer Time","CET--Central European Time"];AnyTime.utcLabel[60]=["WAT--West Africa Time","WEST--Western European Summer Time"];AnyTime.utcLabel[120]=["CAT--Central Africa Time","CEST--Central European Summer Time","EET--Eastern European Time","IST--Israel Standard Time","SAST--South African Standard Time"];
121
- AnyTime.utcLabel[180]=["AST--Arab Standard Time (Kuwait/Riyadh)","AST--Arabic Standard Time (Baghdad)","EAT--East Africa Time","EEST--Eastern European Summer Time","MSK--Moscow Standard Time"];AnyTime.utcLabel[210]=["IRST--Iran Standard Time"];AnyTime.utcLabel[240]=["AMT--Armenia Time","AST--Arabian Standard Time (Abu Dhabi/Muscat)","AZT--Azerbaijan Time","GET--Georgia Standard Time","MUT--Mauritius Time","RET--Réunion Time","SAMT--Samara Time","SCT--Seychelles Time"];AnyTime.utcLabel[270]=["AFT--Afghanistan Time"];
122
- AnyTime.utcLabel[300]=["AMST--Armenia Summer Time","HMT--Heard and McDonald Islands Time","PKT--Pakistan Standard Time","YEKT--Yekaterinburg Time"];AnyTime.utcLabel[330]=["IST--Indian Standard Time","SLT--Sri Lanka Time"];AnyTime.utcLabel[345]=["NPT--Nepal Time"];AnyTime.utcLabel[360]=["BIOT--British Indian Ocean Time","BST--Bangladesh Standard Time","BTT--Bhutan Time","OMST--Omsk Time"];AnyTime.utcLabel[390]=["CCT--Cocos Islands Time","MST--Myanmar Standard Time"];
123
- AnyTime.utcLabel[420]=["CXT--Christmas Island Time","KRAT--Krasnoyarsk Time","THA--Thailand Standard Time"];AnyTime.utcLabel[480]=["ACT--ASEAN Common Time","AWST--Australian Western Standard Time","BDT--Brunei Time","CST--China Standard Time","HKT--Hong Kong Time","IRKT--Irkutsk Time","MST--Malaysian Standard Time","PST--Philippine Standard Time","SST--Singapore Standard Time"];AnyTime.utcLabel[540]=["JST--Japan Standard Time","KST--Korea Standard Time","YAKT--Yakutsk Time"];
124
- AnyTime.utcLabel[570]=["ACST--Australian Central Standard Time"];AnyTime.utcLabel[600]=["AEST--Australian Eastern Standard Time","ChST--Chamorro Standard Time","VLAT--Vladivostok Time"];AnyTime.utcLabel[630]=["LHST--Lord Howe Standard Time"];AnyTime.utcLabel[660]=["MAGT--Magadan Time","SBT--Solomon Islands Time"];AnyTime.utcLabel[690]=["NFT--Norfolk Time"];AnyTime.utcLabel[720]=["FJT--Fiji Time","GILT--Gilbert Island Time","PETT--Kamchatka Time"];AnyTime.utcLabel[765]=["CHAST--Chatham Standard Time"];
125
- AnyTime.utcLabel[780]=["PHOT--Phoenix Island Time"];AnyTime.utcLabel[840]=["LINT--Line Islands Time"];
126
- (function(e,ca){function sa(a,c){a._id=a._id||(a.id===ca?"_fc"+zb++:a.id+"");if(a.date){if(!a.start)a.start=a.date;delete a.date}a._start=w(a.start=qb(a.start));a.end=qb(a.end);if(a.end&&a.end<=a.start)a.end=null;a._end=a.end?w(a.end):null;if(a.allDay===ca)a.allDay=c.allDayDefault;if(a.className){if(typeof a.className=="string")a.className=a.className.split(/\s+/)}else a.className=[]}function db(a,c,l,g){function p(){P._clearEvents();ua.empty()}function v(x){var A=w(P.visStart),k=h(w(A),la),B=e.map(x,
127
- gb),K,L,da,I,oa,Z,Ia=[];for(K=0;K<xa;K++){L=X(P.sliceSegs(x,B,A,k));for(da=0;da<L.length;da++){I=L[da];for(oa=0;oa<I.length;oa++){Z=I[oa];Z.row=K;Z.level=da;Ia.push(Z)}}h(A,7);h(k,7)}return Ia}function u(x,A){Ra(x,xa,P,0,ya,function(k){return C.find("tr:eq("+k+")")},fa.left,fa.right,ua,D,A)}function D(x,A,k){P.eventElementHandlers(x,A);if(x.editable||x.editable===ca&&c.editable){R(x,A);k.isEnd&&P.resizableDayEvent(x,A,pa)}}function R(x,A){if(!c.disableDragging&&A.draggable){var k;A.draggable({zIndex:9,
128
- delay:50,opacity:P.option("dragOpacity"),revertDuration:c.dragRevertDuration,start:function(B,K){P.trigger("eventDragStart",A,x,B,K);P.hideEvents(x,A);Ca.start(function(L,da,I,oa){A.draggable("option","revert",!L||!I&&!oa);Q();if(L){k=I*7+oa*ha;ea(h(w(x.start),k),h(gb(x),k))}else k=0},B,"drag")},stop:function(B,K){Ca.stop();Q();P.trigger("eventDragStop",A,x,B,K);if(k){A.find("a").removeAttr("href");P.eventDrop(this,x,k,0,x.allDay,B,K)}else{e.browser.msie&&A.css("filter","");P.showEvents(x,A)}}})}}
129
- function G(x){x.click(ma).mousedown(Da)}function ma(x){if(!P.option("selectable")){var A=parseInt(this.className.match(/fc\-day(\d+)/)[1]);A=h(w(P.visStart),Math.floor(A/la)*7+A%la);P.trigger("dayClick",this,A,true,x)}}function ka(x,A,k,B){ra=true;P.trigger("select",P,x,A,k,B)}function Ga(x){if(ra){Q();ra=false;P.trigger("unselect",P,x)}}function ea(x,A){for(var k=w(P.visStart),B=h(w(k),la),K=0;K<xa;K++){var L=new Date(Math.max(k,x)),da=new Date(Math.min(B,A));if(L<da){var I;if(va){I=o(da,k)*ha+wa+
130
- 1;L=o(L,k)*ha+wa+1}else{I=o(L,k);L=o(da,k)}G(Fa(K,I,K,L-1))}h(k,7);h(B,7)}}function Fa(x,A,k,B){x=Na.rect(x,A,k,B,a);return P.renderOverlay(x,a)}function Q(){P.clearOverlays()}function na(x){return h(w(P.visStart),x.row*7+x.col*ha+wa)}var za,Aa,Ea,va,ha,wa,ya,Ja,xa,la,pa,Va,C,Ka=[],ua,fa=new rb(function(x){return C.find("td:eq("+(x-Math.max(Aa,Ea)+la)%la+") div div")}),P=e.extend(this,sb,l,{renderGrid:function(x,A,k,B){xa=x;la=A;za=c.theme?"ui":"fc";Ea=c.weekends?0:1;Aa=c.firstDay;if(va=c.isRTL){ha=
131
- -1;wa=la-1}else{ha=1;wa=0}var K=P.start.getMonth(),L=Y(new Date),da,I=w(P.visStart);if(C){p();A=C.find("tr").length;if(xa<A)C.find("tr:gt("+(xa-1)+")").remove();else if(xa>A){x="";for(A=A;A<xa;A++){x+="<tr class='fc-week"+A+"'>";for(da=0;da<la;da++){x+="<td class='fc-"+Ya[I.getDay()]+" "+za+"-state-default fc-new fc-day"+(A*la+da)+(da==wa?" fc-leftmost":"")+"'>"+(B?"<div class='fc-day-number'></div>":"")+"<div class='fc-day-content'><div style='position:relative'>&nbsp;</div></div></td>";h(I,1);Ea&&
132
- W(I)}x+="</tr>"}C.append(x)}G(C.find("td.fc-new").removeClass("fc-new"));I=w(P.visStart);C.find("td").each(function(){var Z=e(this);if(xa>1)I.getMonth()==K?Z.removeClass("fc-other-month"):Z.addClass("fc-other-month");+I==+L?Z.removeClass("fc-not-today").addClass("fc-today").addClass(za+"-state-highlight"):Z.addClass("fc-not-today").removeClass("fc-today").removeClass(za+"-state-highlight");Z.find("div.fc-day-number").text(I.getDate());h(I,1);Ea&&W(I)});if(xa==1){I=w(P.visStart);Va.find("th").each(function(){e(this).text(La(I,
133
- k,c));this.className=this.className.replace(/^fc-\w+(?= )/,"fc-"+Ya[I.getDay()]);h(I,1);Ea&&W(I)});I=w(P.visStart);C.find("td").each(function(){this.className=this.className.replace(/^fc-\w+(?= )/,"fc-"+Ya[I.getDay()]);h(I,1);Ea&&W(I)})}}else{var oa=e("<table/>").appendTo(a);x="<thead><tr>";for(A=0;A<la;A++){x+="<th class='fc-"+Ya[I.getDay()]+" "+za+"-state-default"+(A==wa?" fc-leftmost":"")+"'>"+La(I,k,c)+"</th>";h(I,1);Ea&&W(I)}Va=e(x+"</tr></thead>").appendTo(oa);x="<tbody>";I=w(P.visStart);for(A=
134
- 0;A<xa;A++){x+="<tr class='fc-week"+A+"'>";for(da=0;da<la;da++){x+="<td class='fc-"+Ya[I.getDay()]+" "+za+"-state-default fc-day"+(A*la+da)+(da==wa?" fc-leftmost":"")+(xa>1&&I.getMonth()!=K?" fc-other-month":"")+(+I==+L?" fc-today "+za+"-state-highlight":" fc-not-today")+"'>"+(B?"<div class='fc-day-number'>"+I.getDate()+"</div>":"")+"<div class='fc-day-content'><div style='position:relative'>&nbsp;</div></div></td>";h(I,1);Ea&&W(I)}x+="</tr>"}C=e(x+"</tbody>").appendTo(oa);G(C.find("td"));ua=e("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(a)}},
135
- renderEvents:function(x){P.reportEvents(Ka=x);u(v(x))},rerenderEvents:function(x){p();u(v(Ka),x)},clearEvents:p,setHeight:function(x){Ja=x;x=C.find("tr td:first-child");var A=Ja-Va.height(),k;if(c.weekMode=="variable")k=A=Math.floor(A/(xa==1?2:6));else{k=Math.floor(A/xa);A=A-k*(xa-1)}if(mb===ca){var B=C.find("tr:first").find("td:first");B.height(k);mb=k!=B.height()}if(mb){x.slice(0,-1).height(k);x.slice(-1).height(A)}else{z(x.slice(0,-1),k);z(x.slice(-1),A)}},setWidth:function(x){ya=x;fa.clear();
136
- q(Va.find("th").slice(0,-1),pa=Math.floor(ya/la))},defaultEventEnd:function(x){return w(x.start)}});P.name=g;P.init(a,c);tb(a.addClass("fc-grid"));var Na=new ba(function(x,A){var k,B,K,L=C.find("tr:first td");if(va)L=e(L.get().reverse());L.each(function(da,I){k=e(I);B=k.offset().left;if(da)K[1]=B;K=[B];A[da]=K});K[1]=B+k.outerWidth();C.find("tr").each(function(da,I){k=e(I);B=k.offset().top;if(da)K[1]=B;K=[B];x[da]=K});K[1]=B+k.outerHeight()}),Ca=new Ha(Na),ra=false,Da=y(P,Ca,na,function(){return true},
137
- ea,Q,ka,Ga);P.select=function(x,A,k){Na.build();Ga();A||(A=w(x));ea(x,h(w(A),1));ka(x,A,k)};P.unselect=Ga;f(P,Ga);P.dragStart=function(x,A){Ca.start(function(k){Q();k&&Fa(k.row,k.col,k.row,k.col)},A)};P.dragStop=function(x,A,k){var B=Ca.stop();Q();if(B){B=na(B);P.trigger("drop",x,B,true,A,k)}}}function Ra(a,c,l,g,p,v,u,D,R,G,ma){var ka=l.options,Ga=ka.isRTL,ea,Fa=a.length,Q,na,za,Aa,Ea,va="",ha={},wa={},ya=[],Ja=[];for(ea=0;ea<Fa;ea++){Q=a[ea];na=Q.event;za="fc-event fc-event-hori ";if(Ga){if(Q.isStart)za+=
138
- "fc-corner-right ";if(Q.isEnd)za+="fc-corner-left ";Aa=Q.isEnd?u(Q.end.getDay()-1):g;Ea=Q.isStart?D(Q.start.getDay()):p}else{if(Q.isStart)za+="fc-corner-left ";if(Q.isEnd)za+="fc-corner-right ";Aa=Q.isStart?u(Q.start.getDay()):g;Ea=Q.isEnd?D(Q.end.getDay()-1):p}va+="<div class='"+za+na.className.join(" ")+"' style='position:absolute;z-index:8;left:"+Aa+"px'><a"+(na.url?" href='"+eb(na.url)+"'":"")+">"+(!na.allDay&&Q.isStart?"<span class='fc-event-time'>"+eb(cb(na.start,na.end,l.option("timeFormat"),
139
- ka))+"</span>":"")+"<span class='fc-event-title'>"+eb(na.title)+"</span></a>"+((na.editable||na.editable===ca&&ka.editable)&&!ka.disableResizing&&e.fn.resizable?"<div class='ui-resizable-handle ui-resizable-"+(Ga?"w":"e")+"'></div>":"")+"</div>";Q.left=Aa;Q.outerWidth=Ea-Aa}R[0].innerHTML=va;p=R.children();for(ea=0;ea<Fa;ea++){Q=a[ea];g=e(p[ea]);na=Q.event;u=l.trigger("eventRender",na,na,g);if(u===false)g.remove();else{if(u&&u!==true){g.remove();g=e(u).css({position:"absolute",left:Q.left}).appendTo(R)}Q.element=
140
- g;if(na._id===ma)G(na,g,Q);else g[0]._fci=ea;l.reportEventElement(na,g)}}Ta(R,a,G);for(ea=0;ea<Fa;ea++){Q=a[ea];if(g=Q.element){G=ha[R=Q.key=ub(g[0])];Q.hsides=G===ca?ha[R]=j(g[0],true):G}}for(ea=0;ea<Fa;ea++){Q=a[ea];if(g=Q.element)g[0].style.width=Q.outerWidth-Q.hsides+"px"}for(ea=0;ea<Fa;ea++){Q=a[ea];if(g=Q.element){G=wa[R=Q.key];Q.outerHeight=g[0].offsetHeight+(G===ca?wa[R]=T(g[0]):G)}}for(ha=ea=0;ha<c;ha++){for(wa=R=G=0;ea<Fa&&(Q=a[ea]).row==ha;){if(Q.level!=R){wa+=G;G=0;R++}G=Math.max(G,Q.outerHeight||
141
- 0);Q.top=wa;ea++}ya[ha]=v(ha).find("td:first div.fc-day-content > div").height(wa+G)}for(ha=0;ha<c;ha++)Ja[ha]=ya[ha][0].offsetTop;for(ea=0;ea<Fa;ea++){Q=a[ea];if(g=Q.element){g[0].style.top=Ja[Q.row]+Q.top+"px";na=Q.event;l.trigger("eventAfterRender",na,na,g)}}}function Sa(a,c,l,g){function p(){var m=aa(),t=w(m);t.setHours(c.firstHour);var s=Aa(m,t)+1;m=function(){fa.scrollTop(s)};m();setTimeout(m,0)}function v(m,t){K=m;nb={};fa.height(m-ua.height());k=fa.find("tr:first div").height()+1;Ca.css({top:ua.find("tr").height(),
142
- height:m});t&&p()}function u(m){m.click(R).mousedown(Ab)}function D(m){m.click(R).mousedown(Ea)}function R(m){if(!H.option("selectable")){var t=Math.min(ra-1,Math.floor((m.pageX-Ca.offset().left)/A));t=h(w(H.visStart),t*ta+Oa);var s=this.className.match(/fc-slot(\d+)/);if(s){s=parseInt(s[1])*c.slotMinutes;t.setHours(Math.floor(s/60));t.setMinutes(s%60+Za);H.trigger("dayClick",this,t,false,m)}else H.trigger("dayClick",this,t,true,m)}}function G(m,t){H.reportEvents(da=m);var s,n=m.length,N=[],F=[];
143
- for(s=0;s<n;s++)m[s].allDay?N.push(m[s]):F.push(m[s]);s=ka;N=X(H.sliceSegs(N,e.map(N,gb),H.visStart,H.visEnd));var $=N.length,ja,M,S,ga=[];for(n=0;n<$;n++){ja=N[n];for(M=0;M<ja.length;M++){S=ja[M];S.row=0;S.level=n;ga.push(S)}}s(ga,t);N=E(w(H.visStart),Za);n=e.map(F,Va);var qa;s=[];for($=0;$<ra;$++){M=ja=X(H.sliceSegs(F,n,N,E(w(N),jb-Za)));S=void 0;ga=void 0;qa=void 0;var Ba=void 0,Pa=void 0,Ua=void 0;for(S=M.length-1;S>0;S--){Ba=M[S];for(ga=0;ga<Ba.length;ga++){Pa=Ba[ga];for(qa=0;qa<M[S-1].length;qa++){Ua=
144
- M[S-1][qa];if(Pa.end>Ua.start&&Pa.start<Ua.end)Ua.forward=Math.max(Ua.forward||0,(Pa.forward||0)+1)}}}for(M=0;M<ja.length;M++){S=ja[M];for(ga=0;ga<S.length;ga++){qa=S[ga];qa.col=$;qa.level=M;s.push(qa)}}h(N,1,true)}N=s.length;var bb,ob,$a;Ba="";$={};ja={};for(F=0;F<N;F++){n=s[F];M=n.event;S="fc-event fc-event-vert ";if(n.isStart)S+="fc-corner-top ";if(n.isEnd)S+="fc-corner-bottom ";ga=Aa(n.start,n.start);qa=Aa(n.start,n.end);bb=n.col;Pa=n.level;Ua=n.forward||0;ob=x+hb.left(bb*ta+Oa);$a=x+hb.right(bb*
145
- ta+Oa)-ob;$a=Math.min($a-6,$a*0.95);bb=Pa?$a/(Pa+Ua+1):Ua?($a/(Ua+1)-6)*2:$a;Pa=ob+$a/(Pa+Ua+1)*Pa*ta+(kb?$a-bb:0);n.top=ga;n.left=Pa;n.outerWidth=bb;n.outerHeight=qa-ga;Ba+=Ga(M,n,S)}oa[0].innerHTML=Ba;ga=oa.children();for(F=0;F<N;F++){n=s[F];M=n.event;S=e(ga[F]);qa=H.trigger("eventRender",M,M,S);if(qa===false)S.remove();else{if(qa&&qa!==true){S.remove();S=e(qa).css({position:"absolute",top:n.top,left:n.left}).appendTo(oa)}n.element=S;if(M._id===t)Fa(M,S,n);else S[0]._fci=F;H.reportEventElement(M,
146
- S)}}Ta(oa,s,Fa);for(F=0;F<N;F++){n=s[F];if(S=n.element){ga=$[M=n.key=ub(S[0])];n.vsides=ga===ca?$[M]=ia(S[0],true):ga;ga=ja[M];n.hsides=ga===ca?ja[M]=j(S[0],true):ga;M=S.find("span.fc-event-title");if(M.length)n.titleTop=M[0].offsetTop}}for(F=0;F<N;F++){n=s[F];if(S=n.element){S[0].style.width=n.outerWidth-n.hsides+"px";S[0].style.height=($=n.outerHeight-n.vsides)+"px";M=n.event;if(n.titleTop!==ca&&$-n.titleTop<10){S.find("span.fc-event-time").text(La(M.start,H.option("timeFormat"))+" - "+M.title);
147
- S.find("span.fc-event-title").remove()}H.trigger("eventAfterRender",M,M,S)}}}function ma(){H._clearEvents();I.empty();oa.empty()}function ka(m,t){if(c.allDaySlot){Ra(m,1,H,x,B,function(){return ua.find("tr.fc-all-day")},function(s){return x+hb.left((s-Math.max(Ia,Wa)+ra)%ra*ta+Oa)},function(s){return x+hb.right((s-Math.max(Ia,Wa)+ra)%ra*ta+Oa)},I,ea,t);v(K)}}function Ga(m,t,s){return"<div class='"+s+m.className.join(" ")+"' style='position:absolute;z-index:8;top:"+t.top+"px;left:"+t.left+"px'><a"+
148
- (m.url?" href='"+eb(m.url)+"'":"")+"><span class='fc-event-bg'></span><span class='fc-event-time'>"+eb(cb(m.start,m.end,H.option("timeFormat")))+"</span><span class='fc-event-title'>"+eb(m.title)+"</span></a>"+((m.editable||m.editable===ca&&c.editable)&&!c.disableResizing&&e.fn.resizable?"<div class='ui-resizable-handle ui-resizable-s'>=</div>":"")+"</div>"}function ea(m,t,s){H.eventElementHandlers(m,t);if(m.editable||m.editable===ca&&c.editable){Q(m,t,s.isStart);s.isEnd&&H.resizableDayEvent(m,t,
149
- A)}}function Fa(m,t,s){H.eventElementHandlers(m,t);if(m.editable||m.editable===ca&&c.editable){var n=t.find("span.fc-event-time");na(m,t,n);s.isEnd&&za(m,t,n)}}function Q(m,t,s){if(!c.disableDragging&&t.draggable){var n,N=true,F;t.draggable({zIndex:9,opacity:H.option("dragOpacity","month"),revertDuration:c.dragRevertDuration,start:function(ja,M){H.trigger("eventDragStart",t,m,ja,M);H.hideEvents(m,t);n=t.width();ab.start(function(S,ga,qa,Ba){t.draggable("option","revert",!S||!qa&&!Ba);pa();if(S){F=
150
- Ba*ta;if(S.row){if(s&&N){z(t.width(A-10),k*Math.round((m.end?(m.end-m.start)/Bb:c.defaultEventMinutes)/c.slotMinutes));t.draggable("option","grid",[A,1]);N=false}}else{Ja(h(w(m.start),F),h(gb(m),F));$()}}},ja,"drag")},stop:function(ja,M){var S=ab.stop();pa();H.trigger("eventDragStop",t,m,ja,M);if(S&&(!N||F)){t.find("a").removeAttr("href");S=0;N||(S=Math.round((t.offset().top-P.offset().top)/k)*c.slotMinutes+Za-(m.start.getHours()*60+m.start.getMinutes()));H.eventDrop(this,m,F,S,N,ja,M)}else{$();e.browser.msie&&
151
- t.css("filter","");H.showEvents(m,t)}}});var $=function(){if(!N){t.width(n).height("").draggable("option","grid",null);N=true}}}}function na(m,t,s){if(!c.disableDragging&&t.draggable){var n,N=false,F,$,ja;t.draggable({zIndex:9,scroll:false,grid:[A,k],axis:ra==1?"y":false,opacity:H.option("dragOpacity"),revertDuration:c.dragRevertDuration,start:function(ga,qa){H.trigger("eventDragStart",t,m,ga,qa);H.hideEvents(m,t);e.browser.msie&&t.find("span.fc-event-bg").hide();n=t.position();$=ja=0;ab.start(function(Ba,
152
- Pa,Ua,bb){t.draggable("option","revert",!Ba);pa();if(Ba){F=bb*ta;if(c.allDaySlot&&!Ba.row){if(!N){N=true;s.hide();t.draggable("option","grid",null)}Ja(h(w(m.start),F),h(gb(m),F))}else S()}},ga,"drag")},drag:function(ga,qa){$=Math.round((qa.position.top-n.top)/k)*c.slotMinutes;if($!=ja){N||M($);ja=$}},stop:function(ga,qa){var Ba=ab.stop();pa();H.trigger("eventDragStop",t,m,ga,qa);if(Ba&&(F||$||N))H.eventDrop(this,m,F,N?0:$,N,ga,qa);else{S();t.css(n);M(0);e.browser.msie&&t.css("filter","").find("span.fc-event-bg").css("display",
153
- "");H.showEvents(m,t)}}});var M=function(ga){var qa=E(w(m.start),ga),Ba;if(m.end)Ba=E(w(m.end),ga);s.text(cb(qa,Ba,H.option("timeFormat")))},S=function(){if(N){s.css("display","");t.draggable("option","grid",[A,k]);N=false}}}}function za(m,t,s){if(!c.disableResizing&&t.resizable){var n,N;t.resizable({handles:{s:"div.ui-resizable-s"},grid:k,start:function(F,$){n=N=0;H.hideEvents(m,t);e.browser.msie&&e.browser.version=="6.0"&&t.css("overflow","hidden");t.css("z-index",9);H.trigger("eventResizeStart",
154
- this,m,F,$)},resize:function(F,$){n=Math.round((Math.max(k,t.height())-$.originalSize.height)/k);if(n!=N){s.text(cb(m.start,!n&&!m.end?null:E(H.eventEnd(m),c.slotMinutes*n),H.option("timeFormat")));N=n}},stop:function(F,$){H.trigger("eventResizeStop",this,m,F,$);if(n)H.eventResize(this,m,0,c.slotMinutes*n,F,$);else{t.css("z-index",8);H.showEvents(m,t)}}})}}function Aa(m,t){m=w(m,true);if(t<E(w(m),Za))return 0;if(t>=E(w(m),jb))return P.height();var s=c.slotMinutes,n=t.getHours()*60+t.getMinutes()-
155
- Za,N=Math.floor(n/s),F=nb[N];if(F===ca)F=nb[N]=fa.find("tr:eq("+N+") td div")[0].offsetTop;return Math.max(0,Math.round(F-1+k*(n%s/s)))}function Ea(m){if(H.option("selectable")){ha(m);var t=this,s;ab.start(function(n,N){ya();if(n&&n.col==N.col&&!Ka(n)){var F=C(N),$=C(n);s=[F,E(w(F),c.slotMinutes),$,E(w($),c.slotMinutes)].sort(vb);wa(s[0],s[3])}else s=null},m);e(document).one("mouseup",function(n){ab.stop();if(s){+s[0]==+s[1]&&H.trigger("dayClick",t,s[0],false,n);va(s[0],s[3],false,n)}})}}function va(m,
156
- t,s,n){pb=true;H.trigger("select",H,m,t,s,n)}function ha(m){if(pb){ya();pb=false;H.trigger("unselect",H,m)}}function wa(m,t){var s=H.option("selectHelper");if(s){var n=o(m,H.visStart)*ta+Oa;if(n>=0&&n<ra){n=ib.rect(0,n,0,n,P);var N=Aa(m,m),F=Aa(m,t);if(F>N){n.top=N;n.height=F-N;n.left+=2;n.width-=5;if(e.isFunction(s)){if(s=s(m,t)){n.position="absolute";n.zIndex=8;Qa=e(s).css(n).appendTo(P)}}else{Qa=e(Ga({title:"",start:m,end:t,className:[],editable:false},n,"fc-event fc-event-vert fc-corner-top fc-corner-bottom "));
157
- e.browser.msie&&Qa.find("span.fc-event-bg").hide();Qa.css("opacity",H.option("dragOpacity"))}if(Qa){D(Qa);P.append(Qa);q(Qa,n.width,true);z(Qa,n.height,true)}}}}else la(m,t)}function ya(){pa();if(Qa){Qa.remove();Qa=null}}function Ja(m,t){var s,n;if(kb){s=o(t,H.visStart)*ta+Oa+1;n=o(m,H.visStart)*ta+Oa+1}else{s=o(m,H.visStart);n=o(t,H.visStart)}s=Math.max(0,s);n=Math.min(ra,n);s<n&&u(xa(0,s,0,n-1))}function xa(m,t,s,n){m=ib.rect(m,t,s,n,ua);return H.renderOverlay(m,ua)}function la(m,t){for(var s=w(H.visStart),
158
- n=h(w(s),1),N=0;N<ra;N++){var F=new Date(Math.max(s,m)),$=new Date(Math.min(n,t));if(F<$){var ja=N*ta+Oa;ja=ib.rect(0,ja,0,ja,P);F=Aa(s,F);$=Aa(s,$);ja.top=F;ja.height=$-F;D(H.renderOverlay(ja,P))}h(s,1);h(n,1)}}function pa(){H.clearOverlays()}function Va(m){return m.end?w(m.end):E(w(m.start),c.defaultEventMinutes)}function C(m){var t=h(w(H.visStart),m.col*ta+Oa);m=m.row;c.allDaySlot&&m--;m>=0&&E(t,Za+m*c.slotMinutes);return t}function Ka(m){return c.allDaySlot&&!m.row}var ua,fa,P,Na,Ca,ra,Da=0,x,
159
- A,k,B,K,L,da=[],I,oa,Z,Ia,Wa,kb,ta,Oa,Za,jb,hb=new rb(function(m){return Ca.find("td:eq("+m+") div div")}),nb={},H=e.extend(this,sb,l,{renderAgenda:function(m,t){ra=m;Z=c.theme?"ui":"fc";Wa=c.weekends?0:1;Ia=c.firstDay;if(kb=c.isRTL){ta=-1;Oa=ra-1}else{ta=1;Oa=0}Za=wb(c.minTime);jb=wb(c.maxTime);var s=kb?h(w(H.visEnd),-1):w(H.visStart),n=w(s),N=Y(new Date);if(ua){ma();ua.find("tr:first th").slice(1,-1).each(function(){e(this).text(La(n,t,c));this.className=this.className.replace(/^fc-\w+(?= )/,"fc-"+
160
- Ya[n.getDay()]);h(n,ta);Wa&&W(n,ta)});n=w(s);Ca.find("td").each(function(){this.className=this.className.replace(/^fc-\w+(?= )/,"fc-"+Ya[n.getDay()]);+n==+N?e(this).removeClass("fc-not-today").addClass("fc-today").addClass(Z+"-state-highlight"):e(this).addClass("fc-not-today").removeClass("fc-today").removeClass(Z+"-state-highlight");h(n,ta);Wa&&W(n,ta)})}else{var F,$,ja=c.slotMinutes%15==0,M="<div class='fc-agenda-head' style='position:relative;z-index:4'><table style='width:100%'><tr class='fc-first"+
161
- (c.allDaySlot?"":" fc-last")+"'><th class='fc-leftmost "+Z+"-state-default'>&nbsp;</th>";for(F=0;F<ra;F++){M+="<th class='fc-"+Ya[n.getDay()]+" "+Z+"-state-default'>"+La(n,t,c)+"</th>";h(n,ta);Wa&&W(n,ta)}M+="<th class='"+Z+"-state-default'>&nbsp;</th></tr>";if(c.allDaySlot)M+="<tr class='fc-all-day'><th class='fc-axis fc-leftmost "+Z+"-state-default'>"+c.allDayText+"</th><td colspan='"+ra+"' class='"+Z+"-state-default'><div class='fc-day-content'><div style='position:relative'>&nbsp;</div></div></td><th class='"+
162
- Z+"-state-default'>&nbsp;</th></tr><tr class='fc-divider fc-last'><th colspan='"+(ra+2)+"' class='"+Z+"-state-default fc-leftmost'><div/></th></tr>";M+="</table></div>";ua=e(M).appendTo(a);u(ua.find("td"));I=e("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(ua);n=aa();var S=E(w(n),jb);E(n,Za);M="<table>";for(F=0;n<S;F++){$=n.getMinutes();M+="<tr class='"+(!F?"fc-first":!$?"":"fc-minor")+"'><th class='fc-axis fc-leftmost "+Z+"-state-default'>"+(!ja||!$?La(n,c.axisFormat):"&nbsp;")+
163
- "</th><td class='fc-slot"+F+" "+Z+"-state-default'><div style='position:relative'>&nbsp;</div></td></tr>";E(n,c.slotMinutes);Da++}M+="</table>";fa=e("<div class='fc-agenda-body' style='position:relative;z-index:2;overflow:auto'/>").append(P=e("<div style='position:relative;overflow:hidden'>").append(Na=e(M))).appendTo(a);D(fa.find("td"));oa=e("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(P);n=w(s);M="<div class='fc-agenda-bg' style='position:absolute;z-index:1'><table style='width:100%;height:100%'><tr class='fc-first'>";
164
- for(F=0;F<ra;F++){M+="<td class='fc-"+Ya[n.getDay()]+" "+Z+"-state-default "+(!F?"fc-leftmost ":"")+(+n==+N?Z+"-state-highlight fc-today":"fc-not-today")+"'><div class='fc-day-content'><div>&nbsp;</div></div></td>";h(n,ta);Wa&&W(n,ta)}M+="</tr></table></div>";Ca=e(M).appendTo(a)}},renderEvents:G,rerenderEvents:function(m){ma();G(da,m)},clearEvents:ma,setHeight:v,setWidth:function(m){B=m;hb.clear();fa.width(m);Na.width("");m=ua.find("tr:first th");var t=Ca.find("td"),s=fa[0].clientWidth;Na.width(s);
165
- x=0;q(ua.find("tr:lt(2) th:first").add(fa.find("tr:first th")).width("").each(function(){x=Math.max(x,e(this).outerWidth())}),x);A=Math.floor((s-x)/ra);q(t.slice(0,-1),A);q(m.slice(1,-2),A);q(m.slice(-2,-1),s-x-A*(ra-1));Ca.css({left:x,width:s-x})},beforeHide:function(){L=fa.scrollTop()},afterShow:function(){fa.scrollTop(L)},defaultEventEnd:function(m){var t=w(m.start);if(m.allDay)return t;return E(t,c.defaultEventMinutes)}});H.name=g;H.init(a,c);tb(a.addClass("fc-agenda"));var ib=new ba(function(m,
166
- t){var s,n,N;Ca.find("td").each(function(S,ga){s=e(ga);n=s.offset().left;if(S)N[1]=n;N=[n];t[S]=N});N[1]=n+s.outerWidth();if(c.allDaySlot){s=ua.find("td");n=s.offset().top;m[0]=[n,n+s.outerHeight()]}for(var F=P.offset().top,$=fa.offset().top,ja=$+fa.outerHeight(),M=0;M<Da;M++)m.push([Math.max($,Math.min(ja,F+k*M)),Math.max($,Math.min(ja,F+k*(M+1)))])}),ab=new Ha(ib),pb=false,Ab=y(H,ab,C,Ka,Ja,pa,va,ha);H.select=function(m,t,s){ib.build();ha();if(s){if(c.allDaySlot){t||(t=w(m));Ja(m,h(w(t),1))}}else{t||
167
- (t=E(w(m),c.slotMinutes));wa(m,t)}va(m,t,s)};H.unselect=ha;f(H,ha);var Qa;H.dragStart=function(m,t){ab.start(function(s){pa();if(s)if(Ka(s))xa(s.row,s.col,s.row,s.col);else{s=C(s);var n=E(w(s),c.defaultEventMinutes);la(s,n)}},t)};H.dragStop=function(m,t,s){var n=ab.stop();pa();n&&H.trigger("drop",m,C(n),Ka(n),t,s)}}function Ta(a,c,l){a.unbind("mouseover").mouseover(function(g){for(var p=g.target,v;p!=this;){v=p;p=p.parentNode}if((p=v._fci)!==ca){v._fci=ca;v=c[p];l(v.event,v.element,v);e(g.target).trigger(g)}g.stopPropagation()})}
168
- function X(a){var c=[],l,g=a.length,p,v,u,D;for(l=0;l<g;l++){p=a[l];for(v=0;;){u=false;if(c[v])for(D=0;D<c[v].length;D++)if(c[v][D].end>p.start&&c[v][D].start<p.end){u=true;break}if(u)v++;else break}if(c[v])c[v].push(p);else c[v]=[p]}return c}function V(a,c){return(c.msLength-a.msLength)*100+(a.event.start-c.event.start)}function y(a,c,l,g,p,v,u,D){return function(R){if(a.option("selectable")){D(R);var G=this,ma;c.start(function(ka,Ga){v();if(ka&&g(ka)){ma=[l(Ga),l(ka)].sort(vb);p(ma[0],h(w(ma[1]),
169
- 1),true)}else ma=null},R);e(document).one("mouseup",function(ka){c.stop();if(ma){+ma[0]==+ma[1]&&a.trigger("dayClick",G,ma[0],true,ka);u(ma[0],ma[1],true,ka)}})}}}function f(a,c){a.option("selectable")&&a.option("unselectAuto")&&e(document).mousedown(function(l){var g=a.option("unselectCancel");if(g)if(e(l.target).parents(g).length)return;c(l)})}function b(a,c,l){a.setFullYear(a.getFullYear()+c);l||Y(a);return a}function d(a,c,l){if(+a){c=a.getMonth()+c;var g=w(a);g.setDate(1);g.setMonth(c);a.setMonth(c);
170
- for(l||Y(a);a.getMonth()!=g.getMonth();)a.setDate(a.getDate()+(a<g?1:-1))}return a}function h(a,c,l){if(+a){c=a.getDate()+c;var g=w(a);g.setHours(9);g.setDate(c);a.setDate(c);l||Y(a);O(a,g)}return a}function O(a,c){if(+a)for(;a.getDate()!=c.getDate();)a.setTime(+a+(a<c?1:-1)*Cb)}function E(a,c){a.setMinutes(a.getMinutes()+c);return a}function Y(a){a.setHours(0);a.setMinutes(0);a.setSeconds(0);a.setMilliseconds(0);return a}function w(a,c){if(c)return Y(new Date(+a));return new Date(+a)}function aa(){var a=
171
- 0,c;do c=new Date(1970,a++,1);while(c.getHours());return c}function W(a,c,l){for(c=c||1;!a.getDay()||l&&a.getDay()==1||!l&&a.getDay()==6;)h(a,c);return a}function o(a,c){return Math.round((w(a,true)-w(c,true))/xb)}function r(a,c,l,g){if(c!==ca&&c!=a.getFullYear()){a.setDate(1);a.setMonth(0);a.setFullYear(c)}if(l!==ca&&l!=a.getMonth()){a.setDate(1);a.setMonth(l)}g!==ca&&a.setDate(g)}function q(a,c,l){a.each(function(g,p){p.style.width=c-j(p,l)+"px"})}function z(a,c,l){a.each(function(g,p){p.style.height=
172
- c-ia(p,l)+"px"})}function j(a,c){return(parseFloat(jQuery.curCSS(a,"paddingLeft",true))||0)+(parseFloat(jQuery.curCSS(a,"paddingRight",true))||0)+(parseFloat(jQuery.curCSS(a,"borderLeftWidth",true))||0)+(parseFloat(jQuery.curCSS(a,"borderRightWidth",true))||0)+(c?(parseFloat(jQuery.curCSS(a,"marginLeft",true))||0)+(parseFloat(jQuery.curCSS(a,"marginRight",true))||0):0)}function ia(a,c){return(parseFloat(jQuery.curCSS(a,"paddingTop",true))||0)+(parseFloat(jQuery.curCSS(a,"paddingBottom",true))||0)+
173
- (parseFloat(jQuery.curCSS(a,"borderTopWidth",true))||0)+(parseFloat(jQuery.curCSS(a,"borderBottomWidth",true))||0)+(c?T(a):0)}function T(a){return(parseFloat(jQuery.curCSS(a,"marginTop",true))||0)+(parseFloat(jQuery.curCSS(a,"marginBottom",true))||0)}function J(a,c){c=typeof c=="number"?c+"px":c;a[0].style.cssText+=";min-height:"+c+";_height:"+c}function ba(a){var c,l;this.build=function(){c=[];l=[];a(c,l)};this.cell=function(g,p){var v=c.length,u=l.length,D,R=-1,G=-1;for(D=0;D<v;D++)if(p>=c[D][0]&&
174
- p<c[D][1]){R=D;break}for(D=0;D<u;D++)if(g>=l[D][0]&&g<l[D][1]){G=D;break}return R>=0&&G>=0?{row:R,col:G}:null};this.rect=function(g,p,v,u,D){D=D.offset();return{top:c[g][0]-D.top,left:l[p][0]-D.left,width:l[u][1]-l[p][0],height:c[v][1]-c[g][0]}}}function Ha(a){function c(u){u=a.cell(u.pageX,u.pageY);if(!u!=!v||u&&(u.row!=v.row||u.col!=v.col)){if(u){p||(p=u);g(u,p,u.row-p.row,u.col-p.col)}else g(u,p);v=u}}var l,g,p,v;this.start=function(u,D,R){g=u;p=v=null;a.build();c(D);l=R||"mousemove";e(document).bind(l,
175
- c)};this.stop=function(){e(document).unbind(l,c);return v}}function U(a){return(a<10?"0":"")+a}function Ma(a,c){if(a[c]!==ca)return a[c];for(var l=c.split(/(?=[A-Z])/),g=l.length-1,p;g>=0;g--){p=a[l[g].toLowerCase()];if(p!==ca)return p}return a[""]}function eb(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function rb(a){var c=this,l={},g={},p={};c.left=function(v){return g[v]=g[v]===ca?(l[v]=l[v]||
176
- a(v)).position().left:g[v]};c.right=function(v){return p[v]=p[v]===ca?c.left(v)+(l[v]=l[v]||a(v)).width():p[v]};c.clear=function(){l={};g={};p={}}}function ub(a){return a.id+"/"+a.className+"/"+a.style.cssText.replace(/(^|;)\s*(top|left|width|height)\s*:[^;]*/ig,"")}function vb(a,c){return a-c}function gb(a){var c;if(a.end){c=a.end;a=a.allDay;c=w(c);c=a||c.getHours()||c.getMinutes()?h(c,1):Y(c)}else c=h(w(a.start),1);return c}function tb(a){a.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",
177
- function(){return false})}var Xa=e.fullCalendar={},fb=Xa.views={},lb={defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:true,allDayDefault:true,lazyFetching:true,startParam:"start",endParam:"end",titleFormat:{month:"MMMM yyyy",week:"MMM d[ yyyy]{ '&#8212;'[ MMM] d yyyy}",day:"dddd, MMM d, yyyy"},columnFormat:{month:"ddd",week:"ddd M/d",day:"dddd M/d"},timeFormat:{"":"h(:mm)t"},isRTL:false,firstDay:0,monthNames:["January","February","March","April",
178
- "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"],buttonText:{prev:"&nbsp;&#9668;&nbsp;",next:"&nbsp;&#9658;&nbsp;",prevYear:"&nbsp;&lt;&lt;&nbsp;",nextYear:"&nbsp;&gt;&gt;&nbsp;",today:"today",month:"month",week:"week",day:"day"},theme:false,buttonIcons:{prev:"circle-triangle-w",
179
- next:"circle-triangle-e"},unselectAuto:true,dropAccept:"*"},Db={header:{left:"next,prev today",center:"",right:"title"},buttonText:{prev:"&nbsp;&#9658;&nbsp;",next:"&nbsp;&#9668;&nbsp;",prevYear:"&nbsp;&gt;&gt;&nbsp;",nextYear:"&nbsp;&lt;&lt;&nbsp;"},buttonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w"}},yb=Xa.setDefaults=function(a){e.extend(true,lb,a)};e.fn.fullCalendar=function(a){if(typeof a=="string"){var c=Array.prototype.slice.call(arguments,1),l;this.each(function(){var v=e.data(this,
180
- "fullCalendar");if(v)if(v=v[a]){v=v.apply(this,c);if(l===ca)l=v}});if(l!==ca)return l;return this}var g=a.eventSources||[];delete a.eventSources;if(a.events){g.push(a.events);delete a.events}g.unshift([]);a=e.extend(true,{},lb,a.isRTL||a.isRTL===ca&&lb.isRTL?Db:{},a);var p=a.theme?"ui":"fc";this.each(function(){function v(k){if(k!=Va){la++;C&&C.unselect();var B=C,K;if(B){if(B.eventsChanged){R();B.eventDirty=B.eventsChanged=false}B.beforeHide&&B.beforeHide();J(ya,ya.height());B.element.hide()}else J(ya,
181
- 1);ya.css("overflow","hidden");if(Ka[k])(C=Ka[k]).element.show();else C=Ka[k]=Xa.views[k](K=ua=e("<div class='fc-view fc-view-"+k+"' style='position:absolute'/>").appendTo(ya),a,k);if(Da){Da.find("div.fc-button-"+Va).removeClass(p+"-state-active");Da.find("div.fc-button-"+k).addClass(p+"-state-active")}Va=k;u();ya.css("overflow","");B&&J(ya,1);!K&&C.afterShow&&C.afterShow();la--}}function u(k){if(va.offsetWidth!==0){la++;C&&C.unselect();Ja===ca&&na();if(!C.start||k||pa<C.start||pa>=C.end){C.render(pa,
182
- k||0);za(true);!P||!a.lazyFetching||C.visStart<P||C.visEnd>Na?ea():C.renderEvents(fa)}else if(C.sizeDirty||C.eventsDirty||!a.lazyFetching){C.clearEvents();C.sizeDirty&&za();a.lazyFetching?C.renderEvents(fa):ea()}wa=ha.outerWidth();C.sizeDirty=false;C.eventsDirty=false;if(Da){Da.find("h2.fc-header-title").html(C.title);k=new Date;k>=C.start&&k<C.end?Da.find("div.fc-button-today").addClass(p+"-state-disabled"):Da.find("div.fc-button-today").removeClass(p+"-state-disabled")}la--;C.trigger("viewDisplay",
183
- va)}}function D(){R();if(va.offsetWidth!==0){C.clearEvents();C.renderEvents(fa);C.eventsDirty=false}}function R(){e.each(Ka,function(){this.eventsDirty=true})}function G(){ma();if(va.offsetWidth!==0){na();za();C&&C.unselect();C.rerenderEvents();C.sizeDirty=false}}function ma(){e.each(Ka,function(){this.sizeDirty=true})}function ka(k){fa=[];P=w(C.visStart);Na=w(C.visEnd);for(var B=g.length,K=function(){--B||k&&k(fa)},L=0;L<g.length;L++)Ga(g[L],K)}function Ga(k,B){var K=C.name,L=w(pa),da=function(Z){if(K==
184
- C.name&&+L==+pa&&e.inArray(k,g)!=-1){for(var Ia=0;Ia<Z.length;Ia++){sa(Z[Ia],a);Z[Ia].source=k}fa=fa.concat(Z);B&&B(Z)}},I=function(Z){da(Z);--Ca||C.trigger("loading",va,false)};if(typeof k=="string"){var oa={};oa[a.startParam]=Math.round(P.getTime()/1E3);oa[a.endParam]=Math.round(Na.getTime()/1E3);if(a.cacheParam)oa[a.cacheParam]=(new Date).getTime();Fa();e.ajax({url:k,dataType:"json",data:oa,cache:a.cacheParam||false,success:I})}else if(e.isFunction(k)){Fa();k(w(P),w(Na),I)}else da(k)}function ea(){ka(function(k){C.renderEvents(k)})}
185
- function Fa(){Ca++||C.trigger("loading",va,true)}function Q(k){if(k){var B=e("<tr/>");e.each(k.split(" "),function(K){K>0&&B.append("<td><span class='fc-header-space'/></td>");var L;e.each(this.split(","),function(da,I){if(I=="title"){B.append("<td><h2 class='fc-header-title'>&nbsp;</h2></td>");L&&L.addClass(p+"-corner-right");L=null}else{var oa;if(ra[I])oa=ra[I];else if(fb[I])oa=function(){Z.removeClass(p+"-state-hover");v(I)};if(oa){L&&L.addClass(p+"-no-right");var Z,Ia=a.theme?Ma(a.buttonIcons,
186
- I):null,Wa=Ma(a.buttonText,I);if(Ia)Z=e("<div class='fc-button-"+I+" ui-state-default'><a><span class='ui-icon ui-icon-"+Ia+"'/></a></div>");else if(Wa)Z=e("<div class='fc-button-"+I+" "+p+"-state-default'><a><span>"+Wa+"</span></a></div>");if(Z){Z.click(function(){Z.hasClass(p+"-state-disabled")||oa()}).mousedown(function(){Z.not("."+p+"-state-active").not("."+p+"-state-disabled").addClass(p+"-state-down")}).mouseup(function(){Z.removeClass(p+"-state-down")}).hover(function(){Z.not("."+p+"-state-active").not("."+
187
- p+"-state-disabled").addClass(p+"-state-hover")},function(){Z.removeClass(p+"-state-hover").removeClass(p+"-state-down")}).appendTo(e("<td/>").appendTo(B));L?L.addClass(p+"-no-right"):Z.addClass(p+"-corner-left");L=Z}}}});L&&L.addClass(p+"-corner-right")});return e("<table/>").append(B)}}function na(){Ja=a.contentHeight?a.contentHeight:a.height?a.height-(Da?Da.height():0)-ia(ya[0]):Math.round(ya.width()/Math.max(a.aspectRatio,0.5))}function za(k){la++;C.setHeight(Ja,k);if(ua){ua.css("position","relative");
188
- ua=null}C.setWidth(ya.width(),k);la--}function Aa(){if(!la)if(C.start){var k=++xa;setTimeout(function(){if(k==xa&&!la&&va.offsetWidth!==0)if(wa!=(wa=ha.outerWidth())){la++;G();C.trigger("windowResize",va);la--}},200)}else Ea()}function Ea(){setTimeout(function(){!C.start&&e("body")[0].offsetWidth!==0&&u()},0)}var va=this,ha=e(va).addClass("fc"),wa,ya=e("<div class='fc-content "+p+"-widget-content' style='position:relative'/>").prependTo(va),Ja,xa=0,la=0,pa=new Date,Va,C,Ka={},ua;a.isRTL&&ha.addClass("fc-rtl");
189
- a.theme&&ha.addClass("ui-widget");r(pa,a.year,a.month,a.date);var fa=[],P,Na,Ca=0,ra={render:function(){na();ma();R();u()},changeView:v,getView:function(){return C},getDate:function(){return pa},option:function(k,B){if(B===ca)return a[k];if(k=="height"||k=="contentHeight"||k=="aspectRatio"){a[k]=B;G()}},destroy:function(){e(window).unbind("resize",Aa);Da&&Da.remove();ya.remove();e.removeData(va,"fullCalendar")},prev:function(){u(-1)},next:function(){u(1)},prevYear:function(){b(pa,-1);u()},nextYear:function(){b(pa,
190
- 1);u()},today:function(){pa=new Date;u()},gotoDate:function(k,B,K){if(typeof k=="object")pa=w(k);else r(pa,k,B,K);u()},incrementDate:function(k,B,K){k!==ca&&b(pa,k);B!==ca&&d(pa,B);K!==ca&&h(pa,K);u()},updateEvent:function(k){var B,K=fa.length,L,da=k.start-k._start,I=k.end?k.end-(k._end||C.defaultEventEnd(k)):0;for(B=0;B<K;B++){L=fa[B];if(L._id==k._id&&L!=k){L.start=new Date(+L.start+da);L.end=k.end?L.end?new Date(+L.end+I):new Date(+C.defaultEventEnd(L)+I):null;L.title=k.title;L.url=k.url;L.allDay=
191
- k.allDay;L.className=k.className;L.editable=k.editable;sa(L,a)}}sa(k,a);D()},renderEvent:function(k,B){sa(k,a);if(!k.source){if(B)(k.source=g[0]).push(k);fa.push(k)}D()},removeEvents:function(k){if(k){if(!e.isFunction(k)){var B=k+"";k=function(L){return L._id==B}}fa=e.grep(fa,k,true);for(K=0;K<g.length;K++)if(typeof g[K]=="object")g[K]=e.grep(g[K],k,true)}else{fa=[];for(var K=0;K<g.length;K++)if(typeof g[K]=="object")g[K]=[]}D()},clientEvents:function(k){if(e.isFunction(k))return e.grep(fa,k);else if(k){k+=
192
- "";return e.grep(fa,function(B){return B._id==k})}return fa},rerenderEvents:D,addEventSource:function(k){g.push(k);Ga(k,D)},removeEventSource:function(k){g=e.grep(g,function(B){return B!=k});fa=e.grep(fa,function(B){return B.source!=k});D()},refetchEvents:function(){ka(D)},select:function(k,B,K){C.select(k,B,K===ca?true:K)},unselect:function(){C.unselect()}};e.data(this,"fullCalendar",ra);var Da,x=a.header;if(x)Da=e("<table class='fc-header'/>").append(e("<tr/>").append(e("<td class='fc-header-left'/>").append(Q(x.left))).append(e("<td class='fc-header-center'/>").append(Q(x.center))).append(e("<td class='fc-header-right'/>").append(Q(x.right)))).prependTo(ha);
193
- e(window).resize(Aa);if(a.droppable){var A;e(document).bind("dragstart",function(k,B){var K=k.target,L=e(K);if(!L.parents(".fc").length){var da=a.dropAccept;if(e.isFunction(da)?da.call(K,L):L.is(da)){A=K;C.dragStart(A,k,B)}}}).bind("dragstop",function(k,B){if(A){C.dragStop(A,k,B);A=null}})}v(a.defaultView);e("body")[0].offsetWidth!==0||Ea()});return this};var zb=0;yb({weekMode:"fixed"});fb.month=function(a,c,l){return new db(a,c,{render:function(g,p){if(p){d(g,p);g.setDate(1)}var v=this.start=w(g,
194
- true);v.setDate(1);this.end=d(w(v),1);var u=this.visStart=w(v),D=this.visEnd=w(this.end),R=c.weekends?0:1;if(R){W(u);W(D,-1,true)}h(u,-((u.getDay()-Math.max(c.firstDay,R)+7)%7));h(D,(7-D.getDay()+Math.max(c.firstDay,R))%7);u=Math.round((D-u)/(xb*7));if(c.weekMode=="fixed"){h(D,(6-u)*7);u=6}this.title=La(v,this.option("titleFormat"),c);this.renderGrid(u,c.weekends?7:5,this.option("columnFormat"),true)}},l)};fb.basicWeek=function(a,c,l){return new db(a,c,{render:function(g,p){p&&h(g,p*7);var v=this.visStart=
195
- w(this.start=h(w(g),-((g.getDay()-c.firstDay+7)%7))),u=this.visEnd=w(this.end=h(w(v),7));if(!c.weekends){W(v);W(u,-1,true)}this.title=cb(v,h(w(u),-1),this.option("titleFormat"),c);this.renderGrid(1,c.weekends?7:5,this.option("columnFormat"),false)}},l)};fb.basicDay=function(a,c,l){return new db(a,c,{render:function(g,p){if(p){h(g,p);c.weekends||W(g,p<0?-1:1)}this.title=La(g,this.option("titleFormat"),c);this.start=this.visStart=w(g,true);this.end=this.visEnd=h(w(this.start),1);this.renderGrid(1,1,
196
- this.option("columnFormat"),false)}},l)};var mb;yb({allDaySlot:true,allDayText:"all-day",firstHour:6,slotMinutes:30,defaultEventMinutes:120,axisFormat:"h(:mm)tt",timeFormat:{agenda:"h:mm{ - h:mm}"},dragOpacity:{agenda:0.5},minTime:0,maxTime:24});fb.agendaWeek=function(a,c,l){return new Sa(a,c,{render:function(g,p){p&&h(g,p*7);var v=this.visStart=w(this.start=h(w(g),-((g.getDay()-c.firstDay+7)%7))),u=this.visEnd=w(this.end=h(w(v),7));if(!c.weekends){W(v);W(u,-1,true)}this.title=cb(v,h(w(u),-1),this.option("titleFormat"),
197
- c);this.renderAgenda(c.weekends?7:5,this.option("columnFormat"))}},l)};fb.agendaDay=function(a,c,l){return new Sa(a,c,{render:function(g,p){if(p){h(g,p);c.weekends||W(g,p<0?-1:1)}this.title=La(g,this.option("titleFormat"),c);this.start=this.visStart=w(g,true);this.end=this.visEnd=h(w(this.start),1);this.renderAgenda(1,this.option("columnFormat"))}},l)};var sb={init:function(a,c){this.element=a;this.options=c;this.eventsByID={};this.eventElements=[];this.eventElementsByID={};this.usedOverlays=[];this.unusedOverlays=
198
- []},trigger:function(a,c){if(this.options[a])return this.options[a].apply(c||this,Array.prototype.slice.call(arguments,2).concat([this]))},eventEnd:function(a){return a.end?w(a.end):this.defaultEventEnd(a)},reportEvents:function(a){var c,l=a.length,g,p=this.eventsByID={};for(c=0;c<l;c++){g=a[c];if(p[g._id])p[g._id].push(g);else p[g._id]=[g]}},reportEventElement:function(a,c){this.eventElements.push(c);var l=this.eventElementsByID;if(l[a._id])l[a._id].push(c);else l[a._id]=[c]},_clearEvents:function(){this.eventElements=
199
- [];this.eventElementsByID={}},showEvents:function(a,c){this._eee(a,c,"show")},hideEvents:function(a,c){this._eee(a,c,"hide")},_eee:function(a,c,l){a=this.eventElementsByID[a._id];var g,p=a.length;for(g=0;g<p;g++)a[g][0]!=c[0]&&a[g][l]()},eventDrop:function(a,c,l,g,p,v,u){var D=this,R=c.allDay,G=c._id;D.moveEvents(D.eventsByID[G],l,g,p);D.trigger("eventDrop",a,c,l,g,p,function(){D.moveEvents(D.eventsByID[G],-l,-g,R);D.rerenderEvents()},v,u);D.eventsChanged=true;D.rerenderEvents(G)},eventResize:function(a,
200
- c,l,g,p,v){var u=this,D=c._id;u.elongateEvents(u.eventsByID[D],l,g);u.trigger("eventResize",a,c,l,g,function(){u.elongateEvents(u.eventsByID[D],-l,-g);u.rerenderEvents()},p,v);u.eventsChanged=true;u.rerenderEvents(D)},moveEvents:function(a,c,l,g){l=l||0;for(var p,v=a.length,u=0;u<v;u++){p=a[u];if(g!==ca)p.allDay=g;E(h(p.start,c,true),l);if(p.end)p.end=E(h(p.end,c,true),l);sa(p,this.options)}},elongateEvents:function(a,c,l){l=l||0;for(var g,p=a.length,v=0;v<p;v++){g=a[v];g.end=E(h(this.eventEnd(g),
201
- c,true),l);sa(g,this.options)}},renderOverlay:function(a,c){var l=this.unusedOverlays.shift();l||(l=e("<div class='fc-cell-overlay' style='position:absolute;z-index:3'/>"));l[0].parentNode!=c[0]&&l.appendTo(c);this.usedOverlays.push(l.css(a).show());return l},clearOverlays:function(){for(var a;a=this.usedOverlays.shift();)this.unusedOverlays.push(a.hide().unbind())},resizableDayEvent:function(a,c,l){var g=this;if(!g.options.disableResizing&&c.resizable)c.resizable({handles:g.options.isRTL?{w:"div.ui-resizable-w"}:
202
- {e:"div.ui-resizable-e"},grid:l,minWidth:l/2,containment:g.element.parent().parent(),start:function(p,v){c.css("z-index",9);g.hideEvents(a,c);g.trigger("eventResizeStart",this,a,p,v)},stop:function(p,v){g.trigger("eventResizeStop",this,a,p,v);var u=Math.round((c.width()-v.originalSize.width)/l);if(u)g.eventResize(this,a,u,0,p,v);else{c.css("z-index",8);g.showEvents(a,c)}}})},eventElementHandlers:function(a,c){var l=this;c.click(function(g){if(!c.hasClass("ui-draggable-dragging")&&!c.hasClass("ui-resizable-resizing"))return l.trigger("eventClick",
203
- this,a,g)}).hover(function(g){l.trigger("eventMouseover",this,a,g)},function(g){l.trigger("eventMouseout",this,a,g)})},option:function(a,c){var l=this.options[a];if(typeof l=="object")return Ma(l,c||this.name);return l},sliceSegs:function(a,c,l,g){var p=[],v,u=a.length,D,R,G,ma,ka;for(v=0;v<u;v++){D=a[v];R=D.start;G=c[v];if(G>l&&R<g){if(R<l){R=w(l);ma=false}else{R=R;ma=true}if(G>g){G=w(g);ka=false}else{G=G;ka=true}p.push({event:D,start:R,end:G,isStart:ma,isEnd:ka,msLength:G-R})}}return p.sort(V)}},
204
- xb=864E5,Cb=36E5,Bb=6E4;Xa.addDays=h;Xa.cloneDate=w;var qb=Xa.parseDate=function(a){if(typeof a=="object")return a;if(typeof a=="number")return new Date(a*1E3);if(typeof a=="string"){if(a.match(/^\d+$/))return new Date(parseInt(a)*1E3);return Eb(a,true)||(a?new Date(a):null)}return null},Eb=Xa.parseISO8601=function(a,c){var l=a.match(/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})([T ]([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?$/);if(!l)return null;var g=new Date(l[1],
205
- 0,1),p=new Date(l[1],0,1,9,0),v=0;if(l[3]){g.setMonth(l[3]-1);p.setMonth(l[3]-1)}if(l[5]){g.setDate(l[5]);p.setDate(l[5])}O(g,p);l[7]&&g.setHours(l[7]);l[8]&&g.setMinutes(l[8]);l[10]&&g.setSeconds(l[10]);l[12]&&g.setMilliseconds(Number("0."+l[12])*1E3);O(g,p);if(!c){if(l[14]){v=Number(l[16])*60+Number(l[17]);v*=l[15]=="-"?1:-1}v-=g.getTimezoneOffset()}return new Date(+g+v*60*1E3)},wb=Xa.parseTime=function(a){if(typeof a=="number")return a*60;if(typeof a=="object")return a.getHours()*60+a.getMinutes();
206
- if(a=a.match(/(\d+)(?::(\d+))?\s*(\w+)?/)){var c=parseInt(a[1]);if(a[3]){c%=12;if(a[3].toLowerCase().charAt(0)=="p")c+=12}return c*60+(a[2]?parseInt(a[2]):0)}},La=Xa.formatDate=function(a,c,l){return cb(a,null,c,l)},cb=Xa.formatDates=function(a,c,l,g){g=g||lb;var p=a,v=c,u,D=l.length,R,G,ma,ka="";for(u=0;u<D;u++){R=l.charAt(u);if(R=="'")for(G=u+1;G<D;G++){if(l.charAt(G)=="'"){if(p){ka+=G==u+1?"'":l.substring(u+1,G);u=G}break}}else if(R=="(")for(G=u+1;G<D;G++){if(l.charAt(G)==")"){u=La(p,l.substring(u+
207
- 1,G),g);if(parseInt(u.replace(/\D/,"")))ka+=u;u=G;break}}else if(R=="[")for(G=u+1;G<D;G++){if(l.charAt(G)=="]"){R=l.substring(u+1,G);u=La(p,R,g);if(u!=La(v,R,g))ka+=u;u=G;break}}else if(R=="{"){p=c;v=a}else if(R=="}"){p=a;v=c}else{for(G=D;G>u;G--)if(ma=Fb[l.substring(u,G)]){if(p)ka+=ma(p,g);u=G-1;break}if(G==u)if(p)ka+=R}}return ka},Fb={s:function(a){return a.getSeconds()},ss:function(a){return U(a.getSeconds())},m:function(a){return a.getMinutes()},mm:function(a){return U(a.getMinutes())},h:function(a){return a.getHours()%
208
- 12||12},hh:function(a){return U(a.getHours()%12||12)},H:function(a){return a.getHours()},HH:function(a){return U(a.getHours())},d:function(a){return a.getDate()},dd:function(a){return U(a.getDate())},ddd:function(a,c){return c.dayNamesShort[a.getDay()]},dddd:function(a,c){return c.dayNames[a.getDay()]},M:function(a){return a.getMonth()+1},MM:function(a){return U(a.getMonth()+1)},MMM:function(a,c){return c.monthNamesShort[a.getMonth()]},MMMM:function(a,c){return c.monthNames[a.getMonth()]},yy:function(a){return(a.getFullYear()+
209
- "").substring(2)},yyyy:function(a){return a.getFullYear()},t:function(a){return a.getHours()<12?"a":"p"},tt:function(a){return a.getHours()<12?"am":"pm"},T:function(a){return a.getHours()<12?"A":"P"},TT:function(a){return a.getHours()<12?"AM":"PM"},u:function(a){return La(a,"yyyy-MM-dd'T'HH:mm:ss'Z'")},S:function(a){a=a.getDate();if(a>10&&a<20)return"th";return["st","nd","rd"][a%10-1]||"th"}},Ya=["sun","mon","tue","wed","thu","fri","sat"]})(jQuery);
17
+ var AnyTime={pad:function(c,ma){for(var Ja=String(Math.abs(c));Ja.length<ma;)Ja="0"+Ja;if(c<0)Ja="-"+Ja;return Ja}};
18
+ (function(c){var ma=[31,28,31,30,31,30,31,31,30,31,30,31],Ja=null,$a=false,Pa=navigator.userAgent.indexOf("MSIE 6")>0,Qa=navigator.userAgent.indexOf("MSIE 7")>0,Oa=[];jQuery.prototype.AnyTime_picker=function(na){return this.each(function(){AnyTime.picker(this.id,na)})};jQuery.prototype.AnyTime_noPicker=function(){return this.each(function(){AnyTime.noPicker(this.id)})};jQuery.prototype.AnyTime_height=function(na){return Pa?Number(this.css("height").replace(/[^0-9]/g,"")):this.outerHeight(na)};jQuery.prototype.AnyTime_width=
19
+ function(na){return Pa?1+Number(this.css("width").replace(/[^0-9]/g,"")):this.outerWidth(na)};jQuery.prototype.AnyTime_current=function(na,da){if(na){this.removeClass("AnyTime-out-btn ui-state-default ui-state-disabled ui-state-highlight");this.addClass("AnyTime-cur-btn ui-state-default ui-state-highlight")}else{this.removeClass("AnyTime-cur-btn ui-state-highlight");da?this.removeClass("AnyTime-out-btn ui-state-disabled"):this.addClass("AnyTime-out-btn ui-state-disabled")}};jQuery.prototype.AnyTime_clickCurrent=
20
+ function(){this.find(".AnyTime-cur-btn").triggerHandler("click")};c(document).ready(function(){if(Pa){Ja=c('<iframe frameborder="0" scrolling="no"></iframe>');Ja.src="javascript:'<html></html>';";c(Ja).css({display:"block",height:"1px",left:"0",top:"0",width:"1px",zIndex:0});c(document.body).append(Ja)}for(var na in Oa)Array.prototype[na]||Oa[na].onReady();$a=true});AnyTime.Converter=function(na){var da=0,G=9,h=9,b=6,f=3,y=Number.MIN_VALUE,Y=Number.MIN_VALUE,aa=Number.MIN_VALUE,qa=-1,za=Number.MIN_VALUE,
21
+ oa=-1,H=false;this.fmt="%Y-%m-%d %T";this.dAbbr=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];this.dNames=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];this.eAbbr=["BCE","CE"];this.mAbbr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];this.mNames=["January","February","March","April","May","June","July","August","September","October","November","December"];this.baseYear=null;this.dAt=function(o,q){return o.charCodeAt(q)>="0".charCodeAt(0)&&o.charCodeAt(q)<=
22
+ "9".charCodeAt(0)};this.format=function(o){o=new Date(o.getTime());y==Number.MIN_VALUE&&aa!=Number.MIN_VALUE&&o.setTime(o.getTime()+o.getTimezoneOffset()*6E4+aa*6E4);for(var q,s="",l=0;l<da;l++)if(this.fmt.charAt(l)!="%")s+=this.fmt.charAt(l);else{var k=this.fmt.charAt(l+1);switch(k){case "a":s+=this.dAbbr[o.getDay()];break;case "B":if(o.getFullYear()<0)s+=this.eAbbr[0];break;case "b":s+=this.mAbbr[o.getMonth()];break;case "C":if(o.getFullYear()>0)s+=this.eAbbr[1];break;case "c":s+=o.getMonth()+1;
23
+ break;case "d":q=o.getDate();if(q<10)s+="0";s+=String(q);break;case "D":q=String(o.getDate());s+=q;if(q.length==2&&q.charAt(0)=="1")s+="th";else switch(q.charAt(q.length-1)){case "1":s+="st";break;case "2":s+="nd";break;case "3":s+="rd";break;default:s+="th"}break;case "E":s+=this.eAbbr[o.getFullYear()<0?0:1];break;case "e":s+=o.getDate();break;case "H":q=o.getHours();if(q<10)s+="0";s+=String(q);break;case "h":case "I":q=o.getHours()%12;if(q==0)s+="12";else{if(q<10)s+="0";s+=String(q)}break;case "i":q=
24
+ o.getMinutes();if(q<10)s+="0";s+=String(q);break;case "k":s+=o.getHours();break;case "l":q=o.getHours()%12;s+=q==0?"12":String(q);break;case "M":s+=this.mNames[o.getMonth()];break;case "m":q=o.getMonth()+1;if(q<10)s+="0";s+=String(q);break;case "p":s+=o.getHours()<12?"AM":"PM";break;case "r":q=o.getHours()%12;if(q==0)s+="12:";else{if(q<10)s+="0";s+=String(q)+":"}q=o.getMinutes();if(q<10)s+="0";s+=String(q)+":";q=o.getSeconds();if(q<10)s+="0";s+=String(q);s+=o.getHours()<12?"AM":"PM";break;case "S":case "s":q=
25
+ o.getSeconds();if(q<10)s+="0";s+=String(q);break;case "T":q=o.getHours();if(q<10)s+="0";s+=String(q)+":";q=o.getMinutes();if(q<10)s+="0";s+=String(q)+":";q=o.getSeconds();if(q<10)s+="0";s+=String(q);break;case "W":s+=this.dNames[o.getDay()];break;case "w":s+=o.getDay();break;case "Y":s+=AnyTime.pad(o.getFullYear(),4);break;case "y":q=o.getFullYear()%100;s+=AnyTime.pad(q,2);break;case "Z":s+=AnyTime.pad(Math.abs(o.getFullYear()),4);break;case "z":s+=Math.abs(o.getFullYear());break;case "%":s+="%";
26
+ break;case "#":q=y!=Number.MIN_VALUE?y:aa==Number.MIN_VALUE?0-o.getTimezoneOffset():aa;if(q>=0)s+="+";s+=q;break;case "@":q=y!=Number.MIN_VALUE?y:aa==Number.MIN_VALUE?0-o.getTimezoneOffset():aa;if(AnyTime.utcLabel&&AnyTime.utcLabel[q]){s+=qa>0&&qa<AnyTime.utcLabel[q].length?AnyTime.utcLabel[q][qa]:AnyTime.utcLabel[q][0];break}s+="UTC";k=":";case "+":case "-":case ":":case ";":q=y!=Number.MIN_VALUE?y:aa==Number.MIN_VALUE?0-o.getTimezoneOffset():aa;s+=q<0?"-":"+";q=Math.abs(q);s+=k=="+"||k==":"?AnyTime.pad(Math.floor(q/
27
+ 60),2):Math.floor(q/60);if(k==":"||k==";")s+=":";s+=AnyTime.pad(q%60,2);break;case "f":case "j":case "U":case "u":case "V":case "v":case "X":case "x":throw"%"+k+" not implemented by AnyTime.Converter";default:s+=this.fmt.substr(l,2)}l++}return s};this.getUtcParseOffsetCaptured=function(){return Y};this.getUtcParseOffsetSubIndex=function(){return oa};this.parse=function(o){Y=za;oa=-1;for(var q=1,s=new Date(0,0,1,0,0,0,0),l=o.length,k=0,ga=1,X=za,T,pa,Ma,ia,La=0;La<da;La++)if(this.fmt.charAt(La)=="%"){pa=
28
+ this.fmt.charAt(La+1);switch(pa){case "a":pa=false;for(ia=0;k+ia<l;ia++){Ma=o.substr(k,ia);for(T=0;T<12;T++)if(this.dAbbr[T]==Ma){pa=true;k+=ia;break}if(pa)break}if(!pa)throw"unknown weekday: "+o.substr(k);break;case "B":ia=this.eAbbr[0].length;if(k+ia<=l&&o.substr(k,ia)==this.eAbbr[0]){q=-1;k+=ia}break;case "b":pa=false;for(ia=0;k+ia<l;ia++){Ma=o.substr(k,ia);for(T=0;T<12;T++)if(this.mAbbr[T]==Ma){s.setMonth(T);pa=true;k+=ia;break}if(pa)break}if(!pa)throw"unknown month: "+o.substr(k);break;case "C":ia=
29
+ this.eAbbr[1].length;if(k+ia<=l&&o.substr(k,ia)==this.eAbbr[1])k+=ia;break;case "c":if(k+1<l&&this.dAt(o,k+1)){s.setMonth((Number(o.substr(k,2))-1)%12);k+=2}else{s.setMonth((Number(o.substr(k,1))-1)%12);k++}break;case "D":if(k+1<l&&this.dAt(o,k+1)){s.setDate(Number(o.substr(k,2)));k+=4}else{s.setDate(Number(o.substr(k,1)));k+=3}break;case "d":s.setDate(Number(o.substr(k,2)));k+=2;break;case "E":ia=this.eAbbr[0].length;if(k+ia<=l&&o.substr(k,ia)==this.eAbbr[0]){q=-1;k+=ia}else if(k+(ia=this.eAbbr[1].length)<=
30
+ l&&o.substr(k,ia)==this.eAbbr[1])k+=ia;else throw"unknown era: "+o.substr(k);break;case "e":if(k+1<l&&this.dAt(o,k+1)){s.setDate(Number(o.substr(k,2)));k+=2}else{s.setDate(Number(o.substr(k,1)));k++}break;case "f":k+=6;break;case "H":s.setHours(Number(o.substr(k,2)));k+=2;break;case "h":case "I":s.setHours(Number(o.substr(k,2)));k+=2;break;case "i":s.setMinutes(Number(o.substr(k,2)));k+=2;break;case "k":if(k+1<l&&this.dAt(o,k+1)){s.setHours(Number(o.substr(k,2)));k+=2}else{s.setHours(Number(o.substr(k,
31
+ 1)));k++}break;case "l":if(k+1<l&&this.dAt(o,k+1)){s.setHours(Number(o.substr(k,2)));k+=2}else{s.setHours(Number(o.substr(k,1)));k++}break;case "M":pa=false;for(ia=f;k+ia<=l;ia++){if(ia>h)break;Ma=o.substr(k,ia);for(T=0;T<12;T++)if(this.mNames[T]==Ma){s.setMonth(T);pa=true;k+=ia;break}if(pa)break}break;case "m":s.setMonth((Number(o.substr(k,2))-1)%12);k+=2;break;case "p":if(s.getHours()==12)o.charAt(k)=="A"&&s.setHours(0);else o.charAt(k)=="P"&&s.setHours(s.getHours()+12);k+=2;break;case "r":s.setHours(Number(o.substr(k,
32
+ 2)));s.setMinutes(Number(o.substr(k+3,2)));s.setSeconds(Number(o.substr(k+6,2)));if(s.getHours()==12)o.charAt(k)=="A"&&s.setHours(0);else o.charAt(k)=="P"&&s.setHours(s.getHours()+12);k+=10;break;case "S":case "s":s.setSeconds(Number(o.substr(k,2)));k+=2;break;case "T":s.setHours(Number(o.substr(k,2)));s.setMinutes(Number(o.substr(k+3,2)));s.setSeconds(Number(o.substr(k+6,2)));k+=8;break;case "W":pa=false;for(ia=b;k+ia<=l;ia++){if(ia>G)break;Ma=o.substr(k,ia);for(T=0;T<7;T++)if(this.dNames[T]==Ma){pa=
33
+ true;k+=ia;break}if(pa)break}break;case "w":k+=1;break;case "Y":T=4;o.substr(k,1)=="-"&&T++;s.setFullYear(Number(o.substr(k,T)));k+=T;break;case "y":T=2;o.substr(k,1)=="-"&&T++;pa=Number(o.substr(k,T));pa+=typeof this.baseYear=="number"?this.baseYear:pa<70?2E3:1900;s.setFullYear(pa);k+=T;break;case "Z":s.setFullYear(Number(o.substr(k,4)));k+=4;break;case "z":for(T=0;k<l&&this.dAt(o,k);)T=T*10+Number(o.charAt(k++));s.setFullYear(T);break;case "#":if(o.charAt(k++)=="-")ga=-1;for(X=0;k<l&&String(T=Number(o.charAt(k)))==
34
+ o.charAt(k);k++)X=X*10+T;X*=ga;break;case "@":oa=-1;if(AnyTime.utcLabel){pa=false;for(X in AnyTime.utcLabel)if(!Array.prototype[X]){for(T=0;T<AnyTime.utcLabel[X].length;T++){Ma=AnyTime.utcLabel[X][T];ia=Ma.length;if(k+ia<=l&&o.substr(k,ia)==Ma){k+=ia;pa=true;break}}if(pa)break}if(pa){oa=T;X=Number(X);break}}if(k+9<l||o.substr(k,3)!="UTC")throw"unknown time zone: "+o.substr(k);k+=3;pa=":";case "-":case "+":case ":":case ";":if(o.charAt(k++)=="-")ga=-1;X=Number(o.charAt(k));if(pa=="+"||pa==":"||k+3<
35
+ l&&String(Number(o.charAt(k+3)))!==o.charAt(k+3))X=X*10+Number(o.charAt(++k));X*=60;if(pa==":"||pa==";")k++;X=(X+Number(o.substr(++k,2)))*ga;k+=2;break;case "j":case "U":case "u":case "V":case "v":case "X":case "x":throw"%"+this.fmt.charAt(La+1)+" not implemented by AnyTime.Converter";default:throw"%"+this.fmt.charAt(La+1)+" reserved for future use";}La++}else if(this.fmt.charAt(La)!=o.charAt(k))throw o+' is not in "'+this.fmt+'" format';else k++;q<0&&s.setFullYear(0-s.getFullYear());if(X!=Number.MIN_VALUE)if(H)Y=
36
+ X;else s.setTime(s.getTime()-X*6E4-s.getTimezoneOffset()*6E4);return s};this.setUtcFormatOffsetAlleged=function(o){var q=y;y=o;return q};this.setUtcFormatOffsetSubIndex=function(o){var q=qa;qa=o;return q};(function(o){var q,s;na=jQuery.extend(true,{},na||{});if(na.baseYear)o.baseYear=Number(na.baseYear);if(na.format)o.fmt=na.format;da=o.fmt.length;if(na.dayAbbreviations)o.dAbbr=c.makeArray(na.dayAbbreviations);if(na.dayNames){o.dNames=c.makeArray(na.dayNames);G=1;b=1E3;for(q=0;q<7;q++){s=o.dNames[q].length;
37
+ if(s>G)G=s;if(s<b)b=s}}if(na.eraAbbreviations)o.eAbbr=c.makeArray(na.eraAbbreviations);if(na.monthAbbreviations)o.mAbbr=c.makeArray(na.monthAbbreviations);if(na.monthNames){o.mNames=c.makeArray(na.monthNames);h=1;f=1E3;for(q=0;q<12;q++){s=o.mNames[q].length;if(s>h)h=s;if(s<f)f=s}}if(typeof na.utcFormatOffsetImposed!="undefined")aa=na.utcFormatOffsetImposed;if(typeof na.utcParseOffsetAssumed!="undefined")za=na.utcParseOffsetAssumed;if(na.utcParseOffsetCapture)H=true})(this)};AnyTime.noPicker=function(na){if(Oa[na]){Oa[na].cleanup();
38
+ delete Oa[na]}};AnyTime.picker=function(na,da){if(Oa[na])throw'Cannot create another AnyTime picker for "'+na+'"';var G=null;Oa[na]={twelveHr:false,ajaxOpts:null,denyTab:true,askEra:false,cloak:null,conv:null,bMinW:0,bMinH:0,dMinW:0,dMinH:0,div:null,dB:null,dD:null,dY:null,dMo:null,dDoM:null,hDoM:null,hMo:null,hTitle:null,hY:null,dT:null,dH:null,dM:null,dS:null,dO:null,earliest:null,fBtn:null,fDOW:0,hBlur:null,hClick:null,hFocus:null,hKeydown:null,hKeypress:null,id:null,inp:null,latest:null,lastAjax:null,
39
+ lostFocus:false,lX:"X",lY:"Year",lO:"Time Zone",oBody:null,oConv:null,oCur:null,oDiv:null,oLab:null,oListMinW:0,oMinW:0,oSel:null,offMin:Number.MIN_VALUE,offSI:-1,offStr:"",pop:true,time:null,tMinW:0,tMinH:0,url:null,wMinW:0,wMinH:0,yAhead:null,y0XXX:null,yCur:null,yDiv:null,yLab:null,yNext:null,yPast:null,yPrior:null,initialize:function(h){G=this;this.id="AnyTime--"+h.replace(/[^-_.A-Za-z0-9]/g,"--AnyTime--");da=jQuery.extend(true,{},da||{});da.utcParseOffsetCapture=true;this.conv=new AnyTime.Converter(da);
40
+ if(da.placement)if(da.placement=="inline")this.pop=false;else if(da.placement!="popup")throw"unknown placement: "+da.placement;if(da.ajaxOptions){this.ajaxOpts=jQuery.extend({},da.ajaxOptions);if(!this.ajaxOpts.success)this.ajaxOpts.success=function(l){G.inp.val(l)}}if(da.earliest)this.earliest=typeof da.earliest.getTime=="function"?da.earliest.getTime():this.conv.parse(da.earliest.toString());if(da.firstDOW){if(da.firstDOW<0||da.firstDOW>6)throw new Exception("illegal firstDOW: "+da.firstDOW);this.fDOW=
41
+ da.firstDOW}if(da.latest)this.latest=typeof da.latest.getTime=="function"?da.latest.getTime():this.conv.parse(da.latest.toString());this.lX=da.labelDismiss||"X";this.lY=da.labelYear||"Year";this.lO=da.labelTimeZone||"Time Zone";var b,f,y=0;f=this.conv.fmt;this.askEra=typeof da.askEra!="undefined"?da.askEra:f.indexOf("%B")>=0||f.indexOf("%C")>=0||f.indexOf("%E")>=0;b=f.indexOf("%Y")>=0||f.indexOf("%y")>=0||f.indexOf("%Z")>=0||f.indexOf("%z")>=0;var Y=f.indexOf("%b")>=0||f.indexOf("%c")>=0||f.indexOf("%M")>=
42
+ 0||f.indexOf("%m")>=0,aa=f.indexOf("%D")>=0||f.indexOf("%d")>=0||f.indexOf("%e")>=0,qa=b||Y||aa,za=(this.twelveHr=f.indexOf("%h")>=0||f.indexOf("%I")>=0||f.indexOf("%l")>=0||f.indexOf("%r")>=0)||f.indexOf("%H")>=0||f.indexOf("%k")>=0||f.indexOf("%T")>=0,oa=f.indexOf("%i")>=0||f.indexOf("%r")>=0||f.indexOf("%T")>=0,H=f.indexOf("%r")>=0||f.indexOf("%S")>=0||f.indexOf("%s")>=0||f.indexOf("%T")>=0;if(H&&typeof da.askSecond!="undefined")H=da.askSecond;var o=f.indexOf("%#")>=0||f.indexOf("%+")>=0||f.indexOf("%-")>=
43
+ 0||f.indexOf("%:")>=0||f.indexOf("%;")>=0||f.indexOf("%<")>=0||f.indexOf("%>")>=0||f.indexOf("%@")>=0,q=za||oa||H||o;if(o)this.oConv=new AnyTime.Converter({format:da.formatUtcOffset||f.match(/\S*%[-+:;<>#@]\S*/g).join(" ")});this.inp=c(document.getElementById(h));this.div=c('<div class="AnyTime-win AnyTime-pkr ui-widget ui-widget-content ui-corner-all" style="width:0;height:0" id="'+this.id+'" aria-live="off"/>');this.inp.after(this.div);this.wMinW=this.div.outerWidth(!c.browser.safari);this.wMinH=
44
+ this.div.AnyTime_height(true);this.hTitle=c('<h5 class="AnyTime-hdr ui-widget-header ui-corner-top"/>');this.div.append(this.hTitle);this.dB=c('<div class="AnyTime-body" style="width:0;height:0"/>');this.div.append(this.dB);this.bMinW=this.dB.outerWidth(true);this.bMinH=this.dB.AnyTime_height(true);da.hideInput&&this.inp.css({border:0,height:"1px",margin:0,padding:0,width:"1px"});h=f=null;if(this.pop){h=c('<div class="AnyTime-x-btn ui-state-default">'+this.lX+"</div>");this.hTitle.append(h);h.click(function(l){G.dismiss(l)})}h=
45
+ "";if(qa){this.dD=c('<div class="AnyTime-date" style="width:0;height:0"/>');this.dB.append(this.dD);this.dMinW=this.dD.outerWidth(true);this.dMinH=this.dD.AnyTime_height(true);if(b){this.yLab=c('<h6 class="AnyTime-lbl AnyTime-lbl-yr">'+this.lY+"</h6>");this.dD.append(this.yLab);this.dY=c('<ul class="AnyTime-yrs ui-helper-reset" />');this.dD.append(this.dY);this.yPast=this.btn(this.dY,"&lt;",this.newYear,["yrs-past"],"- "+this.lY);this.yPrior=this.btn(this.dY,"1",this.newYear,["yr-prior"],"-1 "+this.lY);
46
+ this.yCur=this.btn(this.dY,"2",this.newYear,["yr-cur"],this.lY);this.yCur.removeClass("ui-state-default");this.yCur.addClass("AnyTime-cur-btn ui-state-default ui-state-highlight");this.yNext=this.btn(this.dY,"3",this.newYear,["yr-next"],"+1 "+this.lY);this.yAhead=this.btn(this.dY,"&gt;",this.newYear,["yrs-ahead"],"+ "+this.lY);y++}if(Y){h=da.labelMonth||"Month";this.hMo=c('<h6 class="AnyTime-lbl AnyTime-lbl-month">'+h+"</h6>");this.dD.append(this.hMo);this.dMo=c('<ul class="AnyTime-mons" />');this.dD.append(this.dMo);
47
+ for(b=0;b<12;b++)this.btn(this.dMo,this.conv.mAbbr[b],function(l){var k=c(l.target);if(!k.hasClass("AnyTime-out-btn")){l=l.target.AnyTime_month;var ga=new Date(this.time.getTime());ga.getDate()>ma[l]&&ga.setDate(ma[l]);ga.setMonth(l);this.set(ga);this.upd(k)}},["mon","mon"+String(b+1)],h+" "+this.conv.mNames[b])[0].AnyTime_month=b;y++}if(aa){h=da.labelDayOfMonth||"Day of Month";this.hDoM=c('<h6 class="AnyTime-lbl AnyTime-lbl-dom">'+h+"</h6>");this.dD.append(this.hDoM);this.dDoM=c('<table border="0" cellpadding="0" cellspacing="0" class="AnyTime-dom-table"/>');
48
+ this.dD.append(this.dDoM);f=c('<thead class="AnyTime-dom-head"/>');this.dDoM.append(f);aa=c('<tr class="AnyTime-dow"/>');f.append(aa);for(b=0;b<7;b++)aa.append('<th class="AnyTime-dow AnyTime-dow'+String(b+1)+'">'+this.conv.dAbbr[(this.fDOW+b)%7]+"</th>");f=c('<tbody class="AnyTime-dom-body" />');this.dDoM.append(f);for(Y=0;Y<6;Y++){aa=c('<tr class="AnyTime-wk AnyTime-wk'+String(Y+1)+'"/>');f.append(aa);for(b=0;b<7;b++)this.btn(aa,"x",function(l){l=c(l.target);if(!l.hasClass("AnyTime-out-btn")){var k=
49
+ Number(l.html());if(k){var ga=new Date(this.time.getTime());ga.setDate(k);this.set(ga);this.upd(l)}}},["dom"],h)}y++}}if(q){this.dT=c('<div class="AnyTime-time" style="width:0;height:0" />');this.dB.append(this.dT);this.tMinW=this.dT.outerWidth(true);this.tMinH=this.dT.AnyTime_height(true);if(za){this.dH=c('<div class="AnyTime-hrs"/>');this.dT.append(this.dH);h=da.labelHour||"Hour";this.dH.append(c('<h6 class="AnyTime-lbl AnyTime-lbl-hr">'+h+"</h6>"));za=c('<ul class="AnyTime-hrs-am"/>');this.dH.append(za);
50
+ aa=c('<ul class="AnyTime-hrs-pm"/>');this.dH.append(aa);for(b=0;b<12;b++){f=this.twelveHr?b==0?"12am":String(b)+"am":AnyTime.pad(b,2);this.btn(za,f,this.newHour,["hr","hr"+String(b)],h+" "+f);f=this.twelveHr?b==0?"12pm":String(b)+"pm":b+12;this.btn(aa,f,this.newHour,["hr","hr"+String(b+12)],h+" "+f)}y++}if(oa){this.dM=c('<div class="AnyTime-mins"/>');this.dT.append(this.dM);h=da.labelMinute||"Minute";this.dM.append(c('<h6 class="AnyTime-lbl AnyTime-lbl-min">'+h+"</h6>"));oa=c('<ul class="AnyTime-mins-tens"/>');
51
+ this.dM.append(oa);for(b=0;b<6;b++)this.btn(oa,b,function(l){l=c(l.target);if(!l.hasClass("AnyTime-out-btn")){var k=new Date(this.time.getTime());k.setMinutes(Number(l.text())*10+this.time.getMinutes()%10);this.set(k);this.upd(l)}},["min-ten","min"+b+"0"],h+" "+b+"0");for(;b<12;b++)this.btn(oa,"&#160;",c.noop,["min-ten","min"+b+"0"],h+" "+b+"0").addClass("AnyTime-min-ten-btn-empty ui-state-default ui-state-disabled");oa=c('<ul class="AnyTime-mins-ones"/>');this.dM.append(oa);for(b=0;b<10;b++)this.btn(oa,
52
+ b,function(l){l=c(l.target);if(!l.hasClass("AnyTime-out-btn")){var k=new Date(this.time.getTime());k.setMinutes(Math.floor(this.time.getMinutes()/10)*10+Number(l.text()));this.set(k);this.upd(l)}},["min-one","min"+b],h+" "+b);for(;b<12;b++)this.btn(oa,"&#160;",c.noop,["min-one","min"+b+"0"],h+" "+b).addClass("AnyTime-min-one-btn-empty ui-state-default ui-state-disabled");y++}if(H){this.dS=c('<div class="AnyTime-secs"/>');this.dT.append(this.dS);h=da.labelSecond||"Second";this.dS.append(c('<h6 class="AnyTime-lbl AnyTime-lbl-sec">'+
53
+ h+"</h6>"));oa=c('<ul class="AnyTime-secs-tens"/>');this.dS.append(oa);for(b=0;b<6;b++)this.btn(oa,b,function(l){l=c(l.target);if(!l.hasClass("AnyTime-out-btn")){var k=new Date(this.time.getTime());k.setSeconds(Number(l.text())*10+this.time.getSeconds()%10);this.set(k);this.upd(l)}},["sec-ten","sec"+b+"0"],h+" "+b+"0");for(;b<12;b++)this.btn(oa,"&#160;",c.noop,["sec-ten","sec"+b+"0"],h+" "+b+"0").addClass("AnyTime-sec-ten-btn-empty ui-state-default ui-state-disabled");oa=c('<ul class="AnyTime-secs-ones"/>');
54
+ this.dS.append(oa);for(b=0;b<10;b++)this.btn(oa,b,function(l){l=c(l.target);if(!l.hasClass("AnyTime-out-btn")){var k=new Date(this.time.getTime());k.setSeconds(Math.floor(this.time.getSeconds()/10)*10+Number(l.text()));this.set(k);this.upd(l)}},["sec-one","sec"+b],h+" "+b);for(;b<12;b++)this.btn(oa,"&#160;",c.noop,["sec-one","sec"+b+"0"],h+" "+b).addClass("AnyTime-sec-one-btn-empty ui-state-default ui-state-disabled");y++}if(o){this.dO=c('<div class="AnyTime-offs" />');this.dT.append(this.dO);this.oMinW=
55
+ this.dO.outerWidth(true);this.oLab=c('<h6 class="AnyTime-lbl AnyTime-lbl-off">'+this.lO+"</h6>");this.dO.append(this.oLab);H=c('<ul class="AnyTime-off-list ui-helper-reset" />');this.dO.append(H);this.oCur=this.btn(H,"",this.newOffset,["off","off-cur"],h);this.oCur.removeClass("ui-state-default");this.oCur.addClass("AnyTime-cur-btn ui-state-default ui-state-highlight");this.oCur.css({overflow:"hidden"});this.oSel=this.btn(H,"&#177;",this.newOffset,["off","off-select"],"+/- "+this.lO);this.oListMinW=
56
+ this.oCur.outerWidth(true)+this.oSel.outerWidth(true);y++}}if(da.labelTitle)this.hTitle.append(da.labelTitle);else y>1?this.hTitle.append("Select a "+(qa?q?"Date and Time":"Date":"Time")):this.hTitle.append("Select");try{this.time=this.conv.parse(this.inp.val());this.offMin=this.conv.getUtcParseOffsetCaptured();this.offSI=this.conv.getUtcParseOffsetSubIndex()}catch(s){this.time=new Date}this.lastAjax=this.time;if(this.pop){this.div.hide();Ja&&Ja.hide();this.div.css("position","absolute")}this.inp.blur(this.hBlur=
57
+ function(l){G.inpBlur(l)});this.inp.click(this.hClick=function(l){G.showPkr(l)});this.inp.focus(this.hFocus=function(l){G.lostFocus&&G.showPkr(l);G.lostFocus=false});this.inp.keydown(this.hKeydown=function(l){G.key(l)});this.inp.keypress(this.hKeypress=function(l){c.browser.opera&&G.denyTab&&l.preventDefault()});this.div.click(function(){G.lostFocus=false;G.inp.focus()});c(window).resize(function(l){G.pos(l)});$a&&this.onReady()},ajax:function(){if(this.ajaxOpts&&this.time.getTime()!=this.lastAjax.getTime())try{var h=
58
+ jQuery.extend({},this.ajaxOpts);if(typeof h.data=="object")h.data[this.inp[0].name||this.inp[0].id]=this.inp.val();else{var b=(this.inp[0].name||this.inp[0].id)+"="+encodeURI(this.inp.val());if(h.data)h.data+="&"+b;else h.data=b}c.ajax(h);this.lastAjax=this.time}catch(f){}},askOffset:function(h){if(this.oDiv){this.cloak.show();this.oDiv.show()}else{this.makeCloak();this.oDiv=c('<div class="AnyTime-win AnyTime-off-selector ui-widget ui-widget-content ui-corner-all" style="position:absolute" />');this.div.append(this.oDiv);
59
+ var b=c('<h5 class="AnyTime-hdr AnyTime-hdr-off-selector ui-widget-header ui-corner-top" />');this.oDiv.append(b);this.oBody=c('<div class="AnyTime-body AnyTime-body-off-selector" style="overflow:auto;white-space:nowrap" />');this.oDiv.append(this.oBody);var f=this.oBody.AnyTime_height(true),y=this.oBody.AnyTime_width(true),Y=b.AnyTime_width(true),aa=c('<div class="AnyTime-x-btn ui-state-default">'+this.lX+"</div>");b.append(aa);aa.click(function(s){G.dismissODiv(s)});b.append(this.lO);if(Pa||Qa)b.width(String(this.lO.length*
60
+ 0.8)+"em");y=b.AnyTime_width(true)-y;aa=c('<ul class="AnyTime-off-off" />');var qa=null;this.oBody.append(aa);var za=this.oConv.fmt.indexOf("%@")>=0,oa=0;if(AnyTime.utcLabel)for(var H=-720;H<720;H++)if(AnyTime.utcLabel[H]){this.oConv.setUtcFormatOffsetAlleged(H);for(var o=0;o<AnyTime.utcLabel[H].length;o++){this.oConv.setUtcFormatOffsetSubIndex(o);qa=this.btn(aa,this.oConv.format(this.time),this.newOPos,["off-off"],H);qa[0].AnyTime_offMin=H;qa[0].AnyTime_offSI=o;var q=qa.width();if(q>oa)oa=q;if(!za)break}}qa&&
61
+ qa.addClass("AnyTime-off-off-last-btn");this.oBody.find(".AnyTime-off-off-btn").width(oa);if(qa){aa=qa.AnyTime_width(true);if(aa>y)y=aa+1}this.oBody.width(y);y=this.oBody.AnyTime_width(true);this.oDiv.width(y);if(Pa||Qa)b.width(y-Y);y=this.oDiv.AnyTime_height(true);aa=this.div.height()*0.75;if(y>aa){y=aa;this.oBody.height(y-(b.AnyTime_height(true)+f));this.oBody.width(this.oBody.width()+20);this.oDiv.width(this.oDiv.width()+20);if(Pa||Qa)b.width(this.oBody.AnyTime_width(true)-Y)}Qa||this.oDiv.height(String(y)+
62
+ "px")}this.pos(h);this.updODiv(null);h=this.oDiv.find(".AnyTime-off-off-btn.AnyTime-cur-btn:first");h.length||(h=this.oDiv.find(".AnyTime-off-off-btn:first"));this.setFocus(h)},askYear:function(h){if(this.yDiv){this.cloak.show();this.yDiv.show()}else{this.makeCloak();this.yDiv=c('<div class="AnyTime-win AnyTime-yr-selector ui-widget ui-widget-content ui-corner-all" style="position:absolute" />');this.div.append(this.yDiv);var b=c('<h5 class="AnyTime-hdr AnyTime-hdr-yr-selector ui-widget-header ui-corner-top" />');
63
+ this.yDiv.append(b);var f=c('<div class="AnyTime-x-btn ui-state-default">'+this.lX+"</div>");b.append(f);f.click(function(aa){G.dismissYDiv(aa)});b.append(this.lY);f=c('<div class="AnyTime-body AnyTime-body-yr-selector" />');var y=f.AnyTime_width(true),Y=0;this.yDiv.append(f);cont=c('<ul class="AnyTime-yr-mil" />');f.append(cont);this.y0XXX=this.btn(cont,0,this.newYPos,["mil","mil0"],this.lY+" 0000");for(i=1;i<10;i++)this.btn(cont,i,this.newYPos,["mil","mil"+i],this.lY+" "+i+"000");y+=cont.AnyTime_width(true);
64
+ if(Y<cont.AnyTime_height(true))Y=cont.AnyTime_height(true);cont=c('<ul class="AnyTime-yr-cent" />');f.append(cont);for(i=0;i<10;i++)this.btn(cont,i,this.newYPos,["cent","cent"+i],this.lY+" "+i+"00");y+=cont.AnyTime_width(true);if(Y<cont.AnyTime_height(true))Y=cont.AnyTime_height(true);cont=c('<ul class="AnyTime-yr-dec" />');f.append(cont);for(i=0;i<10;i++)this.btn(cont,i,this.newYPos,["dec","dec"+i],this.lY+" "+i+"0");y+=cont.AnyTime_width(true);if(Y<cont.AnyTime_height(true))Y=cont.AnyTime_height(true);
65
+ cont=c('<ul class="AnyTime-yr-yr" />');f.append(cont);for(i=0;i<10;i++)this.btn(cont,i,this.newYPos,["yr","yr"+i],this.lY+" "+i);y+=cont.AnyTime_width(true);if(Y<cont.AnyTime_height(true))Y=cont.AnyTime_height(true);if(this.askEra){cont=c('<ul class="AnyTime-yr-era" />');f.append(cont);this.btn(cont,this.conv.eAbbr[0],function(aa){var qa=new Date(this.time.getTime()),za=qa.getFullYear();za>0&&qa.setFullYear(0-za);this.set(qa);this.updYDiv(c(aa.target))},["era","bce"],this.conv.eAbbr[0]);this.btn(cont,
66
+ this.conv.eAbbr[1],function(aa){var qa=new Date(this.time.getTime()),za=qa.getFullYear();za<0&&qa.setFullYear(0-za);this.set(qa);this.updYDiv(c(aa.target))},["era","ce"],this.conv.eAbbr[1]);y+=cont.AnyTime_width(true);if(Y<cont.AnyTime_height(true))Y=cont.AnyTime_height(true)}if(c.browser.msie)y+=1;else if(c.browser.safari)y+=2;Y+=f.AnyTime_height(true);f.css("width",String(y)+"px");Qa||f.css("height",String(Y)+"px");if(Pa||Qa)b.width(f.outerWidth(true));Y+=b.AnyTime_height(true);if(b.AnyTime_width(true)>
67
+ y)y=b.AnyTime_width(true);this.yDiv.css("width",String(y)+"px");Qa||this.yDiv.css("height",String(Y)+"px")}this.pos(h);this.updYDiv(null);this.setFocus(this.yDiv.find(".AnyTime-yr-btn.AnyTime-cur-btn:first"))},inpBlur:function(h){if(this.oDiv&&this.oDiv.is(":visible"))G.inp.focus();else{this.lostFocus=true;setTimeout(function(){if(G.lostFocus){G.div.find(".AnyTime-focus-btn").removeClass("AnyTime-focus-btn ui-state-focus");G.pop?G.dismiss(h):G.ajax()}},334)}},btn:function(h,b,f,y,Y){for(var aa=h[0].nodeName.toLowerCase()==
68
+ "ul"?"li":"td",qa="<"+aa+' class="AnyTime-btn',za=0;za<y.length;za++)qa+=" AnyTime-"+y[za]+"-btn";b=c(qa+' ui-state-default">'+b+"</"+aa+">");h.append(b);b.AnyTime_title=Y;b.click(function(oa){G.tempFunc=f;G.tempFunc(oa)});b.dblclick(function(oa){var H=c(this);if(H.is(".AnyTime-off-off-btn"))G.dismissODiv(oa);else if(H.is(".AnyTime-mil-btn")||H.is(".AnyTime-cent-btn")||H.is(".AnyTime-dec-btn")||H.is(".AnyTime-yr-btn")||H.is(".AnyTime-era-btn"))G.dismissYDiv(oa);else G.pop&&G.dismiss(oa)});return b},
69
+ cleanup:function(){this.inp.unbind("blur",this.hBlur);this.inp.unbind("click",this.hClick);this.inp.unbind("focus",this.hFocus);this.inp.unbind("keydown",this.hKeydown);this.inp.unbind("keypress",this.hKeypress);this.div.remove()},dismiss:function(){this.ajax();this.div.hide();Ja&&Ja.hide();this.yDiv&&this.dismissYDiv();this.oDiv&&this.dismissODiv();this.lostFocus=true},dismissODiv:function(){this.oDiv.hide();this.cloak.hide();this.setFocus(this.oCur)},dismissYDiv:function(){this.yDiv.hide();this.cloak.hide();
70
+ this.setFocus(this.yCur)},setFocus:function(h){if(!h.hasClass("AnyTime-focus-btn")){this.div.find(".AnyTime-focus-btn").removeClass("AnyTime-focus-btn ui-state-focus");this.fBtn=h;h.removeClass("ui-state-default ui-state-highlight");h.addClass("AnyTime-focus-btn ui-state-default ui-state-highlight ui-state-focus")}if(h.hasClass("AnyTime-off-off-btn")){var b=this.oBody.offset().top,f=h.offset().top;h=h.AnyTime_height(true);if(f-h<b)this.oBody.scrollTop(f+this.oBody.scrollTop()-(this.oBody.innerHeight()+
71
+ b)+h*2);else f+h>b+this.oBody.innerHeight()&&this.oBody.scrollTop(f+this.oBody.scrollTop()-(b+h))}},key:function(h){var b=null;this.div.find(".AnyTime-focus-btn");var f=h.keyCode||h.which;this.denyTab=true;if(f!=16)if(f==10||f==13||f==27)if(this.oDiv&&this.oDiv.is(":visible"))this.dismissODiv(h);else if(this.yDiv&&this.yDiv.is(":visible"))this.dismissYDiv(h);else this.pop&&this.dismiss(h);else if(f==33||f==9&&h.shiftKey)if(this.fBtn.hasClass("AnyTime-off-off-btn"))f==9&&this.dismissODiv(h);else if(this.fBtn.hasClass("AnyTime-mil-btn"))f==
72
+ 9&&this.dismissYDiv(h);else if(this.fBtn.hasClass("AnyTime-cent-btn"))this.yDiv.find(".AnyTime-mil-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-dec-btn"))this.yDiv.find(".AnyTime-cent-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr-btn"))this.yDiv.find(".AnyTime-dec-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-era-btn"))this.yDiv.find(".AnyTime-yr-btn.AnyTime-cur-btn").triggerHandler("click");
73
+ else if(this.fBtn.parents(".AnyTime-yrs").length){if(f==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-mon-btn"))if(this.dY)this.yCur.triggerHandler("click");else{if(f==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-dom-btn"))if(f==9&&h.shiftKey){this.denyTab=false;return}else{b=new Date(this.time.getTime());if(h.shiftKey)b.setFullYear(b.getFullYear()-1);else{f=b.getMonth()-1;b.getDate()>ma[f]&&b.setDate(ma[f]);b.setMonth(f)}this.keyDateChange(b)}else if(this.fBtn.hasClass("AnyTime-hr-btn"))if(b=
74
+ this.dDoM||this.dMo)b.AnyTime_clickCurrent();else if(this.dY)this.yCur.triggerHandler("click");else{if(f==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-min-ten-btn"))if(b=this.dH||this.dDoM||this.dMo)b.AnyTime_clickCurrent();else if(this.dY)this.yCur.triggerHandler("click");else{if(f==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-min-one-btn"))this.dM.AnyTime_clickCurrent();else if(this.fBtn.hasClass("AnyTime-sec-ten-btn"))if(b=this.dM?this.dM.find(".AnyTime-mins-ones"):
75
+ this.dH||this.dDoM||this.dMo)b.AnyTime_clickCurrent();else if(this.dY)this.yCur.triggerHandler("click");else{if(f==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-sec-one-btn"))this.dS.AnyTime_clickCurrent();else{if(this.fBtn.hasClass("AnyTime-off-btn"))if(b=this.dS?this.dS.find(".AnyTime-secs-ones"):this.dM?this.dM.find(".AnyTime-mins-ones"):this.dH||this.dDoM||this.dMo)b.AnyTime_clickCurrent();else if(this.dY)this.yCur.triggerHandler("click");else if(f==9){this.denyTab=false;return}}else if(f==
76
+ 34||f==9)if(this.fBtn.hasClass("AnyTime-mil-btn"))this.yDiv.find(".AnyTime-cent-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-cent-btn"))this.yDiv.find(".AnyTime-dec-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-dec-btn"))this.yDiv.find(".AnyTime-yr-btn.AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr-btn")){b=this.yDiv.find(".AnyTime-era-btn.AnyTime-cur-btn");if(b.length)b.triggerHandler("click");
77
+ else f==9&&this.dismissYDiv(h)}else if(this.fBtn.hasClass("AnyTime-era-btn"))f==9&&this.dismissYDiv(h);else if(this.fBtn.hasClass("AnyTime-off-off-btn"))f==9&&this.dismissODiv(h);else if(this.fBtn.parents(".AnyTime-yrs").length)if(b=this.dDoM||this.dMo||this.dH||this.dM||this.dS||this.dO)b.AnyTime_clickCurrent();else{if(f==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-mon-btn"))if(b=this.dDoM||this.dH||this.dM||this.dS||this.dO)b.AnyTime_clickCurrent();else{if(f==9){this.denyTab=
78
+ false;return}}else if(this.fBtn.hasClass("AnyTime-dom-btn"))if(f==9)if(b=this.dH||this.dM||this.dS||this.dO)b.AnyTime_clickCurrent();else{this.denyTab=false;return}else{b=new Date(this.time.getTime());if(h.shiftKey)b.setFullYear(b.getFullYear()+1);else{f=b.getMonth()+1;b.getDate()>ma[f]&&b.setDate(ma[f]);b.setMonth(f)}this.keyDateChange(b)}else if(this.fBtn.hasClass("AnyTime-hr-btn"))if(b=this.dM||this.dS||this.dO)b.AnyTime_clickCurrent();else{if(f==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-min-ten-btn"))this.dM.find(".AnyTime-mins-ones .AnyTime-cur-btn").triggerHandler("click");
79
+ else if(this.fBtn.hasClass("AnyTime-min-one-btn"))if(b=this.dS||this.dO)b.AnyTime_clickCurrent();else{if(f==9){this.denyTab=false;return}}else if(this.fBtn.hasClass("AnyTime-sec-ten-btn"))this.dS.find(".AnyTime-secs-ones .AnyTime-cur-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-sec-one-btn"))if(this.dO)this.dO.AnyTime_clickCurrent();else{if(f==9){this.denyTab=false;return}}else{if(this.fBtn.hasClass("AnyTime-off-btn"))if(f==9){this.denyTab=false;return}}else if(f==35)if(this.fBtn.hasClass("AnyTime-mil-btn")||
80
+ this.fBtn.hasClass("AnyTime-cent-btn")||this.fBtn.hasClass("AnyTime-dec-btn")||this.fBtn.hasClass("AnyTime-yr-btn")||this.fBtn.hasClass("AnyTime-era-btn")){b=this.yDiv.find(".AnyTime-ce-btn");b.length||(b=this.yDiv.find(".AnyTime-yr9-btn"));b.triggerHandler("click")}else if(this.fBtn.hasClass("AnyTime-dom-btn")){b=new Date(this.time.getTime());b.setDate(1);b.setMonth(b.getMonth()+1);b.setDate(b.getDate()-1);h.ctrlKey&&b.setMonth(11);this.keyDateChange(b)}else if(this.dS)this.dS.find(".AnyTime-sec9-btn").triggerHandler("click");
81
+ else if(this.dM)this.dM.find(".AnyTime-min9-btn").triggerHandler("click");else if(this.dH)this.dH.find(".AnyTime-hr23-btn").triggerHandler("click");else if(this.dDoM)this.dDoM.find(".AnyTime-dom-btn-filled:last").triggerHandler("click");else if(this.dMo)this.dMo.find(".AnyTime-mon12-btn").triggerHandler("click");else this.dY&&this.yAhead.triggerHandler("click");else if(f==36)if(this.fBtn.hasClass("AnyTime-mil-btn")||this.fBtn.hasClass("AnyTime-cent-btn")||this.fBtn.hasClass("AnyTime-dec-btn")||this.fBtn.hasClass("AnyTime-yr-btn")||
82
+ this.fBtn.hasClass("AnyTime-era-btn"))this.yDiv.find(".AnyTime-mil0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-dom-btn")){b=new Date(this.time.getTime());b.setDate(1);h.ctrlKey&&b.setMonth(0);this.keyDateChange(b)}else if(this.dY)this.yCur.triggerHandler("click");else if(this.dMo)this.dMo.find(".AnyTime-mon1-btn").triggerHandler("click");else if(this.dDoM)this.dDoM.find(".AnyTime-dom-btn-filled:first").triggerHandler("click");else if(this.dH)this.dH.find(".AnyTime-hr0-btn").triggerHandler("click");
83
+ else if(this.dM)this.dM.find(".AnyTime-min00-btn").triggerHandler("click");else this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else if(f==37)this.fBtn.hasClass("AnyTime-dom-btn")?this.keyDateChange(new Date(this.time.getTime()-864E5)):this.keyBack();else if(f==38)this.fBtn.hasClass("AnyTime-dom-btn")?this.keyDateChange(new Date(this.time.getTime()-6048E5)):this.keyBack();else if(f==39)this.fBtn.hasClass("AnyTime-dom-btn")?this.keyDateChange(new Date(this.time.getTime()+864E5)):
84
+ this.keyAhead();else if(f==40)this.fBtn.hasClass("AnyTime-dom-btn")?this.keyDateChange(new Date(this.time.getTime()+6048E5)):this.keyAhead();else if((f==86||f==118)&&h.ctrlKey){this.inp.val("").change();var y=this;setTimeout(function(){y.showPkr(null)},100);return}else this.showPkr(null);h.preventDefault()},keyAhead:function(){if(this.fBtn.hasClass("AnyTime-mil9-btn"))this.yDiv.find(".AnyTime-cent0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-cent9-btn"))this.yDiv.find(".AnyTime-dec0-btn").triggerHandler("click");
85
+ else if(this.fBtn.hasClass("AnyTime-dec9-btn"))this.yDiv.find(".AnyTime-yr0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr9-btn"))this.yDiv.find(".AnyTime-bce-btn").triggerHandler("click");else if(!this.fBtn.hasClass("AnyTime-sec9-btn"))if(this.fBtn.hasClass("AnyTime-sec50-btn"))this.dS.find(".AnyTime-sec0-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min9-btn"))this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min50-btn"))this.dM.find(".AnyTime-min0-btn").triggerHandler("click");
86
+ else if(this.fBtn.hasClass("AnyTime-hr23-btn"))if(this.dM)this.dM.find(".AnyTime-min00-btn").triggerHandler("click");else this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-hr11-btn"))this.dH.find(".AnyTime-hr12-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-mon12-btn"))if(this.dDoM)this.dDoM.AnyTime_clickCurrent();else if(this.dH)this.dH.find(".AnyTime-hr0-btn").triggerHandler("click");else if(this.dM)this.dM.find(".AnyTime-min00-btn").triggerHandler("click");
87
+ else this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yrs-ahead-btn"))if(this.dMo)this.dMo.find(".AnyTime-mon1-btn").triggerHandler("click");else if(this.dH)this.dH.find(".AnyTime-hr0-btn").triggerHandler("click");else if(this.dM)this.dM.find(".AnyTime-min00-btn").triggerHandler("click");else this.dS&&this.dS.find(".AnyTime-sec00-btn").triggerHandler("click");else this.fBtn.hasClass("AnyTime-yr-cur-btn")?this.yNext.triggerHandler("click"):this.fBtn.next().triggerHandler("click")},
88
+ keyBack:function(){if(this.fBtn.hasClass("AnyTime-cent0-btn"))this.yDiv.find(".AnyTime-mil9-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-dec0-btn"))this.yDiv.find(".AnyTime-cent9-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr0-btn"))this.yDiv.find(".AnyTime-dec9-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-bce-btn"))this.yDiv.find(".AnyTime-yr9-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-yr-cur-btn"))this.yPrior.triggerHandler("click");
89
+ else if(this.fBtn.hasClass("AnyTime-mon1-btn"))this.dY&&this.yCur.triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-hr0-btn"))if(this.dDoM)this.dDoM.AnyTime_clickCurrent();else if(this.dMo)this.dMo.find(".AnyTime-mon12-btn").triggerHandler("click");else this.dY&&this.yNext.triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-hr12-btn"))this.dH.find(".AnyTime-hr11-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min00-btn"))if(this.dH)this.dH.find(".AnyTime-hr23-btn").triggerHandler("click");
90
+ else if(this.dDoM)this.dDoM.AnyTime_clickCurrent();else if(this.dMo)this.dMo.find(".AnyTime-mon12-btn").triggerHandler("click");else this.dY&&this.yNext.triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-min0-btn"))this.dM.find(".AnyTime-min50-btn").triggerHandler("click");else if(this.fBtn.hasClass("AnyTime-sec00-btn"))if(this.dM)this.dM.find(".AnyTime-min9-btn").triggerHandler("click");else if(this.dH)this.dH.find(".AnyTime-hr23-btn").triggerHandler("click");else if(this.dDoM)this.dDoM.AnyTime_clickCurrent();
91
+ else if(this.dMo)this.dMo.find(".AnyTime-mon12-btn").triggerHandler("click");else this.dY&&this.yNext.triggerHandler("click");else this.fBtn.hasClass("AnyTime-sec0-btn")?this.dS.find(".AnyTime-sec50-btn").triggerHandler("click"):this.fBtn.prev().triggerHandler("click")},keyDateChange:function(h){if(this.fBtn.hasClass("AnyTime-dom-btn")){this.set(h);this.upd(null);this.setFocus(this.dDoM.find(".AnyTime-cur-btn"))}},makeCloak:function(){if(this.cloak)this.cloak.show();else{this.cloak=c('<div class="AnyTime-cloak" style="position:absolute" />');
92
+ this.div.append(this.cloak);this.cloak.click(function(h){G.oDiv&&G.oDiv.is(":visible")?G.dismissODiv(h):G.dismissYDiv(h)})}},newHour:function(h){var b,f=c(h.target);if(!f.hasClass("AnyTime-out-btn")){if(this.twelveHr){b=f.text();h=b.indexOf("a");if(h<0){h=Number(b.substr(0,b.indexOf("p")));b=h==12?12:h+12}else{h=Number(b.substr(0,h));b=h==12?0:h}}else b=Number(f.text());h=new Date(this.time.getTime());h.setHours(b);this.set(h);this.upd(f)}},newOffset:function(h){h.target==this.oSel[0]?this.askOffset(h):
93
+ this.upd(this.oCur)},newOPos:function(h){h=c(h.target);this.offMin=h[0].AnyTime_offMin;this.offSI=h[0].AnyTime_offSI;this.set(new Date(this.time.getTime()));this.updODiv(h)},newYear:function(h){var b=c(h.target);if(!b.hasClass("AnyTime-out-btn")){b=b.text();if(b=="<"||b=="&lt;")this.askYear(h);else if(b==">"||b=="&gt;")this.askYear(h);else{h=new Date(this.time.getTime());h.setFullYear(Number(b));this.set(h);this.upd(this.yCur)}}},newYPos:function(h){h=c(h.target);if(!h.hasClass("AnyTime-out-btn")){var b=
94
+ 1,f=this.time.getFullYear();if(f<0){b=-1;f=0-f}f=AnyTime.pad(f,4);f=h.hasClass("AnyTime-mil-btn")?h.html()+f.substring(1,4):h.hasClass("AnyTime-cent-btn")?f.substring(0,1)+h.html()+f.substring(2,4):h.hasClass("AnyTime-dec-btn")?f.substring(0,2)+h.html()+f.substring(3,4):f.substring(0,3)+h.html();if(f=="0000")f=1;var y=new Date(this.time.getTime());y.setFullYear(b*f);this.set(y);this.updYDiv(h)}},onReady:function(){this.lostFocus=true;if(this.pop)this.div.parent()!=document.body&&this.div.appendTo(document.body);
95
+ else this.upd(null)},pos:function(){if(this.pop){var h=this.inp.offset(),b=c(document.body).outerWidth(true),f=this.div.outerWidth(true),y=h.left;if(y+f>b-20)y=b-(f+20);b=h.top-this.div.outerHeight(true);if(b<0)b=h.top+this.inp.outerHeight(true);this.div.css({top:String(b)+"px",left:String(y<0?0:y)+"px"})}h=this.div.offset();if(this.oDiv&&this.oDiv.is(":visible")){y=this.oLab.offset();if(this.div.css("position")=="absolute"){y.top-=h.top;y.left-=h.left;h={top:0,left:0}}b=this.oDiv.AnyTime_width(true);
96
+ f=this.div.AnyTime_width(true);if(y.left+b>h.left+f){y.left=h.left+f-b;if(y.left<2)y.left=2}b=this.oDiv.AnyTime_height(true);f=this.div.AnyTime_height(true);y.top+=this.oLab.AnyTime_height(true);if(y.top+b>h.top+f)y.top-=b;if(y.top<h.top)y.top=h.top;this.oDiv.css({top:y.top+"px",left:y.left+"px"})}else if(this.yDiv&&this.yDiv.is(":visible")){y=this.yLab.offset();if(this.div.css("position")=="absolute"){y.top-=h.top;y.left-=h.left;h={top:0,left:0}}y.left+=(this.yLab.outerWidth(true)-this.yDiv.outerWidth(true))/
97
+ 2;this.yDiv.css({top:y.top+"px",left:y.left+"px"})}this.cloak&&this.cloak.css({top:h.top+"px",left:h.left+"px",height:String(this.div.outerHeight(true)-2)+"px",width:String(this.div.outerWidth(!c.browser.safari)-2)+"px"})},set:function(h){var b=h.getTime();this.time=this.earliest&&b<this.earliest?new Date(this.earliest):this.latest&&b>this.latest?new Date(this.latest):h},showPkr:function(h){try{this.time=this.conv.parse(this.inp.val());this.offMin=this.conv.getUtcParseOffsetCaptured();this.offSI=
98
+ this.conv.getUtcParseOffsetSubIndex()}catch(b){this.time=new Date}this.set(this.time);this.upd(null);fBtn=null;if(this.dDoM)fBtn=this.dDoM.find(".AnyTime-cur-btn:first");else if(this.yCur)fBtn=this.yCur;else if(this.dMo)fBtn=this.dMo.find(".AnyTime-cur-btn:first");else if(this.dH)fBtn=this.dH.find(".AnyTime-cur-btn:first");else if(this.dM)fBtn=this.dM.find(".AnyTime-cur-btn:first");else if(this.dS)fBtn=this.dS.find(".AnyTime-cur-btn:first");this.setFocus(fBtn);this.pos(h);this.pop&&Ja&&setTimeout(function(){var f=
99
+ G.div.offset();Ja.css({height:String(G.div.outerHeight(true))+"px",left:String(f.left)+"px",position:"absolute",top:String(f.top)+"px",width:String(G.div.outerWidth(true))+"px"});Ja.show()},300)},upd:function(h){var b=new Date(this.time.getTime());b.setMonth(0,1);b.setHours(0,0,0,0);var f=new Date(this.time.getTime());f.setMonth(11,31);f.setHours(23,59,59,999);var y=this.time.getFullYear();if(this.earliest&&this.yPast){f.setYear(y-2);f.getTime()<this.earliest?this.yPast.addClass("AnyTime-out-btn ui-state-disabled"):
100
+ this.yPast.removeClass("AnyTime-out-btn ui-state-disabled")}if(this.yPrior){this.yPrior.text(AnyTime.pad(y==1?-1:y-1,4));if(this.earliest){f.setYear(y-1);f.getTime()<this.earliest?this.yPrior.addClass("AnyTime-out-btn ui-state-disabled"):this.yPrior.removeClass("AnyTime-out-btn ui-state-disabled")}}this.yCur&&this.yCur.text(AnyTime.pad(y,4));if(this.yNext){this.yNext.text(AnyTime.pad(y==-1?1:y+1,4));if(this.latest){b.setYear(y+1);b.getTime()>this.latest?this.yNext.addClass("AnyTime-out-btn ui-state-disabled"):
101
+ this.yNext.removeClass("AnyTime-out-btn ui-state-disabled")}}if(this.latest&&this.yAhead){b.setYear(y+2);b.getTime()>this.latest?this.yAhead.addClass("AnyTime-out-btn ui-state-disabled"):this.yAhead.removeClass("AnyTime-out-btn ui-state-disabled")}b.setFullYear(this.time.getFullYear());f.setFullYear(this.time.getFullYear());var Y=0;y=this.time.getMonth();c("#"+this.id+" .AnyTime-mon-btn").each(function(){b.setMonth(Y);f.setDate(1);f.setMonth(Y+1);f.setDate(0);c(this).AnyTime_current(Y==y,(!G.earliest||
102
+ f.getTime()>=G.earliest)&&(!G.latest||b.getTime()<=G.latest));Y++});b.setMonth(this.time.getMonth());f.setMonth(this.time.getMonth(),1);y=this.time.getDate();var aa=this.time.getMonth(),qa=b.getDay();if(this.fDOW>qa)qa+=7;var za=0,oa=0;c("#"+this.id+" .AnyTime-wk").each(function(){oa=G.fDOW;c(this).children().each(function(){if(oa-G.fDOW<7){var T=c(this);if(za==0&&oa<qa||b.getMonth()!=aa){T.html("&#160;");T.removeClass("AnyTime-dom-btn-filled AnyTime-cur-btn ui-state-default ui-state-highlight");
103
+ T.addClass("AnyTime-dom-btn-empty");if(za){b.getDate()==1&&oa!=0?T.addClass("AnyTime-dom-btn-empty-after-filled"):T.removeClass("AnyTime-dom-btn-empty-after-filled");b.getDate()<=7?T.addClass("AnyTime-dom-btn-empty-below-filled"):T.removeClass("AnyTime-dom-btn-empty-below-filled");b.setDate(b.getDate()+1);f.setDate(f.getDate()+1)}else{T.addClass("AnyTime-dom-btn-empty-above-filled");oa==qa-1?T.addClass("AnyTime-dom-btn-empty-before-filled"):T.removeClass("AnyTime-dom-btn-empty-before-filled")}T.addClass("ui-state-default ui-state-disabled")}else{Y=
104
+ b.getDate();T.text(Y);T.removeClass("AnyTime-dom-btn-empty AnyTime-dom-btn-empty-above-filled AnyTime-dom-btn-empty-before-filled AnyTime-dom-btn-empty-after-filled AnyTime-dom-btn-empty-below-filled ui-state-default ui-state-disabled");T.addClass("AnyTime-dom-btn-filled ui-state-default");T.AnyTime_current(Y==y,(!G.earliest||f.getTime()>=G.earliest)&&(!G.latest||b.getTime()<=G.latest));b.setDate(Y+1);f.setDate(Y+1)}}oa++});za++});b.setMonth(this.time.getMonth(),this.time.getDate());f.setMonth(this.time.getMonth(),
105
+ this.time.getDate());var H=!this.twelveHr,o=this.time.getHours();c("#"+this.id+" .AnyTime-hr-btn").each(function(){var T=this.innerHTML,pa;if(H)pa=Number(T);else{pa=Number(T.substring(0,T.length-2));if(T.charAt(T.length-2)=="a"){if(pa==12)pa=0}else if(pa<12)pa+=12}b.setHours(pa);f.setHours(pa);c(this).AnyTime_current(o==pa,(!G.earliest||f.getTime()>=G.earliest)&&(!G.latest||b.getTime()<=G.latest));pa<23&&b.setHours(b.getHours()+1)});b.setHours(this.time.getHours());f.setHours(this.time.getHours());
106
+ var q=this.time.getMinutes(),s=String(Math.floor(q/10)),l=String(q%10);c("#"+this.id+" .AnyTime-min-ten-btn:not(.AnyTime-min-ten-btn-empty)").each(function(){c(this).AnyTime_current(this.innerHTML==s,(!G.earliest||f.getTime()>=G.earliest)&&(!G.latest||b.getTime()<=G.latest));if(b.getMinutes()<50){b.setMinutes(b.getMinutes()+10);f.setMinutes(f.getMinutes()+10)}});b.setMinutes(Math.floor(this.time.getMinutes()/10)*10);f.setMinutes(Math.floor(this.time.getMinutes()/10)*10);c("#"+this.id+" .AnyTime-min-one-btn:not(.AnyTime-min-one-btn-empty)").each(function(){c(this).AnyTime_current(this.innerHTML==
107
+ l,(!G.earliest||f.getTime()>=G.earliest)&&(!G.latest||b.getTime()<=G.latest));b.setMinutes(b.getMinutes()+1);f.setMinutes(f.getMinutes()+1)});b.setMinutes(this.time.getMinutes());f.setMinutes(this.time.getMinutes());q=this.time.getSeconds();s=String(Math.floor(q/10));l=String(q%10);c("#"+this.id+" .AnyTime-sec-ten-btn:not(.AnyTime-sec-ten-btn-empty)").each(function(){c(this).AnyTime_current(this.innerHTML==s,(!G.earliest||f.getTime()>=G.earliest)&&(!G.latest||b.getTime()<=G.latest));if(b.getSeconds()<
108
+ 50){b.setSeconds(b.getSeconds()+10);f.setSeconds(f.getSeconds()+10)}});b.setSeconds(Math.floor(this.time.getSeconds()/10)*10);f.setSeconds(Math.floor(this.time.getSeconds()/10)*10);c("#"+this.id+" .AnyTime-sec-one-btn:not(.AnyTime-sec-one-btn-empty)").each(function(){c(this).AnyTime_current(this.innerHTML==l,(!G.earliest||f.getTime()>=G.earliest)&&(!G.latest||b.getTime()<=G.latest));b.setSeconds(b.getSeconds()+1);f.setSeconds(f.getSeconds()+1)});if(this.oConv){this.oConv.setUtcFormatOffsetAlleged(this.offMin);
109
+ this.oConv.setUtcFormatOffsetSubIndex(this.offSI);this.oCur.html(this.oConv.format(this.time))}h&&this.setFocus(h);this.conv.setUtcFormatOffsetAlleged(this.offMin);this.conv.setUtcFormatOffsetSubIndex(this.offSI);this.inp.val(this.conv.format(this.time)).change();this.div.show();var k=q=h=0,ga=0,X=0;if(this.dY){q=k=this.dY.outerWidth(true);h=this.yLab.AnyTime_height(true)+this.dY.AnyTime_height(true)}if(this.dMo){ga=this.dMo.outerWidth(true);if(ga>q)q=ga;h+=this.hMo.AnyTime_height(true)+this.dMo.AnyTime_height(true)}if(this.dDoM){X=
110
+ this.dDoM.outerWidth(true);if(X>q)q=X;if(Pa||Qa)if(ga>X)this.dDoM.css("width",String(ga)+"px");else k>X&&this.dDoM.css("width",String(k)+"px");h+=this.hDoM.AnyTime_height(true)+this.dDoM.AnyTime_height(true)}if(this.dD){this.dD.css({width:String(q)+"px",height:String(h)+"px"});q+=this.dMinW;h+=this.dMinH}ga=k=X=X=0;if(this.dH){X=this.dH.outerWidth(true);ga+=X+1;X=this.dH.AnyTime_height(true);if(X>k)k=X}if(this.dM){X=this.dM.outerWidth(true);ga+=X+1;X=this.dM.AnyTime_height(true);if(X>k)k=X}if(this.dS){X=
111
+ this.dS.outerWidth(true);ga+=X+1;X=this.dS.AnyTime_height(true);if(X>k)k=X}if(this.dO){X=this.oMinW;if(ga<X+1)ga=X+1;k+=this.dO.AnyTime_height(true)}if(this.dT){this.dT.css({width:String(ga)+"px",height:String(k)+"px"});ga+=this.tMinW+1;k+=this.tMinH;q+=ga;if(k>h)h=k;if(this.dO){k=this.dT.width()-(this.oMinW+1);this.dO.css({width:String(k)+"px"});this.oCur.css({width:String(k-(this.oListMinW+4))+"px"})}}this.dB.css({height:String(h)+"px",width:String(q)+"px"});h+=this.bMinH;q+=this.bMinW;h+=this.hTitle.AnyTime_height(true)+
112
+ this.wMinH;q+=this.wMinW;if(this.hTitle.outerWidth(true)>q)q=this.hTitle.outerWidth(true);this.div.css({height:String(h)+"px",width:String(q)+"px"});this.pop||this.ajax()},updODiv:function(h){var b=false,f=null;this.oDiv.find(".AnyTime-off-off-btn").each(function(){if(this.AnyTime_offMin==G.offMin)if(this.AnyTime_offSI==G.offSI)c(this).AnyTime_current(b=true,true);else{c(this).AnyTime_current(false,true);if(f==null)f=c(this)}else c(this).AnyTime_current(false,true)});!b&&f!=null&&f.AnyTime_current(true,
113
+ true);this.conv.setUtcFormatOffsetAlleged(this.offMin);this.conv.setUtcFormatOffsetSubIndex(this.offSI);this.inp.val(this.conv.format(this.time)).change();this.upd(h)},updYDiv:function(h){var b,f,y=1,Y=this.time.getFullYear();if(Y<0){y=-1;Y=0-Y}Y=AnyTime.pad(Y,4);var aa=G.earliest&&(new Date(G.earliest)).getFullYear(),qa=G.latest&&(new Date(G.latest)).getFullYear();b=0;this.yDiv.find(".AnyTime-mil-btn").each(function(){f=(!G.earliest||y*(b+(y<0?0:999))>=aa)&&(!G.latest||y*(b+(y>0?0:999))<=qa);c(this).AnyTime_current(this.innerHTML==
114
+ Y.substring(0,1),f);b+=1E3});b=Math.floor(Y/1E3)*1E3;this.yDiv.find(".AnyTime-cent-btn").each(function(){f=(!G.earliest||y*(b+(y<0?0:99))>=aa)&&(!G.latest||y*(b+(y>0?0:99))<=qa);c(this).AnyTime_current(this.innerHTML==Y.substring(1,2),f);b+=100});b=Math.floor(Y/100)*100;this.yDiv.find(".AnyTime-dec-btn").each(function(){f=(!G.earliest||y*(b+(y<0?0:9))>=aa)&&(!G.latest||y*(b+(y>0?0:9))<=qa);c(this).AnyTime_current(this.innerHTML==Y.substring(2,3),f);b+=10});b=Math.floor(Y/10)*10;this.yDiv.find(".AnyTime-yr-btn").each(function(){f=
115
+ (!G.earliest||y*b>=aa)&&(!G.latest||y*b<=qa);c(this).AnyTime_current(this.innerHTML==Y.substring(3),f);b+=1});this.yDiv.find(".AnyTime-bce-btn").each(function(){c(this).AnyTime_current(y<0,!G.earliest||G.earliest<0)});this.yDiv.find(".AnyTime-ce-btn").each(function(){c(this).AnyTime_current(y>0,!G.latest||G.latest>0)});this.conv.setUtcFormatOffsetAlleged(this.offMin);this.conv.setUtcFormatOffsetSubIndex(this.offSI);this.inp.val(this.conv.format(this.time)).change();this.upd(h)}};Oa[na].initialize(na)}})(jQuery);
116
+ AnyTime.utcLabel=[];AnyTime.utcLabel[-720]=["BIT--Baker Island Time"];AnyTime.utcLabel[-660]=["SST--Samoa Standard Time"];AnyTime.utcLabel[-600]=["CKT--Cook Island Time","HAST--Hawaii-Aleutian Standard Time","TAHT--Tahiti Time"];AnyTime.utcLabel[-540]=["AKST--Alaska Standard Time","GIT--Gambier Island Time"];AnyTime.utcLabel[-510]=["MIT--Marquesas Islands Time"];AnyTime.utcLabel[-480]=["CIST--Clipperton Island Standard Time","PST--Pacific Standard Time (North America)"];
117
+ AnyTime.utcLabel[-420]=["MST--Mountain Standard Time (North America)","PDT--Pacific Daylight Time (North America)"];AnyTime.utcLabel[-360]=["CST--Central Standard Time (North America)","EAST--Easter Island Standard Time","GALT--Galapagos Time","MDT--Mountain Daylight Time (North America)"];AnyTime.utcLabel[-300]=["CDT--Central Daylight Time (North America)","COT--Colombia Time","ECT--Ecuador Time","EST--Eastern Standard Time (North America)"];
118
+ AnyTime.utcLabel[-240]=["AST--Atlantic Standard Time","BOT--Bolivia Time","CLT--Chile Standard Time","COST--Colombia Summer Time","ECT--Eastern Caribbean Time","EDT--Eastern Daylight Time (North America)","FKST--Falkland Islands Standard Time","GYT--Guyana Time"];AnyTime.utcLabel[-210]=["VET--Venezuelan Standard Time"];AnyTime.utcLabel[-180]=["ART--Argentina Time","BRT--Brasilia Time","CLST--Chile Summer Time","GFT--French Guiana Time","UYT--Uruguay Standard Time"];AnyTime.utcLabel[-150]=["NT--Newfoundland Time"];
119
+ AnyTime.utcLabel[-120]=["GST--South Georgia and the South Sandwich Islands","UYST--Uruguay Summer Time"];AnyTime.utcLabel[-90]=["NDT--Newfoundland Daylight Time"];AnyTime.utcLabel[-60]=["AZOST--Azores Standard Time","CVT--Cape Verde Time"];AnyTime.utcLabel[0]=["GMT--Greenwich Mean Time","WET--Western European Time"];AnyTime.utcLabel[60]=["BST--British Summer Time","CET--Central European Time"];AnyTime.utcLabel[60]=["WAT--West Africa Time","WEST--Western European Summer Time"];
120
+ AnyTime.utcLabel[120]=["CAT--Central Africa Time","CEST--Central European Summer Time","EET--Eastern European Time","IST--Israel Standard Time","SAST--South African Standard Time"];AnyTime.utcLabel[180]=["AST--Arab Standard Time (Kuwait/Riyadh)","AST--Arabic Standard Time (Baghdad)","EAT--East Africa Time","EEST--Eastern European Summer Time","MSK--Moscow Standard Time"];AnyTime.utcLabel[210]=["IRST--Iran Standard Time"];
121
+ AnyTime.utcLabel[240]=["AMT--Armenia Time","AST--Arabian Standard Time (Abu Dhabi/Muscat)","AZT--Azerbaijan Time","GET--Georgia Standard Time","MUT--Mauritius Time","RET--Réunion Time","SAMT--Samara Time","SCT--Seychelles Time"];AnyTime.utcLabel[270]=["AFT--Afghanistan Time"];AnyTime.utcLabel[300]=["AMST--Armenia Summer Time","HMT--Heard and McDonald Islands Time","PKT--Pakistan Standard Time","YEKT--Yekaterinburg Time"];AnyTime.utcLabel[330]=["IST--Indian Standard Time","SLT--Sri Lanka Time"];
122
+ AnyTime.utcLabel[345]=["NPT--Nepal Time"];AnyTime.utcLabel[360]=["BIOT--British Indian Ocean Time","BST--Bangladesh Standard Time","BTT--Bhutan Time","OMST--Omsk Time"];AnyTime.utcLabel[390]=["CCT--Cocos Islands Time","MST--Myanmar Standard Time"];AnyTime.utcLabel[420]=["CXT--Christmas Island Time","KRAT--Krasnoyarsk Time","THA--Thailand Standard Time"];
123
+ AnyTime.utcLabel[480]=["ACT--ASEAN Common Time","AWST--Australian Western Standard Time","BDT--Brunei Time","CST--China Standard Time","HKT--Hong Kong Time","IRKT--Irkutsk Time","MST--Malaysian Standard Time","PST--Philippine Standard Time","SST--Singapore Standard Time"];AnyTime.utcLabel[540]=["JST--Japan Standard Time","KST--Korea Standard Time","YAKT--Yakutsk Time"];AnyTime.utcLabel[570]=["ACST--Australian Central Standard Time"];
124
+ AnyTime.utcLabel[600]=["AEST--Australian Eastern Standard Time","ChST--Chamorro Standard Time","VLAT--Vladivostok Time"];AnyTime.utcLabel[630]=["LHST--Lord Howe Standard Time"];AnyTime.utcLabel[660]=["MAGT--Magadan Time","SBT--Solomon Islands Time"];AnyTime.utcLabel[690]=["NFT--Norfolk Time"];AnyTime.utcLabel[720]=["FJT--Fiji Time","GILT--Gilbert Island Time","PETT--Kamchatka Time"];AnyTime.utcLabel[765]=["CHAST--Chatham Standard Time"];AnyTime.utcLabel[780]=["PHOT--Phoenix Island Time"];
125
+ AnyTime.utcLabel[840]=["LINT--Line Islands Time"];
126
+ (function(c,ma){function Ja(a){c.extend(true,ab,a)}function $a(a,d,e){function r(){setTimeout(function(){!M.start&&c("body")[0].offsetWidth!==0&&x()},0)}function p(j){if(!M||j!=M.name){ua++;ra();var w=M,u;if(w){(w.beforeHide||mb)();db(W,W.height());w.element.hide()}else db(W,1);W.css("overflow","hidden");if(M=Aa[j])M.element.show();else M=Aa[j]=new Ua[j](u=Da=c("<div class='fc-view fc-view-"+j+"' style='position:absolute'/>").appendTo(W),$);w&&C.deactivateButton(w.name);C.activateButton(j);x();W.css("overflow",
127
+ "");w&&db(W,1);u||(M.afterShow||mb)();ua--}}function x(j){if(B.offsetWidth!==0){ua++;ra();Ka===ma&&m();var w=false;if(!M.start||j||va<M.start||va>=M.end){M.render(va,j||0);n(true);w=true}else if(M.sizeDirty){M.clearEvents();n();w=true}else if(M.eventsDirty){M.clearEvents();w=true}M.sizeDirty=false;M.eventsDirty=false;j=w;if(!d.lazyFetching||N(M.visStart,M.visEnd))S();else j&&U();Ga=a.outerWidth();C.updateTitle(M.title);j=new Date;j>=M.start&&j<M.end?C.disableButton("today"):C.enableButton("today");
128
+ ua--;M.trigger("viewDisplay",B)}}function A(){v();if(B.offsetWidth!==0){m();n();ra();M.clearEvents();M.renderEvents(Q);M.sizeDirty=false}}function v(){c.each(Aa,function(j,w){w.sizeDirty=true})}function m(){Ka=d.contentHeight?d.contentHeight:d.height?d.height-(L?L.height():0)-eb(W[0]):Math.round(W.width()/Math.max(d.aspectRatio,0.5))}function n(j){ua++;M.setHeight(Ka,j);if(Da){Da.css("position","relative");Da=null}M.setWidth(W.width(),j);ua--}function O(){if(!ua)if(M.start){var j=++ja;setTimeout(function(){if(j==
129
+ ja&&!ua&&B.offsetWidth!==0)if(Ga!=(Ga=a.outerWidth())){ua++;A();M.trigger("windowResize",B);ua--}},200)}else r()}function S(){g(M.visStart,M.visEnd)}function U(j){ya();if(B.offsetWidth!==0){M.clearEvents();M.renderEvents(Q,j);M.eventsDirty=false}}function ya(){c.each(Aa,function(j,w){w.eventsDirty=true})}function ra(){M&&M.unselect()}var $=this;$.options=d;$.render=function(j){if(W){m();v();ya();x(j)}else{ba=d.theme?"ui":"fc";a.addClass("fc");d.isRTL&&a.addClass("fc-rtl");d.theme&&a.addClass("ui-widget");
130
+ W=c("<div class='fc-content "+ba+"-widget-content' style='position:relative'/>").prependTo(a);C=new Pa($,d);(L=C.render())&&a.prepend(L);p(d.defaultView);c(window).resize(O);c("body")[0].offsetWidth!==0||r()}};$.destroy=function(){c(window).unbind("resize",O);C.destroy();W.remove();a.removeClass("fc fc-rtl fc-ui-widget")};$.refetchEvents=S;$.reportEvents=function(j){Q=j;U()};$.reportEventChange=function(j){U(j)};$.changeView=p;$.select=function(j,w,u){M.select(j,w,u===ma?true:u)};$.unselect=ra;$.prev=
131
+ function(){x(-1)};$.next=function(){x(1)};$.prevYear=function(){za(va,-1);x()};$.nextYear=function(){za(va,1);x()};$.today=function(){va=new Date;x()};$.gotoDate=function(j,w,u){if(j instanceof Date)va=l(j);else T(va,j,w,u);x()};$.incrementDate=function(j,w,u){j!==ma&&za(va,j);w!==ma&&oa(va,w);u!==ma&&H(va,u);x()};$.formatDate=function(j,w){return La(j,w,d)};$.formatDates=function(j,w,u){return fb(j,w,u,d)};$.getDate=function(){return l(va)};$.getView=function(){return M};$.option=function(j,w){if(w===
132
+ ma)return d[j];if(j=="height"||j=="contentHeight"||j=="aspectRatio"){d[j]=w;A()}};$.trigger=function(j,w){if(d[j])return d[j].apply(w||B,Array.prototype.slice.call(arguments,2))};Qa.call($,d,e);var N=$.isFetchNeeded,g=$.fetchEvents,B=a[0],C,L,W,ba,M,Aa={},Ga,Ka,Da,ja=0,ua=0,va=new Date,Q=[],Z;T(va,d.year,d.month,d.date);d.droppable&&c(document).bind("dragstart",function(j,w){var u=j.target,J=c(u);if(!J.parents(".fc").length){var P=d.dropAccept;if(c.isFunction(P)?P.call(u,J):J.is(P)){Z=u;M.dragStart(Z,
133
+ j,w)}}}).bind("dragstop",function(j,w){if(Z){M.dragStop(Z,j,w);Z=null}})}function Pa(a,d){function e(x){if(x){var A=c("<tr/>");c.each(x.split(" "),function(v){v>0&&A.append("<td><span class='fc-header-space'/></td>");var m;c.each(this.split(","),function(n,O){if(O=="title"){A.append("<td><h2 class='fc-header-title'>&nbsp;</h2></td>");m&&m.addClass(p+"-corner-right");m=null}else{var S;if(a[O])S=a[O];else if(Ua[O])S=function(){U.removeClass(p+"-state-hover");a.changeView(O)};if(S){m&&m.addClass(p+"-no-right");
134
+ var U,ya=d.theme?gb(d.buttonIcons,O):null,ra=gb(d.buttonText,O);if(ya)U=c("<div class='fc-button-"+O+" ui-state-default'><a><span class='ui-icon ui-icon-"+ya+"'/></a></div>");else if(ra)U=c("<div class='fc-button-"+O+" "+p+"-state-default'><a><span>"+ra+"</span></a></div>");if(U){U.click(function(){U.hasClass(p+"-state-disabled")||S()}).mousedown(function(){U.not("."+p+"-state-active").not("."+p+"-state-disabled").addClass(p+"-state-down")}).mouseup(function(){U.removeClass(p+"-state-down")}).hover(function(){U.not("."+
135
+ p+"-state-active").not("."+p+"-state-disabled").addClass(p+"-state-hover")},function(){U.removeClass(p+"-state-hover").removeClass(p+"-state-down")}).appendTo(c("<td/>").appendTo(A));m?m.addClass(p+"-no-right"):U.addClass(p+"-corner-left");m=U}}}});m&&m.addClass(p+"-corner-right")});return c("<table/>").append(A)}}this.render=function(){p=d.theme?"ui":"fc";var x=d.header;if(x)return r=c("<table class='fc-header'/>").append(c("<tr/>").append(c("<td class='fc-header-left'/>").append(e(x.left))).append(c("<td class='fc-header-center'/>").append(e(x.center))).append(c("<td class='fc-header-right'/>").append(e(x.right))))};
136
+ this.destroy=function(){r.remove()};this.updateTitle=function(x){r.find("h2.fc-header-title").html(x)};this.activateButton=function(x){r.find("div.fc-button-"+x).addClass(p+"-state-active")};this.deactivateButton=function(x){r.find("div.fc-button-"+x).removeClass(p+"-state-active")};this.disableButton=function(x){r.find("div.fc-button-"+x).addClass(p+"-state-disabled")};this.enableButton=function(x){r.find("div.fc-button-"+x).removeClass(p+"-state-disabled")};var r=c([]),p}function Qa(a,d){function e(g,
137
+ B){r(g,function(C){if(B==U){for(var L=0;L<C.length;L++){A(C[L]);C[L].source=g}N=N.concat(C);ya--;ya||n(N)}})}function r(g,B){if(typeof g=="string"){var C={};C[a.startParam]=Math.round(O.getTime()/1E3);C[a.endParam]=Math.round(S.getTime()/1E3);if(a.cacheParam)C[a.cacheParam]=(new Date).getTime();p();c.ajax({url:g,dataType:"json",data:C,cache:a.cacheParam||false,success:function(L){x();B(L)}})}else if(c.isFunction(g)){p();g(l(O),l(S),function(L){x();B(L)})}else B(g)}function p(){ra++||v("loading",null,
138
+ true)}function x(){--ra||v("loading",null,false)}function A(g){g._id=g._id||(g.id===ma?"_fc"+sb++:g.id+"");if(g.date){if(!g.start)g.start=g.date;delete g.date}g._start=l(g.start=pa(g.start,a.ignoreTimezone));g.end=pa(g.end,a.ignoreTimezone);if(g.end&&g.end<=g.start)g.end=null;g._end=g.end?l(g.end):null;if(g.allDay===ma)g.allDay=a.allDayDefault;if(g.className){if(typeof g.className=="string")g.className=g.className.split(/\s+/)}else g.className=[]}this.isFetchNeeded=function(g,B){return!O||g<O||B>
139
+ S};this.fetchEvents=function(g,B){O=g;S=B;N=[];var C=++U,L=d.length;ya=L;for(var W=0;W<L;W++)e(d[W],C)};this.addEventSource=function(g){d.push(g);ya++;e(g,U)};this.removeEventSource=function(g){d=c.grep(d,function(B){return B!=g});N=c.grep(N,function(B){return B.source!=g});n(N)};this.updateEvent=function(g){var B,C=N.length,L,W=m().defaultEventEnd,ba=g.start-g._start,M=g.end?g.end-(g._end||W(g)):0;for(B=0;B<C;B++){L=N[B];if(L._id==g._id&&L!=g){L.start=new Date(+L.start+ba);L.end=g.end?L.end?new Date(+L.end+
140
+ M):new Date(+W(L)+M):null;L.title=g.title;L.url=g.url;L.allDay=g.allDay;L.className=g.className;L.editable=g.editable;A(L)}}A(g);n(N)};this.renderEvent=function(g,B){A(g);if(!g.source){if(B){$.push(g);g.source=$}N.push(g)}n(N)};this.removeEvents=function(g){if(g){if(!c.isFunction(g)){var B=g+"";g=function(L){return L._id==B}}N=c.grep(N,g,true);for(C=0;C<d.length;C++)if(typeof d[C]=="object")d[C]=c.grep(d[C],g,true)}else{N=[];for(var C=0;C<d.length;C++)if(typeof d[C]=="object")d[C]=[]}n(N)};this.clientEvents=
141
+ function(g){if(c.isFunction(g))return c.grep(N,g);else if(g){g+="";return c.grep(N,function(B){return B._id==g})}return N};this.normalizeEvent=A;var v=this.trigger,m=this.getView,n=this.reportEvents,O,S,U=0,ya=0,ra=0,$=[],N=[];d.push($)}function Oa(a,d,e){function r(j){j.click(p).mousedown($)}function p(j){if(!O("selectable")){var w=parseInt(this.className.match(/fc\-day(\d+)/)[1]);w=H(l(n.visStart),Math.floor(w/M)*7+w%M);S("dayClick",this,w,true,j)}}function x(j,w,u){u&&va.build();u=l(n.visStart);
142
+ for(var J=H(l(u),M),P=0;P<ba;P++){var sa=new Date(Math.max(u,j)),z=new Date(Math.min(J,w));if(sa<z){var D;if(g){D=X(z,u)*B+C+1;sa=X(sa,u)*B+C+1}else{D=X(sa,u);sa=X(z,u)}r(A(P,D,P,sa-1))}H(u,7);H(J,7)}}function A(j,w,u,J){j=va.rect(j,w,u,J,a);return ya(j,a)}function v(j){return(j-Math.max(L,W)+M)%M}function m(j){return H(l(n.visStart),j.row*7+j.col*B+C)}var n=this;n.renderBasic=function(j,w,u){ba=j;M=w;if(g=O("isRTL")){B=-1;C=M-1}else{B=1;C=0}L=O("firstDay");W=O("weekends")?0:1;var J=O("theme")?"ui":
143
+ "fc",P=O("columnFormat"),sa=n.start.getMonth(),z=s(new Date),D,F=l(n.visStart);if(ja){U();w=ja.find("tr").length;if(ba<w)ja.find("tr:gt("+(ba-1)+")").remove();else if(ba>w){j="";for(w=w;w<ba;w++){j+="<tr class='fc-week"+w+"'>";for(D=0;D<M;D++){j+="<td class='fc-"+Sa[F.getDay()]+" "+J+"-state-default fc-new fc-day"+(w*M+D)+(D==C?" fc-leftmost":"")+"'>"+(u?"<div class='fc-day-number'></div>":"")+"<div class='fc-day-content'><div style='position:relative'>&nbsp;</div></div></td>";H(F,1);W&&ga(F)}j+=
144
+ "</tr>"}ja.append(j)}r(ja.find("td.fc-new").removeClass("fc-new"));F=l(n.visStart);ja.find("td").each(function(){var E=c(this);if(ba>1)F.getMonth()==sa?E.removeClass("fc-other-month"):E.addClass("fc-other-month");+F==+z?E.removeClass("fc-not-today").addClass("fc-today").addClass(J+"-state-highlight"):E.addClass("fc-not-today").removeClass("fc-today").removeClass(J+"-state-highlight");E.find("div.fc-day-number").text(F.getDate());H(F,1);W&&ga(F)});if(ba==1){F=l(n.visStart);Da.find("th").each(function(E,
145
+ ea){c(ea).text(N(F,P));ea.className=ea.className.replace(/^fc-\w+(?= )/,"fc-"+Sa[F.getDay()]);H(F,1);W&&ga(F)});F=l(n.visStart);ja.find("td").each(function(E,ea){ea.className=ea.className.replace(/^fc-\w+(?= )/,"fc-"+Sa[F.getDay()]);H(F,1);W&&ga(F)})}}else{var R=c("<table/>").appendTo(a);j="<thead><tr>";for(w=0;w<M;w++){j+="<th class='fc-"+Sa[F.getDay()]+" "+J+"-state-default"+(w==C?" fc-leftmost":"")+"'>"+N(F,P)+"</th>";H(F,1);W&&ga(F)}Da=c(j+"</tr></thead>").appendTo(R);j="<tbody>";F=l(n.visStart);
146
+ for(w=0;w<ba;w++){j+="<tr class='fc-week"+w+"'>";for(D=0;D<M;D++){j+="<td class='fc-"+Sa[F.getDay()]+" "+J+"-state-default fc-day"+(w*M+D)+(D==C?" fc-leftmost":"")+(ba>1&&F.getMonth()!=sa?" fc-other-month":"")+(+F==+z?" fc-today "+J+"-state-highlight":" fc-not-today")+"'>"+(u?"<div class='fc-day-number'>"+F.getDate()+"</div>":"")+"<div class='fc-day-content'><div style='position:relative'>&nbsp;</div></div></td>";H(F,1);W&&ga(F)}j+="</tr>"}ja=c(j+"</tbody>").appendTo(R);r(ja.find("td"));ua=c("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(a)}};
147
+ n.setHeight=function(j){Ka=j;j=ja.find("tr td:first-child");var w=Ka-Da.height(),u;if(O("weekMode")=="variable")u=w=Math.floor(w/(ba==1?2:6));else{u=Math.floor(w/ba);w=w-u*(ba-1)}if(hb===ma){var J=ja.find("tr:first").find("td:first");J.height(u);hb=u!=J.height()}if(hb){j.slice(0,-1).height(u);j.slice(-1).height(w)}else{bb(j.slice(0,-1),u);bb(j.slice(-1),w)}};n.setWidth=function(j){Ga=j;Z.clear();Aa=Math.floor(Ga/M);Va(Da.find("th").slice(0,-1),Aa)};n.renderDayOverlay=x;n.defaultSelectionEnd=function(j){return l(j)};
148
+ n.renderSelection=function(j,w){x(j,H(l(w),1),true)};n.clearSelection=function(){ra()};n.dragStart=function(j,w){Q.start(function(u){ra();u&&A(u.row,u.col,u.row,u.col)},w)};n.dragStop=function(j,w,u){var J=Q.stop();ra();if(J){J=m(J);S("drop",j,J,true,w,u)}};n.defaultEventEnd=function(j){return l(j.start)};n.getHoverListener=function(){return Q};n.colContentLeft=function(j){return Z.left(j)};n.colContentRight=function(j){return Z.right(j)};n.dayOfWeekCol=v;n.dateCell=function(j){return{row:Math.floor(X(j,
149
+ n.visStart)/7),col:v(j.getDay())*B+C}};n.cellDate=m;n.cellIsAllDay=function(){return true};n.allDayTR=function(j){return ja.find("tr:eq("+j+")")};n.allDayBounds=function(){return{left:0,right:Ga}};n.getRowCnt=function(){return ba};n.getColCnt=function(){return M};n.getColWidth=function(){return Aa};n.getDaySegmentContainer=function(){return ua};h.call(n,a,d,e);y.call(n);f.call(n);na.call(n);var O=n.opt,S=n.trigger,U=n.clearEvents,ya=n.renderOverlay,ra=n.clearOverlays,$=n.daySelectionMousedown,N=d.formatDate,
150
+ g,B,C,L,W,ba,M,Aa,Ga,Ka,Da,ja,ua,va,Q,Z;nb(a.addClass("fc-grid"));va=new Y(function(j,w){var u,J,P,sa=ja.find("tr:first td");if(g)sa=c(sa.get().reverse());sa.each(function(z,D){u=c(D);J=u.offset().left;if(z)P[1]=J;P=[J];w[z]=P});P[1]=J+u.outerWidth();ja.find("tr").each(function(z,D){u=c(D);J=u.offset().top;if(z)P[1]=J;P=[J];j[z]=P});P[1]=J+u.outerHeight()});Q=new aa(va);Z=new qa(function(j){return ja.find("td:eq("+j+") div div")})}function na(){function a(C){var L=$(),W=N(),ba=l(e.visStart);W=H(l(ba),
151
+ W);var M=c.map(C,Za),Aa,Ga,Ka,Da,ja,ua,va=[];for(Aa=0;Aa<L;Aa++){Ga=ib(jb(C,M,ba,W));for(Ka=0;Ka<Ga.length;Ka++){Da=Ga[Ka];for(ja=0;ja<Da.length;ja++){ua=Da[ja];ua.row=Aa;ua.level=Ka;va.push(ua)}}H(ba,7);H(W,7)}return va}function d(C,L){if(!r("disableDragging")&&L.draggable){var W=U(),ba;L.draggable({zIndex:9,delay:50,opacity:r("dragOpacity"),revertDuration:r("dragRevertDuration"),start:function(M,Aa){p("eventDragStart",L,C,M,Aa);n(C,L);W.start(function(Ga,Ka,Da,ja){L.draggable("option","revert",
152
+ !Ga||!Da&&!ja);ra();if(Ga){ba=Da*7+ja*(r("isRTL")?-1:1);ya(H(l(C.start),ba),H(Za(C),ba))}else ba=0},M,"drag")},stop:function(M,Aa){W.stop();ra();p("eventDragStop",L,C,M,Aa);if(ba){L.find("a").removeAttr("href");O(this,C,ba,0,C.allDay,M,Aa)}else{c.browser.msie&&L.css("filter","");m(C,L)}}})}}var e=this;e.renderEvents=function(C,L){x(C);g(a(C),L)};e.compileDaySegs=a;e.clearEvents=function(){A();S().empty()};e.bindDaySeg=function(C,L,W){v(C,L);if(C.editable||C.editable===ma&&r("editable")){d(C,L);W.isEnd&&
153
+ B(C,L,W)}};b.call(e);var r=e.opt,p=e.trigger,x=e.reportEvents,A=e.reportEventClear,v=e.eventElementHandlers,m=e.showEvents,n=e.hideEvents,O=e.eventDrop,S=e.getDaySegmentContainer,U=e.getHoverListener,ya=e.renderDayOverlay,ra=e.clearOverlays,$=e.getRowCnt,N=e.getColCnt,g=e.renderDaySegs,B=e.resizableDayEvent}function da(a,d,e){function r(){var t=k(),I=l(t);I.setHours(B("firstHour"));var K=S(t,I)+1;t=function(){ua.scrollTop(K)};t();setTimeout(t,0)}function p(t){t.click(A).mousedown(Ga)}function x(t){t.click(A).mousedown(N)}
154
+ function A(t){if(!B("selectable")){var I=Math.min(j-1,Math.floor((t.pageX-Z.offset().left)/J));I=H(l(g.visStart),I*fa+wa);var K=this.className.match(/fc-slot(\d+)/);if(K){K=parseInt(K[1])*B("slotMinutes");I.setHours(Math.floor(K/60));I.setMinutes(K%60+ta);C("dayClick",this,I,false,t)}else C("dayClick",this,I,true,t)}}function v(t,I,K){K&&ka.build();var V=l(g.visStart);if(ea){K=X(I,V)*fa+wa+1;t=X(t,V)*fa+wa+1}else{K=X(t,V);t=X(I,V)}K=Math.max(0,K);t=Math.min(j,t);K<t&&p(m(0,K,0,t-1))}function m(t,
155
+ I,K,V){t=ka.rect(t,I,K,V,ja);return W(t,ja)}function n(t,I){for(var K=l(g.visStart),V=H(l(K),1),ca=0;ca<j;ca++){var Ia=new Date(Math.max(K,t)),Na=new Date(Math.min(V,I));if(Ia<Na){var Ha=ca*fa+wa;Ha=ka.rect(0,Ha,0,Ha,va);Ia=S(K,Ia);Na=S(K,Na);Ha.top=Ia;Ha.height=Na-Ia;x(W(Ha,va))}H(K,1);H(V,1)}}function O(t){return(t-Math.max(R,E)+j)%j*fa+wa}function S(t,I){t=l(t,true);if(I<q(l(t),ta))return 0;if(I>=q(l(t),Ba))return va.height();var K=B("slotMinutes"),V=I.getHours()*60+I.getMinutes()-ta,ca=Math.floor(V/
156
+ K),Ia=Ca[ca];if(Ia===ma)Ia=Ca[ca]=ua.find("tr:eq("+ca+") td div")[0].offsetTop;return Math.max(0,Math.round(Ia-1+P*(V%K/K)))}function U(t){var I=H(l(g.visStart),t.col*fa+wa);t=t.row;B("allDaySlot")&&t--;t>=0&&q(I,ta+t*B("slotMinutes"));return I}function ya(t){return B("allDaySlot")&&!t.row}function ra(t,I){var K=B("selectHelper");ka.build();if(K){var V=X(t,g.visStart)*fa+wa;if(V>=0&&V<j){V=ka.rect(0,V,0,V,va);var ca=S(t,t),Ia=S(t,I);if(Ia>ca){V.top=ca;V.height=Ia-ca;V.left+=2;V.width-=5;if(c.isFunction(K)){if(K=
157
+ K(t,I)){V.position="absolute";V.zIndex=8;ha=c(K).css(V).appendTo(va)}}else{ha=c(Ka({title:"",start:t,end:I,className:[],editable:false},V,"fc-event fc-event-vert fc-corner-top fc-corner-bottom "));c.browser.msie&&ha.find("span.fc-event-bg").hide();ha.css("opacity",B("dragOpacity"))}if(ha){x(ha);va.append(ha);Va(ha,V.width,true);bb(ha,V.height,true)}}}}else n(t,I)}function $(){ba();if(ha){ha.remove();ha=null}}function N(t){if(t.which==1&&B("selectable")){Aa(t);var I=this,K;xa.start(function(V,ca){$();
158
+ if(V&&V.col==ca.col&&!ya(V)){var Ia=U(ca),Na=U(V);K=[Ia,q(l(Ia),B("slotMinutes")),Na,q(l(Na),B("slotMinutes"))].sort(kb);ra(K[0],K[3])}else K=null},t);c(document).one("mouseup",function(V){xa.stop();if(K){+K[0]==+K[1]&&C("dayClick",I,K[0],false,V);M(K[0],K[3],false,V)}})}}var g=this;g.renderAgenda=function(t){j=t;F=B("theme")?"ui":"fc";E=B("weekends")?0:1;R=B("firstDay");if(ea=B("isRTL")){fa=-1;wa=j-1}else{fa=1;wa=0}ta=ia(B("minTime"));Ba=ia(B("maxTime"));t=ea?H(l(g.visEnd),-1):l(g.visStart);var I=
159
+ l(t),K=s(new Date),V=B("columnFormat");if(ja){L();ja.find("tr:first th").slice(1,-1).each(function(cb,Ra){c(Ra).text(Da(I,V));Ra.className=Ra.className.replace(/^fc-\w+(?= )/,"fc-"+Sa[I.getDay()]);H(I,fa);E&&ga(I,fa)});I=l(t);Z.find("td").each(function(cb,Ra){Ra.className=Ra.className.replace(/^fc-\w+(?= )/,"fc-"+Sa[I.getDay()]);+I==+K?c(Ra).removeClass("fc-not-today").addClass("fc-today").addClass(F+"-state-highlight"):c(Ra).addClass("fc-not-today").removeClass("fc-today").removeClass(F+"-state-highlight");
160
+ H(I,fa);E&&ga(I,fa)})}else{var ca,Ia,Na=B("slotMinutes")%15==0,Ha="<div class='fc-agenda-head' style='position:relative;z-index:4'><table style='width:100%'><tr class='fc-first"+(B("allDaySlot")?"":" fc-last")+"'><th class='fc-leftmost "+F+"-state-default'>&nbsp;</th>";for(ca=0;ca<j;ca++){Ha+="<th class='fc-"+Sa[I.getDay()]+" "+F+"-state-default'>"+Da(I,V)+"</th>";H(I,fa);E&&ga(I,fa)}Ha+="<th class='"+F+"-state-default'>&nbsp;</th></tr>";if(B("allDaySlot"))Ha+="<tr class='fc-all-day'><th class='fc-axis fc-leftmost "+
161
+ F+"-state-default'>"+B("allDayText")+"</th><td colspan='"+j+"' class='"+F+"-state-default'><div class='fc-day-content'><div style='position:relative'>&nbsp;</div></div></td><th class='"+F+"-state-default'>&nbsp;</th></tr><tr class='fc-divider fc-last'><th colspan='"+(j+2)+"' class='"+F+"-state-default fc-leftmost'><div/></th></tr>";Ha+="</table></div>";ja=c(Ha).appendTo(a);p(ja.find("td"));Ea=c("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(ja);I=k();var Wa=q(l(I),Ba);q(I,ta);
162
+ Ha="<table>";for(ca=0;I<Wa;ca++){Ia=I.getMinutes();Ha+="<tr class='"+(!ca?"fc-first":!Ia?"":"fc-minor")+"'><th class='fc-axis fc-leftmost "+F+"-state-default'>"+(!Na||!Ia?Da(I,B("axisFormat")):"&nbsp;")+"</th><td class='fc-slot"+ca+" "+F+"-state-default'><div style='position:relative'>&nbsp;</div></td></tr>";q(I,B("slotMinutes"));w++}Ha+="</table>";ua=c("<div class='fc-agenda-body' style='position:relative;z-index:2;overflow:auto'/>").append(va=c("<div style='position:relative;overflow:hidden'>").append(Q=
163
+ c(Ha))).appendTo(a);x(ua.find("td"));Fa=c("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(va);I=l(t);Ha="<div class='fc-agenda-bg' style='position:absolute;z-index:1'><table style='width:100%;height:100%'><tr class='fc-first'>";for(ca=0;ca<j;ca++){Ha+="<td class='fc-"+Sa[I.getDay()]+" "+F+"-state-default "+(!ca?"fc-leftmost ":"")+(+I==+K?F+"-state-highlight fc-today":"fc-not-today")+"'><div class='fc-day-content'><div>&nbsp;</div></div></td>";H(I,fa);E&&ga(I,fa)}Ha+="</tr></table></div>";
164
+ Z=c(Ha).appendTo(a)}};g.setWidth=function(t){sa=t;la.clear();ua.width(t).css("overflow","auto");Q.width("");var I=ja.find("tr:first th"),K=ja.find("tr.fc-all-day th:last"),V=Z.find("td"),ca=ua[0].clientWidth;Q.width(ca);ca=ua[0].clientWidth;Q.width(ca);u=0;Va(ja.find("tr:lt(2) th:first").add(ua.find("tr:first th")).width(1).each(function(){u=Math.max(u,c(this).outerWidth())}),u);J=Math.floor((ca-u)/j);Va(V.slice(0,-1),J);Va(I.slice(1,-2),J);if(t!=ca){Va(I.slice(-2,-1),ca-u-J*(j-1));I.slice(-1).show();
165
+ K.show()}else{ua.css("overflow","hidden");I.slice(-2,-1).width("");I.slice(-1).hide();K.hide()}Z.css({top:ja.find("tr").height(),left:u,width:ca-u,height:z})};g.setHeight=function(t,I){if(t===ma)t=z;z=t;Ca={};var K=t-ja.height();K=Math.min(K,Q.height());ua.height(K);P=ua.find("tr:first div").height()+1;I&&r()};g.beforeHide=function(){D=ua.scrollTop()};g.afterShow=function(){ua.scrollTop(D)};g.defaultEventEnd=function(t){var I=l(t.start);if(t.allDay)return I;return q(I,B("defaultEventMinutes"))};g.timePosition=
166
+ S;g.dayOfWeekCol=O;g.dateCell=function(t){return{row:Math.floor(X(t,g.visStart)/7),col:O(t.getDay())}};g.cellDate=U;g.cellIsAllDay=ya;g.allDayTR=function(){return ja.find("tr.fc-all-day")};g.allDayBounds=function(){return{left:u,right:sa}};g.getHoverListener=function(){return xa};g.colContentLeft=function(t){return u+la.left(t)};g.colContentRight=function(t){return u+la.right(t)};g.getDaySegmentContainer=function(){return Ea};g.getSlotSegmentContainer=function(){return Fa};g.getMinMinute=function(){return ta};
167
+ g.getMaxMinute=function(){return Ba};g.getBodyContent=function(){return va};g.getRowCnt=function(){return 1};g.getColCnt=function(){return j};g.getColWidth=function(){return J};g.getSlotHeight=function(){return P};g.defaultSelectionEnd=function(t,I){if(I)return l(t);return q(l(t),B("slotMinutes"))};g.renderDayOverlay=v;g.renderSelection=function(t,I,K){if(K)B("allDaySlot")&&v(t,H(l(I),1),true);else ra(t,I)};g.clearSelection=$;g.dragStart=function(t,I){xa.start(function(K){ba();if(K)if(ya(K))m(K.row,
168
+ K.col,K.row,K.col);else{K=U(K);var V=q(l(K),B("defaultEventMinutes"));n(K,V)}},I)};g.dragStop=function(t,I,K){var V=xa.stop();ba();V&&C("drop",t,U(V),ya(V),I,K)};h.call(g,a,d,e);y.call(g);f.call(g);G.call(g);var B=g.opt,C=g.trigger,L=g.clearEvents,W=g.renderOverlay,ba=g.clearOverlays,M=g.reportSelection,Aa=g.unselect,Ga=g.daySelectionMousedown,Ka=g.slotSegHtml,Da=d.formatDate,ja,ua,va,Q,Z,j,w=0,u,J,P,sa,z,D,F,R,E,ea,fa,wa,ta,Ba,ka,xa,la,Ca={},ha,Ea,Fa;nb(a.addClass("fc-agenda"));ka=new Y(function(t,
169
+ I){var K,V,ca;Z.find("td").each(function(cb,Ra){K=c(Ra);V=K.offset().left;if(cb)ca[1]=V;ca=[V];I[cb]=ca});ca[1]=V+K.outerWidth();if(B("allDaySlot")){K=ja.find("td");V=K.offset().top;t[0]=[V,V+K.outerHeight()]}for(var Ia=va.offset().top,Na=ua.offset().top,Ha=Na+ua.outerHeight(),Wa=0;Wa<w;Wa++)t.push([Math.max(Na,Math.min(Ha,Ia+P*Wa)),Math.max(Na,Math.min(Ha,Ia+P*(Wa+1)))])});xa=new aa(ka);la=new qa(function(t){return Z.find("td:eq("+t+") div div")})}function G(){function a(z){z=ib(jb(z,c.map(z,Za),
170
+ v.visStart,v.visEnd));var D,F=z.length,R,E,ea,fa=[];for(D=0;D<F;D++){R=z[D];for(E=0;E<R.length;E++){ea=R[E];ea.row=0;ea.level=D;fa.push(ea)}}return fa}function d(z){return z.end?l(z.end):q(l(z.start),m("defaultEventMinutes"))}function e(z,D,F){return"<div class='"+F+z.className.join(" ")+"' style='position:absolute;z-index:8;top:"+D.top+"px;left:"+D.left+"px'><a"+(z.url?" href='"+Xa(z.url)+"'":"")+"><span class='fc-event-bg'></span><span class='fc-event-time'>"+Xa(sa(z.start,z.end,m("timeFormat")))+
171
+ "</span><span class='fc-event-title'>"+Xa(z.title)+"</span></a>"+((z.editable||z.editable===ma&&m("editable"))&&!m("disableResizing")&&c.fn.resizable?"<div class='ui-resizable-handle ui-resizable-s'>=</div>":"")+"</div>"}function r(z,D,F){ya(z,D);if(z.editable||z.editable===ma&&m("editable")){var R=D.find("span.fc-event-time");x(z,D,R);F.isEnd&&A(z,D,R)}}function p(z,D,F){if(!m("disableDragging")&&D.draggable){var R,E=true,ea,fa=m("isRTL")?-1:1,wa=g(),ta=Ka(),Ba=Da(),ka=C();D.draggable({zIndex:9,
172
+ opacity:m("dragOpacity","month"),revertDuration:m("dragRevertDuration"),start:function(la,Ca){n("eventDragStart",D,z,la,Ca);Q(z,D);R=D.width();wa.start(function(ha,Ea,Fa,t){D.draggable("option","revert",!ha||!Fa&&!t);u();if(ha){ea=t*fa;if(ha.row){if(F&&E){bb(D.width(ta-10),Ba*Math.round((z.end?(z.end-z.start)/tb:m("defaultEventMinutes"))/m("slotMinutes")));D.draggable("option","grid",[ta,1]);E=false}}else{w(H(l(z.start),ea),H(Za(z),ea));xa()}}},la,"drag")},stop:function(la,Ca){var ha=wa.stop();u();
173
+ n("eventDragStop",D,z,la,Ca);if(ha&&(!E||ea)){D.find("a").removeAttr("href");ha=0;E||(ha=Math.round((D.offset().top-ja().offset().top)/Ba)*m("slotMinutes")+ka-(z.start.getHours()*60+z.start.getMinutes()));Z(this,z,ea,ha,E,la,Ca)}else{xa();c.browser.msie&&D.css("filter","");va(z,D)}}});var xa=function(){if(!E){D.width(R).height("").draggable("option","grid",null);E=true}}}}function x(z,D,F){if(!m("disableDragging")&&D.draggable){var R,E=false,ea,fa,wa,ta=m("isRTL")?-1:1,Ba=g(),ka=Ga(),xa=Ka(),la=Da();
174
+ D.draggable({zIndex:9,scroll:false,grid:[xa,la],axis:ka==1?"y":false,opacity:m("dragOpacity"),revertDuration:m("dragRevertDuration"),start:function(Ea,Fa){n("eventDragStart",D,z,Ea,Fa);Q(z,D);c.browser.msie&&D.find("span.fc-event-bg").hide();R=D.position();fa=wa=0;Ba.start(function(t,I,K,V){D.draggable("option","revert",!t);u();if(t){ea=V*ta;if(m("allDaySlot")&&!t.row){if(!E){E=true;F.hide();D.draggable("option","grid",null)}w(H(l(z.start),ea),H(Za(z),ea))}else ha()}},Ea,"drag")},drag:function(Ea,
175
+ Fa){fa=Math.round((Fa.position.top-R.top)/la)*m("slotMinutes");if(fa!=wa){E||Ca(fa);wa=fa}},stop:function(Ea,Fa){var t=Ba.stop();u();n("eventDragStop",D,z,Ea,Fa);if(t&&(ea||fa||E))Z(this,z,ea,E?0:fa,E,Ea,Fa);else{ha();D.css(R);Ca(0);c.browser.msie&&D.css("filter","").find("span.fc-event-bg").css("display","");va(z,D)}}});var Ca=function(Ea){var Fa=q(l(z.start),Ea),t;if(z.end)t=q(l(z.end),Ea);F.text(sa(Fa,t,m("timeFormat")))},ha=function(){if(E){F.css("display","");D.draggable("option","grid",[xa,
176
+ la]);E=false}}}}function A(z,D,F){if(!m("disableResizing")&&D.resizable){var R,E,ea=Da();D.resizable({handles:{s:"div.ui-resizable-s"},grid:ea,start:function(fa,wa){R=E=0;Q(z,D);c.browser.msie&&c.browser.version=="6.0"&&D.css("overflow","hidden");D.css("z-index",9);n("eventResizeStart",this,z,fa,wa)},resize:function(fa,wa){R=Math.round((Math.max(ea,D.height())-wa.originalSize.height)/ea);if(R!=E){F.text(sa(z.start,!R&&!z.end?null:q(O(z),m("slotMinutes")*R),m("timeFormat")));E=R}},stop:function(fa,
177
+ wa){n("eventResizeStop",this,z,fa,wa);if(R)j(this,z,0,m("slotMinutes")*R,fa,wa);else{D.css("z-index",8);va(z,D)}}})}}var v=this;v.renderEvents=function(z,D){S(z);var F,R=z.length,E=[],ea=[];for(F=0;F<R;F++)z[F].allDay?E.push(z[F]):ea.push(z[F]);if(m("allDaySlot")){M(a(E),D);ra()}R=Ga();E=C();var fa=B(),wa=q(l(v.visStart),E),ta=c.map(ea,d),Ba,ka,xa,la,Ca,ha;F=[];for(Ba=0;Ba<R;Ba++){xa=ka=ib(jb(ea,ta,wa,q(l(wa),fa-E)));la=void 0;Ca=void 0;ha=void 0;var Ea=void 0,Fa=void 0,t=void 0;for(la=xa.length-
178
+ 1;la>0;la--){Ea=xa[la];for(Ca=0;Ca<Ea.length;Ca++){Fa=Ea[Ca];for(ha=0;ha<xa[la-1].length;ha++){t=xa[la-1][ha];if(Fa.end>t.start&&Fa.start<t.end)t.forward=Math.max(t.forward||0,(Fa.forward||0)+1)}}}for(xa=0;xa<ka.length;xa++){la=ka[xa];for(Ca=0;Ca<la.length;Ca++){ha=la[Ca];ha.col=Ba;ha.level=xa;F.push(ha)}}H(wa,1,true)}ea=F.length;var I,K,V,ca;ka="";fa={};wa={};Ba=N();R=Ga();if(xa=m("isRTL")){la=-1;Fa=R-1}else{la=1;Fa=0}for(R=0;R<ea;R++){E=F[R];ta=E.event;Ca="fc-event fc-event-vert ";if(E.isStart)Ca+=
179
+ "fc-corner-top ";if(E.isEnd)Ca+="fc-corner-bottom ";ha=L(E.start,E.start);Ea=L(E.start,E.end);I=E.col;t=E.level;K=E.forward||0;V=W(I*la+Fa);ca=ba(I*la+Fa)-V;ca=Math.min(ca-6,ca*0.95);I=t?ca/(t+K+1):K?(ca/(K+1)-6)*2:ca;t=V+ca/(t+K+1)*t*la+(xa?ca-I:0);E.top=ha;E.left=t;E.outerWidth=I;E.outerHeight=Ea-ha;ka+=e(ta,E,Ca)}Ba[0].innerHTML=ka;xa=Ba.children();for(R=0;R<ea;R++){E=F[R];ta=E.event;ka=c(xa[R]);la=n("eventRender",ta,ta,ka);if(la===false)ka.remove();else{if(la&&la!==true){ka.remove();ka=c(la).css({position:"absolute",
180
+ top:E.top,left:E.left}).appendTo(Ba)}E.element=ka;if(ta._id===D)r(ta,ka,E);else ka[0]._fci=R;ua(ta,ka)}}ob(Ba,F,r);for(R=0;R<ea;R++){E=F[R];if(ka=E.element){Ba=fa[ta=E.key=pb(ka[0])];E.vsides=Ba===ma?fa[ta]=eb(ka[0],true):Ba;Ba=wa[ta];E.hsides=Ba===ma?wa[ta]=lb(ka[0],true):Ba;ta=ka.find("span.fc-event-title");if(ta.length)E.titleTop=ta[0].offsetTop}}for(R=0;R<ea;R++){E=F[R];if(ka=E.element){ka[0].style.width=Math.max(0,E.outerWidth-E.hsides)+"px";fa=Math.max(0,E.outerHeight-E.vsides);ka[0].style.height=
181
+ fa+"px";ta=E.event;if(E.titleTop!==ma&&fa-E.titleTop<10){ka.find("span.fc-event-time").text(P(ta.start,m("timeFormat"))+" - "+ta.title);ka.find("span.fc-event-title").remove()}n("eventAfterRender",ta,ta,ka)}}};v.compileDaySegs=a;v.clearEvents=function(){U();$().empty();N().empty()};v.slotSegHtml=e;v.bindDaySeg=function(z,D,F){ya(z,D);if(z.editable||z.editable===ma&&m("editable")){p(z,D,F.isStart);F.isEnd&&Aa(z,D,F)}};b.call(v);var m=v.opt,n=v.trigger,O=v.eventEnd,S=v.reportEvents,U=v.reportEventClear,
182
+ ya=v.eventElementHandlers,ra=v.setHeight,$=v.getDaySegmentContainer,N=v.getSlotSegmentContainer,g=v.getHoverListener,B=v.getMaxMinute,C=v.getMinMinute,L=v.timePosition,W=v.colContentLeft,ba=v.colContentRight,M=v.renderDaySegs,Aa=v.resizableDayEvent,Ga=v.getColCnt,Ka=v.getColWidth,Da=v.getSlotHeight,ja=v.getBodyContent,ua=v.reportEventElement,va=v.showEvents,Q=v.hideEvents,Z=v.eventDrop,j=v.eventResize,w=v.renderDayOverlay,u=v.clearOverlays,J=v.calendar,P=J.formatDate,sa=J.formatDates}function h(a,
183
+ d,e){function r(N,g){return d.trigger.apply(d,[N,g||m].concat(Array.prototype.slice.call(arguments,2),[m]))}function p(N){return N.end?l(N.end):n(N)}function x(N,g,B){N=ra[N._id];var C,L=N.length;for(C=0;C<L;C++)if(!g||N[C][0]!=g[0])N[C][B]()}function A(N,g,B,C){B=B||0;for(var L,W=N.length,ba=0;ba<W;ba++){L=N[ba];if(C!==ma)L.allDay=C;q(H(L.start,g,true),B);if(L.end)L.end=q(H(L.end,g,true),B);O(L,$)}}function v(N,g,B){B=B||0;for(var C,L=N.length,W=0;W<L;W++){C=N[W];C.end=q(H(p(C),g,true),B);O(C,$)}}
184
+ var m=this;m.element=a;m.calendar=d;m.name=e;m.opt=function(N,g){var B=$[N];if(typeof B=="object")return gb(B,g||e);return B};m.trigger=r;m.reportEvents=function(N){U={};var g,B=N.length,C;for(g=0;g<B;g++){C=N[g];if(U[C._id])U[C._id].push(C);else U[C._id]=[C]}};m.eventEnd=p;m.reportEventElement=function(N,g){ya.push(g);if(ra[N._id])ra[N._id].push(g);else ra[N._id]=[g]};m.reportEventClear=function(){ya=[];ra={}};m.eventElementHandlers=function(N,g){g.click(function(B){if(!g.hasClass("ui-draggable-dragging")&&
185
+ !g.hasClass("ui-resizable-resizing"))return r("eventClick",this,N,B)}).hover(function(B){r("eventMouseover",this,N,B)},function(B){r("eventMouseout",this,N,B)})};m.showEvents=function(N,g){x(N,g,"show")};m.hideEvents=function(N,g){x(N,g,"hide")};m.eventDrop=function(N,g,B,C,L,W,ba){var M=g.allDay,Aa=g._id;A(U[Aa],B,C,L);r("eventDrop",N,g,B,C,L,function(){A(U[Aa],-B,-C,M);S(Aa)},W,ba);S(Aa)};m.eventResize=function(N,g,B,C,L,W){var ba=g._id;v(U[ba],B,C);r("eventResize",N,g,B,C,function(){v(U[ba],-B,
186
+ -C);S(ba)},L,W);S(ba)};var n=m.defaultEventEnd,O=d.normalizeEvent,S=d.reportEventChange,U={},ya=[],ra={},$=d.options}function b(){function a(Q){var Z=n("isRTL"),j,w=Q.length,u,J,P;j=C();var sa=j.left,z=j.right,D=[],F,R,E="";for(j=0;j<w;j++){u=Q[j];J=u.event;P="fc-event fc-event-hori ";if(Z){if(u.isStart)P+="fc-corner-right ";if(u.isEnd)P+="fc-corner-left ";D[0]=ba(u.end.getDay()-1);D[1]=ba(u.start.getDay());F=u.isEnd?L(D[0]):sa;R=u.isStart?W(D[1]):z}else{if(u.isStart)P+="fc-corner-left ";if(u.isEnd)P+=
187
+ "fc-corner-right ";D[0]=ba(u.start.getDay());D[1]=ba(u.end.getDay()-1);F=u.isStart?L(D[0]):sa;R=u.isEnd?W(D[1]):z}E+="<div class='"+P+J.className.join(" ")+"' style='position:absolute;z-index:8;left:"+F+"px'><a"+(J.url?" href='"+Xa(J.url)+"'":"")+">"+(!J.allDay&&u.isStart?"<span class='fc-event-time'>"+Xa(Da(J.start,J.end,n("timeFormat")))+"</span>":"")+"<span class='fc-event-title'>"+Xa(J.title)+"</span></a>"+(u.isEnd&&(J.editable||J.editable===ma&&n("editable"))&&!n("disableResizing")?"<div class='ui-resizable-handle ui-resizable-"+
188
+ (Z?"w":"e")+"'></div>":"")+"</div>";u.left=F;u.outerWidth=R-F;D.sort(kb);u.startCol=D[0];u.endCol=D[1]+1}return E}function d(Q,Z){var j,w=Q.length,u,J,P;for(j=0;j<w;j++){u=Q[j];J=u.event;P=c(Z[j]);J=O("eventRender",J,J,P);if(J===false)P.remove();else{if(J&&J!==true){J=c(J).css({position:"absolute",left:u.left});P.replaceWith(J);P=J}u.element=P}}}function e(Q){var Z,j=Q.length,w,u,J,P,sa={};for(Z=0;Z<j;Z++){w=Q[Z];if(u=w.element){J=w.key=pb(u[0]);P=sa[J];if(P===ma)P=sa[J]=lb(u[0],true);w.hsides=P}}}
189
+ function r(Q){var Z,j=Q.length,w,u;for(Z=0;Z<j;Z++){w=Q[Z];if(u=w.element)u[0].style.width=Math.max(0,w.outerWidth-w.hsides)+"px"}}function p(Q){var Z,j=Q.length,w,u,J,P,sa={};for(Z=0;Z<j;Z++){w=Q[Z];if(u=w.element){J=w.key;P=sa[J];if(P===ma)P=sa[J]=qb(u[0]);w.outerHeight=u[0].offsetHeight+P}}}function x(){var Q,Z=N(),j=[];for(Q=0;Q<Z;Q++)j[Q]=B(Q).find("td:first div.fc-day-content > div");return j}function A(Q){var Z,j=Q.length,w=[];for(Z=0;Z<j;Z++)w[Z]=Q[Z][0].offsetTop;return w}function v(Q,Z){var j,
190
+ w=Q.length,u,J;for(j=0;j<w;j++){u=Q[j];if(J=u.element){J[0].style.top=Z[u.row]+(u.top||0)+"px";u=u.event;O("eventAfterRender",u,u,J)}}}var m=this;m.renderDaySegs=function(Q,Z){var j=Ga(),w=N(),u=g(),J=0,P,sa,z,D=Q.length,F,R;j[0].innerHTML=a(Q);d(Q,j.children());sa=Q.length;for(P=0;P<sa;P++){z=Q[P];(R=z.element)&&U(z.event,R)}sa=Q.length;var E;for(P=0;P<sa;P++){z=Q[P];if(R=z.element){E=z.event;if(E._id===Z)Ka(E,R,z);else R[0]._fci=P}}ob(j,Q,Ka);e(Q);r(Q);p(Q);j=x();for(P=0;P<w;P++){sa=[];for(z=0;z<
191
+ u;z++)sa[z]=0;for(;J<D&&(F=Q[J]).row==P;){z=sa.slice(F.startCol,F.endCol);z=Math.max.apply(Math,z);F.top=z;z+=F.outerHeight;for(R=F.startCol;R<F.endCol;R++)sa[R]=z;J++}j[P].height(Math.max.apply(Math,sa))}v(Q,A(j))};m.resizableDayEvent=function(Q,Z,j){if(!n("disableResizing")&&j.isEnd){var w=n("isRTL"),u=w?"w":"e";Z.find("div.ui-resizable-"+u).mousedown(function(J){if(J.which==1){var P=m.getHoverListener(),sa=N(),z=g(),D=w?-1:1,F=w?z:0,R=Z.css("top"),E,ea,fa=c.extend({},Q),wa=M(Q.start);va();c("body").css("cursor",
192
+ u+"-resize").one("mouseup",function(ta){O("eventResizeStop",this,Q,ta);c("body").css("cursor","auto");P.stop();ua();E&&$(this,Q,E,0,ta)});O("eventResizeStart",this,Q,J);P.start(function(ta,Ba){if(ta){var ka=Math.max(wa.row,ta.row),xa=ta.col;if(sa==1)ka=0;if(ka==wa.row)xa=w?Math.min(wa.col,xa):Math.max(wa.col,xa);E=ka*z+xa*D+F-(Ba.row*z+Ba.col*D+F);ka=H(S(Q),E,true);if(E){fa.end=ka;xa=ea;var la=Aa([fa]),Ca=j.row,ha=c("<div/>"),Ea=Ga(),Fa=la.length,t;ha[0].innerHTML=a(la);ha=ha.children();Ea.append(ha);
193
+ d(la,ha);e(la);r(la);p(la);v(la,A(x()));ha=[];for(Ea=0;Ea<Fa;Ea++)if(t=la[Ea].element){la[Ea].row===Ca&&t.css("top",R);ha.push(t[0])}ea=c(ha);ea.find("*").css("cursor",u+"-resize");xa&&xa.remove();ra(Q)}else if(ea){ya(Q);ea.remove();ea=null}ua();ja(Q.start,H(l(ka),1))}},J)}})}};var n=m.opt,O=m.trigger,S=m.eventEnd,U=m.reportEventElement,ya=m.showEvents,ra=m.hideEvents,$=m.eventResize,N=m.getRowCnt,g=m.getColCnt,B=m.allDayTR,C=m.allDayBounds,L=m.colContentLeft,W=m.colContentRight,ba=m.dayOfWeekCol,
194
+ M=m.dateCell,Aa=m.compileDaySegs,Ga=m.getDaySegmentContainer,Ka=m.bindDaySeg,Da=m.calendar.formatDates,ja=m.renderDayOverlay,ua=m.clearOverlays,va=m.clearSelection}function f(){function a(n){if(m){m=false;v();p("unselect",null,n)}}function d(n,O,S,U){m=true;p("select",null,n,O,S,U)}var e=this;e.select=function(n,O,S){a();O||(O=x(n,S));A(n,O,S);d(n,O,S)};e.unselect=a;e.reportSelection=d;e.daySelectionMousedown=function(n){var O=e.cellDate,S=e.cellIsAllDay,U=e.getHoverListener();if(n.which==1&&r("selectable")){a(n);
195
+ var ya=this,ra;U.start(function($,N){v();if($&&S($)){ra=[O(N),O($)].sort(kb);A(ra[0],ra[1],true)}else ra=null},n);c(document).one("mouseup",function($){U.stop();if(ra){+ra[0]==+ra[1]&&p("dayClick",ya,ra[0],true,$);d(ra[0],ra[1],true,$)}})}};var r=e.opt,p=e.trigger,x=e.defaultSelectionEnd,A=e.renderSelection,v=e.clearSelection,m=false;r("selectable")&&r("unselectAuto")&&c(document).mousedown(function(n){var O=r("unselectCancel");if(O)if(c(n.target).parents(O).length)return;a(n)})}function y(){this.renderOverlay=
196
+ function(e,r){var p=d.shift();p||(p=c("<div class='fc-cell-overlay' style='position:absolute;z-index:3'/>"));p[0].parentNode!=r[0]&&p.appendTo(r);a.push(p.css(e).show());return p};this.clearOverlays=function(){for(var e;e=a.shift();)d.push(e.hide().unbind())};var a=[],d=[]}function Y(a){var d,e;this.build=function(){d=[];e=[];a(d,e)};this.cell=function(r,p){var x=d.length,A=e.length,v,m=-1,n=-1;for(v=0;v<x;v++)if(p>=d[v][0]&&p<d[v][1]){m=v;break}for(v=0;v<A;v++)if(r>=e[v][0]&&r<e[v][1]){n=v;break}return m>=
197
+ 0&&n>=0?{row:m,col:n}:null};this.rect=function(r,p,x,A,v){v=v.offset();return{top:d[r][0]-v.top,left:e[p][0]-v.left,width:e[A][1]-e[p][0],height:d[x][1]-d[r][0]}}}function aa(a){function d(A){A=a.cell(A.pageX,A.pageY);if(!A!=!x||A&&(A.row!=x.row||A.col!=x.col)){if(A){p||(p=A);r(A,p,A.row-p.row,A.col-p.col)}else r(A,p);x=A}}var e,r,p,x;this.start=function(A,v,m){r=A;p=x=null;a.build();d(v);e=m||"mousemove";c(document).bind(e,d)};this.stop=function(){c(document).unbind(e,d);return x}}function qa(a){var d=
198
+ this,e={},r={},p={};d.left=function(x){return r[x]=r[x]===ma?(e[x]=e[x]||a(x)).position().left:r[x]};d.right=function(x){return p[x]=p[x]===ma?d.left(x)+(e[x]=e[x]||a(x)).width():p[x]};d.clear=function(){e={};r={};p={}}}function za(a,d,e){a.setFullYear(a.getFullYear()+d);e||s(a);return a}function oa(a,d,e){if(+a){d=a.getMonth()+d;var r=l(a);r.setDate(1);r.setMonth(d);a.setMonth(d);for(e||s(a);a.getMonth()!=r.getMonth();)a.setDate(a.getDate()+(a<r?1:-1))}return a}function H(a,d,e){if(+a){d=a.getDate()+
199
+ d;var r=l(a);r.setHours(9);r.setDate(d);a.setDate(d);e||s(a);o(a,r)}return a}function o(a,d){if(+a)for(;a.getDate()!=d.getDate();)a.setTime(+a+(a<d?1:-1)*ub)}function q(a,d){a.setMinutes(a.getMinutes()+d);return a}function s(a){a.setHours(0);a.setMinutes(0);a.setSeconds(0);a.setMilliseconds(0);return a}function l(a,d){if(d)return s(new Date(+a));return new Date(+a)}function k(){var a=0,d;do d=new Date(1970,a++,1);while(d.getHours());return d}function ga(a,d,e){for(d=d||1;!a.getDay()||e&&a.getDay()==
200
+ 1||!e&&a.getDay()==6;)H(a,d);return a}function X(a,d){return Math.round((l(a,true)-l(d,true))/rb)}function T(a,d,e,r){if(d!==ma&&d!=a.getFullYear()){a.setDate(1);a.setMonth(0);a.setFullYear(d)}if(e!==ma&&e!=a.getMonth()){a.setDate(1);a.setMonth(e)}r!==ma&&a.setDate(r)}function pa(a,d){if(typeof a=="object")return a;if(typeof a=="number")return new Date(a*1E3);if(typeof a=="string"){if(a.match(/^\d+$/))return new Date(parseInt(a)*1E3);if(d===ma)d=true;return Ma(a,d)||(a?new Date(a):null)}return null}
201
+ function Ma(a,d){var e=a.match(/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})([T ]([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?$/);if(!e)return null;var r=new Date(e[1],0,1);if(d||!e[14]){var p=new Date(e[1],0,1,9,0);if(e[3]){r.setMonth(e[3]-1);p.setMonth(e[3]-1)}if(e[5]){r.setDate(e[5]);p.setDate(e[5])}o(r,p);e[7]&&r.setHours(e[7]);e[8]&&r.setMinutes(e[8]);e[10]&&r.setSeconds(e[10]);e[12]&&r.setMilliseconds(Number("0."+e[12])*1E3);o(r,p)}else{r.setUTCFullYear(e[1],
202
+ e[3]?e[3]-1:0,e[5]||1);r.setUTCHours(e[7]||0,e[8]||0,e[10]||0,e[12]?Number("0."+e[12])*1E3:0);p=Number(e[16])*60+Number(e[17]);p*=e[15]=="-"?1:-1;r=new Date(+r+p*60*1E3)}return r}function ia(a){if(typeof a=="number")return a*60;if(typeof a=="object")return a.getHours()*60+a.getMinutes();if(a=a.match(/(\d+)(?::(\d+))?\s*(\w+)?/)){var d=parseInt(a[1]);if(a[3]){d%=12;if(a[3].toLowerCase().charAt(0)=="p")d+=12}return d*60+(a[2]?parseInt(a[2]):0)}}function La(a,d,e){return fb(a,null,d,e)}function fb(a,
203
+ d,e,r){r=r||ab;var p=a,x=d,A,v=e.length,m,n,O,S="";for(A=0;A<v;A++){m=e.charAt(A);if(m=="'")for(n=A+1;n<v;n++){if(e.charAt(n)=="'"){if(p){S+=n==A+1?"'":e.substring(A+1,n);A=n}break}}else if(m=="(")for(n=A+1;n<v;n++){if(e.charAt(n)==")"){A=La(p,e.substring(A+1,n),r);if(parseInt(A.replace(/\D/,"")))S+=A;A=n;break}}else if(m=="[")for(n=A+1;n<v;n++){if(e.charAt(n)=="]"){m=e.substring(A+1,n);A=La(p,m,r);if(A!=La(x,m,r))S+=A;A=n;break}}else if(m=="{"){p=d;x=a}else if(m=="}"){p=a;x=d}else{for(n=v;n>A;n--)if(O=
204
+ vb[e.substring(A,n)]){if(p)S+=O(p,r);A=n-1;break}if(n==A)if(p)S+=m}}return S}function Za(a){var d;if(a.end){d=a.end;a=a.allDay;d=l(d);d=a||d.getHours()||d.getMinutes()?H(d,1):s(d)}else d=H(l(a.start),1);return d}function wb(a,d){return(d.msLength-a.msLength)*100+(a.event.start-d.event.start)}function jb(a,d,e,r){var p=[],x,A=a.length,v,m,n,O,S;for(x=0;x<A;x++){v=a[x];m=v.start;n=d[x];if(n>e&&m<r){if(m<e){m=l(e);O=false}else{m=m;O=true}if(n>r){n=l(r);S=false}else{n=n;S=true}p.push({event:v,start:m,
205
+ end:n,isStart:O,isEnd:S,msLength:n-m})}}return p.sort(wb)}function ib(a){var d=[],e,r=a.length,p,x,A,v;for(e=0;e<r;e++){p=a[e];for(x=0;;){A=false;if(d[x])for(v=0;v<d[x].length;v++)if(d[x][v].end>p.start&&d[x][v].start<p.end){A=true;break}if(A)x++;else break}if(d[x])d[x].push(p);else d[x]=[p]}return d}function ob(a,d,e){a.unbind("mouseover").mouseover(function(r){for(var p=r.target,x;p!=this;){x=p;p=p.parentNode}if((p=x._fci)!==ma){x._fci=ma;x=d[p];e(x.event,x.element,x);c(r.target).trigger(r)}r.stopPropagation()})}
206
+ function Va(a,d,e){a.each(function(r,p){p.style.width=Math.max(0,d-lb(p,e))+"px"})}function bb(a,d,e){a.each(function(r,p){p.style.height=Math.max(0,d-eb(p,e))+"px"})}function lb(a,d){return(parseFloat(c.curCSS(a,"paddingLeft",true))||0)+(parseFloat(c.curCSS(a,"paddingRight",true))||0)+(parseFloat(c.curCSS(a,"borderLeftWidth",true))||0)+(parseFloat(c.curCSS(a,"borderRightWidth",true))||0)+(d?(parseFloat(c.curCSS(a,"marginLeft",true))||0)+(parseFloat(c.curCSS(a,"marginRight",true))||0):0)}function eb(a,
207
+ d){return(parseFloat(c.curCSS(a,"paddingTop",true))||0)+(parseFloat(c.curCSS(a,"paddingBottom",true))||0)+(parseFloat(c.curCSS(a,"borderTopWidth",true))||0)+(parseFloat(c.curCSS(a,"borderBottomWidth",true))||0)+(d?qb(a):0)}function qb(a){return(parseFloat(c.curCSS(a,"marginTop",true))||0)+(parseFloat(c.curCSS(a,"marginBottom",true))||0)}function db(a,d){d=typeof d=="number"?d+"px":d;a[0].style.cssText+=";min-height:"+d+";_height:"+d}function mb(){}function kb(a,d){return a-d}function Ya(a){return(a<
208
+ 10?"0":"")+a}function gb(a,d){if(a[d]!==ma)return a[d];for(var e=d.split(/(?=[A-Z])/),r=e.length-1,p;r>=0;r--){p=a[e[r].toLowerCase()];if(p!==ma)return p}return a[""]}function Xa(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function pb(a){return a.id+"/"+a.className+"/"+a.style.cssText.replace(/(^|;)\s*(top|left|width|height)\s*:[^;]*/ig,"")}function nb(a){a.attr("unselectable","on").css("MozUserSelect",
209
+ "none").bind("selectstart.ui",function(){return false})}var ab={defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:true,allDayDefault:true,ignoreTimezone:true,lazyFetching:true,startParam:"start",endParam:"end",titleFormat:{month:"MMMM yyyy",week:"MMM d[ yyyy]{ '&#8212;'[ MMM] d yyyy}",day:"dddd, MMM d, yyyy"},columnFormat:{month:"ddd",week:"ddd M/d",day:"dddd M/d"},timeFormat:{"":"h(:mm)t"},isRTL:false,firstDay:0,monthNames:["January","February",
210
+ "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"],buttonText:{prev:"&nbsp;&#9668;&nbsp;",next:"&nbsp;&#9658;&nbsp;",prevYear:"&nbsp;&lt;&lt;&nbsp;",nextYear:"&nbsp;&gt;&gt;&nbsp;",today:"today",month:"month",week:"week",day:"day"},
211
+ theme:false,buttonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e"},unselectAuto:true,dropAccept:"*"},xb={header:{left:"next,prev today",center:"",right:"title"},buttonText:{prev:"&nbsp;&#9658;&nbsp;",next:"&nbsp;&#9668;&nbsp;",prevYear:"&nbsp;&gt;&gt;&nbsp;",nextYear:"&nbsp;&lt;&lt;&nbsp;"},buttonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w"}},Ta=c.fullCalendar={version:"1.4.9"},Ua=Ta.views={};c.fn.fullCalendar=function(a){if(typeof a=="string"){var d=Array.prototype.slice.call(arguments,
212
+ 1),e;this.each(function(){var p=c.data(this,"fullCalendar");if(p&&c.isFunction(p[a])){p=p[a].apply(p,d);if(e===ma)e=p;a=="destroy"&&c.removeData(this,"fullCalendar")}});if(e!==ma)return e;return this}var r=a.eventSources||[];delete a.eventSources;if(a.events){r.push(a.events);delete a.events}a=c.extend(true,{},ab,a.isRTL||a.isRTL===ma&&ab.isRTL?xb:{},a);this.each(function(p,x){var A=c(x),v=new $a(A,a,r);A.data("fullCalendar",v);v.render()});return this};var sb=1;Ua.month=function(a,d){var e=this;
213
+ e.render=function(A,v){if(v){oa(A,v);A.setDate(1)}var m=l(A,true);m.setDate(1);var n=oa(l(m),1),O=l(m),S=l(n),U=r("firstDay"),ya=r("weekends")?0:1;if(ya){ga(O);ga(S,-1,true)}H(O,-((O.getDay()-Math.max(U,ya)+7)%7));H(S,(7-S.getDay()+Math.max(U,ya))%7);U=Math.round((S-O)/(rb*7));if(r("weekMode")=="fixed"){H(S,(6-U)*7);U=6}e.title=x(m,r("titleFormat"));e.start=m;e.end=n;e.visStart=O;e.visEnd=S;p(U,ya?5:7,true)};Oa.call(e,a,d,"month");var r=e.opt,p=e.renderBasic,x=d.formatDate};Ua.basicWeek=function(a,
214
+ d){var e=this;e.render=function(A,v){v&&H(A,v*7);var m=H(l(A),-((A.getDay()-r("firstDay")+7)%7)),n=H(l(m),7),O=l(m),S=l(n),U=r("weekends");if(!U){ga(O);ga(S,-1,true)}e.title=x(O,H(l(S),-1),r("titleFormat"));e.start=m;e.end=n;e.visStart=O;e.visEnd=S;p(1,U?7:5,false)};Oa.call(e,a,d,"basicWeek");var r=e.opt,p=e.renderBasic,x=d.formatDates};Ua.basicDay=function(a,d){var e=this;e.render=function(A,v){if(v){H(A,v);r("weekends")||ga(A,v<0?-1:1)}e.title=x(A,r("titleFormat"));e.start=e.visStart=l(A,true);
215
+ e.end=e.visEnd=H(l(e.start),1);p(1,1,false)};Oa.call(e,a,d,"basicDay");var r=e.opt,p=e.renderBasic,x=d.formatDate};var hb;Ja({weekMode:"fixed"});Ua.agendaWeek=function(a,d){var e=this;e.render=function(A,v){v&&H(A,v*7);var m=H(l(A),-((A.getDay()-r("firstDay")+7)%7)),n=H(l(m),7),O=l(m),S=l(n),U=r("weekends");if(!U){ga(O);ga(S,-1,true)}e.title=x(O,H(l(S),-1),r("titleFormat"));e.start=m;e.end=n;e.visStart=O;e.visEnd=S;p(U?7:5)};da.call(e,a,d,"agendaWeek");var r=e.opt,p=e.renderAgenda,x=d.formatDates};
216
+ Ua.agendaDay=function(a,d){var e=this;e.render=function(A,v){if(v){H(A,v);r("weekends")||ga(A,v<0?-1:1)}var m=l(A,true),n=H(l(m),1);e.title=x(A,r("titleFormat"));e.start=e.visStart=m;e.end=e.visEnd=n;p(1)};da.call(e,a,d,"agendaDay");var r=e.opt,p=e.renderAgenda,x=d.formatDate};Ja({allDaySlot:true,allDayText:"all-day",firstHour:6,slotMinutes:30,defaultEventMinutes:120,axisFormat:"h(:mm)tt",timeFormat:{agenda:"h:mm{ - h:mm}"},dragOpacity:{agenda:0.5},minTime:0,maxTime:24});Ta.addDays=H;Ta.cloneDate=
217
+ l;Ta.parseDate=pa;Ta.parseISO8601=Ma;Ta.parseTime=ia;Ta.formatDate=La;Ta.formatDates=fb;var Sa=["sun","mon","tue","wed","thu","fri","sat"],rb=864E5,ub=36E5,tb=6E4,vb={s:function(a){return a.getSeconds()},ss:function(a){return Ya(a.getSeconds())},m:function(a){return a.getMinutes()},mm:function(a){return Ya(a.getMinutes())},h:function(a){return a.getHours()%12||12},hh:function(a){return Ya(a.getHours()%12||12)},H:function(a){return a.getHours()},HH:function(a){return Ya(a.getHours())},d:function(a){return a.getDate()},
218
+ dd:function(a){return Ya(a.getDate())},ddd:function(a,d){return d.dayNamesShort[a.getDay()]},dddd:function(a,d){return d.dayNames[a.getDay()]},M:function(a){return a.getMonth()+1},MM:function(a){return Ya(a.getMonth()+1)},MMM:function(a,d){return d.monthNamesShort[a.getMonth()]},MMMM:function(a,d){return d.monthNames[a.getMonth()]},yy:function(a){return(a.getFullYear()+"").substring(2)},yyyy:function(a){return a.getFullYear()},t:function(a){return a.getHours()<12?"a":"p"},tt:function(a){return a.getHours()<
219
+ 12?"am":"pm"},T:function(a){return a.getHours()<12?"A":"P"},TT:function(a){return a.getHours()<12?"AM":"PM"},u:function(a){return La(a,"yyyy-MM-dd'T'HH:mm:ss'Z'")},S:function(a){a=a.getDate();if(a>10&&a<20)return"th";return["st","nd","rd"][a%10-1]||"th"}}})(jQuery);