compass-jquery-plugin 0.3.0.beta.5 → 0.3.0.beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1172) hide show
  1. data/.loadpath +5 -5
  2. data/.project +17 -17
  3. data/{MIT-LICENSE → LICENSE} +0 -0
  4. data/README.textile +192 -166
  5. data/Rakefile +27 -3
  6. data/VERSION.yml +1 -1
  7. data/compass-jquery-plugin.gemspec +614 -1082
  8. data/gem_tasks/dynatree.rake +1 -1
  9. data/gem_tasks/jqgrid.rake +6 -6
  10. data/gem_tasks/jqical.rake +86 -0
  11. data/gem_tasks/jqtouch.rake +8 -3
  12. data/gem_tasks/jrails.rake +296 -0
  13. data/gem_tasks/ribbon.rake +1 -1
  14. data/gem_tasks/rubygems.rake +1 -1
  15. data/gem_tasks/secret_sauce.rake +4 -4
  16. data/lib/compiler.jar +0 -0
  17. data/lib/jquery/flash_messages.rb +45 -0
  18. data/lib/jquery/gridify/grid_column.rb +4 -2
  19. data/lib/jquery/gridify/grid_options.rb +5 -1
  20. data/lib/jquery/gridify/grid_view.rb +33 -2
  21. data/lib/jquery/jqical/calendar.rb +5 -0
  22. data/lib/jquery/jqical/event.rb +118 -0
  23. data/lib/jquery/jqical/helpers/ui_event_helper.rb +13 -0
  24. data/lib/jquery/jqical.rb +7 -0
  25. data/lib/jquery/secret_sauce/model/find_for_grid.rb +37 -40
  26. data/lib/jquery.rb +10 -10
  27. data/spec/compass-jquery-plugin_spec.rb +7 -0
  28. data/spec/spec.opts +1 -0
  29. data/spec/spec_helper.rb +9 -0
  30. data/templates/dynatree/config/initializers/dynatree.rb +5 -0
  31. data/templates/dynatree/manifest.rb +1 -1
  32. data/templates/jqgrid/config/initializers/jqgrid.rb +2 -0
  33. data/templates/jqgrid/i18n/jqgrid/locale-fi.js +18 -16
  34. data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +6 -6
  35. data/templates/jqgrid/i18n/jqgrid/locale-hu.js +129 -0
  36. data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +8 -0
  37. data/templates/jqgrid/jquery.jqGrid.js +10792 -10085
  38. data/templates/jqgrid/jquery.jqGrid.min.js +389 -361
  39. data/templates/jqgrid/manifest.rb +3 -1
  40. data/templates/jqical/app/views/ui/_ui_event_for.js.haml +174 -0
  41. data/templates/jqical/config/initializers/jqical.rb +7 -0
  42. data/templates/jqical/jquery.jqical.js +7322 -0
  43. data/templates/jqical/jquery.jqical.min.js +186 -0
  44. data/templates/jqical/jquery.ui/jqical/calendar.png +0 -0
  45. data/templates/jqical/jquery.ui/jqical/clock.png +0 -0
  46. data/templates/jqical/jquery.ui/jqical.scss +941 -0
  47. data/templates/jqical/manifest.rb +10 -0
  48. data/templates/jqtouch/config/initializers/jqtouch.rb +5 -0
  49. data/templates/jqtouch/jqtouch/jqtouch.scss +1 -1
  50. data/templates/jqtouch/jquery.jqtouch.js +836 -0
  51. data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
  52. data/templates/jqtouch/manifest.rb +1 -1
  53. data/templates/{jrails-1.4 → jrails}/config/initializers/jrails.rb +10 -5
  54. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-af.js +0 -0
  55. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-af.min.js +0 -0
  56. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ar.js +0 -0
  57. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ar.min.js +0 -0
  58. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-az.js +0 -0
  59. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-az.min.js +0 -0
  60. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-bg.js +0 -0
  61. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-bg.min.js +0 -0
  62. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-bs.js +0 -0
  63. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-bs.min.js +0 -0
  64. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ca.js +0 -0
  65. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ca.min.js +0 -0
  66. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-cs.js +0 -0
  67. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-cs.min.js +0 -0
  68. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-da.js +0 -0
  69. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-da.min.js +0 -0
  70. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-de.js +0 -0
  71. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-de.min.js +0 -0
  72. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-el.js +0 -0
  73. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-el.min.js +0 -0
  74. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-en-GB.js +0 -0
  75. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-en-GB.min.js +0 -0
  76. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-eo.js +0 -0
  77. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-eo.min.js +0 -0
  78. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-es.js +0 -0
  79. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-es.min.js +0 -0
  80. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-et.js +0 -0
  81. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-et.min.js +0 -0
  82. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-eu.js +0 -0
  83. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-eu.min.js +0 -0
  84. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fa.js +0 -0
  85. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fa.min.js +0 -0
  86. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fi.js +0 -0
  87. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fi.min.js +0 -0
  88. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fo.js +0 -0
  89. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fo.min.js +0 -0
  90. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fr-CH.js +0 -0
  91. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fr-CH.min.js +0 -0
  92. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fr.js +0 -0
  93. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-fr.min.js +0 -0
  94. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-he.js +0 -0
  95. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-he.min.js +0 -0
  96. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-hr.js +0 -0
  97. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-hr.min.js +0 -0
  98. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-hu.js +0 -0
  99. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-hu.min.js +0 -0
  100. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-hy.js +0 -0
  101. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-hy.min.js +0 -0
  102. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-id.js +0 -0
  103. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-id.min.js +0 -0
  104. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-is.js +0 -0
  105. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-is.min.js +0 -0
  106. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-it.js +0 -0
  107. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-it.min.js +0 -0
  108. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ja.js +0 -0
  109. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ja.min.js +0 -0
  110. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ko.js +0 -0
  111. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ko.min.js +0 -0
  112. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-lt.js +0 -0
  113. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-lt.min.js +0 -0
  114. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-lv.js +0 -0
  115. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-lv.min.js +0 -0
  116. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ms.js +0 -0
  117. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ms.min.js +0 -0
  118. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-nl.js +0 -0
  119. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-nl.min.js +0 -0
  120. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-no.js +0 -0
  121. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-no.min.js +0 -0
  122. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-pl.js +1 -1
  123. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-pl.min.js +1 -1
  124. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-pt-BR.js +0 -0
  125. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-pt-BR.min.js +0 -0
  126. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ro.js +0 -0
  127. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ro.min.js +0 -0
  128. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ru.js +0 -0
  129. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ru.min.js +0 -0
  130. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sk.js +1 -1
  131. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sk.min.js +1 -1
  132. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sl.js +0 -0
  133. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sl.min.js +0 -0
  134. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sq.js +0 -0
  135. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sq.min.js +0 -0
  136. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sr-SR.js +0 -0
  137. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sr-SR.min.js +0 -0
  138. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sr.js +0 -0
  139. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sr.min.js +0 -0
  140. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sv.js +0 -0
  141. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-sv.min.js +0 -0
  142. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ta.js +0 -0
  143. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-ta.min.js +0 -0
  144. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-th.js +0 -0
  145. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-th.min.js +0 -0
  146. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-tr.js +0 -0
  147. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-tr.min.js +0 -0
  148. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-uk.js +0 -0
  149. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-uk.min.js +0 -0
  150. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-vi.js +0 -0
  151. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-vi.min.js +0 -0
  152. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-zh-CN.js +0 -0
  153. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-zh-CN.min.js +0 -0
  154. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-zh-HK.js +0 -0
  155. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-zh-HK.min.js +0 -0
  156. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-zh-TW.js +0 -0
  157. data/templates/{jrails-1.4 → jrails}/i18n/jquery.ui/datepicker-zh-TW.min.js +0 -0
  158. data/templates/{jrails-1.4 → jrails}/jquery-1.4.2.js +0 -0
  159. data/templates/{jrails-1.4 → jrails}/jquery-1.4.2.min.js +64 -64
  160. data/templates/{jrails-1.4/jquery-ui-1.8.1.js → jrails/jquery-ui-1.8.2.js} +254 -166
  161. data/templates/jrails/jquery-ui-1.8.2.min.js +767 -0
  162. data/templates/{jrails-1.4 → jrails}/jquery.bgiframe.js +0 -0
  163. data/templates/{jrails-1.4 → jrails}/jquery.bgiframe.min.js +0 -0
  164. data/templates/{jrails-1.4 → jrails}/jquery.compat-1.3.js +0 -0
  165. data/templates/{jrails-1.4 → jrails}/jquery.compat-1.3.min.js +0 -0
  166. data/templates/{jrails-1.3 → jrails}/jquery.contextMenu.js +0 -0
  167. data/templates/{jrails-1.3 → jrails}/jquery.contextMenu.min.js +3 -3
  168. data/templates/jrails/jquery.farbtastic.js +345 -0
  169. data/templates/jrails/jquery.farbtastic.min.js +10 -0
  170. data/templates/{jrails-1.3 → jrails}/jquery.haml.js +0 -0
  171. data/templates/jrails/jquery.haml.min.js +5 -0
  172. data/templates/{jrails-1.4 → jrails}/jquery.metadata.js +0 -0
  173. data/templates/{jrails-1.4 → jrails}/jquery.metadata.min.js +0 -0
  174. data/templates/{jrails-1.3 → jrails}/jquery.pngFix.js +0 -0
  175. data/templates/{jrails-1.3 → jrails}/jquery.pngFix.min.js +0 -0
  176. data/templates/{jrails-1.4 → jrails}/jquery.themeswitchertool.js +0 -0
  177. data/templates/{jrails-1.4 → jrails}/jquery.themeswitchertool.min.js +0 -0
  178. data/templates/{jrails-1.4 → jrails}/jquery.ui/_theme.scss +25 -17
  179. data/templates/{jrails-1.4 → jrails}/jquery.ui/base/ui-anim_basic_16x16.gif +0 -0
  180. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  181. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  182. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  183. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  184. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  185. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  186. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  187. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  188. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-icons_222222_256x240.png +0 -0
  189. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-icons_2e83ff_256x240.png +0 -0
  190. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-icons_454545_256x240.png +0 -0
  191. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-icons_888888_256x240.png +0 -0
  192. data/templates/{jrails-1.3 → jrails}/jquery.ui/base/ui-icons_cd0a0a_256x240.png +0 -0
  193. data/templates/{jrails-1.4 → jrails}/jquery.ui/base.scss +0 -0
  194. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-anim_basic_16x16.gif +0 -0
  195. data/templates/{jrails-1.3 → jrails}/jquery.ui/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  196. data/templates/{jrails-1.3 → jrails}/jquery.ui/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
  197. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
  198. data/templates/{jrails-1.3 → jrails}/jquery.ui/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  199. data/templates/{jrails-1.3 → jrails}/jquery.ui/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  200. data/templates/{jrails-1.3 → jrails}/jquery.ui/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  201. data/templates/{jrails-1.3 → jrails}/jquery.ui/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  202. data/templates/{jrails-1.3 → jrails}/jquery.ui/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  203. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  204. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-icons_222222_256x240.png +0 -0
  205. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
  206. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
  207. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-icons_ededed_256x240.png +0 -0
  208. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
  209. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie/ui-icons_ffffff_256x240.png +0 -0
  210. data/templates/{jrails-1.4 → jrails}/jquery.ui/black-tie.scss +0 -0
  211. data/templates/{jrails-1.4 → jrails}/jquery.ui/blitzer/ui-anim_basic_16x16.gif +0 -0
  212. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  213. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  214. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
  215. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
  216. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
  217. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  218. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  219. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  220. data/templates/{jrails-1.3 → jrails}/jquery.ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  221. data/templates/{jrails-1.4 → jrails}/jquery.ui/blitzer/ui-icons_004276_256x240.png +0 -0
  222. data/templates/{jrails-1.4 → jrails}/jquery.ui/blitzer/ui-icons_cc0000_256x240.png +0 -0
  223. data/templates/{jrails-1.4 → jrails}/jquery.ui/blitzer/ui-icons_ffffff_256x240.png +0 -0
  224. data/templates/{jrails-1.4 → jrails}/jquery.ui/blitzer.scss +0 -0
  225. data/templates/{jrails-1.3 → jrails}/jquery.ui/contextMenu/cut.png +0 -0
  226. data/templates/{jrails-1.3 → jrails}/jquery.ui/contextMenu/door.png +0 -0
  227. data/templates/{jrails-1.3 → jrails}/jquery.ui/contextMenu/page_white_copy.png +0 -0
  228. data/templates/{jrails-1.3 → jrails}/jquery.ui/contextMenu/page_white_delete.png +0 -0
  229. data/templates/{jrails-1.3 → jrails}/jquery.ui/contextMenu/page_white_edit.png +0 -0
  230. data/templates/{jrails-1.3 → jrails}/jquery.ui/contextMenu/page_white_paste.png +0 -0
  231. data/templates/{jrails-1.3 → jrails}/jquery.ui/contextMenu.scss +0 -0
  232. data/templates/{jrails-1.4 → jrails}/jquery.ui/cupertino/ui-anim_basic_16x16.gif +0 -0
  233. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  234. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  235. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  236. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  237. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  238. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  239. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  240. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  241. data/templates/{jrails-1.3 → jrails}/jquery.ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  242. data/templates/{jrails-1.4 → jrails}/jquery.ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
  243. data/templates/{jrails-1.4 → jrails}/jquery.ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  244. data/templates/{jrails-1.4 → jrails}/jquery.ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  245. data/templates/{jrails-1.4 → jrails}/jquery.ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  246. data/templates/{jrails-1.4 → jrails}/jquery.ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
  247. data/templates/{jrails-1.4 → jrails}/jquery.ui/cupertino.scss +0 -0
  248. data/templates/{jrails-1.4 → jrails}/jquery.ui/dark-hive/ui-anim_basic_16x16.gif +0 -0
  249. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
  250. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  251. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  252. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  253. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  254. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  255. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  256. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  257. data/templates/{jrails-1.3 → jrails}/jquery.ui/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
  258. data/templates/{jrails-1.4 → jrails}/jquery.ui/dark-hive/ui-icons_222222_256x240.png +0 -0
  259. data/templates/{jrails-1.4 → jrails}/jquery.ui/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
  260. data/templates/{jrails-1.4 → jrails}/jquery.ui/dark-hive/ui-icons_a83300_256x240.png +0 -0
  261. data/templates/{jrails-1.4 → jrails}/jquery.ui/dark-hive/ui-icons_cccccc_256x240.png +0 -0
  262. data/templates/{jrails-1.4 → jrails}/jquery.ui/dark-hive/ui-icons_ffffff_256x240.png +0 -0
  263. data/templates/{jrails-1.4 → jrails}/jquery.ui/dark-hive.scss +0 -0
  264. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv/ui-anim_basic_16x16.gif +0 -0
  265. data/templates/{jrails-1.3 → jrails}/jquery.ui/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  266. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  267. data/templates/{jrails-1.3 → jrails}/jquery.ui/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
  268. data/templates/{jrails-1.3 → jrails}/jquery.ui/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  269. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  270. data/templates/{jrails-1.3 → jrails}/jquery.ui/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  271. data/templates/{jrails-1.3 → jrails}/jquery.ui/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
  272. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  273. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv/ui-icons_00498f_256x240.png +0 -0
  274. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
  275. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
  276. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv/ui-icons_ffffff_256x240.png +0 -0
  277. data/templates/{jrails-1.4 → jrails}/jquery.ui/dot-luv.scss +0 -0
  278. data/templates/{jrails-1.4 → jrails}/jquery.ui/eggplant/ui-anim_basic_16x16.gif +0 -0
  279. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  280. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  281. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
  282. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
  283. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  284. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  285. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  286. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  287. data/templates/{jrails-1.3 → jrails}/jquery.ui/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  288. data/templates/{jrails-1.4 → jrails}/jquery.ui/eggplant/ui-icons_454545_256x240.png +0 -0
  289. data/templates/{jrails-1.4 → jrails}/jquery.ui/eggplant/ui-icons_734d99_256x240.png +0 -0
  290. data/templates/{jrails-1.4 → jrails}/jquery.ui/eggplant/ui-icons_8d78a5_256x240.png +0 -0
  291. data/templates/{jrails-1.4 → jrails}/jquery.ui/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
  292. data/templates/{jrails-1.4 → jrails}/jquery.ui/eggplant/ui-icons_ebccce_256x240.png +0 -0
  293. data/templates/{jrails-1.4 → jrails}/jquery.ui/eggplant/ui-icons_ffffff_256x240.png +0 -0
  294. data/templates/{jrails-1.4 → jrails}/jquery.ui/eggplant.scss +0 -0
  295. data/templates/{jrails-1.4 → jrails}/jquery.ui/excite-bike/ui-anim_basic_16x16.gif +0 -0
  296. data/templates/{jrails-1.3 → jrails}/jquery.ui/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  297. data/templates/{jrails-1.3 → jrails}/jquery.ui/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  298. data/templates/{jrails-1.3 → jrails}/jquery.ui/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  299. data/templates/{jrails-1.3 → jrails}/jquery.ui/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  300. data/templates/{jrails-1.3 → jrails}/jquery.ui/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
  301. data/templates/{jrails-1.3 → jrails}/jquery.ui/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
  302. data/templates/{jrails-1.3 → jrails}/jquery.ui/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  303. data/templates/{jrails-1.3 → jrails}/jquery.ui/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  304. data/templates/{jrails-1.4 → jrails}/jquery.ui/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
  305. data/templates/{jrails-1.4 → jrails}/jquery.ui/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
  306. data/templates/{jrails-1.4 → jrails}/jquery.ui/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
  307. data/templates/{jrails-1.4 → jrails}/jquery.ui/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
  308. data/templates/{jrails-1.4 → jrails}/jquery.ui/excite-bike/ui-icons_ffffff_256x240.png +0 -0
  309. data/templates/{jrails-1.4 → jrails}/jquery.ui/excite-bike.scss +0 -0
  310. data/templates/jrails/jquery.ui/farbtastic/marker.png +0 -0
  311. data/templates/jrails/jquery.ui/farbtastic/mask.png +0 -0
  312. data/templates/jrails/jquery.ui/farbtastic/wheel.png +0 -0
  313. data/templates/jrails/jquery.ui/farbtastic.scss +46 -0
  314. data/templates/jrails/jquery.ui/flash_messages/flash-check.png +0 -0
  315. data/templates/jrails/jquery.ui/flash_messages/flash-error-bg.png +0 -0
  316. data/templates/jrails/jquery.ui/flash_messages/flash-error.png +0 -0
  317. data/templates/jrails/jquery.ui/flash_messages/flash-notice-bg.png +0 -0
  318. data/templates/jrails/jquery.ui/flash_messages/flash-warning-bg.png +0 -0
  319. data/templates/jrails/jquery.ui/flash_messages/flash-warning.png +0 -0
  320. data/templates/{jrails-1.4 → jrails}/jquery.ui/flick/ui-anim_basic_16x16.gif +0 -0
  321. data/templates/{jrails-1.3 → jrails}/jquery.ui/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  322. data/templates/{jrails-1.3 → jrails}/jquery.ui/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  323. data/templates/{jrails-1.3 → jrails}/jquery.ui/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
  324. data/templates/{jrails-1.3 → jrails}/jquery.ui/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
  325. data/templates/{jrails-1.3 → jrails}/jquery.ui/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
  326. data/templates/{jrails-1.3 → jrails}/jquery.ui/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  327. data/templates/jrails/jquery.ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  328. data/templates/{jrails-1.3 → jrails}/jquery.ui/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  329. data/templates/{jrails-1.4 → jrails}/jquery.ui/flick/ui-icons_0073ea_256x240.png +0 -0
  330. data/templates/{jrails-1.4 → jrails}/jquery.ui/flick/ui-icons_454545_256x240.png +0 -0
  331. data/templates/{jrails-1.4 → jrails}/jquery.ui/flick/ui-icons_666666_256x240.png +0 -0
  332. data/templates/{jrails-1.3/jquery.ui/black-tie/ui-icons_ededed_256x240.png → jrails/jquery.ui/flick/ui-icons_ff0084_256x240.png} +0 -0
  333. data/templates/{jrails-1.4 → jrails}/jquery.ui/flick/ui-icons_ffffff_256x240.png +0 -0
  334. data/templates/{jrails-1.4 → jrails}/jquery.ui/flick.scss +0 -0
  335. data/templates/{jrails-1.4 → jrails}/jquery.ui/hot-sneaks/ui-anim_basic_16x16.gif +0 -0
  336. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  337. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  338. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  339. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  340. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  341. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  342. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
  343. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
  344. data/templates/{jrails-1.3 → jrails}/jquery.ui/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  345. data/templates/{jrails-1.4 → jrails}/jquery.ui/hot-sneaks/ui-icons_454545_256x240.png +0 -0
  346. data/templates/{jrails-1.4 → jrails}/jquery.ui/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
  347. data/templates/{jrails-1.4 → jrails}/jquery.ui/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
  348. data/templates/{jrails-1.4 → jrails}/jquery.ui/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
  349. data/templates/{jrails-1.4 → jrails}/jquery.ui/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
  350. data/templates/{jrails-1.4 → jrails}/jquery.ui/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
  351. data/templates/{jrails-1.4 → jrails}/jquery.ui/hot-sneaks.scss +0 -0
  352. data/templates/{jrails-1.4 → jrails}/jquery.ui/humanity/ui-anim_basic_16x16.gif +0 -0
  353. data/templates/{jrails-1.3 → jrails}/jquery.ui/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  354. data/templates/{jrails-1.3 → jrails}/jquery.ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  355. data/templates/{jrails-1.3 → jrails}/jquery.ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  356. data/templates/{jrails-1.3 → jrails}/jquery.ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  357. data/templates/{jrails-1.3 → jrails}/jquery.ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  358. data/templates/{jrails-1.3 → jrails}/jquery.ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  359. data/templates/{jrails-1.3 → jrails}/jquery.ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  360. data/templates/{jrails-1.3 → jrails}/jquery.ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  361. data/templates/{jrails-1.4 → jrails}/jquery.ui/humanity/ui-icons_c47a23_256x240.png +0 -0
  362. data/templates/{jrails-1.4 → jrails}/jquery.ui/humanity/ui-icons_cb672b_256x240.png +0 -0
  363. data/templates/{jrails-1.4 → jrails}/jquery.ui/humanity/ui-icons_f08000_256x240.png +0 -0
  364. data/templates/{jrails-1.4 → jrails}/jquery.ui/humanity/ui-icons_f35f07_256x240.png +0 -0
  365. data/templates/{jrails-1.4 → jrails}/jquery.ui/humanity/ui-icons_ff7519_256x240.png +0 -0
  366. data/templates/{jrails-1.4 → jrails}/jquery.ui/humanity/ui-icons_ffffff_256x240.png +0 -0
  367. data/templates/{jrails-1.4 → jrails}/jquery.ui/humanity.scss +0 -0
  368. data/templates/{jrails-1.4 → jrails}/jquery.ui/le-frog/ui-anim_basic_16x16.gif +0 -0
  369. data/templates/{jrails-1.3 → jrails}/jquery.ui/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  370. data/templates/{jrails-1.3 → jrails}/jquery.ui/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  371. data/templates/{jrails-1.3 → jrails}/jquery.ui/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  372. data/templates/jrails/jquery.ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  373. data/templates/{jrails-1.3 → jrails}/jquery.ui/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  374. data/templates/jrails/jquery.ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  375. data/templates/jrails/jquery.ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  376. data/templates/{jrails-1.3 → jrails}/jquery.ui/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  377. data/templates/{jrails-1.3 → jrails}/jquery.ui/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  378. data/templates/{jrails-1.4 → jrails}/jquery.ui/le-frog/ui-icons_4eb305_256x240.png +0 -0
  379. data/templates/{jrails-1.3/jquery.ui/dot-luv/ui-icons_9ccdfc_256x240.png → jrails/jquery.ui/le-frog/ui-icons_72b42d_256x240.png} +0 -0
  380. data/templates/{jrails-1.4 → jrails}/jquery.ui/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
  381. data/templates/{jrails-1.4 → jrails}/jquery.ui/le-frog/ui-icons_ffffff_256x240.png +0 -0
  382. data/templates/{jrails-1.4 → jrails}/jquery.ui/le-frog.scss +0 -0
  383. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-anim_basic_16x16.gif +0 -0
  384. data/templates/{jrails-1.3 → jrails}/jquery.ui/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  385. data/templates/{jrails-1.3 → jrails}/jquery.ui/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
  386. data/templates/{jrails-1.3 → jrails}/jquery.ui/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  387. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  388. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  389. data/templates/{jrails-1.3 → jrails}/jquery.ui/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  390. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  391. data/templates/{jrails-1.3 → jrails}/jquery.ui/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  392. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-icons_222222_256x240.png +0 -0
  393. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
  394. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-icons_add978_256x240.png +0 -0
  395. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
  396. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
  397. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc/ui-icons_ffffff_256x240.png +0 -0
  398. data/templates/{jrails-1.4 → jrails}/jquery.ui/mint-choc.scss +0 -0
  399. data/templates/{jrails-1.4 → jrails}/jquery.ui/overcast/ui-anim_basic_16x16.gif +0 -0
  400. data/templates/{jrails-1.3 → jrails}/jquery.ui/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  401. data/templates/{jrails-1.3 → jrails}/jquery.ui/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  402. data/templates/jrails/jquery.ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  403. data/templates/{jrails-1.3 → jrails}/jquery.ui/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  404. data/templates/jrails/jquery.ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  405. data/templates/{jrails-1.3 → jrails}/jquery.ui/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
  406. data/templates/{jrails-1.3 → jrails}/jquery.ui/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  407. data/templates/{jrails-1.3 → jrails}/jquery.ui/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  408. data/templates/jrails/jquery.ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  409. data/templates/{jrails-1.4 → jrails}/jquery.ui/overcast/ui-icons_3383bb_256x240.png +0 -0
  410. data/templates/{jrails-1.4 → jrails}/jquery.ui/overcast/ui-icons_454545_256x240.png +0 -0
  411. data/templates/{jrails-1.3/jquery.ui/black-tie/ui-icons_ffcf29_256x240.png → jrails/jquery.ui/overcast/ui-icons_70b2e1_256x240.png} +0 -0
  412. data/templates/{jrails-1.4 → jrails}/jquery.ui/overcast/ui-icons_999999_256x240.png +0 -0
  413. data/templates/{jrails-1.3/jquery.ui/dot-luv/ui-icons_00498f_256x240.png → jrails/jquery.ui/overcast/ui-icons_fbc856_256x240.png} +0 -0
  414. data/templates/{jrails-1.4 → jrails}/jquery.ui/overcast.scss +0 -0
  415. data/templates/{jrails-1.4 → jrails}/jquery.ui/pepper-grinder/ui-anim_basic_16x16.gif +0 -0
  416. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  417. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  418. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  419. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  420. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  421. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  422. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  423. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  424. data/templates/{jrails-1.3 → jrails}/jquery.ui/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  425. data/templates/{jrails-1.4 → jrails}/jquery.ui/pepper-grinder/ui-icons_222222_256x240.png +0 -0
  426. data/templates/{jrails-1.4 → jrails}/jquery.ui/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
  427. data/templates/{jrails-1.4 → jrails}/jquery.ui/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
  428. data/templates/{jrails-1.4 → jrails}/jquery.ui/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
  429. data/templates/{jrails-1.4 → jrails}/jquery.ui/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
  430. data/templates/{jrails-1.4 → jrails}/jquery.ui/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
  431. data/templates/{jrails-1.4 → jrails}/jquery.ui/pepper-grinder.scss +0 -0
  432. data/templates/{jrails-1.4 → jrails}/jquery.ui/redmond/ui-anim_basic_16x16.gif +0 -0
  433. data/templates/{jrails-1.3 → jrails}/jquery.ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  434. data/templates/jrails/jquery.ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  435. data/templates/jrails/jquery.ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  436. data/templates/{jrails-1.3 → jrails}/jquery.ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  437. data/templates/{jrails-1.3 → jrails}/jquery.ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  438. data/templates/jrails/jquery.ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  439. data/templates/{jrails-1.3 → jrails}/jquery.ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  440. data/templates/{jrails-1.3 → jrails}/jquery.ui/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  441. data/templates/jrails/jquery.ui/redmond/ui-icons_217bc0_256x240.png +0 -0
  442. data/templates/{jrails-1.4 → jrails}/jquery.ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
  443. data/templates/{jrails-1.4 → jrails}/jquery.ui/redmond/ui-icons_469bdd_256x240.png +0 -0
  444. data/templates/{jrails-1.4 → jrails}/jquery.ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
  445. data/templates/{jrails-1.4 → jrails}/jquery.ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  446. data/templates/jrails/jquery.ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  447. data/templates/{jrails-1.4 → jrails}/jquery.ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
  448. data/templates/{jrails-1.4 → jrails}/jquery.ui/redmond.scss +0 -0
  449. data/templates/{jrails-1.4 → jrails}/jquery.ui/smoothness/ui-anim_basic_16x16.gif +0 -0
  450. data/templates/{jrails-1.3 → jrails}/jquery.ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  451. data/templates/{jrails-1.3 → jrails}/jquery.ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  452. data/templates/jrails/jquery.ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  453. data/templates/{jrails-1.3 → jrails}/jquery.ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  454. data/templates/{jrails-1.3 → jrails}/jquery.ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  455. data/templates/jrails/jquery.ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  456. data/templates/{jrails-1.3 → jrails}/jquery.ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  457. data/templates/{jrails-1.3 → jrails}/jquery.ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  458. data/templates/{jrails-1.4 → jrails}/jquery.ui/smoothness/ui-icons_222222_256x240.png +0 -0
  459. data/templates/{jrails-1.4 → jrails}/jquery.ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  460. data/templates/{jrails-1.4 → jrails}/jquery.ui/smoothness/ui-icons_454545_256x240.png +0 -0
  461. data/templates/{jrails-1.4 → jrails}/jquery.ui/smoothness/ui-icons_888888_256x240.png +0 -0
  462. data/templates/{jrails-1.4 → jrails}/jquery.ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  463. data/templates/{jrails-1.4 → jrails}/jquery.ui/smoothness.scss +0 -0
  464. data/templates/{jrails-1.4 → jrails}/jquery.ui/south-street/ui-anim_basic_16x16.gif +0 -0
  465. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  466. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  467. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  468. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  469. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  470. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  471. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  472. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  473. data/templates/{jrails-1.3 → jrails}/jquery.ui/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  474. data/templates/jrails/jquery.ui/south-street/ui-icons_808080_256x240.png +0 -0
  475. data/templates/{jrails-1.4 → jrails}/jquery.ui/south-street/ui-icons_847e71_256x240.png +0 -0
  476. data/templates/jrails/jquery.ui/south-street/ui-icons_8dc262_256x240.png +0 -0
  477. data/templates/{jrails-1.4 → jrails}/jquery.ui/south-street/ui-icons_cd0a0a_256x240.png +0 -0
  478. data/templates/{jrails-1.4 → jrails}/jquery.ui/south-street/ui-icons_eeeeee_256x240.png +0 -0
  479. data/templates/{jrails-1.4 → jrails}/jquery.ui/south-street/ui-icons_ffffff_256x240.png +0 -0
  480. data/templates/{jrails-1.4 → jrails}/jquery.ui/south-street.scss +0 -0
  481. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-anim_basic_16x16.gif +0 -0
  482. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-bg_flat_55_999999_40x100.png +0 -0
  483. data/templates/{jrails-1.4/jquery.ui/humanity → jrails/jquery.ui/start}/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  484. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-bg_glass_45_0078ae_1x400.png +0 -0
  485. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  486. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  487. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  488. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  489. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  490. data/templates/{jrails-1.4/jquery.ui/redmond → jrails/jquery.ui/start}/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  491. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-icons_0078ae_256x240.png +0 -0
  492. data/templates/jrails/jquery.ui/start/ui-icons_056b93_256x240.png +0 -0
  493. data/templates/jrails/jquery.ui/start/ui-icons_d8e7f3_256x240.png +0 -0
  494. data/templates/jrails/jquery.ui/start/ui-icons_e0fdff_256x240.png +0 -0
  495. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-icons_f5e175_256x240.png +0 -0
  496. data/templates/jrails/jquery.ui/start/ui-icons_f7a50d_256x240.png +0 -0
  497. data/templates/{jrails-1.4 → jrails}/jquery.ui/start/ui-icons_fcd113_256x240.png +0 -0
  498. data/templates/{jrails-1.4 → jrails}/jquery.ui/start.scss +0 -0
  499. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-anim_basic_16x16.gif +0 -0
  500. data/templates/{jrails-1.3 → jrails}/jquery.ui/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  501. data/templates/{jrails-1.3 → jrails}/jquery.ui/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
  502. data/templates/{jrails-1.3 → jrails}/jquery.ui/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  503. data/templates/{jrails-1.3 → jrails}/jquery.ui/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  504. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  505. data/templates/{jrails-1.3 → jrails}/jquery.ui/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  506. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  507. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  508. data/templates/{jrails-1.3 → jrails}/jquery.ui/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  509. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-icons_3d3d3d_256x240.png +0 -0
  510. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-icons_bd7b00_256x240.png +0 -0
  511. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-icons_d19405_256x240.png +0 -0
  512. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-icons_eb990f_256x240.png +0 -0
  513. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-icons_ed9f26_256x240.png +0 -0
  514. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-icons_fadc7a_256x240.png +0 -0
  515. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny/ui-icons_ffe180_256x240.png +0 -0
  516. data/templates/{jrails-1.4 → jrails}/jquery.ui/sunny.scss +0 -0
  517. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-anim_basic_16x16.gif +0 -0
  518. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  519. data/templates/{jrails-1.3 → jrails}/jquery.ui/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
  520. data/templates/{jrails-1.3 → jrails}/jquery.ui/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
  521. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  522. data/templates/{jrails-1.3 → jrails}/jquery.ui/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
  523. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
  524. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  525. data/templates/{jrails-1.3 → jrails}/jquery.ui/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  526. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-icons_070603_256x240.png +0 -0
  527. data/templates/{jrails-1.3 → jrails}/jquery.ui/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
  528. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
  529. data/templates/{jrails-1.3 → jrails}/jquery.ui/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
  530. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
  531. data/templates/{jrails-1.3 → jrails}/jquery.ui/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
  532. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
  533. data/templates/{jrails-1.4 → jrails}/jquery.ui/swanky-purse.scss +0 -0
  534. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/buttonbg.png +0 -0
  535. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/icon_color_arrow.gif +0 -0
  536. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/menuhoverbg.png +0 -0
  537. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_black_matte.png +0 -0
  538. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_black_tie.png +0 -0
  539. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_blitzer.png +0 -0
  540. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_cupertino.png +0 -0
  541. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_dark_hive.png +0 -0
  542. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_dot_luv.png +0 -0
  543. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_eggplant.png +0 -0
  544. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_excite_bike.png +0 -0
  545. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_flick.png +0 -0
  546. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_hot_sneaks.png +0 -0
  547. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_humanity.png +0 -0
  548. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_le_frog.png +0 -0
  549. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_mint_choco.png +0 -0
  550. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_overcast.png +0 -0
  551. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_pepper_grinder.png +0 -0
  552. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_smoothness.png +0 -0
  553. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_south_street.png +0 -0
  554. data/templates/{jrails-1.4 → jrails}/jquery.ui/themeSwitcher/theme_90_start_menu.png +0 -0
  555. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_sunny.png +0 -0
  556. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_swanky_purse.png +0 -0
  557. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_trontastic.png +0 -0
  558. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_ui_dark.png +0 -0
  559. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_ui_light.png +0 -0
  560. data/templates/{jrails-1.3 → jrails}/jquery.ui/themeSwitcher/theme_90_windoze.png +0 -0
  561. data/templates/{jrails-1.4 → jrails}/jquery.ui/trontastic/ui-anim_basic_16x16.gif +0 -0
  562. data/templates/jrails/jquery.ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  563. data/templates/{jrails-1.3 → jrails}/jquery.ui/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
  564. data/templates/jrails/jquery.ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  565. data/templates/{jrails-1.3 → jrails}/jquery.ui/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  566. data/templates/{jrails-1.3 → jrails}/jquery.ui/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  567. data/templates/{jrails-1.3 → jrails}/jquery.ui/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
  568. data/templates/{jrails-1.3 → jrails}/jquery.ui/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  569. data/templates/jrails/jquery.ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  570. data/templates/jrails/jquery.ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  571. data/templates/{jrails-1.4 → jrails}/jquery.ui/trontastic/ui-icons_000000_256x240.png +0 -0
  572. data/templates/jrails/jquery.ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  573. data/templates/{jrails-1.4 → jrails}/jquery.ui/trontastic/ui-icons_9fda58_256x240.png +0 -0
  574. data/templates/{jrails-1.4 → jrails}/jquery.ui/trontastic/ui-icons_b8ec79_256x240.png +0 -0
  575. data/templates/{jrails-1.4 → jrails}/jquery.ui/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
  576. data/templates/{jrails-1.4 → jrails}/jquery.ui/trontastic/ui-icons_ffffff_256x240.png +0 -0
  577. data/templates/{jrails-1.4 → jrails}/jquery.ui/trontastic.scss +0 -0
  578. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-darkness/ui-anim_basic_16x16.gif +0 -0
  579. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  580. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  581. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  582. data/templates/jrails/jquery.ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  583. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  584. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  585. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  586. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  587. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  588. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-darkness/ui-icons_222222_256x240.png +0 -0
  589. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  590. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-darkness/ui-icons_a83300_256x240.png +0 -0
  591. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  592. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  593. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-darkness.scss +0 -0
  594. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-lightness/ui-anim_basic_16x16.gif +0 -0
  595. data/templates/jrails/jquery.ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  596. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  597. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
  598. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  599. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  600. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  601. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  602. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  603. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  604. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-lightness/ui-icons_222222_256x240.png +0 -0
  605. data/templates/jrails/jquery.ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  606. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
  607. data/templates/{jrails-1.3 → jrails}/jquery.ui/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
  608. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
  609. data/templates/{jrails-1.4 → jrails}/jquery.ui/ui-lightness.scss +0 -0
  610. data/templates/{jrails-1.4 → jrails}/jquery.ui/vader/ui-anim_basic_16x16.gif +0 -0
  611. data/templates/{jrails-1.3 → jrails}/jquery.ui/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  612. data/templates/{jrails-1.3 → jrails}/jquery.ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  613. data/templates/{jrails-1.3 → jrails}/jquery.ui/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  614. data/templates/{jrails-1.3 → jrails}/jquery.ui/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  615. data/templates/{jrails-1.3 → jrails}/jquery.ui/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  616. data/templates/{jrails-1.3 → jrails}/jquery.ui/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  617. data/templates/{jrails-1.3 → jrails}/jquery.ui/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  618. data/templates/{jrails-1.3 → jrails}/jquery.ui/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  619. data/templates/{jrails-1.4 → jrails}/jquery.ui/vader/ui-icons_666666_256x240.png +0 -0
  620. data/templates/{jrails-1.4 → jrails}/jquery.ui/vader/ui-icons_aaaaaa_256x240.png +0 -0
  621. data/templates/jrails/jquery.ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
  622. data/templates/{jrails-1.4 → jrails}/jquery.ui/vader/ui-icons_c98000_256x240.png +0 -0
  623. data/templates/{jrails-1.4 → jrails}/jquery.ui/vader/ui-icons_cccccc_256x240.png +0 -0
  624. data/templates/{jrails-1.4 → jrails}/jquery.ui/vader/ui-icons_cd0a0a_256x240.png +0 -0
  625. data/templates/jrails/jquery.ui/vader/ui-icons_f29a00_256x240.png +0 -0
  626. data/templates/{jrails-1.4 → jrails}/jquery.ui/vader.scss +0 -0
  627. data/templates/{jrails-1.3 → jrails}/jrails.js +0 -0
  628. data/templates/{jrails-1.3 → jrails}/jrails.min.js +0 -0
  629. data/templates/{jrails-1.4 → jrails}/manifest.rb +15 -2
  630. data/templates/jrails/partials/_flash_messages.scss +32 -0
  631. data/templates/ribbon/config/initializers/ribbon.rb +3 -0
  632. data/templates/ribbon/manifest.rb +1 -1
  633. data/templates/secret_sauce/config/initializers/secret_sauce.rb +1 -0
  634. data/templates/secret_sauce/manifest.rb +1 -1
  635. metadata +621 -1081
  636. data/gem_tasks/calendar.rake +0 -78
  637. data/gem_tasks/jrails13.rake +0 -233
  638. data/gem_tasks/jrails14.rake +0 -267
  639. data/lib/eventually/event.rb +0 -84
  640. data/lib/eventually.rb +0 -4
  641. data/lib/jquery/calendar.rb +0 -5
  642. data/templates/calendar/config/initializers/calendar.rb +0 -3
  643. data/templates/calendar/jquery.calendar.js +0 -5621
  644. data/templates/calendar/jquery.calendar.min.js +0 -198
  645. data/templates/calendar/jquery.ui/calendar.scss +0 -693
  646. data/templates/calendar/manifest.rb +0 -7
  647. data/templates/jrails-1.3/config/initializers/jrails.rb +0 -29
  648. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ar.js +0 -20
  649. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ar.min.js +0 -4
  650. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-bg.js +0 -20
  651. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-bg.min.js +0 -4
  652. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ca.js +0 -19
  653. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ca.min.js +0 -2
  654. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-cs.js +0 -19
  655. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-cs.min.js +0 -2
  656. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-da.js +0 -19
  657. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-da.min.js +0 -2
  658. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-de.js +0 -19
  659. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-de.min.js +0 -2
  660. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-el.js +0 -19
  661. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-el.min.js +0 -4
  662. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-eo.js +0 -19
  663. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-eo.min.js +0 -2
  664. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-es.js +0 -19
  665. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-es.min.js +0 -2
  666. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fa.js +0 -19
  667. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fa.min.js +0 -3
  668. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fi.js +0 -19
  669. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fi.min.js +0 -2
  670. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fr.js +0 -19
  671. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fr.min.js +0 -2
  672. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-he.js +0 -19
  673. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-he.min.js +0 -3
  674. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hr.js +0 -19
  675. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hr.min.js +0 -2
  676. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hu.js +0 -19
  677. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hu.min.js +0 -2
  678. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hy.js +0 -19
  679. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hy.min.js +0 -4
  680. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-id.js +0 -19
  681. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-id.min.js +0 -2
  682. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-is.js +0 -19
  683. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-is.min.js +0 -2
  684. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-it.js +0 -19
  685. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-it.min.js +0 -2
  686. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ja.js +0 -20
  687. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ja.min.js +0 -2
  688. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ko.js +0 -19
  689. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ko.min.js +0 -2
  690. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lt.js +0 -19
  691. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lt.min.js +0 -2
  692. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lv.js +0 -19
  693. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lv.min.js +0 -2
  694. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ms.js +0 -19
  695. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ms.min.js +0 -2
  696. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-nl.js +0 -19
  697. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-nl.min.js +0 -2
  698. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-no.js +0 -19
  699. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-no.min.js +0 -2
  700. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pl.js +0 -19
  701. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pl.min.js +0 -2
  702. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pt-BR.js +0 -19
  703. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pt-BR.min.js +0 -2
  704. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ro.js +0 -22
  705. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ro.min.js +0 -2
  706. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ru.js +0 -19
  707. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ru.min.js +0 -4
  708. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sk.js +0 -19
  709. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sk.min.js +0 -2
  710. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sl.js +0 -20
  711. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sl.min.js +0 -2
  712. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sq.js +0 -19
  713. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sq.min.js +0 -2
  714. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr-SR.js +0 -19
  715. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr-SR.min.js +0 -2
  716. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr.js +0 -19
  717. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr.min.js +0 -3
  718. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sv.js +0 -19
  719. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sv.min.js +0 -2
  720. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-th.js +0 -19
  721. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-th.min.js +0 -4
  722. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-tr.js +0 -19
  723. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-tr.min.js +0 -2
  724. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-uk.js +0 -25
  725. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-uk.min.js +0 -4
  726. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-CN.js +0 -19
  727. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-CN.min.js +0 -2
  728. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-TW.js +0 -19
  729. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-TW.min.js +0 -2
  730. data/templates/jrails-1.3/jquery-1.3.2.js +0 -7638
  731. data/templates/jrails-1.3/jquery-1.3.2.min.js +0 -178
  732. data/templates/jrails-1.3/jquery-ui-1.7.3.js +0 -18330
  733. data/templates/jrails-1.3/jquery-ui-1.7.3.min.js +0 -690
  734. data/templates/jrails-1.3/jquery.haml.min.js +0 -5
  735. data/templates/jrails-1.3/jquery.themeswitchertool.js +0 -190
  736. data/templates/jrails-1.3/jquery.themeswitchertool.min.js +0 -8
  737. data/templates/jrails-1.3/jquery.ui/_theme.scss +0 -1283
  738. data/templates/jrails-1.3/jquery.ui/base.scss +0 -87
  739. data/templates/jrails-1.3/jquery.ui/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
  740. data/templates/jrails-1.3/jquery.ui/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  741. data/templates/jrails-1.3/jquery.ui/black-tie/ui-icons_222222_256x240.png +0 -0
  742. data/templates/jrails-1.3/jquery.ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
  743. data/templates/jrails-1.3/jquery.ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
  744. data/templates/jrails-1.3/jquery.ui/black-tie/ui-icons_ffffff_256x240.png +0 -0
  745. data/templates/jrails-1.3/jquery.ui/black-tie.scss +0 -87
  746. data/templates/jrails-1.3/jquery.ui/blitzer/ui-icons_004276_256x240.png +0 -0
  747. data/templates/jrails-1.3/jquery.ui/blitzer/ui-icons_cc0000_256x240.png +0 -0
  748. data/templates/jrails-1.3/jquery.ui/blitzer/ui-icons_ffffff_256x240.png +0 -0
  749. data/templates/jrails-1.3/jquery.ui/blitzer.scss +0 -87
  750. data/templates/jrails-1.3/jquery.ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
  751. data/templates/jrails-1.3/jquery.ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  752. data/templates/jrails-1.3/jquery.ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  753. data/templates/jrails-1.3/jquery.ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  754. data/templates/jrails-1.3/jquery.ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
  755. data/templates/jrails-1.3/jquery.ui/cupertino.scss +0 -87
  756. data/templates/jrails-1.3/jquery.ui/dark-hive/ui-icons_222222_256x240.png +0 -0
  757. data/templates/jrails-1.3/jquery.ui/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
  758. data/templates/jrails-1.3/jquery.ui/dark-hive/ui-icons_a83300_256x240.png +0 -0
  759. data/templates/jrails-1.3/jquery.ui/dark-hive/ui-icons_cccccc_256x240.png +0 -0
  760. data/templates/jrails-1.3/jquery.ui/dark-hive/ui-icons_ffffff_256x240.png +0 -0
  761. data/templates/jrails-1.3/jquery.ui/dark-hive.scss +0 -87
  762. data/templates/jrails-1.3/jquery.ui/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  763. data/templates/jrails-1.3/jquery.ui/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  764. data/templates/jrails-1.3/jquery.ui/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  765. data/templates/jrails-1.3/jquery.ui/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
  766. data/templates/jrails-1.3/jquery.ui/dot-luv/ui-icons_ffffff_256x240.png +0 -0
  767. data/templates/jrails-1.3/jquery.ui/dot-luv.scss +0 -87
  768. data/templates/jrails-1.3/jquery.ui/eggplant/ui-icons_454545_256x240.png +0 -0
  769. data/templates/jrails-1.3/jquery.ui/eggplant/ui-icons_734d99_256x240.png +0 -0
  770. data/templates/jrails-1.3/jquery.ui/eggplant/ui-icons_8d78a5_256x240.png +0 -0
  771. data/templates/jrails-1.3/jquery.ui/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
  772. data/templates/jrails-1.3/jquery.ui/eggplant/ui-icons_ebccce_256x240.png +0 -0
  773. data/templates/jrails-1.3/jquery.ui/eggplant/ui-icons_ffffff_256x240.png +0 -0
  774. data/templates/jrails-1.3/jquery.ui/eggplant.scss +0 -87
  775. data/templates/jrails-1.3/jquery.ui/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
  776. data/templates/jrails-1.3/jquery.ui/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
  777. data/templates/jrails-1.3/jquery.ui/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
  778. data/templates/jrails-1.3/jquery.ui/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
  779. data/templates/jrails-1.3/jquery.ui/excite-bike/ui-icons_ffffff_256x240.png +0 -0
  780. data/templates/jrails-1.3/jquery.ui/excite-bike.scss +0 -87
  781. data/templates/jrails-1.3/jquery.ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  782. data/templates/jrails-1.3/jquery.ui/flick/ui-icons_0073ea_256x240.png +0 -0
  783. data/templates/jrails-1.3/jquery.ui/flick/ui-icons_454545_256x240.png +0 -0
  784. data/templates/jrails-1.3/jquery.ui/flick/ui-icons_666666_256x240.png +0 -0
  785. data/templates/jrails-1.3/jquery.ui/flick/ui-icons_ff0084_256x240.png +0 -0
  786. data/templates/jrails-1.3/jquery.ui/flick/ui-icons_ffffff_256x240.png +0 -0
  787. data/templates/jrails-1.3/jquery.ui/flick.scss +0 -87
  788. data/templates/jrails-1.3/jquery.ui/hot-sneaks/ui-icons_454545_256x240.png +0 -0
  789. data/templates/jrails-1.3/jquery.ui/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
  790. data/templates/jrails-1.3/jquery.ui/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
  791. data/templates/jrails-1.3/jquery.ui/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
  792. data/templates/jrails-1.3/jquery.ui/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
  793. data/templates/jrails-1.3/jquery.ui/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
  794. data/templates/jrails-1.3/jquery.ui/hot-sneaks.scss +0 -87
  795. data/templates/jrails-1.3/jquery.ui/humanity/ui-icons_c47a23_256x240.png +0 -0
  796. data/templates/jrails-1.3/jquery.ui/humanity/ui-icons_cb672b_256x240.png +0 -0
  797. data/templates/jrails-1.3/jquery.ui/humanity/ui-icons_f08000_256x240.png +0 -0
  798. data/templates/jrails-1.3/jquery.ui/humanity/ui-icons_f35f07_256x240.png +0 -0
  799. data/templates/jrails-1.3/jquery.ui/humanity/ui-icons_ff7519_256x240.png +0 -0
  800. data/templates/jrails-1.3/jquery.ui/humanity/ui-icons_ffffff_256x240.png +0 -0
  801. data/templates/jrails-1.3/jquery.ui/humanity.scss +0 -87
  802. data/templates/jrails-1.3/jquery.ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  803. data/templates/jrails-1.3/jquery.ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  804. data/templates/jrails-1.3/jquery.ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  805. data/templates/jrails-1.3/jquery.ui/le-frog/ui-icons_4eb305_256x240.png +0 -0
  806. data/templates/jrails-1.3/jquery.ui/le-frog/ui-icons_72b42d_256x240.png +0 -0
  807. data/templates/jrails-1.3/jquery.ui/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
  808. data/templates/jrails-1.3/jquery.ui/le-frog/ui-icons_ffffff_256x240.png +0 -0
  809. data/templates/jrails-1.3/jquery.ui/le-frog.scss +0 -87
  810. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  811. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  812. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  813. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-icons_222222_256x240.png +0 -0
  814. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
  815. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-icons_add978_256x240.png +0 -0
  816. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
  817. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
  818. data/templates/jrails-1.3/jquery.ui/mint-choc/ui-icons_ffffff_256x240.png +0 -0
  819. data/templates/jrails-1.3/jquery.ui/mint-choc.scss +0 -87
  820. data/templates/jrails-1.3/jquery.ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  821. data/templates/jrails-1.3/jquery.ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  822. data/templates/jrails-1.3/jquery.ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  823. data/templates/jrails-1.3/jquery.ui/overcast/ui-icons_3383bb_256x240.png +0 -0
  824. data/templates/jrails-1.3/jquery.ui/overcast/ui-icons_454545_256x240.png +0 -0
  825. data/templates/jrails-1.3/jquery.ui/overcast/ui-icons_70b2e1_256x240.png +0 -0
  826. data/templates/jrails-1.3/jquery.ui/overcast/ui-icons_999999_256x240.png +0 -0
  827. data/templates/jrails-1.3/jquery.ui/overcast/ui-icons_fbc856_256x240.png +0 -0
  828. data/templates/jrails-1.3/jquery.ui/overcast.scss +0 -87
  829. data/templates/jrails-1.3/jquery.ui/pepper-grinder/ui-icons_222222_256x240.png +0 -0
  830. data/templates/jrails-1.3/jquery.ui/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
  831. data/templates/jrails-1.3/jquery.ui/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
  832. data/templates/jrails-1.3/jquery.ui/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
  833. data/templates/jrails-1.3/jquery.ui/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
  834. data/templates/jrails-1.3/jquery.ui/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
  835. data/templates/jrails-1.3/jquery.ui/pepper-grinder.scss +0 -87
  836. data/templates/jrails-1.3/jquery.ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  837. data/templates/jrails-1.3/jquery.ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  838. data/templates/jrails-1.3/jquery.ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  839. data/templates/jrails-1.3/jquery.ui/redmond/ui-icons_217bc0_256x240.png +0 -0
  840. data/templates/jrails-1.3/jquery.ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
  841. data/templates/jrails-1.3/jquery.ui/redmond/ui-icons_469bdd_256x240.png +0 -0
  842. data/templates/jrails-1.3/jquery.ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
  843. data/templates/jrails-1.3/jquery.ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  844. data/templates/jrails-1.3/jquery.ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  845. data/templates/jrails-1.3/jquery.ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
  846. data/templates/jrails-1.3/jquery.ui/redmond.scss +0 -87
  847. data/templates/jrails-1.3/jquery.ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  848. data/templates/jrails-1.3/jquery.ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  849. data/templates/jrails-1.3/jquery.ui/smoothness/ui-icons_222222_256x240.png +0 -0
  850. data/templates/jrails-1.3/jquery.ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  851. data/templates/jrails-1.3/jquery.ui/smoothness/ui-icons_454545_256x240.png +0 -0
  852. data/templates/jrails-1.3/jquery.ui/smoothness/ui-icons_888888_256x240.png +0 -0
  853. data/templates/jrails-1.3/jquery.ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  854. data/templates/jrails-1.3/jquery.ui/smoothness.scss +0 -87
  855. data/templates/jrails-1.3/jquery.ui/south-street/ui-icons_808080_256x240.png +0 -0
  856. data/templates/jrails-1.3/jquery.ui/south-street/ui-icons_847e71_256x240.png +0 -0
  857. data/templates/jrails-1.3/jquery.ui/south-street/ui-icons_8DC262_256x240.png +0 -0
  858. data/templates/jrails-1.3/jquery.ui/south-street/ui-icons_cd0a0a_256x240.png +0 -0
  859. data/templates/jrails-1.3/jquery.ui/south-street/ui-icons_eeeeee_256x240.png +0 -0
  860. data/templates/jrails-1.3/jquery.ui/south-street/ui-icons_ffffff_256x240.png +0 -0
  861. data/templates/jrails-1.3/jquery.ui/south-street.scss +0 -87
  862. data/templates/jrails-1.3/jquery.ui/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  863. data/templates/jrails-1.3/jquery.ui/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  864. data/templates/jrails-1.3/jquery.ui/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  865. data/templates/jrails-1.3/jquery.ui/sunny/ui-icons_3d3d3d_256x240.png +0 -0
  866. data/templates/jrails-1.3/jquery.ui/sunny/ui-icons_bd7b00_256x240.png +0 -0
  867. data/templates/jrails-1.3/jquery.ui/sunny/ui-icons_d19405_256x240.png +0 -0
  868. data/templates/jrails-1.3/jquery.ui/sunny/ui-icons_eb990f_256x240.png +0 -0
  869. data/templates/jrails-1.3/jquery.ui/sunny/ui-icons_ed9f26_256x240.png +0 -0
  870. data/templates/jrails-1.3/jquery.ui/sunny/ui-icons_fadc7a_256x240.png +0 -0
  871. data/templates/jrails-1.3/jquery.ui/sunny/ui-icons_ffe180_256x240.png +0 -0
  872. data/templates/jrails-1.3/jquery.ui/sunny.scss +0 -87
  873. data/templates/jrails-1.3/jquery.ui/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  874. data/templates/jrails-1.3/jquery.ui/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  875. data/templates/jrails-1.3/jquery.ui/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
  876. data/templates/jrails-1.3/jquery.ui/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  877. data/templates/jrails-1.3/jquery.ui/swanky-purse/ui-icons_070603_256x240.png +0 -0
  878. data/templates/jrails-1.3/jquery.ui/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
  879. data/templates/jrails-1.3/jquery.ui/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
  880. data/templates/jrails-1.3/jquery.ui/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
  881. data/templates/jrails-1.3/jquery.ui/swanky-purse.scss +0 -87
  882. data/templates/jrails-1.3/jquery.ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  883. data/templates/jrails-1.3/jquery.ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  884. data/templates/jrails-1.3/jquery.ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  885. data/templates/jrails-1.3/jquery.ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  886. data/templates/jrails-1.3/jquery.ui/trontastic/ui-icons_000000_256x240.png +0 -0
  887. data/templates/jrails-1.3/jquery.ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  888. data/templates/jrails-1.3/jquery.ui/trontastic/ui-icons_9fda58_256x240.png +0 -0
  889. data/templates/jrails-1.3/jquery.ui/trontastic/ui-icons_b8ec79_256x240.png +0 -0
  890. data/templates/jrails-1.3/jquery.ui/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
  891. data/templates/jrails-1.3/jquery.ui/trontastic/ui-icons_ffffff_256x240.png +0 -0
  892. data/templates/jrails-1.3/jquery.ui/trontastic.scss +0 -87
  893. data/templates/jrails-1.3/jquery.ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  894. data/templates/jrails-1.3/jquery.ui/ui-darkness/ui-icons_222222_256x240.png +0 -0
  895. data/templates/jrails-1.3/jquery.ui/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  896. data/templates/jrails-1.3/jquery.ui/ui-darkness/ui-icons_a83300_256x240.png +0 -0
  897. data/templates/jrails-1.3/jquery.ui/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  898. data/templates/jrails-1.3/jquery.ui/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  899. data/templates/jrails-1.3/jquery.ui/ui-darkness.scss +0 -87
  900. data/templates/jrails-1.3/jquery.ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  901. data/templates/jrails-1.3/jquery.ui/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  902. data/templates/jrails-1.3/jquery.ui/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  903. data/templates/jrails-1.3/jquery.ui/ui-lightness/ui-icons_222222_256x240.png +0 -0
  904. data/templates/jrails-1.3/jquery.ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  905. data/templates/jrails-1.3/jquery.ui/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
  906. data/templates/jrails-1.3/jquery.ui/ui-lightness.scss +0 -87
  907. data/templates/jrails-1.3/jquery.ui/vader/ui-icons_666666_256x240.png +0 -0
  908. data/templates/jrails-1.3/jquery.ui/vader/ui-icons_aaaaaa_256x240.png +0 -0
  909. data/templates/jrails-1.3/jquery.ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
  910. data/templates/jrails-1.3/jquery.ui/vader/ui-icons_c98000_256x240.png +0 -0
  911. data/templates/jrails-1.3/jquery.ui/vader/ui-icons_cccccc_256x240.png +0 -0
  912. data/templates/jrails-1.3/jquery.ui/vader/ui-icons_cd0a0a_256x240.png +0 -0
  913. data/templates/jrails-1.3/jquery.ui/vader/ui-icons_f29a00_256x240.png +0 -0
  914. data/templates/jrails-1.3/jquery.ui/vader.scss +0 -87
  915. data/templates/jrails-1.3/manifest.rb +0 -496
  916. data/templates/jrails-1.4/jquery-ui-1.8.1.min.js +0 -765
  917. data/templates/jrails-1.4/jquery.contextMenu.js +0 -211
  918. data/templates/jrails-1.4/jquery.contextMenu.min.js +0 -8
  919. data/templates/jrails-1.4/jquery.haml.js +0 -293
  920. data/templates/jrails-1.4/jquery.haml.min.js +0 -5
  921. data/templates/jrails-1.4/jquery.pngFix.js +0 -11
  922. data/templates/jrails-1.4/jquery.pngFix.min.js +0 -2
  923. data/templates/jrails-1.4/jquery.ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  924. data/templates/jrails-1.4/jquery.ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  925. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  926. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  927. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  928. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  929. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  930. data/templates/jrails-1.4/jquery.ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  931. data/templates/jrails-1.4/jquery.ui/base/ui-icons_222222_256x240.png +0 -0
  932. data/templates/jrails-1.4/jquery.ui/base/ui-icons_2e83ff_256x240.png +0 -0
  933. data/templates/jrails-1.4/jquery.ui/base/ui-icons_454545_256x240.png +0 -0
  934. data/templates/jrails-1.4/jquery.ui/base/ui-icons_888888_256x240.png +0 -0
  935. data/templates/jrails-1.4/jquery.ui/base/ui-icons_cd0a0a_256x240.png +0 -0
  936. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  937. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
  938. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  939. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  940. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  941. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  942. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  943. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  944. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  945. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
  946. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
  947. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
  948. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  949. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  950. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  951. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  952. data/templates/jrails-1.4/jquery.ui/contextMenu/cut.png +0 -0
  953. data/templates/jrails-1.4/jquery.ui/contextMenu/door.png +0 -0
  954. data/templates/jrails-1.4/jquery.ui/contextMenu/page_white_copy.png +0 -0
  955. data/templates/jrails-1.4/jquery.ui/contextMenu/page_white_delete.png +0 -0
  956. data/templates/jrails-1.4/jquery.ui/contextMenu/page_white_edit.png +0 -0
  957. data/templates/jrails-1.4/jquery.ui/contextMenu/page_white_paste.png +0 -0
  958. data/templates/jrails-1.4/jquery.ui/contextMenu.scss +0 -49
  959. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  960. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  961. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  962. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  963. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  964. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  965. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  966. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  967. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  968. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
  969. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  970. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  971. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  972. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  973. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  974. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  975. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  976. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
  977. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  978. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
  979. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  980. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  981. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
  982. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  983. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  984. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
  985. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
  986. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  987. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  988. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  989. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  990. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  991. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  992. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  993. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  994. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  995. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
  996. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
  997. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  998. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  999. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1000. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  1001. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
  1002. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1003. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1004. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  1005. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  1006. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  1007. data/templates/jrails-1.4/jquery.ui/flick/ui-icons_ff0084_256x240.png +0 -0
  1008. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  1009. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  1010. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  1011. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  1012. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  1013. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  1014. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
  1015. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1016. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  1017. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  1018. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  1019. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  1020. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  1021. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  1022. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  1023. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  1024. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  1025. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  1026. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  1027. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  1028. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  1029. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  1030. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  1031. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  1032. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  1033. data/templates/jrails-1.4/jquery.ui/le-frog/ui-icons_72b42d_256x240.png +0 -0
  1034. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1035. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
  1036. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  1037. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  1038. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  1039. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1040. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  1041. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  1042. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  1043. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  1044. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
  1045. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  1046. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  1047. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  1048. data/templates/jrails-1.4/jquery.ui/overcast/ui-icons_70b2e1_256x240.png +0 -0
  1049. data/templates/jrails-1.4/jquery.ui/overcast/ui-icons_fbc856_256x240.png +0 -0
  1050. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  1051. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  1052. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  1053. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  1054. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  1055. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  1056. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  1057. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  1058. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  1059. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1060. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  1061. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  1062. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  1063. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1064. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  1065. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  1066. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_217bc0_256x240.png +0 -0
  1067. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  1068. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1069. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1070. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1071. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1072. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  1073. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1074. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1075. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1076. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  1077. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  1078. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  1079. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  1080. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  1081. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  1082. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  1083. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  1084. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  1085. data/templates/jrails-1.4/jquery.ui/south-street/ui-icons_808080_256x240.png +0 -0
  1086. data/templates/jrails-1.4/jquery.ui/south-street/ui-icons_8dc262_256x240.png +0 -0
  1087. data/templates/jrails-1.4/jquery.ui/start/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  1088. data/templates/jrails-1.4/jquery.ui/start/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  1089. data/templates/jrails-1.4/jquery.ui/start/ui-icons_056b93_256x240.png +0 -0
  1090. data/templates/jrails-1.4/jquery.ui/start/ui-icons_d8e7f3_256x240.png +0 -0
  1091. data/templates/jrails-1.4/jquery.ui/start/ui-icons_e0fdff_256x240.png +0 -0
  1092. data/templates/jrails-1.4/jquery.ui/start/ui-icons_f7a50d_256x240.png +0 -0
  1093. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  1094. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1095. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1096. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  1097. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  1098. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  1099. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
  1100. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
  1101. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
  1102. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  1103. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
  1104. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
  1105. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
  1106. data/templates/jrails-1.4/jquery.ui/themeSwitcher/buttonbg.png +0 -0
  1107. data/templates/jrails-1.4/jquery.ui/themeSwitcher/icon_color_arrow.gif +0 -0
  1108. data/templates/jrails-1.4/jquery.ui/themeSwitcher/menuhoverbg.png +0 -0
  1109. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_black_matte.png +0 -0
  1110. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_black_tie.png +0 -0
  1111. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_blitzer.png +0 -0
  1112. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_cupertino.png +0 -0
  1113. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_dark_hive.png +0 -0
  1114. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_dot_luv.png +0 -0
  1115. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_eggplant.png +0 -0
  1116. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_excite_bike.png +0 -0
  1117. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_flick.png +0 -0
  1118. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_hot_sneaks.png +0 -0
  1119. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_humanity.png +0 -0
  1120. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_le_frog.png +0 -0
  1121. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_mint_choco.png +0 -0
  1122. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_overcast.png +0 -0
  1123. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_pepper_grinder.png +0 -0
  1124. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_smoothness.png +0 -0
  1125. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_south_street.png +0 -0
  1126. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_sunny.png +0 -0
  1127. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_swanky_purse.png +0 -0
  1128. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_trontastic.png +0 -0
  1129. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_ui_dark.png +0 -0
  1130. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_ui_light.png +0 -0
  1131. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_windoze.png +0 -0
  1132. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  1133. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
  1134. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  1135. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  1136. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  1137. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
  1138. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  1139. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  1140. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  1141. data/templates/jrails-1.4/jquery.ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  1142. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1143. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1144. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  1145. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  1146. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1147. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  1148. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1149. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  1150. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  1151. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  1152. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  1153. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
  1154. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  1155. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1156. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  1157. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  1158. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  1159. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
  1160. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
  1161. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1162. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1163. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  1164. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  1165. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  1166. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  1167. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  1168. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  1169. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
  1170. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_f29a00_256x240.png +0 -0
  1171. data/templates/jrails-1.4/jrails.js +0 -197
  1172. data/templates/jrails-1.4/jrails.min.js +0 -8
@@ -1,765 +0,0 @@
1
- jQuery.ui||function(c){c.ui={version:"1.8.1",plugin:{add:function(b,d,e){b=c.ui[b].prototype;for(var a in e){b.plugins[a]=b.plugins[a]||[];b.plugins[a].push([d,e[a]])}},call:function(b,d,e){if((d=b.plugins[d])&&b.element[0].parentNode)for(var a=0;a<d.length;a++)b.options[d[a][0]]&&d[a][1].apply(b.element,e)}},contains:function(b,d){return document.compareDocumentPosition?b.compareDocumentPosition(d)&16:b!==d&&b.contains(d)},hasScroll:function(b,d){if(c(b).css("overflow")=="hidden")return false;d=
2
- d&&d=="left"?"scrollLeft":"scrollTop";var e=false;if(b[d]>0)return true;b[d]=1;e=b[d]>0;b[d]=0;return e},isOverAxis:function(b,d,e){return b>d&&b<d+e},isOver:function(b,d,e,a,f,g){return c.ui.isOverAxis(b,e,f)&&c.ui.isOverAxis(d,a,g)},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,
3
- RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};c.fn.extend({_focus:c.fn.focus,focus:function(b,d){return typeof b==="number"?this.each(function(){var e=this;setTimeout(function(){c(e).focus();d&&d.call(e)},b)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none")},scrollParent:function(){var b;b=c.browser.msie&&/(static|relative)/.test(this.css("position"))||
4
- /absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?c(document):b},zIndex:function(b){if(b!==
5
- undefined)return this.css("zIndex",b);if(this.length){b=c(this[0]);for(var d;b.length&&b[0]!==document;){d=b.css("position");if(d=="absolute"||d=="relative"||d=="fixed"){d=parseInt(b.css("zIndex"));if(!isNaN(d)&&d!=0)return d}b=b.parent()}}return 0}});c.extend(c.expr[":"],{data:function(b,d,e){return!!c.data(b,e[3])},focusable:function(b){var d=b.nodeName.toLowerCase(),e=c.attr(b,"tabindex");return(/input|select|textarea|button|object/.test(d)?!b.disabled:"a"==d||"area"==d?b.href||!isNaN(e):!isNaN(e))&&
6
- !c(b)["area"==d?"parents":"closest"](":hidden").length},tabbable:function(b){var d=c.attr(b,"tabindex");return(isNaN(d)||d>=0)&&c(b).is(":focusable")}})}(jQuery);
7
- (function(c){var b=c.fn.remove;c.fn.remove=function(d,e){return this.each(function(){if(!e)if(!d||c.filter(d,[this]).length)c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return b.call(c(this),d,e)})};c.widget=function(d,e,a){var f=d.split(".")[0],g;d=d.split(".")[1];g=f+"-"+d;if(!a){a=e;e=c.Widget}c.expr[":"][g]=function(i){return!!c.data(i,d)};c[f]=c[f]||{};c[f][d]=function(i,j){arguments.length&&this._createWidget(i,j)};e=new e;e.options=c.extend({},e.options);c[f][d].prototype=
8
- c.extend(true,e,{namespace:f,widgetName:d,widgetEventPrefix:c[f][d].prototype.widgetEventPrefix||d,widgetBaseClass:g},a);c.widget.bridge(d,c[f][d])};c.widget.bridge=function(d,e){c.fn[d]=function(a){var f=typeof a==="string",g=Array.prototype.slice.call(arguments,1),i=this;a=!f&&g.length?c.extend.apply(null,[true,a].concat(g)):a;if(f&&a.substring(0,1)==="_")return i;f?this.each(function(){var j=c.data(this,d),m=j&&c.isFunction(j[a])?j[a].apply(j,g):j;if(m!==j&&m!==undefined){i=m;return false}}):this.each(function(){var j=
9
- c.data(this,d);if(j){a&&j.option(a);j._init()}else c.data(this,d,new e(a,this))});return i}};c.Widget=function(d,e){arguments.length&&this._createWidget(d,e)};c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(d,e){this.element=c(e).data(this.widgetName,this);this.options=c.extend(true,{},this.options,c.metadata&&c.metadata.get(e)[this.widgetName],d);var a=this;this.element.bind("remove."+this.widgetName,function(){a.destroy()});this._create();
10
- this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(d,e){var a=d,f=this;if(arguments.length===0)return c.extend({},f.options);if(typeof d==="string"){if(e===undefined)return this.options[d];a={};a[d]=e}c.each(a,function(g,
11
- i){f._setOption(g,i)});return f},_setOption:function(d,e){this.options[d]=e;if(d==="disabled")this.widget()[e?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",e);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(d,e,a){var f=this.options[d];e=c.Event(e);e.type=(d===this.widgetEventPrefix?d:this.widgetEventPrefix+d).toLowerCase();a=a||{};if(e.originalEvent){d=
12
- c.event.props.length;for(var g;d;){g=c.event.props[--d];e[g]=e.originalEvent[g]}}this.element.trigger(e,a);return!(c.isFunction(f)&&f.call(this.element[0],e,a)===false||e.isDefaultPrevented())}}})(jQuery);
13
- (function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(d){return b._mouseDown(d)}).bind("click."+this.widgetName,function(d){if(b._preventClickEvent){b._preventClickEvent=false;d.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(b){b.originalEvent=b.originalEvent||{};if(!b.originalEvent.mouseHandled){this._mouseStarted&&
14
- this._mouseUp(b);this._mouseDownEvent=b;var d=this,e=b.which==1,a=typeof this.options.cancel=="string"?c(b.target).parents().add(b.target).filter(this.options.cancel).length:false;if(!e||a||!this._mouseCapture(b))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==false;if(!this._mouseStarted){b.preventDefault();
15
- return true}}this._mouseMoveDelegate=function(f){return d._mouseMove(f)};this._mouseUpDelegate=function(f){return d._mouseUp(f)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);c.browser.safari||b.preventDefault();return b.originalEvent.mouseHandled=true}},_mouseMove:function(b){if(c.browser.msie&&!b.button)return this._mouseUp(b);if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}if(this._mouseDistanceMet(b)&&
16
- this._mouseDelayMet(b))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==false)?this._mouseDrag(b):this._mouseUp(b);return!this._mouseStarted},_mouseUp:function(b){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=b.target==this._mouseDownEvent.target;this._mouseStop(b)}return false},_mouseDistanceMet:function(b){return Math.max(Math.abs(this._mouseDownEvent.pageX-
17
- b.pageX),Math.abs(this._mouseDownEvent.pageY-b.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
18
- (function(c){c.ui=c.ui||{};var b=/left|center|right/,d=/top|center|bottom/,e=c.fn.position,a=c.fn.offset;c.fn.position=function(f){if(!f||!f.of)return e.apply(this,arguments);f=c.extend({},f);var g=c(f.of),i=(f.collision||"flip").split(" "),j=f.offset?f.offset.split(" "):[0,0],m,k,h;if(f.of.nodeType===9){m=g.width();k=g.height();h={top:0,left:0}}else if(f.of.scrollTo&&f.of.document){m=g.width();k=g.height();h={top:g.scrollTop(),left:g.scrollLeft()}}else if(f.of.preventDefault){f.at="left top";m=k=
19
- 0;h={top:f.of.pageY,left:f.of.pageX}}else{m=g.outerWidth();k=g.outerHeight();h=g.offset()}c.each(["my","at"],function(){var l=(f[this]||"").split(" ");if(l.length===1)l=b.test(l[0])?l.concat(["center"]):d.test(l[0])?["center"].concat(l):["center","center"];l[0]=b.test(l[0])?l[0]:"center";l[1]=d.test(l[1])?l[1]:"center";f[this]=l});if(i.length===1)i[1]=i[0];j[0]=parseInt(j[0],10)||0;if(j.length===1)j[1]=j[0];j[1]=parseInt(j[1],10)||0;if(f.at[0]==="right")h.left+=m;else if(f.at[0]==="center")h.left+=
20
- m/2;if(f.at[1]==="bottom")h.top+=k;else if(f.at[1]==="center")h.top+=k/2;h.left+=j[0];h.top+=j[1];return this.each(function(){var l=c(this),n=l.outerWidth(),o=l.outerHeight(),p=c.extend({},h);if(f.my[0]==="right")p.left-=n;else if(f.my[0]==="center")p.left-=n/2;if(f.my[1]==="bottom")p.top-=o;else if(f.my[1]==="center")p.top-=o/2;p.left=parseInt(p.left);p.top=parseInt(p.top);c.each(["left","top"],function(q,r){c.ui.position[i[q]]&&c.ui.position[i[q]][r](p,{targetWidth:m,targetHeight:k,elemWidth:n,
21
- elemHeight:o,offset:j,my:f.my,at:f.at})});c.fn.bgiframe&&l.bgiframe();l.offset(c.extend(p,{using:f.using}))})};c.ui.position={fit:{left:function(f,g){var i=c(window);g=f.left+g.elemWidth-i.width()-i.scrollLeft();f.left=g>0?f.left-g:Math.max(0,f.left)},top:function(f,g){var i=c(window);g=f.top+g.elemHeight-i.height()-i.scrollTop();f.top=g>0?f.top-g:Math.max(0,f.top)}},flip:{left:function(f,g){if(g.at[0]!=="center"){var i=c(window);i=f.left+g.elemWidth-i.width()-i.scrollLeft();var j=g.my[0]==="left"?
22
- -g.elemWidth:g.my[0]==="right"?g.elemWidth:0,m=-2*g.offset[0];f.left+=f.left<0?j+g.targetWidth+m:i>0?j-g.targetWidth+m:0}},top:function(f,g){if(g.at[1]!=="center"){var i=c(window);i=f.top+g.elemHeight-i.height()-i.scrollTop();var j=g.my[1]==="top"?-g.elemHeight:g.my[1]==="bottom"?g.elemHeight:0,m=g.at[1]==="top"?g.targetHeight:-g.targetHeight,k=-2*g.offset[1];f.top+=f.top<0?j+g.targetHeight+k:i>0?j+m+k:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(f,g){if(/static/.test(c.curCSS(f,"position")))f.style.position=
23
- "relative";var i=c(f),j=i.offset(),m=parseInt(c.curCSS(f,"top",true),10)||0,k=parseInt(c.curCSS(f,"left",true),10)||0;j={top:g.top-j.top+m,left:g.left-j.left+k};"using"in g?g.using.call(f,j):i.css(j)};c.fn.offset=function(f){var g=this[0];if(!g||!g.ownerDocument)return null;if(f)return this.each(function(){c.offset.setOffset(this,f)});return a.call(this)}}})(jQuery);
24
- (function(c){c.widget("ui.draggable",c.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper==
25
- "original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(b){var d=
26
- this.options;if(this.helper||d.disabled||c(b.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(b);if(!this.handle)return false;return true},_mouseStart:function(b){var d=this.options;this.helper=this._createHelper(b);this._cacheHelperProportions();if(c.ui.ddmanager)c.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-
27
- this.margins.top,left:this.offset.left-this.margins.left};c.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(b);this.originalPageX=b.pageX;this.originalPageY=b.pageY;d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt);d.containment&&this._setContainment();if(this._trigger("start",b)===false){this._clear();return false}this._cacheHelperProportions();
28
- c.ui.ddmanager&&!d.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,b);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(b,true);return true},_mouseDrag:function(b,d){this.position=this._generatePosition(b);this.positionAbs=this._convertPositionTo("absolute");if(!d){d=this._uiHash();if(this._trigger("drag",b,d)===false){this._mouseUp({});return false}this.position=d.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||
29
- this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";c.ui.ddmanager&&c.ui.ddmanager.drag(this,b);return false},_mouseStop:function(b){var d=false;if(c.ui.ddmanager&&!this.options.dropBehaviour)d=c.ui.ddmanager.drop(this,b);if(this.dropped){d=this.dropped;this.dropped=false}if(!this.element[0]||!this.element[0].parentNode)return false;if(this.options.revert=="invalid"&&!d||this.options.revert=="valid"&&d||this.options.revert===true||c.isFunction(this.options.revert)&&this.options.revert.call(this.element,
30
- d)){var e=this;c(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){e._trigger("stop",b)!==false&&e._clear()})}else this._trigger("stop",b)!==false&&this._clear();return false},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(b){var d=!this.options.handle||!c(this.options.handle,this.element).length?true:false;c(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==
31
- b.target)d=true});return d},_createHelper:function(b){var d=this.options;b=c.isFunction(d.helper)?c(d.helper.apply(this.element[0],[b])):d.helper=="clone"?this.element.clone():this.element;b.parents("body").length||b.appendTo(d.appendTo=="parent"?this.element[0].parentNode:d.appendTo);b[0]!=this.element[0]&&!/(fixed|absolute)/.test(b.css("position"))&&b.css("position","absolute");return b},_adjustOffsetFromHelper:function(b){if(typeof b=="string")b=b.split(" ");if(c.isArray(b))b={left:+b[0],top:+b[1]||
32
- 0};if("left"in b)this.offset.click.left=b.left+this.margins.left;if("right"in b)this.offset.click.left=this.helperProportions.width-b.right+this.margins.left;if("top"in b)this.offset.click.top=b.top+this.margins.top;if("bottom"in b)this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],
33
- this.offsetParent[0])){b.left+=this.scrollParent.scrollLeft();b.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&c.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var b=this.element.position();return{top:b.top-
34
- (parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;if(b.containment==
35
- "parent")b.containment=this.helper[0].parentNode;if(b.containment=="document"||b.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,c(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(c(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)&&
36
- b.containment.constructor!=Array){var d=c(b.containment)[0];if(d){b=c(b.containment).offset();var e=c(d).css("overflow")!="hidden";this.containment=[b.left+(parseInt(c(d).css("borderLeftWidth"),10)||0)+(parseInt(c(d).css("paddingLeft"),10)||0)-this.margins.left,b.top+(parseInt(c(d).css("borderTopWidth"),10)||0)+(parseInt(c(d).css("paddingTop"),10)||0)-this.margins.top,b.left+(e?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(c(d).css("borderLeftWidth"),10)||0)-(parseInt(c(d).css("paddingRight"),
37
- 10)||0)-this.helperProportions.width-this.margins.left,b.top+(e?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(c(d).css("borderTopWidth"),10)||0)-(parseInt(c(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}}else if(b.containment.constructor==Array)this.containment=b.containment},_convertPositionTo:function(b,d){if(!d)d=this.position;b=b=="absolute"?1:-1;var e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],
38
- this.offsetParent[0]))?this.offsetParent:this.scrollParent,a=/(html|body)/i.test(e[0].tagName);return{top:d.top+this.offset.relative.top*b+this.offset.parent.top*b-(c.browser.safari&&c.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():a?0:e.scrollTop())*b),left:d.left+this.offset.relative.left*b+this.offset.parent.left*b-(c.browser.safari&&c.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():
39
- a?0:e.scrollLeft())*b)}},_generatePosition:function(b){var d=this.options,e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,a=/(html|body)/i.test(e[0].tagName),f=b.pageX,g=b.pageY;if(this.originalPosition){if(this.containment){if(b.pageX-this.offset.click.left<this.containment[0])f=this.containment[0]+this.offset.click.left;if(b.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+
40
- this.offset.click.top;if(b.pageX-this.offset.click.left>this.containment[2])f=this.containment[2]+this.offset.click.left;if(b.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(d.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/d.grid[1])*d.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-d.grid[1]:g+d.grid[1]:g;f=this.originalPageX+
41
- Math.round((f-this.originalPageX)/d.grid[0])*d.grid[0];f=this.containment?!(f-this.offset.click.left<this.containment[0]||f-this.offset.click.left>this.containment[2])?f:!(f-this.offset.click.left<this.containment[0])?f-d.grid[0]:f+d.grid[0]:f}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(c.browser.safari&&c.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():a?0:e.scrollTop()),left:f-this.offset.click.left-
42
- this.offset.relative.left-this.offset.parent.left+(c.browser.safari&&c.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():a?0:e.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(b,d,e){e=e||this._uiHash();c.ui.plugin.call(this,b,[d,e]);if(b=="drag")this.positionAbs=
43
- this._convertPositionTo("absolute");return c.Widget.prototype._trigger.call(this,b,d,e)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});c.extend(c.ui.draggable,{version:"1.8.1"});c.ui.plugin.add("draggable","connectToSortable",{start:function(b,d){var e=c(this).data("draggable"),a=e.options,f=c.extend({},d,{item:e.element});e.sortables=[];c(a.connectToSortable).each(function(){var g=c.data(this,"sortable");
44
- if(g&&!g.options.disabled){e.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger("activate",b,f)}})},stop:function(b,d){var e=c(this).data("draggable"),a=c.extend({},d,{item:e.element});c.each(e.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;e.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(b);this.instance.options.helper=this.instance.options._helper;
45
- e.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",b,a)}})},drag:function(b,d){var e=c(this).data("draggable"),a=this;c.each(e.sortables,function(){this.instance.positionAbs=e.positionAbs;this.instance.helperProportions=e.helperProportions;this.instance.offset.click=e.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=
46
- 1;this.instance.currentItem=c(a).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return d.helper[0]};b.target=this.instance.currentItem[0];this.instance._mouseCapture(b,true);this.instance._mouseStart(b,true,true);this.instance.offset.click.top=e.offset.click.top;this.instance.offset.click.left=e.offset.click.left;this.instance.offset.parent.left-=e.offset.parent.left-this.instance.offset.parent.left;
47
- this.instance.offset.parent.top-=e.offset.parent.top-this.instance.offset.parent.top;e._trigger("toSortable",b);e.dropped=this.instance.element;e.currentItem=e.element;this.instance.fromOutside=e}this.instance.currentItem&&this.instance._mouseDrag(b)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",b,this.instance._uiHash(this.instance));this.instance._mouseStop(b,true);this.instance.options.helper=
48
- this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();e._trigger("fromSortable",b);e.dropped=false}})}});c.ui.plugin.add("draggable","cursor",{start:function(){var b=c("body"),d=c(this).data("draggable").options;if(b.css("cursor"))d._cursor=b.css("cursor");b.css("cursor",d.cursor)},stop:function(){var b=c(this).data("draggable").options;b._cursor&&c("body").css("cursor",b._cursor)}});c.ui.plugin.add("draggable","iframeFix",{start:function(){var b=
49
- c(this).data("draggable").options;c(b.iframeFix===true?"iframe":b.iframeFix).each(function(){c('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(c(this).offset()).appendTo("body")})},stop:function(){c("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});c.ui.plugin.add("draggable","opacity",{start:function(b,d){b=c(d.helper);d=c(this).data("draggable").options;
50
- if(b.css("opacity"))d._opacity=b.css("opacity");b.css("opacity",d.opacity)},stop:function(b,d){b=c(this).data("draggable").options;b._opacity&&c(d.helper).css("opacity",b._opacity)}});c.ui.plugin.add("draggable","scroll",{start:function(){var b=c(this).data("draggable");if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML")b.overflowOffset=b.scrollParent.offset()},drag:function(b){var d=c(this).data("draggable"),e=d.options,a=false;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!=
51
- "HTML"){if(!e.axis||e.axis!="x")if(d.overflowOffset.top+d.scrollParent[0].offsetHeight-b.pageY<e.scrollSensitivity)d.scrollParent[0].scrollTop=a=d.scrollParent[0].scrollTop+e.scrollSpeed;else if(b.pageY-d.overflowOffset.top<e.scrollSensitivity)d.scrollParent[0].scrollTop=a=d.scrollParent[0].scrollTop-e.scrollSpeed;if(!e.axis||e.axis!="y")if(d.overflowOffset.left+d.scrollParent[0].offsetWidth-b.pageX<e.scrollSensitivity)d.scrollParent[0].scrollLeft=a=d.scrollParent[0].scrollLeft+e.scrollSpeed;else if(b.pageX-
52
- d.overflowOffset.left<e.scrollSensitivity)d.scrollParent[0].scrollLeft=a=d.scrollParent[0].scrollLeft-e.scrollSpeed}else{if(!e.axis||e.axis!="x")if(b.pageY-c(document).scrollTop()<e.scrollSensitivity)a=c(document).scrollTop(c(document).scrollTop()-e.scrollSpeed);else if(c(window).height()-(b.pageY-c(document).scrollTop())<e.scrollSensitivity)a=c(document).scrollTop(c(document).scrollTop()+e.scrollSpeed);if(!e.axis||e.axis!="y")if(b.pageX-c(document).scrollLeft()<e.scrollSensitivity)a=c(document).scrollLeft(c(document).scrollLeft()-
53
- e.scrollSpeed);else if(c(window).width()-(b.pageX-c(document).scrollLeft())<e.scrollSensitivity)a=c(document).scrollLeft(c(document).scrollLeft()+e.scrollSpeed)}a!==false&&c.ui.ddmanager&&!e.dropBehaviour&&c.ui.ddmanager.prepareOffsets(d,b)}});c.ui.plugin.add("draggable","snap",{start:function(){var b=c(this).data("draggable"),d=b.options;b.snapElements=[];c(d.snap.constructor!=String?d.snap.items||":data(draggable)":d.snap).each(function(){var e=c(this),a=e.offset();this!=b.element[0]&&b.snapElements.push({item:this,
54
- width:e.outerWidth(),height:e.outerHeight(),top:a.top,left:a.left})})},drag:function(b,d){for(var e=c(this).data("draggable"),a=e.options,f=a.snapTolerance,g=d.offset.left,i=g+e.helperProportions.width,j=d.offset.top,m=j+e.helperProportions.height,k=e.snapElements.length-1;k>=0;k--){var h=e.snapElements[k].left,l=h+e.snapElements[k].width,n=e.snapElements[k].top,o=n+e.snapElements[k].height;if(h-f<g&&g<l+f&&n-f<j&&j<o+f||h-f<g&&g<l+f&&n-f<m&&m<o+f||h-f<i&&i<l+f&&n-f<j&&j<o+f||h-f<i&&i<l+f&&n-f<m&&
55
- m<o+f){if(a.snapMode!="inner"){var p=Math.abs(n-m)<=f,q=Math.abs(o-j)<=f,r=Math.abs(h-i)<=f,s=Math.abs(l-g)<=f;if(p)d.position.top=e._convertPositionTo("relative",{top:n-e.helperProportions.height,left:0}).top-e.margins.top;if(q)d.position.top=e._convertPositionTo("relative",{top:o,left:0}).top-e.margins.top;if(r)d.position.left=e._convertPositionTo("relative",{top:0,left:h-e.helperProportions.width}).left-e.margins.left;if(s)d.position.left=e._convertPositionTo("relative",{top:0,left:l}).left-e.margins.left}var u=
56
- p||q||r||s;if(a.snapMode!="outer"){p=Math.abs(n-j)<=f;q=Math.abs(o-m)<=f;r=Math.abs(h-g)<=f;s=Math.abs(l-i)<=f;if(p)d.position.top=e._convertPositionTo("relative",{top:n,left:0}).top-e.margins.top;if(q)d.position.top=e._convertPositionTo("relative",{top:o-e.helperProportions.height,left:0}).top-e.margins.top;if(r)d.position.left=e._convertPositionTo("relative",{top:0,left:h}).left-e.margins.left;if(s)d.position.left=e._convertPositionTo("relative",{top:0,left:l-e.helperProportions.width}).left-e.margins.left}if(!e.snapElements[k].snapping&&
57
- (p||q||r||s||u))e.options.snap.snap&&e.options.snap.snap.call(e.element,b,c.extend(e._uiHash(),{snapItem:e.snapElements[k].item}));e.snapElements[k].snapping=p||q||r||s||u}else{e.snapElements[k].snapping&&e.options.snap.release&&e.options.snap.release.call(e.element,b,c.extend(e._uiHash(),{snapItem:e.snapElements[k].item}));e.snapElements[k].snapping=false}}}});c.ui.plugin.add("draggable","stack",{start:function(){var b=c(this).data("draggable").options;b=c.makeArray(c(b.stack)).sort(function(e,a){return(parseInt(c(e).css("zIndex"),
58
- 10)||0)-(parseInt(c(a).css("zIndex"),10)||0)});if(b.length){var d=parseInt(b[0].style.zIndex)||0;c(b).each(function(e){this.style.zIndex=d+e});this[0].style.zIndex=d+b.length}}});c.ui.plugin.add("draggable","zIndex",{start:function(b,d){b=c(d.helper);d=c(this).data("draggable").options;if(b.css("zIndex"))d._zIndex=b.css("zIndex");b.css("zIndex",d.zIndex)},stop:function(b,d){b=c(this).data("draggable").options;b._zIndex&&c(d.helper).css("zIndex",b._zIndex)}})})(jQuery);
59
- (function(c){c.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var b=this.options,d=b.accept;this.isover=0;this.isout=1;this.accept=c.isFunction(d)?d:function(e){return e.is(d)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};c.ui.ddmanager.droppables[b.scope]=c.ui.ddmanager.droppables[b.scope]||[];c.ui.ddmanager.droppables[b.scope].push(this);
60
- b.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var b=c.ui.ddmanager.droppables[this.options.scope],d=0;d<b.length;d++)b[d]==this&&b.splice(d,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(b,d){if(b=="accept")this.accept=c.isFunction(d)?d:function(e){return e.is(d)};c.Widget.prototype._setOption.apply(this,arguments)},_activate:function(b){var d=c.ui.ddmanager.current;this.options.activeClass&&
61
- this.element.addClass(this.options.activeClass);d&&this._trigger("activate",b,this.ui(d))},_deactivate:function(b){var d=c.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);d&&this._trigger("deactivate",b,this.ui(d))},_over:function(b){var d=c.ui.ddmanager.current;if(!(!d||(d.currentItem||d.element)[0]==this.element[0]))if(this.accept.call(this.element[0],d.currentItem||d.element)){this.options.hoverClass&&this.element.addClass(this.options.hoverClass);
62
- this._trigger("over",b,this.ui(d))}},_out:function(b){var d=c.ui.ddmanager.current;if(!(!d||(d.currentItem||d.element)[0]==this.element[0]))if(this.accept.call(this.element[0],d.currentItem||d.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",b,this.ui(d))}},_drop:function(b,d){var e=d||c.ui.ddmanager.current;if(!e||(e.currentItem||e.element)[0]==this.element[0])return false;var a=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var f=
63
- c.data(this,"droppable");if(f.options.greedy&&!f.options.disabled&&f.options.scope==e.options.scope&&f.accept.call(f.element[0],e.currentItem||e.element)&&c.ui.intersect(e,c.extend(f,{offset:f.element.offset()}),f.options.tolerance)){a=true;return false}});if(a)return false;if(this.accept.call(this.element[0],e.currentItem||e.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass);this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("drop",
64
- b,this.ui(e));return this.element}return false},ui:function(b){return{draggable:b.currentItem||b.element,helper:b.helper,position:b.position,offset:b.positionAbs}}});c.extend(c.ui.droppable,{version:"1.8.1"});c.ui.intersect=function(b,d,e){if(!d.offset)return false;var a=(b.positionAbs||b.position.absolute).left,f=a+b.helperProportions.width,g=(b.positionAbs||b.position.absolute).top,i=g+b.helperProportions.height,j=d.offset.left,m=j+d.proportions.width,k=d.offset.top,h=k+d.proportions.height;switch(e){case "fit":return j<
65
- a&&f<m&&k<g&&i<h;case "intersect":return j<a+b.helperProportions.width/2&&f-b.helperProportions.width/2<m&&k<g+b.helperProportions.height/2&&i-b.helperProportions.height/2<h;case "pointer":return c.ui.isOver((b.positionAbs||b.position.absolute).top+(b.clickOffset||b.offset.click).top,(b.positionAbs||b.position.absolute).left+(b.clickOffset||b.offset.click).left,k,j,d.proportions.height,d.proportions.width);case "touch":return(g>=k&&g<=h||i>=k&&i<=h||g<k&&i>h)&&(a>=j&&a<=m||f>=j&&f<=m||a<j&&f>m);default:return false}};
66
- c.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(b,d){var e=c.ui.ddmanager.droppables[b.options.scope]||[],a=d?d.type:null,f=(b.currentItem||b.element).find(":data(droppable)").andSelf(),g=0;a:for(;g<e.length;g++)if(!(e[g].options.disabled||b&&!e[g].accept.call(e[g].element[0],b.currentItem||b.element))){for(var i=0;i<f.length;i++)if(f[i]==e[g].element[0]){e[g].proportions.height=0;continue a}e[g].visible=e[g].element.css("display")!="none";if(e[g].visible){e[g].offset=
67
- e[g].element.offset();e[g].proportions={width:e[g].element[0].offsetWidth,height:e[g].element[0].offsetHeight};a=="mousedown"&&e[g]._activate.call(e[g],d)}}},drop:function(b,d){var e=false;c.each(c.ui.ddmanager.droppables[b.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&c.ui.intersect(b,this,this.options.tolerance))e=e||this._drop.call(this,d);if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],b.currentItem||b.element)){this.isout=1;
68
- this.isover=0;this._deactivate.call(this,d)}}});return e},drag:function(b,d){b.options.refreshPositions&&c.ui.ddmanager.prepareOffsets(b,d);c.each(c.ui.ddmanager.droppables[b.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var e=c.ui.intersect(b,this,this.options.tolerance);if(e=!e&&this.isover==1?"isout":e&&this.isover==0?"isover":null){var a;if(this.options.greedy){var f=this.element.parents(":data(droppable):eq(0)");if(f.length){a=c.data(f[0],"droppable");
69
- a.greedyChild=e=="isover"?1:0}}if(a&&e=="isover"){a.isover=0;a.isout=1;a._out.call(a,d)}this[e]=1;this[e=="isout"?"isover":"isout"]=0;this[e=="isover"?"_over":"_out"].call(this,d);if(a&&e=="isout"){a.isout=0;a.isover=1;a._over.call(a,d)}}}})}}})(jQuery);
70
- (function(c){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1E3},_create:function(){var e=this,a=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,
71
- _proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){/relative/.test(this.element.css("position"))&&c.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"});this.element.wrap(c('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),
72
- top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=
73
- this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",
74
- nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all")this.handles="n,e,s,w,se,sw,ne,nw";var f=this.handles.split(",");this.handles={};for(var g=0;g<f.length;g++){var i=c.trim(f[g]),j=c('<div class="ui-resizable-handle '+("ui-resizable-"+i)+'"></div>');/sw|se|ne|nw/.test(i)&&j.css({zIndex:++a.zIndex});"se"==i&&j.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[i]=".ui-resizable-"+i;this.element.append(j)}}this._renderAxis=function(m){m=m||this.element;for(var k in this.handles){if(this.handles[k].constructor==
75
- String)this.handles[k]=c(this.handles[k],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var h=c(this.handles[k],this.element),l=0;l=/sw|ne|nw|se|n|s/.test(k)?h.outerHeight():h.outerWidth();h=["padding",/ne|nw|n/.test(k)?"Top":/se|sw|s/.test(k)?"Bottom":/^e$/.test(k)?"Right":"Left"].join("");m.css(h,l);this._proportionallyResize()}c(this.handles[k])}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();
76
- this._handles.mouseover(function(){if(!e.resizing){if(this.className)var m=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);e.axis=m&&m[1]?m[1]:"se"}});if(a.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};
77
- if(this.elementIsWrapper){e(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(e){var a=false;for(var f in this.handles)if(c(this.handles[f])[0]==e.target)a=true;return!this.options.disabled&&a},_mouseStart:function(e){var a=this.options,f=this.element.position(),
78
- g=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(g.is(".ui-draggable")||/absolute/.test(g.css("position")))g.css({position:"absolute",top:f.top,left:f.left});c.browser.opera&&/relative/.test(g.css("position"))&&g.css({position:"relative",top:"auto",left:"auto"});this._renderProxy();f=b(this.helper.css("left"));var i=b(this.helper.css("top"));if(a.containment){f+=c(a.containment).scrollLeft()||0;i+=c(a.containment).scrollTop()||0}this.offset=
79
- this.helper.offset();this.position={left:f,top:i};this.size=this._helper?{width:g.outerWidth(),height:g.outerHeight()}:{width:g.width(),height:g.height()};this.originalSize=this._helper?{width:g.outerWidth(),height:g.outerHeight()}:{width:g.width(),height:g.height()};this.originalPosition={left:f,top:i};this.sizeDiff={width:g.outerWidth()-g.width(),height:g.outerHeight()-g.height()};this.originalMousePosition={left:e.pageX,top:e.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio:
80
- this.originalSize.width/this.originalSize.height||1;a=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",a=="auto"?this.axis+"-resize":a);g.addClass("ui-resizable-resizing");this._propagate("start",e);return true},_mouseDrag:function(e){var a=this.helper,f=this.originalMousePosition,g=this._change[this.axis];if(!g)return false;f=g.apply(this,[e,e.pageX-f.left||0,e.pageY-f.top||0]);if(this._aspectRatio||e.shiftKey)f=this._updateRatio(f,e);f=this._respectSize(f,e);this._propagate("resize",
81
- e);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(f);this._trigger("resize",e,this.ui());return false},_mouseStop:function(e){this.resizing=false;var a=this.options,f=this;if(this._helper){var g=this._proportionallyResizeElements,i=g.length&&/textarea/i.test(g[0].nodeName);g=i&&c.ui.hasScroll(g[0],"left")?0:f.sizeDiff.height;
82
- i={width:f.size.width-(i?0:f.sizeDiff.width),height:f.size.height-g};g=parseInt(f.element.css("left"),10)+(f.position.left-f.originalPosition.left)||null;var j=parseInt(f.element.css("top"),10)+(f.position.top-f.originalPosition.top)||null;a.animate||this.element.css(c.extend(i,{top:j,left:g}));f.helper.height(f.size.height);f.helper.width(f.size.width);this._helper&&!a.animate&&this._proportionallyResize()}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",
83
- e);this._helper&&this.helper.remove();return false},_updateCache:function(e){this.offset=this.helper.offset();if(d(e.left))this.position.left=e.left;if(d(e.top))this.position.top=e.top;if(d(e.height))this.size.height=e.height;if(d(e.width))this.size.width=e.width},_updateRatio:function(e){var a=this.position,f=this.size,g=this.axis;if(e.height)e.width=f.height*this.aspectRatio;else if(e.width)e.height=f.width/this.aspectRatio;if(g=="sw"){e.left=a.left+(f.width-e.width);e.top=null}if(g=="nw"){e.top=
84
- a.top+(f.height-e.height);e.left=a.left+(f.width-e.width)}return e},_respectSize:function(e){var a=this.options,f=this.axis,g=d(e.width)&&a.maxWidth&&a.maxWidth<e.width,i=d(e.height)&&a.maxHeight&&a.maxHeight<e.height,j=d(e.width)&&a.minWidth&&a.minWidth>e.width,m=d(e.height)&&a.minHeight&&a.minHeight>e.height;if(j)e.width=a.minWidth;if(m)e.height=a.minHeight;if(g)e.width=a.maxWidth;if(i)e.height=a.maxHeight;var k=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,
85
- l=/sw|nw|w/.test(f);f=/nw|ne|n/.test(f);if(j&&l)e.left=k-a.minWidth;if(g&&l)e.left=k-a.maxWidth;if(m&&f)e.top=h-a.minHeight;if(i&&f)e.top=h-a.maxHeight;if((a=!e.width&&!e.height)&&!e.left&&e.top)e.top=null;else if(a&&!e.top&&e.left)e.left=null;return e},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e=this.helper||this.element,a=0;a<this._proportionallyResizeElements.length;a++){var f=this._proportionallyResizeElements[a];if(!this.borderDif){var g=[f.css("borderTopWidth"),
86
- f.css("borderRightWidth"),f.css("borderBottomWidth"),f.css("borderLeftWidth")],i=[f.css("paddingTop"),f.css("paddingRight"),f.css("paddingBottom"),f.css("paddingLeft")];this.borderDif=c.map(g,function(j,m){j=parseInt(j,10)||0;m=parseInt(i[m],10)||0;return j+m})}c.browser.msie&&(c(e).is(":hidden")||c(e).parents(":hidden").length)||f.css({height:e.height()-this.borderDif[0]-this.borderDif[2]||0,width:e.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var e=this.options;this.elementOffset=
87
- this.element.offset();if(this._helper){this.helper=this.helper||c('<div style="overflow:hidden;"></div>');var a=c.browser.msie&&c.browser.version<7,f=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++e.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(e,a){return{width:this.originalSize.width+
88
- a}},w:function(e,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(e,a,f){return{top:this.originalPosition.top+f,height:this.originalSize.height-f}},s:function(e,a,f){return{height:this.originalSize.height+f}},se:function(e,a,f){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,a,f]))},sw:function(e,a,f){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,a,f]))},ne:function(e,a,f){return c.extend(this._change.n.apply(this,
89
- arguments),this._change.e.apply(this,[e,a,f]))},nw:function(e,a,f){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,a,f]))}},_propagate:function(e,a){c.ui.plugin.call(this,e,[a,this.ui()]);e!="resize"&&this._trigger(e,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,
90
- {version:"1.8.1"});c.ui.plugin.add("resizable","alsoResize",{start:function(){var e=c(this).data("resizable").options,a=function(f){c(f).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof e.alsoResize=="object"&&!e.alsoResize.parentNode)if(e.alsoResize.length){e.alsoResize=e.alsoResize[0];a(e.alsoResize)}else c.each(e.alsoResize,function(f){a(f)});
91
- else a(e.alsoResize)},resize:function(){var e=c(this).data("resizable"),a=e.options,f=e.originalSize,g=e.originalPosition,i={height:e.size.height-f.height||0,width:e.size.width-f.width||0,top:e.position.top-g.top||0,left:e.position.left-g.left||0},j=function(m,k){c(m).each(function(){var h=c(this),l=c(this).data("resizable-alsoresize"),n={};c.each((k&&k.length?k:["width","height","top","left"])||["width","height","top","left"],function(o,p){if((o=(l[p]||0)+(i[p]||0))&&o>=0)n[p]=o||null});if(/relative/.test(h.css("position"))&&
92
- c.browser.opera){e._revertToRelativePosition=true;h.css({position:"absolute",top:"auto",left:"auto"})}h.css(n)})};typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?c.each(a.alsoResize,function(m,k){j(m,k)}):j(a.alsoResize)},stop:function(){var e=c(this).data("resizable");if(e._revertToRelativePosition&&c.browser.opera){e._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(e){var a=
93
- c(this).data("resizable"),f=a.options,g=a._proportionallyResizeElements,i=g.length&&/textarea/i.test(g[0].nodeName),j=i&&c.ui.hasScroll(g[0],"left")?0:a.sizeDiff.height;i={width:a.size.width-(i?0:a.sizeDiff.width),height:a.size.height-j};j=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null;var m=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(c.extend(i,m&&j?{top:m,left:j}:{}),{duration:f.animateDuration,easing:f.animateEasing,
94
- step:function(){var k={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};g&&g.length&&c(g[0]).css({width:k.width,height:k.height});a._updateCache(k);a._propagate("resize",e)}})}});c.ui.plugin.add("resizable","containment",{start:function(){var e=c(this).data("resizable"),a=e.element,f=e.options.containment;if(a=f instanceof c?f.get(0):/parent/.test(f)?a.parent().get(0):f){e.containerElement=
95
- c(a);if(/document/.test(f)||f==document){e.containerOffset={left:0,top:0};e.containerPosition={left:0,top:0};e.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var g=c(a),i=[];c(["Top","Right","Left","Bottom"]).each(function(k,h){i[k]=b(g.css("padding"+h))});e.containerOffset=g.offset();e.containerPosition=g.position();e.containerSize={height:g.innerHeight()-i[3],width:g.innerWidth()-i[1]};f=e.containerOffset;
96
- var j=e.containerSize.height,m=e.containerSize.width;m=c.ui.hasScroll(a,"left")?a.scrollWidth:m;j=c.ui.hasScroll(a)?a.scrollHeight:j;e.parentData={element:a,left:f.left,top:f.top,width:m,height:j}}}},resize:function(e){var a=c(this).data("resizable"),f=a.options,g=a.containerOffset,i=a.position;e=a._aspectRatio||e.shiftKey;var j={top:0,left:0},m=a.containerElement;if(m[0]!=document&&/static/.test(m.css("position")))j=g;if(i.left<(a._helper?g.left:0)){a.size.width+=a._helper?a.position.left-g.left:
97
- a.position.left-j.left;if(e)a.size.height=a.size.width/f.aspectRatio;a.position.left=f.helper?g.left:0}if(i.top<(a._helper?g.top:0)){a.size.height+=a._helper?a.position.top-g.top:a.position.top;if(e)a.size.width=a.size.height*f.aspectRatio;a.position.top=a._helper?g.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;f=Math.abs((a._helper?a.offset.left-j.left:a.offset.left-j.left)+a.sizeDiff.width);g=Math.abs((a._helper?a.offset.top-j.top:a.offset.top-
98
- g.top)+a.sizeDiff.height);i=a.containerElement.get(0)==a.element.parent().get(0);j=/relative|absolute/.test(a.containerElement.css("position"));if(i&&j)f-=a.parentData.left;if(f+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-f;if(e)a.size.height=a.size.width/a.aspectRatio}if(g+a.size.height>=a.parentData.height){a.size.height=a.parentData.height-g;if(e)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var e=c(this).data("resizable"),a=e.options,f=e.containerOffset,g=e.containerPosition,
99
- i=e.containerElement,j=c(e.helper),m=j.offset(),k=j.outerWidth()-e.sizeDiff.width;j=j.outerHeight()-e.sizeDiff.height;e._helper&&!a.animate&&/relative/.test(i.css("position"))&&c(this).css({left:m.left-g.left-f.left,width:k,height:j});e._helper&&!a.animate&&/static/.test(i.css("position"))&&c(this).css({left:m.left-g.left-f.left,width:k,height:j})}});c.ui.plugin.add("resizable","ghost",{start:function(){var e=c(this).data("resizable"),a=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,
100
- display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost=="string"?a.ghost:"");e.ghost.appendTo(e.helper)},resize:function(){var e=c(this).data("resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=c(this).data("resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}});c.ui.plugin.add("resizable","grid",{resize:function(){var e=
101
- c(this).data("resizable"),a=e.options,f=e.size,g=e.originalSize,i=e.originalPosition,j=e.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var m=Math.round((f.width-g.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((f.height-g.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(j)){e.size.width=g.width+m;e.size.height=g.height+a}else if(/^(ne)$/.test(j)){e.size.width=g.width+m;e.size.height=g.height+a;e.position.top=i.top-a}else{if(/^(sw)$/.test(j)){e.size.width=g.width+m;e.size.height=
102
- g.height+a}else{e.size.width=g.width+m;e.size.height=g.height+a;e.position.top=i.top-a}e.position.left=i.left-m}}});var b=function(e){return parseInt(e,10)||0},d=function(e){return!isNaN(parseInt(e,10))}})(jQuery);
103
- (function(c){c.widget("ui.selectable",c.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var b=this;this.element.addClass("ui-selectable");this.dragged=false;var d;this.refresh=function(){d=c(b.options.filter,b.element[0]);d.each(function(){var e=c(this),a=e.offset();c.data(this,"selectable-item",{element:this,$element:e,left:a.left,top:a.top,right:a.left+e.outerWidth(),bottom:a.top+e.outerHeight(),startselected:false,selected:e.hasClass("ui-selected"),
104
- selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})};this.refresh();this.selectees=d.addClass("ui-selectee");this._mouseInit();this.helper=c(document.createElement("div")).css({border:"1px dotted black"}).addClass("ui-selectable-helper")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},
105
- _mouseStart:function(b){var d=this;this.opos=[b.pageX,b.pageY];if(!this.options.disabled){var e=this.options;this.selectees=c(e.filter,this.element[0]);this._trigger("start",b);c(e.appendTo).append(this.helper);this.helper.css({"z-index":100,position:"absolute",left:b.clientX,top:b.clientY,width:0,height:0});e.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var a=c.data(this,"selectable-item");a.startselected=true;if(!b.metaKey){a.$element.removeClass("ui-selected");
106
- a.selected=false;a.$element.addClass("ui-unselecting");a.unselecting=true;d._trigger("unselecting",b,{unselecting:a.element})}});c(b.target).parents().andSelf().each(function(){var a=c.data(this,"selectable-item");if(a){a.$element.removeClass("ui-unselecting").addClass("ui-selecting");a.unselecting=false;a.selecting=true;a.selected=true;d._trigger("selecting",b,{selecting:a.element});return false}})}},_mouseDrag:function(b){var d=this;this.dragged=true;if(!this.options.disabled){var e=this.options,
107
- a=this.opos[0],f=this.opos[1],g=b.pageX,i=b.pageY;if(a>g){var j=g;g=a;a=j}if(f>i){j=i;i=f;f=j}this.helper.css({left:a,top:f,width:g-a,height:i-f});this.selectees.each(function(){var m=c.data(this,"selectable-item");if(!(!m||m.element==d.element[0])){var k=false;if(e.tolerance=="touch")k=!(m.left>g||m.right<a||m.top>i||m.bottom<f);else if(e.tolerance=="fit")k=m.left>a&&m.right<g&&m.top>f&&m.bottom<i;if(k){if(m.selected){m.$element.removeClass("ui-selected");m.selected=false}if(m.unselecting){m.$element.removeClass("ui-unselecting");
108
- m.unselecting=false}if(!m.selecting){m.$element.addClass("ui-selecting");m.selecting=true;d._trigger("selecting",b,{selecting:m.element})}}else{if(m.selecting)if(b.metaKey&&m.startselected){m.$element.removeClass("ui-selecting");m.selecting=false;m.$element.addClass("ui-selected");m.selected=true}else{m.$element.removeClass("ui-selecting");m.selecting=false;if(m.startselected){m.$element.addClass("ui-unselecting");m.unselecting=true}d._trigger("unselecting",b,{unselecting:m.element})}if(m.selected)if(!b.metaKey&&
109
- !m.startselected){m.$element.removeClass("ui-selected");m.selected=false;m.$element.addClass("ui-unselecting");m.unselecting=true;d._trigger("unselecting",b,{unselecting:m.element})}}}});return false}},_mouseStop:function(b){var d=this;this.dragged=false;c(".ui-unselecting",this.element[0]).each(function(){var e=c.data(this,"selectable-item");e.$element.removeClass("ui-unselecting");e.unselecting=false;e.startselected=false;d._trigger("unselected",b,{unselected:e.element})});c(".ui-selecting",this.element[0]).each(function(){var e=
110
- c.data(this,"selectable-item");e.$element.removeClass("ui-selecting").addClass("ui-selected");e.selecting=false;e.selected=true;e.startselected=true;d._trigger("selected",b,{selected:e.element})});this._trigger("stop",b);this.helper.remove();return false}});c.extend(c.ui.selectable,{version:"1.8.1"})})(jQuery);
111
- (function(c){c.widget("ui.sortable",c.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){this.containerCache={};this.element.addClass("ui-sortable");
112
- this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var b=this.items.length-1;b>=0;b--)this.items[b].item.removeData("sortable-item");return this},_setOption:function(b,d){if(b==="disabled"){this.options[b]=d;this.widget()[d?"addClass":"removeClass"]("ui-sortable-disabled")}else c.Widget.prototype._setOption.apply(self,
113
- arguments)},_mouseCapture:function(b,d){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(b);var e=null,a=this;c(b.target).parents().each(function(){if(c.data(this,"sortable-item")==a){e=c(this);return false}});if(c.data(b.target,"sortable-item")==a)e=c(b.target);if(!e)return false;if(this.options.handle&&!d){var f=false;c(this.options.handle,e).find("*").andSelf().each(function(){if(this==b.target)f=true});if(!f)return false}this.currentItem=
114
- e;this._removeCurrentsFromItems();return true},_mouseStart:function(b,d,e){d=this.options;var a=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(b);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");c.extend(this.offset,
115
- {click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(b);this.originalPageX=b.pageX;this.originalPageY=b.pageY;d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();d.containment&&this._setContainment();
116
- if(d.cursor){if(c("body").css("cursor"))this._storedCursor=c("body").css("cursor");c("body").css("cursor",d.cursor)}if(d.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",d.opacity)}if(d.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",d.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start",
117
- b,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!e)for(e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("activate",b,a._uiHash(this));if(c.ui.ddmanager)c.ui.ddmanager.current=this;c.ui.ddmanager&&!d.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,b);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(b);return true},_mouseDrag:function(b){this.position=this._generatePosition(b);this.positionAbs=this._convertPositionTo("absolute");
118
- if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var d=this.options,e=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-b.pageY<d.scrollSensitivity)this.scrollParent[0].scrollTop=e=this.scrollParent[0].scrollTop+d.scrollSpeed;else if(b.pageY-this.overflowOffset.top<d.scrollSensitivity)this.scrollParent[0].scrollTop=e=this.scrollParent[0].scrollTop-d.scrollSpeed;if(this.overflowOffset.left+
119
- this.scrollParent[0].offsetWidth-b.pageX<d.scrollSensitivity)this.scrollParent[0].scrollLeft=e=this.scrollParent[0].scrollLeft+d.scrollSpeed;else if(b.pageX-this.overflowOffset.left<d.scrollSensitivity)this.scrollParent[0].scrollLeft=e=this.scrollParent[0].scrollLeft-d.scrollSpeed}else{if(b.pageY-c(document).scrollTop()<d.scrollSensitivity)e=c(document).scrollTop(c(document).scrollTop()-d.scrollSpeed);else if(c(window).height()-(b.pageY-c(document).scrollTop())<d.scrollSensitivity)e=c(document).scrollTop(c(document).scrollTop()+
120
- d.scrollSpeed);if(b.pageX-c(document).scrollLeft()<d.scrollSensitivity)e=c(document).scrollLeft(c(document).scrollLeft()-d.scrollSpeed);else if(c(window).width()-(b.pageX-c(document).scrollLeft())<d.scrollSensitivity)e=c(document).scrollLeft(c(document).scrollLeft()+d.scrollSpeed)}e!==false&&c.ui.ddmanager&&!d.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,b)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+
121
- "px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(d=this.items.length-1;d>=0;d--){e=this.items[d];var a=e.item[0],f=this._intersectsWithPointer(e);if(f)if(a!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=a&&!c.ui.contains(this.placeholder[0],a)&&(this.options.type=="semi-dynamic"?!c.ui.contains(this.element[0],a):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(e))this._rearrange(b,
122
- e);else break;this._trigger("change",b,this._uiHash());break}}this._contactContainers(b);c.ui.ddmanager&&c.ui.ddmanager.drag(this,b);this._trigger("sort",b,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(b,d){if(b){c.ui.ddmanager&&!this.options.dropBehaviour&&c.ui.ddmanager.drop(this,b);if(this.options.revert){var e=this;d=e.placeholder.offset();e.reverting=true;c(this.helper).animate({left:d.left-this.offset.parent.left-e.margins.left+(this.offsetParent[0]==
123
- document.body?0:this.offsetParent[0].scrollLeft),top:d.top-this.offset.parent.top-e.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){e._clear(b)})}else this._clear(b,d);return false}},cancel:function(){var b=this;if(this.dragging){this._mouseUp();this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var d=this.containers.length-1;d>=0;d--){this.containers[d]._trigger("deactivate",
124
- null,b._uiHash(this));if(this.containers[d].containerCache.over){this.containers[d]._trigger("out",null,b._uiHash(this));this.containers[d].containerCache.over=0}}}this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();c.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?c(this.domPosition.prev).after(this.currentItem):
125
- c(this.domPosition.parent).prepend(this.currentItem);return this},serialize:function(b){var d=this._getItemsAsjQuery(b&&b.connected),e=[];b=b||{};c(d).each(function(){var a=(c(b.item||this).attr(b.attribute||"id")||"").match(b.expression||/(.+)[-=_](.+)/);if(a)e.push((b.key||a[1]+"[]")+"="+(b.key&&b.expression?a[1]:a[2]))});return e.join("&")},toArray:function(b){var d=this._getItemsAsjQuery(b&&b.connected),e=[];b=b||{};d.each(function(){e.push(c(b.item||this).attr(b.attribute||"id")||"")});return e},
126
- _intersectsWith:function(b){var d=this.positionAbs.left,e=d+this.helperProportions.width,a=this.positionAbs.top,f=a+this.helperProportions.height,g=b.left,i=g+b.width,j=b.top,m=j+b.height,k=this.offset.click.top,h=this.offset.click.left;k=a+k>j&&a+k<m&&d+h>g&&d+h<i;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>b[this.floating?"width":"height"]?k:g<d+this.helperProportions.width/
127
- 2&&e-this.helperProportions.width/2<i&&j<a+this.helperProportions.height/2&&f-this.helperProportions.height/2<m},_intersectsWithPointer:function(b){var d=c.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top,b.height);b=c.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left,b.width);d=d&&b;b=this._getDragVerticalDirection();var e=this._getDragHorizontalDirection();if(!d)return false;return this.floating?e&&e=="right"||b=="down"?2:1:b&&(b=="down"?2:1)},_intersectsWithSides:function(b){var d=
128
- c.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top+b.height/2,b.height);b=c.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left+b.width/2,b.width);var e=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return this.floating&&a?a=="right"&&b||a=="left"&&!b:e&&(e=="down"&&d||e=="up"&&!d)},_getDragVerticalDirection:function(){var b=this.positionAbs.top-this.lastPositionAbs.top;return b!=0&&(b>0?"down":"up")},_getDragHorizontalDirection:function(){var b=
129
- this.positionAbs.left-this.lastPositionAbs.left;return b!=0&&(b>0?"right":"left")},refresh:function(b){this._refreshItems(b);this.refreshPositions();return this},_connectWith:function(){var b=this.options;return b.connectWith.constructor==String?[b.connectWith]:b.connectWith},_getItemsAsjQuery:function(b){var d=[],e=[],a=this._connectWith();if(a&&b)for(b=a.length-1;b>=0;b--)for(var f=c(a[b]),g=f.length-1;g>=0;g--){var i=c.data(f[g],"sortable");if(i&&i!=this&&!i.options.disabled)e.push([c.isFunction(i.options.items)?
130
- i.options.items.call(i.element):c(i.options.items,i.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),i])}e.push([c.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):c(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(b=e.length-1;b>=0;b--)e[b][0].each(function(){d.push(this)});return c(d)},_removeCurrentsFromItems:function(){for(var b=this.currentItem.find(":data(sortable-item)"),
131
- d=0;d<this.items.length;d++)for(var e=0;e<b.length;e++)b[e]==this.items[d].item[0]&&this.items.splice(d,1)},_refreshItems:function(b){this.items=[];this.containers=[this];var d=this.items,e=[[c.isFunction(this.options.items)?this.options.items.call(this.element[0],b,{item:this.currentItem}):c(this.options.items,this.element),this]],a=this._connectWith();if(a)for(var f=a.length-1;f>=0;f--)for(var g=c(a[f]),i=g.length-1;i>=0;i--){var j=c.data(g[i],"sortable");if(j&&j!=this&&!j.options.disabled){e.push([c.isFunction(j.options.items)?
132
- j.options.items.call(j.element[0],b,{item:this.currentItem}):c(j.options.items,j.element),j]);this.containers.push(j)}}for(f=e.length-1;f>=0;f--){b=e[f][1];a=e[f][0];i=0;for(g=a.length;i<g;i++){j=c(a[i]);j.data("sortable-item",b);d.push({item:j,instance:b,width:0,height:0,left:0,top:0})}}},refreshPositions:function(b){if(this.offsetParent&&this.helper)this.offset.parent=this._getParentOffset();for(var d=this.items.length-1;d>=0;d--){var e=this.items[d],a=this.options.toleranceElement?c(this.options.toleranceElement,
133
- e.item):e.item;if(!b){e.width=a.outerWidth();e.height=a.outerHeight()}a=a.offset();e.left=a.left;e.top=a.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(d=this.containers.length-1;d>=0;d--){a=this.containers[d].element.offset();this.containers[d].containerCache.left=a.left;this.containers[d].containerCache.top=a.top;this.containers[d].containerCache.width=this.containers[d].element.outerWidth();this.containers[d].containerCache.height=
134
- this.containers[d].element.outerHeight()}return this},_createPlaceholder:function(b){var d=b||this,e=d.options;if(!e.placeholder||e.placeholder.constructor==String){var a=e.placeholder;e.placeholder={element:function(){var f=c(document.createElement(d.currentItem[0].nodeName)).addClass(a||d.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!a)f.style.visibility="hidden";return f},update:function(f,g){if(!(a&&!e.forcePlaceholderSize)){g.height()||g.height(d.currentItem.innerHeight()-
135
- parseInt(d.currentItem.css("paddingTop")||0,10)-parseInt(d.currentItem.css("paddingBottom")||0,10));g.width()||g.width(d.currentItem.innerWidth()-parseInt(d.currentItem.css("paddingLeft")||0,10)-parseInt(d.currentItem.css("paddingRight")||0,10))}}}}d.placeholder=c(e.placeholder.element.call(d.element,d.currentItem));d.currentItem.after(d.placeholder);e.placeholder.update(d,d.placeholder)},_contactContainers:function(b){for(var d=null,e=null,a=this.containers.length-1;a>=0;a--)if(!c.ui.contains(this.currentItem[0],
136
- this.containers[a].element[0]))if(this._intersectsWith(this.containers[a].containerCache)){if(!(d&&c.ui.contains(this.containers[a].element[0],d.element[0]))){d=this.containers[a];e=a}}else if(this.containers[a].containerCache.over){this.containers[a]._trigger("out",b,this._uiHash(this));this.containers[a].containerCache.over=0}if(d)if(this.containers.length===1){this.containers[e]._trigger("over",b,this._uiHash(this));this.containers[e].containerCache.over=1}else if(this.currentContainer!=this.containers[e]){d=
137
- 1E4;a=null;for(var f=this.positionAbs[this.containers[e].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(c.ui.contains(this.containers[e].element[0],this.items[g].item[0])){var i=this.items[g][this.containers[e].floating?"left":"top"];if(Math.abs(i-f)<d){d=Math.abs(i-f);a=this.items[g]}}if(a||this.options.dropOnEmpty){this.currentContainer=this.containers[e];a?this._rearrange(b,a,null,true):this._rearrange(b,null,this.containers[e].element,true);this._trigger("change",b,this._uiHash());this.containers[e]._trigger("change",
138
- b,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[e]._trigger("over",b,this._uiHash(this));this.containers[e].containerCache.over=1}}},_createHelper:function(b){var d=this.options;b=c.isFunction(d.helper)?c(d.helper.apply(this.element[0],[b,this.currentItem])):d.helper=="clone"?this.currentItem.clone():this.currentItem;b.parents("body").length||c(d.appendTo!="parent"?d.appendTo:this.currentItem[0].parentNode)[0].appendChild(b[0]);if(b[0]==
139
- this.currentItem[0])this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")};if(b[0].style.width==""||d.forceHelperSize)b.width(this.currentItem.width());if(b[0].style.height==""||d.forceHelperSize)b.height(this.currentItem.height());return b},_adjustOffsetFromHelper:function(b){if(typeof b=="string")b=b.split(" ");if(c.isArray(b))b={left:+b[0],top:+b[1]||
140
- 0};if("left"in b)this.offset.click.left=b.left+this.margins.left;if("right"in b)this.offset.click.left=this.helperProportions.width-b.right+this.margins.left;if("top"in b)this.offset.click.top=b.top+this.margins.top;if("bottom"in b)this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],
141
- this.offsetParent[0])){b.left+=this.scrollParent.scrollLeft();b.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&c.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var b=this.currentItem.position();return{top:b.top-
142
- (parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;
143
- if(b.containment=="parent")b.containment=this.helper[0].parentNode;if(b.containment=="document"||b.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,c(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(c(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)){var d=
144
- c(b.containment)[0];b=c(b.containment).offset();var e=c(d).css("overflow")!="hidden";this.containment=[b.left+(parseInt(c(d).css("borderLeftWidth"),10)||0)+(parseInt(c(d).css("paddingLeft"),10)||0)-this.margins.left,b.top+(parseInt(c(d).css("borderTopWidth"),10)||0)+(parseInt(c(d).css("paddingTop"),10)||0)-this.margins.top,b.left+(e?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(c(d).css("borderLeftWidth"),10)||0)-(parseInt(c(d).css("paddingRight"),10)||0)-this.helperProportions.width-
145
- this.margins.left,b.top+(e?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(c(d).css("borderTopWidth"),10)||0)-(parseInt(c(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(b,d){if(!d)d=this.position;b=b=="absolute"?1:-1;var e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,a=/(html|body)/i.test(e[0].tagName);return{top:d.top+
146
- this.offset.relative.top*b+this.offset.parent.top*b-(c.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():a?0:e.scrollTop())*b),left:d.left+this.offset.relative.left*b+this.offset.parent.left*b-(c.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():a?0:e.scrollLeft())*b)}},_generatePosition:function(b){var d=this.options,e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],
147
- this.offsetParent[0]))?this.offsetParent:this.scrollParent,a=/(html|body)/i.test(e[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0]))this.offset.relative=this._getRelativeOffset();var f=b.pageX,g=b.pageY;if(this.originalPosition){if(this.containment){if(b.pageX-this.offset.click.left<this.containment[0])f=this.containment[0]+this.offset.click.left;if(b.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;
148
- if(b.pageX-this.offset.click.left>this.containment[2])f=this.containment[2]+this.offset.click.left;if(b.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(d.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/d.grid[1])*d.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-d.grid[1]:g+d.grid[1]:g;f=this.originalPageX+Math.round((f-
149
- this.originalPageX)/d.grid[0])*d.grid[0];f=this.containment?!(f-this.offset.click.left<this.containment[0]||f-this.offset.click.left>this.containment[2])?f:!(f-this.offset.click.left<this.containment[0])?f-d.grid[0]:f+d.grid[0]:f}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(c.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():a?0:e.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+
150
- (c.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():a?0:e.scrollLeft())}},_rearrange:function(b,d,e,a){e?e[0].appendChild(this.placeholder[0]):d.item[0].parentNode.insertBefore(this.placeholder[0],this.direction=="down"?d.item[0]:d.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==f.counter&&f.refreshPositions(!a)},0)},_clear:function(b,d){this.reverting=false;var e=[];!this._noFinalSort&&
151
- this.currentItem[0].parentNode&&this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var a in this._storedCSS)if(this._storedCSS[a]=="auto"||this._storedCSS[a]=="static")this._storedCSS[a]="";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!d&&e.push(function(f){this._trigger("receive",f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||
152
- this.domPosition.parent!=this.currentItem.parent()[0])&&!d)e.push(function(f){this._trigger("update",f,this._uiHash())});if(!c.ui.contains(this.element[0],this.currentItem[0])){d||e.push(function(f){this._trigger("remove",f,this._uiHash())});for(a=this.containers.length-1;a>=0;a--)if(c.ui.contains(this.containers[a].element[0],this.currentItem[0])&&!d){e.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[a]));e.push(function(f){return function(g){f._trigger("update",
153
- g,this._uiHash(this))}}.call(this,this.containers[a]))}}for(a=this.containers.length-1;a>=0;a--){d||e.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,this.containers[a]));if(this.containers[a].containerCache.over){e.push(function(f){return function(g){f._trigger("out",g,this._uiHash(this))}}.call(this,this.containers[a]));this.containers[a].containerCache.over=0}}this._storedCursor&&c("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",
154
- this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!d){this._trigger("beforeStop",b,this._uiHash());for(a=0;a<e.length;a++)e[a].call(this,b);this._trigger("stop",b,this._uiHash())}return false}d||this._trigger("beforeStop",b,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!d){for(a=
155
- 0;a<e.length;a++)e[a].call(this,b);this._trigger("stop",b,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){c.Widget.prototype._trigger.apply(this,arguments)===false&&this.cancel()},_uiHash:function(b){var d=b||this;return{helper:d.helper,placeholder:d.placeholder||c([]),position:d.position,originalPosition:d.originalPosition,offset:d.positionAbs,item:d.currentItem,sender:b?b.element:null}}});c.extend(c.ui.sortable,{version:"1.8.1"})})(jQuery);
156
- (function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase()}},_create:function(){var b=this.options,d=this;this.running=0;this.element.addClass("ui-accordion ui-widget ui-helper-reset");
157
- this.element[0].nodeName=="UL"&&this.element.children("li").addClass("ui-accordion-li-fix");this.headers=this.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){c(this).removeClass("ui-state-focus")});
158
- this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");if(b.navigation){var e=this.element.find("a").filter(b.navigationFilter);if(e.length){var a=e.closest(".ui-accordion-header");this.active=a.length?a:e.closest(".ui-accordion-content").prev()}}this.active=this._findActive(this.active||b.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");this.active.next().addClass("ui-accordion-content-active");
159
- this._createIcons();this.resize();this.element.attr("role","tablist");this.headers.attr("role","tab").bind("keydown",function(f){return d._keydown(f)}).next().attr("role","tabpanel");this.headers.not(this.active||"").attr("aria-expanded","false").attr("tabIndex","-1").next().hide();this.active.length?this.active.attr("aria-expanded","true").attr("tabIndex","0"):this.headers.eq(0).attr("tabIndex","0");c.browser.safari||this.headers.find("a").attr("tabIndex","-1");b.event&&this.headers.bind(b.event+
160
- ".accordion",function(f){d._clickHandler.call(d,f,this);f.preventDefault()})},_createIcons:function(){var b=this.options;if(b.icons){c("<span/>").addClass("ui-icon "+b.icons.header).prependTo(this.headers);this.active.find(".ui-icon").toggleClass(b.icons.header).toggleClass(b.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var b=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role").unbind(".accordion").removeData("accordion");
161
- this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex");this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var d=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active");if(b.autoHeight||b.fillHeight)d.css("height",
162
- "");return this},_setOption:function(b,d){c.Widget.prototype._setOption.apply(this,arguments);b=="active"&&this.activate(d);if(b=="icons"){this._destroyIcons();d&&this._createIcons()}},_keydown:function(b){var d=c.ui.keyCode;if(!(this.options.disabled||b.altKey||b.ctrlKey)){var e=this.headers.length,a=this.headers.index(b.target),f=false;switch(b.keyCode){case d.RIGHT:case d.DOWN:f=this.headers[(a+1)%e];break;case d.LEFT:case d.UP:f=this.headers[(a-1+e)%e];break;case d.SPACE:case d.ENTER:this._clickHandler({target:b.target},
163
- b.target);b.preventDefault()}if(f){c(b.target).attr("tabIndex","-1");c(f).attr("tabIndex","0");f.focus();return false}return true}},resize:function(){var b=this.options,d;if(b.fillSpace){if(c.browser.msie){var e=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}d=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",e);this.headers.each(function(){d-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,
164
- d-c(this).innerHeight()+c(this).height()))}).css("overflow","auto")}else if(b.autoHeight){d=0;this.headers.next().each(function(){d=Math.max(d,c(this).height())}).height(d)}return this},activate:function(b){this.options.active=b;b=this._findActive(b)[0];this._clickHandler({target:b},b);return this},_findActive:function(b){return b?typeof b=="number"?this.headers.filter(":eq("+b+")"):this.headers.not(this.headers.not(b)):b===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(b,d){var e=
165
- this.options;if(!e.disabled)if(b.target){b=c(b.currentTarget||d);d=b[0]==this.active[0];e.active=e.collapsible&&d?false:c(".ui-accordion-header",this.element).index(b);if(!(this.running||!e.collapsible&&d)){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(e.icons.headerSelected).addClass(e.icons.header);if(!d){b.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").find(".ui-icon").removeClass(e.icons.header).addClass(e.icons.headerSelected);
166
- b.next().addClass("ui-accordion-content-active")}g=b.next();a=this.active.next();f={options:e,newHeader:d&&e.collapsible?c([]):b,oldHeader:this.active,newContent:d&&e.collapsible?c([]):g,oldContent:a};e=this.headers.index(this.active[0])>this.headers.index(b[0]);this.active=d?c([]):b;this._toggle(g,a,f,d,e)}}else if(e.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(e.icons.headerSelected).addClass(e.icons.header);
167
- this.active.next().addClass("ui-accordion-content-active");var a=this.active.next(),f={options:e,newHeader:c([]),oldHeader:e.active,newContent:c([]),oldContent:a},g=this.active=c([]);this._toggle(g,a,f)}},_toggle:function(b,d,e,a,f){var g=this.options,i=this;this.toShow=b;this.toHide=d;this.data=e;var j=function(){if(i)return i._completed.apply(i,arguments)};this._trigger("changestart",null,this.data);this.running=d.size()===0?b.size():d.size();if(g.animated){e={};e=g.collapsible&&a?{toShow:c([]),
168
- toHide:d,complete:j,down:f,autoHeight:g.autoHeight||g.fillSpace}:{toShow:b,toHide:d,complete:j,down:f,autoHeight:g.autoHeight||g.fillSpace};if(!g.proxied)g.proxied=g.animated;if(!g.proxiedDuration)g.proxiedDuration=g.duration;g.animated=c.isFunction(g.proxied)?g.proxied(e):g.proxied;g.duration=c.isFunction(g.proxiedDuration)?g.proxiedDuration(e):g.proxiedDuration;a=c.ui.accordion.animations;var m=g.duration,k=g.animated;if(k&&!a[k]&&!c.easing[k])k="slide";a[k]||(a[k]=function(h){this.slide(h,{easing:k,
169
- duration:m||700})});a[k](e)}else{if(g.collapsible&&a)b.toggle();else{d.hide();b.show()}j(true)}d.prev().attr("aria-expanded","false").attr("tabIndex","-1").blur();b.prev().attr("aria-expanded","true").attr("tabIndex","0").focus()},_completed:function(b){var d=this.options;this.running=b?0:--this.running;if(!this.running){d.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,
170
- {version:"1.8.1",animations:{slide:function(b,d){b=c.extend({easing:"swing",duration:300},b,d);if(b.toHide.size())if(b.toShow.size()){var e=b.toShow.css("overflow"),a=0,f={},g={},i;d=b.toShow;i=d[0].style.width;d.width(parseInt(d.parent().width(),10)-parseInt(d.css("paddingLeft"),10)-parseInt(d.css("paddingRight"),10)-(parseInt(d.css("borderLeftWidth"),10)||0)-(parseInt(d.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,m){g[m]="hide";j=(""+c.css(b.toShow[0],
171
- m)).match(/^([\d+-.]+)(.*)$/);f[m]={value:j[1],unit:j[2]||"px"}});b.toShow.css({height:0,overflow:"hidden"}).show();b.toHide.filter(":hidden").each(b.complete).end().filter(":visible").animate(g,{step:function(j,m){if(m.prop=="height")a=m.end-m.start===0?0:(m.now-m.start)/(m.end-m.start);b.toShow[0].style[m.prop]=a*f[m.prop].value+f[m.prop].unit},duration:b.duration,easing:b.easing,complete:function(){b.autoHeight||b.toShow.css("height","");b.toShow.css("width",i);b.toShow.css({overflow:e});b.complete()}})}else b.toHide.animate({height:"hide"},
172
- b);else b.toShow.animate({height:"show"},b)},bounceslide:function(b){this.slide(b,{easing:b.down?"easeOutBounce":"swing",duration:b.down?1E3:200})}}})})(jQuery);
173
- (function(c){c.widget("ui.autocomplete",{options:{minLength:1,delay:300},_create:function(){var b=this,d=this.element[0].ownerDocument;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(e){var a=c.ui.keyCode;switch(e.keyCode){case a.PAGE_UP:b._move("previousPage",e);break;case a.PAGE_DOWN:b._move("nextPage",e);break;case a.UP:b._move("previous",e);e.preventDefault();
174
- break;case a.DOWN:b._move("next",e);e.preventDefault();break;case a.ENTER:b.menu.active&&e.preventDefault();case a.TAB:if(!b.menu.active)return;b.menu.select(e);break;case a.ESCAPE:b.element.val(b.term);b.close(e);break;case a.LEFT:case a.RIGHT:case a.SHIFT:case a.CONTROL:case a.ALT:break;default:clearTimeout(b.searching);b.searching=setTimeout(function(){b.search(null,e)},b.options.delay);break}}).bind("focus.autocomplete",function(){b.selectedItem=null;b.previous=b.element.val()}).bind("blur.autocomplete",
175
- function(e){clearTimeout(b.searching);b.closing=setTimeout(function(){b.close(e);b._change(e)},150)});this._initSource();this.response=function(){return b._response.apply(b,arguments)};this.menu=c("<ul></ul>").addClass("ui-autocomplete").appendTo("body",d).menu({focus:function(e,a){a=a.item.data("item.autocomplete");false!==b._trigger("focus",null,{item:a})&&/^key/.test(e.originalEvent.type)&&b.element.val(a.value)},selected:function(e,a){a=a.item.data("item.autocomplete");false!==b._trigger("select",
176
- e,{item:a})&&b.element.val(a.value);b.close(e);e=b.previous;if(b.element[0]!==d.activeElement){b.element.focus();b.previous=e}b.selectedItem=a},blur:function(){b.menu.element.is(":visible")&&b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");c.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");
177
- this.menu.element.remove();c.Widget.prototype.destroy.call(this)},_setOption:function(b){c.Widget.prototype._setOption.apply(this,arguments);b==="source"&&this._initSource()},_initSource:function(){var b,d;if(c.isArray(this.options.source)){b=this.options.source;this.source=function(e,a){a(c.ui.autocomplete.filter(b,e.term))}}else if(typeof this.options.source==="string"){d=this.options.source;this.source=function(e,a){c.getJSON(d,e,a)}}else this.source=this.options.source},search:function(b,d){b=
178
- b!=null?b:this.element.val();if(b.length<this.options.minLength)return this.close(d);clearTimeout(this.closing);if(this._trigger("search")!==false)return this._search(b)},_search:function(b){this.term=this.element.addClass("ui-autocomplete-loading").val();this.source({term:b},this.response)},_response:function(b){if(b.length){b=this._normalize(b);this._suggest(b);this._trigger("open")}else this.close();this.element.removeClass("ui-autocomplete-loading")},close:function(b){clearTimeout(this.closing);
179
- if(this.menu.element.is(":visible")){this._trigger("close",b);this.menu.element.hide();this.menu.deactivate()}},_change:function(b){this.previous!==this.element.val()&&this._trigger("change",b,{item:this.selectedItem})},_normalize:function(b){if(b.length&&b[0].label&&b[0].value)return b;return c.map(b,function(d){if(typeof d==="string")return{label:d,value:d};return c.extend({label:d.label||d.value,value:d.value||d.label},d)})},_suggest:function(b){var d=this.menu.element.empty().zIndex(this.element.zIndex()+
180
- 1),e;this._renderMenu(d,b);this.menu.deactivate();this.menu.refresh();this.menu.element.show().position({my:"left top",at:"left bottom",of:this.element,collision:"none"});b=d.width("").width();e=this.element.width();d.width(Math.max(b,e))},_renderMenu:function(b,d){var e=this;c.each(d,function(a,f){e._renderItem(b,f)})},_renderItem:function(b,d){return c("<li></li>").data("item.autocomplete",d).append("<a>"+d.label+"</a>").appendTo(b)},_move:function(b,d){if(this.menu.element.is(":visible"))if(this.menu.first()&&
181
- /^previous/.test(b)||this.menu.last()&&/^next/.test(b)){this.element.val(this.term);this.menu.deactivate()}else this.menu[b](d);else this.search(null,d)},widget:function(){return this.menu.element}});c.extend(c.ui.autocomplete,{escapeRegex:function(b){return b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")},filter:function(b,d){var e=new RegExp(c.ui.autocomplete.escapeRegex(d),"i");return c.grep(b,function(a){return e.test(a.label||a.value||a)})}})})(jQuery);
182
- (function(c){c.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(d){if(c(d.target).closest(".ui-menu-item a").length){d.preventDefault();b.select(d)}});this.refresh()},refresh:function(){var b=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
183
- -1).mouseenter(function(d){b.activate(d,c(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(b,d){this.deactivate();if(this.hasScroll()){var e=d.offset().top-this.element.offset().top,a=this.element.attr("scrollTop"),f=this.element.height();if(e<0)this.element.attr("scrollTop",a+e);else e>f&&this.element.attr("scrollTop",a+e-f+d.height())}this.active=d.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",b,{item:d})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");
184
- this._trigger("blur");this.active=null}},next:function(b){this.move("next",".ui-menu-item:first",b)},previous:function(b){this.move("prev",".ui-menu-item:last",b)},first:function(){return this.active&&!this.active.prev().length},last:function(){return this.active&&!this.active.next().length},move:function(b,d,e){if(this.active){b=this.active[b+"All"](".ui-menu-item").eq(0);b.length?this.activate(e,b):this.activate(e,this.element.children(d))}else this.activate(e,this.element.children(d))},nextPage:function(b){if(this.hasScroll())if(!this.active||
185
- this.last())this.activate(b,this.element.children(":first"));else{var d=this.active.offset().top,e=this.element.height(),a=this.element.children("li").filter(function(){var f=c(this).offset().top-d-e+c(this).height();return f<10&&f>-10});a.length||(a=this.element.children(":last"));this.activate(b,a)}else this.activate(b,this.element.children(!this.active||this.last()?":first":":last"))},previousPage:function(b){if(this.hasScroll())if(!this.active||this.first())this.activate(b,this.element.children(":last"));
186
- else{var d=this.active.offset().top,e=this.element.height();result=this.element.children("li").filter(function(){var a=c(this).offset().top-d+e-c(this).height();return a<10&&a>-10});result.length||(result=this.element.children(":first"));this.activate(b,result)}else this.activate(b,this.element.children(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element.attr("scrollHeight")},select:function(b){this._trigger("selected",b,{item:this.active})}})})(jQuery);
187
- (function(c){var b,d=function(a){c(":ui-button",a.target.form).each(function(){var f=c(this).data("button");setTimeout(function(){f.refresh()},1)})},e=function(a){var f=a.name,g=a.form,i=c([]);if(f)i=g?c(g).find("[name='"+f+"']"):c("[name='"+f+"']",a.ownerDocument).filter(function(){return!this.form});return i};c.widget("ui.button",{options:{text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",d);this._determineButtonType();
188
- this.hasTitle=!!this.buttonElement.attr("title");var a=this,f=this.options,g=this.type==="checkbox"||this.type==="radio",i="ui-state-hover"+(!g?" ui-state-active":"");if(f.label===null)f.label=this.buttonElement.html();if(this.element.is(":disabled"))f.disabled=true;this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button",function(){if(!f.disabled){c(this).addClass("ui-state-hover");this===b&&c(this).addClass("ui-state-active")}}).bind("mouseleave.button",
189
- function(){f.disabled||c(this).removeClass(i)}).bind("focus.button",function(){c(this).addClass("ui-state-focus")}).bind("blur.button",function(){c(this).removeClass("ui-state-focus")});g&&this.element.bind("change.button",function(){a.refresh()});if(this.type==="checkbox")this.buttonElement.bind("click.button",function(){if(f.disabled)return false;c(this).toggleClass("ui-state-active");a.buttonElement.attr("aria-pressed",a.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",
190
- function(){if(f.disabled)return false;c(this).addClass("ui-state-active");a.buttonElement.attr("aria-pressed",true);var j=a.element[0];e(j).not(j).map(function(){return c(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed",false)});else{this.buttonElement.bind("mousedown.button",function(){if(f.disabled)return false;c(this).addClass("ui-state-active");b=this;c(document).one("mouseup",function(){b=null})}).bind("mouseup.button",function(){if(f.disabled)return false;c(this).removeClass("ui-state-active")}).bind("keydown.button",
191
- function(j){if(f.disabled)return false;if(j.keyCode==c.ui.keyCode.SPACE||j.keyCode==c.ui.keyCode.ENTER)c(this).addClass("ui-state-active")}).bind("keyup.button",function(){c(this).removeClass("ui-state-active")});this.buttonElement.is("a")&&this.buttonElement.keyup(function(j){j.keyCode===c.ui.keyCode.SPACE&&c(this).click()})}this._setOption("disabled",f.disabled)},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?
192
- "input":"button";if(this.type==="checkbox"||this.type==="radio"){this.buttonElement=this.element.parents().last().find("[for="+this.element.attr("id")+"]");this.element.addClass("ui-helper-hidden-accessible");var a=this.element.is(":checked");a&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",a)}else this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());
193
- this.hasTitle||this.buttonElement.removeAttr("title");c.Widget.prototype.destroy.call(this)},_setOption:function(a,f){c.Widget.prototype._setOption.apply(this,arguments);if(a==="disabled")f?this.element.attr("disabled",true):this.element.removeAttr("disabled");this._resetButton()},refresh:function(){var a=this.element.is(":disabled");a!==this.options.disabled&&this._setOption("disabled",a);if(this.type==="radio")e(this.element[0]).each(function(){c(this).is(":checked")?c(this).button("widget").addClass("ui-state-active").attr("aria-pressed",
194
- true):c(this).button("widget").removeClass("ui-state-active").attr("aria-pressed",false)});else if(this.type==="checkbox")this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed",true):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed",false)},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var a=this.buttonElement,f=c("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(a.empty()).text(),
195
- g=this.options.icons,i=g.primary&&g.secondary;if(g.primary||g.secondary){a.addClass("ui-button-text-icon"+(i?"s":""));g.primary&&a.prepend("<span class='ui-button-icon-primary ui-icon "+g.primary+"'></span>");g.secondary&&a.append("<span class='ui-button-icon-secondary ui-icon "+g.secondary+"'></span>");if(!this.options.text){a.addClass(i?"ui-button-icons-only":"ui-button-icon-only").removeClass("ui-button-text-icons ui-button-text-icon");this.hasTitle||a.attr("title",f)}}else a.addClass("ui-button-text-only")}}});
196
- c.widget("ui.buttonset",{_create:function(){this.element.addClass("ui-buttonset");this._init()},_init:function(){this.refresh()},_setOption:function(a,f){a==="disabled"&&this.buttons.button("option",a,f);c.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){this.buttons=this.element.find(":button, :submit, :reset, :checkbox, :radio, a, :data(button)").filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return c(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()},
197
- destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return c(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");c.Widget.prototype.destroy.call(this)}})})(jQuery);
198
- (function(c){c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");var b=this,d=b.options,e=d.title||b.originalTitle||"&#160;",a=c.ui.dialog.getTitleId(b.element),f=(b.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+
199
- d.dialogClass).css({zIndex:d.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(j){if(d.closeOnEscape&&j.keyCode&&j.keyCode===c.ui.keyCode.ESCAPE){b.close(j);j.preventDefault()}}).attr({role:"dialog","aria-labelledby":a}).mousedown(function(j){b.moveToTop(false,j)});b.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(f);var g=(b.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(f),
200
- i=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){i.addClass("ui-state-hover")},function(){i.removeClass("ui-state-hover")}).focus(function(){i.addClass("ui-state-focus")}).blur(function(){i.removeClass("ui-state-focus")}).click(function(j){b.close(j);return false}).appendTo(g);(b.uiDialogTitlebarCloseText=c("<span></span>")).addClass("ui-icon ui-icon-closethick").text(d.closeText).appendTo(i);c("<span></span>").addClass("ui-dialog-title").attr("id",
201
- a).html(e).prependTo(g);if(c.isFunction(d.beforeclose)&&!c.isFunction(d.beforeClose))d.beforeClose=d.beforeclose;g.find("*").add(g).disableSelection();d.draggable&&c.fn.draggable&&b._makeDraggable();d.resizable&&c.fn.resizable&&b._makeResizable();b._createButtons(d.buttons);b._isOpen=false;c.fn.bgiframe&&f.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var b=this;b.overlay&&b.overlay.destroy();b.uiDialog.hide();b.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");
202
- b.uiDialog.remove();b.originalTitle&&b.element.attr("title",b.originalTitle);return b},widget:function(){return this.uiDialog},close:function(b){var d=this,e;if(false!==d._trigger("beforeClose",b)){d.overlay&&d.overlay.destroy();d.uiDialog.unbind("keypress.ui-dialog");d._isOpen=false;if(d.options.hide)d.uiDialog.hide(d.options.hide,function(){d._trigger("close",b)});else{d.uiDialog.hide();d._trigger("close",b)}c.ui.dialog.overlay.resize();if(d.options.modal){e=0;c(".ui-dialog").each(function(){if(this!==
203
- d.uiDialog[0])e=Math.max(e,c(this).css("z-index"))});c.ui.dialog.maxZ=e}return d}},isOpen:function(){return this._isOpen},moveToTop:function(b,d){var e=this,a=e.options;if(a.modal&&!b||!a.stack&&!a.modal)return e._trigger("focus",d);if(a.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=a.zIndex;if(e.overlay){c.ui.dialog.maxZ+=1;e.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}b={scrollTop:e.element.attr("scrollTop"),scrollLeft:e.element.attr("scrollLeft")};c.ui.dialog.maxZ+=1;e.uiDialog.css("z-index",
204
- c.ui.dialog.maxZ);e.element.attr(b);e._trigger("focus",d);return e},open:function(){if(!this._isOpen){var b=this,d=b.options,e=b.uiDialog;b.overlay=d.modal?new c.ui.dialog.overlay(b):null;e.next().length&&e.appendTo("body");b._size();b._position(d.position);e.show(d.show);b.moveToTop(true);d.modal&&e.bind("keypress.ui-dialog",function(a){if(a.keyCode===c.ui.keyCode.TAB){var f=c(":tabbable",this),g=f.filter(":first");f=f.filter(":last");if(a.target===f[0]&&!a.shiftKey){g.focus(1);return false}else if(a.target===
205
- g[0]&&a.shiftKey){f.focus(1);return false}}});c([]).add(e.find(".ui-dialog-content :tabbable:first")).add(e.find(".ui-dialog-buttonpane :tabbable:first")).add(e).filter(":first").focus();b._trigger("open");b._isOpen=true;return b}},_createButtons:function(b){var d=this,e=false,a=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");d.uiDialog.find(".ui-dialog-buttonpane").remove();typeof b==="object"&&b!==null&&c.each(b,function(){return!(e=true)});if(e){c.each(b,
206
- function(f,g){f=c('<button type="button"></button>').text(f).click(function(){g.apply(d.element[0],arguments)}).appendTo(a);c.fn.button&&f.button()});a.appendTo(d.uiDialog)}},_makeDraggable:function(){function b(g){return{position:g.position,offset:g.offset}}var d=this,e=d.options,a=c(document),f;d.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(g,i){f=e.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging");
207
- d._trigger("dragStart",g,b(i))},drag:function(g,i){d._trigger("drag",g,b(i))},stop:function(g,i){e.position=[i.position.left-a.scrollLeft(),i.position.top-a.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(f);d._trigger("dragStop",g,b(i));c.ui.dialog.overlay.resize()}})},_makeResizable:function(b){function d(g){return{originalPosition:g.originalPosition,originalSize:g.originalSize,position:g.position,size:g.size}}b=b===undefined?this.options.resizable:b;var e=this,a=e.options,f=e.uiDialog.css("position");
208
- b=typeof b==="string"?b:"n,e,s,w,se,sw,ne,nw";e.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:e.element,maxWidth:a.maxWidth,maxHeight:a.maxHeight,minWidth:a.minWidth,minHeight:e._minHeight(),handles:b,start:function(g,i){c(this).addClass("ui-dialog-resizing");e._trigger("resizeStart",g,d(i))},resize:function(g,i){e._trigger("resize",g,d(i))},stop:function(g,i){c(this).removeClass("ui-dialog-resizing");a.height=c(this).height();a.width=c(this).width();e._trigger("resizeStop",
209
- g,d(i));c.ui.dialog.overlay.resize()}}).css("position",f).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var b=this.options;return b.height==="auto"?b.minHeight:Math.min(b.minHeight,b.height)},_position:function(b){var d=[],e=[0,0];b=b||c.ui.dialog.prototype.options.position;if(typeof b==="string"||typeof b==="object"&&"0"in b){d=b.split?b.split(" "):[b[0],b[1]];if(d.length===1)d[1]=d[0];c.each(["left","top"],function(a,f){if(+d[a]===d[a]){e[a]=d[a];d[a]=
210
- f}})}else if(typeof b==="object"){if("left"in b){d[0]="left";e[0]=b.left}else if("right"in b){d[0]="right";e[0]=-b.right}if("top"in b){d[1]="top";e[1]=b.top}else if("bottom"in b){d[1]="bottom";e[1]=-b.bottom}}(b=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position({my:d.join(" "),at:d.join(" "),offset:e.join(" "),of:window,collision:"fit",using:function(a){var f=c(this).css(a).offset().top;f<0&&c(this).css("top",a.top-f)}});b||this.uiDialog.hide()},_setOption:function(b,
211
- d){var e=this,a=e.uiDialog,f=a.is(":data(resizable)"),g=false;switch(b){case "beforeclose":b="beforeClose";break;case "buttons":e._createButtons(d);break;case "closeText":e.uiDialogTitlebarCloseText.text(""+d);break;case "dialogClass":a.removeClass(e.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+d);break;case "disabled":d?a.addClass("ui-dialog-disabled"):a.removeClass("ui-dialog-disabled");break;case "draggable":d?e._makeDraggable():a.draggable("destroy");break;
212
- case "height":g=true;break;case "maxHeight":f&&a.resizable("option","maxHeight",d);g=true;break;case "maxWidth":f&&a.resizable("option","maxWidth",d);g=true;break;case "minHeight":f&&a.resizable("option","minHeight",d);g=true;break;case "minWidth":f&&a.resizable("option","minWidth",d);g=true;break;case "position":e._position(d);break;case "resizable":f&&!d&&a.resizable("destroy");f&&typeof d==="string"&&a.resizable("option","handles",d);!f&&d!==false&&e._makeResizable(d);break;case "title":c(".ui-dialog-title",
213
- e.uiDialogTitlebar).html(""+(d||"&#160;"));break;case "width":g=true;break}c.Widget.prototype._setOption.apply(e,arguments);g&&e._size()},_size:function(){var b=this.options,d;this.element.css({width:"auto",minHeight:0,height:0});d=this.uiDialog.css({height:"auto",width:b.width}).height();this.element.css(b.height==="auto"?{minHeight:Math.max(b.minHeight-d,0),height:"auto"}:{minHeight:0,height:Math.max(b.height-d,0)}).show();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",
214
- this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.1",uuid:0,maxZ:0,getTitleId:function(b){b=b.attr("id");if(!b){this.uuid+=1;b=this.uuid}return"ui-dialog-title-"+b},overlay:function(b){this.$el=c.ui.dialog.overlay.create(b)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(b){return b+".dialog-overlay"}).join(" "),create:function(b){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&
215
- c(document).bind(c.ui.dialog.overlay.events,function(e){return c(e.target).zIndex()>=c.ui.dialog.overlay.maxZ})},1);c(document).bind("keydown.dialog-overlay",function(e){if(b.options.closeOnEscape&&e.keyCode&&e.keyCode===c.ui.keyCode.ESCAPE){b.close(e);e.preventDefault()}});c(window).bind("resize.dialog-overlay",c.ui.dialog.overlay.resize)}var d=(this.oldInstances.pop()||c("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});c.fn.bgiframe&&
216
- d.bgiframe();this.instances.push(d);return d},destroy:function(b){this.oldInstances.push(this.instances.splice(c.inArray(b,this.instances),1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");b.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var b,d;if(c.browser.msie&&c.browser.version<7){b=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);d=Math.max(document.documentElement.offsetHeight,
217
- document.body.offsetHeight);return b<d?c(window).height()+"px":b+"px"}else return c(document).height()+"px"},width:function(){var b,d;if(c.browser.msie&&c.browser.version<7){b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);d=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return b<d?c(window).width()+"px":b+"px"}else return c(document).width()+"px"},resize:function(){var b=c([]);c.each(c.ui.dialog.overlay.instances,function(){b=b.add(this)});b.css({width:0,
218
- height:0}).css({width:c.ui.dialog.overlay.width(),height:c.ui.dialog.overlay.height()})}});c.extend(c.ui.dialog.overlay.prototype,{destroy:function(){c.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
219
- (function(c){c.widget("ui.slider",c.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,d=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");d.disabled&&this.element.addClass("ui-slider-disabled ui-disabled");
220
- this.range=c([]);if(d.range){if(d.range===true){this.range=c("<div></div>");if(!d.values)d.values=[this._valueMin(),this._valueMin()];if(d.values.length&&d.values.length!==2)d.values=[d.values[0],d.values[0]]}else this.range=c("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(d.range==="min"||d.range==="max")this.range.addClass("ui-slider-range-"+d.range);this.range.addClass("ui-widget-header")}c(".ui-slider-handle",this.element).length===0&&c("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");
221
- if(d.values&&d.values.length)for(;c(".ui-slider-handle",this.element).length<d.values.length;)c("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=c(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(e){e.preventDefault()}).hover(function(){d.disabled||c(this).addClass("ui-state-hover")},function(){c(this).removeClass("ui-state-hover")}).focus(function(){if(d.disabled)c(this).blur();
222
- else{c(".ui-slider .ui-state-focus").removeClass("ui-state-focus");c(this).addClass("ui-state-focus")}}).blur(function(){c(this).removeClass("ui-state-focus")});this.handles.each(function(e){c(this).data("index.ui-slider-handle",e)});this.handles.keydown(function(e){var a=true,f=c(this).data("index.ui-slider-handle"),g,i,j;if(!b.options.disabled){switch(e.keyCode){case c.ui.keyCode.HOME:case c.ui.keyCode.END:case c.ui.keyCode.PAGE_UP:case c.ui.keyCode.PAGE_DOWN:case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:a=
223
- false;if(!b._keySliding){b._keySliding=true;c(this).addClass("ui-state-active");g=b._start(e,f);if(g===false)return}break}j=b.options.step;g=b.options.values&&b.options.values.length?(i=b.values(f)):(i=b.value());switch(e.keyCode){case c.ui.keyCode.HOME:i=b._valueMin();break;case c.ui.keyCode.END:i=b._valueMax();break;case c.ui.keyCode.PAGE_UP:i=g+(b._valueMax()-b._valueMin())/5;break;case c.ui.keyCode.PAGE_DOWN:i=g-(b._valueMax()-b._valueMin())/5;break;case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:if(g===
224
- b._valueMax())return;i=g+j;break;case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(g===b._valueMin())return;i=g-j;break}b._slide(e,f,i);return a}}).keyup(function(e){var a=c(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(e,a);b._change(e,a);c(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");
225
- this._mouseDestroy();return this},_mouseCapture:function(b){var d=this.options,e,a,f,g,i,j;if(d.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();e={x:b.pageX,y:b.pageY};a=this._normValueFromMouse(e);f=this._valueMax()-this._valueMin()+1;i=this;this.handles.each(function(m){var k=Math.abs(a-i.values(m));if(f>k){f=k;g=c(this);j=m}});if(d.range===true&&this.values(1)===d.min){j+=1;g=c(this.handles[j])}if(this._start(b,
226
- j)===false)return false;this._mouseSliding=true;i._handleIndex=j;g.addClass("ui-state-active").focus();d=g.offset();this._clickOffset=!c(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-d.left-g.width()/2,top:b.pageY-d.top-g.height()/2-(parseInt(g.css("borderTopWidth"),10)||0)-(parseInt(g.css("borderBottomWidth"),10)||0)+(parseInt(g.css("marginTop"),10)||0)};a=this._normValueFromMouse(e);this._slide(b,j,a);return this._animateOff=true},_mouseStart:function(){return true},
227
- _mouseDrag:function(b){var d=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,d);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var d;
228
- if(this.orientation==="horizontal"){d=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{d=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}d=b/d;if(d>1)d=1;if(d<0)d=0;if(this.orientation==="vertical")d=1-d;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+d*b)},_start:function(b,d){var e={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){e.value=
229
- this.values(d);e.values=this.values()}return this._trigger("start",b,e)},_slide:function(b,d,e){var a;if(this.options.values&&this.options.values.length){a=this.values(d?0:1);if(this.options.values.length===2&&this.options.range===true&&(d===0&&e>a||d===1&&e<a))e=a;if(e!==this.values(d)){a=this.values();a[d]=e;b=this._trigger("slide",b,{handle:this.handles[d],value:e,values:a});this.values(d?0:1);b!==false&&this.values(d,e,true)}}else if(e!==this.value()){b=this._trigger("slide",b,{handle:this.handles[d],
230
- value:e});b!==false&&this.value(e)}},_stop:function(b,d){var e={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){e.value=this.values(d);e.values=this.values()}this._trigger("stop",b,e)},_change:function(b,d){if(!this._keySliding&&!this._mouseSliding){var e={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){e.value=this.values(d);e.values=this.values()}this._trigger("change",b,e)}},value:function(b){if(arguments.length){this.options.value=
231
- this._trimAlignValue(b);this._refreshValue();this._change(null,0)}return this._value()},values:function(b,d){var e,a,f;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(d);this._refreshValue();this._change(null,b)}if(arguments.length)if(c.isArray(arguments[0])){e=this.options.values;a=arguments[0];for(f=0;f<e.length;f+=1){e[f]=this._trimAlignValue(a[f]);this._change(null,f)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):this.value();
232
- else return this._values()},_setOption:function(b,d){var e,a=0;if(c.isArray(this.options.values))a=this.options.values.length;c.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(d){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
233
- this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(e=0;e<a;e+=1)this._change(null,e);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var d,e;if(arguments.length){d=this.options.values[b];
234
- return d=this._trimAlignValue(d)}else{d=this.options.values.slice();for(e=0;e<d.length;e+=1)d[e]=this._trimAlignValue(d[e]);return d}},_trimAlignValue:function(b){if(b<this._valueMin())return this._valueMin();if(b>this._valueMax())return this._valueMax();var d=this.options.step,e=b%d;b=b-e;if(e>=d/2)b+=d;return parseFloat(b.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var b=this.options.range,d=this.options,e=this,
235
- a=!this._animateOff?d.animate:false,f,g={},i,j,m,k;if(this.options.values&&this.options.values.length)this.handles.each(function(h){f=(e.values(h)-e._valueMin())/(e._valueMax()-e._valueMin())*100;g[e.orientation==="horizontal"?"left":"bottom"]=f+"%";c(this).stop(1,1)[a?"animate":"css"](g,d.animate);if(e.options.range===true)if(e.orientation==="horizontal"){if(h===0)e.range.stop(1,1)[a?"animate":"css"]({left:f+"%"},d.animate);if(h===1)e.range[a?"animate":"css"]({width:f-i+"%"},{queue:false,duration:d.animate})}else{if(h===
236
- 0)e.range.stop(1,1)[a?"animate":"css"]({bottom:f+"%"},d.animate);if(h===1)e.range[a?"animate":"css"]({height:f-i+"%"},{queue:false,duration:d.animate})}i=f});else{j=this.value();m=this._valueMin();k=this._valueMax();f=k!==m?(j-m)/(k-m)*100:0;g[e.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[a?"animate":"css"](g,d.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,1)[a?"animate":"css"]({width:f+"%"},d.animate);if(b==="max"&&this.orientation==="horizontal")this.range[a?
237
- "animate":"css"]({width:100-f+"%"},{queue:false,duration:d.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[a?"animate":"css"]({height:f+"%"},d.animate);if(b==="max"&&this.orientation==="vertical")this.range[a?"animate":"css"]({height:100-f+"%"},{queue:false,duration:d.animate})}}});c.extend(c.ui.slider,{version:"1.8.1"})})(jQuery);
238
- (function(c){var b=0,d=0;c.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>'},_create:function(){this._tabify(true)},_setOption:function(e,a){if(e=="selected")this.options.collapsible&&a==this.options.selected||
239
- this.select(a);else{this.options[e]=a;this._tabify()}},_tabId:function(e){return e.title&&e.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+ ++b},_sanitizeSelector:function(e){return e.replace(/:/g,"\\:")},_cookie:function(){var e=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++d);return c.cookie.apply(null,[e].concat(c.makeArray(arguments)))},_ui:function(e,a){return{tab:e,panel:a,index:this.anchors.index(e)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var e=
240
- c(this);e.html(e.data("label.tabs")).removeData("label.tabs")})},_tabify:function(e){function a(p,q){p.css({display:""});!c.support.opacity&&q.opacity&&p[0].style.removeAttribute("filter")}this.list=this.element.find("ol,ul").eq(0);this.lis=c("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return c("a",this)[0]});this.panels=c([]);var f=this,g=this.options,i=/^#.+/;this.anchors.each(function(p,q){var r=c(q).attr("href"),s=r.split("#")[0],u;if(s&&(s===location.toString().split("#")[0]||
241
- (u=c("base")[0])&&s===u.href)){r=q.hash;q.href=r}if(i.test(r))f.panels=f.panels.add(f._sanitizeSelector(r));else if(r!="#"){c.data(q,"href.tabs",r);c.data(q,"load.tabs",r.replace(/#.*$/,""));r=f._tabId(q);q.href="#"+r;q=c("#"+r);if(!q.length){q=c(g.panelTemplate).attr("id",r).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(f.panels[p-1]||f.list);q.data("destroy.tabs",true)}f.panels=f.panels.add(q)}else g.disabled.push(p)});if(e){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
242
- this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(g.selected===undefined){location.hash&&this.anchors.each(function(p,q){if(q.hash==location.hash){g.selected=p;return false}});if(typeof g.selected!="number"&&g.cookie)g.selected=parseInt(f._cookie(),10);if(typeof g.selected!="number"&&this.lis.filter(".ui-tabs-selected").length)g.selected=
243
- this.lis.index(this.lis.filter(".ui-tabs-selected"));g.selected=g.selected||(this.lis.length?0:-1)}else if(g.selected===null)g.selected=-1;g.selected=g.selected>=0&&this.anchors[g.selected]||g.selected<0?g.selected:0;g.disabled=c.unique(g.disabled.concat(c.map(this.lis.filter(".ui-state-disabled"),function(p){return f.lis.index(p)}))).sort();c.inArray(g.selected,g.disabled)!=-1&&g.disabled.splice(c.inArray(g.selected,g.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
244
- if(g.selected>=0&&this.anchors.length){this.panels.eq(g.selected).removeClass("ui-tabs-hide");this.lis.eq(g.selected).addClass("ui-tabs-selected ui-state-active");f.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[g.selected],f.panels[g.selected]))});this.load(g.selected)}c(window).bind("unload",function(){f.lis.add(f.anchors).unbind(".tabs");f.lis=f.anchors=f.panels=null})}else g.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));this.element[g.collapsible?"addClass":
245
- "removeClass"]("ui-tabs-collapsible");g.cookie&&this._cookie(g.selected,g.cookie);e=0;for(var j;j=this.lis[e];e++)c(j)[c.inArray(e,g.disabled)!=-1&&!c(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");g.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(g.event!="mouseover"){var m=function(p,q){q.is(":not(.ui-state-disabled)")&&q.addClass("ui-state-"+p)},k=function(p,q){q.removeClass("ui-state-"+p)};this.lis.bind("mouseover.tabs",
246
- function(){m("hover",c(this))});this.lis.bind("mouseout.tabs",function(){k("hover",c(this))});this.anchors.bind("focus.tabs",function(){m("focus",c(this).closest("li"))});this.anchors.bind("blur.tabs",function(){k("focus",c(this).closest("li"))})}var h,l;if(g.fx)if(c.isArray(g.fx)){h=g.fx[0];l=g.fx[1]}else h=l=g.fx;var n=l?function(p,q){c(p).closest("li").addClass("ui-tabs-selected ui-state-active");q.hide().removeClass("ui-tabs-hide").animate(l,l.duration||"normal",function(){a(q,l);f._trigger("show",
247
- null,f._ui(p,q[0]))})}:function(p,q){c(p).closest("li").addClass("ui-tabs-selected ui-state-active");q.removeClass("ui-tabs-hide");f._trigger("show",null,f._ui(p,q[0]))},o=h?function(p,q){q.animate(h,h.duration||"normal",function(){f.lis.removeClass("ui-tabs-selected ui-state-active");q.addClass("ui-tabs-hide");a(q,h);f.element.dequeue("tabs")})}:function(p,q){f.lis.removeClass("ui-tabs-selected ui-state-active");q.addClass("ui-tabs-hide");f.element.dequeue("tabs")};this.anchors.bind(g.event+".tabs",
248
- function(){var p=this,q=c(this).closest("li"),r=f.panels.filter(":not(.ui-tabs-hide)"),s=c(f._sanitizeSelector(this.hash));if(q.hasClass("ui-tabs-selected")&&!g.collapsible||q.hasClass("ui-state-disabled")||q.hasClass("ui-state-processing")||f._trigger("select",null,f._ui(this,s[0]))===false){this.blur();return false}g.selected=f.anchors.index(this);f.abort();if(g.collapsible)if(q.hasClass("ui-tabs-selected")){g.selected=-1;g.cookie&&f._cookie(g.selected,g.cookie);f.element.queue("tabs",function(){o(p,
249
- r)}).dequeue("tabs");this.blur();return false}else if(!r.length){g.cookie&&f._cookie(g.selected,g.cookie);f.element.queue("tabs",function(){n(p,s)});f.load(f.anchors.index(this));this.blur();return false}g.cookie&&f._cookie(g.selected,g.cookie);if(s.length){r.length&&f.element.queue("tabs",function(){o(p,r)});f.element.queue("tabs",function(){n(p,s)});f.load(f.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";c.browser.msie&&this.blur()});this.anchors.bind("click.tabs",
250
- function(){return false})},destroy:function(){var e=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var a=c.data(this,"href.tabs");if(a)this.href=a;var f=c(this).unbind(".tabs");c.each(["href","load","cache"],function(g,i){f.removeData(i+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){c.data(this,
251
- "destroy.tabs")?c(this).remove():c(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});e.cookie&&this._cookie(null,e.cookie);return this},add:function(e,a,f){if(f===undefined)f=this.anchors.length;var g=this,i=this.options;a=c(i.tabTemplate.replace(/#\{href\}/g,e).replace(/#\{label\}/g,a));e=!e.indexOf("#")?e.replace("#",""):this._tabId(c("a",a)[0]);a.addClass("ui-state-default ui-corner-top").data("destroy.tabs",
252
- true);var j=c("#"+e);j.length||(j=c(i.panelTemplate).attr("id",e).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(f>=this.lis.length){a.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{a.insertBefore(this.lis[f]);j.insertBefore(this.panels[f])}i.disabled=c.map(i.disabled,function(m){return m>=f?++m:m});this._tabify();if(this.anchors.length==1){i.selected=0;a.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");
253
- this.element.queue("tabs",function(){g._trigger("show",null,g._ui(g.anchors[0],g.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[f],this.panels[f]));return this},remove:function(e){var a=this.options,f=this.lis.eq(e).remove(),g=this.panels.eq(e).remove();if(f.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(e+(e+1<this.anchors.length?1:-1));a.disabled=c.map(c.grep(a.disabled,function(i){return i!=e}),function(i){return i>=e?--i:i});this._tabify();this._trigger("remove",
254
- null,this._ui(f.find("a")[0],g[0]));return this},enable:function(e){var a=this.options;if(c.inArray(e,a.disabled)!=-1){this.lis.eq(e).removeClass("ui-state-disabled");a.disabled=c.grep(a.disabled,function(f){return f!=e});this._trigger("enable",null,this._ui(this.anchors[e],this.panels[e]));return this}},disable:function(e){var a=this.options;if(e!=a.selected){this.lis.eq(e).addClass("ui-state-disabled");a.disabled.push(e);a.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[e],this.panels[e]))}return this},
255
- select:function(e){if(typeof e=="string")e=this.anchors.index(this.anchors.filter("[href$="+e+"]"));else if(e===null)e=-1;if(e==-1&&this.options.collapsible)e=this.options.selected;this.anchors.eq(e).trigger(this.options.event+".tabs");return this},load:function(e){var a=this,f=this.options,g=this.anchors.eq(e)[0],i=c.data(g,"load.tabs");this.abort();if(!i||this.element.queue("tabs").length!==0&&c.data(g,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(e).addClass("ui-state-processing");
256
- if(f.spinner){var j=c("span",g);j.data("label.tabs",j.html()).html(f.spinner)}this.xhr=c.ajax(c.extend({},f.ajaxOptions,{url:i,success:function(m,k){c(a._sanitizeSelector(g.hash)).html(m);a._cleanup();f.cache&&c.data(g,"cache.tabs",true);a._trigger("load",null,a._ui(a.anchors[e],a.panels[e]));try{f.ajaxOptions.success(m,k)}catch(h){}},error:function(m,k){a._cleanup();a._trigger("load",null,a._ui(a.anchors[e],a.panels[e]));try{f.ajaxOptions.error(m,k,e,g)}catch(h){}}}));a.element.dequeue("tabs");return this}},
257
- abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(e,a){this.anchors.eq(e).removeData("cache.tabs").data("load.tabs",a);return this},length:function(){return this.anchors.length}});c.extend(c.ui.tabs,{version:"1.8.1"});c.extend(c.ui.tabs.prototype,{rotation:null,rotate:function(e,a){var f=this,g=this.options,i=f._rotate||(f._rotate=
258
- function(j){clearTimeout(f.rotation);f.rotation=setTimeout(function(){var m=g.selected;f.select(++m<f.anchors.length?m:0)},e);j&&j.stopPropagation()});a=f._unrotate||(f._unrotate=!a?function(j){j.clientX&&f.rotate(null)}:function(){t=g.selected;i()});if(e){this.element.bind("tabsshow",i);this.anchors.bind(g.event+".tabs",a);i()}else{clearTimeout(f.rotation);this.element.unbind("tabsshow",i);this.anchors.unbind(g.event+".tabs",a);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
259
- (function(c){function b(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass=
260
- "ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su",
261
- "Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"show",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",
262
- minDate:null,maxDate:null,duration:"_default",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false};c.extend(this._defaults,this.regional[""]);this.dpDiv=c('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible"></div>')}function d(a,f){c.extend(a,
263
- f);for(var g in f)if(f[g]==null||f[g]==undefined)a[g]=f[g];return a}c.extend(c.ui,{datepicker:{version:"1.8.1"}});var e=(new Date).getTime();c.extend(b.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){d(this._defaults,a||{});return this},_attachDatepicker:function(a,f){var g=null;for(var i in this._defaults){var j=a.getAttribute("date:"+i);if(j){g=g||{};try{g[i]=eval(j)}catch(m){g[i]=
264
- j}}}i=a.nodeName.toLowerCase();j=i=="div"||i=="span";if(!a.id)a.id="dp"+ ++this.uuid;var k=this._newInst(c(a),j);k.settings=c.extend({},f||{},g||{});if(i=="input")this._connectDatepicker(a,k);else j&&this._inlineDatepicker(a,k)},_newInst:function(a,f){return{id:a[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:f,dpDiv:!f?this.dpDiv:c('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}},
265
- _connectDatepicker:function(a,f){var g=c(a);f.append=c([]);f.trigger=c([]);if(!g.hasClass(this.markerClassName)){this._attachments(g,f);g.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(i,j,m){f.settings[j]=m}).bind("getData.datepicker",function(i,j){return this._get(f,j)});this._autoSize(f);c.data(a,"datepicker",f)}},_attachments:function(a,f){var g=this._get(f,"appendText"),i=this._get(f,"isRTL");f.append&&
266
- f.append.remove();if(g){f.append=c('<span class="'+this._appendClass+'">'+g+"</span>");a[i?"before":"after"](f.append)}a.unbind("focus",this._showDatepicker);f.trigger&&f.trigger.remove();g=this._get(f,"showOn");if(g=="focus"||g=="both")a.focus(this._showDatepicker);if(g=="button"||g=="both"){g=this._get(f,"buttonText");var j=this._get(f,"buttonImage");f.trigger=c(this._get(f,"buttonImageOnly")?c("<img/>").addClass(this._triggerClass).attr({src:j,alt:g,title:g}):c('<button type="button"></button>').addClass(this._triggerClass).html(j==
267
- ""?g:c("<img/>").attr({src:j,alt:g,title:g})));a[i?"before":"after"](f.trigger);f.trigger.click(function(){c.datepicker._datepickerShowing&&c.datepicker._lastInput==a[0]?c.datepicker._hideDatepicker():c.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var f=new Date(2009,11,20),g=this._get(a,"dateFormat");if(g.match(/[DM]/)){var i=function(j){for(var m=0,k=0,h=0;h<j.length;h++)if(j[h].length>m){m=j[h].length;k=h}return k};f.setMonth(i(this._get(a,
268
- g.match(/MM/)?"monthNames":"monthNamesShort")));f.setDate(i(this._get(a,g.match(/DD/)?"dayNames":"dayNamesShort"))+20-f.getDay())}a.input.attr("size",this._formatDate(a,f).length)}},_inlineDatepicker:function(a,f){var g=c(a);if(!g.hasClass(this.markerClassName)){g.addClass(this.markerClassName).append(f.dpDiv).bind("setData.datepicker",function(i,j,m){f.settings[j]=m}).bind("getData.datepicker",function(i,j){return this._get(f,j)});c.data(a,"datepicker",f);this._setDate(f,this._getDefaultDate(f),
269
- true);this._updateDatepicker(f);this._updateAlternate(f)}},_dialogDatepicker:function(a,f,g,i,j){a=this._dialogInst;if(!a){a="dp"+ ++this.uuid;this._dialogInput=c('<input type="text" id="'+a+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');this._dialogInput.keydown(this._doKeyDown);c("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};c.data(this._dialogInput[0],"datepicker",a)}d(a.settings,i||{});f=f&&f.constructor==Date?
270
- this._formatDate(a,f):f;this._dialogInput.val(f);this._pos=j?j.length?j:[j.pageX,j.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=g;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);
271
- c.blockUI&&c.blockUI(this.dpDiv);c.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var f=c(a),g=c.data(a,"datepicker");if(f.hasClass(this.markerClassName)){var i=a.nodeName.toLowerCase();c.removeData(a,"datepicker");if(i=="input"){g.append.remove();g.trigger.remove();f.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)}else if(i=="div"||i=="span")f.removeClass(this.markerClassName).empty()}},
272
- _enableDatepicker:function(a){var f=c(a),g=c.data(a,"datepicker");if(f.hasClass(this.markerClassName)){var i=a.nodeName.toLowerCase();if(i=="input"){a.disabled=false;g.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(i=="div"||i=="span")f.children("."+this._inlineClass).children().removeClass("ui-state-disabled");this._disabledInputs=c.map(this._disabledInputs,function(j){return j==a?null:j})}},_disableDatepicker:function(a){var f=
273
- c(a),g=c.data(a,"datepicker");if(f.hasClass(this.markerClassName)){var i=a.nodeName.toLowerCase();if(i=="input"){a.disabled=true;g.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(i=="div"||i=="span")f.children("."+this._inlineClass).children().addClass("ui-state-disabled");this._disabledInputs=c.map(this._disabledInputs,function(j){return j==a?null:j});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;
274
- for(var f=0;f<this._disabledInputs.length;f++)if(this._disabledInputs[f]==a)return true;return false},_getInst:function(a){try{return c.data(a,"datepicker")}catch(f){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(a,f,g){var i=this._getInst(a);if(arguments.length==2&&typeof f=="string")return f=="defaults"?c.extend({},c.datepicker._defaults):i?f=="all"?c.extend({},i.settings):this._get(i,f):null;var j=f||{};if(typeof f=="string"){j={};j[f]=g}if(i){this._curInst==i&&
275
- this._hideDatepicker();var m=this._getDateDatepicker(a,true);d(i.settings,j);this._attachments(c(a),i);this._autoSize(i);this._setDateDatepicker(a,m);this._updateDatepicker(i)}},_changeDatepicker:function(a,f,g){this._optionDatepicker(a,f,g)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,f){if(a=this._getInst(a)){this._setDate(a,f);this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(a,f){(a=this._getInst(a))&&
276
- !a.inline&&this._setDateFromField(a,f);return a?this._getDate(a):null},_doKeyDown:function(a){var f=c.datepicker._getInst(a.target),g=true,i=f.dpDiv.is(".ui-datepicker-rtl");f._keyEvent=true;if(c.datepicker._datepickerShowing)switch(a.keyCode){case 9:c.datepicker._hideDatepicker();g=false;break;case 13:g=c("td."+c.datepicker._dayOverClass,f.dpDiv).add(c("td."+c.datepicker._currentClass,f.dpDiv));g[0]?c.datepicker._selectDay(a.target,f.selectedMonth,f.selectedYear,g[0]):c.datepicker._hideDatepicker();
277
- return false;case 27:c.datepicker._hideDatepicker();break;case 33:c.datepicker._adjustDate(a.target,a.ctrlKey?-c.datepicker._get(f,"stepBigMonths"):-c.datepicker._get(f,"stepMonths"),"M");break;case 34:c.datepicker._adjustDate(a.target,a.ctrlKey?+c.datepicker._get(f,"stepBigMonths"):+c.datepicker._get(f,"stepMonths"),"M");break;case 35:if(a.ctrlKey||a.metaKey)c.datepicker._clearDate(a.target);g=a.ctrlKey||a.metaKey;break;case 36:if(a.ctrlKey||a.metaKey)c.datepicker._gotoToday(a.target);g=a.ctrlKey||
278
- a.metaKey;break;case 37:if(a.ctrlKey||a.metaKey)c.datepicker._adjustDate(a.target,i?+1:-1,"D");g=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)c.datepicker._adjustDate(a.target,a.ctrlKey?-c.datepicker._get(f,"stepBigMonths"):-c.datepicker._get(f,"stepMonths"),"M");break;case 38:if(a.ctrlKey||a.metaKey)c.datepicker._adjustDate(a.target,-7,"D");g=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||a.metaKey)c.datepicker._adjustDate(a.target,i?-1:+1,"D");g=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)c.datepicker._adjustDate(a.target,
279
- a.ctrlKey?+c.datepicker._get(f,"stepBigMonths"):+c.datepicker._get(f,"stepMonths"),"M");break;case 40:if(a.ctrlKey||a.metaKey)c.datepicker._adjustDate(a.target,+7,"D");g=a.ctrlKey||a.metaKey;break;default:g=false}else if(a.keyCode==36&&a.ctrlKey)c.datepicker._showDatepicker(this);else g=false;if(g){a.preventDefault();a.stopPropagation()}},_doKeyPress:function(a){var f=c.datepicker._getInst(a.target);if(c.datepicker._get(f,"constrainInput")){f=c.datepicker._possibleChars(c.datepicker._get(f,"dateFormat"));
280
- var g=String.fromCharCode(a.charCode==undefined?a.keyCode:a.charCode);return a.ctrlKey||g<" "||!f||f.indexOf(g)>-1}},_doKeyUp:function(a){a=c.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(c.datepicker.parseDate(c.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,c.datepicker._getFormatConfig(a))){c.datepicker._setDateFromField(a);c.datepicker._updateAlternate(a);c.datepicker._updateDatepicker(a)}}catch(f){c.datepicker.log(f)}return true},_showDatepicker:function(a){a=a.target||
281
- a;if(a.nodeName.toLowerCase()!="input")a=c("input",a.parentNode)[0];if(!(c.datepicker._isDisabledDatepicker(a)||c.datepicker._lastInput==a)){var f=c.datepicker._getInst(a);c.datepicker._curInst&&c.datepicker._curInst!=f&&c.datepicker._curInst.dpDiv.stop(true,true);var g=c.datepicker._get(f,"beforeShow");d(f.settings,g?g.apply(a,[a,f]):{});f.lastVal=null;c.datepicker._lastInput=a;c.datepicker._setDateFromField(f);if(c.datepicker._inDialog)a.value="";if(!c.datepicker._pos){c.datepicker._pos=c.datepicker._findPos(a);
282
- c.datepicker._pos[1]+=a.offsetHeight}var i=false;c(a).parents().each(function(){i|=c(this).css("position")=="fixed";return!i});if(i&&c.browser.opera){c.datepicker._pos[0]-=document.documentElement.scrollLeft;c.datepicker._pos[1]-=document.documentElement.scrollTop}g={left:c.datepicker._pos[0],top:c.datepicker._pos[1]};c.datepicker._pos=null;f.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});c.datepicker._updateDatepicker(f);g=c.datepicker._checkOffset(f,g,i);f.dpDiv.css({position:c.datepicker._inDialog&&
283
- c.blockUI?"static":i?"fixed":"absolute",display:"none",left:g.left+"px",top:g.top+"px"});if(!f.inline){g=c.datepicker._get(f,"showAnim");var j=c.datepicker._get(f,"duration"),m=function(){c.datepicker._datepickerShowing=true;var k=c.datepicker._getBorders(f.dpDiv);f.dpDiv.find("iframe.ui-datepicker-cover").css({left:-k[0],top:-k[1],width:f.dpDiv.outerWidth(),height:f.dpDiv.outerHeight()})};f.dpDiv.zIndex(c(a).zIndex()+1);c.effects&&c.effects[g]?f.dpDiv.show(g,c.datepicker._get(f,"showOptions"),j,
284
- m):f.dpDiv[g||"show"](g?j:null,m);if(!g||!j)m();f.input.is(":visible")&&!f.input.is(":disabled")&&f.input.focus();c.datepicker._curInst=f}}},_updateDatepicker:function(a){var f=this,g=c.datepicker._getBorders(a.dpDiv);a.dpDiv.empty().append(this._generateHTML(a)).find("iframe.ui-datepicker-cover").css({left:-g[0],top:-g[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()}).end().find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout",function(){c(this).removeClass("ui-state-hover");
285
- this.className.indexOf("ui-datepicker-prev")!=-1&&c(this).removeClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&c(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){if(!f._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])){c(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");c(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&c(this).addClass("ui-datepicker-prev-hover");
286
- this.className.indexOf("ui-datepicker-next")!=-1&&c(this).addClass("ui-datepicker-next-hover")}}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end();g=this._getNumberOfMonths(a);var i=g[1];i>1?a.dpDiv.addClass("ui-datepicker-multi-"+i).css("width",17*i+"em"):a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");a.dpDiv[(g[0]!=1||g[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");
287
- a==c.datepicker._curInst&&c.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input.focus()},_getBorders:function(a){var f=function(g){return{thin:1,medium:2,thick:3}[g]||g};return[parseFloat(f(a.css("border-left-width"))),parseFloat(f(a.css("border-top-width")))]},_checkOffset:function(a,f,g){var i=a.dpDiv.outerWidth(),j=a.dpDiv.outerHeight(),m=a.input?a.input.outerWidth():0,k=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+c(document).scrollLeft(),
288
- l=document.documentElement.clientHeight+c(document).scrollTop();f.left-=this._get(a,"isRTL")?i-m:0;f.left-=g&&f.left==a.input.offset().left?c(document).scrollLeft():0;f.top-=g&&f.top==a.input.offset().top+k?c(document).scrollTop():0;f.left-=Math.min(f.left,f.left+i>h&&h>i?Math.abs(f.left+i-h):0);f.top-=Math.min(f.top,f.top+j>l&&l>j?Math.abs(j+k):0);return f},_findPos:function(a){for(var f=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1);)a=a[f?"previousSibling":"nextSibling"];
289
- a=c(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var f=this._curInst;if(!(!f||a&&f!=c.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(f,"showAnim");var g=this._get(f,"duration"),i=function(){c.datepicker._tidyDialog(f);this._curInst=null};c.effects&&c.effects[a]?f.dpDiv.hide(a,c.datepicker._get(f,"showOptions"),g,i):f.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?g:null,i);a||i();if(a=this._get(f,"onClose"))a.apply(f.input?f.input[0]:null,[f.input?f.input.val():
290
- "",f]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(c.blockUI){c.unblockUI();c("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(a){if(c.datepicker._curInst){a=c(a.target);a[0].id!=c.datepicker._mainDivId&&a.parents("#"+c.datepicker._mainDivId).length==0&&!a.hasClass(c.datepicker.markerClassName)&&
291
- !a.hasClass(c.datepicker._triggerClass)&&c.datepicker._datepickerShowing&&!(c.datepicker._inDialog&&c.blockUI)&&c.datepicker._hideDatepicker()}},_adjustDate:function(a,f,g){a=c(a);var i=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(i,f+(g=="M"?this._get(i,"showCurrentAtPos"):0),g);this._updateDatepicker(i)}},_gotoToday:function(a){a=c(a);var f=this._getInst(a[0]);if(this._get(f,"gotoCurrent")&&f.currentDay){f.selectedDay=f.currentDay;f.drawMonth=f.selectedMonth=f.currentMonth;
292
- f.drawYear=f.selectedYear=f.currentYear}else{var g=new Date;f.selectedDay=g.getDate();f.drawMonth=f.selectedMonth=g.getMonth();f.drawYear=f.selectedYear=g.getFullYear()}this._notifyChange(f);this._adjustDate(a)},_selectMonthYear:function(a,f,g){a=c(a);var i=this._getInst(a[0]);i._selectingMonthYear=false;i["selected"+(g=="M"?"Month":"Year")]=i["draw"+(g=="M"?"Month":"Year")]=parseInt(f.options[f.selectedIndex].value,10);this._notifyChange(i);this._adjustDate(a)},_clickMonthYear:function(a){a=this._getInst(c(a)[0]);
293
- a.input&&a._selectingMonthYear&&!c.browser.msie&&a.input.focus();a._selectingMonthYear=!a._selectingMonthYear},_selectDay:function(a,f,g,i){var j=c(a);if(!(c(i).hasClass(this._unselectableClass)||this._isDisabledDatepicker(j[0]))){j=this._getInst(j[0]);j.selectedDay=j.currentDay=c("a",i).html();j.selectedMonth=j.currentMonth=f;j.selectedYear=j.currentYear=g;this._selectDate(a,this._formatDate(j,j.currentDay,j.currentMonth,j.currentYear))}},_clearDate:function(a){a=c(a);this._getInst(a[0]);this._selectDate(a,
294
- "")},_selectDate:function(a,f){a=this._getInst(c(a)[0]);f=f!=null?f:this._formatDate(a);a.input&&a.input.val(f);this._updateAlternate(a);var g=this._get(a,"onSelect");if(g)g.apply(a.input?a.input[0]:null,[f,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a);else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var f=this._get(a,"altField");if(f){var g=this._get(a,"altFormat")||
295
- this._get(a,"dateFormat"),i=this._getDate(a),j=this.formatDate(g,i,this._getFormatConfig(a));c(f).each(function(){c(this).val(j)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var f=a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((f-a)/864E5)/7)+1},parseDate:function(a,f,g){if(a==null||f==null)throw"Invalid arguments";f=typeof f=="object"?f.toString():f+"";if(f=="")return null;
296
- for(var i=(g?g.shortYearCutoff:null)||this._defaults.shortYearCutoff,j=(g?g.dayNamesShort:null)||this._defaults.dayNamesShort,m=(g?g.dayNames:null)||this._defaults.dayNames,k=(g?g.monthNamesShort:null)||this._defaults.monthNamesShort,h=(g?g.monthNames:null)||this._defaults.monthNames,l=g=-1,n=-1,o=-1,p=false,q=function(w){(w=C+1<a.length&&a.charAt(C+1)==w)&&C++;return w},r=function(w){q(w);w=new RegExp("^\\d{1,"+(w=="@"?14:w=="!"?20:w=="y"?4:w=="o"?3:2)+"}");w=f.substring(v).match(w);if(!w)throw"Missing number at position "+
297
- v;v+=w[0].length;return parseInt(w[0],10)},s=function(w,A,I){w=q(w)?I:A;for(A=0;A<w.length;A++)if(f.substr(v,w[A].length)==w[A]){v+=w[A].length;return A+1}throw"Unknown name at position "+v;},u=function(){if(f.charAt(v)!=a.charAt(C))throw"Unexpected literal at position "+v;v++},v=0,C=0;C<a.length;C++)if(p)if(a.charAt(C)=="'"&&!q("'"))p=false;else u();else switch(a.charAt(C)){case "d":n=r("d");break;case "D":s("D",j,m);break;case "o":o=r("o");break;case "m":l=r("m");break;case "M":l=s("M",k,h);break;
298
- case "y":g=r("y");break;case "@":var z=new Date(r("@"));g=z.getFullYear();l=z.getMonth()+1;n=z.getDate();break;case "!":z=new Date((r("!")-this._ticksTo1970)/1E4);g=z.getFullYear();l=z.getMonth()+1;n=z.getDate();break;case "'":if(q("'"))u();else p=true;break;default:u()}if(g==-1)g=(new Date).getFullYear();else if(g<100)g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(g<=i?0:-100);if(o>-1){l=1;n=o;do{i=this._getDaysInMonth(g,l-1);if(n<=i)break;l++;n-=i}while(1)}z=this._daylightSavingAdjust(new Date(g,
299
- l-1,n));if(z.getFullYear()!=g||z.getMonth()+1!=l||z.getDate()!=n)throw"Invalid date";return z},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,f,g){if(!f)return"";var i=(g?g.dayNamesShort:null)||this._defaults.dayNamesShort,j=(g?
300
- g.dayNames:null)||this._defaults.dayNames,m=(g?g.monthNamesShort:null)||this._defaults.monthNamesShort;g=(g?g.monthNames:null)||this._defaults.monthNames;var k=function(q){(q=p+1<a.length&&a.charAt(p+1)==q)&&p++;return q},h=function(q,r,s){r=""+r;if(k(q))for(;r.length<s;)r="0"+r;return r},l=function(q,r,s,u){return k(q)?u[r]:s[r]},n="",o=false;if(f)for(var p=0;p<a.length;p++)if(o)if(a.charAt(p)=="'"&&!k("'"))o=false;else n+=a.charAt(p);else switch(a.charAt(p)){case "d":n+=h("d",f.getDate(),2);break;
301
- case "D":n+=l("D",f.getDay(),i,j);break;case "o":n+=h("o",(f.getTime()-(new Date(f.getFullYear(),0,0)).getTime())/864E5,3);break;case "m":n+=h("m",f.getMonth()+1,2);break;case "M":n+=l("M",f.getMonth(),m,g);break;case "y":n+=k("y")?f.getFullYear():(f.getYear()%100<10?"0":"")+f.getYear()%100;break;case "@":n+=f.getTime();break;case "!":n+=f.getTime()*1E4+this._ticksTo1970;break;case "'":if(k("'"))n+="'";else o=true;break;default:n+=a.charAt(p)}return n},_possibleChars:function(a){for(var f="",g=false,
302
- i=function(m){(m=j+1<a.length&&a.charAt(j+1)==m)&&j++;return m},j=0;j<a.length;j++)if(g)if(a.charAt(j)=="'"&&!i("'"))g=false;else f+=a.charAt(j);else switch(a.charAt(j)){case "d":case "m":case "y":case "@":f+="0123456789";break;case "D":case "M":return null;case "'":if(i("'"))f+="'";else g=true;break;default:f+=a.charAt(j)}return f},_get:function(a,f){return a.settings[f]!==undefined?a.settings[f]:this._defaults[f]},_setDateFromField:function(a,f){if(a.input.val()!=a.lastVal){var g=this._get(a,"dateFormat"),
303
- i=a.lastVal=a.input?a.input.val():null,j,m;j=m=this._getDefaultDate(a);var k=this._getFormatConfig(a);try{j=this.parseDate(g,i,k)||m}catch(h){this.log(h);i=f?"":i}a.selectedDay=j.getDate();a.drawMonth=a.selectedMonth=j.getMonth();a.drawYear=a.selectedYear=j.getFullYear();a.currentDay=i?j.getDate():0;a.currentMonth=i?j.getMonth():0;a.currentYear=i?j.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},
304
- _determineDate:function(a,f,g){var i=function(m){var k=new Date;k.setDate(k.getDate()+m);return k},j=function(m){try{return c.datepicker.parseDate(c.datepicker._get(a,"dateFormat"),m,c.datepicker._getFormatConfig(a))}catch(k){}var h=(m.toLowerCase().match(/^c/)?c.datepicker._getDate(a):null)||new Date,l=h.getFullYear(),n=h.getMonth();h=h.getDate();for(var o=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,p=o.exec(m);p;){switch(p[2]||"d"){case "d":case "D":h+=parseInt(p[1],10);break;case "w":case "W":h+=parseInt(p[1],
305
- 10)*7;break;case "m":case "M":n+=parseInt(p[1],10);h=Math.min(h,c.datepicker._getDaysInMonth(l,n));break;case "y":case "Y":l+=parseInt(p[1],10);h=Math.min(h,c.datepicker._getDaysInMonth(l,n));break}p=o.exec(m)}return new Date(l,n,h)};if(f=(f=f==null?g:typeof f=="string"?j(f):typeof f=="number"?isNaN(f)?g:i(f):f)&&f.toString()=="Invalid Date"?g:f){f.setHours(0);f.setMinutes(0);f.setSeconds(0);f.setMilliseconds(0)}return this._daylightSavingAdjust(f)},_daylightSavingAdjust:function(a){if(!a)return null;
306
- a.setHours(a.getHours()>12?a.getHours()+2:0);return a},_setDate:function(a,f,g){var i=!f,j=a.selectedMonth,m=a.selectedYear;f=this._restrictMinMax(a,this._determineDate(a,f,new Date));a.selectedDay=a.currentDay=f.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=f.getMonth();a.drawYear=a.selectedYear=a.currentYear=f.getFullYear();if((j!=a.selectedMonth||m!=a.selectedYear)&&!g)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(i?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||
307
- a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var f=new Date;f=this._daylightSavingAdjust(new Date(f.getFullYear(),f.getMonth(),f.getDate()));var g=this._get(a,"isRTL"),i=this._get(a,"showButtonPanel"),j=this._get(a,"hideIfNoPrevNext"),m=this._get(a,"navigationAsDateFormat"),k=this._getNumberOfMonths(a),h=this._get(a,"showCurrentAtPos"),l=this._get(a,"stepMonths"),n=k[0]!=1||k[1]!=1,o=this._daylightSavingAdjust(!a.currentDay?
308
- new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),p=this._getMinMaxDate(a,"min"),q=this._getMinMaxDate(a,"max");h=a.drawMonth-h;var r=a.drawYear;if(h<0){h+=12;r--}if(q){var s=this._daylightSavingAdjust(new Date(q.getFullYear(),q.getMonth()-k[0]*k[1]+1,q.getDate()));for(s=p&&s<p?p:s;this._daylightSavingAdjust(new Date(r,h,1))>s;){h--;if(h<0){h=11;r--}}}a.drawMonth=h;a.drawYear=r;s=this._get(a,"prevText");s=!m?s:this.formatDate(s,this._daylightSavingAdjust(new Date(r,h-l,1)),this._getFormatConfig(a));
309
- s=this._canAdjustMonth(a,-1,r,h)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+e+".datepicker._adjustDate('#"+a.id+"', -"+l+", 'M');\" title=\""+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(g?"e":"w")+'">'+s+"</span></a>":j?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(g?"e":"w")+'">'+s+"</span></a>";var u=this._get(a,"nextText");u=!m?u:this.formatDate(u,this._daylightSavingAdjust(new Date(r,
310
- h+l,1)),this._getFormatConfig(a));j=this._canAdjustMonth(a,+1,r,h)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+e+".datepicker._adjustDate('#"+a.id+"', +"+l+", 'M');\" title=\""+u+'"><span class="ui-icon ui-icon-circle-triangle-'+(g?"w":"e")+'">'+u+"</span></a>":j?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+u+'"><span class="ui-icon ui-icon-circle-triangle-'+(g?"w":"e")+'">'+u+"</span></a>";l=this._get(a,"currentText");u=this._get(a,"gotoCurrent")&&
311
- a.currentDay?o:f;l=!m?l:this.formatDate(l,u,this._getFormatConfig(a));m=!a.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+e+'.datepicker._hideDatepicker();">'+this._get(a,"closeText")+"</button>":"";i=i?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(g?m:"")+(this._isInRange(a,u)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+
312
- e+".datepicker._gotoToday('#"+a.id+"');\">"+l+"</button>":"")+(g?"":m)+"</div>":"";m=parseInt(this._get(a,"firstDay"),10);m=isNaN(m)?0:m;l=this._get(a,"showWeek");u=this._get(a,"dayNames");this._get(a,"dayNamesShort");var v=this._get(a,"dayNamesMin"),C=this._get(a,"monthNames"),z=this._get(a,"monthNamesShort"),w=this._get(a,"beforeShowDay"),A=this._get(a,"showOtherMonths"),I=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var L=this._getDefaultDate(a),J="",F=0;F<k[0];F++){for(var M=
313
- "",G=0;G<k[1];G++){var N=this._daylightSavingAdjust(new Date(r,h,a.selectedDay)),y=" ui-corner-all",B="";if(n){B+='<div class="ui-datepicker-group';if(k[1]>1)switch(G){case 0:B+=" ui-datepicker-group-first";y=" ui-corner-"+(g?"right":"left");break;case k[1]-1:B+=" ui-datepicker-group-last";y=" ui-corner-"+(g?"left":"right");break;default:B+=" ui-datepicker-group-middle";y="";break}B+='">'}B+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+y+'">'+(/all|left/.test(y)&&F==0?g?
314
- j:s:"")+(/all|right/.test(y)&&F==0?g?s:j:"")+this._generateMonthYearHeader(a,h,r,p,q,F>0||G>0,C,z)+'</div><table class="ui-datepicker-calendar"><thead><tr>';var D=l?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";for(y=0;y<7;y++){var x=(y+m)%7;D+="<th"+((y+m+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+u[x]+'">'+v[x]+"</span></th>"}B+=D+"</tr></thead><tbody>";D=this._getDaysInMonth(r,h);if(r==a.selectedYear&&h==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,
315
- D);y=(this._getFirstDayOfMonth(r,h)-m+7)%7;D=n?6:Math.ceil((y+D)/7);x=this._daylightSavingAdjust(new Date(r,h,1-y));for(var O=0;O<D;O++){B+="<tr>";var P=!l?"":'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(x)+"</td>";for(y=0;y<7;y++){var H=w?w.apply(a.input?a.input[0]:null,[x]):[true,""],E=x.getMonth()!=h,K=E&&!I||!H[0]||p&&x<p||q&&x>q;P+='<td class="'+((y+m+6)%7>=5?" ui-datepicker-week-end":"")+(E?" ui-datepicker-other-month":"")+(x.getTime()==N.getTime()&&h==a.selectedMonth&&
316
- a._keyEvent||L.getTime()==x.getTime()&&L.getTime()==N.getTime()?" "+this._dayOverClass:"")+(K?" "+this._unselectableClass+" ui-state-disabled":"")+(E&&!A?"":" "+H[1]+(x.getTime()==o.getTime()?" "+this._currentClass:"")+(x.getTime()==f.getTime()?" ui-datepicker-today":""))+'"'+((!E||A)&&H[2]?' title="'+H[2]+'"':"")+(K?"":' onclick="DP_jQuery_'+e+".datepicker._selectDay('#"+a.id+"',"+x.getMonth()+","+x.getFullYear()+', this);return false;"')+">"+(E&&!A?"&#xa0;":K?'<span class="ui-state-default">'+x.getDate()+
317
- "</span>":'<a class="ui-state-default'+(x.getTime()==f.getTime()?" ui-state-highlight":"")+(x.getTime()==o.getTime()?" ui-state-active":"")+(E?" ui-priority-secondary":"")+'" href="#">'+x.getDate()+"</a>")+"</td>";x.setDate(x.getDate()+1);x=this._daylightSavingAdjust(x)}B+=P+"</tr>"}h++;if(h>11){h=0;r++}B+="</tbody></table>"+(n?"</div>"+(k[0]>0&&G==k[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");M+=B}J+=M}J+=i+(c.browser.msie&&parseInt(c.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':
318
- "");a._keyEvent=false;return J},_generateMonthYearHeader:function(a,f,g,i,j,m,k,h){var l=this._get(a,"changeMonth"),n=this._get(a,"changeYear"),o=this._get(a,"showMonthAfterYear"),p='<div class="ui-datepicker-title">',q="";if(m||!l)q+='<span class="ui-datepicker-month">'+k[f]+"</span>";else{k=i&&i.getFullYear()==g;var r=j&&j.getFullYear()==g;q+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+e+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" onclick=\"DP_jQuery_"+e+".datepicker._clickMonthYear('#"+
319
- a.id+"');\">";for(var s=0;s<12;s++)if((!k||s>=i.getMonth())&&(!r||s<=j.getMonth()))q+='<option value="'+s+'"'+(s==f?' selected="selected"':"")+">"+h[s]+"</option>";q+="</select>"}o||(p+=q+(m||!(l&&n)?"&#xa0;":""));if(m||!n)p+='<span class="ui-datepicker-year">'+g+"</span>";else{h=this._get(a,"yearRange").split(":");var u=(new Date).getFullYear();k=function(v){v=v.match(/c[+-].*/)?g+parseInt(v.substring(1),10):v.match(/[+-].*/)?u+parseInt(v,10):parseInt(v,10);return isNaN(v)?u:v};f=k(h[0]);h=Math.max(f,
320
- k(h[1]||""));f=i?Math.max(f,i.getFullYear()):f;h=j?Math.min(h,j.getFullYear()):h;for(p+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+e+".datepicker._selectMonthYear('#"+a.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+e+".datepicker._clickMonthYear('#"+a.id+"');\">";f<=h;f++)p+='<option value="'+f+'"'+(f==g?' selected="selected"':"")+">"+f+"</option>";p+="</select>"}p+=this._get(a,"yearSuffix");if(o)p+=(m||!(l&&n)?"&#xa0;":"")+q;p+="</div>";return p},_adjustInstDate:function(a,f,g){var i=
321
- a.drawYear+(g=="Y"?f:0),j=a.drawMonth+(g=="M"?f:0);f=Math.min(a.selectedDay,this._getDaysInMonth(i,j))+(g=="D"?f:0);i=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(i,j,f)));a.selectedDay=i.getDate();a.drawMonth=a.selectedMonth=i.getMonth();a.drawYear=a.selectedYear=i.getFullYear();if(g=="M"||g=="Y")this._notifyChange(a)},_restrictMinMax:function(a,f){var g=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");f=g&&f<g?g:f;return f=a&&f>a?a:f},_notifyChange:function(a){var f=this._get(a,
322
- "onChangeMonthYear");if(f)f.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,f){return this._determineDate(a,this._get(a,f+"Date"),null)},_getDaysInMonth:function(a,f){return 32-(new Date(a,f,32)).getDate()},_getFirstDayOfMonth:function(a,f){return(new Date(a,f,1)).getDay()},_canAdjustMonth:function(a,f,g,i){var j=this._getNumberOfMonths(a);
323
- g=this._daylightSavingAdjust(new Date(g,i+(f<0?f:j[0]*j[1]),1));f<0&&g.setDate(this._getDaysInMonth(g.getFullYear(),g.getMonth()));return this._isInRange(a,g)},_isInRange:function(a,f){var g=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!g||f.getTime()>=g.getTime())&&(!a||f.getTime()<=a.getTime())},_getFormatConfig:function(a){var f=this._get(a,"shortYearCutoff");f=typeof f!="string"?f:(new Date).getFullYear()%100+parseInt(f,10);return{shortYearCutoff:f,dayNamesShort:this._get(a,
324
- "dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,f,g,i){if(!f){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}f=f?typeof f=="object"?f:this._daylightSavingAdjust(new Date(i,g,f)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),f,this._getFormatConfig(a))}});c.fn.datepicker=
325
- function(a){if(!c.datepicker.initialized){c(document).mousedown(c.datepicker._checkExternalClick).find("body").append(c.datepicker.dpDiv);c.datepicker.initialized=true}var f=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return c.datepicker["_"+a+"Datepicker"].apply(c.datepicker,[this[0]].concat(f));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return c.datepicker["_"+a+"Datepicker"].apply(c.datepicker,[this[0]].concat(f));
326
- return this.each(function(){typeof a=="string"?c.datepicker["_"+a+"Datepicker"].apply(c.datepicker,[this].concat(f)):c.datepicker._attachDatepicker(this,a)})};c.datepicker=new b;c.datepicker.initialized=false;c.datepicker.uuid=(new Date).getTime();c.datepicker.version="1.8.1";window["DP_jQuery_"+e]=c})(jQuery);
327
- (function(c){c.widget("ui.progressbar",{options:{value:0},_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this._valueMin(),"aria-valuemax":this._valueMax(),"aria-valuenow":this._value()});this.valueDiv=c("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
328
- this.valueDiv.remove();c.Widget.prototype.destroy.apply(this,arguments)},value:function(b){if(b===undefined)return this._value();this._setOption("value",b);return this},_setOption:function(b,d){switch(b){case "value":this.options.value=d;this._refreshValue();this._trigger("change");break}c.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var b=this.options.value;if(typeof b!=="number")b=0;if(b<this._valueMin())b=this._valueMin();if(b>this._valueMax())b=this._valueMax();return b},
329
- _valueMin:function(){return 0},_valueMax:function(){return 100},_refreshValue:function(){var b=this.value();this.valueDiv[b===this._valueMax()?"addClass":"removeClass"]("ui-corner-right").width(b+"%");this.element.attr("aria-valuenow",b)}});c.extend(c.ui.progressbar,{version:"1.8.1"})})(jQuery);
330
- jQuery.effects||function(c){function b(k){var h;if(k&&k.constructor==Array&&k.length==3)return k;if(h=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(k))return[parseInt(h[1],10),parseInt(h[2],10),parseInt(h[3],10)];if(h=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(k))return[parseFloat(h[1])*2.55,parseFloat(h[2])*2.55,parseFloat(h[3])*2.55];if(h=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(k))return[parseInt(h[1],
331
- 16),parseInt(h[2],16),parseInt(h[3],16)];if(h=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(k))return[parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16),parseInt(h[3]+h[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(k))return i.transparent;return i[c.trim(k).toLowerCase()]}function d(k,h){var l;do{l=c.curCSS(k,h);if(l!=""&&l!="transparent"||c.nodeName(k,"body"))break;h="backgroundColor"}while(k=k.parentNode);return b(l)}function e(){var k=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,
332
- h={},l,n;if(k&&k.length&&k[0]&&k[k[0]])for(var o=k.length;o--;){l=k[o];if(typeof k[l]=="string"){n=l.replace(/\-(\w)/g,function(p,q){return q.toUpperCase()});h[n]=k[l]}}else for(l in k)if(typeof k[l]==="string")h[l]=k[l];return h}function a(k){var h,l;for(h in k){l=k[h];if(l==null||c.isFunction(l)||h in m||/scrollbar/.test(h)||!/color/i.test(h)&&isNaN(parseFloat(l)))delete k[h]}return k}function f(k,h){var l={_:0},n;for(n in h)if(k[n]!=h[n])l[n]=h[n];return l}function g(k,h,l,n){if(typeof k=="object"){n=
333
- h;l=null;h=k;k=h.effect}if(c.isFunction(h)){n=h;l=null;h={}}if(c.isFunction(l)){n=l;l=null}if(typeof h=="number"||c.fx.speeds[h]){n=l;l=h;h={}}h=h||{};l=l||h.duration;l=c.fx.off?0:typeof l=="number"?l:c.fx.speeds[l]||c.fx.speeds._default;n=n||h.complete;return[k,h,l,n]}c.effects={};c.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(k,h){c.fx.step[h]=function(l){if(!l.colorInit){l.start=d(l.elem,h);l.end=b(l.end);l.colorInit=
334
- true}l.elem.style[h]="rgb("+Math.max(Math.min(parseInt(l.pos*(l.end[0]-l.start[0])+l.start[0],10),255),0)+","+Math.max(Math.min(parseInt(l.pos*(l.end[1]-l.start[1])+l.start[1],10),255),0)+","+Math.max(Math.min(parseInt(l.pos*(l.end[2]-l.start[2])+l.start[2],10),255),0)+")"}});var i={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,
335
- 183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,
336
- 165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},j=["add","remove","toggle"],m={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};c.effects.animateClass=function(k,h,l,n){if(c.isFunction(l)){n=l;l=null}return this.each(function(){var o=c(this),p=o.attr("style")||" ",q=a(e.call(this)),r,s=o.attr("className");c.each(j,function(u,
337
- v){k[v]&&o[v+"Class"](k[v])});r=a(e.call(this));o.attr("className",s);o.animate(f(q,r),h,l,function(){c.each(j,function(u,v){k[v]&&o[v+"Class"](k[v])});if(typeof o.attr("style")=="object"){o.attr("style").cssText="";o.attr("style").cssText=p}else o.attr("style",p);n&&n.apply(this,arguments)})})};c.fn.extend({_addClass:c.fn.addClass,addClass:function(k,h,l,n){return h?c.effects.animateClass.apply(this,[{add:k},h,l,n]):this._addClass(k)},_removeClass:c.fn.removeClass,removeClass:function(k,h,l,n){return h?
338
- c.effects.animateClass.apply(this,[{remove:k},h,l,n]):this._removeClass(k)},_toggleClass:c.fn.toggleClass,toggleClass:function(k,h,l,n,o){return typeof h=="boolean"||h===undefined?l?c.effects.animateClass.apply(this,[h?{add:k}:{remove:k},l,n,o]):this._toggleClass(k,h):c.effects.animateClass.apply(this,[{toggle:k},h,l,n])},switchClass:function(k,h,l,n,o){return c.effects.animateClass.apply(this,[{add:h,remove:k},l,n,o])}});c.extend(c.effects,{version:"1.8.1",save:function(k,h){for(var l=0;l<h.length;l++)h[l]!==
339
- null&&k.data("ec.storage."+h[l],k[0].style[h[l]])},restore:function(k,h){for(var l=0;l<h.length;l++)h[l]!==null&&k.css(h[l],k.data("ec.storage."+h[l]))},setMode:function(k,h){if(h=="toggle")h=k.is(":hidden")?"show":"hide";return h},getBaseline:function(k,h){var l;switch(k[0]){case "top":l=0;break;case "middle":l=0.5;break;case "bottom":l=1;break;default:l=k[0]/h.height}switch(k[1]){case "left":k=0;break;case "center":k=0.5;break;case "right":k=1;break;default:k=k[1]/h.width}return{x:k,y:l}},createWrapper:function(k){if(k.parent().is(".ui-effects-wrapper"))return k.parent();
340
- var h={width:k.outerWidth(true),height:k.outerHeight(true),"float":k.css("float")},l=c("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});k.wrap(l);l=k.parent();if(k.css("position")=="static"){l.css({position:"relative"});k.css({position:"relative"})}else{c.extend(h,{position:k.css("position"),zIndex:k.css("z-index")});c.each(["top","left","bottom","right"],function(n,o){h[o]=k.css(o);if(isNaN(parseInt(h[o],10)))h[o]="auto"});
341
- k.css({position:"relative",top:0,left:0})}return l.css(h).show()},removeWrapper:function(k){if(k.parent().is(".ui-effects-wrapper"))return k.parent().replaceWith(k);return k},setTransition:function(k,h,l,n){n=n||{};c.each(h,function(o,p){unit=k.cssUnit(p);if(unit[0]>0)n[p]=unit[0]*l+unit[1]});return n}});c.fn.extend({effect:function(k){var h=g.apply(this,arguments);h={options:h[1],duration:h[2],callback:h[3]};var l=c.effects[k];return l&&!c.fx.off?l.call(this,h):this},_show:c.fn.show,show:function(k){if(!k||
342
- typeof k=="number"||c.fx.speeds[k])return this._show.apply(this,arguments);else{var h=g.apply(this,arguments);h[1].mode="show";return this.effect.apply(this,h)}},_hide:c.fn.hide,hide:function(k){if(!k||typeof k=="number"||c.fx.speeds[k])return this._hide.apply(this,arguments);else{var h=g.apply(this,arguments);h[1].mode="hide";return this.effect.apply(this,h)}},__toggle:c.fn.toggle,toggle:function(k){if(!k||typeof k=="number"||c.fx.speeds[k]||typeof k=="boolean"||c.isFunction(k))return this.__toggle.apply(this,
343
- arguments);else{var h=g.apply(this,arguments);h[1].mode="toggle";return this.effect.apply(this,h)}},cssUnit:function(k){var h=this.css(k),l=[];c.each(["em","px","%","pt"],function(n,o){if(h.indexOf(o)>0)l=[parseFloat(h),o]});return l}});c.easing.jswing=c.easing.swing;c.extend(c.easing,{def:"easeOutQuad",swing:function(k,h,l,n,o){return c.easing[c.easing.def](k,h,l,n,o)},easeInQuad:function(k,h,l,n,o){return n*(h/=o)*h+l},easeOutQuad:function(k,h,l,n,o){return-n*(h/=o)*(h-2)+l},easeInOutQuad:function(k,
344
- h,l,n,o){if((h/=o/2)<1)return n/2*h*h+l;return-n/2*(--h*(h-2)-1)+l},easeInCubic:function(k,h,l,n,o){return n*(h/=o)*h*h+l},easeOutCubic:function(k,h,l,n,o){return n*((h=h/o-1)*h*h+1)+l},easeInOutCubic:function(k,h,l,n,o){if((h/=o/2)<1)return n/2*h*h*h+l;return n/2*((h-=2)*h*h+2)+l},easeInQuart:function(k,h,l,n,o){return n*(h/=o)*h*h*h+l},easeOutQuart:function(k,h,l,n,o){return-n*((h=h/o-1)*h*h*h-1)+l},easeInOutQuart:function(k,h,l,n,o){if((h/=o/2)<1)return n/2*h*h*h*h+l;return-n/2*((h-=2)*h*h*h-2)+
345
- l},easeInQuint:function(k,h,l,n,o){return n*(h/=o)*h*h*h*h+l},easeOutQuint:function(k,h,l,n,o){return n*((h=h/o-1)*h*h*h*h+1)+l},easeInOutQuint:function(k,h,l,n,o){if((h/=o/2)<1)return n/2*h*h*h*h*h+l;return n/2*((h-=2)*h*h*h*h+2)+l},easeInSine:function(k,h,l,n,o){return-n*Math.cos(h/o*(Math.PI/2))+n+l},easeOutSine:function(k,h,l,n,o){return n*Math.sin(h/o*(Math.PI/2))+l},easeInOutSine:function(k,h,l,n,o){return-n/2*(Math.cos(Math.PI*h/o)-1)+l},easeInExpo:function(k,h,l,n,o){return h==0?l:n*Math.pow(2,
346
- 10*(h/o-1))+l},easeOutExpo:function(k,h,l,n,o){return h==o?l+n:n*(-Math.pow(2,-10*h/o)+1)+l},easeInOutExpo:function(k,h,l,n,o){if(h==0)return l;if(h==o)return l+n;if((h/=o/2)<1)return n/2*Math.pow(2,10*(h-1))+l;return n/2*(-Math.pow(2,-10*--h)+2)+l},easeInCirc:function(k,h,l,n,o){return-n*(Math.sqrt(1-(h/=o)*h)-1)+l},easeOutCirc:function(k,h,l,n,o){return n*Math.sqrt(1-(h=h/o-1)*h)+l},easeInOutCirc:function(k,h,l,n,o){if((h/=o/2)<1)return-n/2*(Math.sqrt(1-h*h)-1)+l;return n/2*(Math.sqrt(1-(h-=2)*
347
- h)+1)+l},easeInElastic:function(k,h,l,n,o){k=1.70158;var p=0,q=n;if(h==0)return l;if((h/=o)==1)return l+n;p||(p=o*0.3);if(q<Math.abs(n)){q=n;k=p/4}else k=p/(2*Math.PI)*Math.asin(n/q);return-(q*Math.pow(2,10*(h-=1))*Math.sin((h*o-k)*2*Math.PI/p))+l},easeOutElastic:function(k,h,l,n,o){k=1.70158;var p=0,q=n;if(h==0)return l;if((h/=o)==1)return l+n;p||(p=o*0.3);if(q<Math.abs(n)){q=n;k=p/4}else k=p/(2*Math.PI)*Math.asin(n/q);return q*Math.pow(2,-10*h)*Math.sin((h*o-k)*2*Math.PI/p)+n+l},easeInOutElastic:function(k,
348
- h,l,n,o){k=1.70158;var p=0,q=n;if(h==0)return l;if((h/=o/2)==2)return l+n;p||(p=o*0.3*1.5);if(q<Math.abs(n)){q=n;k=p/4}else k=p/(2*Math.PI)*Math.asin(n/q);if(h<1)return-0.5*q*Math.pow(2,10*(h-=1))*Math.sin((h*o-k)*2*Math.PI/p)+l;return q*Math.pow(2,-10*(h-=1))*Math.sin((h*o-k)*2*Math.PI/p)*0.5+n+l},easeInBack:function(k,h,l,n,o,p){if(p==undefined)p=1.70158;return n*(h/=o)*h*((p+1)*h-p)+l},easeOutBack:function(k,h,l,n,o,p){if(p==undefined)p=1.70158;return n*((h=h/o-1)*h*((p+1)*h+p)+1)+l},easeInOutBack:function(k,
349
- h,l,n,o,p){if(p==undefined)p=1.70158;if((h/=o/2)<1)return n/2*h*h*(((p*=1.525)+1)*h-p)+l;return n/2*((h-=2)*h*(((p*=1.525)+1)*h+p)+2)+l},easeInBounce:function(k,h,l,n,o){return n-c.easing.easeOutBounce(k,o-h,0,n,o)+l},easeOutBounce:function(k,h,l,n,o){return(h/=o)<1/2.75?n*7.5625*h*h+l:h<2/2.75?n*(7.5625*(h-=1.5/2.75)*h+0.75)+l:h<2.5/2.75?n*(7.5625*(h-=2.25/2.75)*h+0.9375)+l:n*(7.5625*(h-=2.625/2.75)*h+0.984375)+l},easeInOutBounce:function(k,h,l,n,o){if(h<o/2)return c.easing.easeInBounce(k,h*2,0,
350
- n,o)*0.5+l;return c.easing.easeOutBounce(k,h*2-o,0,n,o)*0.5+n*0.5+l}})}(jQuery);
351
- (function(c){c.effects.blind=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"],a=c.effects.setMode(d,b.options.mode||"hide"),f=b.options.direction||"vertical";c.effects.save(d,e);d.show();var g=c.effects.createWrapper(d).css({overflow:"hidden"}),i=f=="vertical"?"height":"width";f=f=="vertical"?g.height():g.width();a=="show"&&g.css(i,0);var j={};j[i]=a=="show"?f:0;g.animate(j,b.duration,b.options.easing,function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);
352
- b.callback&&b.callback.apply(d[0],arguments);d.dequeue()})})}})(jQuery);
353
- (function(c){c.effects.bounce=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"],a=c.effects.setMode(d,b.options.mode||"effect"),f=b.options.direction||"up",g=b.options.distance||20,i=b.options.times||5,j=b.duration||250;/show|hide/.test(a)&&e.push("opacity");c.effects.save(d,e);d.show();c.effects.createWrapper(d);var m=f=="up"||f=="down"?"top":"left";f=f=="up"||f=="left"?"pos":"neg";g=b.options.distance||(m=="top"?d.outerHeight({margin:true})/3:d.outerWidth({margin:true})/
354
- 3);if(a=="show")d.css("opacity",0).css(m,f=="pos"?-g:g);if(a=="hide")g/=i*2;a!="hide"&&i--;if(a=="show"){var k={opacity:1};k[m]=(f=="pos"?"+=":"-=")+g;d.animate(k,j/2,b.options.easing);g/=2;i--}for(k=0;k<i;k++){var h={},l={};h[m]=(f=="pos"?"-=":"+=")+g;l[m]=(f=="pos"?"+=":"-=")+g;d.animate(h,j/2,b.options.easing).animate(l,j/2,b.options.easing);g=a=="hide"?g*2:g/2}if(a=="hide"){k={opacity:0};k[m]=(f=="pos"?"-=":"+=")+g;d.animate(k,j/2,b.options.easing,function(){d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);
355
- b.callback&&b.callback.apply(this,arguments)})}else{h={};l={};h[m]=(f=="pos"?"-=":"+=")+g;l[m]=(f=="pos"?"+=":"-=")+g;d.animate(h,j/2,b.options.easing).animate(l,j/2,b.options.easing,function(){c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(this,arguments)})}d.queue("fx",function(){d.dequeue()});d.dequeue()})}})(jQuery);
356
- (function(c){c.effects.clip=function(b){return this.queue(function(){var d=c(this),e=["position","top","left","height","width"],a=c.effects.setMode(d,b.options.mode||"hide"),f=b.options.direction||"vertical";c.effects.save(d,e);d.show();var g=c.effects.createWrapper(d).css({overflow:"hidden"});g=d[0].tagName=="IMG"?g:d;var i={size:f=="vertical"?"height":"width",position:f=="vertical"?"top":"left"};f=f=="vertical"?g.height():g.width();if(a=="show"){g.css(i.size,0);g.css(i.position,f/2)}var j={};j[i.size]=
357
- a=="show"?f:0;j[i.position]=a=="show"?0:f/2;g.animate(j,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(d[0],arguments);d.dequeue()}})})}})(jQuery);
358
- (function(c){c.effects.drop=function(b){return this.queue(function(){var d=c(this),e=["position","top","left","opacity"],a=c.effects.setMode(d,b.options.mode||"hide"),f=b.options.direction||"left";c.effects.save(d,e);d.show();c.effects.createWrapper(d);var g=f=="up"||f=="down"?"top":"left";f=f=="up"||f=="left"?"pos":"neg";var i=b.options.distance||(g=="top"?d.outerHeight({margin:true})/2:d.outerWidth({margin:true})/2);if(a=="show")d.css("opacity",0).css(g,f=="pos"?-i:i);var j={opacity:a=="show"?1:
359
- 0};j[g]=(a=="show"?f=="pos"?"+=":"-=":f=="pos"?"-=":"+=")+i;d.animate(j,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
360
- (function(c){c.effects.explode=function(b){return this.queue(function(){var d=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3,e=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode=="toggle"?c(this).is(":visible")?"hide":"show":b.options.mode;var a=c(this).show().css("visibility","hidden"),f=a.offset();f.top-=parseInt(a.css("marginTop"),10)||0;f.left-=parseInt(a.css("marginLeft"),10)||0;for(var g=a.outerWidth(true),i=a.outerHeight(true),j=0;j<d;j++)for(var m=
361
- 0;m<e;m++)a.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-m*(g/e),top:-j*(i/d)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g/e,height:i/d,left:f.left+m*(g/e)+(b.options.mode=="show"?(m-Math.floor(e/2))*(g/e):0),top:f.top+j*(i/d)+(b.options.mode=="show"?(j-Math.floor(d/2))*(i/d):0),opacity:b.options.mode=="show"?0:1}).animate({left:f.left+m*(g/e)+(b.options.mode=="show"?0:(m-Math.floor(e/2))*(g/e)),top:f.top+
362
- j*(i/d)+(b.options.mode=="show"?0:(j-Math.floor(d/2))*(i/d)),opacity:b.options.mode=="show"?1:0},b.duration||500);setTimeout(function(){b.options.mode=="show"?a.css({visibility:"visible"}):a.css({visibility:"visible"}).hide();b.callback&&b.callback.apply(a[0]);a.dequeue();c("div.ui-effects-explode").remove()},b.duration||500)})}})(jQuery);
363
- (function(c){c.effects.fold=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"],a=c.effects.setMode(d,b.options.mode||"hide"),f=b.options.size||15,g=!!b.options.horizFirst,i=b.duration?b.duration/2:c.fx.speeds._default/2;c.effects.save(d,e);d.show();var j=c.effects.createWrapper(d).css({overflow:"hidden"}),m=a=="show"!=g,k=m?["width","height"]:["height","width"];m=m?[j.width(),j.height()]:[j.height(),j.width()];var h=/([0-9]+)%/.exec(f);if(h)f=parseInt(h[1],10)/100*
364
- m[a=="hide"?0:1];if(a=="show")j.css(g?{height:0,width:f}:{height:f,width:0});g={};h={};g[k[0]]=a=="show"?m[0]:f;h[k[1]]=a=="show"?m[1]:0;j.animate(g,i,b.options.easing).animate(h,i,b.options.easing,function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(d[0],arguments);d.dequeue()})})}})(jQuery);
365
- (function(c){c.effects.highlight=function(b){return this.queue(function(){var d=c(this),e=["backgroundImage","backgroundColor","opacity"],a=c.effects.setMode(d,b.options.mode||"show"),f={backgroundColor:d.css("backgroundColor")};if(a=="hide")f.opacity=0;c.effects.save(d,e);d.show().css({backgroundImage:"none",backgroundColor:b.options.color||"#ffff99"}).animate(f,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a=="hide"&&d.hide();c.effects.restore(d,e);a=="show"&&!c.support.opacity&&
366
- this.style.removeAttribute("filter");b.callback&&b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
367
- (function(c){c.effects.pulsate=function(b){return this.queue(function(){var d=c(this),e=c.effects.setMode(d,b.options.mode||"show");times=(b.options.times||5)*2-1;duration=b.duration?b.duration/2:c.fx.speeds._default/2;isVisible=d.is(":visible");animateTo=0;if(!isVisible){d.css("opacity",0).show();animateTo=1}if(e=="hide"&&isVisible||e=="show"&&!isVisible)times--;for(e=0;e<times;e++){d.animate({opacity:animateTo},duration,b.options.easing);animateTo=(animateTo+1)%2}d.animate({opacity:animateTo},duration,
368
- b.options.easing,function(){animateTo==0&&d.hide();b.callback&&b.callback.apply(this,arguments)});d.queue("fx",function(){d.dequeue()}).dequeue()})}})(jQuery);
369
- (function(c){c.effects.puff=function(b){return this.queue(function(){var d=c(this),e=c.effects.setMode(d,b.options.mode||"hide"),a=parseInt(b.options.percent,10)||150,f=a/100,g={height:d.height(),width:d.width()};c.extend(b.options,{fade:true,mode:e,percent:e=="hide"?a:100,from:e=="hide"?g:{height:g.height*f,width:g.width*f}});d.effect("scale",b.options,b.duration,b.callback);d.dequeue()})};c.effects.scale=function(b){return this.queue(function(){var d=c(this),e=c.extend(true,{},b.options),a=c.effects.setMode(d,
370
- b.options.mode||"effect"),f=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:a=="hide"?0:100),g=b.options.direction||"both",i=b.options.origin;if(a!="effect"){e.origin=i||["middle","center"];e.restore=true}i={height:d.height(),width:d.width()};d.from=b.options.from||(a=="show"?{height:0,width:0}:i);f={y:g!="horizontal"?f/100:1,x:g!="vertical"?f/100:1};d.to={height:i.height*f.y,width:i.width*f.x};if(b.options.fade){if(a=="show"){d.from.opacity=0;d.to.opacity=1}if(a=="hide"){d.from.opacity=
371
- 1;d.to.opacity=0}}e.from=d.from;e.to=d.to;e.mode=a;d.effect("size",e,b.duration,b.callback);d.dequeue()})};c.effects.size=function(b){return this.queue(function(){var d=c(this),e=["position","top","left","width","height","overflow","opacity"],a=["position","top","left","overflow","opacity"],f=["width","height","overflow"],g=["fontSize"],i=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],j=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],m=c.effects.setMode(d,
372
- b.options.mode||"effect"),k=b.options.restore||false,h=b.options.scale||"both",l=b.options.origin,n={height:d.height(),width:d.width()};d.from=b.options.from||n;d.to=b.options.to||n;if(l){l=c.effects.getBaseline(l,n);d.from.top=(n.height-d.from.height)*l.y;d.from.left=(n.width-d.from.width)*l.x;d.to.top=(n.height-d.to.height)*l.y;d.to.left=(n.width-d.to.width)*l.x}var o={from:{y:d.from.height/n.height,x:d.from.width/n.width},to:{y:d.to.height/n.height,x:d.to.width/n.width}};if(h=="box"||h=="both"){if(o.from.y!=
373
- o.to.y){e=e.concat(i);d.from=c.effects.setTransition(d,i,o.from.y,d.from);d.to=c.effects.setTransition(d,i,o.to.y,d.to)}if(o.from.x!=o.to.x){e=e.concat(j);d.from=c.effects.setTransition(d,j,o.from.x,d.from);d.to=c.effects.setTransition(d,j,o.to.x,d.to)}}if(h=="content"||h=="both")if(o.from.y!=o.to.y){e=e.concat(g);d.from=c.effects.setTransition(d,g,o.from.y,d.from);d.to=c.effects.setTransition(d,g,o.to.y,d.to)}c.effects.save(d,k?e:a);d.show();c.effects.createWrapper(d);d.css("overflow","hidden").css(d.from);
374
- if(h=="content"||h=="both"){i=i.concat(["marginTop","marginBottom"]).concat(g);j=j.concat(["marginLeft","marginRight"]);f=e.concat(i).concat(j);d.find("*[width]").each(function(){child=c(this);k&&c.effects.save(child,f);var p={height:child.height(),width:child.width()};child.from={height:p.height*o.from.y,width:p.width*o.from.x};child.to={height:p.height*o.to.y,width:p.width*o.to.x};if(o.from.y!=o.to.y){child.from=c.effects.setTransition(child,i,o.from.y,child.from);child.to=c.effects.setTransition(child,
375
- i,o.to.y,child.to)}if(o.from.x!=o.to.x){child.from=c.effects.setTransition(child,j,o.from.x,child.from);child.to=c.effects.setTransition(child,j,o.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){k&&c.effects.restore(child,f)})})}d.animate(d.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){d.to.opacity===0&&d.css("opacity",d.from.opacity);m=="hide"&&d.hide();c.effects.restore(d,k?e:a);c.effects.removeWrapper(d);b.callback&&
376
- b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
377
- (function(c){c.effects.shake=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"];c.effects.setMode(d,b.options.mode||"effect");var a=b.options.direction||"left",f=b.options.distance||20,g=b.options.times||3,i=b.duration||b.options.duration||140;c.effects.save(d,e);d.show();c.effects.createWrapper(d);var j=a=="up"||a=="down"?"top":"left",m=a=="up"||a=="left"?"pos":"neg";a={};var k={},h={};a[j]=(m=="pos"?"-=":"+=")+f;k[j]=(m=="pos"?"+=":"-=")+f*2;h[j]=(m=="pos"?"-=":"+=")+
378
- f*2;d.animate(a,i,b.options.easing);for(f=1;f<g;f++)d.animate(k,i,b.options.easing).animate(h,i,b.options.easing);d.animate(k,i,b.options.easing).animate(a,i/2,b.options.easing,function(){c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(this,arguments)});d.queue("fx",function(){d.dequeue()});d.dequeue()})}})(jQuery);
379
- (function(c){c.effects.slide=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"],a=c.effects.setMode(d,b.options.mode||"show"),f=b.options.direction||"left";c.effects.save(d,e);d.show();c.effects.createWrapper(d).css({overflow:"hidden"});var g=f=="up"||f=="down"?"top":"left";f=f=="up"||f=="left"?"pos":"neg";var i=b.options.distance||(g=="top"?d.outerHeight({margin:true}):d.outerWidth({margin:true}));if(a=="show")d.css(g,f=="pos"?-i:i);var j={};j[g]=(a=="show"?f=="pos"?
380
- "+=":"-=":f=="pos"?"-=":"+=")+i;d.animate(j,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
381
- (function(c){c.effects.transfer=function(b){return this.queue(function(){var d=c(this),e=c(b.options.to),a=e.offset();e={top:a.top,left:a.left,height:e.innerHeight(),width:e.innerWidth()};a=d.offset();var f=c('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({top:a.top,left:a.left,height:d.innerHeight(),width:d.innerWidth(),position:"absolute"}).animate(e,b.duration,b.options.easing,function(){f.remove();b.callback&&b.callback.apply(d[0],arguments);
382
- d.dequeue()})})}})(jQuery);
383
- (function(c){c.effects.blind=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"],a=c.effects.setMode(d,b.options.mode||"hide"),f=b.options.direction||"vertical";c.effects.save(d,e);d.show();var g=c.effects.createWrapper(d).css({overflow:"hidden"}),i=f=="vertical"?"height":"width";f=f=="vertical"?g.height():g.width();a=="show"&&g.css(i,0);var j={};j[i]=a=="show"?f:0;g.animate(j,b.duration,b.options.easing,function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);
384
- b.callback&&b.callback.apply(d[0],arguments);d.dequeue()})})}})(jQuery);
385
- (function(c){c.effects.bounce=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"],a=c.effects.setMode(d,b.options.mode||"effect"),f=b.options.direction||"up",g=b.options.distance||20,i=b.options.times||5,j=b.duration||250;/show|hide/.test(a)&&e.push("opacity");c.effects.save(d,e);d.show();c.effects.createWrapper(d);var m=f=="up"||f=="down"?"top":"left";f=f=="up"||f=="left"?"pos":"neg";g=b.options.distance||(m=="top"?d.outerHeight({margin:true})/3:d.outerWidth({margin:true})/
386
- 3);if(a=="show")d.css("opacity",0).css(m,f=="pos"?-g:g);if(a=="hide")g/=i*2;a!="hide"&&i--;if(a=="show"){var k={opacity:1};k[m]=(f=="pos"?"+=":"-=")+g;d.animate(k,j/2,b.options.easing);g/=2;i--}for(k=0;k<i;k++){var h={},l={};h[m]=(f=="pos"?"-=":"+=")+g;l[m]=(f=="pos"?"+=":"-=")+g;d.animate(h,j/2,b.options.easing).animate(l,j/2,b.options.easing);g=a=="hide"?g*2:g/2}if(a=="hide"){k={opacity:0};k[m]=(f=="pos"?"-=":"+=")+g;d.animate(k,j/2,b.options.easing,function(){d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);
387
- b.callback&&b.callback.apply(this,arguments)})}else{h={};l={};h[m]=(f=="pos"?"-=":"+=")+g;l[m]=(f=="pos"?"+=":"-=")+g;d.animate(h,j/2,b.options.easing).animate(l,j/2,b.options.easing,function(){c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(this,arguments)})}d.queue("fx",function(){d.dequeue()});d.dequeue()})}})(jQuery);
388
- (function(c){c.effects.clip=function(b){return this.queue(function(){var d=c(this),e=["position","top","left","height","width"],a=c.effects.setMode(d,b.options.mode||"hide"),f=b.options.direction||"vertical";c.effects.save(d,e);d.show();var g=c.effects.createWrapper(d).css({overflow:"hidden"});g=d[0].tagName=="IMG"?g:d;var i={size:f=="vertical"?"height":"width",position:f=="vertical"?"top":"left"};f=f=="vertical"?g.height():g.width();if(a=="show"){g.css(i.size,0);g.css(i.position,f/2)}var j={};j[i.size]=
389
- a=="show"?f:0;j[i.position]=a=="show"?0:f/2;g.animate(j,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(d[0],arguments);d.dequeue()}})})}})(jQuery);
390
- jQuery.effects||function(c){function b(k){var h;if(k&&k.constructor==Array&&k.length==3)return k;if(h=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(k))return[parseInt(h[1],10),parseInt(h[2],10),parseInt(h[3],10)];if(h=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(k))return[parseFloat(h[1])*2.55,parseFloat(h[2])*2.55,parseFloat(h[3])*2.55];if(h=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(k))return[parseInt(h[1],
391
- 16),parseInt(h[2],16),parseInt(h[3],16)];if(h=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(k))return[parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16),parseInt(h[3]+h[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(k))return i.transparent;return i[c.trim(k).toLowerCase()]}function d(k,h){var l;do{l=c.curCSS(k,h);if(l!=""&&l!="transparent"||c.nodeName(k,"body"))break;h="backgroundColor"}while(k=k.parentNode);return b(l)}function e(){var k=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,
392
- h={},l,n;if(k&&k.length&&k[0]&&k[k[0]])for(var o=k.length;o--;){l=k[o];if(typeof k[l]=="string"){n=l.replace(/\-(\w)/g,function(p,q){return q.toUpperCase()});h[n]=k[l]}}else for(l in k)if(typeof k[l]==="string")h[l]=k[l];return h}function a(k){var h,l;for(h in k){l=k[h];if(l==null||c.isFunction(l)||h in m||/scrollbar/.test(h)||!/color/i.test(h)&&isNaN(parseFloat(l)))delete k[h]}return k}function f(k,h){var l={_:0},n;for(n in h)if(k[n]!=h[n])l[n]=h[n];return l}function g(k,h,l,n){if(typeof k=="object"){n=
393
- h;l=null;h=k;k=h.effect}if(c.isFunction(h)){n=h;l=null;h={}}if(c.isFunction(l)){n=l;l=null}if(typeof h=="number"||c.fx.speeds[h]){n=l;l=h;h={}}h=h||{};l=l||h.duration;l=c.fx.off?0:typeof l=="number"?l:c.fx.speeds[l]||c.fx.speeds._default;n=n||h.complete;return[k,h,l,n]}c.effects={};c.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(k,h){c.fx.step[h]=function(l){if(!l.colorInit){l.start=d(l.elem,h);l.end=b(l.end);l.colorInit=
394
- true}l.elem.style[h]="rgb("+Math.max(Math.min(parseInt(l.pos*(l.end[0]-l.start[0])+l.start[0],10),255),0)+","+Math.max(Math.min(parseInt(l.pos*(l.end[1]-l.start[1])+l.start[1],10),255),0)+","+Math.max(Math.min(parseInt(l.pos*(l.end[2]-l.start[2])+l.start[2],10),255),0)+")"}});var i={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,
395
- 183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,
396
- 165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},j=["add","remove","toggle"],m={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};c.effects.animateClass=function(k,h,l,n){if(c.isFunction(l)){n=l;l=null}return this.each(function(){var o=c(this),p=o.attr("style")||" ",q=a(e.call(this)),r,s=o.attr("className");c.each(j,function(u,
397
- v){k[v]&&o[v+"Class"](k[v])});r=a(e.call(this));o.attr("className",s);o.animate(f(q,r),h,l,function(){c.each(j,function(u,v){k[v]&&o[v+"Class"](k[v])});if(typeof o.attr("style")=="object"){o.attr("style").cssText="";o.attr("style").cssText=p}else o.attr("style",p);n&&n.apply(this,arguments)})})};c.fn.extend({_addClass:c.fn.addClass,addClass:function(k,h,l,n){return h?c.effects.animateClass.apply(this,[{add:k},h,l,n]):this._addClass(k)},_removeClass:c.fn.removeClass,removeClass:function(k,h,l,n){return h?
398
- c.effects.animateClass.apply(this,[{remove:k},h,l,n]):this._removeClass(k)},_toggleClass:c.fn.toggleClass,toggleClass:function(k,h,l,n,o){return typeof h=="boolean"||h===undefined?l?c.effects.animateClass.apply(this,[h?{add:k}:{remove:k},l,n,o]):this._toggleClass(k,h):c.effects.animateClass.apply(this,[{toggle:k},h,l,n])},switchClass:function(k,h,l,n,o){return c.effects.animateClass.apply(this,[{add:h,remove:k},l,n,o])}});c.extend(c.effects,{version:"1.8.1",save:function(k,h){for(var l=0;l<h.length;l++)h[l]!==
399
- null&&k.data("ec.storage."+h[l],k[0].style[h[l]])},restore:function(k,h){for(var l=0;l<h.length;l++)h[l]!==null&&k.css(h[l],k.data("ec.storage."+h[l]))},setMode:function(k,h){if(h=="toggle")h=k.is(":hidden")?"show":"hide";return h},getBaseline:function(k,h){var l;switch(k[0]){case "top":l=0;break;case "middle":l=0.5;break;case "bottom":l=1;break;default:l=k[0]/h.height}switch(k[1]){case "left":k=0;break;case "center":k=0.5;break;case "right":k=1;break;default:k=k[1]/h.width}return{x:k,y:l}},createWrapper:function(k){if(k.parent().is(".ui-effects-wrapper"))return k.parent();
400
- var h={width:k.outerWidth(true),height:k.outerHeight(true),"float":k.css("float")},l=c("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});k.wrap(l);l=k.parent();if(k.css("position")=="static"){l.css({position:"relative"});k.css({position:"relative"})}else{c.extend(h,{position:k.css("position"),zIndex:k.css("z-index")});c.each(["top","left","bottom","right"],function(n,o){h[o]=k.css(o);if(isNaN(parseInt(h[o],10)))h[o]="auto"});
401
- k.css({position:"relative",top:0,left:0})}return l.css(h).show()},removeWrapper:function(k){if(k.parent().is(".ui-effects-wrapper"))return k.parent().replaceWith(k);return k},setTransition:function(k,h,l,n){n=n||{};c.each(h,function(o,p){unit=k.cssUnit(p);if(unit[0]>0)n[p]=unit[0]*l+unit[1]});return n}});c.fn.extend({effect:function(k){var h=g.apply(this,arguments);h={options:h[1],duration:h[2],callback:h[3]};var l=c.effects[k];return l&&!c.fx.off?l.call(this,h):this},_show:c.fn.show,show:function(k){if(!k||
402
- typeof k=="number"||c.fx.speeds[k])return this._show.apply(this,arguments);else{var h=g.apply(this,arguments);h[1].mode="show";return this.effect.apply(this,h)}},_hide:c.fn.hide,hide:function(k){if(!k||typeof k=="number"||c.fx.speeds[k])return this._hide.apply(this,arguments);else{var h=g.apply(this,arguments);h[1].mode="hide";return this.effect.apply(this,h)}},__toggle:c.fn.toggle,toggle:function(k){if(!k||typeof k=="number"||c.fx.speeds[k]||typeof k=="boolean"||c.isFunction(k))return this.__toggle.apply(this,
403
- arguments);else{var h=g.apply(this,arguments);h[1].mode="toggle";return this.effect.apply(this,h)}},cssUnit:function(k){var h=this.css(k),l=[];c.each(["em","px","%","pt"],function(n,o){if(h.indexOf(o)>0)l=[parseFloat(h),o]});return l}});c.easing.jswing=c.easing.swing;c.extend(c.easing,{def:"easeOutQuad",swing:function(k,h,l,n,o){return c.easing[c.easing.def](k,h,l,n,o)},easeInQuad:function(k,h,l,n,o){return n*(h/=o)*h+l},easeOutQuad:function(k,h,l,n,o){return-n*(h/=o)*(h-2)+l},easeInOutQuad:function(k,
404
- h,l,n,o){if((h/=o/2)<1)return n/2*h*h+l;return-n/2*(--h*(h-2)-1)+l},easeInCubic:function(k,h,l,n,o){return n*(h/=o)*h*h+l},easeOutCubic:function(k,h,l,n,o){return n*((h=h/o-1)*h*h+1)+l},easeInOutCubic:function(k,h,l,n,o){if((h/=o/2)<1)return n/2*h*h*h+l;return n/2*((h-=2)*h*h+2)+l},easeInQuart:function(k,h,l,n,o){return n*(h/=o)*h*h*h+l},easeOutQuart:function(k,h,l,n,o){return-n*((h=h/o-1)*h*h*h-1)+l},easeInOutQuart:function(k,h,l,n,o){if((h/=o/2)<1)return n/2*h*h*h*h+l;return-n/2*((h-=2)*h*h*h-2)+
405
- l},easeInQuint:function(k,h,l,n,o){return n*(h/=o)*h*h*h*h+l},easeOutQuint:function(k,h,l,n,o){return n*((h=h/o-1)*h*h*h*h+1)+l},easeInOutQuint:function(k,h,l,n,o){if((h/=o/2)<1)return n/2*h*h*h*h*h+l;return n/2*((h-=2)*h*h*h*h+2)+l},easeInSine:function(k,h,l,n,o){return-n*Math.cos(h/o*(Math.PI/2))+n+l},easeOutSine:function(k,h,l,n,o){return n*Math.sin(h/o*(Math.PI/2))+l},easeInOutSine:function(k,h,l,n,o){return-n/2*(Math.cos(Math.PI*h/o)-1)+l},easeInExpo:function(k,h,l,n,o){return h==0?l:n*Math.pow(2,
406
- 10*(h/o-1))+l},easeOutExpo:function(k,h,l,n,o){return h==o?l+n:n*(-Math.pow(2,-10*h/o)+1)+l},easeInOutExpo:function(k,h,l,n,o){if(h==0)return l;if(h==o)return l+n;if((h/=o/2)<1)return n/2*Math.pow(2,10*(h-1))+l;return n/2*(-Math.pow(2,-10*--h)+2)+l},easeInCirc:function(k,h,l,n,o){return-n*(Math.sqrt(1-(h/=o)*h)-1)+l},easeOutCirc:function(k,h,l,n,o){return n*Math.sqrt(1-(h=h/o-1)*h)+l},easeInOutCirc:function(k,h,l,n,o){if((h/=o/2)<1)return-n/2*(Math.sqrt(1-h*h)-1)+l;return n/2*(Math.sqrt(1-(h-=2)*
407
- h)+1)+l},easeInElastic:function(k,h,l,n,o){k=1.70158;var p=0,q=n;if(h==0)return l;if((h/=o)==1)return l+n;p||(p=o*0.3);if(q<Math.abs(n)){q=n;k=p/4}else k=p/(2*Math.PI)*Math.asin(n/q);return-(q*Math.pow(2,10*(h-=1))*Math.sin((h*o-k)*2*Math.PI/p))+l},easeOutElastic:function(k,h,l,n,o){k=1.70158;var p=0,q=n;if(h==0)return l;if((h/=o)==1)return l+n;p||(p=o*0.3);if(q<Math.abs(n)){q=n;k=p/4}else k=p/(2*Math.PI)*Math.asin(n/q);return q*Math.pow(2,-10*h)*Math.sin((h*o-k)*2*Math.PI/p)+n+l},easeInOutElastic:function(k,
408
- h,l,n,o){k=1.70158;var p=0,q=n;if(h==0)return l;if((h/=o/2)==2)return l+n;p||(p=o*0.3*1.5);if(q<Math.abs(n)){q=n;k=p/4}else k=p/(2*Math.PI)*Math.asin(n/q);if(h<1)return-0.5*q*Math.pow(2,10*(h-=1))*Math.sin((h*o-k)*2*Math.PI/p)+l;return q*Math.pow(2,-10*(h-=1))*Math.sin((h*o-k)*2*Math.PI/p)*0.5+n+l},easeInBack:function(k,h,l,n,o,p){if(p==undefined)p=1.70158;return n*(h/=o)*h*((p+1)*h-p)+l},easeOutBack:function(k,h,l,n,o,p){if(p==undefined)p=1.70158;return n*((h=h/o-1)*h*((p+1)*h+p)+1)+l},easeInOutBack:function(k,
409
- h,l,n,o,p){if(p==undefined)p=1.70158;if((h/=o/2)<1)return n/2*h*h*(((p*=1.525)+1)*h-p)+l;return n/2*((h-=2)*h*(((p*=1.525)+1)*h+p)+2)+l},easeInBounce:function(k,h,l,n,o){return n-c.easing.easeOutBounce(k,o-h,0,n,o)+l},easeOutBounce:function(k,h,l,n,o){return(h/=o)<1/2.75?n*7.5625*h*h+l:h<2/2.75?n*(7.5625*(h-=1.5/2.75)*h+0.75)+l:h<2.5/2.75?n*(7.5625*(h-=2.25/2.75)*h+0.9375)+l:n*(7.5625*(h-=2.625/2.75)*h+0.984375)+l},easeInOutBounce:function(k,h,l,n,o){if(h<o/2)return c.easing.easeInBounce(k,h*2,0,
410
- n,o)*0.5+l;return c.easing.easeOutBounce(k,h*2-o,0,n,o)*0.5+n*0.5+l}})}(jQuery);
411
- (function(c){c.effects.drop=function(b){return this.queue(function(){var d=c(this),e=["position","top","left","opacity"],a=c.effects.setMode(d,b.options.mode||"hide"),f=b.options.direction||"left";c.effects.save(d,e);d.show();c.effects.createWrapper(d);var g=f=="up"||f=="down"?"top":"left";f=f=="up"||f=="left"?"pos":"neg";var i=b.options.distance||(g=="top"?d.outerHeight({margin:true})/2:d.outerWidth({margin:true})/2);if(a=="show")d.css("opacity",0).css(g,f=="pos"?-i:i);var j={opacity:a=="show"?1:
412
- 0};j[g]=(a=="show"?f=="pos"?"+=":"-=":f=="pos"?"-=":"+=")+i;d.animate(j,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
413
- (function(c){c.effects.explode=function(b){return this.queue(function(){var d=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3,e=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode=="toggle"?c(this).is(":visible")?"hide":"show":b.options.mode;var a=c(this).show().css("visibility","hidden"),f=a.offset();f.top-=parseInt(a.css("marginTop"),10)||0;f.left-=parseInt(a.css("marginLeft"),10)||0;for(var g=a.outerWidth(true),i=a.outerHeight(true),j=0;j<d;j++)for(var m=
414
- 0;m<e;m++)a.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-m*(g/e),top:-j*(i/d)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g/e,height:i/d,left:f.left+m*(g/e)+(b.options.mode=="show"?(m-Math.floor(e/2))*(g/e):0),top:f.top+j*(i/d)+(b.options.mode=="show"?(j-Math.floor(d/2))*(i/d):0),opacity:b.options.mode=="show"?0:1}).animate({left:f.left+m*(g/e)+(b.options.mode=="show"?0:(m-Math.floor(e/2))*(g/e)),top:f.top+
415
- j*(i/d)+(b.options.mode=="show"?0:(j-Math.floor(d/2))*(i/d)),opacity:b.options.mode=="show"?1:0},b.duration||500);setTimeout(function(){b.options.mode=="show"?a.css({visibility:"visible"}):a.css({visibility:"visible"}).hide();b.callback&&b.callback.apply(a[0]);a.dequeue();c("div.ui-effects-explode").remove()},b.duration||500)})}})(jQuery);
416
- (function(c){c.effects.fade=function(b){return this.queue(function(){var d=c(this),e=c.effects.setMode(d,b.options.mode||"hide");d.animate({opacity:e},{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){b.callback&&b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
417
- (function(c){c.effects.fold=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"],a=c.effects.setMode(d,b.options.mode||"hide"),f=b.options.size||15,g=!!b.options.horizFirst,i=b.duration?b.duration/2:c.fx.speeds._default/2;c.effects.save(d,e);d.show();var j=c.effects.createWrapper(d).css({overflow:"hidden"}),m=a=="show"!=g,k=m?["width","height"]:["height","width"];m=m?[j.width(),j.height()]:[j.height(),j.width()];var h=/([0-9]+)%/.exec(f);if(h)f=parseInt(h[1],10)/100*
418
- m[a=="hide"?0:1];if(a=="show")j.css(g?{height:0,width:f}:{height:f,width:0});g={};h={};g[k[0]]=a=="show"?m[0]:f;h[k[1]]=a=="show"?m[1]:0;j.animate(g,i,b.options.easing).animate(h,i,b.options.easing,function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(d[0],arguments);d.dequeue()})})}})(jQuery);
419
- (function(c){c.effects.highlight=function(b){return this.queue(function(){var d=c(this),e=["backgroundImage","backgroundColor","opacity"],a=c.effects.setMode(d,b.options.mode||"show"),f={backgroundColor:d.css("backgroundColor")};if(a=="hide")f.opacity=0;c.effects.save(d,e);d.show().css({backgroundImage:"none",backgroundColor:b.options.color||"#ffff99"}).animate(f,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a=="hide"&&d.hide();c.effects.restore(d,e);a=="show"&&!c.support.opacity&&
420
- this.style.removeAttribute("filter");b.callback&&b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
421
- (function(c){c.effects.pulsate=function(b){return this.queue(function(){var d=c(this),e=c.effects.setMode(d,b.options.mode||"show");times=(b.options.times||5)*2-1;duration=b.duration?b.duration/2:c.fx.speeds._default/2;isVisible=d.is(":visible");animateTo=0;if(!isVisible){d.css("opacity",0).show();animateTo=1}if(e=="hide"&&isVisible||e=="show"&&!isVisible)times--;for(e=0;e<times;e++){d.animate({opacity:animateTo},duration,b.options.easing);animateTo=(animateTo+1)%2}d.animate({opacity:animateTo},duration,
422
- b.options.easing,function(){animateTo==0&&d.hide();b.callback&&b.callback.apply(this,arguments)});d.queue("fx",function(){d.dequeue()}).dequeue()})}})(jQuery);
423
- (function(c){c.effects.puff=function(b){return this.queue(function(){var d=c(this),e=c.effects.setMode(d,b.options.mode||"hide"),a=parseInt(b.options.percent,10)||150,f=a/100,g={height:d.height(),width:d.width()};c.extend(b.options,{fade:true,mode:e,percent:e=="hide"?a:100,from:e=="hide"?g:{height:g.height*f,width:g.width*f}});d.effect("scale",b.options,b.duration,b.callback);d.dequeue()})};c.effects.scale=function(b){return this.queue(function(){var d=c(this),e=c.extend(true,{},b.options),a=c.effects.setMode(d,
424
- b.options.mode||"effect"),f=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:a=="hide"?0:100),g=b.options.direction||"both",i=b.options.origin;if(a!="effect"){e.origin=i||["middle","center"];e.restore=true}i={height:d.height(),width:d.width()};d.from=b.options.from||(a=="show"?{height:0,width:0}:i);f={y:g!="horizontal"?f/100:1,x:g!="vertical"?f/100:1};d.to={height:i.height*f.y,width:i.width*f.x};if(b.options.fade){if(a=="show"){d.from.opacity=0;d.to.opacity=1}if(a=="hide"){d.from.opacity=
425
- 1;d.to.opacity=0}}e.from=d.from;e.to=d.to;e.mode=a;d.effect("size",e,b.duration,b.callback);d.dequeue()})};c.effects.size=function(b){return this.queue(function(){var d=c(this),e=["position","top","left","width","height","overflow","opacity"],a=["position","top","left","overflow","opacity"],f=["width","height","overflow"],g=["fontSize"],i=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],j=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],m=c.effects.setMode(d,
426
- b.options.mode||"effect"),k=b.options.restore||false,h=b.options.scale||"both",l=b.options.origin,n={height:d.height(),width:d.width()};d.from=b.options.from||n;d.to=b.options.to||n;if(l){l=c.effects.getBaseline(l,n);d.from.top=(n.height-d.from.height)*l.y;d.from.left=(n.width-d.from.width)*l.x;d.to.top=(n.height-d.to.height)*l.y;d.to.left=(n.width-d.to.width)*l.x}var o={from:{y:d.from.height/n.height,x:d.from.width/n.width},to:{y:d.to.height/n.height,x:d.to.width/n.width}};if(h=="box"||h=="both"){if(o.from.y!=
427
- o.to.y){e=e.concat(i);d.from=c.effects.setTransition(d,i,o.from.y,d.from);d.to=c.effects.setTransition(d,i,o.to.y,d.to)}if(o.from.x!=o.to.x){e=e.concat(j);d.from=c.effects.setTransition(d,j,o.from.x,d.from);d.to=c.effects.setTransition(d,j,o.to.x,d.to)}}if(h=="content"||h=="both")if(o.from.y!=o.to.y){e=e.concat(g);d.from=c.effects.setTransition(d,g,o.from.y,d.from);d.to=c.effects.setTransition(d,g,o.to.y,d.to)}c.effects.save(d,k?e:a);d.show();c.effects.createWrapper(d);d.css("overflow","hidden").css(d.from);
428
- if(h=="content"||h=="both"){i=i.concat(["marginTop","marginBottom"]).concat(g);j=j.concat(["marginLeft","marginRight"]);f=e.concat(i).concat(j);d.find("*[width]").each(function(){child=c(this);k&&c.effects.save(child,f);var p={height:child.height(),width:child.width()};child.from={height:p.height*o.from.y,width:p.width*o.from.x};child.to={height:p.height*o.to.y,width:p.width*o.to.x};if(o.from.y!=o.to.y){child.from=c.effects.setTransition(child,i,o.from.y,child.from);child.to=c.effects.setTransition(child,
429
- i,o.to.y,child.to)}if(o.from.x!=o.to.x){child.from=c.effects.setTransition(child,j,o.from.x,child.from);child.to=c.effects.setTransition(child,j,o.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){k&&c.effects.restore(child,f)})})}d.animate(d.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){d.to.opacity===0&&d.css("opacity",d.from.opacity);m=="hide"&&d.hide();c.effects.restore(d,k?e:a);c.effects.removeWrapper(d);b.callback&&
430
- b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
431
- (function(c){c.effects.shake=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"];c.effects.setMode(d,b.options.mode||"effect");var a=b.options.direction||"left",f=b.options.distance||20,g=b.options.times||3,i=b.duration||b.options.duration||140;c.effects.save(d,e);d.show();c.effects.createWrapper(d);var j=a=="up"||a=="down"?"top":"left",m=a=="up"||a=="left"?"pos":"neg";a={};var k={},h={};a[j]=(m=="pos"?"-=":"+=")+f;k[j]=(m=="pos"?"+=":"-=")+f*2;h[j]=(m=="pos"?"-=":"+=")+
432
- f*2;d.animate(a,i,b.options.easing);for(f=1;f<g;f++)d.animate(k,i,b.options.easing).animate(h,i,b.options.easing);d.animate(k,i,b.options.easing).animate(a,i/2,b.options.easing,function(){c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(this,arguments)});d.queue("fx",function(){d.dequeue()});d.dequeue()})}})(jQuery);
433
- (function(c){c.effects.slide=function(b){return this.queue(function(){var d=c(this),e=["position","top","left"],a=c.effects.setMode(d,b.options.mode||"show"),f=b.options.direction||"left";c.effects.save(d,e);d.show();c.effects.createWrapper(d).css({overflow:"hidden"});var g=f=="up"||f=="down"?"top":"left";f=f=="up"||f=="left"?"pos":"neg";var i=b.options.distance||(g=="top"?d.outerHeight({margin:true}):d.outerWidth({margin:true}));if(a=="show")d.css(g,f=="pos"?-i:i);var j={};j[g]=(a=="show"?f=="pos"?
434
- "+=":"-=":f=="pos"?"-=":"+=")+i;d.animate(j,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a=="hide"&&d.hide();c.effects.restore(d,e);c.effects.removeWrapper(d);b.callback&&b.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
435
- (function(c){c.effects.transfer=function(b){return this.queue(function(){var d=c(this),e=c(b.options.to),a=e.offset();e={top:a.top,left:a.left,height:e.innerHeight(),width:e.innerWidth()};a=d.offset();var f=c('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({top:a.top,left:a.left,height:d.innerHeight(),width:d.innerWidth(),position:"absolute"}).animate(e,b.duration,b.options.easing,function(){f.remove();b.callback&&b.callback.apply(d[0],arguments);
436
- d.dequeue()})})}})(jQuery);
437
- (function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase()}},_create:function(){var b=this.options,d=this;this.running=0;this.element.addClass("ui-accordion ui-widget ui-helper-reset");this.element[0].nodeName==
438
- "UL"&&this.element.children("li").addClass("ui-accordion-li-fix");this.headers=this.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){c(this).removeClass("ui-state-focus")});this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
439
- if(b.navigation){var e=this.element.find("a").filter(b.navigationFilter);if(e.length){var a=e.closest(".ui-accordion-header");this.active=a.length?a:e.closest(".ui-accordion-content").prev()}}this.active=this._findActive(this.active||b.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");this.active.next().addClass("ui-accordion-content-active");this._createIcons();this.resize();this.element.attr("role","tablist");this.headers.attr("role",
440
- "tab").bind("keydown",function(f){return d._keydown(f)}).next().attr("role","tabpanel");this.headers.not(this.active||"").attr("aria-expanded","false").attr("tabIndex","-1").next().hide();this.active.length?this.active.attr("aria-expanded","true").attr("tabIndex","0"):this.headers.eq(0).attr("tabIndex","0");c.browser.safari||this.headers.find("a").attr("tabIndex","-1");b.event&&this.headers.bind(b.event+".accordion",function(f){d._clickHandler.call(d,f,this);f.preventDefault()})},_createIcons:function(){var b=
441
- this.options;if(b.icons){c("<span/>").addClass("ui-icon "+b.icons.header).prependTo(this.headers);this.active.find(".ui-icon").toggleClass(b.icons.header).toggleClass(b.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var b=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role").unbind(".accordion").removeData("accordion");
442
- this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex");this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var d=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active");if(b.autoHeight||b.fillHeight)d.css("height",
443
- "");return this},_setOption:function(b,d){c.Widget.prototype._setOption.apply(this,arguments);b=="active"&&this.activate(d);if(b=="icons"){this._destroyIcons();d&&this._createIcons()}},_keydown:function(b){var d=c.ui.keyCode;if(!(this.options.disabled||b.altKey||b.ctrlKey)){var e=this.headers.length,a=this.headers.index(b.target),f=false;switch(b.keyCode){case d.RIGHT:case d.DOWN:f=this.headers[(a+1)%e];break;case d.LEFT:case d.UP:f=this.headers[(a-1+e)%e];break;case d.SPACE:case d.ENTER:this._clickHandler({target:b.target},
444
- b.target);b.preventDefault()}if(f){c(b.target).attr("tabIndex","-1");c(f).attr("tabIndex","0");f.focus();return false}return true}},resize:function(){var b=this.options,d;if(b.fillSpace){if(c.browser.msie){var e=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}d=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",e);this.headers.each(function(){d-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,
445
- d-c(this).innerHeight()+c(this).height()))}).css("overflow","auto")}else if(b.autoHeight){d=0;this.headers.next().each(function(){d=Math.max(d,c(this).height())}).height(d)}return this},activate:function(b){this.options.active=b;b=this._findActive(b)[0];this._clickHandler({target:b},b);return this},_findActive:function(b){return b?typeof b=="number"?this.headers.filter(":eq("+b+")"):this.headers.not(this.headers.not(b)):b===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(b,d){var e=
446
- this.options;if(!e.disabled)if(b.target){b=c(b.currentTarget||d);d=b[0]==this.active[0];e.active=e.collapsible&&d?false:c(".ui-accordion-header",this.element).index(b);if(!(this.running||!e.collapsible&&d)){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(e.icons.headerSelected).addClass(e.icons.header);if(!d){b.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").find(".ui-icon").removeClass(e.icons.header).addClass(e.icons.headerSelected);
447
- b.next().addClass("ui-accordion-content-active")}g=b.next();a=this.active.next();f={options:e,newHeader:d&&e.collapsible?c([]):b,oldHeader:this.active,newContent:d&&e.collapsible?c([]):g,oldContent:a};e=this.headers.index(this.active[0])>this.headers.index(b[0]);this.active=d?c([]):b;this._toggle(g,a,f,d,e)}}else if(e.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(e.icons.headerSelected).addClass(e.icons.header);
448
- this.active.next().addClass("ui-accordion-content-active");var a=this.active.next(),f={options:e,newHeader:c([]),oldHeader:e.active,newContent:c([]),oldContent:a},g=this.active=c([]);this._toggle(g,a,f)}},_toggle:function(b,d,e,a,f){var g=this.options,i=this;this.toShow=b;this.toHide=d;this.data=e;var j=function(){if(i)return i._completed.apply(i,arguments)};this._trigger("changestart",null,this.data);this.running=d.size()===0?b.size():d.size();if(g.animated){e={};e=g.collapsible&&a?{toShow:c([]),
449
- toHide:d,complete:j,down:f,autoHeight:g.autoHeight||g.fillSpace}:{toShow:b,toHide:d,complete:j,down:f,autoHeight:g.autoHeight||g.fillSpace};if(!g.proxied)g.proxied=g.animated;if(!g.proxiedDuration)g.proxiedDuration=g.duration;g.animated=c.isFunction(g.proxied)?g.proxied(e):g.proxied;g.duration=c.isFunction(g.proxiedDuration)?g.proxiedDuration(e):g.proxiedDuration;a=c.ui.accordion.animations;var m=g.duration,k=g.animated;if(k&&!a[k]&&!c.easing[k])k="slide";a[k]||(a[k]=function(h){this.slide(h,{easing:k,
450
- duration:m||700})});a[k](e)}else{if(g.collapsible&&a)b.toggle();else{d.hide();b.show()}j(true)}d.prev().attr("aria-expanded","false").attr("tabIndex","-1").blur();b.prev().attr("aria-expanded","true").attr("tabIndex","0").focus()},_completed:function(b){var d=this.options;this.running=b?0:--this.running;if(!this.running){d.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,
451
- {version:"1.8.1",animations:{slide:function(b,d){b=c.extend({easing:"swing",duration:300},b,d);if(b.toHide.size())if(b.toShow.size()){var e=b.toShow.css("overflow"),a=0,f={},g={},i;d=b.toShow;i=d[0].style.width;d.width(parseInt(d.parent().width(),10)-parseInt(d.css("paddingLeft"),10)-parseInt(d.css("paddingRight"),10)-(parseInt(d.css("borderLeftWidth"),10)||0)-(parseInt(d.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,m){g[m]="hide";j=(""+c.css(b.toShow[0],
452
- m)).match(/^([\d+-.]+)(.*)$/);f[m]={value:j[1],unit:j[2]||"px"}});b.toShow.css({height:0,overflow:"hidden"}).show();b.toHide.filter(":hidden").each(b.complete).end().filter(":visible").animate(g,{step:function(j,m){if(m.prop=="height")a=m.end-m.start===0?0:(m.now-m.start)/(m.end-m.start);b.toShow[0].style[m.prop]=a*f[m.prop].value+f[m.prop].unit},duration:b.duration,easing:b.easing,complete:function(){b.autoHeight||b.toShow.css("height","");b.toShow.css("width",i);b.toShow.css({overflow:e});b.complete()}})}else b.toHide.animate({height:"hide"},
453
- b);else b.toShow.animate({height:"show"},b)},bounceslide:function(b){this.slide(b,{easing:b.down?"easeOutBounce":"swing",duration:b.down?1E3:200})}}})})(jQuery);
454
- (function(c){c.widget("ui.autocomplete",{options:{minLength:1,delay:300},_create:function(){var b=this,d=this.element[0].ownerDocument;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(e){var a=c.ui.keyCode;switch(e.keyCode){case a.PAGE_UP:b._move("previousPage",e);break;case a.PAGE_DOWN:b._move("nextPage",e);break;case a.UP:b._move("previous",e);e.preventDefault();
455
- break;case a.DOWN:b._move("next",e);e.preventDefault();break;case a.ENTER:b.menu.active&&e.preventDefault();case a.TAB:if(!b.menu.active)return;b.menu.select(e);break;case a.ESCAPE:b.element.val(b.term);b.close(e);break;case a.LEFT:case a.RIGHT:case a.SHIFT:case a.CONTROL:case a.ALT:break;default:clearTimeout(b.searching);b.searching=setTimeout(function(){b.search(null,e)},b.options.delay);break}}).bind("focus.autocomplete",function(){b.selectedItem=null;b.previous=b.element.val()}).bind("blur.autocomplete",
456
- function(e){clearTimeout(b.searching);b.closing=setTimeout(function(){b.close(e);b._change(e)},150)});this._initSource();this.response=function(){return b._response.apply(b,arguments)};this.menu=c("<ul></ul>").addClass("ui-autocomplete").appendTo("body",d).menu({focus:function(e,a){a=a.item.data("item.autocomplete");false!==b._trigger("focus",null,{item:a})&&/^key/.test(e.originalEvent.type)&&b.element.val(a.value)},selected:function(e,a){a=a.item.data("item.autocomplete");false!==b._trigger("select",
457
- e,{item:a})&&b.element.val(a.value);b.close(e);e=b.previous;if(b.element[0]!==d.activeElement){b.element.focus();b.previous=e}b.selectedItem=a},blur:function(){b.menu.element.is(":visible")&&b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");c.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");
458
- this.menu.element.remove();c.Widget.prototype.destroy.call(this)},_setOption:function(b){c.Widget.prototype._setOption.apply(this,arguments);b==="source"&&this._initSource()},_initSource:function(){var b,d;if(c.isArray(this.options.source)){b=this.options.source;this.source=function(e,a){a(c.ui.autocomplete.filter(b,e.term))}}else if(typeof this.options.source==="string"){d=this.options.source;this.source=function(e,a){c.getJSON(d,e,a)}}else this.source=this.options.source},search:function(b,d){b=
459
- b!=null?b:this.element.val();if(b.length<this.options.minLength)return this.close(d);clearTimeout(this.closing);if(this._trigger("search")!==false)return this._search(b)},_search:function(b){this.term=this.element.addClass("ui-autocomplete-loading").val();this.source({term:b},this.response)},_response:function(b){if(b.length){b=this._normalize(b);this._suggest(b);this._trigger("open")}else this.close();this.element.removeClass("ui-autocomplete-loading")},close:function(b){clearTimeout(this.closing);
460
- if(this.menu.element.is(":visible")){this._trigger("close",b);this.menu.element.hide();this.menu.deactivate()}},_change:function(b){this.previous!==this.element.val()&&this._trigger("change",b,{item:this.selectedItem})},_normalize:function(b){if(b.length&&b[0].label&&b[0].value)return b;return c.map(b,function(d){if(typeof d==="string")return{label:d,value:d};return c.extend({label:d.label||d.value,value:d.value||d.label},d)})},_suggest:function(b){var d=this.menu.element.empty().zIndex(this.element.zIndex()+
461
- 1),e;this._renderMenu(d,b);this.menu.deactivate();this.menu.refresh();this.menu.element.show().position({my:"left top",at:"left bottom",of:this.element,collision:"none"});b=d.width("").width();e=this.element.width();d.width(Math.max(b,e))},_renderMenu:function(b,d){var e=this;c.each(d,function(a,f){e._renderItem(b,f)})},_renderItem:function(b,d){return c("<li></li>").data("item.autocomplete",d).append("<a>"+d.label+"</a>").appendTo(b)},_move:function(b,d){if(this.menu.element.is(":visible"))if(this.menu.first()&&
462
- /^previous/.test(b)||this.menu.last()&&/^next/.test(b)){this.element.val(this.term);this.menu.deactivate()}else this.menu[b](d);else this.search(null,d)},widget:function(){return this.menu.element}});c.extend(c.ui.autocomplete,{escapeRegex:function(b){return b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")},filter:function(b,d){var e=new RegExp(c.ui.autocomplete.escapeRegex(d),"i");return c.grep(b,function(a){return e.test(a.label||a.value||a)})}})})(jQuery);
463
- (function(c){c.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(d){if(c(d.target).closest(".ui-menu-item a").length){d.preventDefault();b.select(d)}});this.refresh()},refresh:function(){var b=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
464
- -1).mouseenter(function(d){b.activate(d,c(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(b,d){this.deactivate();if(this.hasScroll()){var e=d.offset().top-this.element.offset().top,a=this.element.attr("scrollTop"),f=this.element.height();if(e<0)this.element.attr("scrollTop",a+e);else e>f&&this.element.attr("scrollTop",a+e-f+d.height())}this.active=d.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",b,{item:d})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");
465
- this._trigger("blur");this.active=null}},next:function(b){this.move("next",".ui-menu-item:first",b)},previous:function(b){this.move("prev",".ui-menu-item:last",b)},first:function(){return this.active&&!this.active.prev().length},last:function(){return this.active&&!this.active.next().length},move:function(b,d,e){if(this.active){b=this.active[b+"All"](".ui-menu-item").eq(0);b.length?this.activate(e,b):this.activate(e,this.element.children(d))}else this.activate(e,this.element.children(d))},nextPage:function(b){if(this.hasScroll())if(!this.active||
466
- this.last())this.activate(b,this.element.children(":first"));else{var d=this.active.offset().top,e=this.element.height(),a=this.element.children("li").filter(function(){var f=c(this).offset().top-d-e+c(this).height();return f<10&&f>-10});a.length||(a=this.element.children(":last"));this.activate(b,a)}else this.activate(b,this.element.children(!this.active||this.last()?":first":":last"))},previousPage:function(b){if(this.hasScroll())if(!this.active||this.first())this.activate(b,this.element.children(":last"));
467
- else{var d=this.active.offset().top,e=this.element.height();result=this.element.children("li").filter(function(){var a=c(this).offset().top-d+e-c(this).height();return a<10&&a>-10});result.length||(result=this.element.children(":first"));this.activate(b,result)}else this.activate(b,this.element.children(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element.attr("scrollHeight")},select:function(b){this._trigger("selected",b,{item:this.active})}})})(jQuery);
468
- (function(c){var b,d=function(a){c(":ui-button",a.target.form).each(function(){var f=c(this).data("button");setTimeout(function(){f.refresh()},1)})},e=function(a){var f=a.name,g=a.form,i=c([]);if(f)i=g?c(g).find("[name='"+f+"']"):c("[name='"+f+"']",a.ownerDocument).filter(function(){return!this.form});return i};c.widget("ui.button",{options:{text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",d);this._determineButtonType();
469
- this.hasTitle=!!this.buttonElement.attr("title");var a=this,f=this.options,g=this.type==="checkbox"||this.type==="radio",i="ui-state-hover"+(!g?" ui-state-active":"");if(f.label===null)f.label=this.buttonElement.html();if(this.element.is(":disabled"))f.disabled=true;this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button",function(){if(!f.disabled){c(this).addClass("ui-state-hover");this===b&&c(this).addClass("ui-state-active")}}).bind("mouseleave.button",
470
- function(){f.disabled||c(this).removeClass(i)}).bind("focus.button",function(){c(this).addClass("ui-state-focus")}).bind("blur.button",function(){c(this).removeClass("ui-state-focus")});g&&this.element.bind("change.button",function(){a.refresh()});if(this.type==="checkbox")this.buttonElement.bind("click.button",function(){if(f.disabled)return false;c(this).toggleClass("ui-state-active");a.buttonElement.attr("aria-pressed",a.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",
471
- function(){if(f.disabled)return false;c(this).addClass("ui-state-active");a.buttonElement.attr("aria-pressed",true);var j=a.element[0];e(j).not(j).map(function(){return c(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed",false)});else{this.buttonElement.bind("mousedown.button",function(){if(f.disabled)return false;c(this).addClass("ui-state-active");b=this;c(document).one("mouseup",function(){b=null})}).bind("mouseup.button",function(){if(f.disabled)return false;c(this).removeClass("ui-state-active")}).bind("keydown.button",
472
- function(j){if(f.disabled)return false;if(j.keyCode==c.ui.keyCode.SPACE||j.keyCode==c.ui.keyCode.ENTER)c(this).addClass("ui-state-active")}).bind("keyup.button",function(){c(this).removeClass("ui-state-active")});this.buttonElement.is("a")&&this.buttonElement.keyup(function(j){j.keyCode===c.ui.keyCode.SPACE&&c(this).click()})}this._setOption("disabled",f.disabled)},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?
473
- "input":"button";if(this.type==="checkbox"||this.type==="radio"){this.buttonElement=this.element.parents().last().find("[for="+this.element.attr("id")+"]");this.element.addClass("ui-helper-hidden-accessible");var a=this.element.is(":checked");a&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",a)}else this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());
474
- this.hasTitle||this.buttonElement.removeAttr("title");c.Widget.prototype.destroy.call(this)},_setOption:function(a,f){c.Widget.prototype._setOption.apply(this,arguments);if(a==="disabled")f?this.element.attr("disabled",true):this.element.removeAttr("disabled");this._resetButton()},refresh:function(){var a=this.element.is(":disabled");a!==this.options.disabled&&this._setOption("disabled",a);if(this.type==="radio")e(this.element[0]).each(function(){c(this).is(":checked")?c(this).button("widget").addClass("ui-state-active").attr("aria-pressed",
475
- true):c(this).button("widget").removeClass("ui-state-active").attr("aria-pressed",false)});else if(this.type==="checkbox")this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed",true):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed",false)},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var a=this.buttonElement,f=c("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(a.empty()).text(),
476
- g=this.options.icons,i=g.primary&&g.secondary;if(g.primary||g.secondary){a.addClass("ui-button-text-icon"+(i?"s":""));g.primary&&a.prepend("<span class='ui-button-icon-primary ui-icon "+g.primary+"'></span>");g.secondary&&a.append("<span class='ui-button-icon-secondary ui-icon "+g.secondary+"'></span>");if(!this.options.text){a.addClass(i?"ui-button-icons-only":"ui-button-icon-only").removeClass("ui-button-text-icons ui-button-text-icon");this.hasTitle||a.attr("title",f)}}else a.addClass("ui-button-text-only")}}});
477
- c.widget("ui.buttonset",{_create:function(){this.element.addClass("ui-buttonset");this._init()},_init:function(){this.refresh()},_setOption:function(a,f){a==="disabled"&&this.buttons.button("option",a,f);c.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){this.buttons=this.element.find(":button, :submit, :reset, :checkbox, :radio, a, :data(button)").filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return c(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()},
478
- destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return c(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");c.Widget.prototype.destroy.call(this)}})})(jQuery);
479
- jQuery.ui||function(c){c.ui={version:"1.8.1",plugin:{add:function(b,d,e){b=c.ui[b].prototype;for(var a in e){b.plugins[a]=b.plugins[a]||[];b.plugins[a].push([d,e[a]])}},call:function(b,d,e){if((d=b.plugins[d])&&b.element[0].parentNode)for(var a=0;a<d.length;a++)b.options[d[a][0]]&&d[a][1].apply(b.element,e)}},contains:function(b,d){return document.compareDocumentPosition?b.compareDocumentPosition(d)&16:b!==d&&b.contains(d)},hasScroll:function(b,d){if(c(b).css("overflow")=="hidden")return false;d=
480
- d&&d=="left"?"scrollLeft":"scrollTop";var e=false;if(b[d]>0)return true;b[d]=1;e=b[d]>0;b[d]=0;return e},isOverAxis:function(b,d,e){return b>d&&b<d+e},isOver:function(b,d,e,a,f,g){return c.ui.isOverAxis(b,e,f)&&c.ui.isOverAxis(d,a,g)},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,
481
- RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};c.fn.extend({_focus:c.fn.focus,focus:function(b,d){return typeof b==="number"?this.each(function(){var e=this;setTimeout(function(){c(e).focus();d&&d.call(e)},b)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none")},scrollParent:function(){var b;b=c.browser.msie&&/(static|relative)/.test(this.css("position"))||
482
- /absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?c(document):b},zIndex:function(b){if(b!==
483
- undefined)return this.css("zIndex",b);if(this.length){b=c(this[0]);for(var d;b.length&&b[0]!==document;){d=b.css("position");if(d=="absolute"||d=="relative"||d=="fixed"){d=parseInt(b.css("zIndex"));if(!isNaN(d)&&d!=0)return d}b=b.parent()}}return 0}});c.extend(c.expr[":"],{data:function(b,d,e){return!!c.data(b,e[3])},focusable:function(b){var d=b.nodeName.toLowerCase(),e=c.attr(b,"tabindex");return(/input|select|textarea|button|object/.test(d)?!b.disabled:"a"==d||"area"==d?b.href||!isNaN(e):!isNaN(e))&&
484
- !c(b)["area"==d?"parents":"closest"](":hidden").length},tabbable:function(b){var d=c.attr(b,"tabindex");return(isNaN(d)||d>=0)&&c(b).is(":focusable")}})}(jQuery);
485
- (function(c){function b(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass=
486
- "ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su",
487
- "Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"show",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",
488
- minDate:null,maxDate:null,duration:"_default",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false};c.extend(this._defaults,this.regional[""]);this.dpDiv=c('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible"></div>')}function d(a,f){c.extend(a,
489
- f);for(var g in f)if(f[g]==null||f[g]==undefined)a[g]=f[g];return a}c.extend(c.ui,{datepicker:{version:"1.8.1"}});var e=(new Date).getTime();c.extend(b.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){d(this._defaults,a||{});return this},_attachDatepicker:function(a,f){var g=null;for(var i in this._defaults){var j=a.getAttribute("date:"+i);if(j){g=g||{};try{g[i]=eval(j)}catch(m){g[i]=
490
- j}}}i=a.nodeName.toLowerCase();j=i=="div"||i=="span";if(!a.id)a.id="dp"+ ++this.uuid;var k=this._newInst(c(a),j);k.settings=c.extend({},f||{},g||{});if(i=="input")this._connectDatepicker(a,k);else j&&this._inlineDatepicker(a,k)},_newInst:function(a,f){return{id:a[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:f,dpDiv:!f?this.dpDiv:c('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}},
491
- _connectDatepicker:function(a,f){var g=c(a);f.append=c([]);f.trigger=c([]);if(!g.hasClass(this.markerClassName)){this._attachments(g,f);g.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(i,j,m){f.settings[j]=m}).bind("getData.datepicker",function(i,j){return this._get(f,j)});this._autoSize(f);c.data(a,"datepicker",f)}},_attachments:function(a,f){var g=this._get(f,"appendText"),i=this._get(f,"isRTL");f.append&&
492
- f.append.remove();if(g){f.append=c('<span class="'+this._appendClass+'">'+g+"</span>");a[i?"before":"after"](f.append)}a.unbind("focus",this._showDatepicker);f.trigger&&f.trigger.remove();g=this._get(f,"showOn");if(g=="focus"||g=="both")a.focus(this._showDatepicker);if(g=="button"||g=="both"){g=this._get(f,"buttonText");var j=this._get(f,"buttonImage");f.trigger=c(this._get(f,"buttonImageOnly")?c("<img/>").addClass(this._triggerClass).attr({src:j,alt:g,title:g}):c('<button type="button"></button>').addClass(this._triggerClass).html(j==
493
- ""?g:c("<img/>").attr({src:j,alt:g,title:g})));a[i?"before":"after"](f.trigger);f.trigger.click(function(){c.datepicker._datepickerShowing&&c.datepicker._lastInput==a[0]?c.datepicker._hideDatepicker():c.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var f=new Date(2009,11,20),g=this._get(a,"dateFormat");if(g.match(/[DM]/)){var i=function(j){for(var m=0,k=0,h=0;h<j.length;h++)if(j[h].length>m){m=j[h].length;k=h}return k};f.setMonth(i(this._get(a,
494
- g.match(/MM/)?"monthNames":"monthNamesShort")));f.setDate(i(this._get(a,g.match(/DD/)?"dayNames":"dayNamesShort"))+20-f.getDay())}a.input.attr("size",this._formatDate(a,f).length)}},_inlineDatepicker:function(a,f){var g=c(a);if(!g.hasClass(this.markerClassName)){g.addClass(this.markerClassName).append(f.dpDiv).bind("setData.datepicker",function(i,j,m){f.settings[j]=m}).bind("getData.datepicker",function(i,j){return this._get(f,j)});c.data(a,"datepicker",f);this._setDate(f,this._getDefaultDate(f),
495
- true);this._updateDatepicker(f);this._updateAlternate(f)}},_dialogDatepicker:function(a,f,g,i,j){a=this._dialogInst;if(!a){a="dp"+ ++this.uuid;this._dialogInput=c('<input type="text" id="'+a+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');this._dialogInput.keydown(this._doKeyDown);c("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};c.data(this._dialogInput[0],"datepicker",a)}d(a.settings,i||{});f=f&&f.constructor==Date?
496
- this._formatDate(a,f):f;this._dialogInput.val(f);this._pos=j?j.length?j:[j.pageX,j.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=g;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);
497
- c.blockUI&&c.blockUI(this.dpDiv);c.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var f=c(a),g=c.data(a,"datepicker");if(f.hasClass(this.markerClassName)){var i=a.nodeName.toLowerCase();c.removeData(a,"datepicker");if(i=="input"){g.append.remove();g.trigger.remove();f.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)}else if(i=="div"||i=="span")f.removeClass(this.markerClassName).empty()}},
498
- _enableDatepicker:function(a){var f=c(a),g=c.data(a,"datepicker");if(f.hasClass(this.markerClassName)){var i=a.nodeName.toLowerCase();if(i=="input"){a.disabled=false;g.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(i=="div"||i=="span")f.children("."+this._inlineClass).children().removeClass("ui-state-disabled");this._disabledInputs=c.map(this._disabledInputs,function(j){return j==a?null:j})}},_disableDatepicker:function(a){var f=
499
- c(a),g=c.data(a,"datepicker");if(f.hasClass(this.markerClassName)){var i=a.nodeName.toLowerCase();if(i=="input"){a.disabled=true;g.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(i=="div"||i=="span")f.children("."+this._inlineClass).children().addClass("ui-state-disabled");this._disabledInputs=c.map(this._disabledInputs,function(j){return j==a?null:j});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;
500
- for(var f=0;f<this._disabledInputs.length;f++)if(this._disabledInputs[f]==a)return true;return false},_getInst:function(a){try{return c.data(a,"datepicker")}catch(f){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(a,f,g){var i=this._getInst(a);if(arguments.length==2&&typeof f=="string")return f=="defaults"?c.extend({},c.datepicker._defaults):i?f=="all"?c.extend({},i.settings):this._get(i,f):null;var j=f||{};if(typeof f=="string"){j={};j[f]=g}if(i){this._curInst==i&&
501
- this._hideDatepicker();var m=this._getDateDatepicker(a,true);d(i.settings,j);this._attachments(c(a),i);this._autoSize(i);this._setDateDatepicker(a,m);this._updateDatepicker(i)}},_changeDatepicker:function(a,f,g){this._optionDatepicker(a,f,g)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,f){if(a=this._getInst(a)){this._setDate(a,f);this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(a,f){(a=this._getInst(a))&&
502
- !a.inline&&this._setDateFromField(a,f);return a?this._getDate(a):null},_doKeyDown:function(a){var f=c.datepicker._getInst(a.target),g=true,i=f.dpDiv.is(".ui-datepicker-rtl");f._keyEvent=true;if(c.datepicker._datepickerShowing)switch(a.keyCode){case 9:c.datepicker._hideDatepicker();g=false;break;case 13:g=c("td."+c.datepicker._dayOverClass,f.dpDiv).add(c("td."+c.datepicker._currentClass,f.dpDiv));g[0]?c.datepicker._selectDay(a.target,f.selectedMonth,f.selectedYear,g[0]):c.datepicker._hideDatepicker();
503
- return false;case 27:c.datepicker._hideDatepicker();break;case 33:c.datepicker._adjustDate(a.target,a.ctrlKey?-c.datepicker._get(f,"stepBigMonths"):-c.datepicker._get(f,"stepMonths"),"M");break;case 34:c.datepicker._adjustDate(a.target,a.ctrlKey?+c.datepicker._get(f,"stepBigMonths"):+c.datepicker._get(f,"stepMonths"),"M");break;case 35:if(a.ctrlKey||a.metaKey)c.datepicker._clearDate(a.target);g=a.ctrlKey||a.metaKey;break;case 36:if(a.ctrlKey||a.metaKey)c.datepicker._gotoToday(a.target);g=a.ctrlKey||
504
- a.metaKey;break;case 37:if(a.ctrlKey||a.metaKey)c.datepicker._adjustDate(a.target,i?+1:-1,"D");g=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)c.datepicker._adjustDate(a.target,a.ctrlKey?-c.datepicker._get(f,"stepBigMonths"):-c.datepicker._get(f,"stepMonths"),"M");break;case 38:if(a.ctrlKey||a.metaKey)c.datepicker._adjustDate(a.target,-7,"D");g=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||a.metaKey)c.datepicker._adjustDate(a.target,i?-1:+1,"D");g=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)c.datepicker._adjustDate(a.target,
505
- a.ctrlKey?+c.datepicker._get(f,"stepBigMonths"):+c.datepicker._get(f,"stepMonths"),"M");break;case 40:if(a.ctrlKey||a.metaKey)c.datepicker._adjustDate(a.target,+7,"D");g=a.ctrlKey||a.metaKey;break;default:g=false}else if(a.keyCode==36&&a.ctrlKey)c.datepicker._showDatepicker(this);else g=false;if(g){a.preventDefault();a.stopPropagation()}},_doKeyPress:function(a){var f=c.datepicker._getInst(a.target);if(c.datepicker._get(f,"constrainInput")){f=c.datepicker._possibleChars(c.datepicker._get(f,"dateFormat"));
506
- var g=String.fromCharCode(a.charCode==undefined?a.keyCode:a.charCode);return a.ctrlKey||g<" "||!f||f.indexOf(g)>-1}},_doKeyUp:function(a){a=c.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(c.datepicker.parseDate(c.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,c.datepicker._getFormatConfig(a))){c.datepicker._setDateFromField(a);c.datepicker._updateAlternate(a);c.datepicker._updateDatepicker(a)}}catch(f){c.datepicker.log(f)}return true},_showDatepicker:function(a){a=a.target||
507
- a;if(a.nodeName.toLowerCase()!="input")a=c("input",a.parentNode)[0];if(!(c.datepicker._isDisabledDatepicker(a)||c.datepicker._lastInput==a)){var f=c.datepicker._getInst(a);c.datepicker._curInst&&c.datepicker._curInst!=f&&c.datepicker._curInst.dpDiv.stop(true,true);var g=c.datepicker._get(f,"beforeShow");d(f.settings,g?g.apply(a,[a,f]):{});f.lastVal=null;c.datepicker._lastInput=a;c.datepicker._setDateFromField(f);if(c.datepicker._inDialog)a.value="";if(!c.datepicker._pos){c.datepicker._pos=c.datepicker._findPos(a);
508
- c.datepicker._pos[1]+=a.offsetHeight}var i=false;c(a).parents().each(function(){i|=c(this).css("position")=="fixed";return!i});if(i&&c.browser.opera){c.datepicker._pos[0]-=document.documentElement.scrollLeft;c.datepicker._pos[1]-=document.documentElement.scrollTop}g={left:c.datepicker._pos[0],top:c.datepicker._pos[1]};c.datepicker._pos=null;f.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});c.datepicker._updateDatepicker(f);g=c.datepicker._checkOffset(f,g,i);f.dpDiv.css({position:c.datepicker._inDialog&&
509
- c.blockUI?"static":i?"fixed":"absolute",display:"none",left:g.left+"px",top:g.top+"px"});if(!f.inline){g=c.datepicker._get(f,"showAnim");var j=c.datepicker._get(f,"duration"),m=function(){c.datepicker._datepickerShowing=true;var k=c.datepicker._getBorders(f.dpDiv);f.dpDiv.find("iframe.ui-datepicker-cover").css({left:-k[0],top:-k[1],width:f.dpDiv.outerWidth(),height:f.dpDiv.outerHeight()})};f.dpDiv.zIndex(c(a).zIndex()+1);c.effects&&c.effects[g]?f.dpDiv.show(g,c.datepicker._get(f,"showOptions"),j,
510
- m):f.dpDiv[g||"show"](g?j:null,m);if(!g||!j)m();f.input.is(":visible")&&!f.input.is(":disabled")&&f.input.focus();c.datepicker._curInst=f}}},_updateDatepicker:function(a){var f=this,g=c.datepicker._getBorders(a.dpDiv);a.dpDiv.empty().append(this._generateHTML(a)).find("iframe.ui-datepicker-cover").css({left:-g[0],top:-g[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()}).end().find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout",function(){c(this).removeClass("ui-state-hover");
511
- this.className.indexOf("ui-datepicker-prev")!=-1&&c(this).removeClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&c(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){if(!f._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])){c(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");c(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&c(this).addClass("ui-datepicker-prev-hover");
512
- this.className.indexOf("ui-datepicker-next")!=-1&&c(this).addClass("ui-datepicker-next-hover")}}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end();g=this._getNumberOfMonths(a);var i=g[1];i>1?a.dpDiv.addClass("ui-datepicker-multi-"+i).css("width",17*i+"em"):a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");a.dpDiv[(g[0]!=1||g[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");
513
- a==c.datepicker._curInst&&c.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input.focus()},_getBorders:function(a){var f=function(g){return{thin:1,medium:2,thick:3}[g]||g};return[parseFloat(f(a.css("border-left-width"))),parseFloat(f(a.css("border-top-width")))]},_checkOffset:function(a,f,g){var i=a.dpDiv.outerWidth(),j=a.dpDiv.outerHeight(),m=a.input?a.input.outerWidth():0,k=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+c(document).scrollLeft(),
514
- l=document.documentElement.clientHeight+c(document).scrollTop();f.left-=this._get(a,"isRTL")?i-m:0;f.left-=g&&f.left==a.input.offset().left?c(document).scrollLeft():0;f.top-=g&&f.top==a.input.offset().top+k?c(document).scrollTop():0;f.left-=Math.min(f.left,f.left+i>h&&h>i?Math.abs(f.left+i-h):0);f.top-=Math.min(f.top,f.top+j>l&&l>j?Math.abs(j+k):0);return f},_findPos:function(a){for(var f=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1);)a=a[f?"previousSibling":"nextSibling"];
515
- a=c(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var f=this._curInst;if(!(!f||a&&f!=c.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(f,"showAnim");var g=this._get(f,"duration"),i=function(){c.datepicker._tidyDialog(f);this._curInst=null};c.effects&&c.effects[a]?f.dpDiv.hide(a,c.datepicker._get(f,"showOptions"),g,i):f.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?g:null,i);a||i();if(a=this._get(f,"onClose"))a.apply(f.input?f.input[0]:null,[f.input?f.input.val():
516
- "",f]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(c.blockUI){c.unblockUI();c("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(a){if(c.datepicker._curInst){a=c(a.target);a[0].id!=c.datepicker._mainDivId&&a.parents("#"+c.datepicker._mainDivId).length==0&&!a.hasClass(c.datepicker.markerClassName)&&
517
- !a.hasClass(c.datepicker._triggerClass)&&c.datepicker._datepickerShowing&&!(c.datepicker._inDialog&&c.blockUI)&&c.datepicker._hideDatepicker()}},_adjustDate:function(a,f,g){a=c(a);var i=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(i,f+(g=="M"?this._get(i,"showCurrentAtPos"):0),g);this._updateDatepicker(i)}},_gotoToday:function(a){a=c(a);var f=this._getInst(a[0]);if(this._get(f,"gotoCurrent")&&f.currentDay){f.selectedDay=f.currentDay;f.drawMonth=f.selectedMonth=f.currentMonth;
518
- f.drawYear=f.selectedYear=f.currentYear}else{var g=new Date;f.selectedDay=g.getDate();f.drawMonth=f.selectedMonth=g.getMonth();f.drawYear=f.selectedYear=g.getFullYear()}this._notifyChange(f);this._adjustDate(a)},_selectMonthYear:function(a,f,g){a=c(a);var i=this._getInst(a[0]);i._selectingMonthYear=false;i["selected"+(g=="M"?"Month":"Year")]=i["draw"+(g=="M"?"Month":"Year")]=parseInt(f.options[f.selectedIndex].value,10);this._notifyChange(i);this._adjustDate(a)},_clickMonthYear:function(a){a=this._getInst(c(a)[0]);
519
- a.input&&a._selectingMonthYear&&!c.browser.msie&&a.input.focus();a._selectingMonthYear=!a._selectingMonthYear},_selectDay:function(a,f,g,i){var j=c(a);if(!(c(i).hasClass(this._unselectableClass)||this._isDisabledDatepicker(j[0]))){j=this._getInst(j[0]);j.selectedDay=j.currentDay=c("a",i).html();j.selectedMonth=j.currentMonth=f;j.selectedYear=j.currentYear=g;this._selectDate(a,this._formatDate(j,j.currentDay,j.currentMonth,j.currentYear))}},_clearDate:function(a){a=c(a);this._getInst(a[0]);this._selectDate(a,
520
- "")},_selectDate:function(a,f){a=this._getInst(c(a)[0]);f=f!=null?f:this._formatDate(a);a.input&&a.input.val(f);this._updateAlternate(a);var g=this._get(a,"onSelect");if(g)g.apply(a.input?a.input[0]:null,[f,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a);else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var f=this._get(a,"altField");if(f){var g=this._get(a,"altFormat")||
521
- this._get(a,"dateFormat"),i=this._getDate(a),j=this.formatDate(g,i,this._getFormatConfig(a));c(f).each(function(){c(this).val(j)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var f=a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((f-a)/864E5)/7)+1},parseDate:function(a,f,g){if(a==null||f==null)throw"Invalid arguments";f=typeof f=="object"?f.toString():f+"";if(f=="")return null;
522
- for(var i=(g?g.shortYearCutoff:null)||this._defaults.shortYearCutoff,j=(g?g.dayNamesShort:null)||this._defaults.dayNamesShort,m=(g?g.dayNames:null)||this._defaults.dayNames,k=(g?g.monthNamesShort:null)||this._defaults.monthNamesShort,h=(g?g.monthNames:null)||this._defaults.monthNames,l=g=-1,n=-1,o=-1,p=false,q=function(w){(w=C+1<a.length&&a.charAt(C+1)==w)&&C++;return w},r=function(w){q(w);w=new RegExp("^\\d{1,"+(w=="@"?14:w=="!"?20:w=="y"?4:w=="o"?3:2)+"}");w=f.substring(v).match(w);if(!w)throw"Missing number at position "+
523
- v;v+=w[0].length;return parseInt(w[0],10)},s=function(w,A,I){w=q(w)?I:A;for(A=0;A<w.length;A++)if(f.substr(v,w[A].length)==w[A]){v+=w[A].length;return A+1}throw"Unknown name at position "+v;},u=function(){if(f.charAt(v)!=a.charAt(C))throw"Unexpected literal at position "+v;v++},v=0,C=0;C<a.length;C++)if(p)if(a.charAt(C)=="'"&&!q("'"))p=false;else u();else switch(a.charAt(C)){case "d":n=r("d");break;case "D":s("D",j,m);break;case "o":o=r("o");break;case "m":l=r("m");break;case "M":l=s("M",k,h);break;
524
- case "y":g=r("y");break;case "@":var z=new Date(r("@"));g=z.getFullYear();l=z.getMonth()+1;n=z.getDate();break;case "!":z=new Date((r("!")-this._ticksTo1970)/1E4);g=z.getFullYear();l=z.getMonth()+1;n=z.getDate();break;case "'":if(q("'"))u();else p=true;break;default:u()}if(g==-1)g=(new Date).getFullYear();else if(g<100)g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(g<=i?0:-100);if(o>-1){l=1;n=o;do{i=this._getDaysInMonth(g,l-1);if(n<=i)break;l++;n-=i}while(1)}z=this._daylightSavingAdjust(new Date(g,
525
- l-1,n));if(z.getFullYear()!=g||z.getMonth()+1!=l||z.getDate()!=n)throw"Invalid date";return z},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,f,g){if(!f)return"";var i=(g?g.dayNamesShort:null)||this._defaults.dayNamesShort,j=(g?
526
- g.dayNames:null)||this._defaults.dayNames,m=(g?g.monthNamesShort:null)||this._defaults.monthNamesShort;g=(g?g.monthNames:null)||this._defaults.monthNames;var k=function(q){(q=p+1<a.length&&a.charAt(p+1)==q)&&p++;return q},h=function(q,r,s){r=""+r;if(k(q))for(;r.length<s;)r="0"+r;return r},l=function(q,r,s,u){return k(q)?u[r]:s[r]},n="",o=false;if(f)for(var p=0;p<a.length;p++)if(o)if(a.charAt(p)=="'"&&!k("'"))o=false;else n+=a.charAt(p);else switch(a.charAt(p)){case "d":n+=h("d",f.getDate(),2);break;
527
- case "D":n+=l("D",f.getDay(),i,j);break;case "o":n+=h("o",(f.getTime()-(new Date(f.getFullYear(),0,0)).getTime())/864E5,3);break;case "m":n+=h("m",f.getMonth()+1,2);break;case "M":n+=l("M",f.getMonth(),m,g);break;case "y":n+=k("y")?f.getFullYear():(f.getYear()%100<10?"0":"")+f.getYear()%100;break;case "@":n+=f.getTime();break;case "!":n+=f.getTime()*1E4+this._ticksTo1970;break;case "'":if(k("'"))n+="'";else o=true;break;default:n+=a.charAt(p)}return n},_possibleChars:function(a){for(var f="",g=false,
528
- i=function(m){(m=j+1<a.length&&a.charAt(j+1)==m)&&j++;return m},j=0;j<a.length;j++)if(g)if(a.charAt(j)=="'"&&!i("'"))g=false;else f+=a.charAt(j);else switch(a.charAt(j)){case "d":case "m":case "y":case "@":f+="0123456789";break;case "D":case "M":return null;case "'":if(i("'"))f+="'";else g=true;break;default:f+=a.charAt(j)}return f},_get:function(a,f){return a.settings[f]!==undefined?a.settings[f]:this._defaults[f]},_setDateFromField:function(a,f){if(a.input.val()!=a.lastVal){var g=this._get(a,"dateFormat"),
529
- i=a.lastVal=a.input?a.input.val():null,j,m;j=m=this._getDefaultDate(a);var k=this._getFormatConfig(a);try{j=this.parseDate(g,i,k)||m}catch(h){this.log(h);i=f?"":i}a.selectedDay=j.getDate();a.drawMonth=a.selectedMonth=j.getMonth();a.drawYear=a.selectedYear=j.getFullYear();a.currentDay=i?j.getDate():0;a.currentMonth=i?j.getMonth():0;a.currentYear=i?j.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},
530
- _determineDate:function(a,f,g){var i=function(m){var k=new Date;k.setDate(k.getDate()+m);return k},j=function(m){try{return c.datepicker.parseDate(c.datepicker._get(a,"dateFormat"),m,c.datepicker._getFormatConfig(a))}catch(k){}var h=(m.toLowerCase().match(/^c/)?c.datepicker._getDate(a):null)||new Date,l=h.getFullYear(),n=h.getMonth();h=h.getDate();for(var o=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,p=o.exec(m);p;){switch(p[2]||"d"){case "d":case "D":h+=parseInt(p[1],10);break;case "w":case "W":h+=parseInt(p[1],
531
- 10)*7;break;case "m":case "M":n+=parseInt(p[1],10);h=Math.min(h,c.datepicker._getDaysInMonth(l,n));break;case "y":case "Y":l+=parseInt(p[1],10);h=Math.min(h,c.datepicker._getDaysInMonth(l,n));break}p=o.exec(m)}return new Date(l,n,h)};if(f=(f=f==null?g:typeof f=="string"?j(f):typeof f=="number"?isNaN(f)?g:i(f):f)&&f.toString()=="Invalid Date"?g:f){f.setHours(0);f.setMinutes(0);f.setSeconds(0);f.setMilliseconds(0)}return this._daylightSavingAdjust(f)},_daylightSavingAdjust:function(a){if(!a)return null;
532
- a.setHours(a.getHours()>12?a.getHours()+2:0);return a},_setDate:function(a,f,g){var i=!f,j=a.selectedMonth,m=a.selectedYear;f=this._restrictMinMax(a,this._determineDate(a,f,new Date));a.selectedDay=a.currentDay=f.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=f.getMonth();a.drawYear=a.selectedYear=a.currentYear=f.getFullYear();if((j!=a.selectedMonth||m!=a.selectedYear)&&!g)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(i?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||
533
- a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var f=new Date;f=this._daylightSavingAdjust(new Date(f.getFullYear(),f.getMonth(),f.getDate()));var g=this._get(a,"isRTL"),i=this._get(a,"showButtonPanel"),j=this._get(a,"hideIfNoPrevNext"),m=this._get(a,"navigationAsDateFormat"),k=this._getNumberOfMonths(a),h=this._get(a,"showCurrentAtPos"),l=this._get(a,"stepMonths"),n=k[0]!=1||k[1]!=1,o=this._daylightSavingAdjust(!a.currentDay?
534
- new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),p=this._getMinMaxDate(a,"min"),q=this._getMinMaxDate(a,"max");h=a.drawMonth-h;var r=a.drawYear;if(h<0){h+=12;r--}if(q){var s=this._daylightSavingAdjust(new Date(q.getFullYear(),q.getMonth()-k[0]*k[1]+1,q.getDate()));for(s=p&&s<p?p:s;this._daylightSavingAdjust(new Date(r,h,1))>s;){h--;if(h<0){h=11;r--}}}a.drawMonth=h;a.drawYear=r;s=this._get(a,"prevText");s=!m?s:this.formatDate(s,this._daylightSavingAdjust(new Date(r,h-l,1)),this._getFormatConfig(a));
535
- s=this._canAdjustMonth(a,-1,r,h)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+e+".datepicker._adjustDate('#"+a.id+"', -"+l+", 'M');\" title=\""+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(g?"e":"w")+'">'+s+"</span></a>":j?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(g?"e":"w")+'">'+s+"</span></a>";var u=this._get(a,"nextText");u=!m?u:this.formatDate(u,this._daylightSavingAdjust(new Date(r,
536
- h+l,1)),this._getFormatConfig(a));j=this._canAdjustMonth(a,+1,r,h)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+e+".datepicker._adjustDate('#"+a.id+"', +"+l+", 'M');\" title=\""+u+'"><span class="ui-icon ui-icon-circle-triangle-'+(g?"w":"e")+'">'+u+"</span></a>":j?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+u+'"><span class="ui-icon ui-icon-circle-triangle-'+(g?"w":"e")+'">'+u+"</span></a>";l=this._get(a,"currentText");u=this._get(a,"gotoCurrent")&&
537
- a.currentDay?o:f;l=!m?l:this.formatDate(l,u,this._getFormatConfig(a));m=!a.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+e+'.datepicker._hideDatepicker();">'+this._get(a,"closeText")+"</button>":"";i=i?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(g?m:"")+(this._isInRange(a,u)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+
538
- e+".datepicker._gotoToday('#"+a.id+"');\">"+l+"</button>":"")+(g?"":m)+"</div>":"";m=parseInt(this._get(a,"firstDay"),10);m=isNaN(m)?0:m;l=this._get(a,"showWeek");u=this._get(a,"dayNames");this._get(a,"dayNamesShort");var v=this._get(a,"dayNamesMin"),C=this._get(a,"monthNames"),z=this._get(a,"monthNamesShort"),w=this._get(a,"beforeShowDay"),A=this._get(a,"showOtherMonths"),I=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var L=this._getDefaultDate(a),J="",F=0;F<k[0];F++){for(var M=
539
- "",G=0;G<k[1];G++){var N=this._daylightSavingAdjust(new Date(r,h,a.selectedDay)),y=" ui-corner-all",B="";if(n){B+='<div class="ui-datepicker-group';if(k[1]>1)switch(G){case 0:B+=" ui-datepicker-group-first";y=" ui-corner-"+(g?"right":"left");break;case k[1]-1:B+=" ui-datepicker-group-last";y=" ui-corner-"+(g?"left":"right");break;default:B+=" ui-datepicker-group-middle";y="";break}B+='">'}B+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+y+'">'+(/all|left/.test(y)&&F==0?g?
540
- j:s:"")+(/all|right/.test(y)&&F==0?g?s:j:"")+this._generateMonthYearHeader(a,h,r,p,q,F>0||G>0,C,z)+'</div><table class="ui-datepicker-calendar"><thead><tr>';var D=l?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";for(y=0;y<7;y++){var x=(y+m)%7;D+="<th"+((y+m+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+u[x]+'">'+v[x]+"</span></th>"}B+=D+"</tr></thead><tbody>";D=this._getDaysInMonth(r,h);if(r==a.selectedYear&&h==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,
541
- D);y=(this._getFirstDayOfMonth(r,h)-m+7)%7;D=n?6:Math.ceil((y+D)/7);x=this._daylightSavingAdjust(new Date(r,h,1-y));for(var O=0;O<D;O++){B+="<tr>";var P=!l?"":'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(x)+"</td>";for(y=0;y<7;y++){var H=w?w.apply(a.input?a.input[0]:null,[x]):[true,""],E=x.getMonth()!=h,K=E&&!I||!H[0]||p&&x<p||q&&x>q;P+='<td class="'+((y+m+6)%7>=5?" ui-datepicker-week-end":"")+(E?" ui-datepicker-other-month":"")+(x.getTime()==N.getTime()&&h==a.selectedMonth&&
542
- a._keyEvent||L.getTime()==x.getTime()&&L.getTime()==N.getTime()?" "+this._dayOverClass:"")+(K?" "+this._unselectableClass+" ui-state-disabled":"")+(E&&!A?"":" "+H[1]+(x.getTime()==o.getTime()?" "+this._currentClass:"")+(x.getTime()==f.getTime()?" ui-datepicker-today":""))+'"'+((!E||A)&&H[2]?' title="'+H[2]+'"':"")+(K?"":' onclick="DP_jQuery_'+e+".datepicker._selectDay('#"+a.id+"',"+x.getMonth()+","+x.getFullYear()+', this);return false;"')+">"+(E&&!A?"&#xa0;":K?'<span class="ui-state-default">'+x.getDate()+
543
- "</span>":'<a class="ui-state-default'+(x.getTime()==f.getTime()?" ui-state-highlight":"")+(x.getTime()==o.getTime()?" ui-state-active":"")+(E?" ui-priority-secondary":"")+'" href="#">'+x.getDate()+"</a>")+"</td>";x.setDate(x.getDate()+1);x=this._daylightSavingAdjust(x)}B+=P+"</tr>"}h++;if(h>11){h=0;r++}B+="</tbody></table>"+(n?"</div>"+(k[0]>0&&G==k[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");M+=B}J+=M}J+=i+(c.browser.msie&&parseInt(c.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':
544
- "");a._keyEvent=false;return J},_generateMonthYearHeader:function(a,f,g,i,j,m,k,h){var l=this._get(a,"changeMonth"),n=this._get(a,"changeYear"),o=this._get(a,"showMonthAfterYear"),p='<div class="ui-datepicker-title">',q="";if(m||!l)q+='<span class="ui-datepicker-month">'+k[f]+"</span>";else{k=i&&i.getFullYear()==g;var r=j&&j.getFullYear()==g;q+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+e+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" onclick=\"DP_jQuery_"+e+".datepicker._clickMonthYear('#"+
545
- a.id+"');\">";for(var s=0;s<12;s++)if((!k||s>=i.getMonth())&&(!r||s<=j.getMonth()))q+='<option value="'+s+'"'+(s==f?' selected="selected"':"")+">"+h[s]+"</option>";q+="</select>"}o||(p+=q+(m||!(l&&n)?"&#xa0;":""));if(m||!n)p+='<span class="ui-datepicker-year">'+g+"</span>";else{h=this._get(a,"yearRange").split(":");var u=(new Date).getFullYear();k=function(v){v=v.match(/c[+-].*/)?g+parseInt(v.substring(1),10):v.match(/[+-].*/)?u+parseInt(v,10):parseInt(v,10);return isNaN(v)?u:v};f=k(h[0]);h=Math.max(f,
546
- k(h[1]||""));f=i?Math.max(f,i.getFullYear()):f;h=j?Math.min(h,j.getFullYear()):h;for(p+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+e+".datepicker._selectMonthYear('#"+a.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+e+".datepicker._clickMonthYear('#"+a.id+"');\">";f<=h;f++)p+='<option value="'+f+'"'+(f==g?' selected="selected"':"")+">"+f+"</option>";p+="</select>"}p+=this._get(a,"yearSuffix");if(o)p+=(m||!(l&&n)?"&#xa0;":"")+q;p+="</div>";return p},_adjustInstDate:function(a,f,g){var i=
547
- a.drawYear+(g=="Y"?f:0),j=a.drawMonth+(g=="M"?f:0);f=Math.min(a.selectedDay,this._getDaysInMonth(i,j))+(g=="D"?f:0);i=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(i,j,f)));a.selectedDay=i.getDate();a.drawMonth=a.selectedMonth=i.getMonth();a.drawYear=a.selectedYear=i.getFullYear();if(g=="M"||g=="Y")this._notifyChange(a)},_restrictMinMax:function(a,f){var g=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");f=g&&f<g?g:f;return f=a&&f>a?a:f},_notifyChange:function(a){var f=this._get(a,
548
- "onChangeMonthYear");if(f)f.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,f){return this._determineDate(a,this._get(a,f+"Date"),null)},_getDaysInMonth:function(a,f){return 32-(new Date(a,f,32)).getDate()},_getFirstDayOfMonth:function(a,f){return(new Date(a,f,1)).getDay()},_canAdjustMonth:function(a,f,g,i){var j=this._getNumberOfMonths(a);
549
- g=this._daylightSavingAdjust(new Date(g,i+(f<0?f:j[0]*j[1]),1));f<0&&g.setDate(this._getDaysInMonth(g.getFullYear(),g.getMonth()));return this._isInRange(a,g)},_isInRange:function(a,f){var g=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!g||f.getTime()>=g.getTime())&&(!a||f.getTime()<=a.getTime())},_getFormatConfig:function(a){var f=this._get(a,"shortYearCutoff");f=typeof f!="string"?f:(new Date).getFullYear()%100+parseInt(f,10);return{shortYearCutoff:f,dayNamesShort:this._get(a,
550
- "dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,f,g,i){if(!f){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}f=f?typeof f=="object"?f:this._daylightSavingAdjust(new Date(i,g,f)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),f,this._getFormatConfig(a))}});c.fn.datepicker=
551
- function(a){if(!c.datepicker.initialized){c(document).mousedown(c.datepicker._checkExternalClick).find("body").append(c.datepicker.dpDiv);c.datepicker.initialized=true}var f=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return c.datepicker["_"+a+"Datepicker"].apply(c.datepicker,[this[0]].concat(f));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return c.datepicker["_"+a+"Datepicker"].apply(c.datepicker,[this[0]].concat(f));
552
- return this.each(function(){typeof a=="string"?c.datepicker["_"+a+"Datepicker"].apply(c.datepicker,[this].concat(f)):c.datepicker._attachDatepicker(this,a)})};c.datepicker=new b;c.datepicker.initialized=false;c.datepicker.uuid=(new Date).getTime();c.datepicker.version="1.8.1";window["DP_jQuery_"+e]=c})(jQuery);
553
- (function(c){c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");var b=this,d=b.options,e=d.title||b.originalTitle||"&#160;",a=c.ui.dialog.getTitleId(b.element),f=(b.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+
554
- d.dialogClass).css({zIndex:d.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(j){if(d.closeOnEscape&&j.keyCode&&j.keyCode===c.ui.keyCode.ESCAPE){b.close(j);j.preventDefault()}}).attr({role:"dialog","aria-labelledby":a}).mousedown(function(j){b.moveToTop(false,j)});b.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(f);var g=(b.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(f),
555
- i=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){i.addClass("ui-state-hover")},function(){i.removeClass("ui-state-hover")}).focus(function(){i.addClass("ui-state-focus")}).blur(function(){i.removeClass("ui-state-focus")}).click(function(j){b.close(j);return false}).appendTo(g);(b.uiDialogTitlebarCloseText=c("<span></span>")).addClass("ui-icon ui-icon-closethick").text(d.closeText).appendTo(i);c("<span></span>").addClass("ui-dialog-title").attr("id",
556
- a).html(e).prependTo(g);if(c.isFunction(d.beforeclose)&&!c.isFunction(d.beforeClose))d.beforeClose=d.beforeclose;g.find("*").add(g).disableSelection();d.draggable&&c.fn.draggable&&b._makeDraggable();d.resizable&&c.fn.resizable&&b._makeResizable();b._createButtons(d.buttons);b._isOpen=false;c.fn.bgiframe&&f.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var b=this;b.overlay&&b.overlay.destroy();b.uiDialog.hide();b.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");
557
- b.uiDialog.remove();b.originalTitle&&b.element.attr("title",b.originalTitle);return b},widget:function(){return this.uiDialog},close:function(b){var d=this,e;if(false!==d._trigger("beforeClose",b)){d.overlay&&d.overlay.destroy();d.uiDialog.unbind("keypress.ui-dialog");d._isOpen=false;if(d.options.hide)d.uiDialog.hide(d.options.hide,function(){d._trigger("close",b)});else{d.uiDialog.hide();d._trigger("close",b)}c.ui.dialog.overlay.resize();if(d.options.modal){e=0;c(".ui-dialog").each(function(){if(this!==
558
- d.uiDialog[0])e=Math.max(e,c(this).css("z-index"))});c.ui.dialog.maxZ=e}return d}},isOpen:function(){return this._isOpen},moveToTop:function(b,d){var e=this,a=e.options;if(a.modal&&!b||!a.stack&&!a.modal)return e._trigger("focus",d);if(a.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=a.zIndex;if(e.overlay){c.ui.dialog.maxZ+=1;e.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}b={scrollTop:e.element.attr("scrollTop"),scrollLeft:e.element.attr("scrollLeft")};c.ui.dialog.maxZ+=1;e.uiDialog.css("z-index",
559
- c.ui.dialog.maxZ);e.element.attr(b);e._trigger("focus",d);return e},open:function(){if(!this._isOpen){var b=this,d=b.options,e=b.uiDialog;b.overlay=d.modal?new c.ui.dialog.overlay(b):null;e.next().length&&e.appendTo("body");b._size();b._position(d.position);e.show(d.show);b.moveToTop(true);d.modal&&e.bind("keypress.ui-dialog",function(a){if(a.keyCode===c.ui.keyCode.TAB){var f=c(":tabbable",this),g=f.filter(":first");f=f.filter(":last");if(a.target===f[0]&&!a.shiftKey){g.focus(1);return false}else if(a.target===
560
- g[0]&&a.shiftKey){f.focus(1);return false}}});c([]).add(e.find(".ui-dialog-content :tabbable:first")).add(e.find(".ui-dialog-buttonpane :tabbable:first")).add(e).filter(":first").focus();b._trigger("open");b._isOpen=true;return b}},_createButtons:function(b){var d=this,e=false,a=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");d.uiDialog.find(".ui-dialog-buttonpane").remove();typeof b==="object"&&b!==null&&c.each(b,function(){return!(e=true)});if(e){c.each(b,
561
- function(f,g){f=c('<button type="button"></button>').text(f).click(function(){g.apply(d.element[0],arguments)}).appendTo(a);c.fn.button&&f.button()});a.appendTo(d.uiDialog)}},_makeDraggable:function(){function b(g){return{position:g.position,offset:g.offset}}var d=this,e=d.options,a=c(document),f;d.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(g,i){f=e.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging");
562
- d._trigger("dragStart",g,b(i))},drag:function(g,i){d._trigger("drag",g,b(i))},stop:function(g,i){e.position=[i.position.left-a.scrollLeft(),i.position.top-a.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(f);d._trigger("dragStop",g,b(i));c.ui.dialog.overlay.resize()}})},_makeResizable:function(b){function d(g){return{originalPosition:g.originalPosition,originalSize:g.originalSize,position:g.position,size:g.size}}b=b===undefined?this.options.resizable:b;var e=this,a=e.options,f=e.uiDialog.css("position");
563
- b=typeof b==="string"?b:"n,e,s,w,se,sw,ne,nw";e.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:e.element,maxWidth:a.maxWidth,maxHeight:a.maxHeight,minWidth:a.minWidth,minHeight:e._minHeight(),handles:b,start:function(g,i){c(this).addClass("ui-dialog-resizing");e._trigger("resizeStart",g,d(i))},resize:function(g,i){e._trigger("resize",g,d(i))},stop:function(g,i){c(this).removeClass("ui-dialog-resizing");a.height=c(this).height();a.width=c(this).width();e._trigger("resizeStop",
564
- g,d(i));c.ui.dialog.overlay.resize()}}).css("position",f).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var b=this.options;return b.height==="auto"?b.minHeight:Math.min(b.minHeight,b.height)},_position:function(b){var d=[],e=[0,0];b=b||c.ui.dialog.prototype.options.position;if(typeof b==="string"||typeof b==="object"&&"0"in b){d=b.split?b.split(" "):[b[0],b[1]];if(d.length===1)d[1]=d[0];c.each(["left","top"],function(a,f){if(+d[a]===d[a]){e[a]=d[a];d[a]=
565
- f}})}else if(typeof b==="object"){if("left"in b){d[0]="left";e[0]=b.left}else if("right"in b){d[0]="right";e[0]=-b.right}if("top"in b){d[1]="top";e[1]=b.top}else if("bottom"in b){d[1]="bottom";e[1]=-b.bottom}}(b=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position({my:d.join(" "),at:d.join(" "),offset:e.join(" "),of:window,collision:"fit",using:function(a){var f=c(this).css(a).offset().top;f<0&&c(this).css("top",a.top-f)}});b||this.uiDialog.hide()},_setOption:function(b,
566
- d){var e=this,a=e.uiDialog,f=a.is(":data(resizable)"),g=false;switch(b){case "beforeclose":b="beforeClose";break;case "buttons":e._createButtons(d);break;case "closeText":e.uiDialogTitlebarCloseText.text(""+d);break;case "dialogClass":a.removeClass(e.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+d);break;case "disabled":d?a.addClass("ui-dialog-disabled"):a.removeClass("ui-dialog-disabled");break;case "draggable":d?e._makeDraggable():a.draggable("destroy");break;
567
- case "height":g=true;break;case "maxHeight":f&&a.resizable("option","maxHeight",d);g=true;break;case "maxWidth":f&&a.resizable("option","maxWidth",d);g=true;break;case "minHeight":f&&a.resizable("option","minHeight",d);g=true;break;case "minWidth":f&&a.resizable("option","minWidth",d);g=true;break;case "position":e._position(d);break;case "resizable":f&&!d&&a.resizable("destroy");f&&typeof d==="string"&&a.resizable("option","handles",d);!f&&d!==false&&e._makeResizable(d);break;case "title":c(".ui-dialog-title",
568
- e.uiDialogTitlebar).html(""+(d||"&#160;"));break;case "width":g=true;break}c.Widget.prototype._setOption.apply(e,arguments);g&&e._size()},_size:function(){var b=this.options,d;this.element.css({width:"auto",minHeight:0,height:0});d=this.uiDialog.css({height:"auto",width:b.width}).height();this.element.css(b.height==="auto"?{minHeight:Math.max(b.minHeight-d,0),height:"auto"}:{minHeight:0,height:Math.max(b.height-d,0)}).show();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",
569
- this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.1",uuid:0,maxZ:0,getTitleId:function(b){b=b.attr("id");if(!b){this.uuid+=1;b=this.uuid}return"ui-dialog-title-"+b},overlay:function(b){this.$el=c.ui.dialog.overlay.create(b)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(b){return b+".dialog-overlay"}).join(" "),create:function(b){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&
570
- c(document).bind(c.ui.dialog.overlay.events,function(e){return c(e.target).zIndex()>=c.ui.dialog.overlay.maxZ})},1);c(document).bind("keydown.dialog-overlay",function(e){if(b.options.closeOnEscape&&e.keyCode&&e.keyCode===c.ui.keyCode.ESCAPE){b.close(e);e.preventDefault()}});c(window).bind("resize.dialog-overlay",c.ui.dialog.overlay.resize)}var d=(this.oldInstances.pop()||c("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});c.fn.bgiframe&&
571
- d.bgiframe();this.instances.push(d);return d},destroy:function(b){this.oldInstances.push(this.instances.splice(c.inArray(b,this.instances),1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");b.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var b,d;if(c.browser.msie&&c.browser.version<7){b=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);d=Math.max(document.documentElement.offsetHeight,
572
- document.body.offsetHeight);return b<d?c(window).height()+"px":b+"px"}else return c(document).height()+"px"},width:function(){var b,d;if(c.browser.msie&&c.browser.version<7){b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);d=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return b<d?c(window).width()+"px":b+"px"}else return c(document).width()+"px"},resize:function(){var b=c([]);c.each(c.ui.dialog.overlay.instances,function(){b=b.add(this)});b.css({width:0,
573
- height:0}).css({width:c.ui.dialog.overlay.width(),height:c.ui.dialog.overlay.height()})}});c.extend(c.ui.dialog.overlay.prototype,{destroy:function(){c.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
574
- (function(c){c.widget("ui.draggable",c.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper==
575
- "original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(b){var d=
576
- this.options;if(this.helper||d.disabled||c(b.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(b);if(!this.handle)return false;return true},_mouseStart:function(b){var d=this.options;this.helper=this._createHelper(b);this._cacheHelperProportions();if(c.ui.ddmanager)c.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-
577
- this.margins.top,left:this.offset.left-this.margins.left};c.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(b);this.originalPageX=b.pageX;this.originalPageY=b.pageY;d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt);d.containment&&this._setContainment();if(this._trigger("start",b)===false){this._clear();return false}this._cacheHelperProportions();
578
- c.ui.ddmanager&&!d.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,b);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(b,true);return true},_mouseDrag:function(b,d){this.position=this._generatePosition(b);this.positionAbs=this._convertPositionTo("absolute");if(!d){d=this._uiHash();if(this._trigger("drag",b,d)===false){this._mouseUp({});return false}this.position=d.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||
579
- this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";c.ui.ddmanager&&c.ui.ddmanager.drag(this,b);return false},_mouseStop:function(b){var d=false;if(c.ui.ddmanager&&!this.options.dropBehaviour)d=c.ui.ddmanager.drop(this,b);if(this.dropped){d=this.dropped;this.dropped=false}if(!this.element[0]||!this.element[0].parentNode)return false;if(this.options.revert=="invalid"&&!d||this.options.revert=="valid"&&d||this.options.revert===true||c.isFunction(this.options.revert)&&this.options.revert.call(this.element,
580
- d)){var e=this;c(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){e._trigger("stop",b)!==false&&e._clear()})}else this._trigger("stop",b)!==false&&this._clear();return false},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(b){var d=!this.options.handle||!c(this.options.handle,this.element).length?true:false;c(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==
581
- b.target)d=true});return d},_createHelper:function(b){var d=this.options;b=c.isFunction(d.helper)?c(d.helper.apply(this.element[0],[b])):d.helper=="clone"?this.element.clone():this.element;b.parents("body").length||b.appendTo(d.appendTo=="parent"?this.element[0].parentNode:d.appendTo);b[0]!=this.element[0]&&!/(fixed|absolute)/.test(b.css("position"))&&b.css("position","absolute");return b},_adjustOffsetFromHelper:function(b){if(typeof b=="string")b=b.split(" ");if(c.isArray(b))b={left:+b[0],top:+b[1]||
582
- 0};if("left"in b)this.offset.click.left=b.left+this.margins.left;if("right"in b)this.offset.click.left=this.helperProportions.width-b.right+this.margins.left;if("top"in b)this.offset.click.top=b.top+this.margins.top;if("bottom"in b)this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],
583
- this.offsetParent[0])){b.left+=this.scrollParent.scrollLeft();b.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&c.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var b=this.element.position();return{top:b.top-
584
- (parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;if(b.containment==
585
- "parent")b.containment=this.helper[0].parentNode;if(b.containment=="document"||b.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,c(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(c(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)&&
586
- b.containment.constructor!=Array){var d=c(b.containment)[0];if(d){b=c(b.containment).offset();var e=c(d).css("overflow")!="hidden";this.containment=[b.left+(parseInt(c(d).css("borderLeftWidth"),10)||0)+(parseInt(c(d).css("paddingLeft"),10)||0)-this.margins.left,b.top+(parseInt(c(d).css("borderTopWidth"),10)||0)+(parseInt(c(d).css("paddingTop"),10)||0)-this.margins.top,b.left+(e?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(c(d).css("borderLeftWidth"),10)||0)-(parseInt(c(d).css("paddingRight"),
587
- 10)||0)-this.helperProportions.width-this.margins.left,b.top+(e?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(c(d).css("borderTopWidth"),10)||0)-(parseInt(c(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}}else if(b.containment.constructor==Array)this.containment=b.containment},_convertPositionTo:function(b,d){if(!d)d=this.position;b=b=="absolute"?1:-1;var e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],
588
- this.offsetParent[0]))?this.offsetParent:this.scrollParent,a=/(html|body)/i.test(e[0].tagName);return{top:d.top+this.offset.relative.top*b+this.offset.parent.top*b-(c.browser.safari&&c.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():a?0:e.scrollTop())*b),left:d.left+this.offset.relative.left*b+this.offset.parent.left*b-(c.browser.safari&&c.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():
589
- a?0:e.scrollLeft())*b)}},_generatePosition:function(b){var d=this.options,e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,a=/(html|body)/i.test(e[0].tagName),f=b.pageX,g=b.pageY;if(this.originalPosition){if(this.containment){if(b.pageX-this.offset.click.left<this.containment[0])f=this.containment[0]+this.offset.click.left;if(b.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+
590
- this.offset.click.top;if(b.pageX-this.offset.click.left>this.containment[2])f=this.containment[2]+this.offset.click.left;if(b.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(d.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/d.grid[1])*d.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-d.grid[1]:g+d.grid[1]:g;f=this.originalPageX+
591
- Math.round((f-this.originalPageX)/d.grid[0])*d.grid[0];f=this.containment?!(f-this.offset.click.left<this.containment[0]||f-this.offset.click.left>this.containment[2])?f:!(f-this.offset.click.left<this.containment[0])?f-d.grid[0]:f+d.grid[0]:f}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(c.browser.safari&&c.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():a?0:e.scrollTop()),left:f-this.offset.click.left-
592
- this.offset.relative.left-this.offset.parent.left+(c.browser.safari&&c.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():a?0:e.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(b,d,e){e=e||this._uiHash();c.ui.plugin.call(this,b,[d,e]);if(b=="drag")this.positionAbs=
593
- this._convertPositionTo("absolute");return c.Widget.prototype._trigger.call(this,b,d,e)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});c.extend(c.ui.draggable,{version:"1.8.1"});c.ui.plugin.add("draggable","connectToSortable",{start:function(b,d){var e=c(this).data("draggable"),a=e.options,f=c.extend({},d,{item:e.element});e.sortables=[];c(a.connectToSortable).each(function(){var g=c.data(this,"sortable");
594
- if(g&&!g.options.disabled){e.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger("activate",b,f)}})},stop:function(b,d){var e=c(this).data("draggable"),a=c.extend({},d,{item:e.element});c.each(e.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;e.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(b);this.instance.options.helper=this.instance.options._helper;
595
- e.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",b,a)}})},drag:function(b,d){var e=c(this).data("draggable"),a=this;c.each(e.sortables,function(){this.instance.positionAbs=e.positionAbs;this.instance.helperProportions=e.helperProportions;this.instance.offset.click=e.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=
596
- 1;this.instance.currentItem=c(a).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return d.helper[0]};b.target=this.instance.currentItem[0];this.instance._mouseCapture(b,true);this.instance._mouseStart(b,true,true);this.instance.offset.click.top=e.offset.click.top;this.instance.offset.click.left=e.offset.click.left;this.instance.offset.parent.left-=e.offset.parent.left-this.instance.offset.parent.left;
597
- this.instance.offset.parent.top-=e.offset.parent.top-this.instance.offset.parent.top;e._trigger("toSortable",b);e.dropped=this.instance.element;e.currentItem=e.element;this.instance.fromOutside=e}this.instance.currentItem&&this.instance._mouseDrag(b)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",b,this.instance._uiHash(this.instance));this.instance._mouseStop(b,true);this.instance.options.helper=
598
- this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();e._trigger("fromSortable",b);e.dropped=false}})}});c.ui.plugin.add("draggable","cursor",{start:function(){var b=c("body"),d=c(this).data("draggable").options;if(b.css("cursor"))d._cursor=b.css("cursor");b.css("cursor",d.cursor)},stop:function(){var b=c(this).data("draggable").options;b._cursor&&c("body").css("cursor",b._cursor)}});c.ui.plugin.add("draggable","iframeFix",{start:function(){var b=
599
- c(this).data("draggable").options;c(b.iframeFix===true?"iframe":b.iframeFix).each(function(){c('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(c(this).offset()).appendTo("body")})},stop:function(){c("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});c.ui.plugin.add("draggable","opacity",{start:function(b,d){b=c(d.helper);d=c(this).data("draggable").options;
600
- if(b.css("opacity"))d._opacity=b.css("opacity");b.css("opacity",d.opacity)},stop:function(b,d){b=c(this).data("draggable").options;b._opacity&&c(d.helper).css("opacity",b._opacity)}});c.ui.plugin.add("draggable","scroll",{start:function(){var b=c(this).data("draggable");if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML")b.overflowOffset=b.scrollParent.offset()},drag:function(b){var d=c(this).data("draggable"),e=d.options,a=false;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!=
601
- "HTML"){if(!e.axis||e.axis!="x")if(d.overflowOffset.top+d.scrollParent[0].offsetHeight-b.pageY<e.scrollSensitivity)d.scrollParent[0].scrollTop=a=d.scrollParent[0].scrollTop+e.scrollSpeed;else if(b.pageY-d.overflowOffset.top<e.scrollSensitivity)d.scrollParent[0].scrollTop=a=d.scrollParent[0].scrollTop-e.scrollSpeed;if(!e.axis||e.axis!="y")if(d.overflowOffset.left+d.scrollParent[0].offsetWidth-b.pageX<e.scrollSensitivity)d.scrollParent[0].scrollLeft=a=d.scrollParent[0].scrollLeft+e.scrollSpeed;else if(b.pageX-
602
- d.overflowOffset.left<e.scrollSensitivity)d.scrollParent[0].scrollLeft=a=d.scrollParent[0].scrollLeft-e.scrollSpeed}else{if(!e.axis||e.axis!="x")if(b.pageY-c(document).scrollTop()<e.scrollSensitivity)a=c(document).scrollTop(c(document).scrollTop()-e.scrollSpeed);else if(c(window).height()-(b.pageY-c(document).scrollTop())<e.scrollSensitivity)a=c(document).scrollTop(c(document).scrollTop()+e.scrollSpeed);if(!e.axis||e.axis!="y")if(b.pageX-c(document).scrollLeft()<e.scrollSensitivity)a=c(document).scrollLeft(c(document).scrollLeft()-
603
- e.scrollSpeed);else if(c(window).width()-(b.pageX-c(document).scrollLeft())<e.scrollSensitivity)a=c(document).scrollLeft(c(document).scrollLeft()+e.scrollSpeed)}a!==false&&c.ui.ddmanager&&!e.dropBehaviour&&c.ui.ddmanager.prepareOffsets(d,b)}});c.ui.plugin.add("draggable","snap",{start:function(){var b=c(this).data("draggable"),d=b.options;b.snapElements=[];c(d.snap.constructor!=String?d.snap.items||":data(draggable)":d.snap).each(function(){var e=c(this),a=e.offset();this!=b.element[0]&&b.snapElements.push({item:this,
604
- width:e.outerWidth(),height:e.outerHeight(),top:a.top,left:a.left})})},drag:function(b,d){for(var e=c(this).data("draggable"),a=e.options,f=a.snapTolerance,g=d.offset.left,i=g+e.helperProportions.width,j=d.offset.top,m=j+e.helperProportions.height,k=e.snapElements.length-1;k>=0;k--){var h=e.snapElements[k].left,l=h+e.snapElements[k].width,n=e.snapElements[k].top,o=n+e.snapElements[k].height;if(h-f<g&&g<l+f&&n-f<j&&j<o+f||h-f<g&&g<l+f&&n-f<m&&m<o+f||h-f<i&&i<l+f&&n-f<j&&j<o+f||h-f<i&&i<l+f&&n-f<m&&
605
- m<o+f){if(a.snapMode!="inner"){var p=Math.abs(n-m)<=f,q=Math.abs(o-j)<=f,r=Math.abs(h-i)<=f,s=Math.abs(l-g)<=f;if(p)d.position.top=e._convertPositionTo("relative",{top:n-e.helperProportions.height,left:0}).top-e.margins.top;if(q)d.position.top=e._convertPositionTo("relative",{top:o,left:0}).top-e.margins.top;if(r)d.position.left=e._convertPositionTo("relative",{top:0,left:h-e.helperProportions.width}).left-e.margins.left;if(s)d.position.left=e._convertPositionTo("relative",{top:0,left:l}).left-e.margins.left}var u=
606
- p||q||r||s;if(a.snapMode!="outer"){p=Math.abs(n-j)<=f;q=Math.abs(o-m)<=f;r=Math.abs(h-g)<=f;s=Math.abs(l-i)<=f;if(p)d.position.top=e._convertPositionTo("relative",{top:n,left:0}).top-e.margins.top;if(q)d.position.top=e._convertPositionTo("relative",{top:o-e.helperProportions.height,left:0}).top-e.margins.top;if(r)d.position.left=e._convertPositionTo("relative",{top:0,left:h}).left-e.margins.left;if(s)d.position.left=e._convertPositionTo("relative",{top:0,left:l-e.helperProportions.width}).left-e.margins.left}if(!e.snapElements[k].snapping&&
607
- (p||q||r||s||u))e.options.snap.snap&&e.options.snap.snap.call(e.element,b,c.extend(e._uiHash(),{snapItem:e.snapElements[k].item}));e.snapElements[k].snapping=p||q||r||s||u}else{e.snapElements[k].snapping&&e.options.snap.release&&e.options.snap.release.call(e.element,b,c.extend(e._uiHash(),{snapItem:e.snapElements[k].item}));e.snapElements[k].snapping=false}}}});c.ui.plugin.add("draggable","stack",{start:function(){var b=c(this).data("draggable").options;b=c.makeArray(c(b.stack)).sort(function(e,a){return(parseInt(c(e).css("zIndex"),
608
- 10)||0)-(parseInt(c(a).css("zIndex"),10)||0)});if(b.length){var d=parseInt(b[0].style.zIndex)||0;c(b).each(function(e){this.style.zIndex=d+e});this[0].style.zIndex=d+b.length}}});c.ui.plugin.add("draggable","zIndex",{start:function(b,d){b=c(d.helper);d=c(this).data("draggable").options;if(b.css("zIndex"))d._zIndex=b.css("zIndex");b.css("zIndex",d.zIndex)},stop:function(b,d){b=c(this).data("draggable").options;b._zIndex&&c(d.helper).css("zIndex",b._zIndex)}})})(jQuery);
609
- (function(c){c.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var b=this.options,d=b.accept;this.isover=0;this.isout=1;this.accept=c.isFunction(d)?d:function(e){return e.is(d)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};c.ui.ddmanager.droppables[b.scope]=c.ui.ddmanager.droppables[b.scope]||[];c.ui.ddmanager.droppables[b.scope].push(this);
610
- b.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var b=c.ui.ddmanager.droppables[this.options.scope],d=0;d<b.length;d++)b[d]==this&&b.splice(d,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(b,d){if(b=="accept")this.accept=c.isFunction(d)?d:function(e){return e.is(d)};c.Widget.prototype._setOption.apply(this,arguments)},_activate:function(b){var d=c.ui.ddmanager.current;this.options.activeClass&&
611
- this.element.addClass(this.options.activeClass);d&&this._trigger("activate",b,this.ui(d))},_deactivate:function(b){var d=c.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);d&&this._trigger("deactivate",b,this.ui(d))},_over:function(b){var d=c.ui.ddmanager.current;if(!(!d||(d.currentItem||d.element)[0]==this.element[0]))if(this.accept.call(this.element[0],d.currentItem||d.element)){this.options.hoverClass&&this.element.addClass(this.options.hoverClass);
612
- this._trigger("over",b,this.ui(d))}},_out:function(b){var d=c.ui.ddmanager.current;if(!(!d||(d.currentItem||d.element)[0]==this.element[0]))if(this.accept.call(this.element[0],d.currentItem||d.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",b,this.ui(d))}},_drop:function(b,d){var e=d||c.ui.ddmanager.current;if(!e||(e.currentItem||e.element)[0]==this.element[0])return false;var a=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var f=
613
- c.data(this,"droppable");if(f.options.greedy&&!f.options.disabled&&f.options.scope==e.options.scope&&f.accept.call(f.element[0],e.currentItem||e.element)&&c.ui.intersect(e,c.extend(f,{offset:f.element.offset()}),f.options.tolerance)){a=true;return false}});if(a)return false;if(this.accept.call(this.element[0],e.currentItem||e.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass);this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("drop",
614
- b,this.ui(e));return this.element}return false},ui:function(b){return{draggable:b.currentItem||b.element,helper:b.helper,position:b.position,offset:b.positionAbs}}});c.extend(c.ui.droppable,{version:"1.8.1"});c.ui.intersect=function(b,d,e){if(!d.offset)return false;var a=(b.positionAbs||b.position.absolute).left,f=a+b.helperProportions.width,g=(b.positionAbs||b.position.absolute).top,i=g+b.helperProportions.height,j=d.offset.left,m=j+d.proportions.width,k=d.offset.top,h=k+d.proportions.height;switch(e){case "fit":return j<
615
- a&&f<m&&k<g&&i<h;case "intersect":return j<a+b.helperProportions.width/2&&f-b.helperProportions.width/2<m&&k<g+b.helperProportions.height/2&&i-b.helperProportions.height/2<h;case "pointer":return c.ui.isOver((b.positionAbs||b.position.absolute).top+(b.clickOffset||b.offset.click).top,(b.positionAbs||b.position.absolute).left+(b.clickOffset||b.offset.click).left,k,j,d.proportions.height,d.proportions.width);case "touch":return(g>=k&&g<=h||i>=k&&i<=h||g<k&&i>h)&&(a>=j&&a<=m||f>=j&&f<=m||a<j&&f>m);default:return false}};
616
- c.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(b,d){var e=c.ui.ddmanager.droppables[b.options.scope]||[],a=d?d.type:null,f=(b.currentItem||b.element).find(":data(droppable)").andSelf(),g=0;a:for(;g<e.length;g++)if(!(e[g].options.disabled||b&&!e[g].accept.call(e[g].element[0],b.currentItem||b.element))){for(var i=0;i<f.length;i++)if(f[i]==e[g].element[0]){e[g].proportions.height=0;continue a}e[g].visible=e[g].element.css("display")!="none";if(e[g].visible){e[g].offset=
617
- e[g].element.offset();e[g].proportions={width:e[g].element[0].offsetWidth,height:e[g].element[0].offsetHeight};a=="mousedown"&&e[g]._activate.call(e[g],d)}}},drop:function(b,d){var e=false;c.each(c.ui.ddmanager.droppables[b.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&c.ui.intersect(b,this,this.options.tolerance))e=e||this._drop.call(this,d);if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],b.currentItem||b.element)){this.isout=1;
618
- this.isover=0;this._deactivate.call(this,d)}}});return e},drag:function(b,d){b.options.refreshPositions&&c.ui.ddmanager.prepareOffsets(b,d);c.each(c.ui.ddmanager.droppables[b.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var e=c.ui.intersect(b,this,this.options.tolerance);if(e=!e&&this.isover==1?"isout":e&&this.isover==0?"isover":null){var a;if(this.options.greedy){var f=this.element.parents(":data(droppable):eq(0)");if(f.length){a=c.data(f[0],"droppable");
619
- a.greedyChild=e=="isover"?1:0}}if(a&&e=="isover"){a.isover=0;a.isout=1;a._out.call(a,d)}this[e]=1;this[e=="isout"?"isover":"isout"]=0;this[e=="isover"?"_over":"_out"].call(this,d);if(a&&e=="isout"){a.isout=0;a.isover=1;a._over.call(a,d)}}}})}}})(jQuery);
620
- (function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(d){return b._mouseDown(d)}).bind("click."+this.widgetName,function(d){if(b._preventClickEvent){b._preventClickEvent=false;d.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(b){b.originalEvent=b.originalEvent||{};if(!b.originalEvent.mouseHandled){this._mouseStarted&&
621
- this._mouseUp(b);this._mouseDownEvent=b;var d=this,e=b.which==1,a=typeof this.options.cancel=="string"?c(b.target).parents().add(b.target).filter(this.options.cancel).length:false;if(!e||a||!this._mouseCapture(b))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==false;if(!this._mouseStarted){b.preventDefault();
622
- return true}}this._mouseMoveDelegate=function(f){return d._mouseMove(f)};this._mouseUpDelegate=function(f){return d._mouseUp(f)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);c.browser.safari||b.preventDefault();return b.originalEvent.mouseHandled=true}},_mouseMove:function(b){if(c.browser.msie&&!b.button)return this._mouseUp(b);if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}if(this._mouseDistanceMet(b)&&
623
- this._mouseDelayMet(b))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==false)?this._mouseDrag(b):this._mouseUp(b);return!this._mouseStarted},_mouseUp:function(b){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=b.target==this._mouseDownEvent.target;this._mouseStop(b)}return false},_mouseDistanceMet:function(b){return Math.max(Math.abs(this._mouseDownEvent.pageX-
624
- b.pageX),Math.abs(this._mouseDownEvent.pageY-b.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
625
- (function(c){c.ui=c.ui||{};var b=/left|center|right/,d=/top|center|bottom/,e=c.fn.position,a=c.fn.offset;c.fn.position=function(f){if(!f||!f.of)return e.apply(this,arguments);f=c.extend({},f);var g=c(f.of),i=(f.collision||"flip").split(" "),j=f.offset?f.offset.split(" "):[0,0],m,k,h;if(f.of.nodeType===9){m=g.width();k=g.height();h={top:0,left:0}}else if(f.of.scrollTo&&f.of.document){m=g.width();k=g.height();h={top:g.scrollTop(),left:g.scrollLeft()}}else if(f.of.preventDefault){f.at="left top";m=k=
626
- 0;h={top:f.of.pageY,left:f.of.pageX}}else{m=g.outerWidth();k=g.outerHeight();h=g.offset()}c.each(["my","at"],function(){var l=(f[this]||"").split(" ");if(l.length===1)l=b.test(l[0])?l.concat(["center"]):d.test(l[0])?["center"].concat(l):["center","center"];l[0]=b.test(l[0])?l[0]:"center";l[1]=d.test(l[1])?l[1]:"center";f[this]=l});if(i.length===1)i[1]=i[0];j[0]=parseInt(j[0],10)||0;if(j.length===1)j[1]=j[0];j[1]=parseInt(j[1],10)||0;if(f.at[0]==="right")h.left+=m;else if(f.at[0]==="center")h.left+=
627
- m/2;if(f.at[1]==="bottom")h.top+=k;else if(f.at[1]==="center")h.top+=k/2;h.left+=j[0];h.top+=j[1];return this.each(function(){var l=c(this),n=l.outerWidth(),o=l.outerHeight(),p=c.extend({},h);if(f.my[0]==="right")p.left-=n;else if(f.my[0]==="center")p.left-=n/2;if(f.my[1]==="bottom")p.top-=o;else if(f.my[1]==="center")p.top-=o/2;p.left=parseInt(p.left);p.top=parseInt(p.top);c.each(["left","top"],function(q,r){c.ui.position[i[q]]&&c.ui.position[i[q]][r](p,{targetWidth:m,targetHeight:k,elemWidth:n,
628
- elemHeight:o,offset:j,my:f.my,at:f.at})});c.fn.bgiframe&&l.bgiframe();l.offset(c.extend(p,{using:f.using}))})};c.ui.position={fit:{left:function(f,g){var i=c(window);g=f.left+g.elemWidth-i.width()-i.scrollLeft();f.left=g>0?f.left-g:Math.max(0,f.left)},top:function(f,g){var i=c(window);g=f.top+g.elemHeight-i.height()-i.scrollTop();f.top=g>0?f.top-g:Math.max(0,f.top)}},flip:{left:function(f,g){if(g.at[0]!=="center"){var i=c(window);i=f.left+g.elemWidth-i.width()-i.scrollLeft();var j=g.my[0]==="left"?
629
- -g.elemWidth:g.my[0]==="right"?g.elemWidth:0,m=-2*g.offset[0];f.left+=f.left<0?j+g.targetWidth+m:i>0?j-g.targetWidth+m:0}},top:function(f,g){if(g.at[1]!=="center"){var i=c(window);i=f.top+g.elemHeight-i.height()-i.scrollTop();var j=g.my[1]==="top"?-g.elemHeight:g.my[1]==="bottom"?g.elemHeight:0,m=g.at[1]==="top"?g.targetHeight:-g.targetHeight,k=-2*g.offset[1];f.top+=f.top<0?j+g.targetHeight+k:i>0?j+m+k:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(f,g){if(/static/.test(c.curCSS(f,"position")))f.style.position=
630
- "relative";var i=c(f),j=i.offset(),m=parseInt(c.curCSS(f,"top",true),10)||0,k=parseInt(c.curCSS(f,"left",true),10)||0;j={top:g.top-j.top+m,left:g.left-j.left+k};"using"in g?g.using.call(f,j):i.css(j)};c.fn.offset=function(f){var g=this[0];if(!g||!g.ownerDocument)return null;if(f)return this.each(function(){c.offset.setOffset(this,f)});return a.call(this)}}})(jQuery);
631
- (function(c){c.widget("ui.progressbar",{options:{value:0},_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this._valueMin(),"aria-valuemax":this._valueMax(),"aria-valuenow":this._value()});this.valueDiv=c("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
632
- this.valueDiv.remove();c.Widget.prototype.destroy.apply(this,arguments)},value:function(b){if(b===undefined)return this._value();this._setOption("value",b);return this},_setOption:function(b,d){switch(b){case "value":this.options.value=d;this._refreshValue();this._trigger("change");break}c.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var b=this.options.value;if(typeof b!=="number")b=0;if(b<this._valueMin())b=this._valueMin();if(b>this._valueMax())b=this._valueMax();return b},
633
- _valueMin:function(){return 0},_valueMax:function(){return 100},_refreshValue:function(){var b=this.value();this.valueDiv[b===this._valueMax()?"addClass":"removeClass"]("ui-corner-right").width(b+"%");this.element.attr("aria-valuenow",b)}});c.extend(c.ui.progressbar,{version:"1.8.1"})})(jQuery);
634
- (function(c){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1E3},_create:function(){var e=this,a=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,
635
- _proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){/relative/.test(this.element.css("position"))&&c.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"});this.element.wrap(c('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),
636
- top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=
637
- this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",
638
- nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all")this.handles="n,e,s,w,se,sw,ne,nw";var f=this.handles.split(",");this.handles={};for(var g=0;g<f.length;g++){var i=c.trim(f[g]),j=c('<div class="ui-resizable-handle '+("ui-resizable-"+i)+'"></div>');/sw|se|ne|nw/.test(i)&&j.css({zIndex:++a.zIndex});"se"==i&&j.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[i]=".ui-resizable-"+i;this.element.append(j)}}this._renderAxis=function(m){m=m||this.element;for(var k in this.handles){if(this.handles[k].constructor==
639
- String)this.handles[k]=c(this.handles[k],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var h=c(this.handles[k],this.element),l=0;l=/sw|ne|nw|se|n|s/.test(k)?h.outerHeight():h.outerWidth();h=["padding",/ne|nw|n/.test(k)?"Top":/se|sw|s/.test(k)?"Bottom":/^e$/.test(k)?"Right":"Left"].join("");m.css(h,l);this._proportionallyResize()}c(this.handles[k])}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();
640
- this._handles.mouseover(function(){if(!e.resizing){if(this.className)var m=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);e.axis=m&&m[1]?m[1]:"se"}});if(a.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};
641
- if(this.elementIsWrapper){e(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(e){var a=false;for(var f in this.handles)if(c(this.handles[f])[0]==e.target)a=true;return!this.options.disabled&&a},_mouseStart:function(e){var a=this.options,f=this.element.position(),
642
- g=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(g.is(".ui-draggable")||/absolute/.test(g.css("position")))g.css({position:"absolute",top:f.top,left:f.left});c.browser.opera&&/relative/.test(g.css("position"))&&g.css({position:"relative",top:"auto",left:"auto"});this._renderProxy();f=b(this.helper.css("left"));var i=b(this.helper.css("top"));if(a.containment){f+=c(a.containment).scrollLeft()||0;i+=c(a.containment).scrollTop()||0}this.offset=
643
- this.helper.offset();this.position={left:f,top:i};this.size=this._helper?{width:g.outerWidth(),height:g.outerHeight()}:{width:g.width(),height:g.height()};this.originalSize=this._helper?{width:g.outerWidth(),height:g.outerHeight()}:{width:g.width(),height:g.height()};this.originalPosition={left:f,top:i};this.sizeDiff={width:g.outerWidth()-g.width(),height:g.outerHeight()-g.height()};this.originalMousePosition={left:e.pageX,top:e.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio:
644
- this.originalSize.width/this.originalSize.height||1;a=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",a=="auto"?this.axis+"-resize":a);g.addClass("ui-resizable-resizing");this._propagate("start",e);return true},_mouseDrag:function(e){var a=this.helper,f=this.originalMousePosition,g=this._change[this.axis];if(!g)return false;f=g.apply(this,[e,e.pageX-f.left||0,e.pageY-f.top||0]);if(this._aspectRatio||e.shiftKey)f=this._updateRatio(f,e);f=this._respectSize(f,e);this._propagate("resize",
645
- e);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(f);this._trigger("resize",e,this.ui());return false},_mouseStop:function(e){this.resizing=false;var a=this.options,f=this;if(this._helper){var g=this._proportionallyResizeElements,i=g.length&&/textarea/i.test(g[0].nodeName);g=i&&c.ui.hasScroll(g[0],"left")?0:f.sizeDiff.height;
646
- i={width:f.size.width-(i?0:f.sizeDiff.width),height:f.size.height-g};g=parseInt(f.element.css("left"),10)+(f.position.left-f.originalPosition.left)||null;var j=parseInt(f.element.css("top"),10)+(f.position.top-f.originalPosition.top)||null;a.animate||this.element.css(c.extend(i,{top:j,left:g}));f.helper.height(f.size.height);f.helper.width(f.size.width);this._helper&&!a.animate&&this._proportionallyResize()}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",
647
- e);this._helper&&this.helper.remove();return false},_updateCache:function(e){this.offset=this.helper.offset();if(d(e.left))this.position.left=e.left;if(d(e.top))this.position.top=e.top;if(d(e.height))this.size.height=e.height;if(d(e.width))this.size.width=e.width},_updateRatio:function(e){var a=this.position,f=this.size,g=this.axis;if(e.height)e.width=f.height*this.aspectRatio;else if(e.width)e.height=f.width/this.aspectRatio;if(g=="sw"){e.left=a.left+(f.width-e.width);e.top=null}if(g=="nw"){e.top=
648
- a.top+(f.height-e.height);e.left=a.left+(f.width-e.width)}return e},_respectSize:function(e){var a=this.options,f=this.axis,g=d(e.width)&&a.maxWidth&&a.maxWidth<e.width,i=d(e.height)&&a.maxHeight&&a.maxHeight<e.height,j=d(e.width)&&a.minWidth&&a.minWidth>e.width,m=d(e.height)&&a.minHeight&&a.minHeight>e.height;if(j)e.width=a.minWidth;if(m)e.height=a.minHeight;if(g)e.width=a.maxWidth;if(i)e.height=a.maxHeight;var k=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,
649
- l=/sw|nw|w/.test(f);f=/nw|ne|n/.test(f);if(j&&l)e.left=k-a.minWidth;if(g&&l)e.left=k-a.maxWidth;if(m&&f)e.top=h-a.minHeight;if(i&&f)e.top=h-a.maxHeight;if((a=!e.width&&!e.height)&&!e.left&&e.top)e.top=null;else if(a&&!e.top&&e.left)e.left=null;return e},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e=this.helper||this.element,a=0;a<this._proportionallyResizeElements.length;a++){var f=this._proportionallyResizeElements[a];if(!this.borderDif){var g=[f.css("borderTopWidth"),
650
- f.css("borderRightWidth"),f.css("borderBottomWidth"),f.css("borderLeftWidth")],i=[f.css("paddingTop"),f.css("paddingRight"),f.css("paddingBottom"),f.css("paddingLeft")];this.borderDif=c.map(g,function(j,m){j=parseInt(j,10)||0;m=parseInt(i[m],10)||0;return j+m})}c.browser.msie&&(c(e).is(":hidden")||c(e).parents(":hidden").length)||f.css({height:e.height()-this.borderDif[0]-this.borderDif[2]||0,width:e.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var e=this.options;this.elementOffset=
651
- this.element.offset();if(this._helper){this.helper=this.helper||c('<div style="overflow:hidden;"></div>');var a=c.browser.msie&&c.browser.version<7,f=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++e.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(e,a){return{width:this.originalSize.width+
652
- a}},w:function(e,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(e,a,f){return{top:this.originalPosition.top+f,height:this.originalSize.height-f}},s:function(e,a,f){return{height:this.originalSize.height+f}},se:function(e,a,f){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,a,f]))},sw:function(e,a,f){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,a,f]))},ne:function(e,a,f){return c.extend(this._change.n.apply(this,
653
- arguments),this._change.e.apply(this,[e,a,f]))},nw:function(e,a,f){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,a,f]))}},_propagate:function(e,a){c.ui.plugin.call(this,e,[a,this.ui()]);e!="resize"&&this._trigger(e,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,
654
- {version:"1.8.1"});c.ui.plugin.add("resizable","alsoResize",{start:function(){var e=c(this).data("resizable").options,a=function(f){c(f).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof e.alsoResize=="object"&&!e.alsoResize.parentNode)if(e.alsoResize.length){e.alsoResize=e.alsoResize[0];a(e.alsoResize)}else c.each(e.alsoResize,function(f){a(f)});
655
- else a(e.alsoResize)},resize:function(){var e=c(this).data("resizable"),a=e.options,f=e.originalSize,g=e.originalPosition,i={height:e.size.height-f.height||0,width:e.size.width-f.width||0,top:e.position.top-g.top||0,left:e.position.left-g.left||0},j=function(m,k){c(m).each(function(){var h=c(this),l=c(this).data("resizable-alsoresize"),n={};c.each((k&&k.length?k:["width","height","top","left"])||["width","height","top","left"],function(o,p){if((o=(l[p]||0)+(i[p]||0))&&o>=0)n[p]=o||null});if(/relative/.test(h.css("position"))&&
656
- c.browser.opera){e._revertToRelativePosition=true;h.css({position:"absolute",top:"auto",left:"auto"})}h.css(n)})};typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?c.each(a.alsoResize,function(m,k){j(m,k)}):j(a.alsoResize)},stop:function(){var e=c(this).data("resizable");if(e._revertToRelativePosition&&c.browser.opera){e._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(e){var a=
657
- c(this).data("resizable"),f=a.options,g=a._proportionallyResizeElements,i=g.length&&/textarea/i.test(g[0].nodeName),j=i&&c.ui.hasScroll(g[0],"left")?0:a.sizeDiff.height;i={width:a.size.width-(i?0:a.sizeDiff.width),height:a.size.height-j};j=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null;var m=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(c.extend(i,m&&j?{top:m,left:j}:{}),{duration:f.animateDuration,easing:f.animateEasing,
658
- step:function(){var k={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};g&&g.length&&c(g[0]).css({width:k.width,height:k.height});a._updateCache(k);a._propagate("resize",e)}})}});c.ui.plugin.add("resizable","containment",{start:function(){var e=c(this).data("resizable"),a=e.element,f=e.options.containment;if(a=f instanceof c?f.get(0):/parent/.test(f)?a.parent().get(0):f){e.containerElement=
659
- c(a);if(/document/.test(f)||f==document){e.containerOffset={left:0,top:0};e.containerPosition={left:0,top:0};e.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var g=c(a),i=[];c(["Top","Right","Left","Bottom"]).each(function(k,h){i[k]=b(g.css("padding"+h))});e.containerOffset=g.offset();e.containerPosition=g.position();e.containerSize={height:g.innerHeight()-i[3],width:g.innerWidth()-i[1]};f=e.containerOffset;
660
- var j=e.containerSize.height,m=e.containerSize.width;m=c.ui.hasScroll(a,"left")?a.scrollWidth:m;j=c.ui.hasScroll(a)?a.scrollHeight:j;e.parentData={element:a,left:f.left,top:f.top,width:m,height:j}}}},resize:function(e){var a=c(this).data("resizable"),f=a.options,g=a.containerOffset,i=a.position;e=a._aspectRatio||e.shiftKey;var j={top:0,left:0},m=a.containerElement;if(m[0]!=document&&/static/.test(m.css("position")))j=g;if(i.left<(a._helper?g.left:0)){a.size.width+=a._helper?a.position.left-g.left:
661
- a.position.left-j.left;if(e)a.size.height=a.size.width/f.aspectRatio;a.position.left=f.helper?g.left:0}if(i.top<(a._helper?g.top:0)){a.size.height+=a._helper?a.position.top-g.top:a.position.top;if(e)a.size.width=a.size.height*f.aspectRatio;a.position.top=a._helper?g.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;f=Math.abs((a._helper?a.offset.left-j.left:a.offset.left-j.left)+a.sizeDiff.width);g=Math.abs((a._helper?a.offset.top-j.top:a.offset.top-
662
- g.top)+a.sizeDiff.height);i=a.containerElement.get(0)==a.element.parent().get(0);j=/relative|absolute/.test(a.containerElement.css("position"));if(i&&j)f-=a.parentData.left;if(f+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-f;if(e)a.size.height=a.size.width/a.aspectRatio}if(g+a.size.height>=a.parentData.height){a.size.height=a.parentData.height-g;if(e)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var e=c(this).data("resizable"),a=e.options,f=e.containerOffset,g=e.containerPosition,
663
- i=e.containerElement,j=c(e.helper),m=j.offset(),k=j.outerWidth()-e.sizeDiff.width;j=j.outerHeight()-e.sizeDiff.height;e._helper&&!a.animate&&/relative/.test(i.css("position"))&&c(this).css({left:m.left-g.left-f.left,width:k,height:j});e._helper&&!a.animate&&/static/.test(i.css("position"))&&c(this).css({left:m.left-g.left-f.left,width:k,height:j})}});c.ui.plugin.add("resizable","ghost",{start:function(){var e=c(this).data("resizable"),a=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,
664
- display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost=="string"?a.ghost:"");e.ghost.appendTo(e.helper)},resize:function(){var e=c(this).data("resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=c(this).data("resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}});c.ui.plugin.add("resizable","grid",{resize:function(){var e=
665
- c(this).data("resizable"),a=e.options,f=e.size,g=e.originalSize,i=e.originalPosition,j=e.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var m=Math.round((f.width-g.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((f.height-g.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(j)){e.size.width=g.width+m;e.size.height=g.height+a}else if(/^(ne)$/.test(j)){e.size.width=g.width+m;e.size.height=g.height+a;e.position.top=i.top-a}else{if(/^(sw)$/.test(j)){e.size.width=g.width+m;e.size.height=
666
- g.height+a}else{e.size.width=g.width+m;e.size.height=g.height+a;e.position.top=i.top-a}e.position.left=i.left-m}}});var b=function(e){return parseInt(e,10)||0},d=function(e){return!isNaN(parseInt(e,10))}})(jQuery);
667
- (function(c){c.widget("ui.selectable",c.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var b=this;this.element.addClass("ui-selectable");this.dragged=false;var d;this.refresh=function(){d=c(b.options.filter,b.element[0]);d.each(function(){var e=c(this),a=e.offset();c.data(this,"selectable-item",{element:this,$element:e,left:a.left,top:a.top,right:a.left+e.outerWidth(),bottom:a.top+e.outerHeight(),startselected:false,selected:e.hasClass("ui-selected"),
668
- selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})};this.refresh();this.selectees=d.addClass("ui-selectee");this._mouseInit();this.helper=c(document.createElement("div")).css({border:"1px dotted black"}).addClass("ui-selectable-helper")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},
669
- _mouseStart:function(b){var d=this;this.opos=[b.pageX,b.pageY];if(!this.options.disabled){var e=this.options;this.selectees=c(e.filter,this.element[0]);this._trigger("start",b);c(e.appendTo).append(this.helper);this.helper.css({"z-index":100,position:"absolute",left:b.clientX,top:b.clientY,width:0,height:0});e.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var a=c.data(this,"selectable-item");a.startselected=true;if(!b.metaKey){a.$element.removeClass("ui-selected");
670
- a.selected=false;a.$element.addClass("ui-unselecting");a.unselecting=true;d._trigger("unselecting",b,{unselecting:a.element})}});c(b.target).parents().andSelf().each(function(){var a=c.data(this,"selectable-item");if(a){a.$element.removeClass("ui-unselecting").addClass("ui-selecting");a.unselecting=false;a.selecting=true;a.selected=true;d._trigger("selecting",b,{selecting:a.element});return false}})}},_mouseDrag:function(b){var d=this;this.dragged=true;if(!this.options.disabled){var e=this.options,
671
- a=this.opos[0],f=this.opos[1],g=b.pageX,i=b.pageY;if(a>g){var j=g;g=a;a=j}if(f>i){j=i;i=f;f=j}this.helper.css({left:a,top:f,width:g-a,height:i-f});this.selectees.each(function(){var m=c.data(this,"selectable-item");if(!(!m||m.element==d.element[0])){var k=false;if(e.tolerance=="touch")k=!(m.left>g||m.right<a||m.top>i||m.bottom<f);else if(e.tolerance=="fit")k=m.left>a&&m.right<g&&m.top>f&&m.bottom<i;if(k){if(m.selected){m.$element.removeClass("ui-selected");m.selected=false}if(m.unselecting){m.$element.removeClass("ui-unselecting");
672
- m.unselecting=false}if(!m.selecting){m.$element.addClass("ui-selecting");m.selecting=true;d._trigger("selecting",b,{selecting:m.element})}}else{if(m.selecting)if(b.metaKey&&m.startselected){m.$element.removeClass("ui-selecting");m.selecting=false;m.$element.addClass("ui-selected");m.selected=true}else{m.$element.removeClass("ui-selecting");m.selecting=false;if(m.startselected){m.$element.addClass("ui-unselecting");m.unselecting=true}d._trigger("unselecting",b,{unselecting:m.element})}if(m.selected)if(!b.metaKey&&
673
- !m.startselected){m.$element.removeClass("ui-selected");m.selected=false;m.$element.addClass("ui-unselecting");m.unselecting=true;d._trigger("unselecting",b,{unselecting:m.element})}}}});return false}},_mouseStop:function(b){var d=this;this.dragged=false;c(".ui-unselecting",this.element[0]).each(function(){var e=c.data(this,"selectable-item");e.$element.removeClass("ui-unselecting");e.unselecting=false;e.startselected=false;d._trigger("unselected",b,{unselected:e.element})});c(".ui-selecting",this.element[0]).each(function(){var e=
674
- c.data(this,"selectable-item");e.$element.removeClass("ui-selecting").addClass("ui-selected");e.selecting=false;e.selected=true;e.startselected=true;d._trigger("selected",b,{selected:e.element})});this._trigger("stop",b);this.helper.remove();return false}});c.extend(c.ui.selectable,{version:"1.8.1"})})(jQuery);
675
- (function(c){c.widget("ui.slider",c.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,d=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");d.disabled&&this.element.addClass("ui-slider-disabled ui-disabled");
676
- this.range=c([]);if(d.range){if(d.range===true){this.range=c("<div></div>");if(!d.values)d.values=[this._valueMin(),this._valueMin()];if(d.values.length&&d.values.length!==2)d.values=[d.values[0],d.values[0]]}else this.range=c("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(d.range==="min"||d.range==="max")this.range.addClass("ui-slider-range-"+d.range);this.range.addClass("ui-widget-header")}c(".ui-slider-handle",this.element).length===0&&c("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");
677
- if(d.values&&d.values.length)for(;c(".ui-slider-handle",this.element).length<d.values.length;)c("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=c(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(e){e.preventDefault()}).hover(function(){d.disabled||c(this).addClass("ui-state-hover")},function(){c(this).removeClass("ui-state-hover")}).focus(function(){if(d.disabled)c(this).blur();
678
- else{c(".ui-slider .ui-state-focus").removeClass("ui-state-focus");c(this).addClass("ui-state-focus")}}).blur(function(){c(this).removeClass("ui-state-focus")});this.handles.each(function(e){c(this).data("index.ui-slider-handle",e)});this.handles.keydown(function(e){var a=true,f=c(this).data("index.ui-slider-handle"),g,i,j;if(!b.options.disabled){switch(e.keyCode){case c.ui.keyCode.HOME:case c.ui.keyCode.END:case c.ui.keyCode.PAGE_UP:case c.ui.keyCode.PAGE_DOWN:case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:a=
679
- false;if(!b._keySliding){b._keySliding=true;c(this).addClass("ui-state-active");g=b._start(e,f);if(g===false)return}break}j=b.options.step;g=b.options.values&&b.options.values.length?(i=b.values(f)):(i=b.value());switch(e.keyCode){case c.ui.keyCode.HOME:i=b._valueMin();break;case c.ui.keyCode.END:i=b._valueMax();break;case c.ui.keyCode.PAGE_UP:i=g+(b._valueMax()-b._valueMin())/5;break;case c.ui.keyCode.PAGE_DOWN:i=g-(b._valueMax()-b._valueMin())/5;break;case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:if(g===
680
- b._valueMax())return;i=g+j;break;case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(g===b._valueMin())return;i=g-j;break}b._slide(e,f,i);return a}}).keyup(function(e){var a=c(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(e,a);b._change(e,a);c(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");
681
- this._mouseDestroy();return this},_mouseCapture:function(b){var d=this.options,e,a,f,g,i,j;if(d.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();e={x:b.pageX,y:b.pageY};a=this._normValueFromMouse(e);f=this._valueMax()-this._valueMin()+1;i=this;this.handles.each(function(m){var k=Math.abs(a-i.values(m));if(f>k){f=k;g=c(this);j=m}});if(d.range===true&&this.values(1)===d.min){j+=1;g=c(this.handles[j])}if(this._start(b,
682
- j)===false)return false;this._mouseSliding=true;i._handleIndex=j;g.addClass("ui-state-active").focus();d=g.offset();this._clickOffset=!c(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-d.left-g.width()/2,top:b.pageY-d.top-g.height()/2-(parseInt(g.css("borderTopWidth"),10)||0)-(parseInt(g.css("borderBottomWidth"),10)||0)+(parseInt(g.css("marginTop"),10)||0)};a=this._normValueFromMouse(e);this._slide(b,j,a);return this._animateOff=true},_mouseStart:function(){return true},
683
- _mouseDrag:function(b){var d=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,d);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var d;
684
- if(this.orientation==="horizontal"){d=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{d=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}d=b/d;if(d>1)d=1;if(d<0)d=0;if(this.orientation==="vertical")d=1-d;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+d*b)},_start:function(b,d){var e={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){e.value=
685
- this.values(d);e.values=this.values()}return this._trigger("start",b,e)},_slide:function(b,d,e){var a;if(this.options.values&&this.options.values.length){a=this.values(d?0:1);if(this.options.values.length===2&&this.options.range===true&&(d===0&&e>a||d===1&&e<a))e=a;if(e!==this.values(d)){a=this.values();a[d]=e;b=this._trigger("slide",b,{handle:this.handles[d],value:e,values:a});this.values(d?0:1);b!==false&&this.values(d,e,true)}}else if(e!==this.value()){b=this._trigger("slide",b,{handle:this.handles[d],
686
- value:e});b!==false&&this.value(e)}},_stop:function(b,d){var e={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){e.value=this.values(d);e.values=this.values()}this._trigger("stop",b,e)},_change:function(b,d){if(!this._keySliding&&!this._mouseSliding){var e={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){e.value=this.values(d);e.values=this.values()}this._trigger("change",b,e)}},value:function(b){if(arguments.length){this.options.value=
687
- this._trimAlignValue(b);this._refreshValue();this._change(null,0)}return this._value()},values:function(b,d){var e,a,f;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(d);this._refreshValue();this._change(null,b)}if(arguments.length)if(c.isArray(arguments[0])){e=this.options.values;a=arguments[0];for(f=0;f<e.length;f+=1){e[f]=this._trimAlignValue(a[f]);this._change(null,f)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):this.value();
688
- else return this._values()},_setOption:function(b,d){var e,a=0;if(c.isArray(this.options.values))a=this.options.values.length;c.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(d){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
689
- this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(e=0;e<a;e+=1)this._change(null,e);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var d,e;if(arguments.length){d=this.options.values[b];
690
- return d=this._trimAlignValue(d)}else{d=this.options.values.slice();for(e=0;e<d.length;e+=1)d[e]=this._trimAlignValue(d[e]);return d}},_trimAlignValue:function(b){if(b<this._valueMin())return this._valueMin();if(b>this._valueMax())return this._valueMax();var d=this.options.step,e=b%d;b=b-e;if(e>=d/2)b+=d;return parseFloat(b.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var b=this.options.range,d=this.options,e=this,
691
- a=!this._animateOff?d.animate:false,f,g={},i,j,m,k;if(this.options.values&&this.options.values.length)this.handles.each(function(h){f=(e.values(h)-e._valueMin())/(e._valueMax()-e._valueMin())*100;g[e.orientation==="horizontal"?"left":"bottom"]=f+"%";c(this).stop(1,1)[a?"animate":"css"](g,d.animate);if(e.options.range===true)if(e.orientation==="horizontal"){if(h===0)e.range.stop(1,1)[a?"animate":"css"]({left:f+"%"},d.animate);if(h===1)e.range[a?"animate":"css"]({width:f-i+"%"},{queue:false,duration:d.animate})}else{if(h===
692
- 0)e.range.stop(1,1)[a?"animate":"css"]({bottom:f+"%"},d.animate);if(h===1)e.range[a?"animate":"css"]({height:f-i+"%"},{queue:false,duration:d.animate})}i=f});else{j=this.value();m=this._valueMin();k=this._valueMax();f=k!==m?(j-m)/(k-m)*100:0;g[e.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[a?"animate":"css"](g,d.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,1)[a?"animate":"css"]({width:f+"%"},d.animate);if(b==="max"&&this.orientation==="horizontal")this.range[a?
693
- "animate":"css"]({width:100-f+"%"},{queue:false,duration:d.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[a?"animate":"css"]({height:f+"%"},d.animate);if(b==="max"&&this.orientation==="vertical")this.range[a?"animate":"css"]({height:100-f+"%"},{queue:false,duration:d.animate})}}});c.extend(c.ui.slider,{version:"1.8.1"})})(jQuery);
694
- (function(c){c.widget("ui.sortable",c.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){this.containerCache={};this.element.addClass("ui-sortable");
695
- this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var b=this.items.length-1;b>=0;b--)this.items[b].item.removeData("sortable-item");return this},_setOption:function(b,d){if(b==="disabled"){this.options[b]=d;this.widget()[d?"addClass":"removeClass"]("ui-sortable-disabled")}else c.Widget.prototype._setOption.apply(self,
696
- arguments)},_mouseCapture:function(b,d){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(b);var e=null,a=this;c(b.target).parents().each(function(){if(c.data(this,"sortable-item")==a){e=c(this);return false}});if(c.data(b.target,"sortable-item")==a)e=c(b.target);if(!e)return false;if(this.options.handle&&!d){var f=false;c(this.options.handle,e).find("*").andSelf().each(function(){if(this==b.target)f=true});if(!f)return false}this.currentItem=
697
- e;this._removeCurrentsFromItems();return true},_mouseStart:function(b,d,e){d=this.options;var a=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(b);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");c.extend(this.offset,
698
- {click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(b);this.originalPageX=b.pageX;this.originalPageY=b.pageY;d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();d.containment&&this._setContainment();
699
- if(d.cursor){if(c("body").css("cursor"))this._storedCursor=c("body").css("cursor");c("body").css("cursor",d.cursor)}if(d.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",d.opacity)}if(d.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",d.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start",
700
- b,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!e)for(e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("activate",b,a._uiHash(this));if(c.ui.ddmanager)c.ui.ddmanager.current=this;c.ui.ddmanager&&!d.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,b);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(b);return true},_mouseDrag:function(b){this.position=this._generatePosition(b);this.positionAbs=this._convertPositionTo("absolute");
701
- if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var d=this.options,e=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-b.pageY<d.scrollSensitivity)this.scrollParent[0].scrollTop=e=this.scrollParent[0].scrollTop+d.scrollSpeed;else if(b.pageY-this.overflowOffset.top<d.scrollSensitivity)this.scrollParent[0].scrollTop=e=this.scrollParent[0].scrollTop-d.scrollSpeed;if(this.overflowOffset.left+
702
- this.scrollParent[0].offsetWidth-b.pageX<d.scrollSensitivity)this.scrollParent[0].scrollLeft=e=this.scrollParent[0].scrollLeft+d.scrollSpeed;else if(b.pageX-this.overflowOffset.left<d.scrollSensitivity)this.scrollParent[0].scrollLeft=e=this.scrollParent[0].scrollLeft-d.scrollSpeed}else{if(b.pageY-c(document).scrollTop()<d.scrollSensitivity)e=c(document).scrollTop(c(document).scrollTop()-d.scrollSpeed);else if(c(window).height()-(b.pageY-c(document).scrollTop())<d.scrollSensitivity)e=c(document).scrollTop(c(document).scrollTop()+
703
- d.scrollSpeed);if(b.pageX-c(document).scrollLeft()<d.scrollSensitivity)e=c(document).scrollLeft(c(document).scrollLeft()-d.scrollSpeed);else if(c(window).width()-(b.pageX-c(document).scrollLeft())<d.scrollSensitivity)e=c(document).scrollLeft(c(document).scrollLeft()+d.scrollSpeed)}e!==false&&c.ui.ddmanager&&!d.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,b)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+
704
- "px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(d=this.items.length-1;d>=0;d--){e=this.items[d];var a=e.item[0],f=this._intersectsWithPointer(e);if(f)if(a!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=a&&!c.ui.contains(this.placeholder[0],a)&&(this.options.type=="semi-dynamic"?!c.ui.contains(this.element[0],a):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(e))this._rearrange(b,
705
- e);else break;this._trigger("change",b,this._uiHash());break}}this._contactContainers(b);c.ui.ddmanager&&c.ui.ddmanager.drag(this,b);this._trigger("sort",b,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(b,d){if(b){c.ui.ddmanager&&!this.options.dropBehaviour&&c.ui.ddmanager.drop(this,b);if(this.options.revert){var e=this;d=e.placeholder.offset();e.reverting=true;c(this.helper).animate({left:d.left-this.offset.parent.left-e.margins.left+(this.offsetParent[0]==
706
- document.body?0:this.offsetParent[0].scrollLeft),top:d.top-this.offset.parent.top-e.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){e._clear(b)})}else this._clear(b,d);return false}},cancel:function(){var b=this;if(this.dragging){this._mouseUp();this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var d=this.containers.length-1;d>=0;d--){this.containers[d]._trigger("deactivate",
707
- null,b._uiHash(this));if(this.containers[d].containerCache.over){this.containers[d]._trigger("out",null,b._uiHash(this));this.containers[d].containerCache.over=0}}}this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();c.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?c(this.domPosition.prev).after(this.currentItem):
708
- c(this.domPosition.parent).prepend(this.currentItem);return this},serialize:function(b){var d=this._getItemsAsjQuery(b&&b.connected),e=[];b=b||{};c(d).each(function(){var a=(c(b.item||this).attr(b.attribute||"id")||"").match(b.expression||/(.+)[-=_](.+)/);if(a)e.push((b.key||a[1]+"[]")+"="+(b.key&&b.expression?a[1]:a[2]))});return e.join("&")},toArray:function(b){var d=this._getItemsAsjQuery(b&&b.connected),e=[];b=b||{};d.each(function(){e.push(c(b.item||this).attr(b.attribute||"id")||"")});return e},
709
- _intersectsWith:function(b){var d=this.positionAbs.left,e=d+this.helperProportions.width,a=this.positionAbs.top,f=a+this.helperProportions.height,g=b.left,i=g+b.width,j=b.top,m=j+b.height,k=this.offset.click.top,h=this.offset.click.left;k=a+k>j&&a+k<m&&d+h>g&&d+h<i;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>b[this.floating?"width":"height"]?k:g<d+this.helperProportions.width/
710
- 2&&e-this.helperProportions.width/2<i&&j<a+this.helperProportions.height/2&&f-this.helperProportions.height/2<m},_intersectsWithPointer:function(b){var d=c.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top,b.height);b=c.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left,b.width);d=d&&b;b=this._getDragVerticalDirection();var e=this._getDragHorizontalDirection();if(!d)return false;return this.floating?e&&e=="right"||b=="down"?2:1:b&&(b=="down"?2:1)},_intersectsWithSides:function(b){var d=
711
- c.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top+b.height/2,b.height);b=c.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left+b.width/2,b.width);var e=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return this.floating&&a?a=="right"&&b||a=="left"&&!b:e&&(e=="down"&&d||e=="up"&&!d)},_getDragVerticalDirection:function(){var b=this.positionAbs.top-this.lastPositionAbs.top;return b!=0&&(b>0?"down":"up")},_getDragHorizontalDirection:function(){var b=
712
- this.positionAbs.left-this.lastPositionAbs.left;return b!=0&&(b>0?"right":"left")},refresh:function(b){this._refreshItems(b);this.refreshPositions();return this},_connectWith:function(){var b=this.options;return b.connectWith.constructor==String?[b.connectWith]:b.connectWith},_getItemsAsjQuery:function(b){var d=[],e=[],a=this._connectWith();if(a&&b)for(b=a.length-1;b>=0;b--)for(var f=c(a[b]),g=f.length-1;g>=0;g--){var i=c.data(f[g],"sortable");if(i&&i!=this&&!i.options.disabled)e.push([c.isFunction(i.options.items)?
713
- i.options.items.call(i.element):c(i.options.items,i.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),i])}e.push([c.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):c(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(b=e.length-1;b>=0;b--)e[b][0].each(function(){d.push(this)});return c(d)},_removeCurrentsFromItems:function(){for(var b=this.currentItem.find(":data(sortable-item)"),
714
- d=0;d<this.items.length;d++)for(var e=0;e<b.length;e++)b[e]==this.items[d].item[0]&&this.items.splice(d,1)},_refreshItems:function(b){this.items=[];this.containers=[this];var d=this.items,e=[[c.isFunction(this.options.items)?this.options.items.call(this.element[0],b,{item:this.currentItem}):c(this.options.items,this.element),this]],a=this._connectWith();if(a)for(var f=a.length-1;f>=0;f--)for(var g=c(a[f]),i=g.length-1;i>=0;i--){var j=c.data(g[i],"sortable");if(j&&j!=this&&!j.options.disabled){e.push([c.isFunction(j.options.items)?
715
- j.options.items.call(j.element[0],b,{item:this.currentItem}):c(j.options.items,j.element),j]);this.containers.push(j)}}for(f=e.length-1;f>=0;f--){b=e[f][1];a=e[f][0];i=0;for(g=a.length;i<g;i++){j=c(a[i]);j.data("sortable-item",b);d.push({item:j,instance:b,width:0,height:0,left:0,top:0})}}},refreshPositions:function(b){if(this.offsetParent&&this.helper)this.offset.parent=this._getParentOffset();for(var d=this.items.length-1;d>=0;d--){var e=this.items[d],a=this.options.toleranceElement?c(this.options.toleranceElement,
716
- e.item):e.item;if(!b){e.width=a.outerWidth();e.height=a.outerHeight()}a=a.offset();e.left=a.left;e.top=a.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(d=this.containers.length-1;d>=0;d--){a=this.containers[d].element.offset();this.containers[d].containerCache.left=a.left;this.containers[d].containerCache.top=a.top;this.containers[d].containerCache.width=this.containers[d].element.outerWidth();this.containers[d].containerCache.height=
717
- this.containers[d].element.outerHeight()}return this},_createPlaceholder:function(b){var d=b||this,e=d.options;if(!e.placeholder||e.placeholder.constructor==String){var a=e.placeholder;e.placeholder={element:function(){var f=c(document.createElement(d.currentItem[0].nodeName)).addClass(a||d.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!a)f.style.visibility="hidden";return f},update:function(f,g){if(!(a&&!e.forcePlaceholderSize)){g.height()||g.height(d.currentItem.innerHeight()-
718
- parseInt(d.currentItem.css("paddingTop")||0,10)-parseInt(d.currentItem.css("paddingBottom")||0,10));g.width()||g.width(d.currentItem.innerWidth()-parseInt(d.currentItem.css("paddingLeft")||0,10)-parseInt(d.currentItem.css("paddingRight")||0,10))}}}}d.placeholder=c(e.placeholder.element.call(d.element,d.currentItem));d.currentItem.after(d.placeholder);e.placeholder.update(d,d.placeholder)},_contactContainers:function(b){for(var d=null,e=null,a=this.containers.length-1;a>=0;a--)if(!c.ui.contains(this.currentItem[0],
719
- this.containers[a].element[0]))if(this._intersectsWith(this.containers[a].containerCache)){if(!(d&&c.ui.contains(this.containers[a].element[0],d.element[0]))){d=this.containers[a];e=a}}else if(this.containers[a].containerCache.over){this.containers[a]._trigger("out",b,this._uiHash(this));this.containers[a].containerCache.over=0}if(d)if(this.containers.length===1){this.containers[e]._trigger("over",b,this._uiHash(this));this.containers[e].containerCache.over=1}else if(this.currentContainer!=this.containers[e]){d=
720
- 1E4;a=null;for(var f=this.positionAbs[this.containers[e].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(c.ui.contains(this.containers[e].element[0],this.items[g].item[0])){var i=this.items[g][this.containers[e].floating?"left":"top"];if(Math.abs(i-f)<d){d=Math.abs(i-f);a=this.items[g]}}if(a||this.options.dropOnEmpty){this.currentContainer=this.containers[e];a?this._rearrange(b,a,null,true):this._rearrange(b,null,this.containers[e].element,true);this._trigger("change",b,this._uiHash());this.containers[e]._trigger("change",
721
- b,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[e]._trigger("over",b,this._uiHash(this));this.containers[e].containerCache.over=1}}},_createHelper:function(b){var d=this.options;b=c.isFunction(d.helper)?c(d.helper.apply(this.element[0],[b,this.currentItem])):d.helper=="clone"?this.currentItem.clone():this.currentItem;b.parents("body").length||c(d.appendTo!="parent"?d.appendTo:this.currentItem[0].parentNode)[0].appendChild(b[0]);if(b[0]==
722
- this.currentItem[0])this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")};if(b[0].style.width==""||d.forceHelperSize)b.width(this.currentItem.width());if(b[0].style.height==""||d.forceHelperSize)b.height(this.currentItem.height());return b},_adjustOffsetFromHelper:function(b){if(typeof b=="string")b=b.split(" ");if(c.isArray(b))b={left:+b[0],top:+b[1]||
723
- 0};if("left"in b)this.offset.click.left=b.left+this.margins.left;if("right"in b)this.offset.click.left=this.helperProportions.width-b.right+this.margins.left;if("top"in b)this.offset.click.top=b.top+this.margins.top;if("bottom"in b)this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],
724
- this.offsetParent[0])){b.left+=this.scrollParent.scrollLeft();b.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&c.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var b=this.currentItem.position();return{top:b.top-
725
- (parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;
726
- if(b.containment=="parent")b.containment=this.helper[0].parentNode;if(b.containment=="document"||b.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,c(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(c(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)){var d=
727
- c(b.containment)[0];b=c(b.containment).offset();var e=c(d).css("overflow")!="hidden";this.containment=[b.left+(parseInt(c(d).css("borderLeftWidth"),10)||0)+(parseInt(c(d).css("paddingLeft"),10)||0)-this.margins.left,b.top+(parseInt(c(d).css("borderTopWidth"),10)||0)+(parseInt(c(d).css("paddingTop"),10)||0)-this.margins.top,b.left+(e?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(c(d).css("borderLeftWidth"),10)||0)-(parseInt(c(d).css("paddingRight"),10)||0)-this.helperProportions.width-
728
- this.margins.left,b.top+(e?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(c(d).css("borderTopWidth"),10)||0)-(parseInt(c(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(b,d){if(!d)d=this.position;b=b=="absolute"?1:-1;var e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,a=/(html|body)/i.test(e[0].tagName);return{top:d.top+
729
- this.offset.relative.top*b+this.offset.parent.top*b-(c.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():a?0:e.scrollTop())*b),left:d.left+this.offset.relative.left*b+this.offset.parent.left*b-(c.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():a?0:e.scrollLeft())*b)}},_generatePosition:function(b){var d=this.options,e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&c.ui.contains(this.scrollParent[0],
730
- this.offsetParent[0]))?this.offsetParent:this.scrollParent,a=/(html|body)/i.test(e[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0]))this.offset.relative=this._getRelativeOffset();var f=b.pageX,g=b.pageY;if(this.originalPosition){if(this.containment){if(b.pageX-this.offset.click.left<this.containment[0])f=this.containment[0]+this.offset.click.left;if(b.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;
731
- if(b.pageX-this.offset.click.left>this.containment[2])f=this.containment[2]+this.offset.click.left;if(b.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(d.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/d.grid[1])*d.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-d.grid[1]:g+d.grid[1]:g;f=this.originalPageX+Math.round((f-
732
- this.originalPageX)/d.grid[0])*d.grid[0];f=this.containment?!(f-this.offset.click.left<this.containment[0]||f-this.offset.click.left>this.containment[2])?f:!(f-this.offset.click.left<this.containment[0])?f-d.grid[0]:f+d.grid[0]:f}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(c.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():a?0:e.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+
733
- (c.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():a?0:e.scrollLeft())}},_rearrange:function(b,d,e,a){e?e[0].appendChild(this.placeholder[0]):d.item[0].parentNode.insertBefore(this.placeholder[0],this.direction=="down"?d.item[0]:d.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==f.counter&&f.refreshPositions(!a)},0)},_clear:function(b,d){this.reverting=false;var e=[];!this._noFinalSort&&
734
- this.currentItem[0].parentNode&&this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var a in this._storedCSS)if(this._storedCSS[a]=="auto"||this._storedCSS[a]=="static")this._storedCSS[a]="";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!d&&e.push(function(f){this._trigger("receive",f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||
735
- this.domPosition.parent!=this.currentItem.parent()[0])&&!d)e.push(function(f){this._trigger("update",f,this._uiHash())});if(!c.ui.contains(this.element[0],this.currentItem[0])){d||e.push(function(f){this._trigger("remove",f,this._uiHash())});for(a=this.containers.length-1;a>=0;a--)if(c.ui.contains(this.containers[a].element[0],this.currentItem[0])&&!d){e.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[a]));e.push(function(f){return function(g){f._trigger("update",
736
- g,this._uiHash(this))}}.call(this,this.containers[a]))}}for(a=this.containers.length-1;a>=0;a--){d||e.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,this.containers[a]));if(this.containers[a].containerCache.over){e.push(function(f){return function(g){f._trigger("out",g,this._uiHash(this))}}.call(this,this.containers[a]));this.containers[a].containerCache.over=0}}this._storedCursor&&c("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",
737
- this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!d){this._trigger("beforeStop",b,this._uiHash());for(a=0;a<e.length;a++)e[a].call(this,b);this._trigger("stop",b,this._uiHash())}return false}d||this._trigger("beforeStop",b,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!d){for(a=
738
- 0;a<e.length;a++)e[a].call(this,b);this._trigger("stop",b,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){c.Widget.prototype._trigger.apply(this,arguments)===false&&this.cancel()},_uiHash:function(b){var d=b||this;return{helper:d.helper,placeholder:d.placeholder||c([]),position:d.position,originalPosition:d.originalPosition,offset:d.positionAbs,item:d.currentItem,sender:b?b.element:null}}});c.extend(c.ui.sortable,{version:"1.8.1"})})(jQuery);
739
- (function(c){var b=0,d=0;c.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>'},_create:function(){this._tabify(true)},_setOption:function(e,a){if(e=="selected")this.options.collapsible&&a==this.options.selected||
740
- this.select(a);else{this.options[e]=a;this._tabify()}},_tabId:function(e){return e.title&&e.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+ ++b},_sanitizeSelector:function(e){return e.replace(/:/g,"\\:")},_cookie:function(){var e=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++d);return c.cookie.apply(null,[e].concat(c.makeArray(arguments)))},_ui:function(e,a){return{tab:e,panel:a,index:this.anchors.index(e)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var e=
741
- c(this);e.html(e.data("label.tabs")).removeData("label.tabs")})},_tabify:function(e){function a(p,q){p.css({display:""});!c.support.opacity&&q.opacity&&p[0].style.removeAttribute("filter")}this.list=this.element.find("ol,ul").eq(0);this.lis=c("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return c("a",this)[0]});this.panels=c([]);var f=this,g=this.options,i=/^#.+/;this.anchors.each(function(p,q){var r=c(q).attr("href"),s=r.split("#")[0],u;if(s&&(s===location.toString().split("#")[0]||
742
- (u=c("base")[0])&&s===u.href)){r=q.hash;q.href=r}if(i.test(r))f.panels=f.panels.add(f._sanitizeSelector(r));else if(r!="#"){c.data(q,"href.tabs",r);c.data(q,"load.tabs",r.replace(/#.*$/,""));r=f._tabId(q);q.href="#"+r;q=c("#"+r);if(!q.length){q=c(g.panelTemplate).attr("id",r).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(f.panels[p-1]||f.list);q.data("destroy.tabs",true)}f.panels=f.panels.add(q)}else g.disabled.push(p)});if(e){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
743
- this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(g.selected===undefined){location.hash&&this.anchors.each(function(p,q){if(q.hash==location.hash){g.selected=p;return false}});if(typeof g.selected!="number"&&g.cookie)g.selected=parseInt(f._cookie(),10);if(typeof g.selected!="number"&&this.lis.filter(".ui-tabs-selected").length)g.selected=
744
- this.lis.index(this.lis.filter(".ui-tabs-selected"));g.selected=g.selected||(this.lis.length?0:-1)}else if(g.selected===null)g.selected=-1;g.selected=g.selected>=0&&this.anchors[g.selected]||g.selected<0?g.selected:0;g.disabled=c.unique(g.disabled.concat(c.map(this.lis.filter(".ui-state-disabled"),function(p){return f.lis.index(p)}))).sort();c.inArray(g.selected,g.disabled)!=-1&&g.disabled.splice(c.inArray(g.selected,g.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
745
- if(g.selected>=0&&this.anchors.length){this.panels.eq(g.selected).removeClass("ui-tabs-hide");this.lis.eq(g.selected).addClass("ui-tabs-selected ui-state-active");f.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[g.selected],f.panels[g.selected]))});this.load(g.selected)}c(window).bind("unload",function(){f.lis.add(f.anchors).unbind(".tabs");f.lis=f.anchors=f.panels=null})}else g.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));this.element[g.collapsible?"addClass":
746
- "removeClass"]("ui-tabs-collapsible");g.cookie&&this._cookie(g.selected,g.cookie);e=0;for(var j;j=this.lis[e];e++)c(j)[c.inArray(e,g.disabled)!=-1&&!c(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");g.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(g.event!="mouseover"){var m=function(p,q){q.is(":not(.ui-state-disabled)")&&q.addClass("ui-state-"+p)},k=function(p,q){q.removeClass("ui-state-"+p)};this.lis.bind("mouseover.tabs",
747
- function(){m("hover",c(this))});this.lis.bind("mouseout.tabs",function(){k("hover",c(this))});this.anchors.bind("focus.tabs",function(){m("focus",c(this).closest("li"))});this.anchors.bind("blur.tabs",function(){k("focus",c(this).closest("li"))})}var h,l;if(g.fx)if(c.isArray(g.fx)){h=g.fx[0];l=g.fx[1]}else h=l=g.fx;var n=l?function(p,q){c(p).closest("li").addClass("ui-tabs-selected ui-state-active");q.hide().removeClass("ui-tabs-hide").animate(l,l.duration||"normal",function(){a(q,l);f._trigger("show",
748
- null,f._ui(p,q[0]))})}:function(p,q){c(p).closest("li").addClass("ui-tabs-selected ui-state-active");q.removeClass("ui-tabs-hide");f._trigger("show",null,f._ui(p,q[0]))},o=h?function(p,q){q.animate(h,h.duration||"normal",function(){f.lis.removeClass("ui-tabs-selected ui-state-active");q.addClass("ui-tabs-hide");a(q,h);f.element.dequeue("tabs")})}:function(p,q){f.lis.removeClass("ui-tabs-selected ui-state-active");q.addClass("ui-tabs-hide");f.element.dequeue("tabs")};this.anchors.bind(g.event+".tabs",
749
- function(){var p=this,q=c(this).closest("li"),r=f.panels.filter(":not(.ui-tabs-hide)"),s=c(f._sanitizeSelector(this.hash));if(q.hasClass("ui-tabs-selected")&&!g.collapsible||q.hasClass("ui-state-disabled")||q.hasClass("ui-state-processing")||f._trigger("select",null,f._ui(this,s[0]))===false){this.blur();return false}g.selected=f.anchors.index(this);f.abort();if(g.collapsible)if(q.hasClass("ui-tabs-selected")){g.selected=-1;g.cookie&&f._cookie(g.selected,g.cookie);f.element.queue("tabs",function(){o(p,
750
- r)}).dequeue("tabs");this.blur();return false}else if(!r.length){g.cookie&&f._cookie(g.selected,g.cookie);f.element.queue("tabs",function(){n(p,s)});f.load(f.anchors.index(this));this.blur();return false}g.cookie&&f._cookie(g.selected,g.cookie);if(s.length){r.length&&f.element.queue("tabs",function(){o(p,r)});f.element.queue("tabs",function(){n(p,s)});f.load(f.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";c.browser.msie&&this.blur()});this.anchors.bind("click.tabs",
751
- function(){return false})},destroy:function(){var e=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var a=c.data(this,"href.tabs");if(a)this.href=a;var f=c(this).unbind(".tabs");c.each(["href","load","cache"],function(g,i){f.removeData(i+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){c.data(this,
752
- "destroy.tabs")?c(this).remove():c(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});e.cookie&&this._cookie(null,e.cookie);return this},add:function(e,a,f){if(f===undefined)f=this.anchors.length;var g=this,i=this.options;a=c(i.tabTemplate.replace(/#\{href\}/g,e).replace(/#\{label\}/g,a));e=!e.indexOf("#")?e.replace("#",""):this._tabId(c("a",a)[0]);a.addClass("ui-state-default ui-corner-top").data("destroy.tabs",
753
- true);var j=c("#"+e);j.length||(j=c(i.panelTemplate).attr("id",e).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(f>=this.lis.length){a.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{a.insertBefore(this.lis[f]);j.insertBefore(this.panels[f])}i.disabled=c.map(i.disabled,function(m){return m>=f?++m:m});this._tabify();if(this.anchors.length==1){i.selected=0;a.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");
754
- this.element.queue("tabs",function(){g._trigger("show",null,g._ui(g.anchors[0],g.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[f],this.panels[f]));return this},remove:function(e){var a=this.options,f=this.lis.eq(e).remove(),g=this.panels.eq(e).remove();if(f.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(e+(e+1<this.anchors.length?1:-1));a.disabled=c.map(c.grep(a.disabled,function(i){return i!=e}),function(i){return i>=e?--i:i});this._tabify();this._trigger("remove",
755
- null,this._ui(f.find("a")[0],g[0]));return this},enable:function(e){var a=this.options;if(c.inArray(e,a.disabled)!=-1){this.lis.eq(e).removeClass("ui-state-disabled");a.disabled=c.grep(a.disabled,function(f){return f!=e});this._trigger("enable",null,this._ui(this.anchors[e],this.panels[e]));return this}},disable:function(e){var a=this.options;if(e!=a.selected){this.lis.eq(e).addClass("ui-state-disabled");a.disabled.push(e);a.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[e],this.panels[e]))}return this},
756
- select:function(e){if(typeof e=="string")e=this.anchors.index(this.anchors.filter("[href$="+e+"]"));else if(e===null)e=-1;if(e==-1&&this.options.collapsible)e=this.options.selected;this.anchors.eq(e).trigger(this.options.event+".tabs");return this},load:function(e){var a=this,f=this.options,g=this.anchors.eq(e)[0],i=c.data(g,"load.tabs");this.abort();if(!i||this.element.queue("tabs").length!==0&&c.data(g,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(e).addClass("ui-state-processing");
757
- if(f.spinner){var j=c("span",g);j.data("label.tabs",j.html()).html(f.spinner)}this.xhr=c.ajax(c.extend({},f.ajaxOptions,{url:i,success:function(m,k){c(a._sanitizeSelector(g.hash)).html(m);a._cleanup();f.cache&&c.data(g,"cache.tabs",true);a._trigger("load",null,a._ui(a.anchors[e],a.panels[e]));try{f.ajaxOptions.success(m,k)}catch(h){}},error:function(m,k){a._cleanup();a._trigger("load",null,a._ui(a.anchors[e],a.panels[e]));try{f.ajaxOptions.error(m,k,e,g)}catch(h){}}}));a.element.dequeue("tabs");return this}},
758
- abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(e,a){this.anchors.eq(e).removeData("cache.tabs").data("load.tabs",a);return this},length:function(){return this.anchors.length}});c.extend(c.ui.tabs,{version:"1.8.1"});c.extend(c.ui.tabs.prototype,{rotation:null,rotate:function(e,a){var f=this,g=this.options,i=f._rotate||(f._rotate=
759
- function(j){clearTimeout(f.rotation);f.rotation=setTimeout(function(){var m=g.selected;f.select(++m<f.anchors.length?m:0)},e);j&&j.stopPropagation()});a=f._unrotate||(f._unrotate=!a?function(j){j.clientX&&f.rotate(null)}:function(){t=g.selected;i()});if(e){this.element.bind("tabsshow",i);this.anchors.bind(g.event+".tabs",a);i()}else{clearTimeout(f.rotation);this.element.unbind("tabsshow",i);this.anchors.unbind(g.event+".tabs",a);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
760
- (function(c){var b=c.fn.remove;c.fn.remove=function(d,e){return this.each(function(){if(!e)if(!d||c.filter(d,[this]).length)c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return b.call(c(this),d,e)})};c.widget=function(d,e,a){var f=d.split(".")[0],g;d=d.split(".")[1];g=f+"-"+d;if(!a){a=e;e=c.Widget}c.expr[":"][g]=function(i){return!!c.data(i,d)};c[f]=c[f]||{};c[f][d]=function(i,j){arguments.length&&this._createWidget(i,j)};e=new e;e.options=c.extend({},e.options);c[f][d].prototype=
761
- c.extend(true,e,{namespace:f,widgetName:d,widgetEventPrefix:c[f][d].prototype.widgetEventPrefix||d,widgetBaseClass:g},a);c.widget.bridge(d,c[f][d])};c.widget.bridge=function(d,e){c.fn[d]=function(a){var f=typeof a==="string",g=Array.prototype.slice.call(arguments,1),i=this;a=!f&&g.length?c.extend.apply(null,[true,a].concat(g)):a;if(f&&a.substring(0,1)==="_")return i;f?this.each(function(){var j=c.data(this,d),m=j&&c.isFunction(j[a])?j[a].apply(j,g):j;if(m!==j&&m!==undefined){i=m;return false}}):this.each(function(){var j=
762
- c.data(this,d);if(j){a&&j.option(a);j._init()}else c.data(this,d,new e(a,this))});return i}};c.Widget=function(d,e){arguments.length&&this._createWidget(d,e)};c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(d,e){this.element=c(e).data(this.widgetName,this);this.options=c.extend(true,{},this.options,c.metadata&&c.metadata.get(e)[this.widgetName],d);var a=this;this.element.bind("remove."+this.widgetName,function(){a.destroy()});this._create();
763
- this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(d,e){var a=d,f=this;if(arguments.length===0)return c.extend({},f.options);if(typeof d==="string"){if(e===undefined)return this.options[d];a={};a[d]=e}c.each(a,function(g,
764
- i){f._setOption(g,i)});return f},_setOption:function(d,e){this.options[d]=e;if(d==="disabled")this.widget()[e?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",e);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(d,e,a){var f=this.options[d];e=c.Event(e);e.type=(d===this.widgetEventPrefix?d:this.widgetEventPrefix+d).toLowerCase();a=a||{};if(e.originalEvent){d=
765
- c.event.props.length;for(var g;d;){g=c.event.props[--d];e[g]=e.originalEvent[g]}}this.element.trigger(e,a);return!(c.isFunction(f)&&f.call(this.element[0],e,a)===false||e.isDefaultPrevented())}}})(jQuery);