spree 0.9.4 → 0.10.0.beta

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spree might be problematic. Click here for more details.

Files changed (1880) hide show
  1. data/CHANGELOG +185 -0
  2. data/CONTRIBUTORS +93 -66
  3. data/LICENSE +1 -1
  4. data/Rakefile +19 -16
  5. data/app/controllers/admin/adjustments_controller.rb +32 -0
  6. data/app/controllers/admin/base_controller.rb +33 -18
  7. data/app/controllers/admin/checkouts_controller.rb +41 -0
  8. data/app/controllers/admin/coupons_controller.rb +2 -1
  9. data/app/controllers/admin/images_controller.rb +28 -19
  10. data/app/controllers/admin/line_items_controller.rb +55 -0
  11. data/app/controllers/admin/option_types_controller.rb +7 -4
  12. data/app/controllers/admin/orders_controller.rb +29 -15
  13. data/app/controllers/admin/payment_methods_controller.rb +31 -0
  14. data/app/controllers/admin/payments_controller.rb +99 -0
  15. data/app/controllers/admin/product_groups_controller.rb +42 -0
  16. data/app/controllers/admin/product_properties_controller.rb +7 -0
  17. data/app/controllers/admin/product_scopes_controller.rb +18 -0
  18. data/app/controllers/admin/products_controller.rb +74 -36
  19. data/app/controllers/admin/properties_controller.rb +2 -0
  20. data/app/controllers/admin/prototypes_controller.rb +3 -1
  21. data/app/controllers/admin/reports_controller.rb +2 -2
  22. data/app/controllers/admin/return_authorizations_controller.rb +36 -0
  23. data/app/controllers/admin/shipments_controller.rb +55 -24
  24. data/app/controllers/admin/shipping_categories_controller.rb +2 -1
  25. data/app/controllers/admin/shipping_methods_controller.rb +9 -7
  26. data/app/controllers/admin/shipping_rates_controller.rb +2 -1
  27. data/app/controllers/admin/states_controller.rb +1 -1
  28. data/app/controllers/admin/tax_categories_controller.rb +3 -1
  29. data/app/controllers/admin/tax_rates_controller.rb +12 -8
  30. data/app/controllers/admin/taxonomies_controller.rb +4 -13
  31. data/app/controllers/admin/taxons_controller.rb +86 -46
  32. data/app/controllers/admin/trackers_controller.rb +7 -0
  33. data/app/controllers/admin/users_controller.rb +29 -19
  34. data/app/controllers/admin/variants_controller.rb +12 -7
  35. data/app/controllers/admin/zones_controller.rb +3 -1
  36. data/app/controllers/application_controller.rb +4 -0
  37. data/app/controllers/checkouts_controller.rb +195 -131
  38. data/app/controllers/line_items_controller.rb +11 -6
  39. data/app/controllers/orders_controller.rb +35 -31
  40. data/app/controllers/password_resets_controller.rb +6 -1
  41. data/app/controllers/products_controller.rb +22 -31
  42. data/app/controllers/spree/base_controller.rb +144 -29
  43. data/app/controllers/taxons_controller.rb +8 -10
  44. data/app/controllers/user_sessions_controller.rb +69 -19
  45. data/app/controllers/users_controller.rb +42 -20
  46. data/app/helpers/admin/adjustments_helper.rb +2 -0
  47. data/app/helpers/admin/base_helper.rb +57 -105
  48. data/app/helpers/admin/checkouts_helper.rb +2 -0
  49. data/app/helpers/admin/line_items_helper.rb +2 -0
  50. data/app/helpers/admin/navigation_helper.rb +127 -0
  51. data/app/helpers/admin/orders_helper.rb +22 -7
  52. data/app/helpers/admin/payments_helper.rb +7 -0
  53. data/app/helpers/admin/return_authorizations_helper.rb +2 -0
  54. data/app/helpers/application_helper.rb +2 -8
  55. data/app/helpers/checkouts_helper.rb +32 -4
  56. data/app/helpers/hook_helper.rb +21 -0
  57. data/app/helpers/products_helper.rb +28 -10
  58. data/app/helpers/spree/base_helper.rb +43 -43
  59. data/app/helpers/taxons_helper.rb +3 -3
  60. data/app/helpers/trackers_helper.rb +2 -0
  61. data/app/helpers/users_helper.rb +13 -0
  62. data/app/metal/create_admin_user.rb +1 -1
  63. data/app/metal/redirect_legacy_product_url.rb +10 -0
  64. data/app/metal/seo_assist.rb +38 -0
  65. data/app/models/address.rb +28 -2
  66. data/app/models/adjustment.rb +57 -18
  67. data/app/models/app_configuration.rb +8 -3
  68. data/app/models/billing_integration.rb +23 -0
  69. data/app/models/calculator.rb +8 -3
  70. data/app/models/calculator/flat_percent_item_total.rb +6 -5
  71. data/app/models/calculator/per_item.rb +2 -2
  72. data/app/models/charge.rb +14 -32
  73. data/app/models/checkout.rb +118 -26
  74. data/app/models/coupon.rb +6 -4
  75. data/app/models/coupon_credit.rb +25 -0
  76. data/app/models/credit.rb +14 -22
  77. data/app/models/creditcard.rb +38 -110
  78. data/app/models/creditcard_txn.rb +7 -4
  79. data/app/models/inventory_unit.rb +50 -33
  80. data/app/models/line_item.rb +11 -5
  81. data/app/models/option_type.rb +2 -1
  82. data/app/models/order.rb +189 -64
  83. data/app/models/order_mailer.rb +5 -1
  84. data/app/models/payment.rb +99 -8
  85. data/app/models/payment_method.rb +45 -0
  86. data/app/models/payment_method/check.rb +2 -0
  87. data/app/models/product.rb +103 -38
  88. data/app/models/product_group.rb +201 -0
  89. data/app/models/product_scope.rb +56 -0
  90. data/app/models/return_authorization.rb +70 -0
  91. data/app/models/return_authorization_credit.rb +3 -0
  92. data/app/models/shipment.rb +79 -20
  93. data/app/models/shipping_charge.rb +23 -0
  94. data/app/models/shipping_method.rb +17 -8
  95. data/app/models/state_event.rb +1 -1
  96. data/app/models/state_monitor.rb +25 -0
  97. data/app/models/tax_charge.rb +23 -0
  98. data/app/models/taxon.rb +24 -16
  99. data/app/models/taxonomy.rb +10 -0
  100. data/app/models/tracker.rb +5 -0
  101. data/app/models/transaction.rb +6 -0
  102. data/app/models/user.rb +32 -6
  103. data/app/models/user_session.rb +1 -1
  104. data/app/models/variant.rb +36 -25
  105. data/app/models/zone.rb +19 -16
  106. data/bin/spree +3 -5
  107. data/config/boot.rb +7 -3
  108. data/config/database.yml +24 -25
  109. data/config/environment.rb +34 -28
  110. data/config/environments/staging.rb +13 -8
  111. data/config/environments/test.rb +2 -6
  112. data/config/initializers/locales.rb +1 -1
  113. data/config/initializers/spree.rb +4 -1
  114. data/config/initializers/touch.rb +9 -0
  115. data/config/initializers/workarounds_for_ruby19.rb +102 -0
  116. data/config/locales/cs-CZ.yml +914 -0
  117. data/config/locales/cs-CZ_rails.yml +202 -0
  118. data/config/locales/da.yml +305 -5
  119. data/config/locales/de-CH.yml +305 -5
  120. data/config/locales/de.yml +479 -179
  121. data/config/locales/en-AU.yml +914 -0
  122. data/config/locales/en-AU_rails.yml +202 -0
  123. data/config/locales/en-GB.yml +306 -6
  124. data/config/locales/en-US.yml +390 -90
  125. data/config/locales/en-US_rails.yml +11 -6
  126. data/config/locales/es.yml +378 -78
  127. data/config/locales/fi.yml +380 -80
  128. data/config/locales/fr-FR.yml +489 -189
  129. data/config/locales/il.yml +306 -6
  130. data/config/locales/it.yml +306 -6
  131. data/config/locales/jp.yml +306 -6
  132. data/config/locales/mx.yml +305 -5
  133. data/config/locales/nb-NO.yml +305 -5
  134. data/config/locales/nl-BE.yml +314 -14
  135. data/config/locales/nl-NL.yml +317 -17
  136. data/config/locales/nl-NL_rails.yml +45 -45
  137. data/config/locales/pl.yml +306 -6
  138. data/config/locales/pt-BR.yml +305 -5
  139. data/config/locales/pt-PT.yml +305 -5
  140. data/config/locales/ru-RU.yml +361 -61
  141. data/config/locales/ru-RU_rails.yml +6 -0
  142. data/config/locales/th.yml +306 -6
  143. data/config/locales/vn.yml +914 -0
  144. data/config/locales/vn_rails.yml +202 -0
  145. data/config/routes.rb +41 -24
  146. data/config/spree_permissions.yml +3 -3
  147. data/db/migrate/20090823005402_spree_zero_nine_zero.rb +452 -0
  148. data/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  149. data/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +30 -0
  150. data/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  151. data/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  152. data/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  153. data/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  154. data/db/migrate/20091016174634_change_preference_value_type.rb +9 -0
  155. data/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  156. data/db/migrate/20091021133257_charge_refactoring.rb +32 -0
  157. data/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  158. data/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  159. data/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  160. data/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  161. data/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  162. data/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  163. data/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  164. data/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  165. data/db/migrate/20100105090147_add_cost_price.rb +9 -0
  166. data/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +17 -0
  167. data/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  168. data/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  169. data/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  170. data/db/migrate/20100113203104_create_trackers.rb +14 -0
  171. data/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  172. data/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  173. data/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  174. data/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  175. data/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  176. data/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  177. data/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  178. data/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  179. data/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  180. data/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  181. data/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  182. data/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  183. data/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  184. data/db/sample/addresses.yml +21 -18
  185. data/db/sample/adjustments.yml +8 -10
  186. data/db/sample/checkouts.yml +11 -5
  187. data/db/sample/inventory_units.rb +4 -0
  188. data/db/sample/line_items.yml +26 -11
  189. data/db/sample/orders.yml +15 -6
  190. data/db/sample/payment_methods.yml +23 -0
  191. data/db/sample/payments.rb +25 -0
  192. data/db/sample/product_groups.yml +9 -0
  193. data/db/sample/product_scopes.yml +35 -0
  194. data/db/sample/products.rb +24 -0
  195. data/db/sample/products.yml +8 -0
  196. data/db/sample/shipments.yml +4 -3
  197. data/db/sample/taxons.rb +3 -0
  198. data/db/sample/taxons.yml +22 -2
  199. data/db/sample/users.rb +58 -0
  200. data/db/sample/users.yml +12 -4
  201. data/db/sample/variants.yml +43 -5
  202. data/db/schema.rb +87 -47
  203. data/db/seeds.rb +8 -14
  204. data/lib/commands/extension.rb +4 -4
  205. data/lib/custom_fixtures.rb +1 -1
  206. data/lib/generators/extension/extension_generator.rb +3 -1
  207. data/lib/generators/extension/templates/RSpecRakefile +18 -1
  208. data/lib/generators/extension/templates/Rakefile +16 -0
  209. data/lib/generators/extension/templates/extension.rb +0 -16
  210. data/lib/generators/extension/templates/extension_hooks.rb +43 -0
  211. data/lib/generators/extension/templates/seeds.rb +2 -0
  212. data/lib/generators/extension/templates/tasks.rake +0 -11
  213. data/lib/generators/extension/templates/test_helper.rb +3 -15
  214. data/lib/generators/extension_controller/templates/controller.rb +1 -1
  215. data/lib/generators/extension_controller/templates/functional_test.rb +1 -6
  216. data/lib/generators/instance/instance_generator.rb +1 -1
  217. data/lib/generators/instance/templates/instance_rakefile +1 -0
  218. data/lib/generators/theme/templates/README.markdown +5 -0
  219. data/lib/generators/theme/theme_generator.rb +56 -0
  220. data/lib/scopes.rb +68 -0
  221. data/lib/scopes/dynamic.rb +38 -0
  222. data/lib/scopes/product.rb +246 -0
  223. data/lib/scopes/variant.rb +9 -0
  224. data/lib/spree.rb +5 -3
  225. data/lib/spree/checkout/action_options.rb +18 -0
  226. data/lib/spree/checkout/hooks.rb +27 -0
  227. data/lib/spree/config.rb +13 -2
  228. data/lib/spree/extension.rb +11 -1
  229. data/lib/spree/extension_loader.rb +10 -3
  230. data/lib/spree/extensions.rb +26 -0
  231. data/lib/spree/file_utilz.rb +3 -1
  232. data/lib/spree/initializer.rb +15 -17
  233. data/lib/spree/preferences/mail_settings.rb +1 -1
  234. data/lib/spree/preferences/model_hooks.rb +6 -1
  235. data/lib/spree/search.rb +46 -0
  236. data/lib/spree/search/base.rb +22 -0
  237. data/lib/spree/support/core_extensions/string.rb +1 -1
  238. data/lib/spree/theme_support.rb +4 -0
  239. data/lib/spree/theme_support/hook.rb +51 -0
  240. data/lib/spree/theme_support/hook_listener.rb +68 -0
  241. data/lib/spree/theme_support/hook_modifier.rb +35 -0
  242. data/lib/spree/theme_support/more_patches.rb +117 -0
  243. data/lib/tasks/database.rake +61 -21
  244. data/lib/tasks/extensions.rake +105 -9
  245. data/lib/tasks/rspec.rake +30 -30
  246. data/lib/tasks/themes.rake +32 -0
  247. data/lib/tasks/translation.rake +31 -0
  248. data/lib/tasks/upgrade.rake +1 -1
  249. data/lib/validation_group.rb +145 -0
  250. data/public/images/datepicker/backstripes.gif +0 -0
  251. data/public/images/datepicker/bg_header.jpg +0 -0
  252. data/public/images/datepicker/bullet1.gif +0 -0
  253. data/public/images/datepicker/bullet2.gif +0 -0
  254. data/public/images/datepicker/cal.gif +0 -0
  255. data/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  256. data/public/images/step-progress/completed-completed.gif +0 -0
  257. data/public/images/step-progress/completed-current.gif +0 -0
  258. data/public/images/step-progress/completed-first.gif +0 -0
  259. data/public/images/step-progress/current-first.gif +0 -0
  260. data/public/images/step-progress/current-incomplete.gif +0 -0
  261. data/public/images/step-progress/current-right.gif +0 -0
  262. data/public/images/step-progress/incomplete-incomplete.gif +0 -0
  263. data/public/images/step-progress/incomplete-right.gif +0 -0
  264. data/public/javascripts/additional-methods.js +236 -0
  265. data/public/javascripts/admin/address_states.js +25 -0
  266. data/public/javascripts/admin/checkouts/edit.js +79 -0
  267. data/public/javascripts/admin/orders/edit.js +96 -0
  268. data/public/javascripts/admin/orders/edit_form.js +17 -0
  269. data/public/javascripts/admin/payments/new.js +9 -0
  270. data/public/javascripts/admin/unobtrusive_handlers.js +15 -0
  271. data/public/javascripts/checkout.js +48 -520
  272. data/public/javascripts/dashboard.js +143 -0
  273. data/public/javascripts/datepicker.js +1445 -0
  274. data/public/javascripts/gateway.js +13 -0
  275. data/public/javascripts/jqPlot/excanvas.min.js +1 -0
  276. data/public/javascripts/jqPlot/jquery.jqplot.min.js +14 -0
  277. data/public/javascripts/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js +14 -0
  278. data/public/javascripts/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js +14 -0
  279. data/public/javascripts/jqPlot/plugins/jqplot.canvasTextRenderer.min.js +14 -0
  280. data/public/javascripts/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js +14 -0
  281. data/public/javascripts/jqPlot/plugins/jqplot.dateAxisRenderer.min.js +14 -0
  282. data/public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js +14 -0
  283. data/public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js +14 -0
  284. data/public/javascripts/jquery-and-plugins.js +36 -0
  285. data/public/javascripts/jquery-ui.js +188 -0
  286. data/public/javascripts/jquery.autocomplete.min.js +13 -0
  287. data/public/javascripts/jquery.js +19 -0
  288. data/public/javascripts/jquery.suggest.js +276 -0
  289. data/public/javascripts/jquery.template.js +255 -0
  290. data/public/javascripts/jquery.validate.min.js +4 -4
  291. data/public/javascripts/jrails.autocomplete.js +274 -0
  292. data/public/javascripts/jrails.js +1 -0
  293. data/public/javascripts/jsTree/jquery.tree.js +2058 -0
  294. data/public/javascripts/jsTree/plugins/jquery.tree.contextmenu.js +129 -0
  295. data/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  296. data/public/javascripts/jsTree/{source/themes/default/dot.gif → themes/apple/dot_for_ie.gif} +0 -0
  297. data/public/javascripts/jsTree/themes/apple/icons.png +0 -0
  298. data/public/javascripts/jsTree/themes/apple/style.css +34 -0
  299. data/public/javascripts/jsTree/{source/themes/default → themes/apple}/throbber.gif +0 -0
  300. data/public/javascripts/lang/af.js +40 -0
  301. data/public/javascripts/lang/ar.js +50 -0
  302. data/public/javascripts/lang/de.js +40 -0
  303. data/public/javascripts/lang/du.js +40 -0
  304. data/public/javascripts/lang/en.js +42 -0
  305. data/public/javascripts/lang/es.js +41 -0
  306. data/public/javascripts/lang/fi.js +40 -0
  307. data/public/javascripts/lang/fr.js +44 -0
  308. data/public/javascripts/lang/gr.js +40 -0
  309. data/public/javascripts/lang/he.js +49 -0
  310. data/public/javascripts/lang/it.js +13 -0
  311. data/public/javascripts/lang/nl.js +40 -0
  312. data/public/javascripts/lang/no.js +40 -0
  313. data/public/javascripts/lang/pt.js +50 -0
  314. data/public/javascripts/lang/ro.js +40 -0
  315. data/public/javascripts/lang/ru.js +40 -0
  316. data/public/javascripts/lang/sp.js +40 -0
  317. data/public/javascripts/lang/sv.js +41 -0
  318. data/public/javascripts/lang/ua.js +40 -0
  319. data/public/javascripts/localization/messages_cn.js +24 -0
  320. data/public/javascripts/localization/messages_cs.js +23 -0
  321. data/public/javascripts/localization/messages_da.js +21 -0
  322. data/public/javascripts/localization/messages_de.js +21 -0
  323. data/public/javascripts/localization/messages_es.js +24 -0
  324. data/public/javascripts/localization/messages_fr.js +23 -0
  325. data/public/javascripts/localization/messages_hu.js +21 -0
  326. data/public/javascripts/localization/messages_it.js +26 -0
  327. data/public/javascripts/localization/messages_kk.js +23 -0
  328. data/public/javascripts/localization/messages_nl.js +23 -0
  329. data/public/javascripts/localization/messages_no.js +23 -0
  330. data/public/javascripts/localization/messages_pl.js +23 -0
  331. data/public/javascripts/localization/messages_ptbr.js +30 -0
  332. data/public/javascripts/localization/messages_ro.js +24 -0
  333. data/public/javascripts/localization/messages_ru.js +23 -0
  334. data/public/javascripts/localization/messages_se.js +23 -0
  335. data/public/javascripts/localization/messages_sk.js +21 -0
  336. data/public/javascripts/localization/messages_tr.js +24 -0
  337. data/public/javascripts/localization/messages_tw.js +24 -0
  338. data/public/javascripts/localization/messages_ua.js +24 -0
  339. data/public/javascripts/open_id.js +15 -0
  340. data/public/javascripts/product.js +49 -0
  341. data/public/javascripts/spree.js +37 -2
  342. data/public/javascripts/taxonomy.js +138 -144
  343. data/public/javascripts/zone.js +0 -8
  344. data/public/robots.txt +10 -1
  345. data/public/stylesheets/admin/admin-tables.css +1 -1
  346. data/public/stylesheets/admin/admin.css +147 -50
  347. data/public/stylesheets/admin/dashboard.css +143 -0
  348. data/public/stylesheets/admin/edit-checkouts.css +57 -0
  349. data/public/stylesheets/admin/edit_checkouts.css +57 -0
  350. data/public/stylesheets/admin/edit_orders.css +65 -0
  351. data/public/stylesheets/bundle_admin.css +484 -0
  352. data/public/stylesheets/bundle_calendar_date_select.css +137 -0
  353. data/public/stylesheets/bundle_compiled.css +459 -0
  354. data/public/stylesheets/compiled/screen.css +1 -19
  355. data/public/stylesheets/datepicker.css +263 -0
  356. data/public/stylesheets/jquery.autocomplete.css +48 -0
  357. data/public/stylesheets/screen.css +1181 -0
  358. data/spec/controllers/products_controller_spec.rb +1 -11
  359. data/spec/fixtures/gateways.yml +8 -3
  360. data/spec/models/property_spec.rb +2 -3
  361. data/spec/models/prototype_spec.rb +1 -1
  362. data/spec/spec_helper.rb +10 -11
  363. data/test/factories/address_factory.rb +3 -3
  364. data/test/factories/adjustments_factory.rb +6 -11
  365. data/test/factories/checkout_factory.rb +4 -4
  366. data/test/factories/creditcard_factory.rb +6 -7
  367. data/test/factories/inventory_unit_factory.rb +1 -0
  368. data/test/factories/line_item_factory.rb +2 -2
  369. data/test/factories/order_factory.rb +4 -2
  370. data/test/factories/payment_factory.rb +26 -0
  371. data/test/factories/product_factory.rb +2 -1
  372. data/test/factories/product_group_factory.rb +10 -0
  373. data/test/factories/role_factory.rb +6 -2
  374. data/test/factories/user_factory.rb +9 -1
  375. data/test/factories/variant_factory.rb +3 -2
  376. data/test/factories/zone_factory.rb +8 -0
  377. data/test/fixtures/payment_methods.yml +18 -0
  378. data/test/functional/admin/adjustments_controller_test.rb +165 -0
  379. data/test/functional/admin/checkouts_controller_test.rb +86 -0
  380. data/test/functional/admin/configurations_controller_test.rb +41 -0
  381. data/test/functional/admin/line_items_controller_test.rb +177 -0
  382. data/test/functional/admin/payments_controller_test.rb +120 -0
  383. data/test/functional/admin/product_groups_controller_test.rb +41 -0
  384. data/test/functional/admin/products_controller_test.rb +166 -0
  385. data/test/functional/admin/reports_controller_test.rb +28 -0
  386. data/test/functional/admin/return_authorizations_controller_test.rb +8 -0
  387. data/test/functional/admin/shipments_controller_test.rb +61 -0
  388. data/test/functional/checkouts_controller_test.rb +110 -62
  389. data/test/functional/line_items_controller_test.rb +26 -0
  390. data/test/functional/products_controller_test.rb +0 -1
  391. data/test/integration/searching_test.rb +175 -0
  392. data/test/shoulda_macros/should_redirect.rb +15 -0
  393. data/test/test_helper.rb +51 -7
  394. data/test/unit/address_test.rb +22 -2
  395. data/test/unit/adjustment_test.rb +96 -0
  396. data/test/unit/charge_test.rb +28 -4
  397. data/test/unit/checkout_test.rb +99 -3
  398. data/test/unit/credit_test.rb +2 -3
  399. data/test/unit/creditcard_payment_test.rb +2 -20
  400. data/test/unit/creditcard_test.rb +104 -16
  401. data/test/unit/factories_test.rb +1 -1
  402. data/test/unit/flat_percent_item_total_test.rb +3 -2
  403. data/test/unit/helpers/admin/adjustments_helper_test.rb +4 -0
  404. data/test/unit/helpers/admin/credits_helper_test.rb +4 -0
  405. data/test/unit/helpers/admin/return_authorizations_helper_test.rb +4 -0
  406. data/test/unit/inventory_unit_test.rb +4 -6
  407. data/test/unit/line_item_test.rb +1 -1
  408. data/test/unit/order_mailer_test.rb +48 -0
  409. data/test/unit/order_state_test.rb +191 -0
  410. data/test/unit/order_test.rb +91 -11
  411. data/test/unit/payment_test.rb +54 -0
  412. data/test/unit/preference_definition_test.rb +192 -0
  413. data/test/unit/product_group_test.rb +260 -0
  414. data/test/unit/product_scope_test.rb +62 -0
  415. data/test/unit/product_test.rb +20 -11
  416. data/test/unit/return_authorization_test.rb +104 -0
  417. data/test/unit/shipment_test.rb +175 -0
  418. data/test/unit/shipping_method_test.rb +4 -4
  419. data/test/unit/state_event_test.rb +17 -6
  420. data/test/unit/tax_rate_test.rb +1 -1
  421. data/test/unit/variant_test.rb +25 -12
  422. data/vendor/extensions/api/README.markdown +5 -0
  423. data/vendor/extensions/api/Rakefile +137 -0
  424. data/vendor/extensions/api/api_extension.rb +75 -0
  425. data/vendor/extensions/api/api_hooks.rb +3 -0
  426. data/vendor/extensions/api/app/controllers/api/base_controller.rb +90 -0
  427. data/vendor/extensions/api/app/controllers/api/inventory_units_controller.rb +12 -0
  428. data/vendor/extensions/api/app/controllers/api/line_items_controller.rb +16 -0
  429. data/vendor/extensions/api/app/controllers/api/orders_controller.rb +17 -0
  430. data/vendor/extensions/api/app/controllers/api/products_controller.rb +10 -0
  431. data/vendor/extensions/api/app/controllers/api/shipments_controller.rb +35 -0
  432. data/vendor/extensions/api/app/helpers/api/shipments_helper.rb +2 -0
  433. data/vendor/extensions/api/app/views/admin/users/_api_fields.html.erb +16 -0
  434. data/vendor/extensions/api/config/locales/en-US.yml +16 -0
  435. data/vendor/extensions/api/config/locales/ru-RU.yml +16 -0
  436. data/vendor/extensions/api/config/routes.rb +15 -0
  437. data/vendor/extensions/api/db/migrate/20100107141738_add_api_key_to_users.rb +9 -0
  438. data/vendor/extensions/api/db/seeds.rb +2 -0
  439. data/vendor/extensions/api/lib/tasks/api_extension_tasks.rake +17 -0
  440. data/vendor/extensions/api/test/functional/admin/users_controller_test.rb +32 -0
  441. data/vendor/extensions/api/test/integration/inventory_units_api_test.rb +36 -0
  442. data/vendor/extensions/api/test/integration/orders_api_test.rb +125 -0
  443. data/vendor/extensions/api/test/integration/shipments_api_test.rb +117 -0
  444. data/vendor/extensions/api/test/test_helper.rb +53 -0
  445. data/vendor/extensions/api/test/unit/user_test.rb +21 -0
  446. data/vendor/extensions/localization/app/controllers/locale_controller.rb +5 -3
  447. data/vendor/extensions/localization/localization_extension.rb +1 -1
  448. data/vendor/extensions/overview_dashboard/README.markdown +3 -0
  449. data/vendor/extensions/overview_dashboard/Rakefile +137 -0
  450. data/vendor/extensions/overview_dashboard/app/controllers/admin/overview_controller.rb +142 -0
  451. data/vendor/extensions/overview_dashboard/app/views/admin/overview/index.html.erb +174 -0
  452. data/vendor/extensions/overview_dashboard/config/routes.rb +5 -0
  453. data/vendor/extensions/overview_dashboard/db/seeds.rb +2 -0
  454. data/vendor/extensions/overview_dashboard/lib/tasks/overview_dashboard_extension_tasks.rake +28 -0
  455. data/vendor/extensions/overview_dashboard/overview_dashboard_extension.rb +9 -0
  456. data/vendor/extensions/overview_dashboard/public/javascripts/dashboard.js +143 -0
  457. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/excanvas.min.js +1 -0
  458. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/jquery.jqplot.min.js +14 -0
  459. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js +14 -0
  460. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js +14 -0
  461. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.canvasTextRenderer.min.js +14 -0
  462. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js +14 -0
  463. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.dateAxisRenderer.min.js +14 -0
  464. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js +14 -0
  465. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js +14 -0
  466. data/vendor/extensions/overview_dashboard/public/stylesheets/admin/dashboard.css +143 -0
  467. data/vendor/extensions/overview_dashboard/spec/spec.opts +6 -0
  468. data/vendor/extensions/overview_dashboard/spec/spec_helper.rb +37 -0
  469. data/vendor/extensions/payment_gateway/app/models/gateway.rb +47 -2
  470. data/vendor/extensions/payment_gateway/app/models/gateway/authorize_net.rb +8 -0
  471. data/vendor/extensions/payment_gateway/app/models/gateway/authorize_net_cim.rb +104 -0
  472. data/vendor/extensions/payment_gateway/app/models/gateway/beanstream.rb +164 -0
  473. data/vendor/extensions/payment_gateway/app/models/gateway/bogus.rb +80 -0
  474. data/vendor/extensions/payment_gateway/app/models/gateway/linkpoint.rb +8 -0
  475. data/vendor/extensions/payment_gateway/app/models/gateway/pay_pal.rb +11 -0
  476. data/vendor/extensions/payment_gateway/app/models/gateway/protx.rb +9 -0
  477. data/vendor/extensions/payment_gateway/config/locales/en-US.yml +6 -0
  478. data/vendor/extensions/payment_gateway/config/locales/ru-RU.yml +6 -0
  479. data/vendor/extensions/payment_gateway/config/routes.rb +2 -4
  480. data/vendor/extensions/payment_gateway/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  481. data/vendor/extensions/payment_gateway/lib/active_merchant/billing/authorize_net_cim.rb +869 -0
  482. data/vendor/extensions/payment_gateway/lib/spree/payment_gateway.rb +161 -57
  483. data/vendor/extensions/payment_gateway/payment_gateway_extension.rb +22 -4
  484. data/vendor/extensions/payment_gateway/public/javascripts/gateway.js +13 -0
  485. data/vendor/extensions/payment_gateway/spec/models/creditcard_spec.rb +1 -10
  486. data/vendor/extensions/payment_gateway/test/mocks/authorize_net_cim_mock.rb +59 -0
  487. data/vendor/extensions/payment_gateway/test/test_helper.rb +14 -0
  488. data/vendor/extensions/payment_gateway/test/unit/authorize_net_cim_test.rb +85 -0
  489. data/vendor/extensions/payment_gateway/test/unit/creditcard_with_authorize_net_cim_test.rb +117 -0
  490. data/vendor/extensions/theme_default/HOOKS.markdown +88 -0
  491. data/vendor/extensions/theme_default/README.markdown +3 -0
  492. data/vendor/extensions/theme_default/Rakefile +120 -0
  493. data/vendor/extensions/theme_default/app/stylesheets/_buttons.less +75 -0
  494. data/vendor/extensions/theme_default/app/stylesheets/_cart.less +24 -0
  495. data/vendor/extensions/theme_default/app/stylesheets/_checkout.less +69 -0
  496. data/vendor/extensions/theme_default/app/stylesheets/_checkout_progress.less +62 -0
  497. data/vendor/extensions/theme_default/app/stylesheets/_colors.less +16 -0
  498. data/vendor/extensions/theme_default/app/stylesheets/_forms.less +50 -0
  499. data/vendor/extensions/theme_default/app/stylesheets/_layout.less +72 -0
  500. data/vendor/extensions/theme_default/app/stylesheets/_messages.less +32 -0
  501. data/vendor/extensions/theme_default/app/stylesheets/_mixins.less +71 -0
  502. data/vendor/extensions/theme_default/app/stylesheets/_navigation.less +130 -0
  503. data/vendor/extensions/theme_default/app/stylesheets/_prices.less +18 -0
  504. data/vendor/extensions/theme_default/app/stylesheets/_product_details.less +56 -0
  505. data/vendor/extensions/theme_default/app/stylesheets/_product_lists.less +66 -0
  506. data/vendor/extensions/theme_default/app/stylesheets/_registration.less +24 -0
  507. data/vendor/extensions/theme_default/app/stylesheets/_reset.less +69 -0
  508. data/vendor/extensions/theme_default/app/stylesheets/_typography.less +158 -0
  509. data/vendor/extensions/theme_default/app/stylesheets/screen.css +11 -0
  510. data/vendor/extensions/theme_default/app/stylesheets/screen.less +13 -0
  511. data/{app → vendor/extensions/theme_default/app}/views/account/login.html.erb +0 -0
  512. data/vendor/extensions/theme_default/app/views/admin/adjustments/_form.html.erb +21 -0
  513. data/vendor/extensions/theme_default/app/views/admin/adjustments/edit.html.erb +13 -0
  514. data/vendor/extensions/theme_default/app/views/admin/adjustments/index.html.erb +36 -0
  515. data/vendor/extensions/theme_default/app/views/admin/adjustments/new.html.erb +13 -0
  516. data/vendor/extensions/theme_default/app/views/admin/checkouts/_form.html.erb +16 -0
  517. data/vendor/extensions/theme_default/app/views/admin/checkouts/edit.html.erb +21 -0
  518. data/vendor/extensions/theme_default/app/views/admin/checkouts/show.html.erb +120 -0
  519. data/vendor/extensions/theme_default/app/views/admin/configurations/index.html.erb +74 -0
  520. data/{app → vendor/extensions/theme_default/app}/views/admin/configurations/new.html.erb +0 -0
  521. data/{app → vendor/extensions/theme_default/app}/views/admin/coupons/_form.html.erb +0 -0
  522. data/vendor/extensions/theme_default/app/views/admin/coupons/edit.html.erb +6 -0
  523. data/vendor/extensions/theme_default/app/views/admin/coupons/index.html.erb +40 -0
  524. data/vendor/extensions/theme_default/app/views/admin/coupons/new.html.erb +7 -0
  525. data/{app → vendor/extensions/theme_default/app}/views/admin/extensions/index.html.erb +0 -0
  526. data/{app → vendor/extensions/theme_default/app}/views/admin/general_settings/edit.html.erb +0 -0
  527. data/{app → vendor/extensions/theme_default/app}/views/admin/general_settings/show.html.erb +0 -0
  528. data/vendor/extensions/theme_default/app/views/admin/images/_form.html.erb +12 -0
  529. data/{app → vendor/extensions/theme_default/app}/views/admin/images/edit.html.erb +0 -0
  530. data/{app → vendor/extensions/theme_default/app}/views/admin/images/index.html.erb +0 -0
  531. data/{app → vendor/extensions/theme_default/app}/views/admin/images/new.html.erb +0 -0
  532. data/{app → vendor/extensions/theme_default/app}/views/admin/inventory_settings/edit.html.erb +0 -0
  533. data/{app → vendor/extensions/theme_default/app}/views/admin/inventory_settings/show.html.erb +0 -0
  534. data/{app → vendor/extensions/theme_default/app}/views/admin/inventory_units/adjust.html.erb +0 -0
  535. data/{app → vendor/extensions/theme_default/app}/views/admin/mail_settings/edit.html.erb +0 -0
  536. data/{app → vendor/extensions/theme_default/app}/views/admin/mail_settings/show.html.erb +0 -0
  537. data/vendor/extensions/theme_default/app/views/admin/option_types/_form.html.erb +33 -0
  538. data/{app → vendor/extensions/theme_default/app}/views/admin/option_types/_option_value.html.erb +0 -0
  539. data/{app → vendor/extensions/theme_default/app}/views/admin/option_types/available.html.erb +0 -0
  540. data/{app → vendor/extensions/theme_default/app}/views/admin/option_types/edit.html.erb +0 -0
  541. data/vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb +37 -0
  542. data/{app → vendor/extensions/theme_default/app}/views/admin/option_types/new.html.erb +0 -0
  543. data/vendor/extensions/theme_default/app/views/admin/option_types/selected.html.erb +38 -0
  544. data/vendor/extensions/theme_default/app/views/admin/orders/_add_product.html.erb +24 -0
  545. data/vendor/extensions/theme_default/app/views/admin/orders/_form.html.erb +70 -0
  546. data/vendor/extensions/theme_default/app/views/admin/orders/_line_item.html.erb +16 -0
  547. data/vendor/extensions/theme_default/app/views/admin/orders/edit.html.erb +25 -0
  548. data/vendor/extensions/theme_default/app/views/admin/orders/history.html.erb +25 -0
  549. data/vendor/extensions/theme_default/app/views/admin/orders/index.html.erb +96 -0
  550. data/vendor/extensions/theme_default/app/views/admin/orders/new.html.erb +19 -0
  551. data/vendor/extensions/theme_default/app/views/admin/orders/show.html.erb +45 -0
  552. data/vendor/extensions/theme_default/app/views/admin/payment_methods/_form.html.erb +45 -0
  553. data/vendor/extensions/theme_default/app/views/admin/payment_methods/edit.html.erb +10 -0
  554. data/vendor/extensions/theme_default/app/views/admin/payment_methods/index.html.erb +36 -0
  555. data/vendor/extensions/theme_default/app/views/admin/payment_methods/new.html.erb +11 -0
  556. data/vendor/extensions/theme_default/app/views/admin/payments/_bill_address_form.html.erb +9 -0
  557. data/vendor/extensions/theme_default/app/views/admin/payments/_card_form.html.erb +49 -0
  558. data/vendor/extensions/theme_default/app/views/admin/payments/_form.html.erb +15 -0
  559. data/vendor/extensions/theme_default/app/views/admin/payments/_list.html.erb +24 -0
  560. data/vendor/extensions/theme_default/app/views/admin/payments/_transaction_list.html.erb +24 -0
  561. data/vendor/extensions/theme_default/app/views/admin/payments/credit.html.erb +14 -0
  562. data/vendor/extensions/theme_default/app/views/admin/payments/index.html.erb +27 -0
  563. data/vendor/extensions/theme_default/app/views/admin/payments/new.html.erb +19 -0
  564. data/vendor/extensions/theme_default/app/views/admin/payments/show.html.erb +10 -0
  565. data/{app/views/admin/shared/_order_sub_menu.html.erb → vendor/extensions/theme_default/app/views/admin/payments/source_forms/_check.html.erb} +0 -0
  566. data/vendor/extensions/theme_default/app/views/admin/payments/source_forms/_gateway.html.erb +43 -0
  567. data/vendor/{plugins/paperclip/test/fixtures/text.txt → extensions/theme_default/app/views/admin/payments/source_views/_check.html.erb} +0 -0
  568. data/vendor/extensions/theme_default/app/views/admin/payments/source_views/_gateway.html.erb +35 -0
  569. data/vendor/extensions/theme_default/app/views/admin/product_groups/_preview.html.erb +34 -0
  570. data/vendor/extensions/theme_default/app/views/admin/product_groups/_product_scope.html.erb +24 -0
  571. data/vendor/extensions/theme_default/app/views/admin/product_groups/edit.html.erb +56 -0
  572. data/vendor/extensions/theme_default/app/views/admin/product_groups/index.html.erb +35 -0
  573. data/vendor/extensions/theme_default/app/views/admin/product_groups/new.html.erb +12 -0
  574. data/vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb +32 -0
  575. data/vendor/extensions/theme_default/app/views/admin/product_groups/update.js.erb +7 -0
  576. data/vendor/extensions/theme_default/app/views/admin/product_properties/_product_property.html.erb +17 -0
  577. data/vendor/extensions/theme_default/app/views/admin/product_properties/index.html.erb +59 -0
  578. data/vendor/extensions/theme_default/app/views/admin/product_scopes/create.js.erb +3 -0
  579. data/vendor/extensions/theme_default/app/views/admin/product_scopes/destroy.js.erb +2 -0
  580. data/vendor/extensions/theme_default/app/views/admin/product_scopes/new.html.erb +1 -0
  581. data/vendor/extensions/theme_default/app/views/admin/products/_form.html.erb +104 -0
  582. data/vendor/extensions/theme_default/app/views/admin/products/_option_types.html.erb +40 -0
  583. data/{app → vendor/extensions/theme_default/app}/views/admin/products/_properties_form.erb +0 -0
  584. data/{app → vendor/extensions/theme_default/app}/views/admin/products/edit.html.erb +0 -0
  585. data/vendor/extensions/theme_default/app/views/admin/products/index.html.erb +85 -0
  586. data/vendor/extensions/theme_default/app/views/admin/products/new.html.erb +53 -0
  587. data/{app → vendor/extensions/theme_default/app}/views/admin/products/show.html.erb +0 -0
  588. data/{app → vendor/extensions/theme_default/app}/views/admin/properties/_form.html.erb +0 -0
  589. data/{app → vendor/extensions/theme_default/app}/views/admin/properties/edit.html.erb +0 -0
  590. data/{app → vendor/extensions/theme_default/app}/views/admin/properties/filtered.html.erb +0 -0
  591. data/vendor/extensions/theme_default/app/views/admin/properties/index.html.erb +43 -0
  592. data/{app → vendor/extensions/theme_default/app}/views/admin/properties/new.html.erb +0 -0
  593. data/{app → vendor/extensions/theme_default/app}/views/admin/prototypes/_form.html.erb +0 -0
  594. data/vendor/extensions/theme_default/app/views/admin/prototypes/available.html.erb +22 -0
  595. data/{app → vendor/extensions/theme_default/app}/views/admin/prototypes/edit.html.erb +0 -0
  596. data/vendor/extensions/theme_default/app/views/admin/prototypes/index.html.erb +40 -0
  597. data/vendor/extensions/theme_default/app/views/admin/prototypes/new.html.erb +11 -0
  598. data/vendor/extensions/theme_default/app/views/admin/prototypes/select.rjs +7 -0
  599. data/vendor/extensions/theme_default/app/views/admin/reports/index.html.erb +19 -0
  600. data/{app → vendor/extensions/theme_default/app}/views/admin/reports/sales_total.html.erb +0 -0
  601. data/vendor/extensions/theme_default/app/views/admin/return_authorizations/_form.html.erb +64 -0
  602. data/vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb +27 -0
  603. data/vendor/extensions/theme_default/app/views/admin/return_authorizations/index.html.erb +43 -0
  604. data/vendor/extensions/theme_default/app/views/admin/return_authorizations/new.html.erb +13 -0
  605. data/vendor/extensions/theme_default/app/views/admin/shared/_additional_field.html.erb +5 -0
  606. data/vendor/extensions/theme_default/app/views/admin/shared/_address.html.erb +5 -0
  607. data/vendor/extensions/theme_default/app/views/admin/shared/_address_form.html.erb +67 -0
  608. data/vendor/extensions/theme_default/app/views/admin/shared/_calculator_fields.html.erb +16 -0
  609. data/vendor/extensions/theme_default/app/views/admin/shared/_configuration_menu.html.erb +22 -0
  610. data/{app → vendor/extensions/theme_default/app}/views/admin/shared/_edit_resource_links.html.erb +0 -0
  611. data/{app → vendor/extensions/theme_default/app}/views/admin/shared/_new_resource_links.html.erb +0 -0
  612. data/{app → vendor/extensions/theme_default/app}/views/admin/shared/_order_details.html.erb +0 -0
  613. data/vendor/extensions/theme_default/app/views/admin/shared/_order_sub_menu.html.erb +0 -0
  614. data/vendor/extensions/theme_default/app/views/admin/shared/_order_tabs.html.erb +52 -0
  615. data/vendor/extensions/theme_default/app/views/admin/shared/_product_sub_menu.html.erb +11 -0
  616. data/vendor/extensions/theme_default/app/views/admin/shared/_product_tabs.html.erb +44 -0
  617. data/vendor/extensions/theme_default/app/views/admin/shared/_report_criteria.html.erb +15 -0
  618. data/{app → vendor/extensions/theme_default/app}/views/admin/shared/_show_resource_links.html.erb +0 -0
  619. data/vendor/extensions/theme_default/app/views/admin/shared/_tabs.html.erb +6 -0
  620. data/vendor/extensions/theme_default/app/views/admin/shipments/_form.html.erb +76 -0
  621. data/vendor/extensions/theme_default/app/views/admin/shipments/edit.html.erb +40 -0
  622. data/vendor/extensions/theme_default/app/views/admin/shipments/index.html.erb +44 -0
  623. data/vendor/extensions/theme_default/app/views/admin/shipments/new.html.erb +18 -0
  624. data/{app → vendor/extensions/theme_default/app}/views/admin/shipping_categories/_form.html.erb +0 -0
  625. data/vendor/extensions/theme_default/app/views/admin/shipping_categories/edit.html.erb +6 -0
  626. data/vendor/extensions/theme_default/app/views/admin/shipping_categories/index.html.erb +29 -0
  627. data/vendor/extensions/theme_default/app/views/admin/shipping_categories/new.html.erb +8 -0
  628. data/vendor/extensions/theme_default/app/views/admin/shipping_methods/_form.html.erb +19 -0
  629. data/vendor/extensions/theme_default/app/views/admin/shipping_methods/edit.html.erb +16 -0
  630. data/vendor/extensions/theme_default/app/views/admin/shipping_methods/index.html.erb +46 -0
  631. data/vendor/extensions/theme_default/app/views/admin/shipping_methods/new.html.erb +17 -0
  632. data/{app → vendor/extensions/theme_default/app}/views/admin/shipping_rates/_form.html.erb +0 -0
  633. data/vendor/extensions/theme_default/app/views/admin/shipping_rates/edit.html.erb +6 -0
  634. data/vendor/extensions/theme_default/app/views/admin/shipping_rates/index.html.erb +32 -0
  635. data/vendor/extensions/theme_default/app/views/admin/shipping_rates/new.html.erb +8 -0
  636. data/{app → vendor/extensions/theme_default/app}/views/admin/states/_form.html.erb +0 -0
  637. data/{app → vendor/extensions/theme_default/app}/views/admin/states/_state_list.html.erb +0 -0
  638. data/vendor/extensions/theme_default/app/views/admin/states/edit.html.erb +10 -0
  639. data/vendor/extensions/theme_default/app/views/admin/states/index.html.erb +25 -0
  640. data/vendor/extensions/theme_default/app/views/admin/states/new.html.erb +10 -0
  641. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_categories/_form.html.erb +0 -0
  642. data/vendor/extensions/theme_default/app/views/admin/tax_categories/edit.html.erb +10 -0
  643. data/vendor/extensions/theme_default/app/views/admin/tax_categories/index.html.erb +37 -0
  644. data/vendor/extensions/theme_default/app/views/admin/tax_categories/new.html.erb +10 -0
  645. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_categories/show.html.erb +0 -0
  646. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_rates/_form.html.erb +0 -0
  647. data/vendor/extensions/theme_default/app/views/admin/tax_rates/edit.html.erb +6 -0
  648. data/vendor/extensions/theme_default/app/views/admin/tax_rates/index.html.erb +34 -0
  649. data/vendor/extensions/theme_default/app/views/admin/tax_rates/new.html.erb +8 -0
  650. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_settings/edit.html.erb +0 -0
  651. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_settings/show.html.erb +0 -0
  652. data/vendor/extensions/theme_default/app/views/admin/taxonomies/_form.html.erb +7 -0
  653. data/vendor/extensions/theme_default/app/views/admin/taxonomies/_js_head.html.erb +11 -0
  654. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/_list.html.erb +0 -0
  655. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/_manage_products.rhtml +0 -0
  656. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/_success.rhtml +0 -0
  657. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/_taxon.html.erb +0 -0
  658. data/vendor/extensions/theme_default/app/views/admin/taxonomies/edit.html.erb +49 -0
  659. data/vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb +9 -0
  660. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/index.html.erb +0 -0
  661. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/new.html.erb +0 -0
  662. data/vendor/extensions/theme_default/app/views/admin/taxons/_form.html.erb +13 -0
  663. data/vendor/extensions/theme_default/app/views/admin/taxons/_taxon_table.html.erb +28 -0
  664. data/vendor/extensions/theme_default/app/views/admin/taxons/available.js.erb +36 -0
  665. data/vendor/extensions/theme_default/app/views/admin/taxons/edit.html.erb +11 -0
  666. data/{app → vendor/extensions/theme_default/app}/views/admin/taxons/remove.html.erb +0 -0
  667. data/{app → vendor/extensions/theme_default/app}/views/admin/taxons/select.html.erb +0 -0
  668. data/vendor/extensions/theme_default/app/views/admin/taxons/selected.html.erb +42 -0
  669. data/vendor/extensions/theme_default/app/views/admin/trackers/_form.html.erb +26 -0
  670. data/vendor/extensions/theme_default/app/views/admin/trackers/edit.html.erb +8 -0
  671. data/vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb +41 -0
  672. data/vendor/extensions/theme_default/app/views/admin/trackers/new.html.erb +9 -0
  673. data/vendor/extensions/theme_default/app/views/admin/users/_form.html.erb +36 -0
  674. data/vendor/extensions/theme_default/app/views/admin/users/edit.html.erb +16 -0
  675. data/vendor/extensions/theme_default/app/views/admin/users/index.html.erb +62 -0
  676. data/vendor/extensions/theme_default/app/views/admin/users/new.html.erb +16 -0
  677. data/{app → vendor/extensions/theme_default/app}/views/admin/users/show.html.erb +0 -0
  678. data/vendor/extensions/theme_default/app/views/admin/variants/_form.html.erb +38 -0
  679. data/vendor/extensions/theme_default/app/views/admin/variants/edit.html.erb +13 -0
  680. data/vendor/extensions/theme_default/app/views/admin/variants/index.html.erb +54 -0
  681. data/vendor/extensions/theme_default/app/views/admin/variants/new.html.erb +11 -0
  682. data/vendor/extensions/theme_default/app/views/admin/zones/_country_member.html.erb +5 -0
  683. data/vendor/extensions/theme_default/app/views/admin/zones/_form.html.erb +29 -0
  684. data/{app → vendor/extensions/theme_default/app}/views/admin/zones/_member_type.html.erb +0 -0
  685. data/vendor/extensions/theme_default/app/views/admin/zones/_state_member.html.erb +5 -0
  686. data/vendor/extensions/theme_default/app/views/admin/zones/_zone_member.html.erb +5 -0
  687. data/vendor/extensions/theme_default/app/views/admin/zones/edit.html.erb +10 -0
  688. data/vendor/extensions/theme_default/app/views/admin/zones/index.html.erb +40 -0
  689. data/vendor/extensions/theme_default/app/views/admin/zones/new.html.erb +10 -0
  690. data/vendor/extensions/theme_default/app/views/checkouts/_address.html.erb +163 -0
  691. data/vendor/extensions/theme_default/app/views/checkouts/_confirm.html.erb +11 -0
  692. data/vendor/extensions/theme_default/app/views/checkouts/_delivery.html.erb +33 -0
  693. data/vendor/extensions/theme_default/app/views/checkouts/_guest_checkout.html.erb +9 -0
  694. data/vendor/extensions/theme_default/app/views/checkouts/_payment.html.erb +33 -0
  695. data/vendor/extensions/theme_default/app/views/checkouts/_summary.html.erb +36 -0
  696. data/vendor/extensions/theme_default/app/views/checkouts/edit.html.erb +20 -0
  697. data/vendor/extensions/theme_default/app/views/checkouts/payment/_check.html.erb +0 -0
  698. data/vendor/extensions/theme_default/app/views/checkouts/payment/_gateway.html.erb +31 -0
  699. data/vendor/extensions/theme_default/app/views/checkouts/register.html.erb +13 -0
  700. data/{app → vendor/extensions/theme_default/app}/views/content/cvv.html.erb +0 -0
  701. data/{app → vendor/extensions/theme_default/app}/views/countries/index.js.erb +0 -0
  702. data/vendor/extensions/theme_default/app/views/layouts/admin.html.erb +77 -0
  703. data/vendor/extensions/theme_default/app/views/layouts/spree_application.html.erb +48 -0
  704. data/{app → vendor/extensions/theme_default/app}/views/order_mailer/cancel.html.erb +0 -0
  705. data/{app → vendor/extensions/theme_default/app}/views/order_mailer/confirm.html.erb +0 -0
  706. data/vendor/extensions/theme_default/app/views/orders/_form.html.erb +25 -0
  707. data/vendor/extensions/theme_default/app/views/orders/_line_item.html.erb +43 -0
  708. data/vendor/extensions/theme_default/app/views/orders/edit.html.erb +29 -0
  709. data/{app → vendor/extensions/theme_default/app}/views/orders/new.html.erb +0 -0
  710. data/vendor/extensions/theme_default/app/views/orders/show.html.erb +16 -0
  711. data/vendor/extensions/theme_default/app/views/password_resets/edit.html.erb +12 -0
  712. data/vendor/extensions/theme_default/app/views/password_resets/new.html.erb +12 -0
  713. data/vendor/extensions/theme_default/app/views/products/_cart_form.html.erb +54 -0
  714. data/{app → vendor/extensions/theme_default/app}/views/products/_image.html.erb +0 -0
  715. data/vendor/extensions/theme_default/app/views/products/_properties.html.erb +8 -0
  716. data/vendor/extensions/theme_default/app/views/products/_taxons.html.erb +16 -0
  717. data/vendor/extensions/theme_default/app/views/products/_thumbnails.html.erb +40 -0
  718. data/vendor/extensions/theme_default/app/views/products/index.html.erb +31 -0
  719. data/vendor/extensions/theme_default/app/views/products/show.html.erb +29 -0
  720. data/vendor/extensions/theme_default/app/views/shared/_additional_field.html.erb +7 -0
  721. data/vendor/extensions/theme_default/app/views/shared/_admin_head.html.erb +21 -0
  722. data/{app → vendor/extensions/theme_default/app}/views/shared/_edit_resource_links.html.erb +0 -0
  723. data/vendor/extensions/theme_default/app/views/shared/_filters.html.erb +52 -0
  724. data/vendor/extensions/theme_default/app/views/shared/_footer.html.erb +11 -0
  725. data/vendor/extensions/theme_default/app/views/shared/_google_analytics.html.erb +39 -0
  726. data/vendor/extensions/theme_default/app/views/shared/_head.html.erb +9 -0
  727. data/vendor/extensions/theme_default/app/views/shared/_login.html.erb +37 -0
  728. data/{app → vendor/extensions/theme_default/app}/views/shared/_login_bar.html.erb +0 -0
  729. data/vendor/extensions/theme_default/app/views/shared/_nav_bar.html.erb +5 -0
  730. data/{app → vendor/extensions/theme_default/app}/views/shared/_new_resource_links.html.erb +0 -0
  731. data/vendor/extensions/theme_default/app/views/shared/_order_details.html.erb +60 -0
  732. data/vendor/extensions/theme_default/app/views/shared/_products.html.erb +33 -0
  733. data/vendor/extensions/theme_default/app/views/shared/_search.html.erb +9 -0
  734. data/{app → vendor/extensions/theme_default/app}/views/shared/_show_resource_links.html.erb +0 -0
  735. data/{app → vendor/extensions/theme_default/app}/views/shared/_store_menu.html.erb +0 -0
  736. data/vendor/extensions/theme_default/app/views/shared/_taxonomies.html.erb +10 -0
  737. data/vendor/extensions/theme_default/app/views/shared/_test_hook.html.erb +1 -0
  738. data/vendor/extensions/theme_default/app/views/shared/_user_form.html.erb +32 -0
  739. data/{app → vendor/extensions/theme_default/app}/views/states/index.js.erb +0 -0
  740. data/{app → vendor/extensions/theme_default/app}/views/taxons/_taxon.html.erb +0 -0
  741. data/vendor/extensions/theme_default/app/views/taxons/show.html.erb +17 -0
  742. data/{app → vendor/extensions/theme_default/app}/views/user_mailer/password_reset_instructions.erb +0 -0
  743. data/{app → vendor/extensions/theme_default/app}/views/user_sessions/authorization_failure.html.erb +0 -0
  744. data/vendor/extensions/theme_default/app/views/user_sessions/new.html.erb +8 -0
  745. data/vendor/extensions/theme_default/app/views/users/_openid_identifier.html.erb +10 -0
  746. data/vendor/extensions/theme_default/app/views/users/edit.html.erb +9 -0
  747. data/vendor/extensions/theme_default/app/views/users/new.html.erb +22 -0
  748. data/vendor/extensions/theme_default/app/views/users/show.html.erb +46 -0
  749. data/vendor/extensions/theme_default/lib/tasks/theme_default_extension_tasks.rake +28 -0
  750. data/vendor/extensions/theme_default/public/images/add-to-cart.png +0 -0
  751. data/vendor/extensions/theme_default/public/images/admin/bg/active-tab.png +0 -0
  752. data/vendor/extensions/theme_default/public/images/admin/bg/admin_tab_back.png +0 -0
  753. data/vendor/extensions/theme_default/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  754. data/vendor/extensions/theme_default/public/images/admin/bg/content-back-blue.png +0 -0
  755. data/vendor/extensions/theme_default/public/images/admin/bg/content-back-green.png +0 -0
  756. data/vendor/extensions/theme_default/public/images/admin/bg/content-back.png +0 -0
  757. data/vendor/extensions/theme_default/public/images/admin/bg/flash-error.png +0 -0
  758. data/vendor/extensions/theme_default/public/images/admin/bg/flash-notice.png +0 -0
  759. data/vendor/extensions/theme_default/public/images/admin/bg/green-stripes.gif +0 -0
  760. data/vendor/extensions/theme_default/public/images/admin/bg/green-stripes.png +0 -0
  761. data/vendor/extensions/theme_default/public/images/admin/bg/grid_header_back.png +0 -0
  762. data/vendor/extensions/theme_default/public/images/admin/bg/grid_header_back_green.png +0 -0
  763. data/vendor/extensions/theme_default/public/images/admin/bg/header-bg.png +0 -0
  764. data/vendor/extensions/theme_default/public/images/admin/bg/header_bg.jpg +0 -0
  765. data/vendor/extensions/theme_default/public/images/admin/bg/menu-current.png +0 -0
  766. data/vendor/extensions/theme_default/public/images/admin/bg/red-stripes.gif +0 -0
  767. data/vendor/extensions/theme_default/public/images/admin/bg/red-stripes.png +0 -0
  768. data/vendor/extensions/theme_default/public/images/admin/bg/spree_50.png +0 -0
  769. data/vendor/extensions/theme_default/public/images/admin/bg/subnav-divider.png +0 -0
  770. data/vendor/extensions/theme_default/public/images/admin/bg/subnav.png +0 -0
  771. data/vendor/extensions/theme_default/public/images/admin/bg/tab-back.png +0 -0
  772. data/vendor/extensions/theme_default/public/images/admin/buttons/blue/left_01.png +0 -0
  773. data/vendor/extensions/theme_default/public/images/admin/buttons/blue/right_01.png +0 -0
  774. data/vendor/extensions/theme_default/public/images/admin/buttons/drag-handle-green.png +0 -0
  775. data/vendor/extensions/theme_default/public/images/admin/buttons/green/left_01.png +0 -0
  776. data/vendor/extensions/theme_default/public/images/admin/buttons/green/right_01.png +0 -0
  777. data/vendor/extensions/theme_default/public/images/admin/buttons/left_01.png +0 -0
  778. data/vendor/extensions/theme_default/public/images/admin/buttons/left_01_small.png +0 -0
  779. data/vendor/extensions/theme_default/public/images/admin/buttons/orange/left_03.png +0 -0
  780. data/vendor/extensions/theme_default/public/images/admin/buttons/orange/right_03.png +0 -0
  781. data/vendor/extensions/theme_default/public/images/admin/buttons/right_01.png +0 -0
  782. data/vendor/extensions/theme_default/public/images/admin/buttons/right_01_small.png +0 -0
  783. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/1.png +0 -0
  784. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/10.png +0 -0
  785. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/2.png +0 -0
  786. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/3.png +0 -0
  787. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/4.png +0 -0
  788. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/5.png +0 -0
  789. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/6.png +0 -0
  790. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/7.png +0 -0
  791. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/8.png +0 -0
  792. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/9.png +0 -0
  793. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/1.png +0 -0
  794. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/10.png +0 -0
  795. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/11.png +0 -0
  796. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/2.png +0 -0
  797. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/3.png +0 -0
  798. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/4.png +0 -0
  799. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/5.png +0 -0
  800. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/6.png +0 -0
  801. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/7.png +0 -0
  802. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/8.png +0 -0
  803. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/9.png +0 -0
  804. data/vendor/extensions/theme_default/public/images/admin/icons/accept.png +0 -0
  805. data/vendor/extensions/theme_default/public/images/admin/icons/add.gif +0 -0
  806. data/vendor/extensions/theme_default/public/images/admin/icons/add.png +0 -0
  807. data/vendor/extensions/theme_default/public/images/admin/icons/arrow-down.gif +0 -0
  808. data/vendor/extensions/theme_default/public/images/admin/icons/cross.png +0 -0
  809. data/vendor/extensions/theme_default/public/images/admin/icons/delete.gif +0 -0
  810. data/vendor/extensions/theme_default/public/images/admin/icons/delete.png +0 -0
  811. data/vendor/extensions/theme_default/public/images/admin/icons/drag.gif +0 -0
  812. data/vendor/extensions/theme_default/public/images/admin/icons/edit.gif +0 -0
  813. data/vendor/extensions/theme_default/public/images/admin/icons/edit.png +0 -0
  814. data/vendor/extensions/theme_default/public/images/admin/icons/email.png +0 -0
  815. data/vendor/extensions/theme_default/public/images/admin/icons/error.png +0 -0
  816. data/vendor/extensions/theme_default/public/images/admin/icons/exclamation.png +0 -0
  817. data/vendor/extensions/theme_default/public/images/admin/icons/feed.png +0 -0
  818. data/vendor/extensions/theme_default/public/images/admin/icons/pdf.png +0 -0
  819. data/vendor/extensions/theme_default/public/images/admin/icons/reorder.gif +0 -0
  820. data/vendor/extensions/theme_default/public/images/admin/icons/search.gif +0 -0
  821. data/vendor/extensions/theme_default/public/images/admin/icons/send-email.png +0 -0
  822. data/vendor/extensions/theme_default/public/images/admin/icons/stop.png +0 -0
  823. data/vendor/extensions/theme_default/public/images/admin/icons/tick.png +0 -0
  824. data/vendor/extensions/theme_default/public/images/admin/icons/up.gif +0 -0
  825. data/vendor/extensions/theme_default/public/images/admin/icons/xls.png +0 -0
  826. data/vendor/extensions/theme_default/public/images/admin/tabs/off-left.png +0 -0
  827. data/vendor/extensions/theme_default/public/images/admin/tabs/off-right.png +0 -0
  828. data/vendor/extensions/theme_default/public/images/admin/tabs/on-left.png +0 -0
  829. data/vendor/extensions/theme_default/public/images/admin/tabs/on-right.png +0 -0
  830. data/vendor/extensions/theme_default/public/images/ajax_loader.gif +0 -0
  831. data/vendor/extensions/theme_default/public/images/amex_cid.gif +0 -0
  832. data/vendor/extensions/theme_default/public/images/bg-button-hover.png +0 -0
  833. data/vendor/extensions/theme_default/public/images/bg-button-pressed.png +0 -0
  834. data/vendor/extensions/theme_default/public/images/bg-button.gif +0 -0
  835. data/vendor/extensions/theme_default/public/images/bg-button.png +0 -0
  836. data/vendor/extensions/theme_default/public/images/blue/left_01.png +0 -0
  837. data/vendor/extensions/theme_default/public/images/blue/right_01.png +0 -0
  838. data/vendor/extensions/theme_default/public/images/body-back.png +0 -0
  839. data/vendor/extensions/theme_default/public/images/bottom_shine.png +0 -0
  840. data/vendor/extensions/theme_default/public/images/breadcrumb.gif +0 -0
  841. data/vendor/extensions/theme_default/public/images/button-dark-hover.png +0 -0
  842. data/vendor/extensions/theme_default/public/images/button-dark.png +0 -0
  843. data/vendor/extensions/theme_default/public/images/buttons/bg-button-hover.png +0 -0
  844. data/vendor/extensions/theme_default/public/images/buttons/bg-button-pressed.png +0 -0
  845. data/vendor/extensions/theme_default/public/images/buttons/bg-button.gif +0 -0
  846. data/vendor/extensions/theme_default/public/images/buttons/bg-button.png +0 -0
  847. data/vendor/extensions/theme_default/public/images/buttons/blue/left_01.png +0 -0
  848. data/vendor/extensions/theme_default/public/images/buttons/blue/right_01.png +0 -0
  849. data/vendor/extensions/theme_default/public/images/buttons/button-dark-hover.png +0 -0
  850. data/vendor/extensions/theme_default/public/images/buttons/button-dark.png +0 -0
  851. data/vendor/extensions/theme_default/public/images/buttons/drag-handle-green.png +0 -0
  852. data/vendor/extensions/theme_default/public/images/buttons/green/left_01.png +0 -0
  853. data/vendor/extensions/theme_default/public/images/buttons/green/right_01.png +0 -0
  854. data/vendor/extensions/theme_default/public/images/buttons/left_01.png +0 -0
  855. data/vendor/extensions/theme_default/public/images/buttons/left_01_small.png +0 -0
  856. data/vendor/extensions/theme_default/public/images/buttons/orange/left_03.png +0 -0
  857. data/vendor/extensions/theme_default/public/images/buttons/orange/right_03.png +0 -0
  858. data/vendor/extensions/theme_default/public/images/buttons/right_01.png +0 -0
  859. data/vendor/extensions/theme_default/public/images/buttons/right_01_small.png +0 -0
  860. data/vendor/extensions/theme_default/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  861. data/vendor/extensions/theme_default/public/images/buttons/top-shine.png +0 -0
  862. data/vendor/extensions/theme_default/public/images/calendar_date_select/calendar.gif +0 -0
  863. data/vendor/extensions/theme_default/public/images/cart-empty.png +0 -0
  864. data/vendor/extensions/theme_default/public/images/cart-empty_x32.png +0 -0
  865. data/vendor/extensions/theme_default/public/images/cart-full.png +0 -0
  866. data/vendor/extensions/theme_default/public/images/cart-full_x32.png +0 -0
  867. data/vendor/extensions/theme_default/public/images/checkout.png +0 -0
  868. data/vendor/extensions/theme_default/public/images/creditcard.gif +0 -0
  869. data/vendor/extensions/theme_default/public/images/datepicker/backstripes.gif +0 -0
  870. data/vendor/extensions/theme_default/public/images/datepicker/bg_header.jpg +0 -0
  871. data/vendor/extensions/theme_default/public/images/datepicker/bullet1.gif +0 -0
  872. data/vendor/extensions/theme_default/public/images/datepicker/bullet2.gif +0 -0
  873. data/vendor/extensions/theme_default/public/images/datepicker/cal.gif +0 -0
  874. data/vendor/extensions/theme_default/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  875. data/vendor/extensions/theme_default/public/images/discover_cid.gif +0 -0
  876. data/vendor/extensions/theme_default/public/images/drag-handle-green.png +0 -0
  877. data/vendor/extensions/theme_default/public/images/flags/ad.png +0 -0
  878. data/vendor/extensions/theme_default/public/images/flags/ae.png +0 -0
  879. data/vendor/extensions/theme_default/public/images/flags/af.png +0 -0
  880. data/vendor/extensions/theme_default/public/images/flags/ag.png +0 -0
  881. data/vendor/extensions/theme_default/public/images/flags/ai.png +0 -0
  882. data/vendor/extensions/theme_default/public/images/flags/al.png +0 -0
  883. data/vendor/extensions/theme_default/public/images/flags/am.png +0 -0
  884. data/vendor/extensions/theme_default/public/images/flags/an.png +0 -0
  885. data/vendor/extensions/theme_default/public/images/flags/ao.png +0 -0
  886. data/vendor/extensions/theme_default/public/images/flags/ar.png +0 -0
  887. data/vendor/extensions/theme_default/public/images/flags/as.png +0 -0
  888. data/vendor/extensions/theme_default/public/images/flags/at.png +0 -0
  889. data/vendor/extensions/theme_default/public/images/flags/au.png +0 -0
  890. data/vendor/extensions/theme_default/public/images/flags/aw.png +0 -0
  891. data/vendor/extensions/theme_default/public/images/flags/ax.png +0 -0
  892. data/vendor/extensions/theme_default/public/images/flags/az.png +0 -0
  893. data/vendor/extensions/theme_default/public/images/flags/ba.png +0 -0
  894. data/vendor/extensions/theme_default/public/images/flags/bb.png +0 -0
  895. data/vendor/extensions/theme_default/public/images/flags/bd.png +0 -0
  896. data/vendor/extensions/theme_default/public/images/flags/be.png +0 -0
  897. data/vendor/extensions/theme_default/public/images/flags/bf.png +0 -0
  898. data/vendor/extensions/theme_default/public/images/flags/bg.png +0 -0
  899. data/vendor/extensions/theme_default/public/images/flags/bh.png +0 -0
  900. data/vendor/extensions/theme_default/public/images/flags/bi.png +0 -0
  901. data/vendor/extensions/theme_default/public/images/flags/bj.png +0 -0
  902. data/vendor/extensions/theme_default/public/images/flags/bm.png +0 -0
  903. data/vendor/extensions/theme_default/public/images/flags/bn.png +0 -0
  904. data/vendor/extensions/theme_default/public/images/flags/bo.png +0 -0
  905. data/vendor/extensions/theme_default/public/images/flags/br.png +0 -0
  906. data/vendor/extensions/theme_default/public/images/flags/bs.png +0 -0
  907. data/vendor/extensions/theme_default/public/images/flags/bt.png +0 -0
  908. data/vendor/extensions/theme_default/public/images/flags/bv.png +0 -0
  909. data/vendor/extensions/theme_default/public/images/flags/bw.png +0 -0
  910. data/vendor/extensions/theme_default/public/images/flags/by.png +0 -0
  911. data/vendor/extensions/theme_default/public/images/flags/bz.png +0 -0
  912. data/vendor/extensions/theme_default/public/images/flags/ca.png +0 -0
  913. data/vendor/extensions/theme_default/public/images/flags/catalonia.png +0 -0
  914. data/vendor/extensions/theme_default/public/images/flags/cc.png +0 -0
  915. data/vendor/extensions/theme_default/public/images/flags/cd.png +0 -0
  916. data/vendor/extensions/theme_default/public/images/flags/cf.png +0 -0
  917. data/vendor/extensions/theme_default/public/images/flags/cg.png +0 -0
  918. data/vendor/extensions/theme_default/public/images/flags/ch.png +0 -0
  919. data/vendor/extensions/theme_default/public/images/flags/ci.png +0 -0
  920. data/vendor/extensions/theme_default/public/images/flags/ck.png +0 -0
  921. data/vendor/extensions/theme_default/public/images/flags/cl.png +0 -0
  922. data/vendor/extensions/theme_default/public/images/flags/cm.png +0 -0
  923. data/vendor/extensions/theme_default/public/images/flags/cn.png +0 -0
  924. data/vendor/extensions/theme_default/public/images/flags/co.png +0 -0
  925. data/vendor/extensions/theme_default/public/images/flags/cr.png +0 -0
  926. data/vendor/extensions/theme_default/public/images/flags/cs.png +0 -0
  927. data/vendor/extensions/theme_default/public/images/flags/cu.png +0 -0
  928. data/vendor/extensions/theme_default/public/images/flags/cv.png +0 -0
  929. data/vendor/extensions/theme_default/public/images/flags/cx.png +0 -0
  930. data/vendor/extensions/theme_default/public/images/flags/cy.png +0 -0
  931. data/vendor/extensions/theme_default/public/images/flags/cz.png +0 -0
  932. data/vendor/extensions/theme_default/public/images/flags/da.png +0 -0
  933. data/vendor/extensions/theme_default/public/images/flags/de.png +0 -0
  934. data/vendor/extensions/theme_default/public/images/flags/de_CH.png +0 -0
  935. data/vendor/extensions/theme_default/public/images/flags/dj.png +0 -0
  936. data/vendor/extensions/theme_default/public/images/flags/dm.png +0 -0
  937. data/vendor/extensions/theme_default/public/images/flags/do.png +0 -0
  938. data/vendor/extensions/theme_default/public/images/flags/dz.png +0 -0
  939. data/vendor/extensions/theme_default/public/images/flags/ec.png +0 -0
  940. data/vendor/extensions/theme_default/public/images/flags/ee.png +0 -0
  941. data/vendor/extensions/theme_default/public/images/flags/eg.png +0 -0
  942. data/vendor/extensions/theme_default/public/images/flags/eh.png +0 -0
  943. data/vendor/extensions/theme_default/public/images/flags/england.png +0 -0
  944. data/vendor/extensions/theme_default/public/images/flags/er.png +0 -0
  945. data/vendor/extensions/theme_default/public/images/flags/es.png +0 -0
  946. data/vendor/extensions/theme_default/public/images/flags/et.png +0 -0
  947. data/vendor/extensions/theme_default/public/images/flags/europeanunion.png +0 -0
  948. data/vendor/extensions/theme_default/public/images/flags/fam.png +0 -0
  949. data/vendor/extensions/theme_default/public/images/flags/fi.png +0 -0
  950. data/vendor/extensions/theme_default/public/images/flags/fj.png +0 -0
  951. data/vendor/extensions/theme_default/public/images/flags/fk.png +0 -0
  952. data/vendor/extensions/theme_default/public/images/flags/fm.png +0 -0
  953. data/vendor/extensions/theme_default/public/images/flags/fo.png +0 -0
  954. data/vendor/extensions/theme_default/public/images/flags/fr.png +0 -0
  955. data/vendor/extensions/theme_default/public/images/flags/ga.png +0 -0
  956. data/vendor/extensions/theme_default/public/images/flags/gb.png +0 -0
  957. data/vendor/extensions/theme_default/public/images/flags/gd.png +0 -0
  958. data/vendor/extensions/theme_default/public/images/flags/ge.png +0 -0
  959. data/vendor/extensions/theme_default/public/images/flags/gf.png +0 -0
  960. data/vendor/extensions/theme_default/public/images/flags/gh.png +0 -0
  961. data/vendor/extensions/theme_default/public/images/flags/gi.png +0 -0
  962. data/vendor/extensions/theme_default/public/images/flags/gl.png +0 -0
  963. data/vendor/extensions/theme_default/public/images/flags/gm.png +0 -0
  964. data/vendor/extensions/theme_default/public/images/flags/gn.png +0 -0
  965. data/vendor/extensions/theme_default/public/images/flags/gp.png +0 -0
  966. data/vendor/extensions/theme_default/public/images/flags/gq.png +0 -0
  967. data/vendor/extensions/theme_default/public/images/flags/gr.png +0 -0
  968. data/vendor/extensions/theme_default/public/images/flags/gs.png +0 -0
  969. data/vendor/extensions/theme_default/public/images/flags/gt.png +0 -0
  970. data/vendor/extensions/theme_default/public/images/flags/gu.png +0 -0
  971. data/vendor/extensions/theme_default/public/images/flags/gw.png +0 -0
  972. data/vendor/extensions/theme_default/public/images/flags/gy.png +0 -0
  973. data/vendor/extensions/theme_default/public/images/flags/hk.png +0 -0
  974. data/vendor/extensions/theme_default/public/images/flags/hm.png +0 -0
  975. data/vendor/extensions/theme_default/public/images/flags/hn.png +0 -0
  976. data/vendor/extensions/theme_default/public/images/flags/hr.png +0 -0
  977. data/vendor/extensions/theme_default/public/images/flags/ht.png +0 -0
  978. data/vendor/extensions/theme_default/public/images/flags/hu.png +0 -0
  979. data/vendor/extensions/theme_default/public/images/flags/id.png +0 -0
  980. data/vendor/extensions/theme_default/public/images/flags/ie.png +0 -0
  981. data/vendor/extensions/theme_default/public/images/flags/il.png +0 -0
  982. data/vendor/extensions/theme_default/public/images/flags/in.png +0 -0
  983. data/vendor/extensions/theme_default/public/images/flags/io.png +0 -0
  984. data/vendor/extensions/theme_default/public/images/flags/iq.png +0 -0
  985. data/vendor/extensions/theme_default/public/images/flags/ir.png +0 -0
  986. data/vendor/extensions/theme_default/public/images/flags/is.png +0 -0
  987. data/vendor/extensions/theme_default/public/images/flags/it.png +0 -0
  988. data/vendor/extensions/theme_default/public/images/flags/jm.png +0 -0
  989. data/vendor/extensions/theme_default/public/images/flags/jo.png +0 -0
  990. data/vendor/extensions/theme_default/public/images/flags/jp.png +0 -0
  991. data/vendor/extensions/theme_default/public/images/flags/ke.png +0 -0
  992. data/vendor/extensions/theme_default/public/images/flags/kg.png +0 -0
  993. data/vendor/extensions/theme_default/public/images/flags/kh.png +0 -0
  994. data/vendor/extensions/theme_default/public/images/flags/ki.png +0 -0
  995. data/vendor/extensions/theme_default/public/images/flags/km.png +0 -0
  996. data/vendor/extensions/theme_default/public/images/flags/kn.png +0 -0
  997. data/vendor/extensions/theme_default/public/images/flags/kp.png +0 -0
  998. data/vendor/extensions/theme_default/public/images/flags/kr.png +0 -0
  999. data/vendor/extensions/theme_default/public/images/flags/kw.png +0 -0
  1000. data/vendor/extensions/theme_default/public/images/flags/ky.png +0 -0
  1001. data/vendor/extensions/theme_default/public/images/flags/kz.png +0 -0
  1002. data/vendor/extensions/theme_default/public/images/flags/la.png +0 -0
  1003. data/vendor/extensions/theme_default/public/images/flags/lb.png +0 -0
  1004. data/vendor/extensions/theme_default/public/images/flags/lc.png +0 -0
  1005. data/vendor/extensions/theme_default/public/images/flags/li.png +0 -0
  1006. data/vendor/extensions/theme_default/public/images/flags/lk.png +0 -0
  1007. data/vendor/extensions/theme_default/public/images/flags/lr.png +0 -0
  1008. data/vendor/extensions/theme_default/public/images/flags/ls.png +0 -0
  1009. data/vendor/extensions/theme_default/public/images/flags/lt.png +0 -0
  1010. data/vendor/extensions/theme_default/public/images/flags/lu.png +0 -0
  1011. data/vendor/extensions/theme_default/public/images/flags/lv.png +0 -0
  1012. data/vendor/extensions/theme_default/public/images/flags/ly.png +0 -0
  1013. data/vendor/extensions/theme_default/public/images/flags/ma.png +0 -0
  1014. data/vendor/extensions/theme_default/public/images/flags/mc.png +0 -0
  1015. data/vendor/extensions/theme_default/public/images/flags/md.png +0 -0
  1016. data/vendor/extensions/theme_default/public/images/flags/me.png +0 -0
  1017. data/vendor/extensions/theme_default/public/images/flags/mg.png +0 -0
  1018. data/vendor/extensions/theme_default/public/images/flags/mh.png +0 -0
  1019. data/vendor/extensions/theme_default/public/images/flags/mk.png +0 -0
  1020. data/vendor/extensions/theme_default/public/images/flags/ml.png +0 -0
  1021. data/vendor/extensions/theme_default/public/images/flags/mm.png +0 -0
  1022. data/vendor/extensions/theme_default/public/images/flags/mn.png +0 -0
  1023. data/vendor/extensions/theme_default/public/images/flags/mo.png +0 -0
  1024. data/vendor/extensions/theme_default/public/images/flags/mp.png +0 -0
  1025. data/vendor/extensions/theme_default/public/images/flags/mq.png +0 -0
  1026. data/vendor/extensions/theme_default/public/images/flags/mr.png +0 -0
  1027. data/vendor/extensions/theme_default/public/images/flags/ms.png +0 -0
  1028. data/vendor/extensions/theme_default/public/images/flags/mt.png +0 -0
  1029. data/vendor/extensions/theme_default/public/images/flags/mu.png +0 -0
  1030. data/vendor/extensions/theme_default/public/images/flags/mv.png +0 -0
  1031. data/vendor/extensions/theme_default/public/images/flags/mw.png +0 -0
  1032. data/vendor/extensions/theme_default/public/images/flags/mx.png +0 -0
  1033. data/vendor/extensions/theme_default/public/images/flags/my.png +0 -0
  1034. data/vendor/extensions/theme_default/public/images/flags/mz.png +0 -0
  1035. data/vendor/extensions/theme_default/public/images/flags/na.png +0 -0
  1036. data/vendor/extensions/theme_default/public/images/flags/nc.png +0 -0
  1037. data/vendor/extensions/theme_default/public/images/flags/ne.png +0 -0
  1038. data/vendor/extensions/theme_default/public/images/flags/nf.png +0 -0
  1039. data/vendor/extensions/theme_default/public/images/flags/ng.png +0 -0
  1040. data/vendor/extensions/theme_default/public/images/flags/ni.png +0 -0
  1041. data/vendor/extensions/theme_default/public/images/flags/nl.png +0 -0
  1042. data/vendor/extensions/theme_default/public/images/flags/no.png +0 -0
  1043. data/vendor/extensions/theme_default/public/images/flags/np.png +0 -0
  1044. data/vendor/extensions/theme_default/public/images/flags/nr.png +0 -0
  1045. data/vendor/extensions/theme_default/public/images/flags/nu.png +0 -0
  1046. data/vendor/extensions/theme_default/public/images/flags/nz.png +0 -0
  1047. data/vendor/extensions/theme_default/public/images/flags/om.png +0 -0
  1048. data/vendor/extensions/theme_default/public/images/flags/pa.png +0 -0
  1049. data/vendor/extensions/theme_default/public/images/flags/pe.png +0 -0
  1050. data/vendor/extensions/theme_default/public/images/flags/pf.png +0 -0
  1051. data/vendor/extensions/theme_default/public/images/flags/pg.png +0 -0
  1052. data/vendor/extensions/theme_default/public/images/flags/ph.png +0 -0
  1053. data/vendor/extensions/theme_default/public/images/flags/pk.png +0 -0
  1054. data/vendor/extensions/theme_default/public/images/flags/pl.png +0 -0
  1055. data/vendor/extensions/theme_default/public/images/flags/pm.png +0 -0
  1056. data/vendor/extensions/theme_default/public/images/flags/pn.png +0 -0
  1057. data/vendor/extensions/theme_default/public/images/flags/pr.png +0 -0
  1058. data/vendor/extensions/theme_default/public/images/flags/ps.png +0 -0
  1059. data/vendor/extensions/theme_default/public/images/flags/pt.png +0 -0
  1060. data/vendor/extensions/theme_default/public/images/flags/pw.png +0 -0
  1061. data/vendor/extensions/theme_default/public/images/flags/py.png +0 -0
  1062. data/vendor/extensions/theme_default/public/images/flags/qa.png +0 -0
  1063. data/vendor/extensions/theme_default/public/images/flags/re.png +0 -0
  1064. data/vendor/extensions/theme_default/public/images/flags/ro.png +0 -0
  1065. data/vendor/extensions/theme_default/public/images/flags/rs.png +0 -0
  1066. data/vendor/extensions/theme_default/public/images/flags/ru.png +0 -0
  1067. data/vendor/extensions/theme_default/public/images/flags/rw.png +0 -0
  1068. data/vendor/extensions/theme_default/public/images/flags/sa.png +0 -0
  1069. data/vendor/extensions/theme_default/public/images/flags/sb.png +0 -0
  1070. data/vendor/extensions/theme_default/public/images/flags/sc.png +0 -0
  1071. data/vendor/extensions/theme_default/public/images/flags/scotland.png +0 -0
  1072. data/vendor/extensions/theme_default/public/images/flags/sd.png +0 -0
  1073. data/vendor/extensions/theme_default/public/images/flags/se.png +0 -0
  1074. data/vendor/extensions/theme_default/public/images/flags/sg.png +0 -0
  1075. data/vendor/extensions/theme_default/public/images/flags/sh.png +0 -0
  1076. data/vendor/extensions/theme_default/public/images/flags/si.png +0 -0
  1077. data/vendor/extensions/theme_default/public/images/flags/sj.png +0 -0
  1078. data/vendor/extensions/theme_default/public/images/flags/sk.png +0 -0
  1079. data/vendor/extensions/theme_default/public/images/flags/sl.png +0 -0
  1080. data/vendor/extensions/theme_default/public/images/flags/sm.png +0 -0
  1081. data/vendor/extensions/theme_default/public/images/flags/sn.png +0 -0
  1082. data/vendor/extensions/theme_default/public/images/flags/so.png +0 -0
  1083. data/vendor/extensions/theme_default/public/images/flags/sr.png +0 -0
  1084. data/vendor/extensions/theme_default/public/images/flags/st.png +0 -0
  1085. data/vendor/extensions/theme_default/public/images/flags/sv.png +0 -0
  1086. data/vendor/extensions/theme_default/public/images/flags/sy.png +0 -0
  1087. data/vendor/extensions/theme_default/public/images/flags/sz.png +0 -0
  1088. data/vendor/extensions/theme_default/public/images/flags/tc.png +0 -0
  1089. data/vendor/extensions/theme_default/public/images/flags/td.png +0 -0
  1090. data/vendor/extensions/theme_default/public/images/flags/tf.png +0 -0
  1091. data/vendor/extensions/theme_default/public/images/flags/tg.png +0 -0
  1092. data/vendor/extensions/theme_default/public/images/flags/th.png +0 -0
  1093. data/vendor/extensions/theme_default/public/images/flags/tj.png +0 -0
  1094. data/vendor/extensions/theme_default/public/images/flags/tk.png +0 -0
  1095. data/vendor/extensions/theme_default/public/images/flags/tl.png +0 -0
  1096. data/vendor/extensions/theme_default/public/images/flags/tm.png +0 -0
  1097. data/vendor/extensions/theme_default/public/images/flags/tn.png +0 -0
  1098. data/vendor/extensions/theme_default/public/images/flags/to.png +0 -0
  1099. data/vendor/extensions/theme_default/public/images/flags/tr.png +0 -0
  1100. data/vendor/extensions/theme_default/public/images/flags/tt.png +0 -0
  1101. data/vendor/extensions/theme_default/public/images/flags/tv.png +0 -0
  1102. data/vendor/extensions/theme_default/public/images/flags/tw.png +0 -0
  1103. data/vendor/extensions/theme_default/public/images/flags/tz.png +0 -0
  1104. data/vendor/extensions/theme_default/public/images/flags/ua.png +0 -0
  1105. data/vendor/extensions/theme_default/public/images/flags/ug.png +0 -0
  1106. data/vendor/extensions/theme_default/public/images/flags/um.png +0 -0
  1107. data/vendor/extensions/theme_default/public/images/flags/us.png +0 -0
  1108. data/vendor/extensions/theme_default/public/images/flags/uy.png +0 -0
  1109. data/vendor/extensions/theme_default/public/images/flags/uz.png +0 -0
  1110. data/vendor/extensions/theme_default/public/images/flags/va.png +0 -0
  1111. data/vendor/extensions/theme_default/public/images/flags/vc.png +0 -0
  1112. data/vendor/extensions/theme_default/public/images/flags/ve.png +0 -0
  1113. data/vendor/extensions/theme_default/public/images/flags/vg.png +0 -0
  1114. data/vendor/extensions/theme_default/public/images/flags/vi.png +0 -0
  1115. data/vendor/extensions/theme_default/public/images/flags/vn.png +0 -0
  1116. data/vendor/extensions/theme_default/public/images/flags/vu.png +0 -0
  1117. data/vendor/extensions/theme_default/public/images/flags/wales.png +0 -0
  1118. data/vendor/extensions/theme_default/public/images/flags/wf.png +0 -0
  1119. data/vendor/extensions/theme_default/public/images/flags/ws.png +0 -0
  1120. data/vendor/extensions/theme_default/public/images/flags/ye.png +0 -0
  1121. data/vendor/extensions/theme_default/public/images/flags/yt.png +0 -0
  1122. data/vendor/extensions/theme_default/public/images/flags/za.png +0 -0
  1123. data/vendor/extensions/theme_default/public/images/flags/zm.png +0 -0
  1124. data/vendor/extensions/theme_default/public/images/flags/zw.png +0 -0
  1125. data/vendor/extensions/theme_default/public/images/green/left_01.png +0 -0
  1126. data/vendor/extensions/theme_default/public/images/green/right_01.png +0 -0
  1127. data/vendor/extensions/theme_default/public/images/grid.png +0 -0
  1128. data/vendor/extensions/theme_default/public/images/left_01.png +0 -0
  1129. data/vendor/extensions/theme_default/public/images/left_01_small.png +0 -0
  1130. data/vendor/extensions/theme_default/public/images/master_cid.jpg +0 -0
  1131. data/vendor/extensions/theme_default/public/images/menu-current.png +0 -0
  1132. data/vendor/extensions/theme_default/public/images/menu-hover.png +0 -0
  1133. data/vendor/extensions/theme_default/public/images/noimage/mini.jpg +0 -0
  1134. data/vendor/extensions/theme_default/public/images/noimage/product.jpg +0 -0
  1135. data/vendor/extensions/theme_default/public/images/noimage/small.jpg +0 -0
  1136. data/vendor/extensions/theme_default/public/images/openid-inputicon.gif +0 -0
  1137. data/vendor/extensions/theme_default/public/images/orange/left_03.png +0 -0
  1138. data/vendor/extensions/theme_default/public/images/orange/right_03.png +0 -0
  1139. data/vendor/extensions/theme_default/public/images/progress.gif +0 -0
  1140. data/vendor/extensions/theme_default/public/images/rails.png +0 -0
  1141. data/vendor/extensions/theme_default/public/images/right_01.png +0 -0
  1142. data/vendor/extensions/theme_default/public/images/right_01_small.png +0 -0
  1143. data/vendor/extensions/theme_default/public/images/separator.png +0 -0
  1144. data/vendor/extensions/theme_default/public/images/shadow-top.png +0 -0
  1145. data/vendor/extensions/theme_default/public/images/shadow_top.png +0 -0
  1146. data/vendor/extensions/theme_default/public/images/spinner.gif +0 -0
  1147. data/vendor/extensions/theme_default/public/images/spree.jpg +0 -0
  1148. data/vendor/extensions/theme_default/public/images/spree/progress.gif +0 -0
  1149. data/vendor/extensions/theme_default/public/images/spree/spinner.gif +0 -0
  1150. data/vendor/extensions/theme_default/public/images/spree/spree.jpg +0 -0
  1151. data/vendor/extensions/theme_default/public/images/step-progress/completed-completed.gif +0 -0
  1152. data/vendor/extensions/theme_default/public/images/step-progress/completed-current.gif +0 -0
  1153. data/vendor/extensions/theme_default/public/images/step-progress/completed-first.gif +0 -0
  1154. data/vendor/extensions/theme_default/public/images/step-progress/current-first.gif +0 -0
  1155. data/vendor/extensions/theme_default/public/images/step-progress/current-incomplete.gif +0 -0
  1156. data/vendor/extensions/theme_default/public/images/step-progress/current-right.gif +0 -0
  1157. data/vendor/extensions/theme_default/public/images/step-progress/incomplete-incomplete.gif +0 -0
  1158. data/vendor/extensions/theme_default/public/images/step-progress/incomplete-right.gif +0 -0
  1159. data/vendor/extensions/theme_default/public/images/steps/1.png +0 -0
  1160. data/vendor/extensions/theme_default/public/images/steps/1_small.png +0 -0
  1161. data/vendor/extensions/theme_default/public/images/steps/2.png +0 -0
  1162. data/vendor/extensions/theme_default/public/images/steps/2_small.png +0 -0
  1163. data/vendor/extensions/theme_default/public/images/steps/3.png +0 -0
  1164. data/vendor/extensions/theme_default/public/images/steps/3_small.png +0 -0
  1165. data/vendor/extensions/theme_default/public/images/steps/4.png +0 -0
  1166. data/vendor/extensions/theme_default/public/images/steps/4_small.png +0 -0
  1167. data/vendor/extensions/theme_default/public/images/steps/5.png +0 -0
  1168. data/vendor/extensions/theme_default/public/images/steps/5_small.png +0 -0
  1169. data/vendor/extensions/theme_default/public/images/steps/6.png +0 -0
  1170. data/vendor/extensions/theme_default/public/images/steps/6_small.png +0 -0
  1171. data/vendor/extensions/theme_default/public/images/sxsw-ribbon-v1.png +0 -0
  1172. data/vendor/extensions/theme_default/public/images/tab_bottom.gif +0 -0
  1173. data/vendor/extensions/theme_default/public/images/top-shine.png +0 -0
  1174. data/vendor/extensions/theme_default/public/images/tree-nav-icons/bullet.gif +0 -0
  1175. data/vendor/extensions/theme_default/public/images/tree-nav-icons/minus.gif +0 -0
  1176. data/vendor/extensions/theme_default/public/images/tree-nav-icons/plus.gif +0 -0
  1177. data/vendor/extensions/theme_default/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  1178. data/vendor/extensions/theme_default/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  1179. data/vendor/extensions/theme_default/public/images/update.png +0 -0
  1180. data/vendor/extensions/theme_default/public/images/visa_cid.gif +0 -0
  1181. data/vendor/extensions/theme_default/public/images/wrapper-back-2.png +0 -0
  1182. data/vendor/extensions/theme_default/public/images/wrapper-back.png +0 -0
  1183. data/vendor/extensions/theme_default/public/images/yui-menubaritem_submenuindicator.png +0 -0
  1184. data/vendor/extensions/theme_default/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  1185. data/vendor/extensions/theme_default/public/images/yui-menuitem_checkbox.png +0 -0
  1186. data/vendor/extensions/theme_default/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  1187. data/vendor/extensions/theme_default/public/images/yui-menuitem_submenuindicator.png +0 -0
  1188. data/vendor/extensions/theme_default/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  1189. data/vendor/extensions/theme_default/public/images/yui-sprite.png +0 -0
  1190. data/vendor/extensions/theme_default/public/javascripts/additional-methods.js +236 -0
  1191. data/vendor/extensions/theme_default/public/javascripts/admin/address_states.js +25 -0
  1192. data/vendor/extensions/theme_default/public/javascripts/admin/checkouts/edit.js +79 -0
  1193. data/vendor/extensions/theme_default/public/javascripts/admin/orders/edit.js +96 -0
  1194. data/vendor/extensions/theme_default/public/javascripts/admin/orders/edit_form.js +17 -0
  1195. data/vendor/extensions/theme_default/public/javascripts/admin/payments/new.js +9 -0
  1196. data/vendor/extensions/theme_default/public/javascripts/admin/unobtrusive_handlers.js +15 -0
  1197. data/vendor/extensions/theme_default/public/javascripts/calculator.js +13 -0
  1198. data/vendor/extensions/theme_default/public/javascripts/checkout.js +65 -0
  1199. data/vendor/extensions/theme_default/public/javascripts/datepicker.js +1445 -0
  1200. data/vendor/extensions/theme_default/public/javascripts/gateway.js +13 -0
  1201. data/vendor/extensions/theme_default/public/javascripts/jquery-1.3.2.min.js +19 -0
  1202. data/vendor/extensions/theme_default/public/javascripts/jquery-and-plugins.js +36 -0
  1203. data/vendor/extensions/theme_default/public/javascripts/jquery-ui.js +188 -0
  1204. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/images/help.gif +0 -0
  1205. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/images/important.gif +0 -0
  1206. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/images/info.gif +0 -0
  1207. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/images/title.gif +0 -0
  1208. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  1209. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  1210. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  1211. data/vendor/extensions/theme_default/public/javascripts/jquery.autocomplete.min.js +13 -0
  1212. data/vendor/extensions/theme_default/public/javascripts/jquery.js +19 -0
  1213. data/vendor/extensions/theme_default/public/javascripts/jquery.suggest.js +276 -0
  1214. data/vendor/extensions/theme_default/public/javascripts/jquery.template.js +255 -0
  1215. data/vendor/extensions/theme_default/public/javascripts/jquery.validate.min.js +16 -0
  1216. data/vendor/extensions/theme_default/public/javascripts/jrails.autocomplete.js +274 -0
  1217. data/vendor/extensions/theme_default/public/javascripts/jrails.js +1 -0
  1218. data/vendor/extensions/theme_default/public/javascripts/jsTree/jquery.tree.js +2058 -0
  1219. data/vendor/extensions/theme_default/public/javascripts/jsTree/plugins/jquery.tree.contextmenu.js +129 -0
  1220. data/vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  1221. data/{public/javascripts/jsTree/source/themes/spree/dot.gif → vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple/dot_for_ie.gif} +0 -0
  1222. data/vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple/icons.png +0 -0
  1223. data/vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple/style.css +34 -0
  1224. data/{public/javascripts/jsTree/source/themes/spree → vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple}/throbber.gif +0 -0
  1225. data/vendor/extensions/theme_default/public/javascripts/lang/af.js +40 -0
  1226. data/vendor/extensions/theme_default/public/javascripts/lang/ar.js +50 -0
  1227. data/vendor/extensions/theme_default/public/javascripts/lang/de.js +40 -0
  1228. data/vendor/extensions/theme_default/public/javascripts/lang/du.js +40 -0
  1229. data/vendor/extensions/theme_default/public/javascripts/lang/en.js +42 -0
  1230. data/vendor/extensions/theme_default/public/javascripts/lang/es.js +41 -0
  1231. data/vendor/extensions/theme_default/public/javascripts/lang/fi.js +40 -0
  1232. data/vendor/extensions/theme_default/public/javascripts/lang/fr.js +44 -0
  1233. data/vendor/extensions/theme_default/public/javascripts/lang/gr.js +40 -0
  1234. data/vendor/extensions/theme_default/public/javascripts/lang/he.js +49 -0
  1235. data/vendor/extensions/theme_default/public/javascripts/lang/it.js +13 -0
  1236. data/vendor/extensions/theme_default/public/javascripts/lang/nl.js +40 -0
  1237. data/vendor/extensions/theme_default/public/javascripts/lang/no.js +40 -0
  1238. data/vendor/extensions/theme_default/public/javascripts/lang/pt.js +50 -0
  1239. data/vendor/extensions/theme_default/public/javascripts/lang/ro.js +40 -0
  1240. data/vendor/extensions/theme_default/public/javascripts/lang/ru.js +40 -0
  1241. data/vendor/extensions/theme_default/public/javascripts/lang/sp.js +40 -0
  1242. data/vendor/extensions/theme_default/public/javascripts/lang/sv.js +41 -0
  1243. data/vendor/extensions/theme_default/public/javascripts/lang/ua.js +40 -0
  1244. data/vendor/extensions/theme_default/public/javascripts/localization/messages_cn.js +24 -0
  1245. data/vendor/extensions/theme_default/public/javascripts/localization/messages_cs.js +23 -0
  1246. data/vendor/extensions/theme_default/public/javascripts/localization/messages_da.js +21 -0
  1247. data/vendor/extensions/theme_default/public/javascripts/localization/messages_de.js +21 -0
  1248. data/vendor/extensions/theme_default/public/javascripts/localization/messages_es.js +24 -0
  1249. data/vendor/extensions/theme_default/public/javascripts/localization/messages_fr.js +23 -0
  1250. data/vendor/extensions/theme_default/public/javascripts/localization/messages_hu.js +21 -0
  1251. data/vendor/extensions/theme_default/public/javascripts/localization/messages_it.js +26 -0
  1252. data/vendor/extensions/theme_default/public/javascripts/localization/messages_kk.js +23 -0
  1253. data/vendor/extensions/theme_default/public/javascripts/localization/messages_nl.js +23 -0
  1254. data/vendor/extensions/theme_default/public/javascripts/localization/messages_no.js +23 -0
  1255. data/vendor/extensions/theme_default/public/javascripts/localization/messages_pl.js +23 -0
  1256. data/vendor/extensions/theme_default/public/javascripts/localization/messages_ptbr.js +30 -0
  1257. data/vendor/extensions/theme_default/public/javascripts/localization/messages_ro.js +24 -0
  1258. data/vendor/extensions/theme_default/public/javascripts/localization/messages_ru.js +23 -0
  1259. data/vendor/extensions/theme_default/public/javascripts/localization/messages_se.js +23 -0
  1260. data/vendor/extensions/theme_default/public/javascripts/localization/messages_sk.js +21 -0
  1261. data/vendor/extensions/theme_default/public/javascripts/localization/messages_tr.js +24 -0
  1262. data/vendor/extensions/theme_default/public/javascripts/localization/messages_tw.js +24 -0
  1263. data/vendor/extensions/theme_default/public/javascripts/localization/messages_ua.js +24 -0
  1264. data/vendor/extensions/theme_default/public/javascripts/nested-attribute.js +25 -0
  1265. data/vendor/extensions/theme_default/public/javascripts/open_id.js +15 -0
  1266. data/vendor/extensions/theme_default/public/javascripts/product.js +49 -0
  1267. data/vendor/extensions/theme_default/public/javascripts/spree.js +53 -0
  1268. data/vendor/extensions/theme_default/public/javascripts/taxonomy.js +196 -0
  1269. data/vendor/extensions/theme_default/public/javascripts/zone.js +40 -0
  1270. data/vendor/extensions/theme_default/public/stylesheets/admin/admin-forms.css +159 -0
  1271. data/vendor/extensions/theme_default/public/stylesheets/admin/admin-reset.css +67 -0
  1272. data/vendor/extensions/theme_default/public/stylesheets/admin/admin-tables.css +31 -0
  1273. data/vendor/extensions/theme_default/public/stylesheets/admin/admin-typography.css +117 -0
  1274. data/vendor/extensions/theme_default/public/stylesheets/admin/admin.css +556 -0
  1275. data/vendor/extensions/theme_default/public/stylesheets/admin/edit_checkouts.css +57 -0
  1276. data/vendor/extensions/theme_default/public/stylesheets/admin/edit_orders.css +65 -0
  1277. data/vendor/extensions/theme_default/public/stylesheets/admin/grids.css +314 -0
  1278. data/vendor/extensions/theme_default/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  1279. data/vendor/extensions/theme_default/public/stylesheets/admin/yui-includes.css +14 -0
  1280. data/vendor/extensions/theme_default/public/stylesheets/datepicker.css +263 -0
  1281. data/vendor/extensions/theme_default/public/stylesheets/jquery.autocomplete.css +48 -0
  1282. data/vendor/extensions/theme_default/public/stylesheets/scaffold.css +54 -0
  1283. data/vendor/extensions/theme_default/public/stylesheets/screen.css +1181 -0
  1284. data/vendor/extensions/theme_default/spec/spec.opts +6 -0
  1285. data/vendor/extensions/theme_default/spec/spec_helper.rb +37 -0
  1286. data/vendor/extensions/theme_default/theme_default_extension.rb +39 -0
  1287. data/vendor/extensions/theme_default/theme_default_hooks.rb +2 -0
  1288. data/vendor/plugins/attribute_fu/init.rb +10 -2
  1289. data/vendor/plugins/attribute_fu/javascripts/jquery.template.js +255 -0
  1290. data/vendor/plugins/attribute_fu/lib/attribute_fu/associated_form_helper.rb +12 -19
  1291. data/vendor/plugins/attribute_fu/test/associated_form_helper_test.rb +48 -50
  1292. data/vendor/plugins/awesome_nested_set/MIT-LICENSE +20 -0
  1293. data/vendor/plugins/awesome_nested_set/README.rdoc +79 -0
  1294. data/vendor/plugins/awesome_nested_set/Rakefile +54 -0
  1295. data/vendor/plugins/awesome_nested_set/VERSION +1 -0
  1296. data/vendor/plugins/awesome_nested_set/awesome_nested_set.gemspec +68 -0
  1297. data/vendor/plugins/awesome_nested_set/init.rb +1 -0
  1298. data/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb +592 -0
  1299. data/vendor/plugins/awesome_nested_set/lib/awesome_nested_set/helper.rb +40 -0
  1300. data/vendor/plugins/awesome_nested_set/rails/init.rb +12 -0
  1301. data/vendor/plugins/awesome_nested_set/test/application.rb +1 -0
  1302. data/vendor/plugins/awesome_nested_set/test/awesome_nested_set/helper_test.rb +41 -0
  1303. data/vendor/plugins/awesome_nested_set/test/awesome_nested_set_test.rb +758 -0
  1304. data/vendor/plugins/awesome_nested_set/test/db/database.yml +18 -0
  1305. data/vendor/plugins/awesome_nested_set/test/db/schema.rb +30 -0
  1306. data/vendor/plugins/awesome_nested_set/test/fixtures/categories.yml +34 -0
  1307. data/vendor/plugins/awesome_nested_set/test/fixtures/category.rb +15 -0
  1308. data/vendor/plugins/awesome_nested_set/test/fixtures/departments.yml +3 -0
  1309. data/vendor/plugins/awesome_nested_set/test/fixtures/notes.yml +38 -0
  1310. data/vendor/plugins/awesome_nested_set/test/test_helper.rb +29 -0
  1311. data/vendor/plugins/has_calculator/lib/has_calculator.rb +2 -2
  1312. data/vendor/plugins/jrails/CHANGELOG +43 -0
  1313. data/vendor/plugins/jrails/LICENSE +18 -0
  1314. data/vendor/plugins/jrails/README.rdoc +21 -0
  1315. data/vendor/plugins/jrails/Rakefile +18 -0
  1316. data/vendor/plugins/jrails/VERSION.yml +4 -0
  1317. data/vendor/plugins/jrails/bin/jrails +30 -0
  1318. data/vendor/plugins/jrails/init.rb +1 -0
  1319. data/vendor/plugins/jrails/install.rb +9 -0
  1320. data/vendor/plugins/jrails/javascripts/jquery-ui.js +188 -0
  1321. data/vendor/plugins/jrails/javascripts/jquery.js +19 -0
  1322. data/vendor/plugins/jrails/javascripts/jrails.js +1 -0
  1323. data/vendor/plugins/jrails/javascripts/sources/jrails.js +197 -0
  1324. data/vendor/plugins/jrails/jrails.gemspec +50 -0
  1325. data/vendor/plugins/jrails/lib/jrails.rb +421 -0
  1326. data/vendor/plugins/jrails/rails/init.rb +15 -0
  1327. data/vendor/plugins/jrails/tasks/jrails.rake +25 -0
  1328. data/vendor/plugins/{acts_as_adjacency_list → jrails_auto_complete}/MIT-LICENSE +0 -0
  1329. data/vendor/plugins/jrails_auto_complete/README +23 -0
  1330. data/vendor/plugins/jrails_auto_complete/Rakefile +22 -0
  1331. data/vendor/plugins/jrails_auto_complete/init.rb +2 -0
  1332. data/vendor/plugins/jrails_auto_complete/install.rb +8 -0
  1333. data/vendor/plugins/jrails_auto_complete/javascripts/jquery.suggest.js +276 -0
  1334. data/vendor/plugins/jrails_auto_complete/javascripts/jrails.autocomplete.js +274 -0
  1335. data/vendor/plugins/jrails_auto_complete/lib/form_helpers.rb +22 -0
  1336. data/vendor/plugins/jrails_auto_complete/lib/jrails_auto_complete.rb +20 -0
  1337. data/vendor/plugins/jrails_auto_complete/lib/jrails_auto_complete_macro_helper.rb +103 -0
  1338. data/vendor/plugins/jrails_auto_complete/tasks/jrails_auto_complete_tasks.rake +4 -0
  1339. data/vendor/plugins/jrails_auto_complete/test/jrails_auto_complete_test.rb +8 -0
  1340. data/vendor/plugins/jrails_auto_complete/uninstall.rb +7 -0
  1341. data/vendor/plugins/open_id_authentication/CHANGELOG +35 -0
  1342. data/vendor/plugins/open_id_authentication/README +231 -0
  1343. data/vendor/plugins/open_id_authentication/Rakefile +22 -0
  1344. data/vendor/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb +11 -0
  1345. data/vendor/plugins/open_id_authentication/generators/open_id_authentication_tables/templates/migration.rb +20 -0
  1346. data/vendor/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/templates/migration.rb +26 -0
  1347. data/vendor/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb +11 -0
  1348. data/vendor/plugins/open_id_authentication/init.rb +18 -0
  1349. data/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb +240 -0
  1350. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/association.rb +9 -0
  1351. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/db_store.rb +55 -0
  1352. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb +5 -0
  1353. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/request.rb +23 -0
  1354. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb +20 -0
  1355. data/vendor/plugins/open_id_authentication/tasks/open_id_authentication_tasks.rake +30 -0
  1356. data/vendor/plugins/open_id_authentication/test/normalize_test.rb +32 -0
  1357. data/vendor/plugins/open_id_authentication/test/open_id_authentication_test.rb +46 -0
  1358. data/vendor/plugins/open_id_authentication/test/status_test.rb +14 -0
  1359. data/vendor/plugins/open_id_authentication/test/test_helper.rb +17 -0
  1360. data/vendor/plugins/resource_controller/lib/resource_controller/actions.rb +4 -4
  1361. data/vendor/plugins/resource_controller/lib/resource_controller/controller.rb +17 -17
  1362. data/vendor/plugins/resource_controller/lib/resource_controller/helpers/current_objects.rb +1 -1
  1363. data/vendor/plugins/stump/License.txt +20 -0
  1364. data/vendor/plugins/stump/README.rdoc +118 -0
  1365. data/vendor/plugins/stump/init.rb +6 -0
  1366. data/vendor/plugins/stump/lib/stump.rb +11 -0
  1367. data/vendor/plugins/stump/lib/stump/core_ext/test_case.rb +21 -0
  1368. data/vendor/plugins/stump/lib/stump/metaid.rb +17 -0
  1369. data/vendor/plugins/stump/lib/stump/mock.rb +51 -0
  1370. data/vendor/plugins/stump/lib/stump/mocks.rb +23 -0
  1371. data/vendor/plugins/stump/lib/stump/proxy.rb +103 -0
  1372. data/vendor/plugins/stump/lib/stump/stub.rb +34 -0
  1373. data/vendor/plugins/stump/lib/stump/version.rb +9 -0
  1374. data/vendor/plugins/unobtrusive_date_picker/MIT-LICENSE +19 -0
  1375. data/vendor/plugins/unobtrusive_date_picker/README.rdoc +165 -0
  1376. data/vendor/plugins/unobtrusive_date_picker/Rakefile +18 -0
  1377. data/vendor/plugins/unobtrusive_date_picker/about.yml +7 -0
  1378. data/vendor/plugins/unobtrusive_date_picker/init.rb +8 -0
  1379. data/vendor/plugins/unobtrusive_date_picker/install.rb +14 -0
  1380. data/vendor/plugins/unobtrusive_date_picker/lib/12_hour_time.rb +102 -0
  1381. data/vendor/plugins/unobtrusive_date_picker/lib/unobtrusive_date_picker.rb +409 -0
  1382. data/vendor/plugins/unobtrusive_date_picker/public/images/backstripes.gif +0 -0
  1383. data/vendor/plugins/unobtrusive_date_picker/public/images/bg_header.jpg +0 -0
  1384. data/vendor/plugins/unobtrusive_date_picker/public/images/bullet1.gif +0 -0
  1385. data/vendor/plugins/unobtrusive_date_picker/public/images/bullet2.gif +0 -0
  1386. data/vendor/plugins/unobtrusive_date_picker/public/images/cal.gif +0 -0
  1387. data/vendor/plugins/unobtrusive_date_picker/public/images/gradient-e5e5e5-ffffff.gif +0 -0
  1388. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/datepicker.js +1445 -0
  1389. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/af.js +40 -0
  1390. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/ar.js +50 -0
  1391. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/de.js +40 -0
  1392. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/du.js +40 -0
  1393. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/en.js +42 -0
  1394. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/es.js +41 -0
  1395. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/fi.js +40 -0
  1396. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/fr.js +44 -0
  1397. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/gr.js +40 -0
  1398. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/he.js +49 -0
  1399. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/it.js +13 -0
  1400. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/nl.js +40 -0
  1401. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/no.js +40 -0
  1402. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/pt.js +50 -0
  1403. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/ro.js +40 -0
  1404. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/ru.js +40 -0
  1405. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/sp.js +40 -0
  1406. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/sv.js +41 -0
  1407. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/ua.js +40 -0
  1408. data/vendor/plugins/unobtrusive_date_picker/public/stylesheets/datepicker.css +263 -0
  1409. data/vendor/plugins/unobtrusive_date_picker/spec/date_picker_tag_spec.rb +122 -0
  1410. data/vendor/plugins/unobtrusive_date_picker/spec/date_picker_text_field_spec.rb +54 -0
  1411. data/vendor/plugins/unobtrusive_date_picker/spec/datepicker_html_class_options_spec.rb +281 -0
  1412. data/vendor/plugins/unobtrusive_date_picker/spec/spec.opts +12 -0
  1413. data/vendor/plugins/unobtrusive_date_picker/spec/spec_helper.rb +52 -0
  1414. data/vendor/plugins/unobtrusive_date_picker/spec/tag_matcher.rb +142 -0
  1415. data/vendor/plugins/unobtrusive_date_picker/spec/unobtrusive_date_picker_spec.rb +129 -0
  1416. data/vendor/plugins/unobtrusive_date_picker/tasks/datepicker_tasks.rake +17 -0
  1417. data/vendor/plugins/unobtrusive_date_picker/uninstall.rb +12 -0
  1418. metadata +1441 -633
  1419. data/app/controllers/admin/creditcard_payments_controller.rb +0 -49
  1420. data/app/controllers/application.rb +0 -94
  1421. data/app/helpers/admin/calculators_helper.rb +0 -2
  1422. data/app/helpers/admin/configurations_helper.rb +0 -2
  1423. data/app/helpers/admin/extensions_helper.rb +0 -2
  1424. data/app/helpers/admin/mail_settings_helper.rb +0 -2
  1425. data/app/helpers/admin/option_values_helper.rb +0 -2
  1426. data/app/helpers/admin/shipping_categories_helper.rb +0 -2
  1427. data/app/helpers/admin/shipping_methods_helper.rb +0 -2
  1428. data/app/helpers/admin/tax_rates_helper.rb +0 -2
  1429. data/app/helpers/admin/taxonomies_helper.rb +0 -3
  1430. data/app/helpers/admin/variants_helper.rb +0 -2
  1431. data/app/models/creditcard_payment.rb +0 -26
  1432. data/app/models/order_observer.rb +0 -15
  1433. data/app/views/admin/configurations/index.html.erb +0 -62
  1434. data/app/views/admin/coupons/edit.html.erb +0 -8
  1435. data/app/views/admin/coupons/index.html.erb +0 -38
  1436. data/app/views/admin/coupons/new.html.erb +0 -9
  1437. data/app/views/admin/creditcard_payments/edit.html.erb +0 -38
  1438. data/app/views/admin/creditcard_payments/new.html.erb +0 -15
  1439. data/app/views/admin/images/_form.html.erb +0 -12
  1440. data/app/views/admin/option_types/_form.html.erb +0 -33
  1441. data/app/views/admin/option_types/index.html.erb +0 -39
  1442. data/app/views/admin/option_types/selected.html.erb +0 -38
  1443. data/app/views/admin/orders/index.html.erb +0 -80
  1444. data/app/views/admin/orders/show.html.erb +0 -70
  1445. data/app/views/admin/overview/index.html.erb +0 -3
  1446. data/app/views/admin/payments/index.html.erb +0 -30
  1447. data/app/views/admin/product_properties/_product_property.html.erb +0 -25
  1448. data/app/views/admin/product_properties/index.html.erb +0 -44
  1449. data/app/views/admin/products/_form.html.erb +0 -92
  1450. data/app/views/admin/products/_option_types.html.erb +0 -42
  1451. data/app/views/admin/products/index.html.erb +0 -74
  1452. data/app/views/admin/products/new.html.erb +0 -53
  1453. data/app/views/admin/properties/index.html.erb +0 -45
  1454. data/app/views/admin/prototypes/available.html.erb +0 -27
  1455. data/app/views/admin/prototypes/index.html.erb +0 -42
  1456. data/app/views/admin/prototypes/new.html.erb +0 -11
  1457. data/app/views/admin/prototypes/select.rjs +0 -7
  1458. data/app/views/admin/reports/index.html.erb +0 -23
  1459. data/app/views/admin/shared/_additional_field.html.erb +0 -5
  1460. data/app/views/admin/shared/_address.html.erb +0 -15
  1461. data/app/views/admin/shared/_calculator_fields.html.erb +0 -15
  1462. data/app/views/admin/shared/_configuration_menu.html.erb +0 -18
  1463. data/app/views/admin/shared/_form_address.html.erb +0 -56
  1464. data/app/views/admin/shared/_order_tabs.html.erb +0 -27
  1465. data/app/views/admin/shared/_product_sub_menu.html.erb +0 -8
  1466. data/app/views/admin/shared/_product_tabs.html.erb +0 -48
  1467. data/app/views/admin/shared/_report_criteria.html.erb +0 -19
  1468. data/app/views/admin/shipments/_details.html.erb +0 -19
  1469. data/app/views/admin/shipments/_form.html.erb +0 -31
  1470. data/app/views/admin/shipments/edit.html.erb +0 -12
  1471. data/app/views/admin/shipments/index.html.erb +0 -22
  1472. data/app/views/admin/shipments/new.html.erb +0 -14
  1473. data/app/views/admin/shipping_categories/edit.html.erb +0 -8
  1474. data/app/views/admin/shipping_categories/index.html.erb +0 -27
  1475. data/app/views/admin/shipping_categories/new.html.erb +0 -10
  1476. data/app/views/admin/shipping_methods/_form.html.erb +0 -12
  1477. data/app/views/admin/shipping_methods/edit.html.erb +0 -8
  1478. data/app/views/admin/shipping_methods/index.html.erb +0 -34
  1479. data/app/views/admin/shipping_methods/new.html.erb +0 -10
  1480. data/app/views/admin/shipping_rates/edit.html.erb +0 -8
  1481. data/app/views/admin/shipping_rates/index.html.erb +0 -30
  1482. data/app/views/admin/shipping_rates/new.html.erb +0 -10
  1483. data/app/views/admin/states/edit.html.erb +0 -12
  1484. data/app/views/admin/states/index.html.erb +0 -25
  1485. data/app/views/admin/states/new.html.erb +0 -12
  1486. data/app/views/admin/tax_categories/edit.html.erb +0 -12
  1487. data/app/views/admin/tax_categories/index.html.erb +0 -37
  1488. data/app/views/admin/tax_categories/new.html.erb +0 -12
  1489. data/app/views/admin/tax_rates/edit.html.erb +0 -8
  1490. data/app/views/admin/tax_rates/index.html.erb +0 -32
  1491. data/app/views/admin/tax_rates/new.html.erb +0 -10
  1492. data/app/views/admin/taxonomies/_form.html.erb +0 -5
  1493. data/app/views/admin/taxonomies/_js_head.html.erb +0 -13
  1494. data/app/views/admin/taxonomies/edit.html.erb +0 -30
  1495. data/app/views/admin/taxons/_taxon_table.html.erb +0 -28
  1496. data/app/views/admin/taxons/available.js.erb +0 -36
  1497. data/app/views/admin/taxons/selected.html.erb +0 -25
  1498. data/app/views/admin/users/_form.html.erb +0 -35
  1499. data/app/views/admin/users/edit.html.erb +0 -9
  1500. data/app/views/admin/users/index.html.erb +0 -48
  1501. data/app/views/admin/users/new.html.erb +0 -11
  1502. data/app/views/admin/variants/_form.html.erb +0 -40
  1503. data/app/views/admin/variants/edit.html.erb +0 -10
  1504. data/app/views/admin/variants/index.html.erb +0 -56
  1505. data/app/views/admin/variants/new.html.erb +0 -8
  1506. data/app/views/admin/zones/_country_member.html.erb +0 -5
  1507. data/app/views/admin/zones/_form.html.erb +0 -29
  1508. data/app/views/admin/zones/_state_member.html.erb +0 -5
  1509. data/app/views/admin/zones/_zone_member.html.erb +0 -5
  1510. data/app/views/admin/zones/edit.html.erb +0 -12
  1511. data/app/views/admin/zones/index.html.erb +0 -40
  1512. data/app/views/admin/zones/new.html.erb +0 -12
  1513. data/app/views/checkouts/_billing.html.erb +0 -66
  1514. data/app/views/checkouts/_confirmation.html.erb +0 -11
  1515. data/app/views/checkouts/_form.html.erb +0 -20
  1516. data/app/views/checkouts/_payment.html.erb +0 -45
  1517. data/app/views/checkouts/_registration.html.erb +0 -60
  1518. data/app/views/checkouts/_shipping.html.erb +0 -68
  1519. data/app/views/checkouts/_shipping_method.html.erb +0 -19
  1520. data/app/views/checkouts/_summary.html.erb +0 -36
  1521. data/app/views/checkouts/edit.html.erb +0 -13
  1522. data/app/views/checkouts/new.html.erb +0 -13
  1523. data/app/views/layouts/admin.html.erb +0 -91
  1524. data/app/views/layouts/application.html.erb +0 -47
  1525. data/app/views/layouts/checkouts.html.erb +0 -17
  1526. data/app/views/line_items/index.html.erb +0 -1
  1527. data/app/views/orders/_form.html.erb +0 -19
  1528. data/app/views/orders/_google_order.html.erb +0 -24
  1529. data/app/views/orders/_line_item.html.erb +0 -23
  1530. data/app/views/orders/edit.html.erb +0 -22
  1531. data/app/views/orders/show.html.erb +0 -19
  1532. data/app/views/password_resets/edit.html.erb +0 -12
  1533. data/app/views/password_resets/new.html.erb +0 -11
  1534. data/app/views/products/_cart_form.html.erb +0 -77
  1535. data/app/views/products/_products.html.erb +0 -14
  1536. data/app/views/products/_properties.html.erb +0 -8
  1537. data/app/views/products/_thumbnails.html.erb +0 -58
  1538. data/app/views/products/index.html.erb +0 -11
  1539. data/app/views/products/show.html.erb +0 -24
  1540. data/app/views/shared/_additional_field.html.erb +0 -7
  1541. data/app/views/shared/_filters.html.erb +0 -52
  1542. data/app/views/shared/_footer.html.erb +0 -21
  1543. data/app/views/shared/_head.html.erb +0 -6
  1544. data/app/views/shared/_login.html.erb +0 -18
  1545. data/app/views/shared/_order_details.html.erb +0 -46
  1546. data/app/views/shared/_order_tabs.html.erb +0 -32
  1547. data/app/views/shared/_product_sub_menu.html.erb +0 -10
  1548. data/app/views/shared/_product_tabs.html.erb +0 -39
  1549. data/app/views/shared/_products.html.erb +0 -22
  1550. data/app/views/shared/_report_criteria.html.erb +0 -33
  1551. data/app/views/shared/_taxonomies.html.erb +0 -10
  1552. data/app/views/taxons/show.html.erb +0 -12
  1553. data/app/views/user_sessions/new.html.erb +0 -6
  1554. data/app/views/users/_form.html.erb +0 -16
  1555. data/app/views/users/edit.html.erb +0 -9
  1556. data/app/views/users/new.html.erb +0 -12
  1557. data/app/views/users/show.html.erb +0 -39
  1558. data/config/environments/demo.rb +0 -22
  1559. data/config/initializers/compass.rb +0 -8
  1560. data/db/migrate/001_create_addresses.rb +0 -20
  1561. data/db/migrate/002_create_cart_items.rb +0 -13
  1562. data/db/migrate/003_create_carts.rb +0 -12
  1563. data/db/migrate/004_create_categories.rb +0 -15
  1564. data/db/migrate/005_create_categories_products.rb +0 -12
  1565. data/db/migrate/006_create_line_items.rb +0 -15
  1566. data/db/migrate/007_create_option_values.rb +0 -15
  1567. data/db/migrate/008_create_orders.rb +0 -23
  1568. data/db/migrate/009_create_products.rb +0 -16
  1569. data/db/migrate/010_create_txns.rb +0 -18
  1570. data/db/migrate/011_create_variants.rb +0 -13
  1571. data/db/migrate/012_create_tax_treatments.rb +0 -24
  1572. data/db/migrate/013_create_countries.rb +0 -11
  1573. data/db/migrate/014_create_states.rb +0 -13
  1574. data/db/migrate/015_create_option_types.rb +0 -13
  1575. data/db/migrate/016_create_product_option_types.rb +0 -14
  1576. data/db/migrate/017_create_option_values_variants.rb +0 -12
  1577. data/db/migrate/018_create_images.rb +0 -20
  1578. data/db/migrate/019_create_credit_cards.rb +0 -20
  1579. data/db/migrate/020_create_order_operations.rb +0 -14
  1580. data/db/migrate/021_create_inventory_units.rb +0 -15
  1581. data/db/migrate/022_create_users.rb +0 -17
  1582. data/db/migrate/023_create_roles.rb +0 -20
  1583. data/db/migrate/024_create_extension_meta.rb +0 -13
  1584. data/db/migrate/025_drop_tax_treatments.rb +0 -11
  1585. data/db/migrate/026_add_user_to_address.rb +0 -9
  1586. data/db/migrate/20080620100001_create_tax_rates.rb +0 -13
  1587. data/db/migrate/20080620113300_create_taxonomies.rb +0 -13
  1588. data/db/migrate/20080620113400_create_taxons.rb +0 -16
  1589. data/db/migrate/20080622173128_drop_extension_meta.rb +0 -13
  1590. data/db/migrate/20080622194800_create_prototypes.rb +0 -13
  1591. data/db/migrate/20080622194830_create_properties.rb +0 -13
  1592. data/db/migrate/20080622195000_create_properties_prototypes.rb +0 -12
  1593. data/db/migrate/20080622195100_create_property_values.rb +0 -14
  1594. data/db/migrate/20080630003326_create_zones.rb +0 -13
  1595. data/db/migrate/20080630150630_create_preferences.rb +0 -19
  1596. data/db/migrate/20080630152702_add_iso_country_information.rb +0 -19
  1597. data/db/migrate/20080630154400_create_countries_zones.rb +0 -12
  1598. data/db/migrate/20080630215310_create_zone_members.rb +0 -13
  1599. data/db/migrate/20080703184654_update_country_rename_name.rb +0 -15
  1600. data/db/migrate/20080704181428_create_app_configurations.rb +0 -12
  1601. data/db/migrate/20080704190355_add_permalink_and_published_to_products.rb +0 -15
  1602. data/db/migrate/20080704192456_update_tax_rates_add_zones_etc.rb +0 -17
  1603. data/db/migrate/20080707002329_create_tax_categories.rb +0 -21
  1604. data/db/migrate/20080708170103_remove_login.rb +0 -9
  1605. data/db/migrate/20080715014028_add_optimistic_locking_to_cart.rb +0 -13
  1606. data/db/migrate/20080716155613_products_taxons.rb +0 -12
  1607. data/db/migrate/20080720190623_rename_txn_table.rb +0 -9
  1608. data/db/migrate/20080729213052_drop_categories.rb +0 -8
  1609. data/db/migrate/20080803010846_remove_prototype_presentation.rb +0 -13
  1610. data/db/migrate/20080807214829_create_product_property.rb +0 -15
  1611. data/db/migrate/20080815173251_remove_cart.rb +0 -10
  1612. data/db/migrate/20080830173354_add_checkout_state_to_order.rb +0 -13
  1613. data/db/migrate/20080901002711_address_refactor.rb +0 -14
  1614. data/db/migrate/20080902001408_create_creditcard_payments.rb +0 -17
  1615. data/db/migrate/20080904150723_refactor_order_state.rb +0 -33
  1616. data/db/migrate/20080904234457_create_state_events.rb +0 -15
  1617. data/db/migrate/20080905012833_add_inventory_state.rb +0 -13
  1618. data/db/migrate/20080906174748_change_inventory_state_type.rb +0 -8
  1619. data/db/migrate/20080909100504_add_state_name_to_address.rb +0 -9
  1620. data/db/migrate/20080915211650_remove_user_address.rb +0 -10
  1621. data/db/migrate/20080918083321_remove_presentation_from_taxonomy.rb +0 -11
  1622. data/db/migrate/20080918140438_rename_app_configuration.rb +0 -16
  1623. data/db/migrate/20081003211336_create_shipping_methods.rb +0 -14
  1624. data/db/migrate/20081003233427_create_shipping_categories.rb +0 -15
  1625. data/db/migrate/20081015001711_create_shipments.rb +0 -14
  1626. data/db/migrate/20081016002224_remove_defunct_order_fields.rb +0 -10
  1627. data/db/migrate/20081016162924_drop_category_id_from_products.rb +0 -9
  1628. data/db/migrate/20081018125019_refactor_images_for_paperclip.rb +0 -40
  1629. data/db/migrate/20081023134446_add_product_dimensions.rb +0 -19
  1630. data/db/migrate/20081120184215_add_permalink_to_taxons.rb +0 -24
  1631. data/db/migrate/20081121192045_additional_paperclip_refactor.rb +0 -37
  1632. data/db/migrate/20081205155619_add_shipped_at_property.rb +0 -17
  1633. data/db/migrate/20081208143817_create_creditcards.rb +0 -20
  1634. data/db/migrate/20081208150007_create_payments_table.rb +0 -42
  1635. data/db/migrate/20081209103127_add_deleted_at_to_products.rb +0 -11
  1636. data/db/migrate/20081212015915_convert_credticard_number_to_text.rb +0 -11
  1637. data/db/migrate/20081219091142_create_indexes.rb +0 -23
  1638. data/db/migrate/20081221201510_create_shipping_addresses.rb +0 -16
  1639. data/db/migrate/20090105152846_add_previous_state_to_events.rb +0 -13
  1640. data/db/migrate/20090204200045_add_order_permalink.rb +0 -13
  1641. data/db/migrate/20090225231119_add_more_needed_keys_items_and_conf.rb +0 -19
  1642. data/db/migrate/20090302221152_give_all_users_user_role.rb +0 -14
  1643. data/db/migrate/20090320113300_authlogic_changes.rb +0 -24
  1644. data/db/migrate/20090324164010_create_option_types_prototypes.rb +0 -12
  1645. data/db/migrate/20090401120636_meta_data_fields_for_products.rb +0 -11
  1646. data/db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb +0 -12
  1647. data/db/migrate/20090401223217_create_eu_vat_zone_again.rb +0 -24
  1648. data/db/migrate/20090402002244_add_user_login.rb +0 -17
  1649. data/db/migrate/20090402161055_add_order_token.rb +0 -13
  1650. data/db/migrate/20090402200317_add_email_to_order.rb +0 -19
  1651. data/db/migrate/20090404192723_add_maestro_fields.rb +0 -12
  1652. data/db/migrate/20090406091357_add_alternative_phone.rb +0 -9
  1653. data/db/migrate/20090406174645_refactor_addresses.rb +0 -53
  1654. data/db/migrate/20090420021303_remove_viewable_id_from_products.rb +0 -10
  1655. data/db/migrate/20090427000000_upgrade_taxons.rb +0 -14
  1656. data/db/migrate/20090525000325_remove_address_orphans.rb +0 -15
  1657. data/db/migrate/20090603153927_create_checkouts.rb +0 -71
  1658. data/db/migrate/20090617181106_change_txn_type_to_int.rb +0 -18
  1659. data/db/migrate/20090618203233_create_charges.rb +0 -61
  1660. data/db/migrate/20090626235303_create_credits.rb +0 -22
  1661. data/db/migrate/20090705101511_add_image_dimensions.rb +0 -12
  1662. data/db/migrate/20090708175306_create_coupons.rb +0 -16
  1663. data/db/migrate/20090708175317_create_discounts.rb +0 -14
  1664. data/db/migrate/20090714094201_add_default_addresses_to_user.rb +0 -11
  1665. data/db/migrate/20090715172345_create_calculators.rb +0 -22
  1666. data/db/migrate/20090731085008_add_charge_source_to_charge.rb +0 -11
  1667. data/db/migrate/20090803072025_create_shipping_rates.rb +0 -12
  1668. data/db/migrate/20090804090559_create_calculators_for_tax_rates.rb +0 -16
  1669. data/db/migrate/20090805131937_drop_credits_and_discounts.rb +0 -9
  1670. data/db/migrate/20090805185015_remove_tax_type.rb +0 -13
  1671. data/db/migrate/20090806063212_rename_charges_to_adjustments.rb +0 -24
  1672. data/db/migrate/20090806160214_rename_base_to_source.rb +0 -11
  1673. data/db/migrate/20090809170304_remove_checkout_shipping_address_and_method.rb +0 -15
  1674. data/db/migrate/20090809193131_add_is_master_to_variants.rb +0 -43
  1675. data/db/migrate/20090809201209_drop_master_price_from_products.rb +0 -13
  1676. data/db/migrate/20090809231957_update_legacy_calculators.rb +0 -9
  1677. data/db/migrate/20090823005402_coupon_starts_at.rb +0 -13
  1678. data/db/migrate/20090828114732_add_queued_mail.rb +0 -12
  1679. data/db/migrate/20090908141056_adjust_percent_calc_settings.rb +0 -9
  1680. data/db/migrate/migrate/20080620100001_create_tax_rates.rb +0 -13
  1681. data/db/migrate/migrate/20080704192456_update_tax_rates_add_zones_etc.rb +0 -17
  1682. data/db/sample/creditcard_txns.yml +0 -7
  1683. data/db/sample/creditcards.yml +0 -10
  1684. data/db/sample/inventory_units.yml +0 -93
  1685. data/db/sample/payments.yml +0 -7
  1686. data/lib/product_scopes.rb +0 -76
  1687. data/lib/spree/setup.rb +0 -148
  1688. data/public/javascripts/application.js +0 -36
  1689. data/public/javascripts/calendar_date_select/calendar_date_select.js +0 -439
  1690. data/public/javascripts/calendar_date_select/format_american.js +0 -34
  1691. data/public/javascripts/calendar_date_select/format_db.js +0 -27
  1692. data/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
  1693. data/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
  1694. data/public/javascripts/calendar_date_select/format_finnish.js +0 -24
  1695. data/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -36
  1696. data/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
  1697. data/public/javascripts/calendar_date_select/format_italian.js +0 -24
  1698. data/public/javascripts/calendar_date_select/locale/de.js +0 -11
  1699. data/public/javascripts/calendar_date_select/locale/fi.js +0 -10
  1700. data/public/javascripts/calendar_date_select/locale/fr.js +0 -10
  1701. data/public/javascripts/calendar_date_select/locale/pl.js +0 -10
  1702. data/public/javascripts/calendar_date_select/locale/pt.js +0 -11
  1703. data/public/javascripts/calendar_date_select/locale/ru.js +0 -10
  1704. data/public/javascripts/controls.js +0 -963
  1705. data/public/javascripts/dragdrop.js +0 -972
  1706. data/public/javascripts/effects.js +0 -1120
  1707. data/public/javascripts/jsTree/source/_lib.js +0 -126
  1708. data/public/javascripts/jsTree/source/themes/default/context.gif +0 -0
  1709. data/public/javascripts/jsTree/source/themes/default/create.png +0 -0
  1710. data/public/javascripts/jsTree/source/themes/default/f.png +0 -0
  1711. data/public/javascripts/jsTree/source/themes/default/fminus.gif +0 -0
  1712. data/public/javascripts/jsTree/source/themes/default/fminus_rtl.gif +0 -0
  1713. data/public/javascripts/jsTree/source/themes/default/fplus.gif +0 -0
  1714. data/public/javascripts/jsTree/source/themes/default/fplus_rtl.gif +0 -0
  1715. data/public/javascripts/jsTree/source/themes/default/lastli.gif +0 -0
  1716. data/public/javascripts/jsTree/source/themes/default/lastli_rtl.gif +0 -0
  1717. data/public/javascripts/jsTree/source/themes/default/li.gif +0 -0
  1718. data/public/javascripts/jsTree/source/themes/default/remove.png +0 -0
  1719. data/public/javascripts/jsTree/source/themes/default/rename.png +0 -0
  1720. data/public/javascripts/jsTree/source/themes/default/style.css +0 -44
  1721. data/public/javascripts/jsTree/source/themes/marker.gif +0 -0
  1722. data/public/javascripts/jsTree/source/themes/marker_rtl.gif +0 -0
  1723. data/public/javascripts/jsTree/source/themes/plus.gif +0 -0
  1724. data/public/javascripts/jsTree/source/themes/remove.png +0 -0
  1725. data/public/javascripts/jsTree/source/themes/spree/context.gif +0 -0
  1726. data/public/javascripts/jsTree/source/themes/spree/create.png +0 -0
  1727. data/public/javascripts/jsTree/source/themes/spree/f.png +0 -0
  1728. data/public/javascripts/jsTree/source/themes/spree/fminus.gif +0 -0
  1729. data/public/javascripts/jsTree/source/themes/spree/fminus_rtl.gif +0 -0
  1730. data/public/javascripts/jsTree/source/themes/spree/fplus.gif +0 -0
  1731. data/public/javascripts/jsTree/source/themes/spree/fplus_rtl.gif +0 -0
  1732. data/public/javascripts/jsTree/source/themes/spree/lastli.gif +0 -0
  1733. data/public/javascripts/jsTree/source/themes/spree/li.gif +0 -0
  1734. data/public/javascripts/jsTree/source/themes/spree/remove.png +0 -0
  1735. data/public/javascripts/jsTree/source/themes/spree/rename.png +0 -0
  1736. data/public/javascripts/jsTree/source/themes/spree/style.css +0 -39
  1737. data/public/javascripts/jsTree/source/tree_component.css +0 -62
  1738. data/public/javascripts/jsTree/source/tree_component.js +0 -2315
  1739. data/public/javascripts/jsTree/source/tree_component.min.js +0 -14
  1740. data/public/javascripts/prototype.js +0 -4225
  1741. data/public/stylesheets/application.css +0 -7
  1742. data/public/stylesheets/calendar_date_select/blue.css +0 -130
  1743. data/public/stylesheets/calendar_date_select/default.css +0 -135
  1744. data/public/stylesheets/calendar_date_select/plain.css +0 -128
  1745. data/public/stylesheets/calendar_date_select/red.css +0 -135
  1746. data/public/stylesheets/calendar_date_select/silver.css +0 -133
  1747. data/public/stylesheets/sass/_buttons.sass +0 -59
  1748. data/public/stylesheets/sass/_cart.sass +0 -21
  1749. data/public/stylesheets/sass/_checkout.sass +0 -173
  1750. data/public/stylesheets/sass/_colors.sass +0 -11
  1751. data/public/stylesheets/sass/_layout.sass +0 -63
  1752. data/public/stylesheets/sass/_messages.sass +0 -28
  1753. data/public/stylesheets/sass/_mixins.sass +0 -17
  1754. data/public/stylesheets/sass/_navigation.sass +0 -97
  1755. data/public/stylesheets/sass/_prices.sass +0 -13
  1756. data/public/stylesheets/sass/_product_detail.sass +0 -27
  1757. data/public/stylesheets/sass/_product_thumbnail.sass +0 -58
  1758. data/public/stylesheets/sass/_registration.sass +0 -18
  1759. data/public/stylesheets/sass/ie.sass +0 -3
  1760. data/public/stylesheets/sass/print.sass +0 -3
  1761. data/public/stylesheets/sass/screen.sass +0 -22
  1762. data/spec/fixtures/gateway_configurations.yml +0 -3
  1763. data/spec/models/preference_definition_spec.rb +0 -184
  1764. data/spec/preference_factory.rb +0 -58
  1765. data/spec/views/admin/configurations/index.html.erb_spec.rb +0 -37
  1766. data/test/factories/creditcard_payment_factory.rb +0 -11
  1767. data/test/fixtures/gateway_configurations.yml +0 -2
  1768. data/test/fixtures/gateways.yml +0 -4
  1769. data/test/unit/helpers/checkouts_helper_test.rb +0 -26
  1770. data/test/unit/incomplete_checkout_test.rb +0 -68
  1771. data/vendor/extensions/payment_gateway/app/controllers/admin/gateway_configurations_controller.rb +0 -26
  1772. data/vendor/extensions/payment_gateway/app/controllers/admin/gateway_option_values_controller.rb +0 -24
  1773. data/vendor/extensions/payment_gateway/app/controllers/admin/gateways_controller.rb +0 -9
  1774. data/vendor/extensions/payment_gateway/app/models/gateway_configuration.rb +0 -4
  1775. data/vendor/extensions/payment_gateway/app/models/gateway_option.rb +0 -4
  1776. data/vendor/extensions/payment_gateway/app/models/gateway_option_value.rb +0 -4
  1777. data/vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb +0 -21
  1778. data/vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/edit.html.erb +0 -10
  1779. data/vendor/extensions/payment_gateway/app/views/admin/gateway_option_values/_options.html.erb +0 -28
  1780. data/vendor/extensions/payment_gateway/db/migrate/20080620120002_create_gateway_configurations.rb +0 -12
  1781. data/vendor/extensions/payment_gateway/db/migrate/20080620120003_create_gateways.rb +0 -15
  1782. data/vendor/extensions/payment_gateway/db/migrate/20080620120004_create_gateway_options.rb +0 -15
  1783. data/vendor/extensions/payment_gateway/db/migrate/20080620120005_create_gateway_option_values.rb +0 -14
  1784. data/vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb +0 -14
  1785. data/vendor/extensions/payment_gateway/db/migrate/20080620120007_create_linkpoint_gateway.rb +0 -18
  1786. data/vendor/extensions/payment_gateway/db/migrate/20080703120008_create_paypal_gateway.rb +0 -19
  1787. data/vendor/extensions/payment_gateway/db/migrate/20081119210419_create_authorizenet_gateway.rb +0 -18
  1788. data/vendor/extensions/payment_gateway/db/migrate/20081120144549_remove_authorizenet_test.rb +0 -10
  1789. data/vendor/extensions/payment_gateway/db/migrate/20090218091936_create_protx_gateway.rb +0 -18
  1790. data/vendor/extensions/payment_gateway/db/migrate/20090517173727_add_currency_code_option_to_paypal_gateway.rb +0 -13
  1791. data/vendor/extensions/payment_gateway/lib/gateway_config.rb +0 -7
  1792. data/vendor/extensions/payment_gateway/lib/spree/bogus_gateway.rb +0 -68
  1793. data/vendor/extensions/payment_gateway/lib/spree/gateway/config.rb +0 -22
  1794. data/vendor/extensions/payment_gateway/spec/models/gateway_configuration_spec.rb +0 -11
  1795. data/vendor/extensions/payment_gateway/spec/models/gateway_option_spec.rb +0 -11
  1796. data/vendor/extensions/payment_gateway/spec/models/gateway_option_value_spec.rb +0 -11
  1797. data/vendor/plugins/acts_as_adjacency_list/README +0 -13
  1798. data/vendor/plugins/acts_as_adjacency_list/Rakefile +0 -22
  1799. data/vendor/plugins/acts_as_adjacency_list/init.rb +0 -9
  1800. data/vendor/plugins/acts_as_adjacency_list/install.rb +0 -1
  1801. data/vendor/plugins/acts_as_adjacency_list/lib/active_record/acts/adjacency_list.rb +0 -230
  1802. data/vendor/plugins/acts_as_adjacency_list/tasks/acts_as_adjacency_list_tasks.rake +0 -4
  1803. data/vendor/plugins/acts_as_adjacency_list/test/acts_as_adjacency_list_test.rb +0 -293
  1804. data/vendor/plugins/acts_as_adjacency_list/uninstall.rb +0 -1
  1805. data/vendor/plugins/paperclip/LICENSE +0 -26
  1806. data/vendor/plugins/paperclip/README.rdoc +0 -174
  1807. data/vendor/plugins/paperclip/Rakefile +0 -99
  1808. data/vendor/plugins/paperclip/generators/paperclip/USAGE +0 -5
  1809. data/vendor/plugins/paperclip/generators/paperclip/paperclip_generator.rb +0 -27
  1810. data/vendor/plugins/paperclip/generators/paperclip/templates/paperclip_migration.rb.erb +0 -19
  1811. data/vendor/plugins/paperclip/init.rb +0 -1
  1812. data/vendor/plugins/paperclip/lib/paperclip.rb +0 -350
  1813. data/vendor/plugins/paperclip/lib/paperclip/attachment.rb +0 -413
  1814. data/vendor/plugins/paperclip/lib/paperclip/callback_compatability.rb +0 -33
  1815. data/vendor/plugins/paperclip/lib/paperclip/geometry.rb +0 -115
  1816. data/vendor/plugins/paperclip/lib/paperclip/interpolations.rb +0 -105
  1817. data/vendor/plugins/paperclip/lib/paperclip/iostream.rb +0 -58
  1818. data/vendor/plugins/paperclip/lib/paperclip/matchers.rb +0 -4
  1819. data/vendor/plugins/paperclip/lib/paperclip/matchers/have_attached_file_matcher.rb +0 -49
  1820. data/vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb +0 -66
  1821. data/vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_presence_matcher.rb +0 -48
  1822. data/vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb +0 -83
  1823. data/vendor/plugins/paperclip/lib/paperclip/processor.rb +0 -49
  1824. data/vendor/plugins/paperclip/lib/paperclip/storage.rb +0 -236
  1825. data/vendor/plugins/paperclip/lib/paperclip/thumbnail.rb +0 -70
  1826. data/vendor/plugins/paperclip/lib/paperclip/upfile.rb +0 -48
  1827. data/vendor/plugins/paperclip/paperclip.gemspec +0 -37
  1828. data/vendor/plugins/paperclip/shoulda_macros/paperclip.rb +0 -68
  1829. data/vendor/plugins/paperclip/tasks/paperclip_tasks.rake +0 -79
  1830. data/vendor/plugins/paperclip/test/attachment_test.rb +0 -768
  1831. data/vendor/plugins/paperclip/test/database.yml +0 -4
  1832. data/vendor/plugins/paperclip/test/fixtures/12k.png +0 -0
  1833. data/vendor/plugins/paperclip/test/fixtures/50x50.png +0 -0
  1834. data/vendor/plugins/paperclip/test/fixtures/5k.png +0 -0
  1835. data/vendor/plugins/paperclip/test/fixtures/bad.png +0 -1
  1836. data/vendor/plugins/paperclip/test/fixtures/s3.yml +0 -4
  1837. data/vendor/plugins/paperclip/test/fixtures/twopage.pdf +0 -0
  1838. data/vendor/plugins/paperclip/test/geometry_test.rb +0 -177
  1839. data/vendor/plugins/paperclip/test/helper.rb +0 -100
  1840. data/vendor/plugins/paperclip/test/integration_test.rb +0 -481
  1841. data/vendor/plugins/paperclip/test/interpolations_test.rb +0 -120
  1842. data/vendor/plugins/paperclip/test/iostream_test.rb +0 -71
  1843. data/vendor/plugins/paperclip/test/matchers/have_attached_file_matcher_test.rb +0 -21
  1844. data/vendor/plugins/paperclip/test/matchers/validate_attachment_content_type_matcher_test.rb +0 -30
  1845. data/vendor/plugins/paperclip/test/matchers/validate_attachment_presence_matcher_test.rb +0 -21
  1846. data/vendor/plugins/paperclip/test/matchers/validate_attachment_size_matcher_test.rb +0 -50
  1847. data/vendor/plugins/paperclip/test/paperclip_test.rb +0 -291
  1848. data/vendor/plugins/paperclip/test/processor_test.rb +0 -10
  1849. data/vendor/plugins/paperclip/test/storage_test.rb +0 -282
  1850. data/vendor/plugins/paperclip/test/thumbnail_test.rb +0 -177
  1851. data/vendor/plugins/state_machine/CHANGELOG.rdoc +0 -97
  1852. data/vendor/plugins/state_machine/LICENSE +0 -20
  1853. data/vendor/plugins/state_machine/README.rdoc +0 -182
  1854. data/vendor/plugins/state_machine/Rakefile +0 -88
  1855. data/vendor/plugins/state_machine/init.rb +0 -1
  1856. data/vendor/plugins/state_machine/lib/state_machine.rb +0 -129
  1857. data/vendor/plugins/state_machine/lib/state_machine/event.rb +0 -116
  1858. data/vendor/plugins/state_machine/lib/state_machine/machine.rb +0 -412
  1859. data/vendor/plugins/state_machine/lib/state_machine/transition.rb +0 -227
  1860. data/vendor/plugins/state_machine/test/app_root/app/models/auto_shop.rb +0 -34
  1861. data/vendor/plugins/state_machine/test/app_root/app/models/car.rb +0 -19
  1862. data/vendor/plugins/state_machine/test/app_root/app/models/highway.rb +0 -3
  1863. data/vendor/plugins/state_machine/test/app_root/app/models/motorcycle.rb +0 -3
  1864. data/vendor/plugins/state_machine/test/app_root/app/models/switch.rb +0 -23
  1865. data/vendor/plugins/state_machine/test/app_root/app/models/switch_observer.rb +0 -20
  1866. data/vendor/plugins/state_machine/test/app_root/app/models/toggle_switch.rb +0 -2
  1867. data/vendor/plugins/state_machine/test/app_root/app/models/vehicle.rb +0 -78
  1868. data/vendor/plugins/state_machine/test/app_root/config/environment.rb +0 -7
  1869. data/vendor/plugins/state_machine/test/app_root/db/migrate/001_create_switches.rb +0 -12
  1870. data/vendor/plugins/state_machine/test/app_root/db/migrate/002_create_auto_shops.rb +0 -13
  1871. data/vendor/plugins/state_machine/test/app_root/db/migrate/003_create_highways.rb +0 -11
  1872. data/vendor/plugins/state_machine/test/app_root/db/migrate/004_create_vehicles.rb +0 -16
  1873. data/vendor/plugins/state_machine/test/factory.rb +0 -73
  1874. data/vendor/plugins/state_machine/test/functional/state_machine_test.rb +0 -499
  1875. data/vendor/plugins/state_machine/test/test_helper.rb +0 -13
  1876. data/vendor/plugins/state_machine/test/unit/event_test.rb +0 -235
  1877. data/vendor/plugins/state_machine/test/unit/invalid_transition_test.rb +0 -7
  1878. data/vendor/plugins/state_machine/test/unit/machine_test.rb +0 -306
  1879. data/vendor/plugins/state_machine/test/unit/state_machine_test.rb +0 -130
  1880. data/vendor/plugins/state_machine/test/unit/transition_test.rb +0 -633
