spree_heist_theme 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -0
- data/LICENSE +26 -0
- data/README.md +19 -0
- data/app/assets/images/store/auth-icons.png +0 -0
- data/app/assets/images/store/bg.jpg +0 -0
- data/app/assets/images/store/footer_bkgd.jpg +0 -0
- data/app/assets/images/store/icons/american-express-curved-32px.png +0 -0
- data/app/assets/images/store/icons/discover-curved-32px.png +0 -0
- data/app/assets/images/store/icons/facebook.png +0 -0
- data/app/assets/images/store/icons/mastercard-curved-32px.png +0 -0
- data/app/assets/images/store/icons/social-icons-rollover.png +0 -0
- data/app/assets/images/store/icons/social-icons.png +0 -0
- data/app/assets/images/store/icons/twitter.png +0 -0
- data/app/assets/images/store/icons/visa-curved-32px.png +0 -0
- data/app/assets/images/store/kid.jpg +0 -0
- data/app/assets/images/store/logo.png +0 -0
- data/app/assets/images/store/narrow_bg.png +0 -0
- data/app/assets/images/store/satellite-radios-bg.jpg +0 -0
- data/app/assets/images/store/search_bg_s1.gif +0 -0
- data/app/assets/images/store/shadow_top.png +0 -0
- data/app/assets/images/store/social-icons-rollover.png +0 -0
- data/app/assets/images/store/social-icons.png +0 -0
- data/app/assets/javascripts/store/checkout.js +78 -0
- data/app/assets/javascripts/store/rdr_wishlist.js +31 -0
- data/app/assets/stylesheets/store/auth-buttons.css +376 -0
- data/app/assets/stylesheets/store/base.css +0 -0
- data/app/assets/stylesheets/store/cart.css +141 -0
- data/app/assets/stylesheets/store/checkout.css +278 -0
- data/app/assets/stylesheets/store/display.css.erb +225 -0
- data/app/assets/stylesheets/store/editor.css +37 -0
- data/app/assets/stylesheets/store/errors.css.erb +55 -0
- data/app/assets/stylesheets/store/login.css +31 -0
- data/app/assets/stylesheets/store/misc.css +85 -0
- data/app/assets/stylesheets/store/products.css +133 -0
- data/app/assets/stylesheets/store/rdr.css +16 -0
- data/app/assets/stylesheets/store/reset.css +72 -0
- data/app/assets/stylesheets/store/screen.scss.css +0 -0
- data/app/assets/stylesheets/store/social.css +61 -0
- data/app/assets/stylesheets/store/spree_core.css +0 -0
- data/app/assets/stylesheets/store/taxonomy.css.erb +72 -0
- data/app/assets/stylesheets/store/typography.css +167 -0
- data/app/overrides/shared/replace_rescently_viewed_products_block_title.rb +4 -0
- data/app/overrides/spree/checkout/payment/remove_card_expiration.rb +3 -0
- data/app/overrides/spree/checkout/payment/remove_cart_code.rb +3 -0
- data/app/overrides/spree/checkout/payment/remove_gateway_icons.rb +5 -0
- data/app/overrides/spree/checkout/payment/replace_gateway_fields.rb +26 -0
- data/app/overrides/spree/checkout/payment/replace_paypal_payment.rb +8 -0
- data/app/overrides/spree/checkout/remove_checkout_registration_header.rb +4 -0
- data/app/overrides/spree/checkout/remove_confirm_buttons.rb +3 -0
- data/app/overrides/spree/checkout/remove_delivery_buttons.rb +3 -0
- data/app/overrides/spree/checkout/remove_payment_buttons.rb +3 -0
- data/app/overrides/spree/checkout/remove_shipping.rb +3 -0
- data/app/overrides/spree/checkout/remove_summary_title.rb +4 -0
- data/app/overrides/spree/checkout/remvove_address_buttons.rb +4 -0
- data/app/overrides/spree/checkout/replace_billing.rb +175 -0
- data/app/overrides/spree/checkout/replace_checkout.rb +25 -0
- data/app/overrides/spree/checkout/replace_checkout_registration.rb +47 -0
- data/app/overrides/spree/checkout/replace_confirm.rb +70 -0
- data/app/overrides/spree/checkout/replace_order_summary.rb +38 -0
- data/app/overrides/spree/checkout/replace_payment.rb +21 -0
- data/app/overrides/spree/checkout/replace_shipping_method.rb +27 -0
- data/app/overrides/spree/layouts/replace_body.rb +95 -0
- data/app/overrides/spree/orders/remove_orders_show_header.rb +5 -0
- data/app/overrides/spree/orders/replace_cart_detail.rb +34 -0
- data/app/overrides/spree/orders/replace_empty-cart.rb +3 -0
- data/app/overrides/spree/orders/replace_line_item.rb +34 -0
- data/app/overrides/spree/orders/replace_orders_show.rb +83 -0
- data/app/overrides/spree/orders/replace_outside_cart_form.rb +21 -0
- data/app/overrides/spree/products/add_related_products_to_cart_form.rb +20 -0
- data/app/overrides/spree/products/add_taxonomies_to_product_show.rb +7 -0
- data/app/overrides/spree/products/drop_icon_from_add_to_wishlist.rb +5 -0
- data/app/overrides/spree/products/redefine_add_wish_to_cart_form.rb +7 -0
- data/app/overrides/spree/products/redefine_email_to_friend.rb +13 -0
- data/app/overrides/spree/products/replace_cart_form.rb +42 -0
- data/app/overrides/spree/products/replace_product_show.rb +87 -0
- data/app/overrides/spree/shared/add_to_head.rb +4 -0
- data/app/overrides/spree/shared/redefine_recently_viewed_overrides.rb +16 -0
- data/app/overrides/spree/shared/remove_brs_from_login_form.rb +3 -0
- data/app/overrides/spree/shared/remove_brs_from_user_form.rb +4 -0
- data/app/overrides/spree/shared/replace_products.rb +30 -0
- data/app/overrides/spree/shared/replace_taxonomies.rb +5 -0
- data/app/overrides/spree/shared/tweak_button_login.rb +5 -0
- data/app/overrides/spree/shared/tweak_remember_me_login.rb +6 -0
- data/app/overrides/spree/taxons/replace_taxon_children.rb +6 -0
- data/app/overrides/spree/taxons/replace_taxon_sidebar_navigation.rb +7 -0
- data/app/overrides/spree/user_registrations/redefine_add_socials_to_login_extras.rb +14 -0
- data/app/overrides/spree/user_registrations/replace_user_registration_new.rb +11 -0
- data/app/overrides/spree/user_sessions/replace_user_sessions_new.rb +39 -0
- data/app/overrides/spree/users/redefine_add_wishlists_to_account_my_orders.rb +13 -0
- data/app/overrides/spree/users/redefine_replace_account_summary_with_social_logins.rb +44 -0
- data/app/overrides/spree/users/remove_account_summary.rb +3 -0
- data/app/overrides/spree/users/replace_account_header.rb +4 -0
- data/app/overrides/spree/users/replace_account_my_orders.rb +36 -0
- data/app/overrides/spree/wishlists/replace_new_wishlist_form.rb +9 -0
- data/app/overrides/spree/wishlists/replace_new_wishlist_header.rb +5 -0
- data/app/views/spree/shared/_all_products.html.erb +22 -0
- data/app/views/spree/shared/_product_banner.html.erb +6 -0
- data/app/views/spree/shared/_social_users.html.erb +13 -0
- data/app/views/spree/wishlists/show.html.erb +86 -0
- data/lib/generators/spree_heist_theme/install/install_generator.rb +17 -0
- data/lib/spree_heist_theme.rb +15 -0
- data/spree_heist_theme.gemspec +16 -0
- data/vendor/assets/images/fancybox/blank.gif +0 -0
- data/vendor/assets/images/fancybox/fancy_close.png +0 -0
- data/vendor/assets/images/fancybox/fancy_loading.png +0 -0
- data/vendor/assets/images/fancybox/fancy_nav_left.png +0 -0
- data/vendor/assets/images/fancybox/fancy_nav_right.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_e.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_n.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_ne.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_nw.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_s.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_se.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_sw.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_w.png +0 -0
- data/vendor/assets/images/fancybox/fancy_title_left.png +0 -0
- data/vendor/assets/images/fancybox/fancy_title_main.png +0 -0
- data/vendor/assets/images/fancybox/fancy_title_over.png +0 -0
- data/vendor/assets/images/fancybox/fancy_title_right.png +0 -0
- data/vendor/assets/images/fancybox/fancybox-x.png +0 -0
- data/vendor/assets/images/fancybox/fancybox-y.png +0 -0
- data/vendor/assets/images/fancybox/fancybox.png +0 -0
- data/vendor/assets/javascripts/jquery.easing-1.3.pack.js +72 -0
- data/vendor/assets/javascripts/jquery.fancybox-1.3.4.js +1156 -0
- data/vendor/assets/javascripts/jquery.fancybox-1.3.4.pack.js +46 -0
- data/vendor/assets/javascripts/jquery.mousewheel-3.0.4.pack.js +14 -0
- data/vendor/assets/stylesheets/jq-autocomplete.css +48 -0
- data/vendor/assets/stylesheets/jq-mobile-1.0a2.css +866 -0
- data/vendor/assets/stylesheets/jquery.fancybox-1.3.4.css +359 -0
- metadata +174 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<% if !current_user || !current_user.user_authentications %>
|
|
2
|
+
<div id="social_login">
|
|
3
|
+
<h2>Sign In Using</h2>
|
|
4
|
+
<p>If you have an existing account with any of the following sites you can login here by clicking on the icon below.</p>
|
|
5
|
+
<% Spree::AuthenticationMethod.where(:environment => ::Rails.env).each do |user| %>
|
|
6
|
+
<p class="social_link">
|
|
7
|
+
<%= link_to "Sign in with #{user.provider.capitalize}", "/users/auth/#{user.provider}",
|
|
8
|
+
:title => "Sign in with #{user.provider}",
|
|
9
|
+
:class => "btn-auth btn-#{user.provider.downcase}" if user.active %>
|
|
10
|
+
</p>
|
|
11
|
+
<% end %>
|
|
12
|
+
</div>
|
|
13
|
+
<% end %>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<% @body_id = 'cart' %>
|
|
2
|
+
|
|
3
|
+
<h1>Wish List - <%= @wishlist.name %><%= link_to "(edit)", "#", :id => "edit_wishlist_link" %></h1>
|
|
4
|
+
|
|
5
|
+
<div id="edit_wishlist">
|
|
6
|
+
<% if @wishlist.user == current_user %>
|
|
7
|
+
<%= form_for @wishlist do |f| %>
|
|
8
|
+
<div>
|
|
9
|
+
<p><%= f.label :name, t(:name), :class => "inline" %>: <%= f.text_field :name %></p>
|
|
10
|
+
<p><%= f.check_box :is_private %> <%= f.label :is_private, "Keep this list private, for my eyes only!", :class => "inline" %></p>
|
|
11
|
+
<p><%= f.check_box :is_default %> <%= f.label :is_default, "Automatically add new wished items to this list.", :class => "inline" %></p>
|
|
12
|
+
</div>
|
|
13
|
+
<%= link_to "Update", '#', :onclick => "$(this).parent().submit(); return false;", :class => 'button' %>
|
|
14
|
+
<% end %>
|
|
15
|
+
<hr/>
|
|
16
|
+
<% end %>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<h3>You have <%= pluralize @wishlist.wished_products.size, 'item' %> in your wish list.</h3>
|
|
20
|
+
|
|
21
|
+
<% if @wishlist.wished_products.size > 0 %>
|
|
22
|
+
<table id="cart-detail">
|
|
23
|
+
<thead>
|
|
24
|
+
<tr>
|
|
25
|
+
<th colspan="2">Item</th>
|
|
26
|
+
<th>Price</th>
|
|
27
|
+
</tr>
|
|
28
|
+
</thead>
|
|
29
|
+
<% @wishlist.wished_products.each do |wish|
|
|
30
|
+
variant = wish.variant
|
|
31
|
+
product = variant.product %>
|
|
32
|
+
|
|
33
|
+
<tr class="<%= cycle('', 'alt') %>">
|
|
34
|
+
<td class="image">
|
|
35
|
+
<% if variant.images.length == 0 %>
|
|
36
|
+
<%= small_image(variant.product) %>
|
|
37
|
+
<% else %>
|
|
38
|
+
<%= image_tag variant.images.first.attachment.url(:small) %>
|
|
39
|
+
<% end %>
|
|
40
|
+
</td>
|
|
41
|
+
<td class="">
|
|
42
|
+
<h4><%= link_to variant.product.name, product_path(variant.product) %></h4>
|
|
43
|
+
<%= variant_options variant %>
|
|
44
|
+
<div class="actions">
|
|
45
|
+
<div class="add_item_to_cart">
|
|
46
|
+
<%= form_for :order, :url => populate_orders_url do |f| %>
|
|
47
|
+
<%= hidden_field_tag "variants[#{variant.id}]", 1, :size => 3 %>
|
|
48
|
+
<%= link_to t(:add_to_cart), '#', :onclick => "$(this).parent().submit(); return false;", :class => 'button' %>
|
|
49
|
+
<% end %>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="remove_item">
|
|
52
|
+
<%= link_to "Remove", wish, :method => :delete, :class => 'delete button' %>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<% if current_user.wishlists.count > 1 %>
|
|
56
|
+
<div class="move_item">
|
|
57
|
+
<%= link_to "Move", '#', :class => 'button' %>
|
|
58
|
+
|
|
59
|
+
<%= form_for wish do |f| %>
|
|
60
|
+
<label class="inline">Move to:</label>
|
|
61
|
+
<%= f.select :wishlist_id, current_user.wishlists.map{|wl| [wl.name, wl.id] unless wl.id == @wishlist.id}.compact %>
|
|
62
|
+
<%= f.submit "Confirm" %>
|
|
63
|
+
<% end %>
|
|
64
|
+
</div>
|
|
65
|
+
<% end %>
|
|
66
|
+
|
|
67
|
+
</div>
|
|
68
|
+
</td>
|
|
69
|
+
<td class="unit-price">
|
|
70
|
+
<%= number_to_currency product.price %>
|
|
71
|
+
</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<% end -%>
|
|
74
|
+
</table>
|
|
75
|
+
<% end -%>
|
|
76
|
+
|
|
77
|
+
<p class="actions">
|
|
78
|
+
<% if @wishlist.user == current_user %>
|
|
79
|
+
<%= link_to "Create New List", new_wishlist_path, :class => 'button' %>
|
|
80
|
+
<%= link_to "Delete This List", @wishlist, :method => :delete, :confirm => 'Are you sure, that you want to delete this wishlist?', :class => 'button checkout' %>
|
|
81
|
+
<% end -%>
|
|
82
|
+
</p>
|
|
83
|
+
|
|
84
|
+
<% if @wishlists.present? %>
|
|
85
|
+
<h3>My Wishlists: <%= raw @wishlists.map { |wl| link_to(wl.name, wl) }.join(", ") %></h3>
|
|
86
|
+
<% end %>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module SpreeHeistTheme
|
|
2
|
+
module Generators
|
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
|
4
|
+
|
|
5
|
+
def add_javascripts
|
|
6
|
+
append_file "app/assets/javascripts/store/all.js", "//= require jquery.fancybox-1.3.4\n"
|
|
7
|
+
append_file "app/assets/javascripts/store/all.js", "//= require store/rdr_wishlist\n"
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def add_stylesheets
|
|
11
|
+
inject_into_file "app/assets/stylesheets/store/all.css", " *= require store/rdr\n", :before => /\*\//, :verbose => true
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module SpreeHeistTheme
|
|
2
|
+
class Engine < Rails::Engine
|
|
3
|
+
railtie_name "spree_heist_theme"
|
|
4
|
+
|
|
5
|
+
config.autoload_paths += %W(#{config.root}/lib)
|
|
6
|
+
|
|
7
|
+
def self.activate
|
|
8
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../app/overrides/*.rb")) do |c|
|
|
9
|
+
Rails.application.config.cache_classes ? require(c) : load(c)
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
config.to_prepare &method(:activate).to_proc
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Gem::Specification.new do |s|
|
|
2
|
+
s.platform = Gem::Platform::RUBY
|
|
3
|
+
s.name = 'spree_heist_theme'
|
|
4
|
+
s.version = '0.0.0'
|
|
5
|
+
s.summary = 'Heist Spree Commerce Theme'
|
|
6
|
+
|
|
7
|
+
s.author = 'Anthony Bui'
|
|
8
|
+
s.email = 'anthonybui@gmail.com'
|
|
9
|
+
|
|
10
|
+
s.files = `git ls-files`.split("\n")
|
|
11
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
12
|
+
s.require_path = 'lib'
|
|
13
|
+
s.requirements << 'none'
|
|
14
|
+
|
|
15
|
+
s.has_rdoc = false
|
|
16
|
+
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
|
|
3
|
+
*
|
|
4
|
+
* Uses the built in easing capabilities added In jQuery 1.1
|
|
5
|
+
* to offer multiple easing options
|
|
6
|
+
*
|
|
7
|
+
* TERMS OF USE - jQuery Easing
|
|
8
|
+
*
|
|
9
|
+
* Open source under the BSD License.
|
|
10
|
+
*
|
|
11
|
+
* Copyright © 2008 George McGinley Smith
|
|
12
|
+
* All rights reserved.
|
|
13
|
+
*
|
|
14
|
+
* Redistribution and use in source and binary forms, with or without modification,
|
|
15
|
+
* are permitted provided that the following conditions are met:
|
|
16
|
+
*
|
|
17
|
+
* Redistributions of source code must retain the above copyright notice, this list of
|
|
18
|
+
* conditions and the following disclaimer.
|
|
19
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list
|
|
20
|
+
* of conditions and the following disclaimer in the documentation and/or other materials
|
|
21
|
+
* provided with the distribution.
|
|
22
|
+
*
|
|
23
|
+
* Neither the name of the author nor the names of contributors may be used to endorse
|
|
24
|
+
* or promote products derived from this software without specific prior written permission.
|
|
25
|
+
*
|
|
26
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
27
|
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
28
|
+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
29
|
+
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
30
|
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
31
|
+
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
32
|
+
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
33
|
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
34
|
+
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
// t: current time, b: begInnIng value, c: change In value, d: duration
|
|
39
|
+
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},N:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},M:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},L:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},K:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},J:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},I:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},G:9(x,t,b,c,d){6-c*8.C(t/d*(8.g/2))+c+b},15:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},12:9(x,t,b,c,d){6-c/2*(8.C(8.g*t/d)-1)+b},Z:9(x,t,b,c,d){6(t==0)?b:c*8.j(2,10*(t/d-1))+b},Y:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.j(2,-10*t/d)+1)+b},W:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.j(2,10*(t-1))+b;6 c/2*(-8.j(2,-10*--t)+2)+b},V:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},S:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},Q:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},P:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},H:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t<d/2)6 h.i.A(x,t*2,0,c,d)*.5+b;6 h.i.v(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|easing|pow|75|70158|else|sin|sqrt||5625|asin|||undefined|easeOutBounce|abs||def|swing|easeInBounce|525|cos|easeOutQuad|easeOutBack|easeInBack|easeInSine|easeOutElastic|easeInOutQuint|easeOutQuint|easeInQuint|easeInOutQuart|easeOutQuart|easeInQuart|extend|easeInElastic|easeInOutCirc|easeInOutCubic|easeOutCirc|easeInOutElastic|easeOutCubic|easeInCirc|easeInOutExpo|easeInCubic|easeOutExpo|easeInExpo||9375|easeInOutSine|easeInOutQuad|25|easeOutSine|easeInOutBack|easeInQuad|625|984375|jswing|easeInOutBounce'.split('|'),0,{}))
|
|
40
|
+
|
|
41
|
+
/*
|
|
42
|
+
*
|
|
43
|
+
* TERMS OF USE - EASING EQUATIONS
|
|
44
|
+
*
|
|
45
|
+
* Open source under the BSD License.
|
|
46
|
+
*
|
|
47
|
+
* Copyright © 2001 Robert Penner
|
|
48
|
+
* All rights reserved.
|
|
49
|
+
*
|
|
50
|
+
* Redistribution and use in source and binary forms, with or without modification,
|
|
51
|
+
* are permitted provided that the following conditions are met:
|
|
52
|
+
*
|
|
53
|
+
* Redistributions of source code must retain the above copyright notice, this list of
|
|
54
|
+
* conditions and the following disclaimer.
|
|
55
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list
|
|
56
|
+
* of conditions and the following disclaimer in the documentation and/or other materials
|
|
57
|
+
* provided with the distribution.
|
|
58
|
+
*
|
|
59
|
+
* Neither the name of the author nor the names of contributors may be used to endorse
|
|
60
|
+
* or promote products derived from this software without specific prior written permission.
|
|
61
|
+
*
|
|
62
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
63
|
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
64
|
+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
65
|
+
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
66
|
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
67
|
+
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
68
|
+
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
69
|
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
70
|
+
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
71
|
+
*
|
|
72
|
+
*/
|