释放双眼,带上耳机,听听看~!
此区块和前两个区块都有”异出同共“之妙,各有亮点。
效果:
废话不多说,首页后台新增模块自定义代码html:
<div id="home-row-foots_ass" class=" home_row home_row_4 module-html "
style="background-color:;">
<div class="wrapper">
<div class="home-row-left content-area ">
<div id="html-box-foots_ass" class="html-box">
<div id="banner-bear" class="preserve3d csstransforms3d">
<p class="typing web-font transition">墨梅欢迎您的到来</p>
<div class="primary-menus">
<ul class="selects">
<li>常用</li>
<li data-target="search_1"><span>百度</span></li>
<li class="" data-target="search_2"><span>Bing</span></li>
<li data-target="search_3" class="current"><span>站内</span></li>
<li data-target="search_4"><span>360</span></li>
<li data-target="search_5"><span>搜狗</span></li>
<li data-target="search_6"><span>天猫</span></li>
<li data-target="search_7"><span>淘宝</span></li>
<li data-target="search_8"><span>知乎</span></li>
</ul>
<div class="cont">
<div class="left-cont">
<form class="search hidden" id="search_1"
action="https://www.baidu.com/s?wd=" method="get"
target="_blank">
<input type="text" name="wd" class="s" placeholder="请输入关键词">
<button type="submit" name="" class="btn">百度搜索</button>
</form>
<form class="search hidden" id="search_2"
action="https://cn.bing.com/search?q=" method="get"
target="_blank">
<input type="text" name="q" class="s" placeholder="请输入关键词">
<button type="submit" name="" class="btn">Bing搜索</button>
</form>
<form class="search" id="search_3"
action="https://momeis.net/?s=" method="get" target="_blank">
<input type="text" name="s" class="s" placeholder="请输入关键词">
<button type="submit" name="" class="btn">站内搜索</button>
</form>
<form class="search hidden" id="search_4"
action="https://www.so.com/s?q=" method="get" target="_blank">
<input type="text" name="query" class="s" placeholder="请输入关键词">
<button type="submit" name="" class="btn">360搜索</button>
</form>
<form class="search hidden" id="search_5"
action="https://www.sogou.com/web?query=" method="get"
target="_blank">
<input type="text" name="q" class="s" placeholder="请输入关键词">
<button type="submit" name="" class="btn">搜狗搜索</button>
</form>
<form class="search hidden" id="search_6"
action="https://list.tmall.com/search_product.htm?q="
method="get" target="_blank">
<input type="text" name="q" class="s" placeholder="请输入关键词">
<button type="submit" name="" class="btn">天猫搜索</button>
</form>
<form class="search hidden" id="search_7"
action="https://s.taobao.com/search?q=" method="get"
target="_blank">
<input type="text" name="q" class="s" placeholder="请输入关键词">
<button type="submit" name="" class="btn">淘宝搜索</button>
</form>
<form class="search hidden" id="search_8"
action="https://www.zhihu.com/search?q=" method="get"
target="_blank">
<input type="text" name="q" class="s" placeholder="请输入关键词">
<button type="submit" name="" class="btn">知乎搜索</button>
</form>
</div>
</div>
</div>
<div class="banner-wrap scenes-ready">
<div id="stage">
<div class="space"></div>
<div class="mountains">
<div class="mountain mountain-1"></div>
<div class="mountain mountain-2"></div>
<div class="mountain mountain-3"></div>
</div>
<div class="bear"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
js:
1.
$(function(){$(".header").after('<div id="m-nav" class="m-nav"><div class="m-wrap"></div><div id="m-btn" class="m-btn"><i class="fa fa-remove"></i></div>');$(".sub-menu").before('<em class="dot"><i class="fa fa-angle-down"></i></em>');$(".container .nav").clone(false).appendTo(".m-wrap");$(".m-btn").click(function(){$("#m-nav").toggleClass("m-open").siblings("#m-nav").removeClass("m-open");$("#mask").slideToggle(0).siblings("#mask").slideToggle(0);$("body").toggleClass("open").siblings("body").removeClass("open")});$(".dot").click(function(G){f($(this),".ul-subcates");G.stopPropagation()});function f(f,G){f.next().slideToggle();f.parent().siblings().find(".fa").removeClass("open");f.parent().siblings().find(G).slideUp();var b=f.find(".fa");if(b.hasClass("open")){b.removeClass("open")}else{b.addClass("open")}}$(".nav-bar li").hover(function(){$(this).addClass("on")},function(){$(this).removeClass("on")});$(".s-btn").on("click",function(){var f=$(this);if(f.hasClass("off")){f.removeClass("fa-search off").addClass("fa-remove no");$(".s-form").slideToggle(200)}else{f.removeClass("fa-remove no").addClass("fa-search off");$(".s-form").slideToggle(100)}});$("#mask").click(function(){$(this).hide();$(".search-bg").hide();$("#m-nav").removeClass("m-open");$("body").removeClass("open")})});jQuery(document).ready(function(f){var G=f("#nav-box").attr("data-type");f(".nav>li").each(function(){try{var b=f(this).attr("id");if("index"==G){if(b=="nvabar-item-index"){f("#nvabar-item-index").addClass("active")}}else if("category"==G){var T=f("#nav-box").attr("data-infoid");if(T!=null){var fO=T.split(" ");for(var d=0;d<fO.length;d++){if(b=="navbar-category-"+fO[d]){f("#navbar-category-"+fO[d]+"").addClass("active")}}}}else if("article"==G){var T=f("#nav-box").attr("data-infoid");if(T!=null){var fO=T.split(" ");for(var d=0;d<fO.length;d++){if(b=="navbar-category-"+fO[d]){f("#navbar-category-"+fO[d]+"").addClass("active")}}}}else if("page"==G){var T=f("#nav-box").attr("data-infoid");if(T!=null){if(b=="navbar-page-"+T){f("#navbar-page-"+T+"").addClass("active")}}}else if("tag"==G){var T=f("#nav-box").attr("data-infoid");if(T!=null){if(b=="navbar-tag-"+T){f("#navbar-tag-"+T+"").addClass("active")}}}}catch(f){}});f("#nav-box").delegate("a","click",function(){f(".nav>li").each(function(){f(this).removeClass("active")});if(f(this).closest("ul")!=null&&f(this).closest("ul").length!=0){if(f(this).closest("ul").attr("id")=="munavber"){f(this).addClass("active")}else{f(this).closest("ul").closest("li").addClass("active")}}})});
/* 核心库 */
(function(g){
//为ie9以下浏览器添加Object.create方法
if (typeof Object.create !== "function") {
Object.create = function (proto, propertiesObject) {
if (typeof proto !== 'object' && typeof proto !== 'function') {
throw new TypeError('Object prototype may only be an Object: ' + proto);
} else if (proto === null) {
throw new Error("This browser's implementation of Object.create is a shim and doesn't support 'null' as the first argument.");
}
if (typeof propertiesObject != 'undefined') throw new Error("This browser's implementation of Object.create is a shim and doesn't support a second argument.");
function F() {}
F.prototype = proto;
return new F();
};
}
//curry函数
var createCurry=function (fn,args) {
if (args.length>=fn.length) {
return fn.apply(fn,args);
}
return function () {
if (arguments.length==0) arguments=[null];
return createCurry(fn,args.concat([].slice.apply(arguments)));
}
}
var curry=function (fn) {
if(typeof fn !='function') return null;
return function () {
if (arguments.length==0) arguments=[null];
return createCurry(fn,[].slice.apply(arguments));
}
};
//compose函数,从左至右执行
var flow=function () {
var args=arguments;
return function (x) {
for (var i = 0; i < args.length ; i++) {
if (typeof args[i] == 'function') {
x=args[i].call(null,x);
}
}
return x;
}
};
var match=curry(function (q,str) {
return String.prototype.match.call(str,q) || [];
});
var replace=curry(function (q,r,str) {
return String.prototype.replace.call(str,q,r);
});
var trim=replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,'');
//用于字符串补位,第一个参数决定是否右补位(否则就是左补位),第二个参数为补位用的字符串,第三个是补位长度,第四个是应用字符串
var pad=curry(function (right,add,len,str) {
if (!isExist(right)) right=false;
if (!isExist(add)) add='0';
str=parseInt(str);
if (!isString(str)) str=str+'';
var needLen=len-str.length;
var needStr='';
while(needStr.length<needLen) {
needStr+=add;
}
needStr=needStr.substring(0,needLen);
return right ? str+needStr : needStr+str;
});
//用于检查变量类型
var checkType=curry(function (type,x) {
switch (type) {
case 'array':
return Object.prototype.toString.call(x) === '[object Array]';
break;
case 'object':
return Object.prototype.toString.call(x) === '[object Object]';
break;
case 'regexp':
return Object.prototype.toString.call(x) === '[object RegExp]';
break;
default:
return typeof x == type;
}
});
var isObject=checkType('object');
var isFunction=checkType('function');
var isString=checkType('string');
var isNumber=checkType('number');
var isBoolean=checkType('boolean');
var isArray=checkType('array');
var isRegExp=checkType('regexp');
var isExist=function (x) {
return x!=null;
};
var isEmpty=function (x) {
if(!isExist(x)) return true;
if(isArray(x)) x=x.toString();
if(isString(x)) return trim(x).length===0;
if(isObject(x)) {
for (var p in x) {
if (x.hasOwnProperty(p)) {
return false;
}
}
return true;
}
if(Math.abs(x-0)===0) return true;
return false;
};
var isNotEmpty=function (x) {
return !isEmpty(x);
};
var getDocument=curry(function (prop,get) {
return document.documentElement[prop] || document.body[prop] || 0;
});
var clientWidthBigThen=curry(function (w,get) {
return getDocument('clientWidth','')>=w;
});
var isIos=flow(match(/(iPhone|iPod|ios|iPad)/i),isNotEmpty);
var isAndroid=flow(match(/Android/i),isNotEmpty);
var isOtherMobile=flow(match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i),isNotEmpty);
var isMobile=function (){
var u=navigator.userAgent;
if (isIos(u)) return 'ios';
if (isAndroid(u)) return 'android';
if (isOtherMobile(u)) return 'mobile';
return false;
};
var deepCopy=function (sth) {
var re;
if (isObject(sth)) {
re={};
for (var key in sth) {
if (sth.hasOwnProperty(key)) {
re[key]=this.deepCopy(sth[key]);
}
}
}else{
re=sth;
}
return re;
};
var toArray=function (sth) {
var re=[];
if (isObject(sth)) {
for (var key in sth) {
if (sth.hasOwnProperty(key)) {
if (isObject(sth[key])) {
re.push(this.toArray(sth[key]));
}else{
re.push(sth[key]);
}
}
}
}else{
re.push(sth);
}
return re;
};
var jsonEncode=function (str) {
return JSON.stringify(str);
};
var jsonDecode=function (str) {
var opt;
try {
opt=JSON.parse(str);
} catch (e) {
opt=null;
console.dir(e);
}
return opt;
};
var isDate=match(/^\d{4}[-\/][01]\d[-\/][0-3]\d(\s+[0-2]\d(:[0-5]\d(:[0-5]\d)?)?)?/gi);
var dateDiff=function (f,b,a) {
if (!isString(b) || !isString(a) || !isDate(b) || !isDate(a)) {
console.dir('date format is wrong');
return null;
}
b=new Date(replace(/\-/g,'/',b)).getTime();//ios不认时间格式:YYYY-MM-DD要改为YYYY/MM/DD
a=new Date(replace(/\-/g,'/',a)).getTime();
if (isNaN(b) || isNaN(a)) {
console.dir('date format is wrong');
return null;
}
var diff=a-b;
var div=1;
switch (f) {
case 'week':
div=7*24*3600*1000;
break;
case 'day':
div=24*3600*1000;
break;
case 'hour':
div=3600*1000;
break;
case 'minute':
div=60*1000;
break;
case 'second':
div=1000;
break;
default:
div=1;
}
return Math.floor(diff/div);
};
//获取cookie
var getCookie=function (name) {
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
if(arr=document.cookie.match(reg)){
return decodeURIComponent(arr[2]);
}
return '';
};
//设置cookie
var setCookie=function (cname,cvalue,exdays,currentPath) {
if (!isExist(exdays)) exdays=1;
exdays=exdays-0;
if(isNaN(exdays)) exdays=1;
if (!isExist(currentPath)) {
path=';path=/';
}else{
path='';
}
var d=new Date();
d.setTime(d.getTime()+(exdays*24*60*60*1000));
var expires="expires="+d.toUTCString();
document.cookie=cname+"="+encodeURIComponent(cvalue)+"; "+expires+path;
};
//清除cookie
var delCookie=function (name) {
setCookie(name, "", -1);
};
var returnTrue=function () {
return true;
};
var returnFalse=function () {
return false;
};
var of=function (x) {
return function () {
return x;
};
};
//生成单件对象
var getSingle=function (fn) {
var x;
return function () {
return x || (x=fn.apply(x,arguments));
}
};
var Suiranx={
curry:curry,
flow:flow,
of:of,
getSingle:getSingle,
returnFalse:returnFalse,
returnTrue:returnTrue,
match:match,
replace:replace,
deepCopy:deepCopy,
toArray:toArray,
jsonEncode:jsonEncode,
jsonDecode:jsonDecode,
lpad:pad(),
rpad:pad(true),
getCookie:getCookie,
setCookie:setCookie,
delCookie:delCookie,
isObject:isObject,
isString:isString,
isBoolean:isBoolean,
isNumber:isNumber,
isArray:isArray,
isFunction:isFunction,
isRegExp:isRegExp,
isExist:isExist,
isEmpty:isEmpty,
isNotEmpty:isNotEmpty,
dateDiff:dateDiff,
clientWidthBigThen:clientWidthBigThen,
getDocument:getDocument,
};
var Suiranx=Object.create(Suiranx);
Suiranx.trim=trim;
Suiranx.isMobile=isMobile;
Suiranx.sm=clientWidthBigThen(768);
Suiranx.md=clientWidthBigThen(992);
Suiranx.lg=clientWidthBigThen(1200);
Suiranx.st=getDocument('scrollTop');
Suiranx.ct=getDocument('clientHeight');
Suiranx.cl=getDocument('clientWidth');
g.orz=Suiranx;
})(window);
(function($){
//用于判断变量是否是jQuery对象
orz.isjQuery=function (x) {
return x instanceof jQuery;
};
//页面是否正在执行滚动脚本
orz.isScrolling=function () {
if ($('body').hasClass('scrolling')) return true;
return false;
};
//页内滚动开始时执行
orz.startScroll=function (j) {
$('body').addClass('scrolling');
if (orz.isjQuery(j)) {
j.trigger('startScroll');
}
};
//页面滚动结束时执行
orz.endScroll=function (j) {
$('body').removeClass('scrolling');
if (orz.isjQuery(j)) {
j.trigger('endScroll');
}
};
})(jQuery);
(function($){
//用于页面指定跳转至某个元素的位置
orz.scrollTo=function (j,offset,speed) {
if (orz.isMobile()) return;
if (orz.isScrolling()) return;
if (!orz.isjQuery(j)) return;
var t=j;
if (t.length<1) return;
var that=$(this);
var diff=offset-0;
var s=1000;//默认速度
var st=orz.st();
var offset=t.offset();
var l=offset.top;
if (!isNaN(diff)) l=l+diff;
var len=Math.abs(st-l);
if (isNaN(speed) || speed<=0) speed=s*len/4000;
orz.startScroll(that);
$('html,body').animate({
scrollTop:l
},speed,function (){
orz.endScroll(that);
});
return false;
};
})(jQuery);
//当前页带#链接auto scrollTo #
//依赖Suiranx.scrollTo
jQuery(function ($){
function getID(j) {
var href=j.attr('data-href');
if (!href) {
href=j.attr('href');
}
var rs=href.split('#');
var lh=location.href;
var lhrs=lh.split('#');
if (rs[0] && rs[0]!=lhrs[0]) {
return '';
}
return rs.pop();
}
$('body').on('click','.auto-scroll',function (){
if (orz.isMobile()) return;
if (orz.isScrolling()) return;
var target=getID($(this));
if (!target) return;
var t=$('#'+target);
if (t.length<1) return;
var that=$(this);
var diff=$(this).attr('data-offset')-0;
var speed=$(this).attr('data-speed')-0;
orz.scrollTo(t,diff,speed);
return false;
});
});
(function($){
var p=$('.part');
if(p.length<1) return;
var arr=[];
function part_offset_top() {
p.each(function () {
var of=$(this).offset();
arr.push(Math.floor(of.top));
});
}
function goto_current(index) {
var a=$('#goto dd');
var b=$('#goto dt');
if(a.length<1) return;
var h=a.outerHeight();
if (!a.eq(index).hasClass('current')) {
a.removeClass('current');
a.eq(index).addClass('current');
b.animate({
'top': h*index+(a.outerHeight()-b.outerHeight())/2+1
},50);
}
}
function window_scroll() {
var st=window.pageYOffset
|| document.documentElement.scrollTop
|| document.body.scrollTop
|| 0;
var limit=Math.ceil(st+78);
var index=0;
for (var i = 0; i < arr.length; i++) {
if (limit>=arr[i]) {
index=i;
}else{
break;
}
}
if (index<0) index=0;
if (!p.eq(index).hasClass('current')) {
p.removeClass('current');
p.eq(index).addClass('current');
goto_current(index);
}
}
part_offset_top();
setTimeout(window_scroll,0);
$(window).on('scroll',window_scroll);
})(jQuery);
/* 侧边栏滚动时固定 */
(function($){
var s=$('.quick-nav');
if(s.length<1) return;
var c=s.children('.content-sidebar');
if(c.length<1) return;
var $parent=s.parent();
if($parent.length<1) return;
var start=0,stop=0,cHeight=0;
function init() {
var soffset=s.offset();
start=soffset.top;
stop=start+$parent.height();
cinit();
}
function cinit() {
cHeight=c.height();
}
function cClear(){
c.removeClass('fixed');
c.removeClass('absolute');
}
function check_scroll(){
var st=window.pageYOffset
|| document.documentElement.scrollTop
|| document.body.scrollTop
|| 0;
if (st<=start) {
cClear();
}
if (st>=stop-cHeight) {
c.removeClass('fixed');
c.addClass('absolute');
return;
}
if (st<stop-cHeight && st>start) {
c.removeClass('absolute');
c.addClass('fixed');
}
}
var dl=$('.content-sidebar dl');
if (dl.length<1) return;
var $part=$('.part');
if($part.length<1) return;
var arr=[];
$part.each(function () {
var title=$(this).attr('data-title');
var id=$(this).attr('id');
if (title && id) {
arr.push({
title: title,
id: id
});
}
});
var html='';
html+='<dt><span class="show-list"></span></dt>';
for (var i = 0; i < arr.length; i++) {
html+='<dd><a href="#'+arr[i].id+'" class="auto-scroll" rel="nofollow" data-offset="-78" data-speed=500>'+arr[i].title+'</a></dd>';
}
dl.html(html);
init();
check_scroll();
$(window).on('resize',init);
$(window).on('scroll',check_scroll);
window.onload=function () {
init();
};
})(jQuery);
(function($){
var $focus=$('.focus');
if($focus.length<1) return;
var $a=$focus.children('a');
if($a.length<1) return;
$a.each(function (i) {
var s=i % 4;
$(this).css('animation-delay',s*0.1+'s');
});
function ainit() {
$a.toggleClass('hide');
setTimeout(ainit,5000);
}
setTimeout(ainit,5000);
})(jQuery);
//搜索选择
(function($){
var m=$('.primary-menus');
if(m.length<1) return;
var ul=m.find('.selects');
if(ul.length<1) return;
var lis=ul.children('li');
if(lis.length<1) return;
var s=m.find('.search');
var sVal=s.find('.s').val();
lis.on('click',function () {
var d=$(this).attr('data-target');
if (d) {
lis.removeClass('current');
$(this).addClass('current');
s.addClass('hidden');
s.filter('#'+d).removeClass('hidden');
//s.filter('#'+d).find('.s').val('');
s.filter('#'+d).find('.s').trigger('focusin');
}
});
s.find('.s').on('focusin',function () {
if ($(this).val()==sVal) {
$(this).val('');
}
})
s.find('.s').on('focusout',function () {
var v=$(this).val();
if (orz.isEmpty(v)) {
v=sVal;
}
s.find('.s').val(v);
})
})(jQuery);
//顶部搜索框点击全选
(function($){
$('input.s').on('focusin',function () {
$(this).select();
});
})(jQuery);
$(function(){var f=$("#flink a");f.addClass("fa fa-star-o")});
$(function(){$(window).scroll(function(){var f=$(window).scrollTop();if(f>1){$("#backtop").fadeIn().css({bottom:"170px"});$("#quick_submit").fadeIn().css({bottom:"220px"})}else{$("#backtop").fadeOut();$("#quick_submit").fadeOut()}});$("#backtop").click(function(){$("html, body").animate({scrollTop:0},300);$(this).animate({bottom:"1500px"},500)})});
$(document).ready(function(){var f=document.location;$("#divNavBar a").each(function(){if(this.href==f.toString().split("#")[0]){$(this).addClass("on");return false}})})
/*!* jquery.tooltip.js 0.0.1 - https://github.com/yckart/jquery.tooltip.js*/
;(function(f,G,b){var T="tooltip",fO={fade:false,fallback:"",align:"autoTop",html:false,attr:"title",trigger:{show:"ontouchend"in b?"touchstart":"mouseenter",hide:"ontouchend"in b?"touchend":"mouseleave"},delay:{show:0,hide:0}};function d(T,d){d=f.extend({},fO,d);var V=f(T),a;V.on("tooltip:show "+d.trigger.show,function(){f.data(this,"cancel.tooltip",true);var T=f.data(this,"active.tooltip");if(!T){T=f('<div class="tooltip"><div class="tooltip-inner"/></div>').css({position:"absolute",zIndex:1e5});f.data(this,"active.tooltip",T)}if(V.attr("title")||typeof V.attr("original-title")!=="string"){V.attr("original-title",V.attr("title")||"").removeAttr("title")}var fO;if(typeof d.attr==="string"){fO=V.attr(d.attr==="title"?"original-title":d.attr)}else{if(typeof d.attr=="function"){fO=d.attr.call(this)}}T.find(".tooltip-inner")[d.html?"html":"text"](fO||d.fallback);var K=f.extend({},V.offset(),{width:this.offsetWidth,height:this.offsetHeight});T[0].className="tooltip";T.remove().css({top:0,left:0,opacity:0}).appendTo(b.body);var c=T[0].offsetWidth,N=T[0].offsetHeight,aQ=d.align==="autoTop"?K.top>f(b).scrollTop()+f(G).height()/2?"t":"b":K.left>f(b).scrollLeft()+f(G).width()/2?"l":"r";switch(d.align.charAt(0)==="a"?aQ:d.align.charAt(0)){case"b":T.css({top:K.top+K.height,left:K.left+K.width/2-c/2}).addClass("tooltip-bottom");break;case"t":T.css({top:K.top-N,left:K.left+K.width/2-c/2}).addClass("tooltip-top");break;case"l":T.css({top:K.top+K.height/2-N/2,left:K.left-c}).addClass("tooltip-left");break;case"r":T.css({top:K.top+K.height/2-N/2,left:K.left+K.width}).addClass("tooltip-right");break}clearTimeout(a);T.stop().delay(d.delay.show).fadeTo(d.fade?d.fade.duration:0,d.fade.opacity||.8,d.fade.complete)});V.on("tooltip:hide "+d.trigger.hide,function(){f.data(this,"cancel.tooltip",false);var G=this;a=setTimeout(function(){if(f.data(G,"cancel.tooltip")){return}var b=f.data(G,"active.tooltip");if(d.fade){b.stop().fadeTo(d.fade.duration,0,function(){b.remove();if(d.fade.complete){d.fade.complete(true)}})}else{b.remove()}},d.delay.hide)})}f.fn[T]=function(G){return this.each(function(){if(!f.data(this,"plugin_"+T)){f.data(this,"plugin_"+T,new d(this,G))}})}})(jQuery,window,document);
/**jQuery.positionSticky.min.js**/
!function(t,e){!function(){for(var t=0,i=["ms","moz","webkit","o"],n=0;n<i.length&&!e.requestAnimationFrame;++n)e.requestAnimationFrame=e[i[n]+"RequestAnimationFrame"],e.cancelAnimationFrame=e[i[n]+"CancelAnimationFrame"]||e[i[n]+"CancelRequestAnimationFrame"];e.requestAnimationFrame||(e.requestAnimationFrame=function(i){var n=(new Date).getTime(),o=Math.max(0,16-(n-t)),s=e.setTimeout(function(){i(n+o)},o);return t=n+o,s}),e.cancelAnimationFrame||(e.cancelAnimationFrame=function(t){clearTimeout(t)})}();var i={POS_SCHEME_STATIC:100,POS_SCHEME_FIXED:200,POS_SCHEME_ABSOLUTE:300,create:function(t,e){return"undefined"==typeof e&&(e={}),Object.create(i).init(t,e)},init:function(t,n){return this.constructor=i,this.window=e,this.element=t,this.container=t.parentNode,this.posScheme=i.POS_SCHEME_STATIC,this.isTicking=!1,this.threshold=null,this.options=n,this.boundingBoxHeight=null,this.latestKnownScrollY=this.window.pageYOffset,this.validateContainerPosScheme(),this.setOffsetTop(),this.setOffsetBottom(),this.calcThreshold(),this.setElementWidth(),this.setBoundingBoxHeight(),this.createPlaceholder(),this.subscribeToWindowScroll(),this},validateContainerPosScheme:function(){var t=this.container.style.position;"relative"!=t&&"absolute"!=t&&(this.container.style.position="relative")},setOffsetTop:function(){if("number"==typeof this.options.offsetTop&&this.options.offsetTop>=0)this.offsetTop=this.options.offsetTop;else{var t=parseInt(this.window.getComputedStyle(this.container).borderTopWidth,10),e=parseInt(this.window.getComputedStyle(this.container).paddingTop,10);this.offsetTop=t+e}},setOffsetBottom:function(){var t=parseInt(this.window.getComputedStyle(this.container).borderBottomWidth,10),e=parseInt(this.window.getComputedStyle(this.container).paddingBottom,10);this.offsetBottom=t+e},calcThreshold:function(){this.threshold=this.getElementDistanceFromDocumentTop()-this.offsetTop},setElementWidth:function(){var t=this.window.getComputedStyle(this.element).width;this.element.style.width=t},setBoundingBoxHeight:function(t){this.boundingBoxHeight=this.element.getBoundingClientRect().height,t===!0&&(this.placeholder.style.height=this.boundingBoxHeight+"px")},createPlaceholder:function(){var t=document.createElement("DIV"),e=this.element.getBoundingClientRect().width+"px",i=this.boundingBoxHeight+"px",n=this.window.getComputedStyle(this.element).margin,o=this.window.getComputedStyle(this.element).float;t.style.display="none",t.style.width=e,t.style.height=i,t.style.margin=n,t.style.float=o,this.container.insertBefore(t,this.element),this.placeholder=t},subscribeToWindowScroll:function(){this.window.addEventListener("scroll",this.onScroll.bind(this))},onScroll:function(){this.isTicking||(this.latestKnownScrollY=this.window.pageYOffset,this.window.requestAnimationFrame(this.update.bind(this)),this.isTicking=!0)},isStatic:function(){return this.posScheme===i.POS_SCHEME_STATIC},makeStatic:function(){this.element.style.position="static",this.placeholder.style.display="none",this.posScheme=i.POS_SCHEME_STATIC},isFixed:function(){return this.posScheme===i.POS_SCHEME_FIXED},makeFixed:function(){this.element.style.bottom=null,this.element.style.position="fixed",this.element.style.top=this.offsetTop+"px",this.placeholder.style.display="block",this.posScheme=i.POS_SCHEME_FIXED},isAbsolute:function(){return this.posScheme===i.POS_SCHEME_ABSOLUTE},makeAbsolute:function(){this.element.style.top=null,this.element.style.position="absolute",this.element.style.bottom=this.offsetBottom+"px",this.placeholder.style.display="block",this.posScheme=i.POS_SCHEME_ABSOLUTE},update:function(){this.isTicking=!1,this.isBelowThreshold()?this.isStatic()||this.makeStatic():this.canStickyFitInContainer()?this.isFixed()||this.makeFixed():this.isAbsolute()||this.makeAbsolute()},isBelowThreshold:function(){return this.latestKnownScrollY<this.threshold?!0:!1},canStickyFitInContainer:function(){return this.getAvailableSpaceInContainer()>=this.boundingBoxHeight},getAvailableSpaceInContainer:function(){return this.container.getBoundingClientRect().bottom-this.offsetBottom-this.offsetTop},getElementDistanceFromDocumentTop:function(){var t=this.isStatic()?this.element:this.placeholder,e=this.latestKnownScrollY+t.getBoundingClientRect().top;return e},refresh:function(){this.calcThreshold(),this.setBoundingBoxHeight(!0)}};t.fn.positionSticky=function(e){return this.each(function(){var n=t(this),o=n.data("positionSticky");o||n.data("positionSticky",o=i.create(this,e)),"string"==typeof e&&o[e]()})}}(jQuery,window);
2.
/**
* Swiper 3.0.5
* http://www.idangero.us/swiper/
*/
!function(){"use strict";function e(e){e.fn.swiper=function(a){var t;return e(this).each(function(){var e=new Swiper(this,a);t||(t=e)}),t}}window.Swiper=function(e,a){function t(){return"horizontal"===m.params.direction}function r(){m.autoplayTimeoutId=setTimeout(function(){m.params.loop?(m.fixLoop(),m._slideNext()):m.isEnd?a.autoplayStopOnLast?m.stopAutoplay():m._slideTo(0):m._slideNext()},m.params.autoplay)}function s(e,a){var t=f(e.target);if(!t.is(a))if("string"==typeof a)t=t.parents(a);else if(a.nodeType){var r;return t.parents().each(function(e,t){t===a&&(r=a)}),r?a:void 0}return 0===t.length?void 0:t[0]}function i(e,a){a=a||{};var t=window.MutationObserver||window.WebkitMutationObserver,r=new t(function(e){e.forEach(function(e){m.onResize(),m.emit("onObserverUpdate",m,e)})});r.observe(e,{attributes:"undefined"==typeof a.attributes?!0:a.attributes,childList:"undefined"==typeof a.childList?!0:a.childList,characterData:"undefined"==typeof a.characterData?!0:a.characterData}),m.observers.push(r)}function n(e){e.originalEvent&&(e=e.originalEvent);var a=e.keyCode||e.charCode;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===a||39===a||38===a||40===a){var r=!1;if(m.container.parents(".swiper-slide").length>0&&0===m.container.parents(".swiper-slide-active").length)return;for(var s={left:window.pageXOffset,top:window.pageYOffset},i=window.innerWidth,n=window.innerHeight,o=m.container.offset(),l=[[o.left,o.top],[o.left+m.width,o.top],[o.left,o.top+m.height],[o.left+m.width,o.top+m.height]],p=0;p<l.length;p++){var d=l[p];d[0]>=s.left&&d[0]<=s.left+i&&d[1]>=s.top&&d[1]<=s.top+n&&(r=!0)}if(!r)return}t()?((37===a||39===a)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),39===a&&m.slideNext(),37===a&&m.slidePrev()):((38===a||40===a)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),40===a&&m.slideNext(),38===a&&m.slidePrev())}}function o(e){e.originalEvent&&(e=e.originalEvent);var a=m._wheelEvent,r=0;if(e.detail)r=-e.detail;else if("mousewheel"===a)if(m.params.mousewheelForceToAxis)if(t()){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;r=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;r=e.wheelDeltaY}else r=e.wheelDelta;else if("DOMMouseScroll"===a)r=-e.detail;else if("wheel"===a)if(m.params.mousewheelForceToAxis)if(t()){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;r=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;r=-e.deltaY}else r=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(m.params.freeMode){var s=m.getWrapperTranslate()+r;if(s>0&&(s=0),s<m.maxTranslate()&&(s=m.maxTranslate()),m.setWrapperTransition(0),m.setWrapperTranslate(s),m.updateProgress(),m.updateActiveIndex(),0===s||s===m.maxTranslate())return}else(new Date).getTime()-m._lastWheelScrollTime>60&&(0>r?m.slideNext():m.slidePrev()),m._lastWheelScrollTime=(new Date).getTime();return m.params.autoplay&&m.stopAutoplay(),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function l(e,a){e=f(e);var r,s,i;r=e.attr("data-swiper-parallax")||"0",s=e.attr("data-swiper-parallax-x"),i=e.attr("data-swiper-parallax-y"),s||i?(s=s||"0",i=i||"0"):t()?(s=r,i="0"):(i=r,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*a+"%":s*a+"px",i=i.indexOf("%")>=0?parseInt(i,10)*a+"%":i*a+"px",e.transform("translate3d("+s+", "+i+",0px)")}function p(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}if(!(this instanceof Swiper))return new Swiper(e,a);var d={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,scrollbar:null,scrollbarHide:!0,keyboardControl:!1,mousewheelControl:!1,mousewheelForceToAxis:!1,hashnav:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,pagination:null,paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationHiddenClass:"swiper-pagination-hidden",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",runCallbacksOnInit:!0};a=a||{};for(var u in d)if("undefined"==typeof a[u])a[u]=d[u];else if("object"==typeof a[u])for(var c in d[u])"undefined"==typeof a[u][c]&&(a[u][c]=d[u][c]);var m=this;m.params=a,m.classNames=[];var f;if(f="undefined"==typeof Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7,f&&(m.$=f,m.container=f(e),0!==m.container.length)){if(m.container.length>1)return void m.container.each(function(){new Swiper(this,a)});m.container[0].swiper=m,m.container.data("swiper",m),m.classNames.push("swiper-container-"+m.params.direction),m.params.freeMode&&m.classNames.push("swiper-container-free-mode"),m.support.flexbox||(m.classNames.push("swiper-container-no-flexbox"),m.params.slidesPerColumn=1),(m.params.parallax||m.params.watchSlidesVisibility)&&(m.params.watchSlidesProgress=!0),["cube","coverflow"].indexOf(m.params.effect)>=0&&(m.support.transforms3d?(m.params.watchSlidesProgress=!0,m.classNames.push("swiper-container-3d")):m.params.effect="slide"),"slide"!==m.params.effect&&m.classNames.push("swiper-container-"+m.params.effect),"cube"===m.params.effect&&(m.params.resistanceRatio=0,m.params.slidesPerView=1,m.params.slidesPerColumn=1,m.params.slidesPerGroup=1,m.params.centeredSlides=!1,m.params.spaceBetween=0,m.params.virtualTranslate=!0,m.params.setWrapperSize=!1),"fade"===m.params.effect&&(m.params.slidesPerView=1,m.params.slidesPerColumn=1,m.params.slidesPerGroup=1,m.params.watchSlidesProgress=!0,m.params.spaceBetween=0,m.params.virtualTranslate=!0),m.params.grabCursor&&m.support.touch&&(m.params.grabCursor=!1),m.wrapper=m.container.children("."+m.params.wrapperClass),m.params.pagination&&(m.paginationContainer=f(m.params.pagination),m.params.paginationClickable&&m.paginationContainer.addClass("swiper-pagination-clickable")),m.rtl=t()&&("rtl"===m.container[0].dir.toLowerCase()||"rtl"===m.container.css("direction")),m.rtl&&m.classNames.push("swiper-container-rtl"),m.rtl&&(m.wrongRTL="-webkit-box"===m.wrapper.css("display")),m.params.slidesPerColumn>1&&m.classNames.push("swiper-container-multirow"),m.device.android&&m.classNames.push("swiper-container-android"),m.container.addClass(m.classNames.join(" ")),m.translate=0,m.progress=0,m.velocity=0,m.lockSwipeToNext=function(){m.params.allowSwipeToNext=!1},m.lockSwipeToPrev=function(){m.params.allowSwipeToPrev=!1},m.lockSwipes=function(){m.params.allowSwipeToNext=m.params.allowSwipeToPrev=!1},m.unlockSwipeToNext=function(){m.params.allowSwipeToNext=!0},m.unlockSwipeToPrev=function(){m.params.allowSwipeToPrev=!0},m.unlockSwipes=function(){m.params.allowSwipeToNext=m.params.allowSwipeToPrev=!0},m.params.grabCursor&&(m.container[0].style.cursor="move",m.container[0].style.cursor="-webkit-grab",m.container[0].style.cursor="-moz-grab",m.container[0].style.cursor="grab"),m.imagesToLoad=[],m.imagesLoaded=0,m.loadImage=function(e,a,t,r){function s(){r&&r()}var i;e.complete&&t?s():a?(i=new Image,i.onload=s,i.onerror=s,i.src=a):s()},m.preloadImages=function(){function e(){"undefined"!=typeof m&&null!==m&&(void 0!==m.imagesLoaded&&m.imagesLoaded++,m.imagesLoaded===m.imagesToLoad.length&&(m.params.updateOnImagesReady&&m.update(),m.emit("onImagesReady",m)))}m.imagesToLoad=m.container.find("img");for(var a=0;a<m.imagesToLoad.length;a++)m.loadImage(m.imagesToLoad[a],m.imagesToLoad[a].currentSrc||m.imagesToLoad[a].getAttribute("src"),!0,e)},m.autoplayTimeoutId=void 0,m.autoplaying=!1,m.autoplayPaused=!1,m.startAutoplay=function(){return"undefined"!=typeof m.autoplayTimeoutId?!1:m.params.autoplay?m.autoplaying?!1:(m.autoplaying=!0,m.emit("onAutoplayStart",m),void r()):!1},m.stopAutoplay=function(){m.autoplayTimeoutId&&(m.autoplayTimeoutId&&clearTimeout(m.autoplayTimeoutId),m.autoplaying=!1,m.autoplayTimeoutId=void 0,m.emit("onAutoplayStop",m))},m.pauseAutoplay=function(e){m.autoplayPaused||(m.autoplayTimeoutId&&clearTimeout(m.autoplayTimeoutId),m.autoplayPaused=!0,0===e?(m.autoplayPaused=!1,r()):m.wrapper.transitionEnd(function(){m.autoplayPaused=!1,m.autoplaying?r():m.stopAutoplay()}))},m.minTranslate=function(){return-m.snapGrid[0]},m.maxTranslate=function(){return-m.snapGrid[m.snapGrid.length-1]},m.updateContainerSize=function(){m.width=m.container[0].clientWidth,m.height=m.container[0].clientHeight,m.size=t()?m.width:m.height},m.updateSlidesSize=function(){m.slides=m.wrapper.children("."+m.params.slideClass),m.snapGrid=[],m.slidesGrid=[],m.slidesSizesGrid=[];var e,a=m.params.spaceBetween,r=0,s=0,i=0;"string"==typeof a&&a.indexOf("%")>=0&&(a=parseFloat(a.replace("%",""))/100*m.size),m.virtualSize=-a,m.slides.css(m.rtl?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""});var n;m.params.slidesPerColumn>1&&(n=Math.floor(m.slides.length/m.params.slidesPerColumn)===m.slides.length/m.params.slidesPerColumn?m.slides.length:Math.ceil(m.slides.length/m.params.slidesPerColumn)*m.params.slidesPerColumn);var o;for(e=0;e<m.slides.length;e++){o=0;var l=m.slides.eq(e);if(m.params.slidesPerColumn>1){var p,d,u,c,f=m.params.slidesPerColumn;"column"===m.params.slidesPerColumnFill?(d=Math.floor(e/f),u=e-d*f,p=d+u*n/f,l.css({"-webkit-box-ordinal-group":p,"-moz-box-ordinal-group":p,"-ms-flex-order":p,"-webkit-order":p,order:p})):(c=n/f,u=Math.floor(e/c),d=e-u*c),l.css({"margin-top":0!==u&&m.params.spaceBetween&&m.params.spaceBetween+"px"}).attr("data-swiper-column",d).attr("data-swiper-row",u)}"none"!==l.css("display")&&("auto"===m.params.slidesPerView?o=t()?l.outerWidth(!0):l.outerHeight(!0):(o=(m.size-(m.params.slidesPerView-1)*a)/m.params.slidesPerView,t()?m.slides[e].style.width=o+"px":m.slides[e].style.height=o+"px"),m.slides[e].swiperSlideSize=o,m.slidesSizesGrid.push(o),m.params.centeredSlides?(r=r+o/2+s/2+a,0===e&&(r=r-m.size/2-a),Math.abs(r)<.001&&(r=0),i%m.params.slidesPerGroup===0&&m.snapGrid.push(r),m.slidesGrid.push(r)):(i%m.params.slidesPerGroup===0&&m.snapGrid.push(r),m.slidesGrid.push(r),r=r+o+a),m.virtualSize+=o+a,s=o,i++)}m.virtualSize=Math.max(m.virtualSize,m.size);var h;if(m.rtl&&m.wrongRTL&&("slide"===m.params.effect||"coverflow"===m.params.effect)&&m.wrapper.css({width:m.virtualSize+m.params.spaceBetween+"px"}),(!m.support.flexbox||m.params.setWrapperSize)&&m.wrapper.css(t()?{width:m.virtualSize+m.params.spaceBetween+"px"}:{height:m.virtualSize+m.params.spaceBetween+"px"}),m.params.slidesPerColumn>1&&(m.virtualSize=(o+m.params.spaceBetween)*n,m.virtualSize=Math.ceil(m.virtualSize/m.params.slidesPerColumn)-m.params.spaceBetween,m.wrapper.css({width:m.virtualSize+m.params.spaceBetween+"px"}),m.params.centeredSlides)){for(h=[],e=0;e<m.snapGrid.length;e++)m.snapGrid[e]<m.virtualSize+m.snapGrid[0]&&h.push(m.snapGrid[e]);m.snapGrid=h}if(!m.params.centeredSlides){for(h=[],e=0;e<m.snapGrid.length;e++)m.snapGrid[e]<=m.virtualSize-m.size&&h.push(m.snapGrid[e]);m.snapGrid=h,Math.floor(m.virtualSize-m.size)>Math.floor(m.snapGrid[m.snapGrid.length-1])&&m.snapGrid.push(m.virtualSize-m.size)}0===m.snapGrid.length&&(m.snapGrid=[0]),0!==m.params.spaceBetween&&m.slides.css(t()?m.rtl?{marginLeft:a+"px"}:{marginRight:a+"px"}:{marginBottom:a+"px"}),m.params.watchSlidesProgress&&m.updateSlidesOffset()},m.updateSlidesOffset=function(){for(var e=0;e<m.slides.length;e++)m.slides[e].swiperSlideOffset=t()?m.slides[e].offsetLeft:m.slides[e].offsetTop},m.updateSlidesProgress=function(e){if("undefined"==typeof e&&(e=m.translate||0),0!==m.slides.length){"undefined"==typeof m.slides[0].swiperSlideOffset&&m.updateSlidesOffset();var a=m.params.centeredSlides?-e+m.size/2:-e;m.rtl&&(a=m.params.centeredSlides?e-m.size/2:e);{m.container[0].getBoundingClientRect(),t()?"left":"top",t()?"right":"bottom"}m.slides.removeClass(m.params.slideVisibleClass);for(var r=0;r<m.slides.length;r++){var s=m.slides[r],i=m.params.centeredSlides===!0?s.swiperSlideSize/2:0,n=(a-s.swiperSlideOffset-i)/(s.swiperSlideSize+m.params.spaceBetween);if(m.params.watchSlidesVisibility){var o=-(a-s.swiperSlideOffset-i),l=o+m.slidesSizesGrid[r],p=o>=0&&o<m.size||l>0&&l<=m.size||0>=o&&l>=m.size;p&&m.slides.eq(r).addClass(m.params.slideVisibleClass)}s.progress=m.rtl?-n:n}}},m.updateProgress=function(e){"undefined"==typeof e&&(e=m.translate||0);var a=m.maxTranslate()-m.minTranslate();0===a?(m.progress=0,m.isBeginning=m.isEnd=!0):(m.progress=(e-m.minTranslate())/a,m.isBeginning=m.progress<=0,m.isEnd=m.progress>=1),m.isBeginning&&m.emit("onReachBeginning",m),m.isEnd&&m.emit("onReachEnd",m),m.params.watchSlidesProgress&&m.updateSlidesProgress(e),m.emit("onProgress",m,m.progress)},m.updateActiveIndex=function(){var e,a,t,r=m.rtl?m.translate:-m.translate;for(a=0;a<m.slidesGrid.length;a++)"undefined"!=typeof m.slidesGrid[a+1]?r>=m.slidesGrid[a]&&r<m.slidesGrid[a+1]-(m.slidesGrid[a+1]-m.slidesGrid[a])/2?e=a:r>=m.slidesGrid[a]&&r<m.slidesGrid[a+1]&&(e=a+1):r>=m.slidesGrid[a]&&(e=a);(0>e||"undefined"==typeof e)&&(e=0),t=Math.floor(e/m.params.slidesPerGroup),t>=m.snapGrid.length&&(t=m.snapGrid.length-1),e!==m.activeIndex&&(m.snapIndex=t,m.previousIndex=m.activeIndex,m.activeIndex=e,m.updateClasses())},m.updateClasses=function(){m.slides.removeClass(m.params.slideActiveClass+" "+m.params.slideNextClass+" "+m.params.slidePrevClass);var e=m.slides.eq(m.activeIndex);if(e.addClass(m.params.slideActiveClass),e.next("."+m.params.slideClass).addClass(m.params.slideNextClass),e.prev("."+m.params.slideClass).addClass(m.params.slidePrevClass),m.bullets&&m.bullets.length>0){m.bullets.removeClass(m.params.bulletActiveClass);var a;m.params.loop?(a=Math.ceil(m.activeIndex-m.loopedSlides)/m.params.slidesPerGroup,a>m.slides.length-1-2*m.loopedSlides&&(a-=m.slides.length-2*m.loopedSlides),a>m.bullets.length-1&&(a-=m.bullets.length)):a="undefined"!=typeof m.snapIndex?m.snapIndex:m.activeIndex||0,m.paginationContainer.length>1?m.bullets.each(function(){f(this).index()===a&&f(this).addClass(m.params.bulletActiveClass)}):m.bullets.eq(a).addClass(m.params.bulletActiveClass)}m.params.loop||(m.params.prevButton&&(m.isBeginning?(f(m.params.prevButton).addClass(m.params.buttonDisabledClass),m.params.a11y&&m.a11y&&m.a11y.disable(f(m.params.prevButton))):(f(m.params.prevButton).removeClass(m.params.buttonDisabledClass),m.params.a11y&&m.a11y&&m.a11y.enable(f(m.params.prevButton)))),m.params.nextButton&&(m.isEnd?(f(m.params.nextButton).addClass(m.params.buttonDisabledClass),m.params.a11y&&m.a11y&&m.a11y.disable(f(m.params.nextButton))):(f(m.params.nextButton).removeClass(m.params.buttonDisabledClass),m.params.a11y&&m.a11y&&m.a11y.enable(f(m.params.nextButton)))))},m.updatePagination=function(){if(m.params.pagination&&m.paginationContainer&&m.paginationContainer.length>0){for(var e="",a=m.params.loop?Math.ceil((m.slides.length-2*m.loopedSlides)/m.params.slidesPerGroup):m.snapGrid.length,t=0;a>t;t++)e+=m.params.paginationBulletRender?m.params.paginationBulletRender(t,m.params.bulletClass):'<span class="'+m.params.bulletClass+'"></span>';m.paginationContainer.html(e),m.bullets=m.paginationContainer.find("."+m.params.bulletClass)}},m.update=function(e){function a(){r=Math.min(Math.max(m.translate,m.maxTranslate()),m.minTranslate()),m.setWrapperTranslate(r),m.updateActiveIndex(),m.updateClasses()}if(m.updateContainerSize(),m.updateSlidesSize(),m.updateProgress(),m.updatePagination(),m.updateClasses(),m.params.scrollbar&&m.scrollbar&&m.scrollbar.set(),e){var t,r;m.params.freeMode?a():(t="auto"===m.params.slidesPerView&&m.isEnd&&!m.params.centeredSlides?m.slideTo(m.slides.length-1,0,!1,!0):m.slideTo(m.activeIndex,0,!1,!0),t||a())}},m.onResize=function(){if(m.updateContainerSize(),m.updateSlidesSize(),m.updateProgress(),("auto"===m.params.slidesPerView||m.params.freeMode)&&m.updatePagination(),m.params.scrollbar&&m.scrollbar&&m.scrollbar.set(),m.params.freeMode){var e=Math.min(Math.max(m.translate,m.maxTranslate()),m.minTranslate());m.setWrapperTranslate(e),m.updateActiveIndex(),m.updateClasses()}else m.updateClasses(),"auto"===m.params.slidesPerView&&m.isEnd&&!m.params.centeredSlides?m.slideTo(m.slides.length-1,0,!1,!0):m.slideTo(m.activeIndex,0,!1,!0)};var h=["mousedown","mousemove","mouseup"];window.navigator.pointerEnabled?h=["pointerdown","pointermove","pointerup"]:window.navigator.msPointerEnabled&&(h=["MSPointerDown","MSPointerMove","MSPointerUp"]),m.touchEvents={start:m.support.touch||!m.params.simulateTouch?"touchstart":h[0],move:m.support.touch||!m.params.simulateTouch?"touchmove":h[1],end:m.support.touch||!m.params.simulateTouch?"touchend":h[2]},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===m.params.touchEventsTarget?m.container:m.wrapper).addClass("swiper-wp8-"+m.params.direction),m.initEvents=function(e){var t=e?"off":"on",r=e?"removeEventListener":"addEventListener",s="container"===m.params.touchEventsTarget?m.container[0]:m.wrapper[0],i=m.support.touch?s:document,n=m.params.nested?!0:!1;m.browser.ie?(s[r](m.touchEvents.start,m.onTouchStart,!1),i[r](m.touchEvents.move,m.onTouchMove,n),i[r](m.touchEvents.end,m.onTouchEnd,!1)):(m.support.touch&&(s[r](m.touchEvents.start,m.onTouchStart,!1),s[r](m.touchEvents.move,m.onTouchMove,n),s[r](m.touchEvents.end,m.onTouchEnd,!1)),!a.simulateTouch||m.device.ios||m.device.android||(s[r]("mousedown",m.onTouchStart,!1),i[r]("mousemove",m.onTouchMove,n),i[r]("mouseup",m.onTouchEnd,!1))),window[r]("resize",m.onResize),m.params.nextButton&&(f(m.params.nextButton)[t]("click",m.onClickNext),m.params.a11y&&m.a11y&&f(m.params.nextButton)[t]("keydown",m.a11y.onEnterKey)),m.params.prevButton&&(f(m.params.prevButton)[t]("click",m.onClickPrev),m.params.a11y&&m.a11y&&f(m.params.prevButton)[t]("keydown",m.a11y.onEnterKey)),m.params.pagination&&m.params.paginationClickable&&f(m.paginationContainer)[t]("click","."+m.params.bulletClass,m.onClickIndex),(m.params.preventClicks||m.params.preventClicksPropagation)&&s[r]("click",m.preventClicks,!0)},m.attachEvents=function(){m.initEvents()},m.detachEvents=function(){m.initEvents(!0)},m.allowClick=!0,m.preventClicks=function(e){m.allowClick||(m.params.preventClicks&&e.preventDefault(),m.params.preventClicksPropagation&&(e.stopPropagation(),e.stopImmediatePropagation()))},m.onClickNext=function(e){e.preventDefault(),m.slideNext()},m.onClickPrev=function(e){e.preventDefault(),m.slidePrev()},m.onClickIndex=function(e){e.preventDefault();var a=f(this).index()*m.params.slidesPerGroup;m.params.loop&&(a+=m.loopedSlides),m.slideTo(a)},m.updateClickedSlide=function(e){var a=s(e,"."+m.params.slideClass);if(!a)return m.clickedSlide=void 0,void(m.clickedIndex=void 0);if(m.clickedSlide=a,m.clickedIndex=f(a).index(),m.params.slideToClickedSlide&&void 0!==m.clickedIndex&&m.clickedIndex!==m.activeIndex){var t,r=m.clickedIndex;if(m.params.loop)if(t=f(m.clickedSlide).attr("data-swiper-slide-index"),r>m.slides.length-m.params.slidesPerView)m.fixLoop(),r=m.wrapper.children("."+m.params.slideClass+'[data-swiper-slide-index="'+t+'"]').eq(0).index(),setTimeout(function(){m.slideTo(r)},0);else if(r<m.params.slidesPerView-1){m.fixLoop();var i=m.wrapper.children("."+m.params.slideClass+'[data-swiper-slide-index="'+t+'"]');r=i.eq(i.length-1).index(),setTimeout(function(){m.slideTo(r)},0)}else m.slideTo(r);else m.slideTo(r)}};var v,g,w,x,y,T,b,S,C,M="input, select, textarea, button",z=Date.now(),P=[];m.animating=!1,m.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var I,E;if(m.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),I="touchstart"===e.type,I||!("which"in e)||3!==e.which){if(m.params.noSwiping&&s(e,"."+m.params.noSwipingClass))return void(m.allowClick=!0);if(!m.params.swipeHandler||s(e,m.params.swipeHandler)){if(v=!0,g=!1,x=void 0,E=void 0,m.touches.startX=m.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,m.touches.startY=m.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY,w=Date.now(),m.allowClick=!0,m.updateContainerSize(),m.swipeDirection=void 0,m.params.threshold>0&&(b=!1),"touchstart"!==e.type){var a=!0;f(e.target).is(M)&&(a=!1),document.activeElement&&f(document.activeElement).is(M)&&document.activeElement.blur(),a&&e.preventDefault()}m.emit("onTouchStart",m,e)}}},m.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!(I&&"mousemove"===e.type||e.preventedByNestedSwiper)){if(m.params.onlyExternal)return g=!0,void(m.allowClick=!1);if(I&&document.activeElement&&e.target===document.activeElement&&f(e.target).is(M))return g=!0,void(m.allowClick=!1);if(m.emit("onTouchMove",m,e),!(e.targetTouches&&e.targetTouches.length>1)){if(m.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,m.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,"undefined"==typeof x){var r=180*Math.atan2(Math.abs(m.touches.currentY-m.touches.startY),Math.abs(m.touches.currentX-m.touches.startX))/Math.PI;x=t()?r>m.params.touchAngle:90-r>m.params.touchAngle}if(x&&m.emit("onTouchMoveOpposite",m,e),"undefined"==typeof E&&m.browser.ieTouch&&(m.touches.currentX!==m.touches.startX||m.touches.currentY!==m.touches.startY)&&(E=!0),v){if(x)return void(v=!1);if(E||!m.browser.ieTouch){m.allowClick=!1,m.emit("onSliderMove",m,e),e.preventDefault(),m.params.touchMoveStopPropagation&&!m.params.nested&&e.stopPropagation(),g||(a.loop&&m.fixLoop(),T=m.getWrapperTranslate(),m.setWrapperTransition(0),m.animating&&m.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),m.params.autoplay&&m.autoplaying&&(m.params.autoplayDisableOnInteraction?m.stopAutoplay():m.pauseAutoplay()),C=!1,m.params.grabCursor&&(m.container[0].style.cursor="move",m.container[0].style.cursor="-webkit-grabbing",m.container[0].style.cursor="-moz-grabbin",m.container[0].style.cursor="grabbing")),g=!0;var s=m.touches.diff=t()?m.touches.currentX-m.touches.startX:m.touches.currentY-m.touches.startY;s*=m.params.touchRatio,m.rtl&&(s=-s),m.swipeDirection=s>0?"prev":"next",y=s+T;var i=!0;if(s>0&&y>m.minTranslate()?(i=!1,m.params.resistance&&(y=m.minTranslate()-1+Math.pow(-m.minTranslate()+T+s,m.params.resistanceRatio))):0>s&&y<m.maxTranslate()&&(i=!1,m.params.resistance&&(y=m.maxTranslate()+1-Math.pow(m.maxTranslate()-T-s,m.params.resistanceRatio))),i&&(e.preventedByNestedSwiper=!0),!m.params.allowSwipeToNext&&"next"===m.swipeDirection&&T>y&&(y=T),!m.params.allowSwipeToPrev&&"prev"===m.swipeDirection&&y>T&&(y=T),m.params.followFinger){if(m.params.threshold>0){if(!(Math.abs(s)>m.params.threshold||b))return void(y=T);if(!b)return b=!0,m.touches.startX=m.touches.currentX,m.touches.startY=m.touches.currentY,y=T,void(m.touches.diff=t()?m.touches.currentX-m.touches.startX:m.touches.currentY-m.touches.startY)}(m.params.freeMode||m.params.watchSlidesProgress)&&m.updateActiveIndex(),m.params.freeMode&&(0===P.length&&P.push({position:m.touches[t()?"startX":"startY"],time:w}),P.push({position:m.touches[t()?"currentX":"currentY"],time:(new Date).getTime()})),m.updateProgress(y),m.setWrapperTranslate(y)}}}}}},m.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),m.emit("onTouchEnd",m,e),v){m.params.grabCursor&&g&&v&&(m.container[0].style.cursor="move",m.container[0].style.cursor="-webkit-grab",m.container[0].style.cursor="-moz-grab",m.container[0].style.cursor="grab");var a=Date.now(),t=a-w;if(m.allowClick&&(m.updateClickedSlide(e),m.emit("onTap",m,e),300>t&&a-z>300&&(S&&clearTimeout(S),S=setTimeout(function(){m&&(m.params.paginationHide&&m.paginationContainer.length>0&&!f(e.target).hasClass(m.params.bulletClass)&&m.paginationContainer.toggleClass(m.params.paginationHiddenClass),m.emit("onClick",m,e))},300)),300>t&&300>a-z&&(S&&clearTimeout(S),m.emit("onDoubleTap",m,e))),z=Date.now(),setTimeout(function(){m&&m.allowClick&&(m.allowClick=!0)},0),!v||!g||!m.swipeDirection||0===m.touches.diff||y===T)return void(v=g=!1);v=g=!1;var r;if(r=m.params.followFinger?m.rtl?m.translate:-m.translate:-y,m.params.freeMode){if(r<-m.minTranslate())return void m.slideTo(m.activeIndex);if(r>-m.maxTranslate())return void m.slideTo(m.slides.length-1);if(m.params.freeModeMomentum){if(P.length>1){var s=P.pop(),i=P.pop(),n=s.position-i.position,o=s.time-i.time;m.velocity=n/o,m.velocity=m.velocity/2,Math.abs(m.velocity)<.02&&(m.velocity=0),(o>150||(new Date).getTime()-s.time>300)&&(m.velocity=0)}else m.velocity=0;P.length=0;var l=1e3*m.params.freeModeMomentumRatio,p=m.velocity*l,d=m.translate+p;m.rtl&&(d=-d);var u,c=!1,h=20*Math.abs(m.velocity)*m.params.freeModeMomentumBounceRatio;d<m.maxTranslate()&&(m.params.freeModeMomentumBounce?(d+m.maxTranslate()<-h&&(d=m.maxTranslate()-h),u=m.maxTranslate(),c=!0,C=!0):d=m.maxTranslate()),d>m.minTranslate()&&(m.params.freeModeMomentumBounce?(d-m.minTranslate()>h&&(d=m.minTranslate()+h),u=m.minTranslate(),c=!0,C=!0):d=m.minTranslate()),0!==m.velocity&&(l=Math.abs(m.rtl?(-d-m.translate)/m.velocity:(d-m.translate)/m.velocity)),m.params.freeModeMomentumBounce&&c?(m.updateProgress(u),m.setWrapperTransition(l),m.setWrapperTranslate(d),m.onTransitionStart(),m.animating=!0,m.wrapper.transitionEnd(function(){C&&(m.emit("onMomentumBounce",m),m.setWrapperTransition(m.params.speed),m.setWrapperTranslate(u),m.wrapper.transitionEnd(function(){m.onTransitionEnd()}))})):m.velocity?(m.updateProgress(d),m.setWrapperTransition(l),m.setWrapperTranslate(d),m.onTransitionStart(),m.animating||(m.animating=!0,m.wrapper.transitionEnd(function(){m.onTransitionEnd()}))):m.updateProgress(d),m.updateActiveIndex()}return void((!m.params.freeModeMomentum||t>=m.params.longSwipesMs)&&(m.updateProgress(),m.updateActiveIndex()))}var x,b=0,M=m.slidesSizesGrid[0];for(x=0;x<m.slidesGrid.length;x+=m.params.slidesPerGroup)"undefined"!=typeof m.slidesGrid[x+m.params.slidesPerGroup]?r>=m.slidesGrid[x]&&r<m.slidesGrid[x+m.params.slidesPerGroup]&&(b=x,M=m.slidesGrid[x+m.params.slidesPerGroup]-m.slidesGrid[x]):r>=m.slidesGrid[x]&&(b=x,M=m.slidesGrid[m.slidesGrid.length-1]-m.slidesGrid[m.slidesGrid.length-2]);var I=(r-m.slidesGrid[b])/M;if(t>m.params.longSwipesMs){if(!m.params.longSwipes)return void m.slideTo(m.activeIndex);"next"===m.swipeDirection&&m.slideTo(I>=m.params.longSwipesRatio?b+m.params.slidesPerGroup:b),"prev"===m.swipeDirection&&m.slideTo(I>1-m.params.longSwipesRatio?b+m.params.slidesPerGroup:b)}else{if(!m.params.shortSwipes)return void m.slideTo(m.activeIndex);"next"===m.swipeDirection&&m.slideTo(b+m.params.slidesPerGroup),"prev"===m.swipeDirection&&m.slideTo(b)}}},m._slideTo=function(e,a){return m.slideTo(e,a,!0,!0)},m.slideTo=function(e,a,r,s){"undefined"==typeof r&&(r=!0),"undefined"==typeof e&&(e=0),0>e&&(e=0),m.snapIndex=Math.floor(e/m.params.slidesPerGroup),m.snapIndex>=m.snapGrid.length&&(m.snapIndex=m.snapGrid.length-1);var i=-m.snapGrid[m.snapIndex];m.params.autoplay&&m.autoplaying&&(s||!m.params.autoplayDisableOnInteraction?m.pauseAutoplay(a):m.stopAutoplay()),m.updateProgress(i);for(var n=0;n<m.slidesGrid.length;n++)-i>=m.slidesGrid[n]&&(e=n);if("undefined"==typeof a&&(a=m.params.speed),m.previousIndex=m.activeIndex||0,m.activeIndex=e,i===m.translate)return m.updateClasses(),!1;m.onTransitionStart(r);t()?i:0,t()?0:i;return 0===a?(m.setWrapperTransition(0),m.setWrapperTranslate(i),m.onTransitionEnd(r)):(m.setWrapperTransition(a),m.setWrapperTranslate(i),m.animating||(m.animating=!0,m.wrapper.transitionEnd(function(){m.onTransitionEnd(r)}))),m.updateClasses(),!0},m.onTransitionStart=function(e){"undefined"==typeof e&&(e=!0),m.lazy&&m.lazy.onTransitionStart(),e&&(m.emit("onTransitionStart",m),m.activeIndex!==m.previousIndex&&m.emit("onSlideChangeStart",m))},m.onTransitionEnd=function(e){m.animating=!1,m.setWrapperTransition(0),"undefined"==typeof e&&(e=!0),m.lazy&&m.lazy.onTransitionEnd(),e&&(m.emit("onTransitionEnd",m),m.activeIndex!==m.previousIndex&&m.emit("onSlideChangeEnd",m)),m.params.hashnav&&m.hashnav&&m.hashnav.setHash()},m.slideNext=function(e,a,t){if(m.params.loop){if(m.animating)return!1;m.fixLoop();{m.container[0].clientLeft}return m.slideTo(m.activeIndex+m.params.slidesPerGroup,a,e,t)}return m.slideTo(m.activeIndex+m.params.slidesPerGroup,a,e,t)},m._slideNext=function(e){return m.slideNext(!0,e,!0)},m.slidePrev=function(e,a,t){if(m.params.loop){if(m.animating)return!1;m.fixLoop();{m.container[0].clientLeft}return m.slideTo(m.activeIndex-1,a,e,t)}return m.slideTo(m.activeIndex-1,a,e,t)},m._slidePrev=function(e){return m.slidePrev(!0,e,!0)},m.slideReset=function(e,a){return m.slideTo(m.activeIndex,a,e)},m.setWrapperTransition=function(e,a){m.wrapper.transition(e),"slide"!==m.params.effect&&m.effects[m.params.effect]&&m.effects[m.params.effect].setTransition(e),m.params.parallax&&m.parallax&&m.parallax.setTransition(e),m.params.scrollbar&&m.scrollbar&&m.scrollbar.setTransition(e),m.params.control&&m.controller&&m.controller.setTransition(e,a),m.emit("onSetTransition",m,e)},m.setWrapperTranslate=function(e,a,r){var s=0,i=0,n=0;t()?s=m.rtl?-e:e:i=e,m.params.virtualTranslate||m.wrapper.transform(m.support.transforms3d?"translate3d("+s+"px, "+i+"px, "+n+"px)":"translate("+s+"px, "+i+"px)"),m.translate=t()?s:i,a&&m.updateActiveIndex(),"slide"!==m.params.effect&&m.effects[m.params.effect]&&m.effects[m.params.effect].setTranslate(m.translate),m.params.parallax&&m.parallax&&m.parallax.setTranslate(m.translate),m.params.scrollbar&&m.scrollbar&&m.scrollbar.setTranslate(m.translate),m.params.control&&m.controller&&m.controller.setTranslate(m.translate,r),m.emit("onSetTranslate",m,m.translate)},m.getTranslate=function(e,a){var t,r,s,i;return"undefined"==typeof a&&(a="x"),m.params.virtualTranslate?m.rtl?-m.translate:m.translate:(s=window.getComputedStyle(e,null),window.WebKitCSSMatrix?i=new WebKitCSSMatrix("none"===s.webkitTransform?"":s.webkitTransform):(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=i.toString().split(",")),"x"===a&&(r=window.WebKitCSSMatrix?i.m41:parseFloat(16===t.length?t[12]:t[4])),"y"===a&&(r=window.WebKitCSSMatrix?i.m42:parseFloat(16===t.length?t[13]:t[5])),m.rtl&&r&&(r=-r),r||0)},m.getWrapperTranslate=function(e){return"undefined"==typeof e&&(e=t()?"x":"y"),m.getTranslate(m.wrapper[0],e)},m.observers=[],m.initObservers=function(){if(m.params.observeParents)for(var e=m.container.parents(),a=0;a<e.length;a++)i(e[a]);i(m.container[0],{childList:!1}),i(m.wrapper[0],{attributes:!1})},m.disconnectObservers=function(){for(var e=0;e<m.observers.length;e++)m.observers[e].disconnect();m.observers=[]},m.createLoop=function(){m.wrapper.children("."+m.params.slideClass+"."+m.params.slideDuplicateClass).remove();
var e=m.wrapper.children("."+m.params.slideClass);m.loopedSlides=parseInt(m.params.loopedSlides||m.params.slidesPerView,10),m.loopedSlides=m.loopedSlides+m.params.loopAdditionalSlides,m.loopedSlides>e.length&&(m.loopedSlides=e.length);var a,t=[],r=[];for(e.each(function(a,s){var i=f(this);a<m.loopedSlides&&r.push(s),a<e.length&&a>=e.length-m.loopedSlides&&t.push(s),i.attr("data-swiper-slide-index",a)}),a=0;a<r.length;a++)m.wrapper.append(f(r[a].cloneNode(!0)).addClass(m.params.slideDuplicateClass));for(a=t.length-1;a>=0;a--)m.wrapper.prepend(f(t[a].cloneNode(!0)).addClass(m.params.slideDuplicateClass))},m.destroyLoop=function(){m.wrapper.children("."+m.params.slideClass+"."+m.params.slideDuplicateClass).remove()},m.fixLoop=function(){var e;m.activeIndex<m.loopedSlides?(e=m.slides.length-3*m.loopedSlides+m.activeIndex,e+=m.loopedSlides,m.slideTo(e,0,!1,!0)):("auto"===m.params.slidesPerView&&m.activeIndex>=2*m.loopedSlides||m.activeIndex>m.slides.length-2*m.params.slidesPerView)&&(e=-m.slides.length+m.activeIndex+m.loopedSlides,e+=m.loopedSlides,m.slideTo(e,0,!1,!0))},m.appendSlide=function(e){if(m.params.loop&&m.destroyLoop(),"object"==typeof e&&e.length)for(var a=0;a<e.length;a++)e[a]&&m.wrapper.append(e[a]);else m.wrapper.append(e);m.params.loop&&m.createLoop(),m.params.observer&&m.support.observer||m.update(!0)},m.prependSlide=function(e){m.params.loop&&m.destroyLoop();var a=m.activeIndex+1;if("object"==typeof e&&e.length){for(var t=0;t<e.length;t++)e[t]&&m.wrapper.prepend(e[t]);a=m.activeIndex+e.length}else m.wrapper.prepend(e);m.params.loop&&m.createLoop(),m.params.observer&&m.support.observer||m.update(!0),m.slideTo(a,0,!1)},m.removeSlide=function(e){m.params.loop&&m.destroyLoop();var a,t=m.activeIndex;if("object"==typeof e&&e.length){for(var r=0;r<e.length;r++)a=e[r],m.slides[a]&&m.slides.eq(a).remove(),t>a&&t--;t=Math.max(t,0)}else a=e,m.slides[a]&&m.slides.eq(a).remove(),t>a&&t--,t=Math.max(t,0);m.params.observer&&m.support.observer||m.update(!0),m.slideTo(t,0,!1)},m.removeAllSlides=function(){for(var e=[],a=0;a<m.slides.length;a++)e.push(a);m.removeSlide(e)},m.effects={fade:{setTranslate:function(){for(var e=0;e<m.slides.length;e++){var a=m.slides.eq(e),r=a[0].swiperSlideOffset,s=-r;m.params.virtualTranslate||(s-=m.translate);var i=0;t()||(i=s,s=0);var n=m.params.fade.crossFade?Math.max(1-Math.abs(a[0].progress),0):1+Math.min(Math.max(a[0].progress,-1),0);a.css({opacity:n}).transform("translate3d("+s+"px, "+i+"px, 0px)")}},setTransition:function(e){m.slides.transition(e),m.params.virtualTranslate&&0!==e&&m.slides.eq(m.activeIndex).transitionEnd(function(){for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],a=0;a<e.length;a++)m.wrapper.trigger(e[a])})}},cube:{setTranslate:function(){var e,a=0;m.params.cube.shadow&&(t()?(e=m.wrapper.find(".swiper-cube-shadow"),0===e.length&&(e=f('<div class="swiper-cube-shadow"></div>'),m.wrapper.append(e)),e.css({height:m.width+"px"})):(e=m.container.find(".swiper-cube-shadow"),0===e.length&&(e=f('<div class="swiper-cube-shadow"></div>'),m.container.append(e))));for(var r=0;r<m.slides.length;r++){var s=m.slides.eq(r),i=90*r,n=Math.floor(i/360);m.rtl&&(i=-i,n=Math.floor(-i/360));var o=Math.max(Math.min(s[0].progress,1),-1),l=0,p=0,d=0;r%4===0?(l=4*-n*m.size,d=0):(r-1)%4===0?(l=0,d=4*-n*m.size):(r-2)%4===0?(l=m.size+4*n*m.size,d=m.size):(r-3)%4===0&&(l=-m.size,d=3*m.size+4*m.size*n),m.rtl&&(l=-l),t()||(p=l,l=0);var u="rotateX("+(t()?0:-i)+"deg) rotateY("+(t()?i:0)+"deg) translate3d("+l+"px, "+p+"px, "+d+"px)";if(1>=o&&o>-1&&(a=90*r+90*o,m.rtl&&(a=90*-r-90*o)),s.transform(u),m.params.cube.slideShadows){var c=s.find(t()?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),h=s.find(t()?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===c.length&&(c=f('<div class="swiper-slide-shadow-'+(t()?"left":"top")+'"></div>'),s.append(c)),0===h.length&&(h=f('<div class="swiper-slide-shadow-'+(t()?"right":"bottom")+'"></div>'),s.append(h));{s[0].progress}c.length&&(c[0].style.opacity=-s[0].progress),h.length&&(h[0].style.opacity=s[0].progress)}}if(m.wrapper.css({"-webkit-transform-origin":"50% 50% -"+m.size/2+"px","-moz-transform-origin":"50% 50% -"+m.size/2+"px","-ms-transform-origin":"50% 50% -"+m.size/2+"px","transform-origin":"50% 50% -"+m.size/2+"px"}),m.params.cube.shadow)if(t())e.transform("translate3d(0px, "+(m.width/2+m.params.cube.shadowOffset)+"px, "+-m.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+m.params.cube.shadowScale+")");else{var v=Math.abs(a)-90*Math.floor(Math.abs(a)/90),g=1.5-(Math.sin(2*v*Math.PI/360)/2+Math.cos(2*v*Math.PI/360)/2),w=m.params.cube.shadowScale,x=m.params.cube.shadowScale/g,y=m.params.cube.shadowOffset;e.transform("scale3d("+w+", 1, "+x+") translate3d(0px, "+(m.height/2+y)+"px, "+-m.height/2/x+"px) rotateX(-90deg)")}var T=m.isSafari||m.isUiWebView?-m.size/2:0;m.wrapper.transform("translate3d(0px,0,"+T+"px) rotateX("+(t()?0:a)+"deg) rotateY("+(t()?-a:0)+"deg)")},setTransition:function(e){m.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),m.params.cube.shadow&&!t()&&m.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var e=m.translate,a=t()?-e+m.width/2:-e+m.height/2,r=t()?m.params.coverflow.rotate:-m.params.coverflow.rotate,s=m.params.coverflow.depth,i=0,n=m.slides.length;n>i;i++){var o=m.slides.eq(i),l=m.slidesSizesGrid[i],p=o[0].swiperSlideOffset,d=(a-p-l/2)/l*m.params.coverflow.modifier,u=t()?r*d:0,c=t()?0:r*d,h=-s*Math.abs(d),v=t()?0:m.params.coverflow.stretch*d,g=t()?m.params.coverflow.stretch*d:0;Math.abs(g)<.001&&(g=0),Math.abs(v)<.001&&(v=0),Math.abs(h)<.001&&(h=0),Math.abs(u)<.001&&(u=0),Math.abs(c)<.001&&(c=0);var w="translate3d("+g+"px,"+v+"px,"+h+"px) rotateX("+c+"deg) rotateY("+u+"deg)";if(o.transform(w),o[0].style.zIndex=-Math.abs(Math.round(d))+1,m.params.coverflow.slideShadows){var x=o.find(t()?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),y=o.find(t()?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===x.length&&(x=f('<div class="swiper-slide-shadow-'+(t()?"left":"top")+'"></div>'),o.append(x)),0===y.length&&(y=f('<div class="swiper-slide-shadow-'+(t()?"right":"bottom")+'"></div>'),o.append(y)),x.length&&(x[0].style.opacity=d>0?d:0),y.length&&(y[0].style.opacity=-d>0?-d:0)}}if(m.browser.ie){var T=m.wrapper[0].style;T.perspectiveOrigin=a+"px 50%"}},setTransition:function(e){m.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},m.lazy={initialImageLoaded:!1,loadImageInSlide:function(e){if("undefined"!=typeof e&&0!==m.slides.length){var a=m.slides.eq(e),t=a.find("img.swiper-lazy:not(.swiper-lazy-loaded):not(.swiper-lazy-loading)");0!==t.length&&t.each(function(){var e=f(this);e.addClass("swiper-lazy-loading");var t=e.attr("data-src");m.loadImage(e[0],t,!1,function(){e.attr("src",t),e.removeAttr("data-src"),e.addClass("swiper-lazy-loaded").removeClass("swiper-lazy-loading"),a.find(".swiper-lazy-preloader, .preloader").remove(),m.emit("onLazyImageReady",m,a[0],e[0])}),m.emit("onLazyImageLoad",m,a[0],e[0])})}},load:function(){if(m.params.watchSlidesVisibility)m.wrapper.children("."+m.params.slideVisibleClass).each(function(){m.lazy.loadImageInSlide(f(this).index())});else if(m.params.slidesPerView>1)for(var e=m.activeIndex;e<m.activeIndex+m.params.slidesPerView;e++)m.slides[e]&&m.lazy.loadImageInSlide(e);else m.lazy.loadImageInSlide(m.activeIndex);if(m.params.lazyLoadingInPrevNext){var a=m.wrapper.children("."+m.params.slideNextClass);a.length>0&&m.lazy.loadImageInSlide(a.index());var t=m.wrapper.children("."+m.params.slidePrevClass);t.length>0&&m.lazy.loadImageInSlide(t.index())}},onTransitionStart:function(){m.params.lazyLoading&&(m.params.lazyLoadingOnTransitionStart||!m.params.lazyLoadingOnTransitionStart&&!m.lazy.initialImageLoaded)&&(m.lazy.initialImageLoaded=!0,m.lazy.load())},onTransitionEnd:function(){m.params.lazyLoading&&!m.params.lazyLoadingOnTransitionStart&&m.lazy.load()}},m.scrollbar={set:function(){if(m.params.scrollbar){var e=m.scrollbar;e.track=f(m.params.scrollbar),e.drag=e.track.find(".swiper-scrollbar-drag"),0===e.drag.length&&(e.drag=f('<div class="swiper-scrollbar-drag"></div>'),e.track.append(e.drag)),e.drag[0].style.width="",e.drag[0].style.height="",e.trackSize=t()?e.track[0].offsetWidth:e.track[0].offsetHeight,e.divider=m.size/m.virtualSize,e.moveDivider=e.divider*(e.trackSize/m.size),e.dragSize=e.trackSize*e.divider,t()?e.drag[0].style.width=e.dragSize+"px":e.drag[0].style.height=e.dragSize+"px",e.track[0].style.display=e.divider>=1?"none":"",m.params.scrollbarHide&&(e.track[0].style.opacity=0)}},setTranslate:function(){if(m.params.scrollbar){var e,a=m.scrollbar,r=(m.translate||0,a.dragSize);e=(a.trackSize-a.dragSize)*m.progress,m.rtl&&t()?(e=-e,e>0?(r=a.dragSize-e,e=0):-e+a.dragSize>a.trackSize&&(r=a.trackSize+e)):0>e?(r=a.dragSize+e,e=0):e+a.dragSize>a.trackSize&&(r=a.trackSize-e),t()?(a.drag.transform(m.support.transforms3d?"translate3d("+e+"px, 0, 0)":"translateX("+e+"px)"),a.drag[0].style.width=r+"px"):(a.drag.transform(m.support.transforms3d?"translate3d(0px, "+e+"px, 0)":"translateY("+e+"px)"),a.drag[0].style.height=r+"px"),m.params.scrollbarHide&&(clearTimeout(a.timeout),a.track[0].style.opacity=1,a.timeout=setTimeout(function(){a.track[0].style.opacity=0,a.track.transition(400)},1e3))}},setTransition:function(e){m.params.scrollbar&&m.scrollbar.drag.transition(e)}},m.controller={setTranslate:function(e,a){var t,r,s=m.params.control;if(m.isArray(s))for(var i=0;i<s.length;i++)s[i]!==a&&s[i]instanceof Swiper&&(e=s[i].rtl&&"horizontal"===s[i].params.direction?-m.translate:m.translate,t=(s[i].maxTranslate()-s[i].minTranslate())/(m.maxTranslate()-m.minTranslate()),r=(e-m.minTranslate())*t+s[i].minTranslate(),m.params.controlInverse&&(r=s[i].maxTranslate()-r),s[i].updateProgress(r),s[i].setWrapperTranslate(r,!1,m),s[i].updateActiveIndex());else s instanceof Swiper&&a!==s&&(e=s.rtl&&"horizontal"===s.params.direction?-m.translate:m.translate,t=(s.maxTranslate()-s.minTranslate())/(m.maxTranslate()-m.minTranslate()),r=(e-m.minTranslate())*t+s.minTranslate(),m.params.controlInverse&&(r=s.maxTranslate()-r),s.updateProgress(r),s.setWrapperTranslate(r,!1,m),s.updateActiveIndex())},setTransition:function(e,a){var t=m.params.control;if(m.isArray(t))for(var r=0;r<t.length;r++)t[r]!==a&&t[r]instanceof Swiper&&t[r].setWrapperTransition(e,m);else t instanceof Swiper&&a!==t&&t.setWrapperTransition(e,m)}},m.hashnav={init:function(){if(m.params.hashnav){m.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e)for(var a=0,t=0,r=m.slides.length;r>t;t++){var s=m.slides.eq(t),i=s.attr("data-hash");if(i===e&&!s.hasClass(m.params.slideDuplicateClass)){var n=s.index();m.slideTo(n,a,m.params.runCallbacksOnInit,!0)}}}},setHash:function(){m.hashnav.initialized&&m.params.hashnav&&(document.location.hash=m.slides.eq(m.activeIndex).attr("data-hash")||"")}},m.disableKeyboardControl=function(){f(document).off("keydown",n)},m.enableKeyboardControl=function(){f(document).on("keydown",n)},m._wheelEvent=!1,m._lastWheelScrollTime=(new Date).getTime(),m.params.mousewheelControl){if(void 0!==document.onmousewheel&&(m._wheelEvent="mousewheel"),!m._wheelEvent)try{new WheelEvent("wheel"),m._wheelEvent="wheel"}catch(k){}m._wheelEvent||(m._wheelEvent="DOMMouseScroll")}m.disableMousewheelControl=function(){return m._wheelEvent?(m.container.off(m._wheelEvent,o),!0):!1},m.enableMousewheelControl=function(){return m._wheelEvent?(m.container.on(m._wheelEvent,o),!0):!1},m.parallax={setTranslate:function(){m.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){l(this,m.progress)}),m.slides.each(function(){var e=f(this);e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var a=Math.min(Math.max(e[0].progress,-1),1);l(this,a)})})},setTransition:function(e){"undefined"==typeof e&&(e=m.params.speed),m.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var a=f(this),t=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(t=0),a.transition(t)})}},m._plugins=[];for(var D in m.plugins){var L=m.plugins[D](m,m.params[D]);L&&m._plugins.push(L)}return m.callPlugins=function(e){for(var a=0;a<m._plugins.length;a++)e in m._plugins[a]&&m._plugins[a][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},m.emitterEventListeners={},m.emit=function(e){m.params[e]&&m.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var a;if(m.emitterEventListeners[e])for(a=0;a<m.emitterEventListeners[e].length;a++)m.emitterEventListeners[e][a](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);m.callPlugins&&m.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},m.on=function(e,a){return e=p(e),m.emitterEventListeners[e]||(m.emitterEventListeners[e]=[]),m.emitterEventListeners[e].push(a),m},m.off=function(e,a){var t;if(e=p(e),"undefined"==typeof a)return m.emitterEventListeners[e]=[],m;if(m.emitterEventListeners[e]&&0!==m.emitterEventListeners[e].length){for(t=0;t<m.emitterEventListeners[e].length;t++)m.emitterEventListeners[e][t]===a&&m.emitterEventListeners[e].splice(t,1);return m}},m.once=function(e,a){e=p(e);var t=function(){a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),m.off(e,t)};return m.on(e,t),m},m.a11y={makeFocusable:function(e){return e[0].tabIndex="0",e},addRole:function(e,a){return e.attr("role",a),e},addLabel:function(e,a){return e.attr("aria-label",a),e},disable:function(e){return e.attr("aria-disabled",!0),e},enable:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){13===e.keyCode&&(f(e.target).is(m.params.nextButton)?(m.onClickNext(e),m.a11y.notify(m.isEnd?m.params.lastSlideMsg:m.params.nextSlideMsg)):f(e.target).is(m.params.prevButton)&&(m.onClickPrev(e),m.a11y.notify(m.isBeginning?m.params.firstSlideMsg:m.params.prevSlideMsg)))},liveRegion:f('<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var a=m.a11y.liveRegion;0!==a.length&&(a.html(""),a.html(e))},init:function(){if(m.params.nextButton){var e=f(m.params.nextButton);m.a11y.makeFocusable(e),m.a11y.addRole(e,"button"),m.a11y.addLabel(e,m.params.nextSlideMsg)}if(m.params.prevButton){var a=f(m.params.prevButton);m.a11y.makeFocusable(a),m.a11y.addRole(a,"button"),m.a11y.addLabel(a,m.params.prevSlideMsg)}f(m.container).append(m.a11y.liveRegion)},destroy:function(){m.a11y.liveRegion&&m.a11y.liveRegion.length>0&&m.a11y.liveRegion.remove()}},m.init=function(){m.params.loop&&m.createLoop(),m.updateContainerSize(),m.updateSlidesSize(),m.updatePagination(),m.params.scrollbar&&m.scrollbar&&m.scrollbar.set(),"slide"!==m.params.effect&&m.effects[m.params.effect]&&(m.params.loop||m.updateProgress(),m.effects[m.params.effect].setTranslate()),m.params.loop?m.slideTo(m.params.initialSlide+m.loopedSlides,0,m.params.runCallbacksOnInit):(m.slideTo(m.params.initialSlide,0,m.params.runCallbacksOnInit),0===m.params.initialSlide&&(m.parallax&&m.params.parallax&&m.parallax.setTranslate(),m.lazy&&m.params.lazyLoading&&m.lazy.load())),m.attachEvents(),m.params.observer&&m.support.observer&&m.initObservers(),m.params.preloadImages&&!m.params.lazyLoading&&m.preloadImages(),m.params.autoplay&&m.startAutoplay(),m.params.keyboardControl&&m.enableKeyboardControl&&m.enableKeyboardControl(),m.params.mousewheelControl&&m.enableMousewheelControl&&m.enableMousewheelControl(),m.params.hashnav&&m.hashnav&&m.hashnav.init(),m.params.a11y&&m.a11y&&m.a11y.init(),m.emit("onInit",m)},m.destroy=function(e){m.detachEvents(),m.disconnectObservers(),m.params.keyboardControl&&m.disableKeyboardControl&&m.disableKeyboardControl(),m.params.mousewheelControl&&m.disableMousewheelControl&&m.disableMousewheelControl(),m.params.a11y&&m.a11y&&m.a11y.destroy(),m.emit("onDestroy"),e!==!1&&(m=null)},m.init(),m}},Swiper.prototype={isSafari:function(){var e=navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1},device:function(){var e=navigator.userAgent,a=e.match(/(Android);?[\s\/]+([\d.]+)?/),t=e.match(/(iPad).*OS\s([\d_]+)/),r=(e.match(/(iPod)(.*OS\s([\d_]+))?/),!t&&e.match(/(iPhone\sOS)\s([\d_]+)/));return{ios:t||r||t,android:a}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createElement("div").style,a="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),t=0;t<a.length;t++)if(a[t]in e)return!0}(),observer:function(){return"MutationObserver"in window||"WebkitMutationObserver"in window}()},plugins:{}};for(var a=["jQuery","Zepto","Dom7"],t=0;t<a.length;t++)window[a[t]]&&e(window[a[t]]);var r;r="undefined"==typeof Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7,r&&("transitionEnd"in r.fn||(r.fn.transitionEnd=function(e){function a(i){if(i.target===this)for(e.call(this,i),t=0;t<r.length;t++)s.off(r[t],a)}var t,r=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],s=this;if(e)for(t=0;t<r.length;t++)s.on(r[t],a);return this}),"transform"in r.fn||(r.fn.transform=function(e){for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransform=t.MsTransform=t.msTransform=t.MozTransform=t.OTransform=t.transform=e}return this}),"transition"in r.fn||(r.fn.transition=function(e){"string"!=typeof e&&(e+="ms");for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e}return this}))}(),"undefined"!=typeof module?module.exports=Swiper:"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper});
css:
#banner-bear {
height:320px;
background:#464853 url(../images/2dfb67e74181f.png) repeat-x;
width:100%;
position:relative;
font-size:22px;
}
#banner-bear {
background: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
}
/* SLOGAN */
.typing {
color:#fff;
position:absolute;
top:25%;
left:50%;
z-index:1;
transform: translate(-50%, -50%);
text-shadow: 1px 1px 0px rgba(0, 0, 0, 2);
font-size: 30px;
font-weight: bold;
}
@media (max-width:1199px) {
.typing {
font-size: 16px;
}
}
.banner-wrap, #stage {
width:100%;
height:100%;
/* margin-bottom: -2px; */
}
#stage {
overflow:hidden;
position:relative;
z-index:0;
/* margin-bottom: -2px; */
}
#stage .space {
width:3840px;
height:100%;
position:absolute;
top:0;
left:0;
z-index:0;
background:url(../images/53d0ca4581dc1.png) repeat-x;
}
#stage .mountains {
width:100%;
height:17.78125em;
overflow:hidden;
position:absolute;
left:0;
bottom:0;
z-index:1;
opacity:0;
-webkit-transition:opacity 0.2s linear 0s;
-moz-transition:opacity 0.2s linear 0s;
transition:opacity 0.2s linear 0s;
-webkit-transform-origin:center top;
-moz-transform-origin:center top;
transform-origin:center top;
}
#stage .mountain {
width:240em;
position:absolute;
left:0;
bottom:0;
margin-bottom: -1px;
}
#stage .mountain-1 {
height:10.5em;
z-index:3;
background:url(../images/58714c133cca0.png) repeat-x;
background-size:auto 50%;
background-position:0 bottom;
}
#stage .mountain-2 {
height:12em;
z-index:2;
background:url(../images/f855a485a6235.png) repeat-x;
background-size:auto 50%;
background-position:0 bottom;
}
#stage .mountain-3 {
height:17.78125em;
z-index:1;
background:url(../images/97b75b5d67f83.png) repeat-x;
background-size:auto 30%;
background-position:0 bottom;
/* margin-bottom: -20px; */
}
#stage .bear-wrapper {
width:6.25em;
height:3.125em;
position:absolute;
margin-left:-3.125em;
left:50%;
bottom:40px;
z-index:999;
}
.bear-words {
display:none;
width:6.25em;
height:2.8125em;
position:absolute;
bottom:5.3125em;
left:50%;
margin-left:-2.1875em;
z-index:5;
}
.bear-words span {
display:block;
width:9.375em;
height:1.875em;
line-height:1.875em;
margin-left:0.9375em;
font-size:0.4375em;
color:#fff;
}
.bear-words .bear-words-background {
width:100%;
height:100%;
position:absolute;
left:0;
top:0;
border:0;
}
#stage .bear {
width:3.12em;
height:1.625em;
position:absolute;
margin-left:-1.5625em;
left:-4%;
bottom:20px;
z-index:999;
background:url(../images/4b25ca14756dd.png) 0 0 no-repeat;
background-size:25em 100%;
opacity:0;
}
.scenes-ready #stage .space {
-webkit-transform:translate3d(0, 0, 0);
-moz-transform:translate3d(0, 0, 0);
transform:translate3d(0, 0, 0);
-webkit-animation:moving 450s linear 0.8s infinite normal none;
-moz-animation:moving 450s linear 0.8s infinite normal none;
animation:moving 450s linear 0.8s infinite normal none;
}
.scenes-ready #stage .mountains {
opacity:1;
-webkit-animation:mountains-in 0.8s ease-out 0s 1 normal forwards;
-moz-animation:mountains-in 0.8s ease-out 0s 1 normal forwards;
animation:mountains-in 0.8s ease-out 0s 1 normal forwards;
}
.scenes-ready #stage .mountain-1 {
-webkit-transform:translate3d(0, 0, 0);
-moz-transform:translate3d(0, 0, 0);
transform:translate3d(0, 0, 0);
-webkit-animation:moving 100s linear 0.8s infinite normal none;
-moz-animation:moving 100s linear 0.8s infinite normal none;
animation:moving 100s linear 0.8s infinite normal none;
}
.scenes-ready #stage .mountain-2 {
-webkit-transform:translate3d(0, 0, 0);
-moz-transform:translate3d(0, 0, 0);
transform:translate3d(0, 0, 0);
-webkit-animation:moving 160s linear 0.8s infinite normal none;
-moz-animation:moving 160s linear 0.8s infinite normal none;
animation:moving 160s linear 0.8s infinite normal none;
}
.scenes-ready #stage .mountain-3 {
-webkit-transform:translate3d(0, 0, 0);
-moz-transform:translate3d(0, 0, 0);
transform:translate3d(0, 0, 0);
-webkit-animation:moving 360s linear 0.8s infinite normal none;
-moz-animation:moving 360s linear 0.8s infinite normal none;
animation:moving 360s linear 0.8s infinite normal none;
}
.scenes-ready #stage .bear {
opacity:1;
-webkit-transition:opacity 0.4s linear 0.6s;
-moz-transition:opacity 0.4s linear 0.6s;
transition:opacity 0.4s linear 0.6s;
}
.preserve3d .scenes-ready #stage .bear {
-webkit-animation:bear-run-in 3.6s step-end 0.6s 1 normal forwards, bear-run 0.8s steps(8) 4.2s infinite normal forwards;
-moz-animation:bear-run-in 3.6s step-end 0.6s 1 normal forwards, bear-run 0.8s steps(8) 4.2s infinite normal forwards;
animation:bear-run-in 3.6s step-end 0.6s 1 normal forwards, bear-run 0.8s steps(8) 4.2s infinite normal forwards;
}
.no-preserve3d .scenes-ready #stage .bear, .no-csstransforms3d .scenes-ready #stage .bear {
left:50%;
-webkit-animation:bear-run 0.8s steps(8) 0.6s infinite normal forwards;
-moz-animation:bear-run 0.8s steps(8) 0.6s infinite normal forwards;
animation:bear-run 0.8s steps(8) 0.6s infinite normal forwards;
}
.preserve3d .scenes-ready #stage .bear.reset, .no-preserve3d .scenes-ready #stage .bear.reset, .no-csstransforms3d .scenes-ready #stage .bear.reset {
left:50%;
opacity:1;
-webkit-animation:none 0s linear 0s infinite normal none;
-moz-animation:none 0s linear 0s infinite normal none;
animation:none 0s linear 0s infinite normal none;
}
.preserve3d .scenes-ready #stage .bear.running, .no-preserve3d .scenes-ready #stage .bear.running, .no-csstransforms3d .scenes-ready #stage .bear.running {
left:50%;
-webkit-animation:bear-run 0.8s steps(8) 0s infinite normal none;
-moz-animation:bear-run 0.8s steps(8) 0s infinite normal none;
animation:bear-run 0.8s steps(8) 0s infinite normal none;
}
@-webkit-keyframes bear-run {
0% {
background-position:0 0;
}
100% {
background-position:-25em 0;
}
}
@-moz-keyframes bear-run {
0% {
background-position:0 0;
}
100% {
background-position:-25em 0;
}
}
@keyframes bear-run {
0% {
background-position:0 0;
}
100% {
background-position:-25em 0;
}
}
@-webkit-keyframes bear-run-in {
0% {
background-position:0em 0;
left:-4%;
}
1.38888889% {
background-position:-3.125em 0;
left:-2.25%;
}
2.77777778% {
background-position:-6.25em 0;
left:-0.5%;
}
4.16666667% {
background-position:-9.375em 0;
left:1.25%;
}
5.55555556% {
background-position:-12.5em 0;
left:3%;
}
6.94444444% {
background-position:-15.625em 0;
left:4.75%;
}
8.33333333% {
background-position:-18.75em 0;
left:6.5%;
}
9.72222222% {
background-position:-21.875em 0;
left:8.25%;
}
11.11111111% {
background-position:-25em 0;
left:10%;
}
11.11111111% {
background-position:0em 0;
left:10%;
}
12.77777778% {
background-position:-3.125em 0;
left:11.5%;
}
14.44444444% {
background-position:-6.25em 0;
left:13%;
}
16.11111111% {
background-position:-9.375em 0;
left:14.5%;
}
17.77777778% {
background-position:-12.5em 0;
left:16%;
}
19.44444444% {
background-position:-15.625em 0;
left:17.5%;
}
21.11111111% {
background-position:-18.75em 0;
left:19%;
}
22.77777778% {
background-position:-21.875em 0;
left:20.5%;
}
24.44444444% {
background-position:-25em 0;
left:22%;
}
24.44444444% {
background-position:0em 0;
left:22%;
}
26.38888889% {
background-position:-3.125em 0;
left:23.25%;
}
28.33333333% {
background-position:-6.25em 0;
left:24.5%;
}
30.27777778% {
background-position:-9.375em 0;
left:25.75%;
}
32.22222222% {
background-position:-12.5em 0;
left:27%;
}
34.16666667% {
background-position:-15.625em 0;
left:28.25%;
}
36.11111111% {
background-position:-18.75em 0;
left:29.5%;
}
38.05555556% {
background-position:-21.875em 0;
left:30.75%;
}
40% {
background-position:-25em 0;
left:32%;
}
40% {
background-position:0em 0;
left:32%;
}
42.22222222% {
background-position:-3.125em 0;
left:33%;
}
44.44444444% {
background-position:-6.25em 0;
left:34%;
}
46.66666667% {
background-position:-9.375em 0;
left:35%;
}
48.88888889% {
background-position:-12.5em 0;
left:36%;
}
51.11111111% {
background-position:-15.625em 0;
left:37%;
}
53.33333333% {
background-position:-18.75em 0;
left:38%;
}
55.55555556% {
background-position:-21.875em 0;
left:39%;
}
57.77777778% {
background-position:-25em 0;
left:40%;
}
57.77777778% {
background-position:0em 0;
left:40%;
}
60.27777778% {
background-position:-3.125em 0;
left:40.75%;
}
62.77777778% {
background-position:-6.25em 0;
left:41.5%;
}
65.27777778% {
background-position:-9.375em 0;
left:42.25%;
}
67.77777778% {
background-position:-12.5em 0;
left:43%;
}
70.27777778% {
background-position:-15.625em 0;
left:43.75%;
}
72.77777778% {
background-position:-18.75em 0;
left:44.5%;
}
75.27777778% {
background-position:-21.875em 0;
left:45.25%;
}
77.77777778% {
background-position:-25em 0;
left:46%;
}
77.77777778% {
background-position:0em 0;
left:46%;
}
80.55555556% {
background-position:-3.125em 0;
left:46.5%;
}
83.33333333% {
background-position:-6.25em 0;
left:47%;
}
86.11111111% {
background-position:-9.375em 0;
left:47.5%;
}
88.88888889% {
background-position:-12.5em 0;
left:48%;
}
91.66666667% {
background-position:-15.625em 0;
left:48.5%;
}
94.44444444% {
background-position:-18.75em 0;
left:49%;
}
97.22222222% {
background-position:-21.875em 0;
left:49.5%;
}
100% {
background-position:-25em 0;
left:50%;
}
}
@-moz-keyframes bear-run-in {
0% {
background-position:0em 0;
left:-4%;
}
1.38888889% {
background-position:-3.125em 0;
left:-2.25%;
}
2.77777778% {
background-position:-6.25em 0;
left:-0.5%;
}
4.16666667% {
background-position:-9.375em 0;
left:1.25%;
}
5.55555556% {
background-position:-12.5em 0;
left:3%;
}
6.94444444% {
background-position:-15.625em 0;
left:4.75%;
}
8.33333333% {
background-position:-18.75em 0;
left:6.5%;
}
9.72222222% {
background-position:-21.875em 0;
left:8.25%;
}
11.11111111% {
background-position:-25em 0;
left:10%;
}
11.11111111% {
background-position:0em 0;
left:10%;
}
12.77777778% {
background-position:-3.125em 0;
left:11.5%;
}
14.44444444% {
background-position:-6.25em 0;
left:13%;
}
16.11111111% {
background-position:-9.375em 0;
left:14.5%;
}
17.77777778% {
background-position:-12.5em 0;
left:16%;
}
19.44444444% {
background-position:-15.625em 0;
left:17.5%;
}
21.11111111% {
background-position:-18.75em 0;
left:19%;
}
22.77777778% {
background-position:-21.875em 0;
left:20.5%;
}
24.44444444% {
background-position:-25em 0;
left:22%;
}
24.44444444% {
background-position:0em 0;
left:22%;
}
26.38888889% {
background-position:-3.125em 0;
left:23.25%;
}
28.33333333% {
background-position:-6.25em 0;
left:24.5%;
}
30.27777778% {
background-position:-9.375em 0;
left:25.75%;
}
32.22222222% {
background-position:-12.5em 0;
left:27%;
}
34.16666667% {
background-position:-15.625em 0;
left:28.25%;
}
36.11111111% {
background-position:-18.75em 0;
left:29.5%;
}
38.05555556% {
background-position:-21.875em 0;
left:30.75%;
}
40% {
background-position:-25em 0;
left:32%;
}
40% {
background-position:0em 0;
left:32%;
}
42.22222222% {
background-position:-3.125em 0;
left:33%;
}
44.44444444% {
background-position:-6.25em 0;
left:34%;
}
46.66666667% {
background-position:-9.375em 0;
left:35%;
}
48.88888889% {
background-position:-12.5em 0;
left:36%;
}
51.11111111% {
background-position:-15.625em 0;
left:37%;
}
53.33333333% {
background-position:-18.75em 0;
left:38%;
}
55.55555556% {
background-position:-21.875em 0;
left:39%;
}
57.77777778% {
background-position:-25em 0;
left:40%;
}
57.77777778% {
background-position:0em 0;
left:40%;
}
60.27777778% {
background-position:-3.125em 0;
left:40.75%;
}
62.77777778% {
background-position:-6.25em 0;
left:41.5%;
}
65.27777778% {
background-position:-9.375em 0;
left:42.25%;
}
67.77777778% {
background-position:-12.5em 0;
left:43%;
}
70.27777778% {
background-position:-15.625em 0;
left:43.75%;
}
72.77777778% {
background-position:-18.75em 0;
left:44.5%;
}
75.27777778% {
background-position:-21.875em 0;
left:45.25%;
}
77.77777778% {
background-position:-25em 0;
left:46%;
}
77.77777778% {
background-position:0em 0;
left:46%;
}
80.55555556% {
background-position:-3.125em 0;
left:46.5%;
}
83.33333333% {
background-position:-6.25em 0;
left:47%;
}
86.11111111% {
background-position:-9.375em 0;
left:47.5%;
}
88.88888889% {
background-position:-12.5em 0;
left:48%;
}
91.66666667% {
background-position:-15.625em 0;
left:48.5%;
}
94.44444444% {
background-position:-18.75em 0;
left:49%;
}
97.22222222% {
background-position:-21.875em 0;
left:49.5%;
}
100% {
background-position:-25em 0;
left:50%;
}
}
@keyframes bear-run-in {
0% {
background-position:0em 0;
left:-4%;
}
1.38888889% {
background-position:-3.125em 0;
left:-2.25%;
}
2.77777778% {
background-position:-6.25em 0;
left:-0.5%;
}
4.16666667% {
background-position:-9.375em 0;
left:1.25%;
}
5.55555556% {
background-position:-12.5em 0;
left:3%;
}
6.94444444% {
background-position:-15.625em 0;
left:4.75%;
}
8.33333333% {
background-position:-18.75em 0;
left:6.5%;
}
9.72222222% {
background-position:-21.875em 0;
left:8.25%;
}
11.11111111% {
background-position:-25em 0;
left:10%;
}
11.11111111% {
background-position:0em 0;
left:10%;
}
12.77777778% {
background-position:-3.125em 0;
left:11.5%;
}
14.44444444% {
background-position:-6.25em 0;
left:13%;
}
16.11111111% {
background-position:-9.375em 0;
left:14.5%;
}
17.77777778% {
background-position:-12.5em 0;
left:16%;
}
19.44444444% {
background-position:-15.625em 0;
left:17.5%;
}
21.11111111% {
background-position:-18.75em 0;
left:19%;
}
22.77777778% {
background-position:-21.875em 0;
left:20.5%;
}
24.44444444% {
background-position:-25em 0;
left:22%;
}
24.44444444% {
background-position:0em 0;
left:22%;
}
26.38888889% {
background-position:-3.125em 0;
left:23.25%;
}
28.33333333% {
background-position:-6.25em 0;
left:24.5%;
}
30.27777778% {
background-position:-9.375em 0;
left:25.75%;
}
32.22222222% {
background-position:-12.5em 0;
left:27%;
}
34.16666667% {
background-position:-15.625em 0;
left:28.25%;
}
36.11111111% {
background-position:-18.75em 0;
left:29.5%;
}
38.05555556% {
background-position:-21.875em 0;
left:30.75%;
}
40% {
background-position:-25em 0;
left:32%;
}
40% {
background-position:0em 0;
left:32%;
}
42.22222222% {
background-position:-3.125em 0;
left:33%;
}
44.44444444% {
background-position:-6.25em 0;
left:34%;
}
46.66666667% {
background-position:-9.375em 0;
left:35%;
}
48.88888889% {
background-position:-12.5em 0;
left:36%;
}
51.11111111% {
background-position:-15.625em 0;
left:37%;
}
53.33333333% {
background-position:-18.75em 0;
left:38%;
}
55.55555556% {
background-position:-21.875em 0;
left:39%;
}
57.77777778% {
background-position:-25em 0;
left:40%;
}
57.77777778% {
background-position:0em 0;
left:40%;
}
60.27777778% {
background-position:-3.125em 0;
left:40.75%;
}
62.77777778% {
background-position:-6.25em 0;
left:41.5%;
}
65.27777778% {
background-position:-9.375em 0;
left:42.25%;
}
67.77777778% {
background-position:-12.5em 0;
left:43%;
}
70.27777778% {
background-position:-15.625em 0;
left:43.75%;
}
72.77777778% {
background-position:-18.75em 0;
left:44.5%;
}
75.27777778% {
background-position:-21.875em 0;
left:45.25%;
}
77.77777778% {
background-position:-25em 0;
left:46%;
}
77.77777778% {
background-position:0em 0;
left:46%;
}
80.55555556% {
background-position:-3.125em 0;
left:46.5%;
}
83.33333333% {
background-position:-6.25em 0;
left:47%;
}
86.11111111% {
background-position:-9.375em 0;
left:47.5%;
}
88.88888889% {
background-position:-12.5em 0;
left:48%;
}
91.66666667% {
background-position:-15.625em 0;
left:48.5%;
}
94.44444444% {
background-position:-18.75em 0;
left:49%;
}
97.22222222% {
background-position:-21.875em 0;
left:49.5%;
}
100% {
background-position:-25em 0;
left:50%;
}
}
/*========首页搜索======*/
.primary-menus {
width:50%;
position:absolute;
top:55%;
left:50%;
z-index:3;
transform: translate(-50%, -50%);
font-size: 16px;
opacity: .95;
/* margin-bottom: -2px; */
}
.primary-menus ul {
list-style:none;
padding:0;
}
.primary-menus ul li {
display:inline-block;
color:#fff;
padding:0 14px;
height:36px;
line-height:36px;
font-size:14px;
border-top-left-radius:3px;
border-top-right-radius:3px;
cursor:pointer;
}
.primary-menus ul li:first-child {
cursor:auto;
color: rgba(255, 255, 255, .8);
}
.primary-menus ul li:first-child:hover {
color: rgba(255, 255, 255, .8);
background-color:transparent;
}
.primary-menus ul li:hover {
background:#fff;
color:#3c3c3c;
opacity:.8;
}
.primary-menus ul li.current {
background:#fff;
color:#3c3c3c;
}
.primary-menus .cont {
position:relative;
top:-1px;
}
.primary-menus .right-link {
position:absolute;
right:0;
top:0;
}
.primary-menus .right-link a {
display:inline-block;
margin-top:10px;
padding-right:5px;
color:#dff2ff;
text-decoration:none;
font-size:13px;
}
.primary-menus .right-link a:hover {
color:#fff;
}
.primary-menus .left-cont {
}
.primary-menus .left-cont .search.hidden {
display:none;
}
.primary-menus .left-cont form {
width:100%;
position:relative;
}
.primary-menus .left-cont input {
box-sizing:border-box;
width:100%;
border:none;
font-size:15px;
line-height:20px;
height:48px;
padding:11px 100px 11px 26px;
border-radius:3px;
color:#9f9f9f;
outline:none;
}
.primary-menus .left-cont input:focus {
color:#3c3c3c;
}
.primary-menus .left-cont button {
height:48px;
box-sizing:border-box;
min-width:100px;
margin-left:-5px;
cursor:pointer;
background-color:#e34f4f;
color:#fff;
font-size:15px;
line-height:40px;
border-top-right-radius:3px;
border-bottom-right-radius:3px;
position:absolute;
right:1px;
top:0;
border: 5px solid #fff;
border-radius: 9px;
padding: 0 15px;
}
.primary-menus .left-cont button:hover {
background-color:#ff3636;
}
@media (max-width:1199px) {
.primary-menus ul li {
padding:0 12px;
}
}
@media (max-width:991px) {
.primary-menus {
float:left;
margin-left:0;
width:90%;
top: 60%;
}
.primary-menus .right-link {
display:none;
}
.primary-menus .left-cont {
margin-right:0;
}
}
@media (max-width:767px) {
.primary-menus ul li {
padding:0 5px;
font-size:13px;
height:28px;
line-height:24px;
margin-right:6px;
}
.primary-menus ul li:first-child {
display:none;
}
.primary-menus .left-cont input {
height:34px;
line-height:14px;
font-size:13px;
padding:10px 6em 10px 10px;
border-radius:0 3px 3px 3px;
}
.primary-menus .left-cont button {
height:34px;
line-height:34px;
width:6em;
font-size:12px;
border: none;
border-radius: 2px;
margin-right: -2px;
}
}
.bear {
/* margin-bottom: -2px; */
}
/* Banner动画 */
@-webkit-keyframes mountains-in {
0% {
-webkit-transform:scale(1.5);
}
100% {
-webkit-transform:scale(1);
}
}
@-moz-keyframes mountains-in {
0% {
-moz-transform:scale(1.5);
}
100% {
-moz-transform:scale(1);
}
}
@keyframes mountains-in {
0% {
transform:scale(1.5);
}
100% {
transform:scale(1);
}
}
@-webkit-keyframes moving {
0% {
-webkit-transform:translate3d(0, 0, 0);
}
100% {
-webkit-transform:translate3d(-50%, 0, 0);
}
}
@-moz-keyframes moving {
0% {
-moz-transform:translate3d(0, 0, 0);
}
100% {
-moz-transform:translate3d(-50%, 0, 0);
}
}
@keyframes moving {
0% {
transform:translate3d(0, 0, 0);
}
100% {
transform:translate3d(-50%, 0, 0);
}
}
图标包自行下载替换
图标包下载
提取码:无
解压码:无