@@ -0,0 +1,18 @@
1
+ sqlite3:
2
+ adapter: sqlite3
3
+ database: awesome_nested_set.sqlite3.db
4
+ sqlite3mem:
5
+ adapter: sqlite3
6
+ database: ":memory:"
7
+ postgresql:
8
+ adapter: postgresql
9
+ username: postgres
10
+ password: postgres
11
+ database: awesome_nested_set_plugin_test
12
+ min_messages: ERROR
13
+ mysql:
14
+ adapter: mysql
15
+ host: localhost
16
+ username: root
17
+ password:
18
+ database: awesome_nested_set_plugin_test
@@ -0,0 +1,30 @@
1
+ ActiveRecord::Schema.define(:version => 0) do
2
+
3
+ create_table :categories, :force => true do |t|
4
+ t.column :name, :string
5
+ t.column :parent_id, :integer
6
+ t.column :lft, :integer
7
+ t.column :rgt, :integer
8
+ t.column :organization_id, :integer
9
+ end
10
+
11
+ create_table :departments, :force => true do |t|
12
+ t.column :name, :string
13
+ end
14
+
15
+ create_table :notes, :force => true do |t|
16
+ t.column :body, :text
17
+ t.column :parent_id, :integer
18
+ t.column :lft, :integer
19
+ t.column :rgt, :integer
20
+ t.column :notable_id, :integer
21
+ t.column :notable_type, :string
22
+ end
23
+
24
+ create_table :renamed_columns, :force => true do |t|
25
+ t.column :name, :string
26
+ t.column :mother_id, :integer
27
+ t.column :red, :integer
28
+ t.column :black, :integer
29
+ end
30
+ end
@@ -0,0 +1,34 @@
1
+ top_level:
2
+ id: 1
3
+ name: Top Level
4
+ lft: 1
5
+ rgt: 10
6
+ child_1:
7
+ id: 2
8
+ name: Child 1
9
+ parent_id: 1
10
+ lft: 2
11
+ rgt: 3
12
+ child_2:
13
+ id: 3
14
+ name: Child 2
15
+ parent_id: 1
16
+ lft: 4
17
+ rgt: 7
18
+ child_2_1:
19
+ id: 4
20
+ name: Child 2.1
21
+ parent_id: 3
22
+ lft: 5
23
+ rgt: 6
24
+ child_3:
25
+ id: 5
26
+ name: Child 3
27
+ parent_id: 1
28
+ lft: 8
29
+ rgt: 9
30
+ top_level_2:
31
+ id: 6
32
+ name: Top Level 2
33
+ lft: 11
34
+ rgt: 12
@@ -0,0 +1,15 @@
1
+ class Category < ActiveRecord::Base
2
+ acts_as_nested_set
3
+
4
+ def to_s
5
+ name
6
+ end
7
+
8
+ def recurse &block
9
+ block.call self, lambda{
10
+ self.children.each do |child|
11
+ child.recurse &block
12
+ end
13
+ }
14
+ end
15
+ end
@@ -0,0 +1,38 @@
1
+ scope1:
2
+ id: 1
3
+ body: Top Level
4
+ lft: 1
5
+ rgt: 10
6
+ notable_id: 1
7
+ notable_type: Category
8
+ child_1:
9
+ id: 2
10
+ body: Child 1
11
+ parent_id: 1
12
+ lft: 2
13
+ rgt: 3
14
+ notable_id: 1
15
+ notable_type: Category
16
+ child_2:
17
+ id: 3
18
+ body: Child 2
19
+ parent_id: 1
20
+ lft: 4
21
+ rgt: 7
22
+ notable_id: 1
23
+ notable_type: Category
24
+ child_3:
25
+ id: 4
26
+ body: Child 3
27
+ parent_id: 1
28
+ lft: 8
29
+ rgt: 9
30
+ notable_id: 1
31
+ notable_type: Category
32
+ scope2:
33
+ id: 5
34
+ body: Top Level 2
35
+ lft: 1
36
+ rgt: 2
37
+ notable_id: 1
38
+ notable_type: Departments
@@ -0,0 +1,29 @@
1
+ $:.unshift(File.dirname(__FILE__) + '/../lib')
2
+ plugin_test_dir = File.dirname(__FILE__)
3
+ RAILS_ROOT = plugin_test_dir
4
+
5
+ require 'rubygems'
6
+ require 'test/unit'
7
+ require 'multi_rails_init'
8
+ require 'test_help'
9
+
10
+ require plugin_test_dir + '/../init.rb'
11
+
12
+ TestCaseClass = ActiveSupport::TestCase rescue Test::Unit::TestCase
13
+
14
+ ActiveRecord::Base.logger = Logger.new(plugin_test_dir + "/debug.log")
15
+
16
+ ActiveRecord::Base.configurations = YAML::load(IO.read(plugin_test_dir + "/db/database.yml"))
17
+ ActiveRecord::Base.establish_connection(ENV["DB"] || "sqlite3mem")
18
+ ActiveRecord::Migration.verbose = false
19
+ load(File.join(plugin_test_dir, "db", "schema.rb"))
20
+
21
+ Dir["#{plugin_test_dir}/fixtures/*.rb"].each {|file| require file }
22
+
23
+ class TestCaseClass #:nodoc:
24
+ self.fixture_path = File.dirname(__FILE__) + "/fixtures/"
25
+ self.use_transactional_fixtures = true
26
+ self.use_instantiated_fixtures = false
27
+
28
+ fixtures :categories, :notes, :departments
29
+ end
@@ -6,10 +6,10 @@ module HasCalculator
6
6
  validates_presence_of(:calculator) if options[:require]
7
7
 
8
8
  class_inheritable_accessor :calculators
9
- self.calculators = []
9
+ self.calculators = Set.new
10
10
  # @available_calculators = []
11
11
  def register_calculator(calculator)
12
- self.calculators << calculator
12
+ self.calculators.add(calculator)
13
13
  end
14
14
  # def calculators
15
15
  # @available_calculators
@@ -0,0 +1,43 @@
1
+ 0.5.0 (31 July 2009)
2
+ * Gemification
3
+ * Support for Ruby 1.9.X
4
+ * Updated to jQuery 1.3.2
5
+ * Updated to jQuery UI 1.7.2
6
+ * Created a jrails binary (runs rake tasks) because rails does not (yet?) pickup
7
+ tasks from gem plugins
8
+ * Changed default to use jQuery compatibility name (not $)
9
+ * Created a scrub task that will remove the prototype / script.aculo.us
10
+ javascript files
11
+ * better approximate scriptaculous effect names
12
+ * add support for page[:element_id].visual_effect(:effect) as well as page.visual_effect(:effect, :element_id)
13
+ * added a reset form function to jrails.js (stolen from jquery form)
14
+ * can now use jquery selectors in all functions
15
+ * added javascript_function helper to render inline rjs helpers
16
+ * better support for sortable_element
17
+
18
+ 0.4.0 (16 June 2008)
19
+ * updated to jquery-ui 1.5 & merged js into single file
20
+ * Added jQuery.noConflict support
21
+ * support for value/val
22
+ * additional support for update/delete methods
23
+ * support for success/failure hash
24
+ * setRequestHeader now gets called globally
25
+ * Better support for droppables, sortables
26
+ * Add support for prototype AJAX callbacks
27
+ * better support for AJAX form calls
28
+
29
+ 0.3.0 (22 Feb 2008)
30
+ * updated to jquery-fx 1.0b and jquery-ui 1.5b
31
+ * Add text/javascript request header to fix format.js
32
+ * Added Tasks (thanks ggarside)
33
+ * Improve visual_effects methods
34
+ * Fixed some RJS calls
35
+ * Fixed observer code for ie
36
+
37
+ 0.2.0 (26 Nov 2007)
38
+ * Vastly Improved FX
39
+ * Improved Form Observers
40
+ * Fixed Rails <= 1.2.6 Compatibility
41
+
42
+ 0.1.0 (15 Nov 2007)
43
+ * Initial release
@@ -0,0 +1,18 @@
1
+ Copyright (c) 2008 Aaron Eisenberger
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7
+ the Software, and to permit persons to whom the Software is furnished to do so,
8
+ subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,21 @@
1
+ = jRails
2
+
3
+ jRails is a drop-in jQuery replacement for the Rails Prototype/script.aculo.us helpers.
4
+
5
+ == Resources
6
+
7
+ Install
8
+
9
+ * .script/plugin install git://github.com/aaronchi/jrails.git
10
+
11
+ Project Site
12
+
13
+ * http://code.google.com/p/ennerchi
14
+
15
+ Web Site
16
+
17
+ * http://www.ennerchi.com/projects/jrails
18
+
19
+ Group Site
20
+
21
+ * http://groups.google.com/group/jrails
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "jrails"
8
+ gem.summary = "jRails is a drop-in jQuery replacement for the Rails Prototype/script.aculo.us helpers."
9
+ gem.description = "Using jRails, you can get all of the same default Rails helpers for javascript functionality using the lighter jQuery library."
10
+ gem.email = "aaronchi@gmail.com"
11
+ gem.homepage = "http://ennerchi.com/projects/jrails"
12
+ gem.authors = ["Aaron Eisenberger", "Patrick Hurley"]
13
+ gem.rubyforge_project = "jrails"
14
+ gem.files = FileList["[A-Z]*.rb","{bin,javascripts,lib,rails,tasks}/**/*"]
15
+ end
16
+ rescue LoadError
17
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
18
+ end
@@ -0,0 +1,4 @@
1
+ ---
2
+ :patch: 1
3
+ :major: 0
4
+ :minor: 5
@@ -0,0 +1,30 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubygems'
4
+ require 'rake'
5
+
6
+ RAILS_ROOT = Dir.pwd
7
+ rakeapp = Rake.application
8
+ fname =File.join(File.dirname(__FILE__), '..', 'tasks', 'jrails.rake')
9
+ load fname
10
+
11
+ task :help do
12
+ puts "jrails [command]\n\n"
13
+ rakeapp.options.show_task_pattern = Regexp.new('^[hius]')
14
+ rakeapp.display_tasks_and_comments
15
+ end
16
+
17
+ desc 'Installs the jQuery and jRails javascripts to public/javascripts'
18
+ task :install do
19
+ Rake::Task['jrails:js:install'].invoke
20
+ end
21
+
22
+ desc 'Remove the prototype / script.aculo.us javascript files'
23
+ task :scrub do
24
+ Rake::Task['jrails:js:scrub'].invoke
25
+ end
26
+
27
+ rakeapp.init("jrails")
28
+ task :default => [:help]
29
+
30
+ rakeapp.top_level
@@ -0,0 +1 @@
1
+ require 'rails/init.rb'
@@ -0,0 +1,9 @@
1
+ # Install hook code here
2
+ puts "Copying files..."
3
+ dir = "javascripts"
4
+ ["jquery-ui.js", "jquery.js", "jrails.js"].each do |js_file|
5
+ dest_file = File.join(RAILS_ROOT, "public", dir, js_file)
6
+ src_file = File.join(File.dirname(__FILE__) , dir, js_file)
7
+ FileUtils.cp_r(src_file, dest_file)
8
+ end
9
+ puts "Files copied - Installation complete!"
@@ -0,0 +1,188 @@
1
+ /*
2
+ * jQuery UI 1.7.2
3
+ *
4
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
6
+ * and GPL (GPL-LICENSE.txt) licenses.
7
+ *
8
+ * http://docs.jquery.com/UI
9
+ */
10
+ jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m<n.length;m++){if(j.options[n[m][0]]){n[m][1].apply(j.element,k)}}}},contains:function(k,j){return document.compareDocumentPosition?k.compareDocumentPosition(j)&16:k!==j&&k.contains(j)},hasScroll:function(m,k){if(c(m).css("overflow")=="hidden"){return false}var j=(k&&k=="left")?"scrollLeft":"scrollTop",l=false;if(m[j]>0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{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,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=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)}else{j=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"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);;/*
11
+ * jQuery UI Draggable 1.7.2
12
+ *
13
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
14
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
15
+ * and GPL (GPL-LICENSE.txt) licenses.
16
+ *
17
+ * http://docs.jquery.com/UI/Draggables
18
+ *
19
+ * Depends:
20
+ * ui.core.js
21
+ */
22
+ (function(a){a.widget("ui.draggable",a.extend({},a.ui.mouse,{_init:function(){if(this.options.helper=="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")){return}this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy()},_mouseCapture:function(b){var c=this.options;if(this.helper||c.disabled||a(b.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(b);if(!this.handle){return false}return true},_mouseStart:function(b){var c=this.options;this.helper=this._createHelper(b);this._cacheHelperProportions();if(a.ui.ddmanager){a.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};a.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._generatePosition(b);this.originalPageX=b.pageX;this.originalPageY=b.pageY;if(c.cursorAt){this._adjustOffsetFromHelper(c.cursorAt)}if(c.containment){this._setContainment()}this._trigger("start",b);this._cacheHelperProportions();if(a.ui.ddmanager&&!c.dropBehaviour){a.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){var c=this._uiHash();this._trigger("drag",b,c);this.position=c.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}if(a.ui.ddmanager){a.ui.ddmanager.drag(this,b)}return false},_mouseStop:function(c){var d=false;if(a.ui.ddmanager&&!this.options.dropBehaviour){d=a.ui.ddmanager.drop(this,c)}if(this.dropped){d=this.dropped;this.dropped=false}if((this.options.revert=="invalid"&&!d)||(this.options.revert=="valid"&&d)||this.options.revert===true||(a.isFunction(this.options.revert)&&this.options.revert.call(this.element,d))){var b=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){b._trigger("stop",c);b._clear()})}else{this._trigger("stop",c);this._clear()}return false},_getHandle:function(b){var c=!this.options.handle||!a(this.options.handle,this.element).length?true:false;a(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==b.target){c=true}});return c},_createHelper:function(c){var d=this.options;var b=a.isFunction(d.helper)?a(d.helper.apply(this.element[0],[c])):(d.helper=="clone"?this.element.clone():this.element);if(!b.parents("body").length){b.appendTo((d.appendTo=="parent"?this.element[0].parentNode:d.appendTo))}if(b[0]!=this.element[0]&&!(/(fixed|absolute)/).test(b.css("position"))){b.css("position","absolute")}return b},_adjustOffsetFromHelper:function(b){if(b.left!=undefined){this.offset.click.left=b.left+this.margins.left}if(b.right!=undefined){this.offset.click.left=this.helperProportions.width-b.right+this.margins.left}if(b.top!=undefined){this.offset.click.top=b.top+this.margins.top}if(b.bottom!=undefined){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&&a.ui.contains(this.scrollParent[0],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"&&a.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-(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 e=this.options;if(e.containment=="parent"){e.containment=this.helper[0].parentNode}if(e.containment=="document"||e.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(e.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a(e.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(e.containment)&&e.containment.constructor!=Array){var c=a(e.containment)[0];if(!c){return}var d=a(e.containment).offset();var b=(a(c).css("overflow")!="hidden");this.containment=[d.left+(parseInt(a(c).css("borderLeftWidth"),10)||0)+(parseInt(a(c).css("paddingLeft"),10)||0)-this.margins.left,d.top+(parseInt(a(c).css("borderTopWidth"),10)||0)+(parseInt(a(c).css("paddingTop"),10)||0)-this.margins.top,d.left+(b?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(a(c).css("borderLeftWidth"),10)||0)-(parseInt(a(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,d.top+(b?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(a(c).css("borderTopWidth"),10)||0)-(parseInt(a(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}else{if(e.containment.constructor==Array){this.containment=e.containment}}},_convertPositionTo:function(f,h){if(!h){h=this.position}var c=f=="absolute"?1:-1;var e=this.options,b=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=(/(html|body)/i).test(b[0].tagName);return{top:(h.top+this.offset.relative.top*c+this.offset.parent.top*c-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(g?0:b.scrollTop()))*c)),left:(h.left+this.offset.relative.left*c+this.offset.parent.left*c-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:b.scrollLeft())*c))}},_generatePosition:function(e){var h=this.options,b=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,i=(/(html|body)/i).test(b[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}var d=e.pageX;var c=e.pageY;if(this.originalPosition){if(this.containment){if(e.pageX-this.offset.click.left<this.containment[0]){d=this.containment[0]+this.offset.click.left}if(e.pageY-this.offset.click.top<this.containment[1]){c=this.containment[1]+this.offset.click.top}if(e.pageX-this.offset.click.left>this.containment[2]){d=this.containment[2]+this.offset.click.left}if(e.pageY-this.offset.click.top>this.containment[3]){c=this.containment[3]+this.offset.click.top}}if(h.grid){var g=this.originalPageY+Math.round((c-this.originalPageY)/h.grid[1])*h.grid[1];c=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-h.grid[1]:g+h.grid[1])):g;var f=this.originalPageX+Math.round((d-this.originalPageX)/h.grid[0])*h.grid[0];d=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-h.grid[0]:f+h.grid[0])):f}}return{top:(c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(i?0:b.scrollTop())))),left:(d-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:b.scrollLeft())))}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");if(this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false},_trigger:function(b,c,d){d=d||this._uiHash();a.ui.plugin.call(this,b,[c,d]);if(b=="drag"){this.positionAbs=this._convertPositionTo("absolute")}return a.widget.prototype._trigger.call(this,b,c,d)},plugins:{},_uiHash:function(b){return{helper:this.helper,position:this.position,absolutePosition:this.positionAbs,offset:this.positionAbs}}}));a.extend(a.ui.draggable,{version:"1.7.2",eventPrefix:"drag",defaults:{addClasses:true,appendTo:"parent",axis:false,cancel:":input,option",connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,delay:0,distance:1,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}});a.ui.plugin.add("draggable","connectToSortable",{start:function(c,e){var d=a(this).data("draggable"),f=d.options,b=a.extend({},e,{item:d.element});d.sortables=[];a(f.connectToSortable).each(function(){var g=a.data(this,"sortable");if(g&&!g.options.disabled){d.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger("activate",c,b)}})},stop:function(c,e){var d=a(this).data("draggable"),b=a.extend({},e,{item:d.element});a.each(d.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;d.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=true}this.instance._mouseStop(c);this.instance.options.helper=this.instance.options._helper;if(d.options.helper=="original"){this.instance.currentItem.css({top:"auto",left:"auto"})}}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",c,b)}})},drag:function(c,f){var e=a(this).data("draggable"),b=this;var d=function(i){var n=this.offset.click.top,m=this.offset.click.left;var g=this.positionAbs.top,k=this.positionAbs.left;var j=i.height,l=i.width;var p=i.top,h=i.left;return a.ui.isOver(g+n,k+m,p,h,j,l)};a.each(e.sortables,function(g){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=1;this.instance.currentItem=a(b).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return f.helper[0]};c.target=this.instance.currentItem[0];this.instance._mouseCapture(c,true);this.instance._mouseStart(c,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;this.instance.offset.parent.top-=e.offset.parent.top-this.instance.offset.parent.top;e._trigger("toSortable",c);e.dropped=this.instance.element;e.currentItem=e.element;this.instance.fromOutside=e}if(this.instance.currentItem){this.instance._mouseDrag(c)}}else{if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",c,this.instance._uiHash(this.instance));this.instance._mouseStop(c,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();if(this.instance.placeholder){this.instance.placeholder.remove()}e._trigger("fromSortable",c);e.dropped=false}}})}});a.ui.plugin.add("draggable","cursor",{start:function(c,d){var b=a("body"),e=a(this).data("draggable").options;if(b.css("cursor")){e._cursor=b.css("cursor")}b.css("cursor",e.cursor)},stop:function(b,c){var d=a(this).data("draggable").options;if(d._cursor){a("body").css("cursor",d._cursor)}}});a.ui.plugin.add("draggable","iframeFix",{start:function(b,c){var d=a(this).data("draggable").options;a(d.iframeFix===true?"iframe":d.iframeFix).each(function(){a('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(a(this).offset()).appendTo("body")})},stop:function(b,c){a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});a.ui.plugin.add("draggable","opacity",{start:function(c,d){var b=a(d.helper),e=a(this).data("draggable").options;if(b.css("opacity")){e._opacity=b.css("opacity")}b.css("opacity",e.opacity)},stop:function(b,c){var d=a(this).data("draggable").options;if(d._opacity){a(c.helper).css("opacity",d._opacity)}}});a.ui.plugin.add("draggable","scroll",{start:function(c,d){var b=a(this).data("draggable");if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){b.overflowOffset=b.scrollParent.offset()}},drag:function(d,e){var c=a(this).data("draggable"),f=c.options,b=false;if(c.scrollParent[0]!=document&&c.scrollParent[0].tagName!="HTML"){if(!f.axis||f.axis!="x"){if((c.overflowOffset.top+c.scrollParent[0].offsetHeight)-d.pageY<f.scrollSensitivity){c.scrollParent[0].scrollTop=b=c.scrollParent[0].scrollTop+f.scrollSpeed}else{if(d.pageY-c.overflowOffset.top<f.scrollSensitivity){c.scrollParent[0].scrollTop=b=c.scrollParent[0].scrollTop-f.scrollSpeed}}}if(!f.axis||f.axis!="y"){if((c.overflowOffset.left+c.scrollParent[0].offsetWidth)-d.pageX<f.scrollSensitivity){c.scrollParent[0].scrollLeft=b=c.scrollParent[0].scrollLeft+f.scrollSpeed}else{if(d.pageX-c.overflowOffset.left<f.scrollSensitivity){c.scrollParent[0].scrollLeft=b=c.scrollParent[0].scrollLeft-f.scrollSpeed}}}}else{if(!f.axis||f.axis!="x"){if(d.pageY-a(document).scrollTop()<f.scrollSensitivity){b=a(document).scrollTop(a(document).scrollTop()-f.scrollSpeed)}else{if(a(window).height()-(d.pageY-a(document).scrollTop())<f.scrollSensitivity){b=a(document).scrollTop(a(document).scrollTop()+f.scrollSpeed)}}}if(!f.axis||f.axis!="y"){if(d.pageX-a(document).scrollLeft()<f.scrollSensitivity){b=a(document).scrollLeft(a(document).scrollLeft()-f.scrollSpeed)}else{if(a(window).width()-(d.pageX-a(document).scrollLeft())<f.scrollSensitivity){b=a(document).scrollLeft(a(document).scrollLeft()+f.scrollSpeed)}}}}if(b!==false&&a.ui.ddmanager&&!f.dropBehaviour){a.ui.ddmanager.prepareOffsets(c,d)}}});a.ui.plugin.add("draggable","snap",{start:function(c,d){var b=a(this).data("draggable"),e=b.options;b.snapElements=[];a(e.snap.constructor!=String?(e.snap.items||":data(draggable)"):e.snap).each(function(){var g=a(this);var f=g.offset();if(this!=b.element[0]){b.snapElements.push({item:this,width:g.outerWidth(),height:g.outerHeight(),top:f.top,left:f.left})}})},drag:function(u,p){var g=a(this).data("draggable"),q=g.options;var y=q.snapTolerance;var x=p.offset.left,w=x+g.helperProportions.width,f=p.offset.top,e=f+g.helperProportions.height;for(var v=g.snapElements.length-1;v>=0;v--){var s=g.snapElements[v].left,n=s+g.snapElements[v].width,m=g.snapElements[v].top,A=m+g.snapElements[v].height;if(!((s-y<x&&x<n+y&&m-y<f&&f<A+y)||(s-y<x&&x<n+y&&m-y<e&&e<A+y)||(s-y<w&&w<n+y&&m-y<f&&f<A+y)||(s-y<w&&w<n+y&&m-y<e&&e<A+y))){if(g.snapElements[v].snapping){(g.options.snap.release&&g.options.snap.release.call(g.element,u,a.extend(g._uiHash(),{snapItem:g.snapElements[v].item})))}g.snapElements[v].snapping=false;continue}if(q.snapMode!="inner"){var c=Math.abs(m-e)<=y;var z=Math.abs(A-f)<=y;var j=Math.abs(s-w)<=y;var k=Math.abs(n-x)<=y;if(c){p.position.top=g._convertPositionTo("relative",{top:m-g.helperProportions.height,left:0}).top-g.margins.top}if(z){p.position.top=g._convertPositionTo("relative",{top:A,left:0}).top-g.margins.top}if(j){p.position.left=g._convertPositionTo("relative",{top:0,left:s-g.helperProportions.width}).left-g.margins.left}if(k){p.position.left=g._convertPositionTo("relative",{top:0,left:n}).left-g.margins.left}}var h=(c||z||j||k);if(q.snapMode!="outer"){var c=Math.abs(m-f)<=y;var z=Math.abs(A-e)<=y;var j=Math.abs(s-x)<=y;var k=Math.abs(n-w)<=y;if(c){p.position.top=g._convertPositionTo("relative",{top:m,left:0}).top-g.margins.top}if(z){p.position.top=g._convertPositionTo("relative",{top:A-g.helperProportions.height,left:0}).top-g.margins.top}if(j){p.position.left=g._convertPositionTo("relative",{top:0,left:s}).left-g.margins.left}if(k){p.position.left=g._convertPositionTo("relative",{top:0,left:n-g.helperProportions.width}).left-g.margins.left}}if(!g.snapElements[v].snapping&&(c||z||j||k||h)){(g.options.snap.snap&&g.options.snap.snap.call(g.element,u,a.extend(g._uiHash(),{snapItem:g.snapElements[v].item})))}g.snapElements[v].snapping=(c||z||j||k||h)}}});a.ui.plugin.add("draggable","stack",{start:function(b,c){var e=a(this).data("draggable").options;var d=a.makeArray(a(e.stack.group)).sort(function(g,f){return(parseInt(a(g).css("zIndex"),10)||e.stack.min)-(parseInt(a(f).css("zIndex"),10)||e.stack.min)});a(d).each(function(f){this.style.zIndex=e.stack.min+f});this[0].style.zIndex=e.stack.min+d.length}});a.ui.plugin.add("draggable","zIndex",{start:function(c,d){var b=a(d.helper),e=a(this).data("draggable").options;if(b.css("zIndex")){e._zIndex=b.css("zIndex")}b.css("zIndex",e.zIndex)},stop:function(b,c){var d=a(this).data("draggable").options;if(d._zIndex){a(c.helper).css("zIndex",d._zIndex)}}})})(jQuery);;/*
23
+ * jQuery UI Droppable 1.7.2
24
+ *
25
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
26
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
27
+ * and GPL (GPL-LICENSE.txt) licenses.
28
+ *
29
+ * http://docs.jquery.com/UI/Droppables
30
+ *
31
+ * Depends:
32
+ * ui.core.js
33
+ * ui.draggable.js
34
+ */
35
+ (function(a){a.widget("ui.droppable",{_init:function(){var c=this.options,b=c.accept;this.isover=0;this.isout=1;this.options.accept=this.options.accept&&a.isFunction(this.options.accept)?this.options.accept:function(e){return e.is(b)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};a.ui.ddmanager.droppables[this.options.scope]=a.ui.ddmanager.droppables[this.options.scope]||[];a.ui.ddmanager.droppables[this.options.scope].push(this);(this.options.addClasses&&this.element.addClass("ui-droppable"))},destroy:function(){var b=a.ui.ddmanager.droppables[this.options.scope];for(var c=0;c<b.length;c++){if(b[c]==this){b.splice(c,1)}}this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable")},_setData:function(b,c){if(b=="accept"){this.options.accept=c&&a.isFunction(c)?c:function(e){return e.is(c)}}else{a.widget.prototype._setData.apply(this,arguments)}},_activate:function(c){var b=a.ui.ddmanager.current;if(this.options.activeClass){this.element.addClass(this.options.activeClass)}(b&&this._trigger("activate",c,this.ui(b)))},_deactivate:function(c){var b=a.ui.ddmanager.current;if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}(b&&this._trigger("deactivate",c,this.ui(b)))},_over:function(c){var b=a.ui.ddmanager.current;if(!b||(b.currentItem||b.element)[0]==this.element[0]){return}if(this.options.accept.call(this.element[0],(b.currentItem||b.element))){if(this.options.hoverClass){this.element.addClass(this.options.hoverClass)}this._trigger("over",c,this.ui(b))}},_out:function(c){var b=a.ui.ddmanager.current;if(!b||(b.currentItem||b.element)[0]==this.element[0]){return}if(this.options.accept.call(this.element[0],(b.currentItem||b.element))){if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}this._trigger("out",c,this.ui(b))}},_drop:function(c,d){var b=d||a.ui.ddmanager.current;if(!b||(b.currentItem||b.element)[0]==this.element[0]){return false}var e=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var f=a.data(this,"droppable");if(f.options.greedy&&a.ui.intersect(b,a.extend(f,{offset:f.element.offset()}),f.options.tolerance)){e=true;return false}});if(e){return false}if(this.options.accept.call(this.element[0],(b.currentItem||b.element))){if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}this._trigger("drop",c,this.ui(b));return this.element}return false},ui:function(b){return{draggable:(b.currentItem||b.element),helper:b.helper,position:b.position,absolutePosition:b.positionAbs,offset:b.positionAbs}}});a.extend(a.ui.droppable,{version:"1.7.2",eventPrefix:"drop",defaults:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"}});a.ui.intersect=function(q,j,o){if(!j.offset){return false}var e=(q.positionAbs||q.position.absolute).left,d=e+q.helperProportions.width,n=(q.positionAbs||q.position.absolute).top,m=n+q.helperProportions.height;var g=j.offset.left,c=g+j.proportions.width,p=j.offset.top,k=p+j.proportions.height;switch(o){case"fit":return(g<e&&d<c&&p<n&&m<k);break;case"intersect":return(g<e+(q.helperProportions.width/2)&&d-(q.helperProportions.width/2)<c&&p<n+(q.helperProportions.height/2)&&m-(q.helperProportions.height/2)<k);break;case"pointer":var h=((q.positionAbs||q.position.absolute).left+(q.clickOffset||q.offset.click).left),i=((q.positionAbs||q.position.absolute).top+(q.clickOffset||q.offset.click).top),f=a.ui.isOver(i,h,p,g,j.proportions.height,j.proportions.width);return f;break;case"touch":return((n>=p&&n<=k)||(m>=p&&m<=k)||(n<p&&m>k))&&((e>=g&&e<=c)||(d>=g&&d<=c)||(e<g&&d>c));break;default:return false;break}};a.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,g){var b=a.ui.ddmanager.droppables[e.options.scope];var f=g?g.type:null;var h=(e.currentItem||e.element).find(":data(droppable)").andSelf();droppablesLoop:for(var d=0;d<b.length;d++){if(b[d].options.disabled||(e&&!b[d].options.accept.call(b[d].element[0],(e.currentItem||e.element)))){continue}for(var c=0;c<h.length;c++){if(h[c]==b[d].element[0]){b[d].proportions.height=0;continue droppablesLoop}}b[d].visible=b[d].element.css("display")!="none";if(!b[d].visible){continue}b[d].offset=b[d].element.offset();b[d].proportions={width:b[d].element[0].offsetWidth,height:b[d].element[0].offsetHeight};if(f=="mousedown"){b[d]._activate.call(b[d],g)}}},drop:function(b,c){var d=false;a.each(a.ui.ddmanager.droppables[b.options.scope],function(){if(!this.options){return}if(!this.options.disabled&&this.visible&&a.ui.intersect(b,this,this.options.tolerance)){d=this._drop.call(this,c)}if(!this.options.disabled&&this.visible&&this.options.accept.call(this.element[0],(b.currentItem||b.element))){this.isout=1;this.isover=0;this._deactivate.call(this,c)}});return d},drag:function(b,c){if(b.options.refreshPositions){a.ui.ddmanager.prepareOffsets(b,c)}a.each(a.ui.ddmanager.droppables[b.options.scope],function(){if(this.options.disabled||this.greedyChild||!this.visible){return}var e=a.ui.intersect(b,this,this.options.tolerance);var g=!e&&this.isover==1?"isout":(e&&this.isover==0?"isover":null);if(!g){return}var f;if(this.options.greedy){var d=this.element.parents(":data(droppable):eq(0)");if(d.length){f=a.data(d[0],"droppable");f.greedyChild=(g=="isover"?1:0)}}if(f&&g=="isover"){f.isover=0;f.isout=1;f._out.call(f,c)}this[g]=1;this[g=="isout"?"isover":"isout"]=0;this[g=="isover"?"_over":"_out"].call(this,c);if(f&&g=="isout"){f.isout=0;f.isover=1;f._over.call(f,c)}})}}})(jQuery);;/*
36
+ * jQuery UI Sortable 1.7.2
37
+ *
38
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
39
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
40
+ * and GPL (GPL-LICENSE.txt) licenses.
41
+ *
42
+ * http://docs.jquery.com/UI/Sortables
43
+ *
44
+ * Depends:
45
+ * ui.core.js
46
+ */
47
+ (function(a){a.widget("ui.sortable",a.extend({},a.ui.mouse,{_init:function(){var b=this.options;this.containerCache={};this.element.addClass("ui-sortable");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")}},_mouseCapture:function(e,f){if(this.reverting){return false}if(this.options.disabled||this.options.type=="static"){return false}this._refreshItems(e);var d=null,c=this,b=a(e.target).parents().each(function(){if(a.data(this,"sortable-item")==c){d=a(this);return false}});if(a.data(e.target,"sortable-item")==c){d=a(e.target)}if(!d){return false}if(this.options.handle&&!f){var g=false;a(this.options.handle,d).find("*").andSelf().each(function(){if(this==e.target){g=true}});if(!g){return false}}this.currentItem=d;this._removeCurrentsFromItems();return true},_mouseStart:function(e,f,b){var g=this.options,c=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(e);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");a.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(e);this.originalPageX=e.pageX;this.originalPageY=e.pageY;if(g.cursorAt){this._adjustOffsetFromHelper(g.cursorAt)}this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!=this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();if(g.containment){this._setContainment()}if(g.cursor){if(a("body").css("cursor")){this._storedCursor=a("body").css("cursor")}a("body").css("cursor",g.cursor)}if(g.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",g.opacity)}if(g.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",g.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",e,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!b){for(var d=this.containers.length-1;d>=0;d--){this.containers[d]._trigger("activate",e,c._uiHash(this))}}if(a.ui.ddmanager){a.ui.ddmanager.current=this}if(a.ui.ddmanager&&!g.dropBehaviour){a.ui.ddmanager.prepareOffsets(this,e)}this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(e);return true},_mouseDrag:function(f){this.position=this._generatePosition(f);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){var g=this.options,b=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-f.pageY<g.scrollSensitivity){this.scrollParent[0].scrollTop=b=this.scrollParent[0].scrollTop+g.scrollSpeed}else{if(f.pageY-this.overflowOffset.top<g.scrollSensitivity){this.scrollParent[0].scrollTop=b=this.scrollParent[0].scrollTop-g.scrollSpeed}}if((this.overflowOffset.left+this.scrollParent[0].offsetWidth)-f.pageX<g.scrollSensitivity){this.scrollParent[0].scrollLeft=b=this.scrollParent[0].scrollLeft+g.scrollSpeed}else{if(f.pageX-this.overflowOffset.left<g.scrollSensitivity){this.scrollParent[0].scrollLeft=b=this.scrollParent[0].scrollLeft-g.scrollSpeed}}}else{if(f.pageY-a(document).scrollTop()<g.scrollSensitivity){b=a(document).scrollTop(a(document).scrollTop()-g.scrollSpeed)}else{if(a(window).height()-(f.pageY-a(document).scrollTop())<g.scrollSensitivity){b=a(document).scrollTop(a(document).scrollTop()+g.scrollSpeed)}}if(f.pageX-a(document).scrollLeft()<g.scrollSensitivity){b=a(document).scrollLeft(a(document).scrollLeft()-g.scrollSpeed)}else{if(a(window).width()-(f.pageX-a(document).scrollLeft())<g.scrollSensitivity){b=a(document).scrollLeft(a(document).scrollLeft()+g.scrollSpeed)}}}if(b!==false&&a.ui.ddmanager&&!g.dropBehaviour){a.ui.ddmanager.prepareOffsets(this,f)}}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}for(var d=this.items.length-1;d>=0;d--){var e=this.items[d],c=e.item[0],h=this._intersectsWithPointer(e);if(!h){continue}if(c!=this.currentItem[0]&&this.placeholder[h==1?"next":"prev"]()[0]!=c&&!a.ui.contains(this.placeholder[0],c)&&(this.options.type=="semi-dynamic"?!a.ui.contains(this.element[0],c):true)){this.direction=h==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(e)){this._rearrange(f,e)}else{break}this._trigger("change",f,this._uiHash());break}}this._contactContainers(f);if(a.ui.ddmanager){a.ui.ddmanager.drag(this,f)}this._trigger("sort",f,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(c,d){if(!c){return}if(a.ui.ddmanager&&!this.options.dropBehaviour){a.ui.ddmanager.drop(this,c)}if(this.options.revert){var b=this;var e=b.placeholder.offset();b.reverting=true;a(this.helper).animate({left:e.left-this.offset.parent.left-b.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:e.top-this.offset.parent.top-b.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){b._clear(c)})}else{this._clear(c,d)}return false},cancel:function(){var b=this;if(this.dragging){this._mouseUp();if(this.options.helper=="original"){this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}for(var c=this.containers.length-1;c>=0;c--){this.containers[c]._trigger("deactivate",null,b._uiHash(this));if(this.containers[c].containerCache.over){this.containers[c]._trigger("out",null,b._uiHash(this));this.containers[c].containerCache.over=0}}}if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}a.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){a(this.domPosition.prev).after(this.currentItem)}else{a(this.domPosition.parent).prepend(this.currentItem)}return true},serialize:function(d){var b=this._getItemsAsjQuery(d&&d.connected);var c=[];d=d||{};a(b).each(function(){var e=(a(d.item||this).attr(d.attribute||"id")||"").match(d.expression||(/(.+)[-=_](.+)/));if(e){c.push((d.key||e[1]+"[]")+"="+(d.key&&d.expression?e[1]:e[2]))}});return c.join("&")},toArray:function(d){var b=this._getItemsAsjQuery(d&&d.connected);var c=[];d=d||{};b.each(function(){c.push(a(d.item||this).attr(d.attribute||"id")||"")});return c},_intersectsWith:function(m){var e=this.positionAbs.left,d=e+this.helperProportions.width,k=this.positionAbs.top,j=k+this.helperProportions.height;var f=m.left,c=f+m.width,n=m.top,i=n+m.height;var o=this.offset.click.top,h=this.offset.click.left;var g=(k+o)>n&&(k+o)<i&&(e+h)>f&&(e+h)<c;if(this.options.tolerance=="pointer"||this.options.forcePointerForContainers||(this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>m[this.floating?"width":"height"])){return g}else{return(f<e+(this.helperProportions.width/2)&&d-(this.helperProportions.width/2)<c&&n<k+(this.helperProportions.height/2)&&j-(this.helperProportions.height/2)<i)}},_intersectsWithPointer:function(d){var e=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,d.top,d.height),c=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,d.left,d.width),g=e&&c,b=this._getDragVerticalDirection(),f=this._getDragHorizontalDirection();if(!g){return false}return this.floating?(((f&&f=="right")||b=="down")?2:1):(b&&(b=="down"?2:1))},_intersectsWithSides:function(e){var c=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+(e.height/2),e.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+(e.width/2),e.width),b=this._getDragVerticalDirection(),f=this._getDragHorizontalDirection();if(this.floating&&f){return((f=="right"&&d)||(f=="left"&&!d))}else{return b&&((b=="down"&&c)||(b=="up"&&!c))}},_getDragVerticalDirection:function(){var b=this.positionAbs.top-this.lastPositionAbs.top;return b!=0&&(b>0?"down":"up")},_getDragHorizontalDirection:function(){var b=this.positionAbs.left-this.lastPositionAbs.left;return b!=0&&(b>0?"right":"left")},refresh:function(b){this._refreshItems(b);this.refreshPositions()},_connectWith:function(){var b=this.options;return b.connectWith.constructor==String?[b.connectWith]:b.connectWith},_getItemsAsjQuery:function(b){var l=this;var g=[];var e=[];var h=this._connectWith();if(h&&b){for(var d=h.length-1;d>=0;d--){var k=a(h[d]);for(var c=k.length-1;c>=0;c--){var f=a.data(k[c],"sortable");if(f&&f!=this&&!f.options.disabled){e.push([a.isFunction(f.options.items)?f.options.items.call(f.element):a(f.options.items,f.element).not(".ui-sortable-helper"),f])}}}}e.push([a.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,this.element).not(".ui-sortable-helper"),this]);for(var d=e.length-1;d>=0;d--){e[d][0].each(function(){g.push(this)})}return a(g)},_removeCurrentsFromItems:function(){var d=this.currentItem.find(":data(sortable-item)");for(var c=0;c<this.items.length;c++){for(var b=0;b<d.length;b++){if(d[b]==this.items[c].item[0]){this.items.splice(c,1)}}}},_refreshItems:function(b){this.items=[];this.containers=[this];var h=this.items;var p=this;var f=[[a.isFunction(this.options.items)?this.options.items.call(this.element[0],b,{item:this.currentItem}):a(this.options.items,this.element),this]];var l=this._connectWith();if(l){for(var e=l.length-1;e>=0;e--){var m=a(l[e]);for(var d=m.length-1;d>=0;d--){var g=a.data(m[d],"sortable");if(g&&g!=this&&!g.options.disabled){f.push([a.isFunction(g.options.items)?g.options.items.call(g.element[0],b,{item:this.currentItem}):a(g.options.items,g.element),g]);this.containers.push(g)}}}}for(var e=f.length-1;e>=0;e--){var k=f[e][1];var c=f[e][0];for(var d=0,n=c.length;d<n;d++){var o=a(c[d]);o.data("sortable-item",k);h.push({item:o,instance:k,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];if(e.instance!=this.currentContainer&&this.currentContainer&&e.item[0]!=this.currentItem[0]){continue}var c=this.options.toleranceElement?a(this.options.toleranceElement,e.item):e.item;if(!b){e.width=c.outerWidth();e.height=c.outerHeight()}var f=c.offset();e.left=f.left;e.top=f.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(var d=this.containers.length-1;d>=0;d--){var f=this.containers[d].element.offset();this.containers[d].containerCache.left=f.left;this.containers[d].containerCache.top=f.top;this.containers[d].containerCache.width=this.containers[d].element.outerWidth();this.containers[d].containerCache.height=this.containers[d].element.outerHeight()}}},_createPlaceholder:function(d){var b=d||this,e=b.options;if(!e.placeholder||e.placeholder.constructor==String){var c=e.placeholder;e.placeholder={element:function(){var f=a(document.createElement(b.currentItem[0].nodeName)).addClass(c||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!c){f.style.visibility="hidden"}return f},update:function(f,g){if(c&&!e.forcePlaceholderSize){return}if(!g.height()){g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10))}if(!g.width()){g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||0,10))}}}}b.placeholder=a(e.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder);e.placeholder.update(b,b.placeholder)},_contactContainers:function(d){for(var c=this.containers.length-1;c>=0;c--){if(this._intersectsWith(this.containers[c].containerCache)){if(!this.containers[c].containerCache.over){if(this.currentContainer!=this.containers[c]){var h=10000;var g=null;var e=this.positionAbs[this.containers[c].floating?"left":"top"];for(var b=this.items.length-1;b>=0;b--){if(!a.ui.contains(this.containers[c].element[0],this.items[b].item[0])){continue}var f=this.items[b][this.containers[c].floating?"left":"top"];if(Math.abs(f-e)<h){h=Math.abs(f-e);g=this.items[b]}}if(!g&&!this.options.dropOnEmpty){continue}this.currentContainer=this.containers[c];g?this._rearrange(d,g,null,true):this._rearrange(d,null,this.containers[c].element,true);this._trigger("change",d,this._uiHash());this.containers[c]._trigger("change",d,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder)}this.containers[c]._trigger("over",d,this._uiHash(this));this.containers[c].containerCache.over=1}}else{if(this.containers[c].containerCache.over){this.containers[c]._trigger("out",d,this._uiHash(this));this.containers[c].containerCache.over=0}}}},_createHelper:function(c){var d=this.options;var b=a.isFunction(d.helper)?a(d.helper.apply(this.element[0],[c,this.currentItem])):(d.helper=="clone"?this.currentItem.clone():this.currentItem);if(!b.parents("body").length){a(d.appendTo!="parent"?d.appendTo:this.currentItem[0].parentNode)[0].appendChild(b[0])}if(b[0]==this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}}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(b.left!=undefined){this.offset.click.left=b.left+this.margins.left}if(b.right!=undefined){this.offset.click.left=this.helperProportions.width-b.right+this.margins.left}if(b.top!=undefined){this.offset.click.top=b.top+this.margins.top}if(b.bottom!=undefined){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&&a.ui.contains(this.scrollParent[0],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"&&a.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-(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 e=this.options;if(e.containment=="parent"){e.containment=this.helper[0].parentNode}if(e.containment=="document"||e.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(e.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a(e.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(e.containment)){var c=a(e.containment)[0];var d=a(e.containment).offset();var b=(a(c).css("overflow")!="hidden");this.containment=[d.left+(parseInt(a(c).css("borderLeftWidth"),10)||0)+(parseInt(a(c).css("paddingLeft"),10)||0)-this.margins.left,d.top+(parseInt(a(c).css("borderTopWidth"),10)||0)+(parseInt(a(c).css("paddingTop"),10)||0)-this.margins.top,d.left+(b?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(a(c).css("borderLeftWidth"),10)||0)-(parseInt(a(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,d.top+(b?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(a(c).css("borderTopWidth"),10)||0)-(parseInt(a(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(f,h){if(!h){h=this.position}var c=f=="absolute"?1:-1;var e=this.options,b=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=(/(html|body)/i).test(b[0].tagName);return{top:(h.top+this.offset.relative.top*c+this.offset.parent.top*c-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(g?0:b.scrollTop()))*c)),left:(h.left+this.offset.relative.left*c+this.offset.parent.left*c-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:b.scrollLeft())*c))}},_generatePosition:function(e){var h=this.options,b=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,i=(/(html|body)/i).test(b[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}var d=e.pageX;var c=e.pageY;if(this.originalPosition){if(this.containment){if(e.pageX-this.offset.click.left<this.containment[0]){d=this.containment[0]+this.offset.click.left}if(e.pageY-this.offset.click.top<this.containment[1]){c=this.containment[1]+this.offset.click.top}if(e.pageX-this.offset.click.left>this.containment[2]){d=this.containment[2]+this.offset.click.left}if(e.pageY-this.offset.click.top>this.containment[3]){c=this.containment[3]+this.offset.click.top}}if(h.grid){var g=this.originalPageY+Math.round((c-this.originalPageY)/h.grid[1])*h.grid[1];c=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-h.grid[1]:g+h.grid[1])):g;var f=this.originalPageX+Math.round((d-this.originalPageX)/h.grid[0])*h.grid[0];d=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-h.grid[0]:f+h.grid[0])):f}}return{top:(c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(i?0:b.scrollTop())))),left:(d-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:b.scrollLeft())))}},_rearrange:function(g,f,c,e){c?c[0].appendChild(this.placeholder[0]):f.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction=="down"?f.item[0]:f.item[0].nextSibling));this.counter=this.counter?++this.counter:1;var d=this,b=this.counter;window.setTimeout(function(){if(b==d.counter){d.refreshPositions(!e)}},0)},_clear:function(d,e){this.reverting=false;var f=[],b=this;if(!this._noFinalSort&&this.currentItem[0].parentNode){this.placeholder.before(this.currentItem)}this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var c in this._storedCSS){if(this._storedCSS[c]=="auto"||this._storedCSS[c]=="static"){this._storedCSS[c]=""}}this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}if(this.fromOutside&&!e){f.push(function(g){this._trigger("receive",g,this._uiHash(this.fromOutside))})}if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!e){f.push(function(g){this._trigger("update",g,this._uiHash())})}if(!a.ui.contains(this.element[0],this.currentItem[0])){if(!e){f.push(function(g){this._trigger("remove",g,this._uiHash())})}for(var c=this.containers.length-1;c>=0;c--){if(a.ui.contains(this.containers[c].element[0],this.currentItem[0])&&!e){f.push((function(g){return function(h){g._trigger("receive",h,this._uiHash(this))}}).call(this,this.containers[c]));f.push((function(g){return function(h){g._trigger("update",h,this._uiHash(this))}}).call(this,this.containers[c]))}}}for(var c=this.containers.length-1;c>=0;c--){if(!e){f.push((function(g){return function(h){g._trigger("deactivate",h,this._uiHash(this))}}).call(this,this.containers[c]))}if(this.containers[c].containerCache.over){f.push((function(g){return function(h){g._trigger("out",h,this._uiHash(this))}}).call(this,this.containers[c]));this.containers[c].containerCache.over=0}}if(this._storedCursor){a("body").css("cursor",this._storedCursor)}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex)}this.dragging=false;if(this.cancelHelperRemoval){if(!e){this._trigger("beforeStop",d,this._uiHash());for(var c=0;c<f.length;c++){f[c].call(this,d)}this._trigger("stop",d,this._uiHash())}return false}if(!e){this._trigger("beforeStop",d,this._uiHash())}this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(this.helper[0]!=this.currentItem[0]){this.helper.remove()}this.helper=null;if(!e){for(var c=0;c<f.length;c++){f[c].call(this,d)}this._trigger("stop",d,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){if(a.widget.prototype._trigger.apply(this,arguments)===false){this.cancel()}},_uiHash:function(c){var b=c||this;return{helper:b.helper,placeholder:b.placeholder||a([]),position:b.position,absolutePosition:b.positionAbs,offset:b.positionAbs,item:b.currentItem,sender:c?c.element:null}}}));a.extend(a.ui.sortable,{getter:"serialize toArray",version:"1.7.2",eventPrefix:"sort",defaults:{appendTo:"parent",axis:false,cancel:":input,option",connectWith:false,containment:false,cursor:"auto",cursorAt:false,delay:0,distance:1,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:1000}})})(jQuery);;/*
48
+ * jQuery UI Effects 1.7.2
49
+ *
50
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
51
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
52
+ * and GPL (GPL-LICENSE.txt) licenses.
53
+ *
54
+ * http://docs.jquery.com/UI/Effects/
55
+ */
56
+ jQuery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f<h.length;f++){if(h[f]!==null){g.data("ec.storage."+h[f],g[0].style[h[f]])}}},restore:function(g,h){for(var f=0;f<h.length;f++){if(h[f]!==null){g.css(h[f],g.data("ec.storage."+h[f]))}}},setMode:function(f,g){if(g=="toggle"){g=f.is(":hidden")?"show":"hide"}return g},getBaseline:function(g,h){var i,f;switch(g[0]){case"top":i=0;break;case"middle":i=0.5;break;case"bottom":i=1;break;default:i=g[0]/h.height}switch(g[1]){case"left":f=0;break;case"center":f=0.5;break;case"right":f=1;break;default:f=g[1]/h.width}return{x:f,y:i}},createWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent()}var g={width:f.outerWidth(true),height:f.outerHeight(true),"float":f.css("float")};f.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={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,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,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]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}return -(h*Math.pow(2,10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k))+f},easeOutElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}return h*Math.pow(2,-10*i)*Math.sin((i*l-j)*(2*Math.PI)/k)+m+f},easeInOutElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l/2)==2){return f+m}if(!k){k=l*(0.3*1.5)}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}if(i<1){return -0.5*(h*Math.pow(2,10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k))+f}return h*Math.pow(2,-10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k)*0.5+m+f},easeInBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}return k*(h/=j)*h*((i+1)*h-i)+f},easeOutBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}return k*((h=h/j-1)*h*((i+1)*h+i)+1)+f},easeInOutBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}if((h/=j/2)<1){return k/2*(h*h*(((i*=(1.525))+1)*h-i))+f}return k/2*((h-=2)*h*(((i*=(1.525))+1)*h+i)+2)+f},easeInBounce:function(g,h,f,j,i){return j-d.easing.easeOutBounce(g,i-h,0,j,i)+f},easeOutBounce:function(g,h,f,j,i){if((h/=i)<(1/2.75)){return j*(7.5625*h*h)+f}else{if(h<(2/2.75)){return j*(7.5625*(h-=(1.5/2.75))*h+0.75)+f}else{if(h<(2.5/2.75)){return j*(7.5625*(h-=(2.25/2.75))*h+0.9375)+f}else{return j*(7.5625*(h-=(2.625/2.75))*h+0.984375)+f}}}},easeInOutBounce:function(g,h,f,j,i){if(h<i/2){return d.easing.easeInBounce(g,h*2,0,j,i)*0.5+f}return d.easing.easeOutBounce(g,h*2-i,0,j,i)*0.5+j*0.5+f}})})(jQuery);;/*
57
+ * jQuery UI Effects Blind 1.7.2
58
+ *
59
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
60
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
61
+ * and GPL (GPL-LICENSE.txt) licenses.
62
+ *
63
+ * http://docs.jquery.com/UI/Effects/Blind
64
+ *
65
+ * Depends:
66
+ * effects.core.js
67
+ */
68
+ (function(a){a.effects.blind=function(b){return this.queue(function(){var d=a(this),c=["position","top","left"];var h=a.effects.setMode(d,b.options.mode||"hide");var g=b.options.direction||"vertical";a.effects.save(d,c);d.show();var j=a.effects.createWrapper(d).css({overflow:"hidden"});var e=(g=="vertical")?"height":"width";var i=(g=="vertical")?j.height():j.width();if(h=="show"){j.css(e,0)}var f={};f[e]=h=="show"?i:0;j.animate(f,b.duration,b.options.easing,function(){if(h=="hide"){d.hide()}a.effects.restore(d,c);a.effects.removeWrapper(d);if(b.callback){b.callback.apply(d[0],arguments)}d.dequeue()})})}})(jQuery);;/*
69
+ * jQuery UI Effects Bounce 1.7.2
70
+ *
71
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
72
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
73
+ * and GPL (GPL-LICENSE.txt) licenses.
74
+ *
75
+ * http://docs.jquery.com/UI/Effects/Bounce
76
+ *
77
+ * Depends:
78
+ * effects.core.js
79
+ */
80
+ (function(a){a.effects.bounce=function(b){return this.queue(function(){var e=a(this),l=["position","top","left"];var k=a.effects.setMode(e,b.options.mode||"effect");var n=b.options.direction||"up";var c=b.options.distance||20;var d=b.options.times||5;var g=b.duration||250;if(/show|hide/.test(k)){l.push("opacity")}a.effects.save(e,l);e.show();a.effects.createWrapper(e);var f=(n=="up"||n=="down")?"top":"left";var p=(n=="up"||n=="left")?"pos":"neg";var c=b.options.distance||(f=="top"?e.outerHeight({margin:true})/3:e.outerWidth({margin:true})/3);if(k=="show"){e.css("opacity",0).css(f,p=="pos"?-c:c)}if(k=="hide"){c=c/(d*2)}if(k!="hide"){d--}if(k=="show"){var h={opacity:1};h[f]=(p=="pos"?"+=":"-=")+c;e.animate(h,g/2,b.options.easing);c=c/2;d--}for(var j=0;j<d;j++){var o={},m={};o[f]=(p=="pos"?"-=":"+=")+c;m[f]=(p=="pos"?"+=":"-=")+c;e.animate(o,g/2,b.options.easing).animate(m,g/2,b.options.easing);c=(k=="hide")?c*2:c/2}if(k=="hide"){var h={opacity:0};h[f]=(p=="pos"?"-=":"+=")+c;e.animate(h,g/2,b.options.easing,function(){e.hide();a.effects.restore(e,l);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}})}else{var o={},m={};o[f]=(p=="pos"?"-=":"+=")+c;m[f]=(p=="pos"?"+=":"-=")+c;e.animate(o,g/2,b.options.easing).animate(m,g/2,b.options.easing,function(){a.effects.restore(e,l);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}})}e.queue("fx",function(){e.dequeue()});e.dequeue()})}})(jQuery);;/*
81
+ * jQuery UI Effects Clip 1.7.2
82
+ *
83
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
84
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
85
+ * and GPL (GPL-LICENSE.txt) licenses.
86
+ *
87
+ * http://docs.jquery.com/UI/Effects/Clip
88
+ *
89
+ * Depends:
90
+ * effects.core.js
91
+ */
92
+ (function(a){a.effects.clip=function(b){return this.queue(function(){var f=a(this),j=["position","top","left","height","width"];var i=a.effects.setMode(f,b.options.mode||"hide");var k=b.options.direction||"vertical";a.effects.save(f,j);f.show();var c=a.effects.createWrapper(f).css({overflow:"hidden"});var e=f[0].tagName=="IMG"?c:f;var g={size:(k=="vertical")?"height":"width",position:(k=="vertical")?"top":"left"};var d=(k=="vertical")?e.height():e.width();if(i=="show"){e.css(g.size,0);e.css(g.position,d/2)}var h={};h[g.size]=i=="show"?d:0;h[g.position]=i=="show"?0:d/2;e.animate(h,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(i=="hide"){f.hide()}a.effects.restore(f,j);a.effects.removeWrapper(f);if(b.callback){b.callback.apply(f[0],arguments)}f.dequeue()}})})}})(jQuery);;/*
93
+ * jQuery UI Effects Drop 1.7.2
94
+ *
95
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
96
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
97
+ * and GPL (GPL-LICENSE.txt) licenses.
98
+ *
99
+ * http://docs.jquery.com/UI/Effects/Drop
100
+ *
101
+ * Depends:
102
+ * effects.core.js
103
+ */
104
+ (function(a){a.effects.drop=function(b){return this.queue(function(){var e=a(this),d=["position","top","left","opacity"];var i=a.effects.setMode(e,b.options.mode||"hide");var h=b.options.direction||"left";a.effects.save(e,d);e.show();a.effects.createWrapper(e);var f=(h=="up"||h=="down")?"top":"left";var c=(h=="up"||h=="left")?"pos":"neg";var j=b.options.distance||(f=="top"?e.outerHeight({margin:true})/2:e.outerWidth({margin:true})/2);if(i=="show"){e.css("opacity",0).css(f,c=="pos"?-j:j)}var g={opacity:i=="show"?1:0};g[f]=(i=="show"?(c=="pos"?"+=":"-="):(c=="pos"?"-=":"+="))+j;e.animate(g,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(i=="hide"){e.hide()}a.effects.restore(e,d);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}e.dequeue()}})})}})(jQuery);;/*
105
+ * jQuery UI Effects Fold 1.7.2
106
+ *
107
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
108
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
109
+ * and GPL (GPL-LICENSE.txt) licenses.
110
+ *
111
+ * http://docs.jquery.com/UI/Effects/Fold
112
+ *
113
+ * Depends:
114
+ * effects.core.js
115
+ */
116
+ (function(a){a.effects.fold=function(b){return this.queue(function(){var e=a(this),k=["position","top","left"];var h=a.effects.setMode(e,b.options.mode||"hide");var o=b.options.size||15;var n=!(!b.options.horizFirst);var g=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(e,k);e.show();var d=a.effects.createWrapper(e).css({overflow:"hidden"});var i=((h=="show")!=n);var f=i?["width","height"]:["height","width"];var c=i?[d.width(),d.height()]:[d.height(),d.width()];var j=/([0-9]+)%/.exec(o);if(j){o=parseInt(j[1],10)/100*c[h=="hide"?0:1]}if(h=="show"){d.css(n?{height:0,width:o}:{height:o,width:0})}var m={},l={};m[f[0]]=h=="show"?c[0]:o;l[f[1]]=h=="show"?c[1]:0;d.animate(m,g,b.options.easing).animate(l,g,b.options.easing,function(){if(h=="hide"){e.hide()}a.effects.restore(e,k);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(e[0],arguments)}e.dequeue()})})}})(jQuery);;/*
117
+ * jQuery UI Effects Highlight 1.7.2
118
+ *
119
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
120
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
121
+ * and GPL (GPL-LICENSE.txt) licenses.
122
+ *
123
+ * http://docs.jquery.com/UI/Effects/Highlight
124
+ *
125
+ * Depends:
126
+ * effects.core.js
127
+ */
128
+ (function(a){a.effects.highlight=function(b){return this.queue(function(){var e=a(this),d=["backgroundImage","backgroundColor","opacity"];var h=a.effects.setMode(e,b.options.mode||"show");var c=b.options.color||"#ffff99";var g=e.css("backgroundColor");a.effects.save(e,d);e.show();e.css({backgroundImage:"none",backgroundColor:c});var f={backgroundColor:g};if(h=="hide"){f.opacity=0}e.animate(f,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(h=="hide"){e.hide()}a.effects.restore(e,d);if(h=="show"&&a.browser.msie){this.style.removeAttribute("filter")}if(b.callback){b.callback.apply(this,arguments)}e.dequeue()}})})}})(jQuery);;/*
129
+ * jQuery UI Effects Pulsate 1.7.2
130
+ *
131
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
132
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
133
+ * and GPL (GPL-LICENSE.txt) licenses.
134
+ *
135
+ * http://docs.jquery.com/UI/Effects/Pulsate
136
+ *
137
+ * Depends:
138
+ * effects.core.js
139
+ */
140
+ (function(a){a.effects.pulsate=function(b){return this.queue(function(){var d=a(this);var g=a.effects.setMode(d,b.options.mode||"show");var f=b.options.times||5;var e=b.duration?b.duration/2:a.fx.speeds._default/2;if(g=="hide"){f--}if(d.is(":hidden")){d.css("opacity",0);d.show();d.animate({opacity:1},e,b.options.easing);f=f-2}for(var c=0;c<f;c++){d.animate({opacity:0},e,b.options.easing).animate({opacity:1},e,b.options.easing)}if(g=="hide"){d.animate({opacity:0},e,b.options.easing,function(){d.hide();if(b.callback){b.callback.apply(this,arguments)}})}else{d.animate({opacity:0},e,b.options.easing).animate({opacity:1},e,b.options.easing,function(){if(b.callback){b.callback.apply(this,arguments)}})}d.queue("fx",function(){d.dequeue()});d.dequeue()})}})(jQuery);;/*
141
+ * jQuery UI Effects Scale 1.7.2
142
+ *
143
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
144
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
145
+ * and GPL (GPL-LICENSE.txt) licenses.
146
+ *
147
+ * http://docs.jquery.com/UI/Effects/Scale
148
+ *
149
+ * Depends:
150
+ * effects.core.js
151
+ */
152
+ (function(a){a.effects.puff=function(b){return this.queue(function(){var f=a(this);var c=a.extend(true,{},b.options);var h=a.effects.setMode(f,b.options.mode||"hide");var g=parseInt(b.options.percent,10)||150;c.fade=true;var e={height:f.height(),width:f.width()};var d=g/100;f.from=(h=="hide")?e:{height:e.height*d,width:e.width*d};c.from=f.from;c.percent=(h=="hide")?g:100;c.mode=h;f.effect("scale",c,b.duration,b.callback);f.dequeue()})};a.effects.scale=function(b){return this.queue(function(){var g=a(this);var d=a.extend(true,{},b.options);var j=a.effects.setMode(g,b.options.mode||"effect");var h=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:(j=="hide"?0:100));var i=b.options.direction||"both";var c=b.options.origin;if(j!="effect"){d.origin=c||["middle","center"];d.restore=true}var f={height:g.height(),width:g.width()};g.from=b.options.from||(j=="show"?{height:0,width:0}:f);var e={y:i!="horizontal"?(h/100):1,x:i!="vertical"?(h/100):1};g.to={height:f.height*e.y,width:f.width*e.x};if(b.options.fade){if(j=="show"){g.from.opacity=0;g.to.opacity=1}if(j=="hide"){g.from.opacity=1;g.to.opacity=0}}d.from=g.from;d.to=g.to;d.mode=j;g.effect("size",d,b.duration,b.callback);g.dequeue()})};a.effects.size=function(b){return this.queue(function(){var c=a(this),n=["position","top","left","width","height","overflow","opacity"];var m=["position","top","left","overflow","opacity"];var j=["width","height","overflow"];var p=["fontSize"];var k=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"];var f=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"];var g=a.effects.setMode(c,b.options.mode||"effect");var i=b.options.restore||false;var e=b.options.scale||"both";var o=b.options.origin;var d={height:c.height(),width:c.width()};c.from=b.options.from||d;c.to=b.options.to||d;if(o){var h=a.effects.getBaseline(o,d);c.from.top=(d.height-c.from.height)*h.y;c.from.left=(d.width-c.from.width)*h.x;c.to.top=(d.height-c.to.height)*h.y;c.to.left=(d.width-c.to.width)*h.x}var l={from:{y:c.from.height/d.height,x:c.from.width/d.width},to:{y:c.to.height/d.height,x:c.to.width/d.width}};if(e=="box"||e=="both"){if(l.from.y!=l.to.y){n=n.concat(k);c.from=a.effects.setTransition(c,k,l.from.y,c.from);c.to=a.effects.setTransition(c,k,l.to.y,c.to)}if(l.from.x!=l.to.x){n=n.concat(f);c.from=a.effects.setTransition(c,f,l.from.x,c.from);c.to=a.effects.setTransition(c,f,l.to.x,c.to)}}if(e=="content"||e=="both"){if(l.from.y!=l.to.y){n=n.concat(p);c.from=a.effects.setTransition(c,p,l.from.y,c.from);c.to=a.effects.setTransition(c,p,l.to.y,c.to)}}a.effects.save(c,i?n:m);c.show();a.effects.createWrapper(c);c.css("overflow","hidden").css(c.from);if(e=="content"||e=="both"){k=k.concat(["marginTop","marginBottom"]).concat(p);f=f.concat(["marginLeft","marginRight"]);j=n.concat(k).concat(f);c.find("*[width]").each(function(){child=a(this);if(i){a.effects.save(child,j)}var q={height:child.height(),width:child.width()};child.from={height:q.height*l.from.y,width:q.width*l.from.x};child.to={height:q.height*l.to.y,width:q.width*l.to.x};if(l.from.y!=l.to.y){child.from=a.effects.setTransition(child,k,l.from.y,child.from);child.to=a.effects.setTransition(child,k,l.to.y,child.to)}if(l.from.x!=l.to.x){child.from=a.effects.setTransition(child,f,l.from.x,child.from);child.to=a.effects.setTransition(child,f,l.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){if(i){a.effects.restore(child,j)}})})}c.animate(c.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(g=="hide"){c.hide()}a.effects.restore(c,i?n:m);a.effects.removeWrapper(c);if(b.callback){b.callback.apply(this,arguments)}c.dequeue()}})})}})(jQuery);;/*
153
+ * jQuery UI Effects Shake 1.7.2
154
+ *
155
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
156
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
157
+ * and GPL (GPL-LICENSE.txt) licenses.
158
+ *
159
+ * http://docs.jquery.com/UI/Effects/Shake
160
+ *
161
+ * Depends:
162
+ * effects.core.js
163
+ */
164
+ (function(a){a.effects.shake=function(b){return this.queue(function(){var e=a(this),l=["position","top","left"];var k=a.effects.setMode(e,b.options.mode||"effect");var n=b.options.direction||"left";var c=b.options.distance||20;var d=b.options.times||3;var g=b.duration||b.options.duration||140;a.effects.save(e,l);e.show();a.effects.createWrapper(e);var f=(n=="up"||n=="down")?"top":"left";var p=(n=="up"||n=="left")?"pos":"neg";var h={},o={},m={};h[f]=(p=="pos"?"-=":"+=")+c;o[f]=(p=="pos"?"+=":"-=")+c*2;m[f]=(p=="pos"?"-=":"+=")+c*2;e.animate(h,g,b.options.easing);for(var j=1;j<d;j++){e.animate(o,g,b.options.easing).animate(m,g,b.options.easing)}e.animate(o,g,b.options.easing).animate(h,g/2,b.options.easing,function(){a.effects.restore(e,l);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}});e.queue("fx",function(){e.dequeue()});e.dequeue()})}})(jQuery);;/*
165
+ * jQuery UI Effects Slide 1.7.2
166
+ *
167
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
168
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
169
+ * and GPL (GPL-LICENSE.txt) licenses.
170
+ *
171
+ * http://docs.jquery.com/UI/Effects/Slide
172
+ *
173
+ * Depends:
174
+ * effects.core.js
175
+ */
176
+ (function(a){a.effects.slide=function(b){return this.queue(function(){var e=a(this),d=["position","top","left"];var i=a.effects.setMode(e,b.options.mode||"show");var h=b.options.direction||"left";a.effects.save(e,d);e.show();a.effects.createWrapper(e).css({overflow:"hidden"});var f=(h=="up"||h=="down")?"top":"left";var c=(h=="up"||h=="left")?"pos":"neg";var j=b.options.distance||(f=="top"?e.outerHeight({margin:true}):e.outerWidth({margin:true}));if(i=="show"){e.css(f,c=="pos"?-j:j)}var g={};g[f]=(i=="show"?(c=="pos"?"+=":"-="):(c=="pos"?"-=":"+="))+j;e.animate(g,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(i=="hide"){e.hide()}a.effects.restore(e,d);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}e.dequeue()}})})}})(jQuery);;/*
177
+ * jQuery UI Effects Transfer 1.7.2
178
+ *
179
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
180
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
181
+ * and GPL (GPL-LICENSE.txt) licenses.
182
+ *
183
+ * http://docs.jquery.com/UI/Effects/Transfer
184
+ *
185
+ * Depends:
186
+ * effects.core.js
187
+ */
188
+ (function(a){a.effects.transfer=function(b){return this.queue(function(){var f=a(this),h=a(b.options.to),e=h.offset(),g={top:e.top,left:e.left,height:h.innerHeight(),width:h.innerWidth()},d=f.offset(),c=a('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({top:d.top,left:d.left,height:f.innerHeight(),width:f.innerWidth(),position:"absolute"}).animate(g,b.duration,b.options.easing,function(){c.remove();(b.callback&&b.callback.apply(f[0],arguments));f.dequeue()})})}})(jQuery);;