作者 wendy0406

Merge branch 'master' of http://114.215.101.231:8099/dingling/doctor_public into wangyuqi

# Conflicts:
#	index.html
#	js/common.js
#	newtra.html
@@ -5,7 +5,9 @@ @@ -5,7 +5,9 @@
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <link rel="stylesheet" type="text/css" href="css/base.css" /> 6 <link rel="stylesheet" type="text/css" href="css/base.css" />
7 <link rel="stylesheet" type="text/css" href="css/style.css" /> 7 <link rel="stylesheet" type="text/css" href="css/style.css" />
8 -<script src="js/base.js" type="text/javascript" charset="utf-8"></script> 8 + <script src="js/jquery-1.2.6.min.js" type="text/javascript" ></script>
  9 + <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
  10 + <script src="js/t.js"></script>
9 <title>我的消费金</title> 11 <title>我的消费金</title>
10 </head> 12 </head>
11 13
@@ -20,42 +22,84 @@ @@ -20,42 +22,84 @@
20 <input type="text" class="coninp" placeholder="请输入兑换码"/><span class="conchance"><a href="#">兑换</a></span> 22 <input type="text" class="coninp" placeholder="请输入兑换码"/><span class="conchance"><a href="#">兑换</a></span>
21 </div> 23 </div>
22 24
23 - <div class="juan">  
24 - <div class="textleft timg"><img src="images/juan_03.jpg"/></div>  
25 - <div class="left lejuan center">  
26 - <p>¥<span class="jiage">3000</span></p>  
27 - <p>满1000使用</p>  
28 - </div>  
29 -  
30 - <div class="left rgjuan center">  
31 - <p class="sump">VIP权益消费金</p>  
32 - <p>有效期至2021-09-25</p>  
33 - </div>  
34 - <div class="colink"><img src="images/juan_07.jpg"/></div>  
35 -  
36 - <div class="left lejuanb center">  
37 - <p>全场服务专用</p>  
38 - </div>  
39 - <div class="conuse right"><a href="#">去使用</a></div>  
40 - </div> 25 + <!--<div class="juan">-->
  26 + <!--<div class="textleft timg"><img src="images/juan_03.jpg"/></div>-->
  27 + <!--<div class="left lejuan center">-->
  28 + <!--<p>¥<span class="jiage">3000</span></p>-->
  29 + <!--<p>满1000使用</p>-->
  30 + <!--</div>-->
  31 + <!---->
  32 + <!--<div class="left rgjuan center">-->
  33 + <!--<p class="sump">VIP权益消费金</p>-->
  34 + <!--<p>有效期至2021-09-25</p>-->
  35 + <!--</div>-->
  36 + <!--<div class="colink"><img src="images/juan_07.jpg"/></div>-->
  37 + <!---->
  38 + <!--<div class="left lejuanb center">-->
  39 + <!--<p>全场服务专用</p>-->
  40 + <!--</div>-->
  41 + <!--<div class="conuse right"><a href="#">去使用</a></div>-->
  42 + <!--</div>-->
  43 + <!---->
  44 + <!--<div class="juan">-->
  45 + <!--<div class="textleft timg"><img src="images/juan_03.jpg"/></div>-->
  46 + <!--<div class="left lejuan center">-->
  47 + <!--<p>¥<span class="jiage">200</span></p>-->
  48 + <!--<p>满100使用</p>-->
  49 + <!--</div>-->
  50 + <!---->
  51 + <!--<div class="left rgjuan center">-->
  52 + <!--<p class="sump">活动专享消费金</p>-->
  53 + <!--<p>有效期至2018-12-30</p>-->
  54 + <!--</div>-->
  55 + <!--<div class="colink"><img src="images/juan_07.jpg"/></div>-->
  56 + <!---->
  57 + <!--<div class="left lejuanb center">-->
  58 + <!--<p>上门服务专用</p>-->
  59 + <!--</div>-->
  60 + <!--<div class="conuse right"><a href="#">去使用</a></div>-->
  61 + <!--</div>-->
41 62
42 - <div class="juan"> 63 +</div>
  64 +<script type="text/javascript" src="js/common.js"></script>
  65 +<script type="text/javascript">
  66 + var id =getUrlParam(id);
  67 + var html='';
  68 + // 我的订单接口
  69 + var post={
  70 + order_id:1
  71 + };
  72 + var header={
  73 + DeviceType:1,
  74 + Token:1
  75 + };
  76 + sendAjax('post', 'user/Order/getConsumeMoney', post, header, function (res) {
  77 + console.log(res);
  78 + if(res.code==1){
  79 + for(let i in res.data){
  80 + html +=` <div class="juan">
43 <div class="textleft timg"><img src="images/juan_03.jpg"/></div> 81 <div class="textleft timg"><img src="images/juan_03.jpg"/></div>
44 <div class="left lejuan center"> 82 <div class="left lejuan center">
45 - <p>¥<span class="jiage">200</span></p>  
46 - <p>满100使用</p> 83 + <p>¥<span class="jiage">${res.data[i].money}</span></p>
  84 + <p>${res.data[i].discount}使用</p>
47 </div> 85 </div>
48 - 86 +
49 <div class="left rgjuan center"> 87 <div class="left rgjuan center">
50 - <p class="sump">活动专享消费金</p>  
51 - <p>有效期至2018-12-30</p> 88 + <p class="sump">${res.data[i].name}</p>
  89 + <p>有效期至${res.data[i].deadline}</p>
52 </div> 90 </div>
53 <div class="colink"><img src="images/juan_07.jpg"/></div> 91 <div class="colink"><img src="images/juan_07.jpg"/></div>
54 - 92 +
55 <div class="left lejuanb center"> 93 <div class="left lejuanb center">
56 - <p>上门服务专用</p> 94 + <p>${res.data[i].post_title}</p>
57 </div> 95 </div>
58 <div class="conuse right"><a href="#">去使用</a></div> 96 <div class="conuse right"><a href="#">去使用</a></div>
59 - </div>  
60 -  
61 -</div>  
  97 + </div>`
  98 + }
  99 + $(".conpart1").append(html);
  100 + }else{
  101 + console.log(res.msg);
  102 + }
  103 + })
  104 +</script>
  105 +</body>
@@ -38,6 +38,11 @@ body{ @@ -38,6 +38,11 @@ body{
38 text-align:right !important; 38 text-align:right !important;
39 } 39 }
40 .footer{ 40 .footer{
  41 + width:100%;
  42 + position:fixed;
  43 + z-index:20;
  44 + bottom:0;
  45 + left:0;
41 background-color:#fff; 46 background-color:#fff;
42 } 47 }
43 .footer ul li{ 48 .footer ul li{
1 /*index.html*/ 1 /*index.html*/
  2 +body{
  3 + /*padding:1.25rem 0 1rem 0;*/
  4 +}
2 .head{ 5 .head{
  6 + position:fixed;
  7 + top:0;
  8 + left:0;
  9 + width:100%;
3 min-height:1.25rem; 10 min-height:1.25rem;
4 line-height:1.25rem; 11 line-height:1.25rem;
5 background-color:#d8b25f; 12 background-color:#d8b25f;
  13 + z-index:20;
6 } 14 }
7 .htitle{ 15 .htitle{
8 font-size:0.4rem; 16 font-size:0.4rem;
@@ -40,10 +48,17 @@ @@ -40,10 +48,17 @@
40 .part2 a img{ 48 .part2 a img{
41 width:7.2rem; 49 width:7.2rem;
42 } 50 }
  51 +.nav ul li {
  52 + list-style-type: none;
  53 + float: left;
  54 + width: auto;
  55 + font-size: 0rem;
  56 + margin: 0.2rem 0.14rem;
  57 +}
43 .nav ul li{ 58 .nav ul li{
44 list-style-type:none; 59 list-style-type:none;
45 float:left; 60 float:left;
46 - width:1.15rem; 61 + width:16%;
47 font-size: 0rem; 62 font-size: 0rem;
48 margin: 0.2rem 0.14rem; 63 margin: 0.2rem 0.14rem;
49 } 64 }
@@ -57,10 +72,10 @@ @@ -57,10 +72,10 @@
57 .part3 ul li{ 72 .part3 ul li{
58 list-style-type:none; 73 list-style-type:none;
59 font-size:0.16rem; 74 font-size:0.16rem;
60 - width:3.55rem; 75 + width:49%;
61 background-color:#fff; 76 background-color:#fff;
62 display:inline-block; 77 display:inline-block;
63 - float:left; 78 + /*float:left;*/
64 margin-bottom:0.1rem; 79 margin-bottom:0.1rem;
65 box-shadow: 1px 1px 5px #888888; 80 box-shadow: 1px 1px 5px #888888;
66 } 81 }
@@ -194,7 +209,7 @@ @@ -194,7 +209,7 @@
194 padding:0.2rem 0rem 0.25rem 0rem; 209 padding:0.2rem 0rem 0.25rem 0rem;
195 border-right: 0.03rem solid #f7f7f7; 210 border-right: 0.03rem solid #f7f7f7;
196 border-bottom:0.03rem solid #f7f7f7; 211 border-bottom:0.03rem solid #f7f7f7;
197 - width: 2.1rem; 212 + width: 32.7%;
198 } 213 }
199 .mbpart2 ul li p{ 214 .mbpart2 ul li p{
200 text-align:center; 215 text-align:center;
@@ -205,6 +220,9 @@ @@ -205,6 +220,9 @@
205 } 220 }
206 #mbkuang li:nth-child(3n){ 221 #mbkuang li:nth-child(3n){
207 border-right:none; 222 border-right:none;
  223 + display: flex;
  224 + justify-content: center;
  225 + align-items: center;
208 } 226 }
209 #mbkuang li a{ 227 #mbkuang li a{
210 color:#000; 228 color:#000;
@@ -1481,7 +1499,7 @@ section { @@ -1481,7 +1499,7 @@ section {
1481 background-color:#fff; 1499 background-color:#fff;
1482 margin-top:0.15rem; 1500 margin-top:0.15rem;
1483 display:inline-block; 1501 display:inline-block;
1484 - width:7.2rem; 1502 + /*width:7.2rem;*/
1485 } 1503 }
1486 .ordernum{ 1504 .ordernum{
1487 font-size:0.2rem; 1505 font-size:0.2rem;
  1 +/**
  2 + * Swiper 3.4.2
  3 + * Most modern mobile touch slider and framework with hardware accelerated transitions
  4 + *
  5 + * http://www.idangero.us/swiper/
  6 + *
  7 + * Copyright 2017, Vladimir Kharlampidi
  8 + * The iDangero.us
  9 + * http://www.idangero.us/
  10 + *
  11 + * Licensed under MIT
  12 + *
  13 + * Released on: March 10, 2017
  14 + */
  15 +.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-o-transform:translate(0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-box-lines:multiple;-moz-box-lines:multiple;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;width:100%;height:100%;position:relative}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-transition-property:-webkit-transform,height;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform,height}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;-moz-background-size:27px 44px;-webkit-background-size:27px 44px;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");left:10px;right:auto}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");right:10px;left:auto}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s;-moz-transition:.3s;-o-transition:.3s;transition:.3s;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);-moz-transform:translate3d(0,-50%,0);-o-transform:translate(0,-50%);-ms-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:5px 0;display:block}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 5px}.swiper-pagination-progress{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progress .swiper-pagination-progressbar{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-moz-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progress .swiper-pagination-progressbar{-webkit-transform-origin:right top;-moz-transform-origin:right top;-ms-transform-origin:right top;-o-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progress{width:100%;height:4px;left:0;top:0}.swiper-container-vertical>.swiper-pagination-progress{width:4px;height:100%;left:0;top:0}.swiper-pagination-progress.swiper-pagination-white{background:rgba(255,255,255,.5)}.swiper-pagination-progress.swiper-pagination-white .swiper-pagination-progressbar{background:#fff}.swiper-pagination-progress.swiper-pagination-black .swiper-pagination-progressbar{background:#000}.swiper-container-3d{-webkit-perspective:1200px;-moz-perspective:1200px;-o-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-moz-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-moz-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-moz-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-moz-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-coverflow .swiper-wrapper,.swiper-container-flip .swiper-wrapper{-ms-perspective:1200px}.swiper-container-cube,.swiper-container-flip{overflow:visible}.swiper-container-cube .swiper-slide,.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-cube .swiper-slide .swiper-slide,.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active,.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-slide{visibility:hidden;-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-moz-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;-moz-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:50%;-webkit-background-size:100%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}}
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <html xmlns="http://www.w3.org/1999/xhtml">
  3 +
3 <head> 4 <head>
4 -<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">  
5 -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
6 -<link rel="stylesheet" type="text/css" href="css/base.css" />  
7 -<link rel="stylesheet" type="text/css" href="css/style.css" />  
8 -<link rel="stylesheet" type="text/css" href="css/share.css" />  
9 -<script src="js/base.js" type="text/javascript" charset="utf-8"></script>  
10 -<script src="js/share.js"></script>  
11 -<script src="js/jquery-1.2.6.min.js"></script>  
12 -<title>家庭医生</title> 5 + <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
  6 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7 + <link rel="stylesheet" href="css/weui.css">
  8 + <link rel="stylesheet" type="text/css" href="css/base.css" />
  9 + <link rel="stylesheet" type="text/css" href="css/style.css" />
  10 + <link rel="stylesheet" type="text/css" href="css/share.css" />
  11 + <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
  12 + <script src="js/share.js"></script>
  13 + <script src="js/jquery-1.2.6.min.js"></script>
  14 + <script src="js/common.js"></script>
  15 + <title>家庭医生</title>
13 </head> 16 </head>
14 17
15 <body> 18 <body>
16 -<div class="header center">  
17 - <div class="left back"><a href="#" onClick="javascript:history.back(-1);"><img src="images/care_03.jpg"/></a></div> 19 + <div class="header center">
  20 + <div class="left back">
  21 + <a href="#" onClick="javascript:history.back(-1);">
  22 + <img src="images/care_03.jpg" />
  23 + </a>
  24 + </div>
18 <div class="hotitle">家庭医生</div> 25 <div class="hotitle">家庭医生</div>
19 - <div class="right hoshare"><a href="#" onClick="toshare()"><img src="images/hoshare_03.png"/></a></div>  
20 - <div class="banner"><img src="images/dobanner_02.jpg"/></div>  
21 -</div>  
22 -<!--dopart1 -->  
23 -<div class="dopart1 center doctorimg">  
24 - <img src="images/dc_02.jpg"/>  
25 -</div>  
26 -  
27 -<!--trfooter-->  
28 -<div id="trfooter">  
29 - <div id="trlprice" class="left"><span class="trmoney">¥4980</span></div>  
30 - <div class="left listen"><a href="#"><img src="images/listen_03.jpg"/></a></div>  
31 - <div id="trsub" class="right"><a href="#">去预约</a></div>  
32 -</div>  
33 -<!--trfooter end-->  
34 -  
35 -<!--share start-->  
36 -<div class="am-share">  
37 - <h3 class="am-share-title">分享到</h3>  
38 - <ul class="am-share-sns">  
39 - <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>  
40 - <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>  
41 - <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>  
42 - <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>  
43 - </ul>  
44 - <div class="am-share-footer"><button class="share_btn">取消</button></div>  
45 -</div>  
46 -<!--share end--> 26 + <div class="right hoshare">
  27 + <a href="#" onClick="toshare()">
  28 + <img src="images/hoshare_03.png" />
  29 + </a>
  30 + </div>
  31 + <div class="banner">
  32 + <img src="images/dobanner_02.jpg" />
  33 + </div>
  34 + </div>
  35 + <!--dopart1 -->
  36 + <div class="dopart1 center doctorimg">
  37 + <img src="images/dc_02.jpg" />
  38 + </div>
  39 +
  40 + <!--trfooter-->
  41 + <div id="trfooter">
  42 + <div id="trlprice" class="left">
  43 + <span class="trmoney">¥4980</span></div>
  44 + <div class="left listen">
  45 + <a href="#">
  46 + <img src="images/listen_03.jpg" />
  47 + </a>
  48 + </div>
  49 + <div id="trsub" class="right">
  50 + <a href="#">去预约</a>
  51 + </div>
  52 + </div>
  53 + <!--trfooter end-->
  54 +
  55 + <!--share start-->
  56 + <div class="am-share">
  57 + <h3 class="am-share-title">分享到</h3>
  58 + <ul class="am-share-sns">
  59 + <li>
  60 + <a href="#">
  61 + <i class="share-icon-weibo"></i>
  62 + <span>新浪微博</span>
  63 + </a>
  64 + </li>
  65 + <li>
  66 + <a href="#">
  67 + <i class="share-icon-weibo"></i>
  68 + <span>新浪微博</span>
  69 + </a>
  70 + </li>
  71 + <li>
  72 + <a href="#">
  73 + <i class="share-icon-weibo"></i>
  74 + <span>新浪微博</span>
  75 + </a>
  76 + </li>
  77 + <li>
  78 + <a href="#">
  79 + <i class="share-icon-weibo"></i>
  80 + <span>新浪微博</span>
  81 + </a>
  82 + </li>
  83 + </ul>
  84 + <div class="am-share-footer">
  85 + <button class="share_btn">取消</button>
  86 + </div>
  87 + </div>
  88 + <!--share end-->
  89 +
  90 + <script src="js/weui.js"></script>
  91 + <script>
  92 + $(function () {
  93 + let loading = weui.loading("加载中")
  94 +
  95 + sendAjax('post', 'portal/Goods/getDoctor', {}, function (res) {
  96 + if (res.code == 1) {
  97 + loading.hide();
  98 + var data = res.data
  99 + console.log(data)
  100 + // 本页title
  101 + $(".hotitle").html(data.post_title)
  102 + // banner
  103 + $(".banner").find("img").attr("src",data.banner)
  104 + // 钱数
  105 + $(".trmoney").html("¥"+data.price)
  106 + } else if (res.code == 0) {
  107 + let loading = weui.loading(res.msg)
  108 + setTimeout(function () {
  109 + loading.hide();
  110 + }, 1500);
  111 + }
  112 +
  113 + });
  114 + })
  115 +
  116 + </script>
47 </body> 117 </body>
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <html xmlns="http://www.w3.org/1999/xhtml">
  3 +
3 <head> 4 <head>
4 -<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">  
5 -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
6 -<link rel="stylesheet" type="text/css" href="css/base.css" />  
7 -<link rel="stylesheet" type="text/css" href="css/style.css" />  
8 -<link rel="stylesheet" type="text/css" href="css/navigator.css" />  
9 -<link rel="stylesheet" type="text/css" href="css/navigator.iscroll.css" />  
10 -<script src="js/base.js" type="text/javascript" charset="utf-8"></script>  
11 -<script type="text/javascript" src="js/sroll/zepto.js"></script>  
12 -<script type="text/javascript" src="js/sroll/zepto.extend.js"></script>  
13 -<script type="text/javascript" src="js/sroll/zepto.ui.js"></script>  
14 -<script type="text/javascript" src="js/sroll/zepto.iscroll.js"></script>  
15 -<script type="text/javascript" src="js/sroll/widget/navigator.js"></script>  
16 -<script type="text/javascript" src="js/sroll/widget/navigator.iscroll.js"></script>  
17 -<title>上门体检</title>  
18 -<script>  
19 - function tab(pid){  
20 - var tabs=["tab1","tab2","tab3","tab4","tab5"];  
21 - for(var i=0;i<5;i++){  
22 - if(tabs[i]==pid){  
23 - var div = document.getElementById(tabs[i]);  
24 - div.setAttribute("class", "block exammg");  
25 - }else{  
26 - var div = document.getElementById(tabs[i]);  
27 - div.setAttribute("class", "none exammg");  
28 - }  
29 - }  
30 - }  
31 - </script>  
32 -<style>  
33 -#tab2,#tab3,#tab4,#tab5{  
34 - display:none;  
35 - }  
36 -.cur{  
37 - border-bottom: 0.02rem solid #d8b25f;  
38 - color: #d8b25f !important;  
39 - padding-bottom: 0.13rem;  
40 - }  
41 -.block{  
42 - display:block !important;  
43 - }  
44 -.none{  
45 - display:none !important;  
46 - }  
47 -.corigt p{  
48 - text-overflow: ellipsis;  
49 - overflow: hidden;  
50 - width: 4rem;  
51 - white-space: nowrap;  
52 -}  
53 -.exammg ul li{  
54 - height: 2rem;  
55 - display: flex;  
56 - align-items: center;  
57 -}  
58 -</style> 5 + <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
  6 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7 + <link rel="stylesheet" type="text/css" href="css/base.css" />
  8 + <link rel="stylesheet" type="text/css" href="css/style.css" />
  9 + <link rel="stylesheet" href="css/weui.css">
  10 + <link rel="stylesheet" type="text/css" href="css/navigator.css" />
  11 + <link rel="stylesheet" type="text/css" href="css/navigator.iscroll.css" />
  12 + <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
  13 + <script type="text/javascript" src="js/sroll/zepto.js"></script>
  14 + <script type="text/javascript" src="js/sroll/zepto.extend.js"></script>
  15 + <script type="text/javascript" src="js/sroll/zepto.ui.js"></script>
  16 + <script type="text/javascript" src="js/sroll/zepto.iscroll.js"></script>
  17 + <script type="text/javascript" src="js/sroll/widget/navigator.js"></script>
  18 + <script type="text/javascript" src="js/sroll/widget/navigator.iscroll.js"></script>
  19 + <title>上门体检</title>
  20 + <script>
  21 + function tab(pid) {
  22 + var tabs = ["tab1", "tab2", "tab3", "tab4", "tab5"];
  23 + for (var i = 0; i < 5; i++) {
  24 + if (tabs[i] == pid) {
  25 + var div = document.getElementById(tabs[i]);
  26 + div.setAttribute("class", "block exammg");
  27 + } else {
  28 + var div = document.getElementById(tabs[i]);
  29 + div.setAttribute("class", "none exammg");
  30 + }
  31 + }
  32 + }
  33 + </script>
  34 + <style>
  35 + #tab2,
  36 + #tab3,
  37 + #tab4,
  38 + #tab5 {
  39 + display: none;
  40 + }
  41 +
  42 + .cur {
  43 + border-bottom: 0.02rem solid #d8b25f;
  44 + color: #d8b25f !important;
  45 + padding-bottom: 0.13rem;
  46 + }
  47 +
  48 + .block {
  49 + display: block !important;
  50 + }
  51 +
  52 + .none {
  53 + display: none !important;
  54 + }
  55 +
  56 + .corigt p {
  57 + text-overflow: ellipsis;
  58 + overflow: hidden;
  59 + width: 4rem;
  60 + white-space: nowrap;
  61 + }
  62 +
  63 + .exammg ul li {
  64 + height: 2rem;
  65 + display: flex;
  66 + align-items: center;
  67 + }
  68 + </style>
59 </head> 69 </head>
60 70
61 <body> 71 <body>
62 -<div class="header center">  
63 - <div class="left back"><a href="#" onClick="javascript:history.back(-1);"><img src="images/care_03.jpg"/></a></div>  
64 - <div class="headertext">上门体检</div>  
65 - <div class="banner"><img src="images/exambanner_02.jpg"/></div>  
66 -</div>  
67 -  
68 -<div class="capart1">  
69 - <div class="minbox">  
70 - <div class="examnav" id="nav-smartSetup">  
71 - <ul>  
72 - <li><a onclick="tab('tab1')" href="#">特惠产品</a></li>  
73 - <li><a onclick="tab('tab2')" href="#">肿瘤检测</a></li>  
74 - <li><a onclick="tab('tab3')" href="#">基因检测</a></li>  
75 - <li><a onclick="tab('tab4')" href="#">健康体检</a></li>  
76 - <li><a onclick="tab('tab5')" href="#">好孕妇儿</a></li>  
77 - </ul>  
78 - </div>  
79 - <script type="text/javascript">  
80 - (function () {  
81 - /*组件初始化js begin*/  
82 - $('#nav-smartSetup').navigator(); //smart setup方式创建 推荐方式  
83 - })();  
84 - </script>  
85 - <div class="exammg" id="tab1">  
86 - <ul>  
87 - <li>  
88 - <a href="#"><img src="images/examli_03.jpg" class="left mari"/></a>  
89 - <div class="corigt left">  
90 - <a href="#"><span>三高疾病基因风险评估(3项)</span><p>评估患高血压、高血脂、II型糖尿病风险3种疾...  
91 -  
92 -</p></a>  
93 - <p class="minute">  
94 - <span><img src="images/rebmin_03.png">可测1人</span><span><img src="images/rebmin_05.png">需空腹</span>  
95 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
96 - </p>  
97 - <p class="price">¥500<span class="through">¥900</span></p>  
98 - </div>  
99 - </li>  
100 -  
101 - <li>  
102 - <a href="#"><img src="images/examli_06.jpg" class="left mari"/></a>  
103 - <div class="corigt left">  
104 - <a href="#"><span>结直肠癌基因早筛</span><p>肠道健康才能常健康,中国每年新发病例高达...</p></a>  
105 - <p class="minute">  
106 - <span><img src="images/rebmin_03.png">可测1人</span><span><img src="images/rebmin_05.png">需空腹</span>  
107 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
108 - </p>  
109 - <p class="price">¥3000<span class="through">¥6000</span></p>  
110 - </div>  
111 - </li>  
112 -  
113 - <li>  
114 - <a href="#"><img src="images/examli_08.jpg" class="left mari"/></a>  
115 - <div class="corigt left">  
116 - <a href="#"><span>产前筛查</span><p>更准确、安全的产前检查,有效降低异常患儿...</p></a>  
117 - <p class="minute">  
118 - <span><img src="images/rebmin_03.png">专业方法</span><span><img src="images/rebmin_05.png">医学康复</span>  
119 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
120 - </p>  
121 - <p class="price">¥1700<span class="through">¥2500</span></p>  
122 - </div>  
123 - </li>  
124 -  
125 - <li>  
126 - <a href="#"><img src="images/examli_10.jpg" class="left mari"/></a>  
127 - <div class="corigt left">  
128 - <a href="#"><span>小儿微量元素检测</span><p>反映短时间内身体微量元素状况,预防微量元...</p></a>  
129 - <p class="minute">  
130 - <span><img src="images/rebmin_03.png">专业方法</span><span><img src="images/rebmin_05.png">医学康复</span>  
131 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
132 - </p>  
133 - <p class="price">¥150<span class="through">¥220</span></p>  
134 - </div>  
135 - </li>  
136 -  
137 - <li>  
138 - <a href="#"><img src="images/examli_12.jpg" class="left mari"/></a>  
139 - <div class="corigt left">  
140 - <a href="#"><span>女士精选13项易感肿瘤基因检测</span><p>全面关爱幸福一家</p></a>  
141 - <p class="minute">  
142 - <span><img src="images/rebmin_03.png">专业方法</span><span><img src="images/rebmin_05.png">医学康复</span>  
143 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
144 - </p>  
145 - <p class="price">¥1900<span class="through">¥3700</span></p>  
146 - </div>  
147 - </li>  
148 -  
149 - <li>  
150 - <a href="#"><img src="images/examli_14.jpg" class="left mari"/></a>  
151 - <div class="corigt left">  
152 - <a href="#"><span>应酬族系列</span><p>智享健康护全家</p></a>  
153 - <p class="minute">  
154 - <span><img src="images/rebmin_03.png">专业方法</span><span><img src="images/rebmin_05.png">医学康复</span>  
155 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
156 - </p>  
157 - <p class="price">¥850<span class="through">¥1700</span></p>  
158 - </div>  
159 - </li>  
160 -  
161 - <li>  
162 - <a href="#"><img src="images/examli_16.jpg" class="left mari"/></a>  
163 - <div class="corigt left">  
164 - <a href="#"><span>男士精选10项易感肿瘤基因检测</span><p>指导改善肺功能训练、提高健康质量</p></a>  
165 - <p class="minute">  
166 - <span><img src="images/rebmin_03.png">专业方法</span><span><img src="images/rebmin_05.png">医学康复</span>  
167 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
168 - </p>  
169 - <p class="price">¥1900<span class="through">¥3700</span></p>  
170 - </div>  
171 - </li>  
172 - </ul>  
173 - </div>  
174 -  
175 - <div class="exammg" id="tab2">  
176 - <ul>  
177 - <li>  
178 - <a href="#"><img src="images/examli_03.jpg" class="left mari"/></a>  
179 - <div class="corigt left">  
180 - <a href="#"><span>三高疾病基因风险评估(3项)</span><p>评估患高血压、高血脂、II型糖尿病风险3种疾...  
181 -  
182 -</p></a>  
183 - <p class="minute">  
184 - <span><img src="images/rebmin_03.png">可测1人</span><span><img src="images/rebmin_05.png">需空腹</span>  
185 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
186 - </p>  
187 - <p class="price">¥500<span class="through">¥900</span></p>  
188 - </div>  
189 - </li>  
190 - </ul> 72 + <div class="header center">
  73 + <div class="left back">
  74 + <a href="#" onClick="javascript:history.back(-1);">
  75 + <img src="images/care_03.jpg" />
  76 + </a>
191 </div> 77 </div>
192 -  
193 - <div class="exammg" id="tab3">  
194 - <ul>  
195 - <li>  
196 - <a href="#"><img src="images/examli_03.jpg" class="left mari"/></a>  
197 - <div class="corigt left">  
198 - <a href="#"><span>三高疾病基因风险评估(3项)</span><p>评估患高血压、高血脂、II型糖尿病风险3种疾...  
199 -  
200 -</p></a>  
201 - <p class="minute">  
202 - <span><img src="images/rebmin_03.png">可测1人</span><span><img src="images/rebmin_05.png">需空腹</span>  
203 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
204 - </p>  
205 - <p class="price">¥500<span class="through">¥900</span></p>  
206 - </div>  
207 - </li>  
208 - </ul> 78 + <div class="headertext">上门体检</div>
  79 + <div class="banner">
  80 + <img src="images/exambanner_02.jpg" />
209 </div> 81 </div>
210 -  
211 - <div class="exammg" id="tab4">  
212 - <ul>  
213 - <li>  
214 - <a href="#"><img src="images/examli_03.jpg" class="left mari"/></a>  
215 - <div class="corigt left">  
216 - <a href="#"><span>三高疾病基因风险评估(3项)</span><p>评估患高血压、高血脂、II型糖尿病风险3种疾...  
217 -  
218 -</p></a>  
219 - <p class="minute">  
220 - <span><img src="images/rebmin_03.png">可测1人</span><span><img src="images/rebmin_05.png">需空腹</span>  
221 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
222 - </p>  
223 - <p class="price">¥500<span class="through">¥900</span></p>  
224 - </div>  
225 - </li>  
226 - </ul>  
227 - </div>  
228 -  
229 - <div class="exammg" id="tab5">  
230 - <ul>  
231 - <li>  
232 - <a href="#"><img src="images/examli_03.jpg" class="left mari"/></a>  
233 - <div class="corigt left">  
234 - <a href="#"><span>三高疾病基因风险评估(3项)</span><p>评估患高血压、高血脂、II型糖尿病风险3种疾...  
235 -  
236 -</p></a>  
237 - <p class="minute">  
238 - <span><img src="images/rebmin_03.png">可测1人</span><span><img src="images/rebmin_05.png">需空腹</span>  
239 - <span><img src="images/mindate_03.jpg">10-15个工作日</span>  
240 - </p>  
241 - <p class="price">¥500<span class="through">¥900</span></p>  
242 - </div>  
243 - </li>  
244 - </ul> 82 + </div>
  83 +
  84 + <div class="capart1">
  85 + <div class="minbox">
  86 + <div class="examnav" id="nav-smartSetup">
  87 + <ul>
  88 + <!-- <li>
  89 + <a onclick="tab('tab1')" href="#">特惠产品</a>
  90 + </li>
  91 + <li>
  92 + <a onclick="tab('tab2')" href="#">肿瘤检测</a>
  93 + </li>
  94 + <li>
  95 + <a onclick="tab('tab3')" href="#">基因检测</a>
  96 + </li>
  97 + <li>
  98 + <a onclick="tab('tab4')" href="#">健康体检</a>
  99 + </li>
  100 + <li>
  101 + <a onclick="tab('tab5')" href="#">好孕妇儿</a>
  102 + </li> -->
  103 + </ul>
  104 + </div>
  105 + <script type="text/javascript">
  106 + (function () {
  107 + /*组件初始化js begin*/
  108 + $('#nav-smartSetup').navigator(); //smart setup方式创建 推荐方式
  109 + })();
  110 + </script>
  111 +
  112 +
  113 + <div class="body">
  114 +
  115 +
  116 + </div>
  117 + <!-- <div class="exammg" id="tab1">
  118 + <ul>
  119 + <li>
  120 + <a href="#">
  121 + <img src="images/examli_03.jpg" class="left mari" />
  122 + </a>
  123 + <div class="corigt left">
  124 + <a href="#">
  125 + <span>三高疾病基因风险评估(3项)</span>
  126 + <p>评估患高血压、高血脂、II型糖尿病风险3种疾...
  127 +
  128 + </p>
  129 + </a>
  130 + <p class="minute">
  131 + <span>
  132 + <img src="images/rebmin_03.png">可测1人</span>
  133 + <span>
  134 + <img src="images/rebmin_05.png">需空腹</span>
  135 + <span>
  136 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  137 + </p>
  138 + <p class="price">¥500
  139 + <span class="through">¥900</span>
  140 + </p>
  141 + </div>
  142 + </li>
  143 +
  144 + <li>
  145 + <a href="#">
  146 + <img src="images/examli_06.jpg" class="left mari" />
  147 + </a>
  148 + <div class="corigt left">
  149 + <a href="#">
  150 + <span>结直肠癌基因早筛</span>
  151 + <p>肠道健康才能常健康,中国每年新发病例高达...</p>
  152 + </a>
  153 + <p class="minute">
  154 + <span>
  155 + <img src="images/rebmin_03.png">可测1人</span>
  156 + <span>
  157 + <img src="images/rebmin_05.png">需空腹</span>
  158 + <span>
  159 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  160 + </p>
  161 + <p class="price">¥3000
  162 + <span class="through">¥6000</span>
  163 + </p>
  164 + </div>
  165 + </li>
  166 +
  167 + <li>
  168 + <a href="#">
  169 + <img src="images/examli_08.jpg" class="left mari" />
  170 + </a>
  171 + <div class="corigt left">
  172 + <a href="#">
  173 + <span>产前筛查</span>
  174 + <p>更准确、安全的产前检查,有效降低异常患儿...</p>
  175 + </a>
  176 + <p class="minute">
  177 + <span>
  178 + <img src="images/rebmin_03.png">专业方法</span>
  179 + <span>
  180 + <img src="images/rebmin_05.png">医学康复</span>
  181 + <span>
  182 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  183 + </p>
  184 + <p class="price">¥1700
  185 + <span class="through">¥2500</span>
  186 + </p>
  187 + </div>
  188 + </li>
  189 +
  190 + <li>
  191 + <a href="#">
  192 + <img src="images/examli_10.jpg" class="left mari" />
  193 + </a>
  194 + <div class="corigt left">
  195 + <a href="#">
  196 + <span>小儿微量元素检测</span>
  197 + <p>反映短时间内身体微量元素状况,预防微量元...</p>
  198 + </a>
  199 + <p class="minute">
  200 + <span>
  201 + <img src="images/rebmin_03.png">专业方法</span>
  202 + <span>
  203 + <img src="images/rebmin_05.png">医学康复</span>
  204 + <span>
  205 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  206 + </p>
  207 + <p class="price">¥150
  208 + <span class="through">¥220</span>
  209 + </p>
  210 + </div>
  211 + </li>
  212 +
  213 + <li>
  214 + <a href="#">
  215 + <img src="images/examli_12.jpg" class="left mari" />
  216 + </a>
  217 + <div class="corigt left">
  218 + <a href="#">
  219 + <span>女士精选13项易感肿瘤基因检测</span>
  220 + <p>全面关爱幸福一家</p>
  221 + </a>
  222 + <p class="minute">
  223 + <span>
  224 + <img src="images/rebmin_03.png">专业方法</span>
  225 + <span>
  226 + <img src="images/rebmin_05.png">医学康复</span>
  227 + <span>
  228 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  229 + </p>
  230 + <p class="price">¥1900
  231 + <span class="through">¥3700</span>
  232 + </p>
  233 + </div>
  234 + </li>
  235 +
  236 + <li>
  237 + <a href="#">
  238 + <img src="images/examli_14.jpg" class="left mari" />
  239 + </a>
  240 + <div class="corigt left">
  241 + <a href="#">
  242 + <span>应酬族系列</span>
  243 + <p>智享健康护全家</p>
  244 + </a>
  245 + <p class="minute">
  246 + <span>
  247 + <img src="images/rebmin_03.png">专业方法</span>
  248 + <span>
  249 + <img src="images/rebmin_05.png">医学康复</span>
  250 + <span>
  251 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  252 + </p>
  253 + <p class="price">¥850
  254 + <span class="through">¥1700</span>
  255 + </p>
  256 + </div>
  257 + </li>
  258 +
  259 + <li>
  260 + <a href="#">
  261 + <img src="images/examli_16.jpg" class="left mari" />
  262 + </a>
  263 + <div class="corigt left">
  264 + <a href="#">
  265 + <span>男士精选10项易感肿瘤基因检测</span>
  266 + <p>指导改善肺功能训练、提高健康质量</p>
  267 + </a>
  268 + <p class="minute">
  269 + <span>
  270 + <img src="images/rebmin_03.png">专业方法</span>
  271 + <span>
  272 + <img src="images/rebmin_05.png">医学康复</span>
  273 + <span>
  274 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  275 + </p>
  276 + <p class="price">¥1900
  277 + <span class="through">¥3700</span>
  278 + </p>
  279 + </div>
  280 + </li>
  281 + </ul>
  282 + </div>
  283 +
  284 + <div class="exammg" id="tab2">
  285 + <ul>
  286 + <li>
  287 + <a href="#">
  288 + <img src="images/examli_03.jpg" class="left mari" />
  289 + </a>
  290 + <div class="corigt left">
  291 + <a href="#">
  292 + <span>三高疾病基因风险评估(3项)</span>
  293 + <p>评估患高血压、高血脂、II型糖尿病风险3种疾...
  294 +
  295 + </p>
  296 + </a>
  297 + <p class="minute">
  298 + <span>
  299 + <img src="images/rebmin_03.png">可测1人</span>
  300 + <span>
  301 + <img src="images/rebmin_05.png">需空腹</span>
  302 + <span>
  303 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  304 + </p>
  305 + <p class="price">¥500
  306 + <span class="through">¥900</span>
  307 + </p>
  308 + </div>
  309 + </li>
  310 + </ul>
  311 + </div>
  312 +
  313 + <div class="exammg" id="tab3">
  314 + <ul>
  315 + <li>
  316 + <a href="#">
  317 + <img src="images/examli_03.jpg" class="left mari" />
  318 + </a>
  319 + <div class="corigt left">
  320 + <a href="#">
  321 + <span>三高疾病基因风险评估(3项)</span>
  322 + <p>评估患高血压、高血脂、II型糖尿病风险3种疾...
  323 +
  324 + </p>
  325 + </a>
  326 + <p class="minute">
  327 + <span>
  328 + <img src="images/rebmin_03.png">可测1人</span>
  329 + <span>
  330 + <img src="images/rebmin_05.png">需空腹</span>
  331 + <span>
  332 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  333 + </p>
  334 + <p class="price">¥500
  335 + <span class="through">¥900</span>
  336 + </p>
  337 + </div>
  338 + </li>
  339 + </ul>
  340 + </div>
  341 +
  342 + <div class="exammg" id="tab4">
  343 + <ul>
  344 + <li>
  345 + <a href="#">
  346 + <img src="images/examli_03.jpg" class="left mari" />
  347 + </a>
  348 + <div class="corigt left">
  349 + <a href="#">
  350 + <span>三高疾病基因风险评估(3项)</span>
  351 + <p>评估患高血压、高血脂、II型糖尿病风险3种疾...
  352 +
  353 + </p>
  354 + </a>
  355 + <p class="minute">
  356 + <span>
  357 + <img src="images/rebmin_03.png">可测1人</span>
  358 + <span>
  359 + <img src="images/rebmin_05.png">需空腹</span>
  360 + <span>
  361 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  362 + </p>
  363 + <p class="price">¥500
  364 + <span class="through">¥900</span>
  365 + </p>
  366 + </div>
  367 + </li>
  368 + </ul>
  369 + </div>
  370 +
  371 + <div class="exammg" id="tab5">
  372 + <ul>
  373 + <li>
  374 + <a href="#">
  375 + <img src="images/examli_03.jpg" class="left mari" />
  376 + </a>
  377 + <div class="corigt left">
  378 + <a href="#">
  379 + <span>三高疾病基因风险评估(3项)</span>
  380 + <p>评估患高血压、高血脂、II型糖尿病风险3种疾...
  381 +
  382 + </p>
  383 + </a>
  384 + <p class="minute">
  385 + <span>
  386 + <img src="images/rebmin_03.png">可测1人</span>
  387 + <span>
  388 + <img src="images/rebmin_05.png">需空腹</span>
  389 + <span>
  390 + <img src="images/mindate_03.jpg">10-15个工作日</span>
  391 + </p>
  392 + <p class="price">¥500
  393 + <span class="through">¥900</span>
  394 + </p>
  395 + </div>
  396 + </li>
  397 + </ul>
  398 + </div> -->
245 </div> 399 </div>
246 </div> 400 </div>
247 -</div> 401 + <script src="js/jquery-3.3.1.min.js"></script>
  402 + <script src="js/common.js"></script>
  403 + <script src="js/weui.js"></script>
  404 + <script>
  405 + $(function () {
  406 + let loading = weui.loading("加载中")
  407 + sendAjax('post', 'portal/Goods/getCatInfo3', {
  408 + cid: 4
  409 + }, function (res) {
  410 + if (res.code == 1) {
  411 + loading.hide();
  412 + var data = res.data
  413 + console.log(data)
  414 + $(".headertext").html(data.name)
  415 + $(".banner").find("img").attr("src", data.img)
  416 + // 选项卡分类
  417 + var html = ""
  418 + var htmls = ""
  419 + var htmlTwo = ""
  420 + for (var n in data.goods) {
  421 + html += `<li>
  422 + <a onclick="tab('tab${ parseInt(n) + 1}')" href="#">${data.goods[n].name}</a>
  423 + </li>`
  424 + for (var j in data.goods[n].goods) {
  425 + for (var x in data.goods[n].goods[j].tag) {
  426 + htmlTwo += `<span>
  427 + <img src="${data.goods[n].goods[j].tag[x].url}">${data.goods[n].goods[j].tag[x].text}</span>`
  428 + }
  429 + htmls += `<div class="exammg" id="tab${n}">
  430 + <ul>
  431 + <li>
  432 + <a href="#">
  433 + <img src="images/examli_03.jpg" class="left mari" />
  434 + </a>
  435 + <div class="corigt left">
  436 + <a href="#">
  437 + <span>${data.goods[n].goods[j].other_title}</span>
  438 + <p>${data.goods[n].goods[j].post_title}
  439 +
  440 + </p>
  441 + </a>
  442 + <p class="minute">
  443 + ${htmlTwo}
  444 + </p>
  445 + <p class="price">¥500
  446 + <span class="through">¥${data.goods[n].goods[j].real_price}</span>
  447 + </p>
  448 + </div>
  449 + </li>
  450 + </ul>
  451 + </div>`
  452 + htmlTwo = ""
  453 + }
248 454
  455 + }
  456 + $("#nav-smartSetup ul").html(html)
  457 + $(".body").html(htmls)
  458 + } else if (res.code == 0) {
  459 + let loading = weui.loading(res.msg)
  460 + setTimeout(function () {
  461 + loading.hide();
  462 + }, 1500);
  463 + }
249 464
  465 + });
  466 + })
250 467
  468 + </script>
251 469
252 470
253 </body> 471 </body>
1 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <html xmlns="http://www.w3.org/1999/xhtml">
3 -  
4 <head> 4 <head>
5 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"> 5 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
6 - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
7 - <link rel="stylesheet" type="text/css" href="css/style.css" />  
8 - <link rel="stylesheet" type="text/css" href="css/base.css" /> 6 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  7 + <link rel="stylesheet" href="css/swiper.min.css" type="text/css">
  8 + <link rel="stylesheet" type="text/css" href="css/style.css"/>
  9 + <link rel="stylesheet" type="text/css" href="css/base.css"/>
9 <link rel="stylesheet" type="text/css" href="css/health.css"> 10 <link rel="stylesheet" type="text/css" href="css/health.css">
10 - <script src="js/base.js" type="text/javascript" charset="utf-8"></script>  
11 <script src="js/jquery-1.2.6.min.js"></script> 11 <script src="js/jquery-1.2.6.min.js"></script>
  12 + <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
12 <script src="js/t.js"></script> 13 <script src="js/t.js"></script>
13 14
14 - <script language="javascript"> 15 + <script language="javascript">
15 function show() { 16 function show() {
16 with (document.getElementById('aa').style) { 17 with (document.getElementById('aa').style) {
17 display == "block" && (display = "none") || (display = "block") 18 display == "block" && (display = "none") || (display = "block")
@@ -28,14 +29,17 @@ @@ -28,14 +29,17 @@
28 }; 29 };
29 30
30 setInterval("onclick()", 10000); 31 setInterval("onclick()", 10000);
  32 +
31 function onclick() { 33 function onclick() {
32 $("ul.jcarouseLiteNav li.next").click(); 34 $("ul.jcarouseLiteNav li.next").click();
33 } 35 }
34 </script> 36 </script>
35 37
36 -  
37 -  
38 <style> 38 <style>
  39 + body {
  40 + padding: 1.25rem 0 1rem 0;
  41 + }
  42 +
39 .c-dropdown__list1 { 43 .c-dropdown__list1 {
40 padding: 6px 0; 44 padding: 6px 0;
41 list-style: none; 45 list-style: none;
@@ -61,20 +65,83 @@ @@ -61,20 +65,83 @@
61 left: 125px; 65 left: 125px;
62 } 66 }
63 67
  68 + .part2 a {
  69 + display: block;
  70 + }
  71 +
64 .part2 a img { 72 .part2 a img {
65 - width: 7.5rem; 73 + width: 100%;
66 } 74 }
67 75
68 .part3 ul { 76 .part3 ul {
69 - width: 7.5rem;  
70 - display: flex;  
71 - flex-wrap: wrap;  
72 - justify-content: center; 77 + justify-content: space-between;
  78 + overflow: hidden;
73 } 79 }
74 80
75 .part3 ul li { 81 .part3 ul li {
76 - /*height: 4.5rem;*/ 82 + float: left;
  83 +
  84 + }
  85 +
  86 + .part3_a {
  87 + display: flex;
  88 + justify-content: space-between;
  89 + text-align: center;
  90 + }
  91 +
  92 + .part3_right img {
  93 + width: 100%;
  94 + height: 100%;
  95 + }
  96 +
  97 + .nav ul li {
  98 + list-style-type: none;
  99 + float: left;
  100 + width: 20%;
  101 + font-size: 0rem;
  102 + margin: 0.2rem 0;
  103 + }
  104 +
  105 + .context3 {
  106 + width: 1.6rem;
  107 + color: #8e8e8e;
  108 + font-size: 0.2rem;
77 overflow: hidden; 109 overflow: hidden;
  110 + text-overflow: ellipsis;
  111 + display: -webkit-box;
  112 + -webkit-box-orient: vertical;
  113 + -webkit-line-clamp: 2;
  114 + }
  115 +
  116 + .swiper-slide li {
  117 + list-style: none;
  118 + }
  119 +
  120 + .title4 {
  121 + position: relative;
  122 + font-size: 0.3rem;
  123 + color: #424242;
  124 + border-bottom: 0.01rem solid #ececec;
  125 + height: 0.8rem;
  126 + line-height: 0.8rem;
  127 + background-color: #fff;
  128 + text-align:center;
  129 + }
  130 +
  131 + .chancenext {
  132 + position: absolute;
  133 + right: 10px;
  134 + }
  135 +
  136 + .title4_top {
  137 + position: fixed;
  138 + top: 0;
  139 + background-color: #fff;
  140 + width: 100%;
  141 + left: 0;
  142 + height: 1.3rem;
  143 + z-index: 100;
  144 + box-sizing: border-box;
78 } 145 }
79 </style> 146 </style>
80 147
@@ -83,421 +150,223 @@ @@ -83,421 +150,223 @@
83 </head> 150 </head>
84 151
85 <body> 152 <body>
86 -  
87 - <div class="head center">  
88 - <div class="left address">  
89 - <a href="#">  
90 - <img src="images/address_03.png" />  
91 - </a>北京</div>  
92 - <div class="htitle" style="left:0.25rem;">慈界医养</div>  
93 - <div class="right inshare">  
94 - <div class="c-dropdown js-dropdown" id="gg">  
95 - <span class="c-button c-button--dropdown">  
96 - <a href="#" onclick="show();">  
97 - <img src="images/share.png" id="target" />  
98 - </a>  
99 - </span>  
100 - <ul id="aa" class="c-dropdown__list1">  
101 - <div class="smalltop">  
102 - <img src="images/oi.png" />  
103 - </div>  
104 - <li class="c-dropdown__item">  
105 - <a href="#">  
106 - <img src="images/dingdan.png" />我的订单</a>  
107 - </li>  
108 - <li class="c-dropdown__item">  
109 - <a href="health.html.html">  
110 - <img src="images/sc.png" />健康档案</a>  
111 - </li>  
112 - <li class="c-dropdown__item">  
113 - <a href="#">  
114 - <img src="images/zxkf.png" />客服服务</a>  
115 - </li>  
116 - <li class="c-dropdown__item">  
117 - <a href="#">  
118 - <img src="images/fb.png" />认购权益</a>  
119 - </li>  
120 - <li class="c-dropdown__item">  
121 - <a href="#">  
122 - <img src="images/ss.png" />扫一扫</a>  
123 - </li>  
124 - </ul>  
125 - </div>  
126 - </div>  
127 - </div>  
128 -  
129 - <div class="part1">  
130 - <div class="nav center" style="display:inline-block;">  
131 - <ul>  
132 - <li>  
133 - <a href="care.html">  
134 - <img src="images/nav_02.png" />  
135 - <p>专业护理</p>  
136 - </a>  
137 - </li>  
138 - <li>  
139 - <a href="rehab.html">  
140 - <img src="images/nav_03.png" />  
141 - <p>慢病康护</p>  
142 - </a>  
143 - </li>  
144 - <li>  
145 - <a href="rehab.html.html">  
146 - <img src="images/nav_04.png" />  
147 - <p>中医理疗</p>  
148 - </a>  
149 - </li>  
150 - <li>  
151 - <a href="examination.html">  
152 - <img src="images/nav_05.png" />  
153 - <p>上门体检</p>  
154 - </a>  
155 - </li>  
156 - <li>  
157 - <a href="doctor.html">  
158 - <img src="images/nav_06.png" />  
159 - <p>家庭医生</p>  
160 - </a>  
161 - </li>  
162 - <li>  
163 - <a href="rehab.html.html">  
164 - <img src="images/nav_07.png" />  
165 - <p>母婴妇产</p>  
166 - </a>  
167 - </li>  
168 - <li>  
169 - <a href="examination.html">  
170 - <img src="images/nav_08.png" />  
171 - <p>医疗套餐</p>  
172 - </a>  
173 - </li>  
174 - <li>  
175 - <a href="examination.html">  
176 - <img src="images/nav_09.png" />  
177 - <p>养老公寓</p>  
178 - </a>  
179 - </li>  
180 - <li>  
181 - <a href="rehab.html.html">  
182 - <img src="images/nav_10.png" />  
183 - <p>健康保险</p>  
184 - </a>  
185 - </li>  
186 - <li>  
187 - <a href="newtra.html.html">  
188 - <img src="images/nav_11.jpg" />  
189 - <p>健康旅游</p>  
190 - </a>  
191 - </li> 153 +<div id="container"></div>
  154 +<div class="head center">
  155 + <div class="left address"><a href="#"><img src="images/address_03.png"/></a><span id="city">北京</span></div>
  156 + <div class="htitle" style="left:0.25rem;">慈界医养</div>
  157 + <div class="right inshare">
  158 + <div class="c-dropdown js-dropdown" id="gg">
  159 + <span class="c-button c-button--dropdown"><a href="#" onclick="show();"><img src="images/share.png" id="target"/></a></span>
  160 + <ul id="show_menu" class="c-dropdown__list1">
  161 + <div class="smalltop"><img src="images/oi.png"/></div>
  162 + <li class="c-dropdown__item"><a href="#"><img src="images/dingdan.png"/>我的订单</a></li>
  163 + <li class="c-dropdown__item"><a href="health.html.html"><img src="images/sc.png"/>健康档案</a></li>
  164 + <li class="c-dropdown__item"><a href="#"><img src="images/zxkf.png"/>客服服务</a></li>
  165 + <li class="c-dropdown__item"><a href="#"><img src="images/fb.png"/>认购权益</a></li>
  166 + <li class="c-dropdown__item"><a href="#"><img src="images/ss.png"/>扫一扫</a></li>
192 </ul> 167 </ul>
193 </div> 168 </div>
194 </div> 169 </div>
195 -  
196 - <div class="part2">  
197 - <a href="introduce.html">  
198 - <img src="images/index_02.jpg" />  
199 - </a> 170 +</div>
  171 +<div class="part1">
  172 + <div class="nav center" style="display:inline-block;">
  173 + <ul>
  174 + </ul>
200 </div> 175 </div>
201 -  
202 - <div class="part3">  
203 - <div style="display:inline-block;"> 176 +</div>
  177 +
  178 +<div class="part2">
  179 + <a href="introduce.html"><img src="images/index_02.jpg"/></a>
  180 +</div>
  181 +
  182 +<div class="part3">
  183 + <ul>
  184 + </ul>
  185 +</div>
  186 +
  187 +<!--part4 start-->
  188 +<div class="title4 box " id="sales-product">
  189 + <span style="position:relative;">
  190 + <img src="images/part4_03.jpg"/>严选推介<img src="images/part4_05.jpg"/>
  191 + </span>
  192 + <span class=" chancenext">换一批<img src="images/chance_03.jpg"></span>
  193 +</div>
  194 +<div class="part4">
  195 + <div class="kuang">
  196 + <div class="Product">
204 <ul> 197 <ul>
205 - <li>  
206 - <a href="home.html.html">  
207 - <div class="left text3">  
208 - <p class="title3">居家照护</p>  
209 - <p class="context3">提供生活照护病症护理</p>  
210 - </div>  
211 - <img src="images/part_li_03.jpg" class="right" />  
212 - </a>  
213 - </li>  
214 -  
215 - <li>  
216 - <a href="#">  
217 - <div class="left text3">  
218 - <p class="title3">医院照护</p>  
219 - <p class="context3">为住院治疗的病人提供的生活照料</p>  
220 - </div>  
221 - <img src="images/part_li_04.jpg" class="right" />  
222 - </a>  
223 - </li>  
224 -  
225 - <li>  
226 - <a href="#">  
227 - <div class="left text3">  
228 - <p class="title3">健康评估</p>  
229 - <p class="context3">收集信息进行系统科学分析</p>  
230 - </div>  
231 - <img src="images/part_li_05.jpg" class="right" />  
232 - </a>  
233 - </li>  
234 -  
235 - <li>  
236 - <a href="#">  
237 - <div class="left text3">  
238 - <p class="title3">陪诊</p>  
239 - <p class="context3">陪同就诊人员进行病情诊断或治疗</p>  
240 - </div>  
241 - <img src="images/part_li_08.jpg" class="right" />  
242 - </a>  
243 - </li>  
244 - </ul>  
245 - </div>  
246 - </div> 198 + <div class="swiper-container">
  199 + <div class="swiper-wrapper">
  200 + <!--<div class="swiper-slide"> -->
  201 + <!--<li id="d1">-->
  202 + <!--<div class="con4">-->
  203 + <!--<div class="con4li">-->
  204 + <!--<a href="#"><img class="left" src="images/part4_li_07.jpg"/></a>-->
  205 + <!--<div class="corigt left">-->
  206 + <!--<a href="home.html.html"><span>普通换药0000000000</span>-->
  207 + <!--<p>术后伤口换药,污染伤口的清创消毒</p></a>-->
  208 + <!--<p class="minute">-->
  209 + <!--<span><img src="images/min.jpg"/>60分钟</span><span><img-->
  210 + <!--src="images/support.jpg"/>562人选择</span>-->
  211 + <!--</p>-->
  212 + <!--<p class="price">¥8686</p>-->
  213 + <!--</div>-->
  214 + <!--</div>-->
  215 +
  216 + <!--<div class="con4li">-->
  217 + <!--<a href="#"><img class="left" src="images/part4_li_10.jpg"/></a>-->
  218 + <!--<div class="corigt left">-->
  219 + <!--<a href="#"><span>老年痴呆护理</span>-->
  220 + <!--<p>指导自我料理能力,维护老人尊严</p></a>-->
  221 + <!--<p class="minute">-->
  222 + <!--<span><img src="images/min_03.jpg"/>心理指导</span><span><img-->
  223 + <!--src="images/min_05.jpg"/>针对性方案</span>-->
  224 + <!--</p>-->
  225 + <!--<p class="price">¥8686</p>-->
  226 + <!--</div>-->
  227 + <!--</div>-->
  228 +
  229 + <!--<div class="con4li">-->
  230 + <!--<a href="#"><img class="left" src="images/part4_li_12.jpg"/></a>-->
  231 + <!--<div class="corigt left">-->
  232 + <!--<a href="#"><span>女士高发肿瘤风险评估E(2项)</span>-->
  233 + <!--<p>评估卵巢癌、子宫内膜癌风险</p></a>-->
  234 + <!--<p class="minute">-->
  235 + <!--<span><img src="images/min_09.jpg"/>可测1人</span><span><img-->
  236 + <!--src="images/min_11.jpg"/>10-15个工作日</span>-->
  237 + <!--</p>-->
  238 + <!--<p class="price">¥8686</p>-->
  239 + <!--</div>-->
  240 + <!--</div>-->
  241 +
  242 + <!--<div class="con4li">-->
  243 + <!--<a href="#"><img class="left" src="images/part4_li_14.jpg"/></a>-->
  244 + <!--<div class="corigt left">-->
  245 + <!--<a href="#"><span>艾灸</span>-->
  246 + <!--<p>温通气血、扶正祛邪,防病治病</p></a>-->
  247 + <!--<p class="minute">-->
  248 + <!--<span><img src="images/min.jpg"/>90分钟</span><span><img-->
  249 + <!--src="images/support.jpg"/>267人选择</span>-->
  250 + <!--</p>-->
  251 + <!--<p class="price">¥8686</p>-->
  252 + <!--</div>-->
  253 + <!--</div>-->
  254 +
  255 + <!--<div class="con4li">-->
  256 + <!--<a href="#"><img class="left" src="images/part4_li_16.jpg"/></a>-->
  257 + <!--<div class="corigt left">-->
  258 + <!--<a href="#"><span>中老年健康套餐A</span>-->
  259 + <!--<p>适合患高血脂、糖尿病、冠心病等疾病的人群</p></a>-->
  260 + <!--<p class="minute">-->
  261 + <!--<span><img src="images/min_15.jpg"/>健康评估</span><span><img-->
  262 + <!--src="images/min_17.jpg"/>深度体检</span>-->
  263 + <!--</p>-->
  264 + <!--<p class="price">¥8686</p>-->
  265 + <!--</div>-->
  266 + <!--</div>-->
  267 +
  268 + <!--<div class="con4li">-->
  269 + <!--<a href="#"><img class="left" src="images/part4_li_18.jpg"/></a>-->
  270 + <!--<div class="corigt left">-->
  271 + <!--<a href="#"><span>万科怡园光熙长者公寓</span>-->
  272 + <!--<p>稀缺位置和优质环境使得在繁华热闹的城市核心区-->
  273 + <!--享受桃源般的养老生活成为可能</p></a>-->
  274 + <!--<p class="minute">-->
  275 + <!--<span><img src="images/min_21.jpg"/>品牌养老</span><span><img-->
  276 + <!--src="images/min_23.jpg"/>医疗康复</span>-->
  277 + <!--</p>-->
  278 + <!--<p class="price">¥8686</p>-->
  279 + <!--</div>-->
  280 + <!--</div>-->
  281 + <!--</div>-->
  282 + <!--</li></div>-->
  283 + <!--<div class="swiper-slide"> <li id="d2">-->
  284 + <!--<div class="con4">-->
  285 + <!--<div class="con4li">-->
  286 + <!--<a href="#"><img class="left" src="images/part4_li_07.jpg"/></a>-->
  287 + <!--<div class="corigt left">-->
  288 + <!--<a href="#"><span>普通换药11111111111111111</span>-->
  289 + <!--<p>术后伤口换药,污染伤口的清创消毒</p></a>-->
  290 + <!--<p class="minute">-->
  291 + <!--<span><img src="images/min.jpg"/>60分钟</span><span><img-->
  292 + <!--src="images/support.jpg"/>562人选择</span>-->
  293 + <!--</p>-->
  294 + <!--<p class="price">¥8686</p>-->
  295 + <!--</div>-->
  296 + <!--</div>-->
  297 +
  298 + <!--<div class="con4li">-->
  299 + <!--<a href="#"><img class="left" src="images/part4_li_10.jpg"/></a>-->
  300 + <!--<div class="corigt left">-->
  301 + <!--<a href="#"><span>老年痴呆护理</span>-->
  302 + <!--<p>指导自我料理能力,维护老人尊严</p></a>-->
  303 + <!--<p class="minute">-->
  304 + <!--<span><img src="images/min_03.jpg"/>心理指导</span><span><img-->
  305 + <!--src="images/min_05.jpg"/>针对性方案</span>-->
  306 + <!--</p>-->
  307 + <!--<p class="price">¥8686</p>-->
  308 + <!--</div>-->
  309 + <!--</div>-->
  310 +
  311 + <!--<div class="con4li">-->
  312 + <!--<a href="#"><img class="left" src="images/part4_li_12.jpg"/></a>-->
  313 + <!--<div class="corigt left">-->
  314 + <!--<a href="#"><span>女士高发肿瘤风险评估E(2项)111111111111111</span>-->
  315 + <!--<p>评估卵巢癌、子宫内膜癌风险</p></a>-->
  316 + <!--<p class="minute">-->
  317 + <!--<span><img src="images/min_09.jpg"/>可测1人</span><span><img-->
  318 + <!--src="images/min_11.jpg"/>10-15个工作日</span>-->
  319 + <!--</p>-->
  320 + <!--<p class="price">¥8686</p>-->
  321 + <!--</div>-->
  322 + <!--</div>-->
  323 +
  324 + <!--<div class="con4li">-->
  325 + <!--<a href="#"><img class="left" src="images/part4_li_14.jpg"/></a>-->
  326 + <!--<div class="corigt left">-->
  327 + <!--<a href="#"><span>艾灸</span>-->
  328 + <!--<p>温通气血、扶正祛邪,防病治病</p></a>-->
  329 + <!--<p class="minute">-->
  330 + <!--<span><img src="images/min.jpg"/>90分钟</span><span><img-->
  331 + <!--src="images/support.jpg"/>267人选择</span>-->
  332 + <!--</p>-->
  333 + <!--<p class="price">¥8686</p>-->
  334 + <!--</div>-->
  335 + <!--</div>-->
  336 +
  337 + <!--<div class="con4li">-->
  338 + <!--<a href="#"><img class="left" src="images/part4_li_16.jpg"/></a>-->
  339 + <!--<div class="corigt left">-->
  340 + <!--<a href="#"><span>中老年健康套餐A</span>-->
  341 + <!--<p>适合患高血脂、糖尿病、冠心病等疾病的人群</p></a>-->
  342 + <!--<p class="minute">-->
  343 + <!--<span><img src="images/min_15.jpg"/>健康评估</span><span><img-->
  344 + <!--src="images/min_17.jpg"/>深度体检</span>-->
  345 + <!--</p>-->
  346 + <!--<p class="price">¥8686</p>-->
  347 + <!--</div>-->
  348 + <!--</div>-->
  349 +
  350 + <!--<div class="con4li">-->
  351 + <!--<a href="#"><img class="left" src="images/part4_li_18.jpg"/></a>-->
  352 + <!--<div class="corigt left">-->
  353 + <!--<a href="#"><span>万科怡园光熙长者公寓</span>-->
  354 + <!--<p>稀缺位置和优质环境使得在繁华热闹的城市核心区-->
  355 + <!--享受桃源般的养老生活成为可能</p></a>-->
  356 + <!--<p class="minute">-->
  357 + <!--<span><img src="images/min_21.jpg"/>品牌养老</span><span><img-->
  358 + <!--src="images/min_23.jpg"/>医疗康复</span>-->
  359 + <!--</p>-->
  360 + <!--<p class="price">¥8686</p>-->
  361 + <!--</div>-->
  362 + <!--</div>-->
  363 + <!--</div>-->
  364 + <!--</li></div>-->
  365 + </div>
  366 + <div class="clear"></div>
  367 + </div>
247 368
248 - <!--part4 start-->  
249 - <div class="part4">  
250 - <div class="kuang">  
251 - <div class="title4 box" id="sales-product">  
252 - <span style="position:relative; left:0.45rem;">  
253 - <img src="images/part4_03.jpg" />严选推介  
254 - <img src="images/part4_05.jpg" />  
255 - </span>  
256 - </div>  
257 -  
258 - <div class="js j_index_carouseProduct" id="sales-product-main">  
259 - <ul>  
260 - <li id="d1">  
261 - <div class="con4">  
262 - <div class="con4li">  
263 - <a href="#">  
264 - <img class="left" src="images/part4_li_07.jpg" />  
265 - </a>  
266 - <div class="corigt left">  
267 - <a href="home.html.html">  
268 - <span>普通换药</span>  
269 - <p>术后伤口换药,污染伤口的清创消毒</p>  
270 - </a>  
271 - <p class="minute">  
272 - <span>  
273 - <img src="images/min.jpg" />60分钟</span>  
274 - <span>  
275 - <img src="images/support.jpg" />562人选择</span>  
276 - </p>  
277 - <p class="price">¥8686</p>  
278 - </div>  
279 - </div>  
280 -  
281 - <div class="con4li">  
282 - <a href="#">  
283 - <img class="left" src="images/part4_li_10.jpg" />  
284 - </a>  
285 - <div class="corigt left">  
286 - <a href="#">  
287 - <span>老年痴呆护理</span>  
288 - <p>指导自我料理能力,维护老人尊严</p>  
289 - </a>  
290 - <p class="minute">  
291 - <span>  
292 - <img src="images/min_03.jpg" />心理指导</span>  
293 - <span>  
294 - <img src="images/min_05.jpg" />针对性方案</span>  
295 - </p>  
296 - <p class="price">¥8686</p>  
297 - </div>  
298 - </div>  
299 -  
300 - <div class="con4li">  
301 - <a href="#">  
302 - <img class="left" src="images/part4_li_12.jpg" />  
303 - </a>  
304 - <div class="corigt left">  
305 - <a href="#">  
306 - <span>女士高发肿瘤风险评估E(2项)</span>  
307 - <p>评估卵巢癌、子宫内膜癌风险</p>  
308 - </a>  
309 - <p class="minute">  
310 - <span>  
311 - <img src="images/min_09.jpg" />可测1人</span>  
312 - <span>  
313 - <img src="images/min_11.jpg" />10-15个工作日</span>  
314 - </p>  
315 - <p class="price">¥8686</p>  
316 - </div>  
317 - </div>  
318 -  
319 - <div class="con4li">  
320 - <a href="#">  
321 - <img class="left" src="images/part4_li_14.jpg" />  
322 - </a>  
323 - <div class="corigt left">  
324 - <a href="#">  
325 - <span>艾灸</span>  
326 - <p>温通气血、扶正祛邪,防病治病</p>  
327 - </a>  
328 - <p class="minute">  
329 - <span>  
330 - <img src="images/min.jpg" />90分钟</span>  
331 - <span>  
332 - <img src="images/support.jpg" />267人选择</span>  
333 - </p>  
334 - <p class="price">¥8686</p>  
335 - </div>  
336 - </div>  
337 -  
338 - <div class="con4li">  
339 - <a href="#">  
340 - <img class="left" src="images/part4_li_16.jpg" />  
341 - </a>  
342 - <div class="corigt left">  
343 - <a href="#">  
344 - <span>中老年健康套餐A</span>  
345 - <p>适合患高血脂、糖尿病、冠心病等疾病的人群</p>  
346 - </a>  
347 - <p class="minute">  
348 - <span>  
349 - <img src="images/min_15.jpg" />健康评估</span>  
350 - <span>  
351 - <img src="images/min_17.jpg" />深度体检</span>  
352 - </p>  
353 - <p class="price">¥8686</p>  
354 - </div>  
355 - </div>  
356 -  
357 - <div class="con4li">  
358 - <a href="#">  
359 - <img class="left" src="images/part4_li_18.jpg" />  
360 - </a>  
361 - <div class="corigt left">  
362 - <a href="#">  
363 - <span>万科怡园光熙长者公寓</span>  
364 - <p>稀缺位置和优质环境使得在繁华热闹的城市核心区 享受桃源般的养老生活成为可能  
365 - </p>  
366 - </a>  
367 - <p class="minute">  
368 - <span>  
369 - <img src="images/min_21.jpg" />品牌养老</span>  
370 - <span>  
371 - <img src="images/min_23.jpg" />医疗康复</span>  
372 - </p>  
373 - <p class="price">¥8686</p>  
374 - </div>  
375 - </div>  
376 - </div>  
377 - </li>  
378 -  
379 - <li id="d2">  
380 - <div class="con4">  
381 - <div class="con4li">  
382 - <a href="#">  
383 - <img class="left" src="images/part4_li_07.jpg" />  
384 - </a>  
385 - <div class="corigt left">  
386 - <a href="#">  
387 - <span>普通换药</span>  
388 - <p>术后伤口换药,污染伤口的清创消毒</p>  
389 - </a>  
390 - <p class="minute">  
391 - <span>  
392 - <img src="images/min.jpg" />60分钟</span>  
393 - <span>  
394 - <img src="images/support.jpg" />562人选择</span>  
395 - </p>  
396 - <p class="price">¥8686</p>  
397 - </div>  
398 - </div>  
399 -  
400 - <div class="con4li">  
401 - <a href="#">  
402 - <img class="left" src="images/part4_li_10.jpg" />  
403 - </a>  
404 - <div class="corigt left">  
405 - <a href="#">  
406 - <span>老年痴呆护理</span>  
407 - <p>指导自我料理能力,维护老人尊严</p>  
408 - </a>  
409 - <p class="minute">  
410 - <span>  
411 - <img src="images/min_03.jpg" />心理指导</span>  
412 - <span>  
413 - <img src="images/min_05.jpg" />针对性方案</span>  
414 - </p>  
415 - <p class="price">¥8686</p>  
416 - </div>  
417 - </div>  
418 -  
419 - <div class="con4li">  
420 - <a href="#">  
421 - <img class="left" src="images/part4_li_12.jpg" />  
422 - </a>  
423 - <div class="corigt left">  
424 - <a href="#">  
425 - <span>女士高发肿瘤风险评估E(2项)</span>  
426 - <p>评估卵巢癌、子宫内膜癌风险</p>  
427 - </a>  
428 - <p class="minute">  
429 - <span>  
430 - <img src="images/min_09.jpg" />可测1人</span>  
431 - <span>  
432 - <img src="images/min_11.jpg" />10-15个工作日</span>  
433 - </p>  
434 - <p class="price">¥8686</p>  
435 - </div>  
436 - </div>  
437 -  
438 - <div class="con4li">  
439 - <a href="#">  
440 - <img class="left" src="images/part4_li_14.jpg" />  
441 - </a>  
442 - <div class="corigt left">  
443 - <a href="#">  
444 - <span>艾灸</span>  
445 - <p>温通气血、扶正祛邪,防病治病</p>  
446 - </a>  
447 - <p class="minute">  
448 - <span>  
449 - <img src="images/min.jpg" />90分钟</span>  
450 - <span>  
451 - <img src="images/support.jpg" />267人选择</span>  
452 - </p>  
453 - <p class="price">¥8686</p>  
454 - </div>  
455 - </div>  
456 -  
457 - <div class="con4li">  
458 - <a href="#">  
459 - <img class="left" src="images/part4_li_16.jpg" />  
460 - </a>  
461 - <div class="corigt left">  
462 - <a href="#">  
463 - <span>中老年健康套餐A</span>  
464 - <p>适合患高血脂、糖尿病、冠心病等疾病的人群</p>  
465 - </a>  
466 - <p class="minute">  
467 - <span>  
468 - <img src="images/min_15.jpg" />健康评估</span>  
469 - <span>  
470 - <img src="images/min_17.jpg" />深度体检</span>  
471 - </p>  
472 - <p class="price">¥8686</p>  
473 - </div>  
474 - </div>  
475 -  
476 - <div class="con4li">  
477 - <a href="#">  
478 - <img class="left" src="images/part4_li_18.jpg" />  
479 - </a>  
480 - <div class="corigt left">  
481 - <a href="#">  
482 - <span>万科怡园光熙长者公寓</span>  
483 - <p>稀缺位置和优质环境使得在繁华热闹的城市核心区 享受桃源般的养老生活成为可能  
484 - </p>  
485 - </a>  
486 - <p class="minute">  
487 - <span>  
488 - <img src="images/min_21.jpg" />品牌养老</span>  
489 - <span>  
490 - <img src="images/min_23.jpg" />医疗康复</span>  
491 - </p>  
492 - <p class="price">¥8686</p>  
493 - </div>  
494 - </div>  
495 - </div>  
496 - </li>  
497 - </ul>  
498 - <div class="clear"></div>  
499 -  
500 - </div> 369 + </ul>
501 </div> 370 </div>
502 </div> 371 </div>
503 <!--part4 end--> 372 <!--part4 end-->
@@ -523,10 +392,141 @@ @@ -523,10 +392,141 @@
523 </li> 392 </li>
524 </ul> 393 </ul>
525 </div> 394 </div>
526 - <!--footer end--> 395 +</div>
  396 +<script src="js/swiper.min.js"></script>
  397 +<script src="js/common.js"></script>
  398 +<script type="text/javascript"
  399 + src="http://api.map.baidu.com/api?v=2.0&ak=lkZq5ygd4fVbdFXgPggklV2GwTjW5PGh"></script>
  400 +<!--footer end-->
  401 +<script>
  402 + var map = new BMap.Map("container");
  403 + var geolocation = new BMap.Geolocation();
  404 + var geoc = new BMap.Geocoder();
  405 + geolocation.getCurrentPosition(function (r) {
  406 + if (this.getStatus() == BMAP_STATUS_SUCCESS) {
  407 +
  408 + var mk = new BMap.Marker(r.point);
  409 + map.addOverlay(mk);
  410 + map.panTo(r.point);
  411 + // alert('您的位置:' + r.point.lng + ',' + r.point.lat);
  412 + geoc.getLocation(new BMap.Point(r.point.lng, r.point.lat), function (rs) {
  413 + var addComp = rs.addressComponents;
  414 + // alert(addComp.province + ", " + addComp.city + ", " + addComp.district + ", " + addComp.street + ", " + addComp.streetNumber);
  415 + $('#city').text(addComp.province)
  416 + });
  417 + }
  418 + else {
  419 + alert('failed' + this.getStatus());
  420 + }
  421 + }, {enableHighAccuracy: true})
  422 +</script>
  423 +<script>
  424 + $(document).ready(function () {
  425 + sendAjax('post', 'portal/index/cat', null, null, function (res) {
  426 + let cat_data = res;
  427 + let html = '';
  428 + if (cat_data.code == 1) {
  429 + for (let i in cat_data.data) {
  430 + html += `<li data-id="${cat_data.data[i].id}"> <a href="#"> <img src="${cat_data.data[i].img}"/> <p>${cat_data.data[i].name}</p></a></li>`
  431 + }
  432 + $('.nav ul').append(html);
  433 + $('.nav ul li').click(function () {
  434 + var li_id = $(this).attr('data-id');
  435 + if (li_id == 1) {
  436 + window.location.href = './protect.html?id=' + li_id
  437 + }
  438 + })
  439 + } else {
  440 + console.log(res.msg)
  441 + }
  442 + });
  443 + sendAjax('post', 'portal/index/index', null, null, function (res) {
  444 + let index_data = res;
  445 + let html = '';
  446 + if (index_data.code == 1) {
  447 + for (let j in index_data.data) {
  448 + html += `<li>
  449 + <a href="#" class="part3_a">
  450 + <div class=" text3">
  451 + <p class="title3">${index_data.data[j].title}</p>
  452 + <p class="context3">${index_data.data[j].title}</p>
  453 + </div>
  454 + <div class="part3_right">
  455 + <img src="${index_data.data[j].img}" />
  456 + </div>
527 457
  458 + </a>
  459 + </li>`
  460 + // html += `<li> <a href="#"> <div class="text3"><p class="title3">${index_data.data[j].title}</p><p class="context3">${index_data.data[j].title}</p> </div> <img src="${index_data.data[j].img}" class=""/></a></li>`
  461 + }
  462 + $('.part3 ul').append(html)
  463 + }
  464 + });
  465 + <!--严选推荐-->
  466 + sendAjax('post', 'portal/index/show', null, null, function (res) {
  467 + console.log(res);
  468 + let show_data = res;
  469 + let html = '';
  470 + var j = 1;
  471 + if (show_data.code == 1) {
  472 + for (let i in show_data.data) {
  473 + console.log(show_data.data.length)
  474 + html += ' <div class="swiper-slide"><li id="d' + (j) + '"> <div class="con4"> ';
  475 + for (let j in show_data.data[i]) {
  476 + // console.log()
  477 + html += `<div class="con4li" > <a href="#"><img class="left" src="${show_data.data[i][j].img}"/></a> <div class="corigt left"> <a href="#"><span>${show_data.data[i][j].title}</span> <p>${show_data.data[i][j].describe}</p></a> <p class="minute"><span><img src="images/min.jpg"/>60分钟</span><span><img src="images/support.jpg"/>562人选择</span> </p><p class="price">${show_data.data[i][j].price}</p></div></div>`
  478 + }
  479 + html += `</li></div></div>`;
  480 + j++;
  481 + }
  482 + $('.swiper-wrapper').append(html);
  483 + }
  484 + })
  485 + })
  486 +</script>
  487 +
  488 +<!--各种信息查询接口-->
  489 +<!--<script>-->
  490 +<!--sendAjax('post', 'portal/index/getAgreement', null, null, function (res) {-->
  491 +<!--console.log(res);-->
  492 +<!--let show_data = res;-->
  493 +<!--let html = '';-->
  494 +<!--})-->
  495 +
  496 +<!--</script>-->
  497 +<script>
  498 + var swiper = new Swiper('.swiper-container', {
  499 + autoplay: true,
  500 + observer: true,
  501 + observeParents: true,
  502 + loop: true
  503 + });
  504 + $('.chancenext').click(function () {
  505 + swiper.slideNext();
  506 + })
  507 +
  508 +
  509 +</script>
  510 +
  511 +<script>
  512 + $(document).ready(function () {
  513 + scroll('.part4');
  514 + });
  515 +
  516 + function scroll(id) {
  517 + var scrollTop = 0;
  518 + var oTop = $(id).offset().top;
  519 + $(document).scroll(function () {
  520 + scrollTop = $(this).scrollTop();
  521 + if (scrollTop >= oTop) {
  522 + $('.title4').addClass('title4_top')
  523 + } else {
  524 + $('.title4').removeClass('title4_top')
  525 + }
  526 + })
528 527
  528 + }
529 529
  530 +</script>
530 </body> 531 </body>
531 -  
532 -</html>  
  532 +</html>
1 // var baseUrl = 'http://kindapp.w.bronet.cn/api/'; 1 // var baseUrl = 'http://kindapp.w.bronet.cn/api/';
2 var baseUrl = 'http://192.168.1.3/api/'; 2 var baseUrl = 'http://192.168.1.3/api/';
3 3
4 -function sendAjax(post, url, params, callback) {  
5 - 4 +function sendAjax(post, url, params, header, callback) {
6 $.ajax({ 5 $.ajax({
7 url: baseUrl + url, 6 url: baseUrl + url,
8 - type: "POST",  
9 - dataType: "json", 7 + method: post,
10 data: params, 8 data: params,
11 - header: { },  
12 - // headers: {  
13 - // "Access-Control-Allow-Origin": "http://example.edu",  
14 - // "Access-Control-Allow-Headers": "X-Requested-With"  
15 - // }, 9 + headers: header,
16 success: function (res) { 10 success: function (res) {
17 - callback(res) 11 + callback(JSON.parse(res))
18 }, 12 },
19 fail: function (err) { 13 fail: function (err) {
20 console.log('error') 14 console.log('error')
@@ -28,6 +22,7 @@ function show() { @@ -28,6 +22,7 @@ function show() {
28 $('#target').css('transform', 'rotate(' + current + 'deg)'); 22 $('#target').css('transform', 'rotate(' + current + 'deg)');
29 console.log( $('#target').css('transform', 'rotate(' + current + 'deg)')); 23 console.log( $('#target').css('transform', 'rotate(' + current + 'deg)'));
30 $('#show_menu').toggle() 24 $('#show_menu').toggle()
  25 +
31 } 26 }
32 27
33 function getDevice() { 28 function getDevice() {
  1 +/**
  2 + * Swiper 3.4.2
  3 + * Most modern mobile touch slider and framework with hardware accelerated transitions
  4 + *
  5 + * http://www.idangero.us/swiper/
  6 + *
  7 + * Copyright 2017, Vladimir Kharlampidi
  8 + * The iDangero.us
  9 + * http://www.idangero.us/
  10 + *
  11 + * Licensed under MIT
  12 + *
  13 + * Released on: March 10, 2017
  14 + */
  15 +!function(){"use strict";var e,a=function(s,i){function r(e){return Math.floor(e)}function n(){var e=T.params.autoplay,a=T.slides.eq(T.activeIndex);a.attr("data-swiper-autoplay")&&(e=a.attr("data-swiper-autoplay")||T.params.autoplay),T.autoplayTimeoutId=setTimeout(function(){T.params.loop?(T.fixLoop(),T._slideNext(),T.emit("onAutoplay",T)):T.isEnd?i.autoplayStopOnLast?T.stopAutoplay():(T._slideTo(0),T.emit("onAutoplay",T)):(T._slideNext(),T.emit("onAutoplay",T))},e)}function o(a,t){var s=e(a.target);if(!s.is(t))if("string"==typeof t)s=s.parents(t);else if(t.nodeType){var i;return s.parents().each(function(e,a){a===t&&(i=t)}),i?t:void 0}if(0!==s.length)return s[0]}function l(e,a){a=a||{};var t=window.MutationObserver||window.WebkitMutationObserver,s=new t(function(e){e.forEach(function(e){T.onResize(!0),T.emit("onObserverUpdate",T,e)})});s.observe(e,{attributes:void 0===a.attributes||a.attributes,childList:void 0===a.childList||a.childList,characterData:void 0===a.characterData||a.characterData}),T.observers.push(s)}function p(e){e.originalEvent&&(e=e.originalEvent);var a=e.keyCode||e.charCode;if(!T.params.allowSwipeToNext&&(T.isHorizontal()&&39===a||!T.isHorizontal()&&40===a))return!1;if(!T.params.allowSwipeToPrev&&(T.isHorizontal()&&37===a||!T.isHorizontal()&&38===a))return!1;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 t=!1;if(T.container.parents("."+T.params.slideClass).length>0&&0===T.container.parents("."+T.params.slideActiveClass).length)return;var s={left:window.pageXOffset,top:window.pageYOffset},i=window.innerWidth,r=window.innerHeight,n=T.container.offset();T.rtl&&(n.left=n.left-T.container[0].scrollLeft);for(var o=[[n.left,n.top],[n.left+T.width,n.top],[n.left,n.top+T.height],[n.left+T.width,n.top+T.height]],l=0;l<o.length;l++){var p=o[l];p[0]>=s.left&&p[0]<=s.left+i&&p[1]>=s.top&&p[1]<=s.top+r&&(t=!0)}if(!t)return}T.isHorizontal()?(37!==a&&39!==a||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===a&&!T.rtl||37===a&&T.rtl)&&T.slideNext(),(37===a&&!T.rtl||39===a&&T.rtl)&&T.slidePrev()):(38!==a&&40!==a||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===a&&T.slideNext(),38===a&&T.slidePrev()),T.emit("onKeyPress",T,a)}}function d(e){var a=0,t=0,s=0,i=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(a=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(a=t,t=0),s=10*a,i=10*t,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||i)&&e.deltaMode&&(1===e.deltaMode?(s*=40,i*=40):(s*=800,i*=800)),s&&!a&&(a=s<1?-1:1),i&&!t&&(t=i<1?-1:1),{spinX:a,spinY:t,pixelX:s,pixelY:i}}function u(e){e.originalEvent&&(e=e.originalEvent);var a=0,t=T.rtl?-1:1,s=d(e);if(T.params.mousewheelForceToAxis)if(T.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return;a=s.pixelX*t}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return;a=s.pixelY}else a=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*t:-s.pixelY;if(0!==a){if(T.params.mousewheelInvert&&(a=-a),T.params.freeMode){var i=T.getWrapperTranslate()+a*T.params.mousewheelSensitivity,r=T.isBeginning,n=T.isEnd;if(i>=T.minTranslate()&&(i=T.minTranslate()),i<=T.maxTranslate()&&(i=T.maxTranslate()),T.setWrapperTransition(0),T.setWrapperTranslate(i),T.updateProgress(),T.updateActiveIndex(),(!r&&T.isBeginning||!n&&T.isEnd)&&T.updateClasses(),T.params.freeModeSticky?(clearTimeout(T.mousewheel.timeout),T.mousewheel.timeout=setTimeout(function(){T.slideReset()},300)):T.params.lazyLoading&&T.lazy&&T.lazy.load(),T.emit("onScroll",T,e),T.params.autoplay&&T.params.autoplayDisableOnInteraction&&T.stopAutoplay(),0===i||i===T.maxTranslate())return}else{if((new window.Date).getTime()-T.mousewheel.lastScrollTime>60)if(a<0)if(T.isEnd&&!T.params.loop||T.animating){if(T.params.mousewheelReleaseOnEdges)return!0}else T.slideNext(),T.emit("onScroll",T,e);else if(T.isBeginning&&!T.params.loop||T.animating){if(T.params.mousewheelReleaseOnEdges)return!0}else T.slidePrev(),T.emit("onScroll",T,e);T.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function c(a,t){a=e(a);var s,i,r,n=T.rtl?-1:1;s=a.attr("data-swiper-parallax")||"0",i=a.attr("data-swiper-parallax-x"),r=a.attr("data-swiper-parallax-y"),i||r?(i=i||"0",r=r||"0"):T.isHorizontal()?(i=s,r="0"):(r=s,i="0"),i=i.indexOf("%")>=0?parseInt(i,10)*t*n+"%":i*t*n+"px",r=r.indexOf("%")>=0?parseInt(r,10)*t+"%":r*t+"px",a.transform("translate3d("+i+", "+r+",0px)")}function m(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 a))return new a(s,i);var h={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},g=i&&i.virtualTranslate;i=i||{};var f={};for(var v in i)if("object"!=typeof i[v]||null===i[v]||(i[v].nodeType||i[v]===window||i[v]===document||void 0!==t&&i[v]instanceof t||"undefined"!=typeof jQuery&&i[v]instanceof jQuery))f[v]=i[v];else{f[v]={};for(var w in i[v])f[v][w]=i[v][w]}for(var y in h)if(void 0===i[y])i[y]=h[y];else if("object"==typeof i[y])for(var x in h[y])void 0===i[y][x]&&(i[y][x]=h[y][x]);var T=this;if(T.params=i,T.originalParams=f,T.classNames=[],void 0!==e&&void 0!==t&&(e=t),(void 0!==e||(e=void 0===t?window.Dom7||window.Zepto||window.jQuery:t))&&(T.$=e,T.currentBreakpoint=void 0,T.getActiveBreakpoint=function(){if(!T.params.breakpoints)return!1;var e,a=!1,t=[];for(e in T.params.breakpoints)T.params.breakpoints.hasOwnProperty(e)&&t.push(e);t.sort(function(e,a){return parseInt(e,10)>parseInt(a,10)});for(var s=0;s<t.length;s++)(e=t[s])>=window.innerWidth&&!a&&(a=e);return a||"max"},T.setBreakpoint=function(){var e=T.getActiveBreakpoint();if(e&&T.currentBreakpoint!==e){var a=e in T.params.breakpoints?T.params.breakpoints[e]:T.originalParams,t=T.params.loop&&a.slidesPerView!==T.params.slidesPerView;for(var s in a)T.params[s]=a[s];T.currentBreakpoint=e,t&&T.destroyLoop&&T.reLoop(!0)}},T.params.breakpoints&&T.setBreakpoint(),T.container=e(s),0!==T.container.length)){if(T.container.length>1){var b=[];return T.container.each(function(){b.push(new a(this,i))}),b}T.container[0].swiper=T,T.container.data("swiper",T),T.classNames.push(T.params.containerModifierClass+T.params.direction),T.params.freeMode&&T.classNames.push(T.params.containerModifierClass+"free-mode"),T.support.flexbox||(T.classNames.push(T.params.containerModifierClass+"no-flexbox"),T.params.slidesPerColumn=1),T.params.autoHeight&&T.classNames.push(T.params.containerModifierClass+"autoheight"),(T.params.parallax||T.params.watchSlidesVisibility)&&(T.params.watchSlidesProgress=!0),T.params.touchReleaseOnEdges&&(T.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(T.params.effect)>=0&&(T.support.transforms3d?(T.params.watchSlidesProgress=!0,T.classNames.push(T.params.containerModifierClass+"3d")):T.params.effect="slide"),"slide"!==T.params.effect&&T.classNames.push(T.params.containerModifierClass+T.params.effect),"cube"===T.params.effect&&(T.params.resistanceRatio=0,T.params.slidesPerView=1,T.params.slidesPerColumn=1,T.params.slidesPerGroup=1,T.params.centeredSlides=!1,T.params.spaceBetween=0,T.params.virtualTranslate=!0),"fade"!==T.params.effect&&"flip"!==T.params.effect||(T.params.slidesPerView=1,T.params.slidesPerColumn=1,T.params.slidesPerGroup=1,T.params.watchSlidesProgress=!0,T.params.spaceBetween=0,void 0===g&&(T.params.virtualTranslate=!0)),T.params.grabCursor&&T.support.touch&&(T.params.grabCursor=!1),T.wrapper=T.container.children("."+T.params.wrapperClass),T.params.pagination&&(T.paginationContainer=e(T.params.pagination),T.params.uniqueNavElements&&"string"==typeof T.params.pagination&&T.paginationContainer.length>1&&1===T.container.find(T.params.pagination).length&&(T.paginationContainer=T.container.find(T.params.pagination)),"bullets"===T.params.paginationType&&T.params.paginationClickable?T.paginationContainer.addClass(T.params.paginationModifierClass+"clickable"):T.params.paginationClickable=!1,T.paginationContainer.addClass(T.params.paginationModifierClass+T.params.paginationType)),(T.params.nextButton||T.params.prevButton)&&(T.params.nextButton&&(T.nextButton=e(T.params.nextButton),T.params.uniqueNavElements&&"string"==typeof T.params.nextButton&&T.nextButton.length>1&&1===T.container.find(T.params.nextButton).length&&(T.nextButton=T.container.find(T.params.nextButton))),T.params.prevButton&&(T.prevButton=e(T.params.prevButton),T.params.uniqueNavElements&&"string"==typeof T.params.prevButton&&T.prevButton.length>1&&1===T.container.find(T.params.prevButton).length&&(T.prevButton=T.container.find(T.params.prevButton)))),T.isHorizontal=function(){return"horizontal"===T.params.direction},T.rtl=T.isHorizontal()&&("rtl"===T.container[0].dir.toLowerCase()||"rtl"===T.container.css("direction")),T.rtl&&T.classNames.push(T.params.containerModifierClass+"rtl"),T.rtl&&(T.wrongRTL="-webkit-box"===T.wrapper.css("display")),T.params.slidesPerColumn>1&&T.classNames.push(T.params.containerModifierClass+"multirow"),T.device.android&&T.classNames.push(T.params.containerModifierClass+"android"),T.container.addClass(T.classNames.join(" ")),T.translate=0,T.progress=0,T.velocity=0,T.lockSwipeToNext=function(){T.params.allowSwipeToNext=!1,T.params.allowSwipeToPrev===!1&&T.params.grabCursor&&T.unsetGrabCursor()},T.lockSwipeToPrev=function(){T.params.allowSwipeToPrev=!1,T.params.allowSwipeToNext===!1&&T.params.grabCursor&&T.unsetGrabCursor()},T.lockSwipes=function(){T.params.allowSwipeToNext=T.params.allowSwipeToPrev=!1,T.params.grabCursor&&T.unsetGrabCursor()},T.unlockSwipeToNext=function(){T.params.allowSwipeToNext=!0,T.params.allowSwipeToPrev===!0&&T.params.grabCursor&&T.setGrabCursor()},T.unlockSwipeToPrev=function(){T.params.allowSwipeToPrev=!0,T.params.allowSwipeToNext===!0&&T.params.grabCursor&&T.setGrabCursor()},T.unlockSwipes=function(){T.params.allowSwipeToNext=T.params.allowSwipeToPrev=!0,T.params.grabCursor&&T.setGrabCursor()},T.setGrabCursor=function(e){T.container[0].style.cursor="move",T.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",T.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",T.container[0].style.cursor=e?"grabbing":"grab"},T.unsetGrabCursor=function(){T.container[0].style.cursor=""},T.params.grabCursor&&T.setGrabCursor(),T.imagesToLoad=[],T.imagesLoaded=0,T.loadImage=function(e,a,t,s,i,r){function n(){r&&r()}var o;e.complete&&i?n():a?(o=new window.Image,o.onload=n,o.onerror=n,s&&(o.sizes=s),t&&(o.srcset=t),a&&(o.src=a)):n()},T.preloadImages=function(){function e(){void 0!==T&&null!==T&&T&&(void 0!==T.imagesLoaded&&T.imagesLoaded++,T.imagesLoaded===T.imagesToLoad.length&&(T.params.updateOnImagesReady&&T.update(),T.emit("onImagesReady",T)))}T.imagesToLoad=T.container.find("img");for(var a=0;a<T.imagesToLoad.length;a++)T.loadImage(T.imagesToLoad[a],T.imagesToLoad[a].currentSrc||T.imagesToLoad[a].getAttribute("src"),T.imagesToLoad[a].srcset||T.imagesToLoad[a].getAttribute("srcset"),T.imagesToLoad[a].sizes||T.imagesToLoad[a].getAttribute("sizes"),!0,e)},T.autoplayTimeoutId=void 0,T.autoplaying=!1,T.autoplayPaused=!1,T.startAutoplay=function(){return void 0===T.autoplayTimeoutId&&(!!T.params.autoplay&&(!T.autoplaying&&(T.autoplaying=!0,T.emit("onAutoplayStart",T),void n())))},T.stopAutoplay=function(e){T.autoplayTimeoutId&&(T.autoplayTimeoutId&&clearTimeout(T.autoplayTimeoutId),T.autoplaying=!1,T.autoplayTimeoutId=void 0,T.emit("onAutoplayStop",T))},T.pauseAutoplay=function(e){T.autoplayPaused||(T.autoplayTimeoutId&&clearTimeout(T.autoplayTimeoutId),T.autoplayPaused=!0,0===e?(T.autoplayPaused=!1,n()):T.wrapper.transitionEnd(function(){T&&(T.autoplayPaused=!1,T.autoplaying?n():T.stopAutoplay())}))},T.minTranslate=function(){return-T.snapGrid[0]},T.maxTranslate=function(){return-T.snapGrid[T.snapGrid.length-1]},T.updateAutoHeight=function(){var e,a=[],t=0;if("auto"!==T.params.slidesPerView&&T.params.slidesPerView>1)for(e=0;e<Math.ceil(T.params.slidesPerView);e++){var s=T.activeIndex+e;if(s>T.slides.length)break;a.push(T.slides.eq(s)[0])}else a.push(T.slides.eq(T.activeIndex)[0]);for(e=0;e<a.length;e++)if(void 0!==a[e]){var i=a[e].offsetHeight;t=i>t?i:t}t&&T.wrapper.css("height",t+"px")},T.updateContainerSize=function(){var e,a;e=void 0!==T.params.width?T.params.width:T.container[0].clientWidth,a=void 0!==T.params.height?T.params.height:T.container[0].clientHeight,0===e&&T.isHorizontal()||0===a&&!T.isHorizontal()||(e=e-parseInt(T.container.css("padding-left"),10)-parseInt(T.container.css("padding-right"),10),a=a-parseInt(T.container.css("padding-top"),10)-parseInt(T.container.css("padding-bottom"),10),T.width=e,T.height=a,T.size=T.isHorizontal()?T.width:T.height)},T.updateSlidesSize=function(){T.slides=T.wrapper.children("."+T.params.slideClass),T.snapGrid=[],T.slidesGrid=[],T.slidesSizesGrid=[];var e,a=T.params.spaceBetween,t=-T.params.slidesOffsetBefore,s=0,i=0;if(void 0!==T.size){"string"==typeof a&&a.indexOf("%")>=0&&(a=parseFloat(a.replace("%",""))/100*T.size),T.virtualSize=-a,T.rtl?T.slides.css({marginLeft:"",marginTop:""}):T.slides.css({marginRight:"",marginBottom:""});var n;T.params.slidesPerColumn>1&&(n=Math.floor(T.slides.length/T.params.slidesPerColumn)===T.slides.length/T.params.slidesPerColumn?T.slides.length:Math.ceil(T.slides.length/T.params.slidesPerColumn)*T.params.slidesPerColumn,"auto"!==T.params.slidesPerView&&"row"===T.params.slidesPerColumnFill&&(n=Math.max(n,T.params.slidesPerView*T.params.slidesPerColumn)));var o,l=T.params.slidesPerColumn,p=n/l,d=p-(T.params.slidesPerColumn*p-T.slides.length);for(e=0;e<T.slides.length;e++){o=0;var u=T.slides.eq(e);if(T.params.slidesPerColumn>1){var c,m,h;"column"===T.params.slidesPerColumnFill?(m=Math.floor(e/l),h=e-m*l,(m>d||m===d&&h===l-1)&&++h>=l&&(h=0,m++),c=m+h*n/l,u.css({"-webkit-box-ordinal-group":c,"-moz-box-ordinal-group":c,"-ms-flex-order":c,"-webkit-order":c,order:c})):(h=Math.floor(e/p),m=e-h*p),u.css("margin-"+(T.isHorizontal()?"top":"left"),0!==h&&T.params.spaceBetween&&T.params.spaceBetween+"px").attr("data-swiper-column",m).attr("data-swiper-row",h)}"none"!==u.css("display")&&("auto"===T.params.slidesPerView?(o=T.isHorizontal()?u.outerWidth(!0):u.outerHeight(!0),T.params.roundLengths&&(o=r(o))):(o=(T.size-(T.params.slidesPerView-1)*a)/T.params.slidesPerView,T.params.roundLengths&&(o=r(o)),T.isHorizontal()?T.slides[e].style.width=o+"px":T.slides[e].style.height=o+"px"),T.slides[e].swiperSlideSize=o,T.slidesSizesGrid.push(o),T.params.centeredSlides?(t=t+o/2+s/2+a,0===s&&0!==e&&(t=t-T.size/2-a),0===e&&(t=t-T.size/2-a),Math.abs(t)<.001&&(t=0),i%T.params.slidesPerGroup==0&&T.snapGrid.push(t),T.slidesGrid.push(t)):(i%T.params.slidesPerGroup==0&&T.snapGrid.push(t),T.slidesGrid.push(t),t=t+o+a),T.virtualSize+=o+a,s=o,i++)}T.virtualSize=Math.max(T.virtualSize,T.size)+T.params.slidesOffsetAfter;var g;if(T.rtl&&T.wrongRTL&&("slide"===T.params.effect||"coverflow"===T.params.effect)&&T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+"px"}),T.support.flexbox&&!T.params.setWrapperSize||(T.isHorizontal()?T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+"px"}):T.wrapper.css({height:T.virtualSize+T.params.spaceBetween+"px"})),T.params.slidesPerColumn>1&&(T.virtualSize=(o+T.params.spaceBetween)*n,T.virtualSize=Math.ceil(T.virtualSize/T.params.slidesPerColumn)-T.params.spaceBetween,T.isHorizontal()?T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+"px"}):T.wrapper.css({height:T.virtualSize+T.params.spaceBetween+"px"}),T.params.centeredSlides)){for(g=[],e=0;e<T.snapGrid.length;e++)T.snapGrid[e]<T.virtualSize+T.snapGrid[0]&&g.push(T.snapGrid[e]);T.snapGrid=g}if(!T.params.centeredSlides){for(g=[],e=0;e<T.snapGrid.length;e++)T.snapGrid[e]<=T.virtualSize-T.size&&g.push(T.snapGrid[e]);T.snapGrid=g,Math.floor(T.virtualSize-T.size)-Math.floor(T.snapGrid[T.snapGrid.length-1])>1&&T.snapGrid.push(T.virtualSize-T.size)}0===T.snapGrid.length&&(T.snapGrid=[0]),0!==T.params.spaceBetween&&(T.isHorizontal()?T.rtl?T.slides.css({marginLeft:a+"px"}):T.slides.css({marginRight:a+"px"}):T.slides.css({marginBottom:a+"px"})),T.params.watchSlidesProgress&&T.updateSlidesOffset()}},T.updateSlidesOffset=function(){for(var e=0;e<T.slides.length;e++)T.slides[e].swiperSlideOffset=T.isHorizontal()?T.slides[e].offsetLeft:T.slides[e].offsetTop},T.currentSlidesPerView=function(){var e,a,t=1;if(T.params.centeredSlides){var s,i=T.slides[T.activeIndex].swiperSlideSize;for(e=T.activeIndex+1;e<T.slides.length;e++)T.slides[e]&&!s&&(i+=T.slides[e].swiperSlideSize,t++,i>T.size&&(s=!0));for(a=T.activeIndex-1;a>=0;a--)T.slides[a]&&!s&&(i+=T.slides[a].swiperSlideSize,t++,i>T.size&&(s=!0))}else for(e=T.activeIndex+1;e<T.slides.length;e++)T.slidesGrid[e]-T.slidesGrid[T.activeIndex]<T.size&&t++;return t},T.updateSlidesProgress=function(e){if(void 0===e&&(e=T.translate||0),0!==T.slides.length){void 0===T.slides[0].swiperSlideOffset&&T.updateSlidesOffset();var a=-e;T.rtl&&(a=e),T.slides.removeClass(T.params.slideVisibleClass);for(var t=0;t<T.slides.length;t++){var s=T.slides[t],i=(a+(T.params.centeredSlides?T.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+T.params.spaceBetween);if(T.params.watchSlidesVisibility){var r=-(a-s.swiperSlideOffset),n=r+T.slidesSizesGrid[t];(r>=0&&r<T.size||n>0&&n<=T.size||r<=0&&n>=T.size)&&T.slides.eq(t).addClass(T.params.slideVisibleClass)}s.progress=T.rtl?-i:i}}},T.updateProgress=function(e){void 0===e&&(e=T.translate||0);var a=T.maxTranslate()-T.minTranslate(),t=T.isBeginning,s=T.isEnd;0===a?(T.progress=0,T.isBeginning=T.isEnd=!0):(T.progress=(e-T.minTranslate())/a,T.isBeginning=T.progress<=0,T.isEnd=T.progress>=1),T.isBeginning&&!t&&T.emit("onReachBeginning",T),T.isEnd&&!s&&T.emit("onReachEnd",T),T.params.watchSlidesProgress&&T.updateSlidesProgress(e),T.emit("onProgress",T,T.progress)},T.updateActiveIndex=function(){var e,a,t,s=T.rtl?T.translate:-T.translate;for(a=0;a<T.slidesGrid.length;a++)void 0!==T.slidesGrid[a+1]?s>=T.slidesGrid[a]&&s<T.slidesGrid[a+1]-(T.slidesGrid[a+1]-T.slidesGrid[a])/2?e=a:s>=T.slidesGrid[a]&&s<T.slidesGrid[a+1]&&(e=a+1):s>=T.slidesGrid[a]&&(e=a);T.params.normalizeSlideIndex&&(e<0||void 0===e)&&(e=0),t=Math.floor(e/T.params.slidesPerGroup),t>=T.snapGrid.length&&(t=T.snapGrid.length-1),e!==T.activeIndex&&(T.snapIndex=t,T.previousIndex=T.activeIndex,T.activeIndex=e,T.updateClasses(),T.updateRealIndex())},T.updateRealIndex=function(){T.realIndex=parseInt(T.slides.eq(T.activeIndex).attr("data-swiper-slide-index")||T.activeIndex,10)},T.updateClasses=function(){T.slides.removeClass(T.params.slideActiveClass+" "+T.params.slideNextClass+" "+T.params.slidePrevClass+" "+T.params.slideDuplicateActiveClass+" "+T.params.slideDuplicateNextClass+" "+T.params.slideDuplicatePrevClass);var a=T.slides.eq(T.activeIndex);a.addClass(T.params.slideActiveClass),i.loop&&(a.hasClass(T.params.slideDuplicateClass)?T.wrapper.children("."+T.params.slideClass+":not(."+T.params.slideDuplicateClass+')[data-swiper-slide-index="'+T.realIndex+'"]').addClass(T.params.slideDuplicateActiveClass):T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass+'[data-swiper-slide-index="'+T.realIndex+'"]').addClass(T.params.slideDuplicateActiveClass));var t=a.next("."+T.params.slideClass).addClass(T.params.slideNextClass);T.params.loop&&0===t.length&&(t=T.slides.eq(0),t.addClass(T.params.slideNextClass));var s=a.prev("."+T.params.slideClass).addClass(T.params.slidePrevClass);if(T.params.loop&&0===s.length&&(s=T.slides.eq(-1),s.addClass(T.params.slidePrevClass)),i.loop&&(t.hasClass(T.params.slideDuplicateClass)?T.wrapper.children("."+T.params.slideClass+":not(."+T.params.slideDuplicateClass+')[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addClass(T.params.slideDuplicateNextClass):T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass+'[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addClass(T.params.slideDuplicateNextClass),s.hasClass(T.params.slideDuplicateClass)?T.wrapper.children("."+T.params.slideClass+":not(."+T.params.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(T.params.slideDuplicatePrevClass):T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(T.params.slideDuplicatePrevClass)),T.paginationContainer&&T.paginationContainer.length>0){var r,n=T.params.loop?Math.ceil((T.slides.length-2*T.loopedSlides)/T.params.slidesPerGroup):T.snapGrid.length;if(T.params.loop?(r=Math.ceil((T.activeIndex-T.loopedSlides)/T.params.slidesPerGroup),r>T.slides.length-1-2*T.loopedSlides&&(r-=T.slides.length-2*T.loopedSlides),r>n-1&&(r-=n),r<0&&"bullets"!==T.params.paginationType&&(r=n+r)):r=void 0!==T.snapIndex?T.snapIndex:T.activeIndex||0,"bullets"===T.params.paginationType&&T.bullets&&T.bullets.length>0&&(T.bullets.removeClass(T.params.bulletActiveClass),T.paginationContainer.length>1?T.bullets.each(function(){e(this).index()===r&&e(this).addClass(T.params.bulletActiveClass)}):T.bullets.eq(r).addClass(T.params.bulletActiveClass)),"fraction"===T.params.paginationType&&(T.paginationContainer.find("."+T.params.paginationCurrentClass).text(r+1),T.paginationContainer.find("."+T.params.paginationTotalClass).text(n)),"progress"===T.params.paginationType){var o=(r+1)/n,l=o,p=1;T.isHorizontal()||(p=o,l=1),T.paginationContainer.find("."+T.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+l+") scaleY("+p+")").transition(T.params.speed)}"custom"===T.params.paginationType&&T.params.paginationCustomRender&&(T.paginationContainer.html(T.params.paginationCustomRender(T,r+1,n)),T.emit("onPaginationRendered",T,T.paginationContainer[0]))}T.params.loop||(T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.isBeginning?(T.prevButton.addClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.disable(T.prevButton)):(T.prevButton.removeClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.enable(T.prevButton))),T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.isEnd?(T.nextButton.addClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.disable(T.nextButton)):(T.nextButton.removeClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.enable(T.nextButton))))},T.updatePagination=function(){if(T.params.pagination&&T.paginationContainer&&T.paginationContainer.length>0){var e="";if("bullets"===T.params.paginationType){for(var a=T.params.loop?Math.ceil((T.slides.length-2*T.loopedSlides)/T.params.slidesPerGroup):T.snapGrid.length,t=0;t<a;t++)e+=T.params.paginationBulletRender?T.params.paginationBulletRender(T,t,T.params.bulletClass):"<"+T.params.paginationElement+' class="'+T.params.bulletClass+'"></'+T.params.paginationElement+">";T.paginationContainer.html(e),T.bullets=T.paginationContainer.find("."+T.params.bulletClass),T.params.paginationClickable&&T.params.a11y&&T.a11y&&T.a11y.initPagination()}"fraction"===T.params.paginationType&&(e=T.params.paginationFractionRender?T.params.paginationFractionRender(T,T.params.paginationCurrentClass,T.params.paginationTotalClass):'<span class="'+T.params.paginationCurrentClass+'"></span> / <span class="'+T.params.paginationTotalClass+'"></span>',T.paginationContainer.html(e)),"progress"===T.params.paginationType&&(e=T.params.paginationProgressRender?T.params.paginationProgressRender(T,T.params.paginationProgressbarClass):'<span class="'+T.params.paginationProgressbarClass+'"></span>',T.paginationContainer.html(e)),"custom"!==T.params.paginationType&&T.emit("onPaginationRendered",T,T.paginationContainer[0])}},T.update=function(e){function a(){T.rtl,T.translate;t=Math.min(Math.max(T.translate,T.maxTranslate()),T.minTranslate()),T.setWrapperTranslate(t),T.updateActiveIndex(),T.updateClasses()}if(T){T.updateContainerSize(),T.updateSlidesSize(),T.updateProgress(),T.updatePagination(),T.updateClasses(),T.params.scrollbar&&T.scrollbar&&T.scrollbar.set();var t;if(e){T.controller&&T.controller.spline&&(T.controller.spline=void 0),T.params.freeMode?(a(),T.params.autoHeight&&T.updateAutoHeight()):(("auto"===T.params.slidesPerView||T.params.slidesPerView>1)&&T.isEnd&&!T.params.centeredSlides?T.slideTo(T.slides.length-1,0,!1,!0):T.slideTo(T.activeIndex,0,!1,!0))||a()}else T.params.autoHeight&&T.updateAutoHeight()}},T.onResize=function(e){T.params.onBeforeResize&&T.params.onBeforeResize(T),T.params.breakpoints&&T.setBreakpoint();var a=T.params.allowSwipeToPrev,t=T.params.allowSwipeToNext;T.params.allowSwipeToPrev=T.params.allowSwipeToNext=!0,T.updateContainerSize(),T.updateSlidesSize(),("auto"===T.params.slidesPerView||T.params.freeMode||e)&&T.updatePagination(),T.params.scrollbar&&T.scrollbar&&T.scrollbar.set(),T.controller&&T.controller.spline&&(T.controller.spline=void 0);var s=!1;if(T.params.freeMode){var i=Math.min(Math.max(T.translate,T.maxTranslate()),T.minTranslate());T.setWrapperTranslate(i),T.updateActiveIndex(),T.updateClasses(),T.params.autoHeight&&T.updateAutoHeight()}else T.updateClasses(),s=("auto"===T.params.slidesPerView||T.params.slidesPerView>1)&&T.isEnd&&!T.params.centeredSlides?T.slideTo(T.slides.length-1,0,!1,!0):T.slideTo(T.activeIndex,0,!1,!0);T.params.lazyLoading&&!s&&T.lazy&&T.lazy.load(),T.params.allowSwipeToPrev=a,T.params.allowSwipeToNext=t,T.params.onAfterResize&&T.params.onAfterResize(T)},T.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?T.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(T.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),T.touchEvents={start:T.support.touch||!T.params.simulateTouch?"touchstart":T.touchEventsDesktop.start,move:T.support.touch||!T.params.simulateTouch?"touchmove":T.touchEventsDesktop.move,end:T.support.touch||!T.params.simulateTouch?"touchend":T.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===T.params.touchEventsTarget?T.container:T.wrapper).addClass("swiper-wp8-"+T.params.direction),T.initEvents=function(e){var a=e?"off":"on",t=e?"removeEventListener":"addEventListener",s="container"===T.params.touchEventsTarget?T.container[0]:T.wrapper[0],r=T.support.touch?s:document,n=!!T.params.nested;if(T.browser.ie)s[t](T.touchEvents.start,T.onTouchStart,!1),r[t](T.touchEvents.move,T.onTouchMove,n),r[t](T.touchEvents.end,T.onTouchEnd,!1);else{if(T.support.touch){var o=!("touchstart"!==T.touchEvents.start||!T.support.passiveListener||!T.params.passiveListeners)&&{passive:!0,capture:!1};s[t](T.touchEvents.start,T.onTouchStart,o),s[t](T.touchEvents.move,T.onTouchMove,n),s[t](T.touchEvents.end,T.onTouchEnd,o)}(i.simulateTouch&&!T.device.ios&&!T.device.android||i.simulateTouch&&!T.support.touch&&T.device.ios)&&(s[t]("mousedown",T.onTouchStart,!1),document[t]("mousemove",T.onTouchMove,n),document[t]("mouseup",T.onTouchEnd,!1))}window[t]("resize",T.onResize),T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.nextButton[a]("click",T.onClickNext),T.params.a11y&&T.a11y&&T.nextButton[a]("keydown",T.a11y.onEnterKey)),T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.prevButton[a]("click",T.onClickPrev),T.params.a11y&&T.a11y&&T.prevButton[a]("keydown",T.a11y.onEnterKey)),T.params.pagination&&T.params.paginationClickable&&(T.paginationContainer[a]("click","."+T.params.bulletClass,T.onClickIndex),T.params.a11y&&T.a11y&&T.paginationContainer[a]("keydown","."+T.params.bulletClass,T.a11y.onEnterKey)),(T.params.preventClicks||T.params.preventClicksPropagation)&&s[t]("click",T.preventClicks,!0)},T.attachEvents=function(){T.initEvents()},T.detachEvents=function(){T.initEvents(!0)},T.allowClick=!0,T.preventClicks=function(e){T.allowClick||(T.params.preventClicks&&e.preventDefault(),T.params.preventClicksPropagation&&T.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},T.onClickNext=function(e){e.preventDefault(),T.isEnd&&!T.params.loop||T.slideNext()},T.onClickPrev=function(e){e.preventDefault(),T.isBeginning&&!T.params.loop||T.slidePrev()},T.onClickIndex=function(a){a.preventDefault();var t=e(this).index()*T.params.slidesPerGroup;T.params.loop&&(t+=T.loopedSlides),T.slideTo(t)},
  16 +T.updateClickedSlide=function(a){var t=o(a,"."+T.params.slideClass),s=!1;if(t)for(var i=0;i<T.slides.length;i++)T.slides[i]===t&&(s=!0);if(!t||!s)return T.clickedSlide=void 0,void(T.clickedIndex=void 0);if(T.clickedSlide=t,T.clickedIndex=e(t).index(),T.params.slideToClickedSlide&&void 0!==T.clickedIndex&&T.clickedIndex!==T.activeIndex){var r,n=T.clickedIndex,l="auto"===T.params.slidesPerView?T.currentSlidesPerView():T.params.slidesPerView;if(T.params.loop){if(T.animating)return;r=parseInt(e(T.clickedSlide).attr("data-swiper-slide-index"),10),T.params.centeredSlides?n<T.loopedSlides-l/2||n>T.slides.length-T.loopedSlides+l/2?(T.fixLoop(),n=T.wrapper.children("."+T.params.slideClass+'[data-swiper-slide-index="'+r+'"]:not(.'+T.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){T.slideTo(n)},0)):T.slideTo(n):n>T.slides.length-l?(T.fixLoop(),n=T.wrapper.children("."+T.params.slideClass+'[data-swiper-slide-index="'+r+'"]:not(.'+T.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){T.slideTo(n)},0)):T.slideTo(n)}else T.slideTo(n)}};var S,C,z,M,E,P,I,k,L,D,B="input, select, textarea, button, video",H=Date.now(),G=[];T.animating=!1,T.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var X,A;T.onTouchStart=function(a){if(a.originalEvent&&(a=a.originalEvent),(X="touchstart"===a.type)||!("which"in a)||3!==a.which){if(T.params.noSwiping&&o(a,"."+T.params.noSwipingClass))return void(T.allowClick=!0);if(!T.params.swipeHandler||o(a,T.params.swipeHandler)){var t=T.touches.currentX="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,s=T.touches.currentY="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY;if(!(T.device.ios&&T.params.iOSEdgeSwipeDetection&&t<=T.params.iOSEdgeSwipeThreshold)){if(S=!0,C=!1,z=!0,E=void 0,A=void 0,T.touches.startX=t,T.touches.startY=s,M=Date.now(),T.allowClick=!0,T.updateContainerSize(),T.swipeDirection=void 0,T.params.threshold>0&&(k=!1),"touchstart"!==a.type){var i=!0;e(a.target).is(B)&&(i=!1),document.activeElement&&e(document.activeElement).is(B)&&document.activeElement.blur(),i&&a.preventDefault()}T.emit("onTouchStart",T,a)}}}},T.onTouchMove=function(a){if(a.originalEvent&&(a=a.originalEvent),!X||"mousemove"!==a.type){if(a.preventedByNestedSwiper)return T.touches.startX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,void(T.touches.startY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY);if(T.params.onlyExternal)return T.allowClick=!1,void(S&&(T.touches.startX=T.touches.currentX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,T.touches.startY=T.touches.currentY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY,M=Date.now()));if(X&&T.params.touchReleaseOnEdges&&!T.params.loop)if(T.isHorizontal()){if(T.touches.currentX<T.touches.startX&&T.translate<=T.maxTranslate()||T.touches.currentX>T.touches.startX&&T.translate>=T.minTranslate())return}else if(T.touches.currentY<T.touches.startY&&T.translate<=T.maxTranslate()||T.touches.currentY>T.touches.startY&&T.translate>=T.minTranslate())return;if(X&&document.activeElement&&a.target===document.activeElement&&e(a.target).is(B))return C=!0,void(T.allowClick=!1);if(z&&T.emit("onTouchMove",T,a),!(a.targetTouches&&a.targetTouches.length>1)){if(T.touches.currentX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,T.touches.currentY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY,void 0===E){var t;T.isHorizontal()&&T.touches.currentY===T.touches.startY||!T.isHorizontal()&&T.touches.currentX===T.touches.startX?E=!1:(t=180*Math.atan2(Math.abs(T.touches.currentY-T.touches.startY),Math.abs(T.touches.currentX-T.touches.startX))/Math.PI,E=T.isHorizontal()?t>T.params.touchAngle:90-t>T.params.touchAngle)}if(E&&T.emit("onTouchMoveOpposite",T,a),void 0===A&&(T.touches.currentX===T.touches.startX&&T.touches.currentY===T.touches.startY||(A=!0)),S){if(E)return void(S=!1);if(A){T.allowClick=!1,T.emit("onSliderMove",T,a),a.preventDefault(),T.params.touchMoveStopPropagation&&!T.params.nested&&a.stopPropagation(),C||(i.loop&&T.fixLoop(),I=T.getWrapperTranslate(),T.setWrapperTransition(0),T.animating&&T.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),T.params.autoplay&&T.autoplaying&&(T.params.autoplayDisableOnInteraction?T.stopAutoplay():T.pauseAutoplay()),D=!1,!T.params.grabCursor||T.params.allowSwipeToNext!==!0&&T.params.allowSwipeToPrev!==!0||T.setGrabCursor(!0)),C=!0;var s=T.touches.diff=T.isHorizontal()?T.touches.currentX-T.touches.startX:T.touches.currentY-T.touches.startY;s*=T.params.touchRatio,T.rtl&&(s=-s),T.swipeDirection=s>0?"prev":"next",P=s+I;var r=!0;if(s>0&&P>T.minTranslate()?(r=!1,T.params.resistance&&(P=T.minTranslate()-1+Math.pow(-T.minTranslate()+I+s,T.params.resistanceRatio))):s<0&&P<T.maxTranslate()&&(r=!1,T.params.resistance&&(P=T.maxTranslate()+1-Math.pow(T.maxTranslate()-I-s,T.params.resistanceRatio))),r&&(a.preventedByNestedSwiper=!0),!T.params.allowSwipeToNext&&"next"===T.swipeDirection&&P<I&&(P=I),!T.params.allowSwipeToPrev&&"prev"===T.swipeDirection&&P>I&&(P=I),T.params.threshold>0){if(!(Math.abs(s)>T.params.threshold||k))return void(P=I);if(!k)return k=!0,T.touches.startX=T.touches.currentX,T.touches.startY=T.touches.currentY,P=I,void(T.touches.diff=T.isHorizontal()?T.touches.currentX-T.touches.startX:T.touches.currentY-T.touches.startY)}T.params.followFinger&&((T.params.freeMode||T.params.watchSlidesProgress)&&T.updateActiveIndex(),T.params.freeMode&&(0===G.length&&G.push({position:T.touches[T.isHorizontal()?"startX":"startY"],time:M}),G.push({position:T.touches[T.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),T.updateProgress(P),T.setWrapperTranslate(P))}}}}},T.onTouchEnd=function(a){if(a.originalEvent&&(a=a.originalEvent),z&&T.emit("onTouchEnd",T,a),z=!1,S){T.params.grabCursor&&C&&S&&(T.params.allowSwipeToNext===!0||T.params.allowSwipeToPrev===!0)&&T.setGrabCursor(!1);var t=Date.now(),s=t-M;if(T.allowClick&&(T.updateClickedSlide(a),T.emit("onTap",T,a),s<300&&t-H>300&&(L&&clearTimeout(L),L=setTimeout(function(){T&&(T.params.paginationHide&&T.paginationContainer.length>0&&!e(a.target).hasClass(T.params.bulletClass)&&T.paginationContainer.toggleClass(T.params.paginationHiddenClass),T.emit("onClick",T,a))},300)),s<300&&t-H<300&&(L&&clearTimeout(L),T.emit("onDoubleTap",T,a))),H=Date.now(),setTimeout(function(){T&&(T.allowClick=!0)},0),!S||!C||!T.swipeDirection||0===T.touches.diff||P===I)return void(S=C=!1);S=C=!1;var i;if(i=T.params.followFinger?T.rtl?T.translate:-T.translate:-P,T.params.freeMode){if(i<-T.minTranslate())return void T.slideTo(T.activeIndex);if(i>-T.maxTranslate())return void(T.slides.length<T.snapGrid.length?T.slideTo(T.snapGrid.length-1):T.slideTo(T.slides.length-1));if(T.params.freeModeMomentum){if(G.length>1){var r=G.pop(),n=G.pop(),o=r.position-n.position,l=r.time-n.time;T.velocity=o/l,T.velocity=T.velocity/2,Math.abs(T.velocity)<T.params.freeModeMinimumVelocity&&(T.velocity=0),(l>150||(new window.Date).getTime()-r.time>300)&&(T.velocity=0)}else T.velocity=0;T.velocity=T.velocity*T.params.freeModeMomentumVelocityRatio,G.length=0;var p=1e3*T.params.freeModeMomentumRatio,d=T.velocity*p,u=T.translate+d;T.rtl&&(u=-u);var c,m=!1,h=20*Math.abs(T.velocity)*T.params.freeModeMomentumBounceRatio;if(u<T.maxTranslate())T.params.freeModeMomentumBounce?(u+T.maxTranslate()<-h&&(u=T.maxTranslate()-h),c=T.maxTranslate(),m=!0,D=!0):u=T.maxTranslate();else if(u>T.minTranslate())T.params.freeModeMomentumBounce?(u-T.minTranslate()>h&&(u=T.minTranslate()+h),c=T.minTranslate(),m=!0,D=!0):u=T.minTranslate();else if(T.params.freeModeSticky){var g,f=0;for(f=0;f<T.snapGrid.length;f+=1)if(T.snapGrid[f]>-u){g=f;break}u=Math.abs(T.snapGrid[g]-u)<Math.abs(T.snapGrid[g-1]-u)||"next"===T.swipeDirection?T.snapGrid[g]:T.snapGrid[g-1],T.rtl||(u=-u)}if(0!==T.velocity)p=T.rtl?Math.abs((-u-T.translate)/T.velocity):Math.abs((u-T.translate)/T.velocity);else if(T.params.freeModeSticky)return void T.slideReset();T.params.freeModeMomentumBounce&&m?(T.updateProgress(c),T.setWrapperTransition(p),T.setWrapperTranslate(u),T.onTransitionStart(),T.animating=!0,T.wrapper.transitionEnd(function(){T&&D&&(T.emit("onMomentumBounce",T),T.setWrapperTransition(T.params.speed),T.setWrapperTranslate(c),T.wrapper.transitionEnd(function(){T&&T.onTransitionEnd()}))})):T.velocity?(T.updateProgress(u),T.setWrapperTransition(p),T.setWrapperTranslate(u),T.onTransitionStart(),T.animating||(T.animating=!0,T.wrapper.transitionEnd(function(){T&&T.onTransitionEnd()}))):T.updateProgress(u),T.updateActiveIndex()}return void((!T.params.freeModeMomentum||s>=T.params.longSwipesMs)&&(T.updateProgress(),T.updateActiveIndex()))}var v,w=0,y=T.slidesSizesGrid[0];for(v=0;v<T.slidesGrid.length;v+=T.params.slidesPerGroup)void 0!==T.slidesGrid[v+T.params.slidesPerGroup]?i>=T.slidesGrid[v]&&i<T.slidesGrid[v+T.params.slidesPerGroup]&&(w=v,y=T.slidesGrid[v+T.params.slidesPerGroup]-T.slidesGrid[v]):i>=T.slidesGrid[v]&&(w=v,y=T.slidesGrid[T.slidesGrid.length-1]-T.slidesGrid[T.slidesGrid.length-2]);var x=(i-T.slidesGrid[w])/y;if(s>T.params.longSwipesMs){if(!T.params.longSwipes)return void T.slideTo(T.activeIndex);"next"===T.swipeDirection&&(x>=T.params.longSwipesRatio?T.slideTo(w+T.params.slidesPerGroup):T.slideTo(w)),"prev"===T.swipeDirection&&(x>1-T.params.longSwipesRatio?T.slideTo(w+T.params.slidesPerGroup):T.slideTo(w))}else{if(!T.params.shortSwipes)return void T.slideTo(T.activeIndex);"next"===T.swipeDirection&&T.slideTo(w+T.params.slidesPerGroup),"prev"===T.swipeDirection&&T.slideTo(w)}}},T._slideTo=function(e,a){return T.slideTo(e,a,!0,!0)},T.slideTo=function(e,a,t,s){void 0===t&&(t=!0),void 0===e&&(e=0),e<0&&(e=0),T.snapIndex=Math.floor(e/T.params.slidesPerGroup),T.snapIndex>=T.snapGrid.length&&(T.snapIndex=T.snapGrid.length-1);var i=-T.snapGrid[T.snapIndex];if(T.params.autoplay&&T.autoplaying&&(s||!T.params.autoplayDisableOnInteraction?T.pauseAutoplay(a):T.stopAutoplay()),T.updateProgress(i),T.params.normalizeSlideIndex)for(var r=0;r<T.slidesGrid.length;r++)-Math.floor(100*i)>=Math.floor(100*T.slidesGrid[r])&&(e=r);return!(!T.params.allowSwipeToNext&&i<T.translate&&i<T.minTranslate())&&(!(!T.params.allowSwipeToPrev&&i>T.translate&&i>T.maxTranslate()&&(T.activeIndex||0)!==e)&&(void 0===a&&(a=T.params.speed),T.previousIndex=T.activeIndex||0,T.activeIndex=e,T.updateRealIndex(),T.rtl&&-i===T.translate||!T.rtl&&i===T.translate?(T.params.autoHeight&&T.updateAutoHeight(),T.updateClasses(),"slide"!==T.params.effect&&T.setWrapperTranslate(i),!1):(T.updateClasses(),T.onTransitionStart(t),0===a||T.browser.lteIE9?(T.setWrapperTranslate(i),T.setWrapperTransition(0),T.onTransitionEnd(t)):(T.setWrapperTranslate(i),T.setWrapperTransition(a),T.animating||(T.animating=!0,T.wrapper.transitionEnd(function(){T&&T.onTransitionEnd(t)}))),!0)))},T.onTransitionStart=function(e){void 0===e&&(e=!0),T.params.autoHeight&&T.updateAutoHeight(),T.lazy&&T.lazy.onTransitionStart(),e&&(T.emit("onTransitionStart",T),T.activeIndex!==T.previousIndex&&(T.emit("onSlideChangeStart",T),T.activeIndex>T.previousIndex?T.emit("onSlideNextStart",T):T.emit("onSlidePrevStart",T)))},T.onTransitionEnd=function(e){T.animating=!1,T.setWrapperTransition(0),void 0===e&&(e=!0),T.lazy&&T.lazy.onTransitionEnd(),e&&(T.emit("onTransitionEnd",T),T.activeIndex!==T.previousIndex&&(T.emit("onSlideChangeEnd",T),T.activeIndex>T.previousIndex?T.emit("onSlideNextEnd",T):T.emit("onSlidePrevEnd",T))),T.params.history&&T.history&&T.history.setHistory(T.params.history,T.activeIndex),T.params.hashnav&&T.hashnav&&T.hashnav.setHash()},T.slideNext=function(e,a,t){if(T.params.loop){if(T.animating)return!1;T.fixLoop();T.container[0].clientLeft;return T.slideTo(T.activeIndex+T.params.slidesPerGroup,a,e,t)}return T.slideTo(T.activeIndex+T.params.slidesPerGroup,a,e,t)},T._slideNext=function(e){return T.slideNext(!0,e,!0)},T.slidePrev=function(e,a,t){if(T.params.loop){if(T.animating)return!1;T.fixLoop();T.container[0].clientLeft;return T.slideTo(T.activeIndex-1,a,e,t)}return T.slideTo(T.activeIndex-1,a,e,t)},T._slidePrev=function(e){return T.slidePrev(!0,e,!0)},T.slideReset=function(e,a,t){return T.slideTo(T.activeIndex,a,e)},T.disableTouchControl=function(){return T.params.onlyExternal=!0,!0},T.enableTouchControl=function(){return T.params.onlyExternal=!1,!0},T.setWrapperTransition=function(e,a){T.wrapper.transition(e),"slide"!==T.params.effect&&T.effects[T.params.effect]&&T.effects[T.params.effect].setTransition(e),T.params.parallax&&T.parallax&&T.parallax.setTransition(e),T.params.scrollbar&&T.scrollbar&&T.scrollbar.setTransition(e),T.params.control&&T.controller&&T.controller.setTransition(e,a),T.emit("onSetTransition",T,e)},T.setWrapperTranslate=function(e,a,t){var s=0,i=0;T.isHorizontal()?s=T.rtl?-e:e:i=e,T.params.roundLengths&&(s=r(s),i=r(i)),T.params.virtualTranslate||(T.support.transforms3d?T.wrapper.transform("translate3d("+s+"px, "+i+"px, 0px)"):T.wrapper.transform("translate("+s+"px, "+i+"px)")),T.translate=T.isHorizontal()?s:i;var n,o=T.maxTranslate()-T.minTranslate();n=0===o?0:(e-T.minTranslate())/o,n!==T.progress&&T.updateProgress(e),a&&T.updateActiveIndex(),"slide"!==T.params.effect&&T.effects[T.params.effect]&&T.effects[T.params.effect].setTranslate(T.translate),T.params.parallax&&T.parallax&&T.parallax.setTranslate(T.translate),T.params.scrollbar&&T.scrollbar&&T.scrollbar.setTranslate(T.translate),T.params.control&&T.controller&&T.controller.setTranslate(T.translate,t),T.emit("onSetTranslate",T,T.translate)},T.getTranslate=function(e,a){var t,s,i,r;return void 0===a&&(a="x"),T.params.virtualTranslate?T.rtl?-T.translate:T.translate:(i=window.getComputedStyle(e,null),window.WebKitCSSMatrix?(s=i.transform||i.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new window.WebKitCSSMatrix("none"===s?"":s)):(r=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=r.toString().split(",")),"x"===a&&(s=window.WebKitCSSMatrix?r.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===a&&(s=window.WebKitCSSMatrix?r.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),T.rtl&&s&&(s=-s),s||0)},T.getWrapperTranslate=function(e){return void 0===e&&(e=T.isHorizontal()?"x":"y"),T.getTranslate(T.wrapper[0],e)},T.observers=[],T.initObservers=function(){if(T.params.observeParents)for(var e=T.container.parents(),a=0;a<e.length;a++)l(e[a]);l(T.container[0],{childList:!1}),l(T.wrapper[0],{attributes:!1})},T.disconnectObservers=function(){for(var e=0;e<T.observers.length;e++)T.observers[e].disconnect();T.observers=[]},T.createLoop=function(){T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass).remove();var a=T.wrapper.children("."+T.params.slideClass);"auto"!==T.params.slidesPerView||T.params.loopedSlides||(T.params.loopedSlides=a.length),T.loopedSlides=parseInt(T.params.loopedSlides||T.params.slidesPerView,10),T.loopedSlides=T.loopedSlides+T.params.loopAdditionalSlides,T.loopedSlides>a.length&&(T.loopedSlides=a.length);var t,s=[],i=[];for(a.each(function(t,r){var n=e(this);t<T.loopedSlides&&i.push(r),t<a.length&&t>=a.length-T.loopedSlides&&s.push(r),n.attr("data-swiper-slide-index",t)}),t=0;t<i.length;t++)T.wrapper.append(e(i[t].cloneNode(!0)).addClass(T.params.slideDuplicateClass));for(t=s.length-1;t>=0;t--)T.wrapper.prepend(e(s[t].cloneNode(!0)).addClass(T.params.slideDuplicateClass))},T.destroyLoop=function(){T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass).remove(),T.slides.removeAttr("data-swiper-slide-index")},T.reLoop=function(e){var a=T.activeIndex-T.loopedSlides;T.destroyLoop(),T.createLoop(),T.updateSlidesSize(),e&&T.slideTo(a+T.loopedSlides,0,!1)},T.fixLoop=function(){var e;T.activeIndex<T.loopedSlides?(e=T.slides.length-3*T.loopedSlides+T.activeIndex,e+=T.loopedSlides,T.slideTo(e,0,!1,!0)):("auto"===T.params.slidesPerView&&T.activeIndex>=2*T.loopedSlides||T.activeIndex>T.slides.length-2*T.params.slidesPerView)&&(e=-T.slides.length+T.activeIndex+T.loopedSlides,e+=T.loopedSlides,T.slideTo(e,0,!1,!0))},T.appendSlide=function(e){if(T.params.loop&&T.destroyLoop(),"object"==typeof e&&e.length)for(var a=0;a<e.length;a++)e[a]&&T.wrapper.append(e[a]);else T.wrapper.append(e);T.params.loop&&T.createLoop(),T.params.observer&&T.support.observer||T.update(!0)},T.prependSlide=function(e){T.params.loop&&T.destroyLoop();var a=T.activeIndex+1;if("object"==typeof e&&e.length){for(var t=0;t<e.length;t++)e[t]&&T.wrapper.prepend(e[t]);a=T.activeIndex+e.length}else T.wrapper.prepend(e);T.params.loop&&T.createLoop(),T.params.observer&&T.support.observer||T.update(!0),T.slideTo(a,0,!1)},T.removeSlide=function(e){T.params.loop&&(T.destroyLoop(),T.slides=T.wrapper.children("."+T.params.slideClass));var a,t=T.activeIndex;if("object"==typeof e&&e.length){for(var s=0;s<e.length;s++)a=e[s],T.slides[a]&&T.slides.eq(a).remove(),a<t&&t--;t=Math.max(t,0)}else a=e,T.slides[a]&&T.slides.eq(a).remove(),a<t&&t--,t=Math.max(t,0);T.params.loop&&T.createLoop(),T.params.observer&&T.support.observer||T.update(!0),T.params.loop?T.slideTo(t+T.loopedSlides,0,!1):T.slideTo(t,0,!1)},T.removeAllSlides=function(){for(var e=[],a=0;a<T.slides.length;a++)e.push(a);T.removeSlide(e)},T.effects={fade:{setTranslate:function(){for(var e=0;e<T.slides.length;e++){var a=T.slides.eq(e),t=a[0].swiperSlideOffset,s=-t;T.params.virtualTranslate||(s-=T.translate);var i=0;T.isHorizontal()||(i=s,s=0);var r=T.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:r}).transform("translate3d("+s+"px, "+i+"px, 0px)")}},setTransition:function(e){if(T.slides.transition(e),T.params.virtualTranslate&&0!==e){var a=!1;T.slides.transitionEnd(function(){if(!a&&T){a=!0,T.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],t=0;t<e.length;t++)T.wrapper.trigger(e[t])}})}}},flip:{setTranslate:function(){for(var a=0;a<T.slides.length;a++){var t=T.slides.eq(a),s=t[0].progress;T.params.flip.limitRotation&&(s=Math.max(Math.min(t[0].progress,1),-1));var i=t[0].swiperSlideOffset,r=-180*s,n=r,o=0,l=-i,p=0;if(T.isHorizontal()?T.rtl&&(n=-n):(p=l,l=0,o=-n,n=0),t[0].style.zIndex=-Math.abs(Math.round(s))+T.slides.length,T.params.flip.slideShadows){var d=T.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),u=T.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===d.length&&(d=e('<div class="swiper-slide-shadow-'+(T.isHorizontal()?"left":"top")+'"></div>'),t.append(d)),0===u.length&&(u=e('<div class="swiper-slide-shadow-'+(T.isHorizontal()?"right":"bottom")+'"></div>'),t.append(u)),d.length&&(d[0].style.opacity=Math.max(-s,0)),u.length&&(u[0].style.opacity=Math.max(s,0))}t.transform("translate3d("+l+"px, "+p+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(a){if(T.slides.transition(a).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(a),T.params.virtualTranslate&&0!==a){var t=!1;T.slides.eq(T.activeIndex).transitionEnd(function(){if(!t&&T&&e(this).hasClass(T.params.slideActiveClass)){t=!0,T.animating=!1;for(var a=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],s=0;s<a.length;s++)T.wrapper.trigger(a[s])}})}}},cube:{setTranslate:function(){var a,t=0;T.params.cube.shadow&&(T.isHorizontal()?(a=T.wrapper.find(".swiper-cube-shadow"),0===a.length&&(a=e('<div class="swiper-cube-shadow"></div>'),T.wrapper.append(a)),a.css({height:T.width+"px"})):(a=T.container.find(".swiper-cube-shadow"),0===a.length&&(a=e('<div class="swiper-cube-shadow"></div>'),T.container.append(a))));for(var s=0;s<T.slides.length;s++){var i=T.slides.eq(s),r=90*s,n=Math.floor(r/360);T.rtl&&(r=-r,n=Math.floor(-r/360));var o=Math.max(Math.min(i[0].progress,1),-1),l=0,p=0,d=0;s%4==0?(l=4*-n*T.size,d=0):(s-1)%4==0?(l=0,d=4*-n*T.size):(s-2)%4==0?(l=T.size+4*n*T.size,d=T.size):(s-3)%4==0&&(l=-T.size,d=3*T.size+4*T.size*n),T.rtl&&(l=-l),T.isHorizontal()||(p=l,l=0);var u="rotateX("+(T.isHorizontal()?0:-r)+"deg) rotateY("+(T.isHorizontal()?r:0)+"deg) translate3d("+l+"px, "+p+"px, "+d+"px)";if(o<=1&&o>-1&&(t=90*s+90*o,T.rtl&&(t=90*-s-90*o)),i.transform(u),T.params.cube.slideShadows){var c=T.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),m=T.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===c.length&&(c=e('<div class="swiper-slide-shadow-'+(T.isHorizontal()?"left":"top")+'"></div>'),i.append(c)),0===m.length&&(m=e('<div class="swiper-slide-shadow-'+(T.isHorizontal()?"right":"bottom")+'"></div>'),i.append(m)),c.length&&(c[0].style.opacity=Math.max(-o,0)),m.length&&(m[0].style.opacity=Math.max(o,0))}}if(T.wrapper.css({"-webkit-transform-origin":"50% 50% -"+T.size/2+"px","-moz-transform-origin":"50% 50% -"+T.size/2+"px","-ms-transform-origin":"50% 50% -"+T.size/2+"px","transform-origin":"50% 50% -"+T.size/2+"px"}),T.params.cube.shadow)if(T.isHorizontal())a.transform("translate3d(0px, "+(T.width/2+T.params.cube.shadowOffset)+"px, "+-T.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+T.params.cube.shadowScale+")");else{var h=Math.abs(t)-90*Math.floor(Math.abs(t)/90),g=1.5-(Math.sin(2*h*Math.PI/360)/2+Math.cos(2*h*Math.PI/360)/2),f=T.params.cube.shadowScale,v=T.params.cube.shadowScale/g,w=T.params.cube.shadowOffset;a.transform("scale3d("+f+", 1, "+v+") translate3d(0px, "+(T.height/2+w)+"px, "+-T.height/2/v+"px) rotateX(-90deg)")}var y=T.isSafari||T.isUiWebView?-T.size/2:0;T.wrapper.transform("translate3d(0px,0,"+y+"px) rotateX("+(T.isHorizontal()?0:t)+"deg) rotateY("+(T.isHorizontal()?-t:0)+"deg)")},setTransition:function(e){T.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),T.params.cube.shadow&&!T.isHorizontal()&&T.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var a=T.translate,t=T.isHorizontal()?-a+T.width/2:-a+T.height/2,s=T.isHorizontal()?T.params.coverflow.rotate:-T.params.coverflow.rotate,i=T.params.coverflow.depth,r=0,n=T.slides.length;r<n;r++){var o=T.slides.eq(r),l=T.slidesSizesGrid[r],p=o[0].swiperSlideOffset,d=(t-p-l/2)/l*T.params.coverflow.modifier,u=T.isHorizontal()?s*d:0,c=T.isHorizontal()?0:s*d,m=-i*Math.abs(d),h=T.isHorizontal()?0:T.params.coverflow.stretch*d,g=T.isHorizontal()?T.params.coverflow.stretch*d:0;Math.abs(g)<.001&&(g=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(u)<.001&&(u=0),Math.abs(c)<.001&&(c=0);var f="translate3d("+g+"px,"+h+"px,"+m+"px) rotateX("+c+"deg) rotateY("+u+"deg)";if(o.transform(f),o[0].style.zIndex=1-Math.abs(Math.round(d)),T.params.coverflow.slideShadows){var v=T.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),w=T.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom");0===v.length&&(v=e('<div class="swiper-slide-shadow-'+(T.isHorizontal()?"left":"top")+'"></div>'),o.append(v)),0===w.length&&(w=e('<div class="swiper-slide-shadow-'+(T.isHorizontal()?"right":"bottom")+'"></div>'),o.append(w)),v.length&&(v[0].style.opacity=d>0?d:0),w.length&&(w[0].style.opacity=-d>0?-d:0)}}if(T.browser.ie){T.wrapper[0].style.perspectiveOrigin=t+"px 50%"}},setTransition:function(e){T.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},T.lazy={initialImageLoaded:!1,loadImageInSlide:function(a,t){if(void 0!==a&&(void 0===t&&(t=!0),0!==T.slides.length)){var s=T.slides.eq(a),i=s.find("."+T.params.lazyLoadingClass+":not(."+T.params.lazyStatusLoadedClass+"):not(."+T.params.lazyStatusLoadingClass+")");!s.hasClass(T.params.lazyLoadingClass)||s.hasClass(T.params.lazyStatusLoadedClass)||s.hasClass(T.params.lazyStatusLoadingClass)||(i=i.add(s[0])),0!==i.length&&i.each(function(){var a=e(this);a.addClass(T.params.lazyStatusLoadingClass);var i=a.attr("data-background"),r=a.attr("data-src"),n=a.attr("data-srcset"),o=a.attr("data-sizes");T.loadImage(a[0],r||i,n,o,!1,function(){if(void 0!==T&&null!==T&&T){if(i?(a.css("background-image",'url("'+i+'")'),a.removeAttr("data-background")):(n&&(a.attr("srcset",n),a.removeAttr("data-srcset")),o&&(a.attr("sizes",o),a.removeAttr("data-sizes")),r&&(a.attr("src",r),a.removeAttr("data-src"))),a.addClass(T.params.lazyStatusLoadedClass).removeClass(T.params.lazyStatusLoadingClass),s.find("."+T.params.lazyPreloaderClass+", ."+T.params.preloaderClass).remove(),T.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(T.params.slideDuplicateClass)){var l=T.wrapper.children('[data-swiper-slide-index="'+e+'"]:not(.'+T.params.slideDuplicateClass+")");T.lazy.loadImageInSlide(l.index(),!1)}else{var p=T.wrapper.children("."+T.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');T.lazy.loadImageInSlide(p.index(),!1)}}T.emit("onLazyImageReady",T,s[0],a[0])}}),T.emit("onLazyImageLoad",T,s[0],a[0])})}},load:function(){var a,t=T.params.slidesPerView;if("auto"===t&&(t=0),T.lazy.initialImageLoaded||(T.lazy.initialImageLoaded=!0),T.params.watchSlidesVisibility)T.wrapper.children("."+T.params.slideVisibleClass).each(function(){T.lazy.loadImageInSlide(e(this).index())});else if(t>1)for(a=T.activeIndex;a<T.activeIndex+t;a++)T.slides[a]&&T.lazy.loadImageInSlide(a);else T.lazy.loadImageInSlide(T.activeIndex);if(T.params.lazyLoadingInPrevNext)if(t>1||T.params.lazyLoadingInPrevNextAmount&&T.params.lazyLoadingInPrevNextAmount>1){var s=T.params.lazyLoadingInPrevNextAmount,i=t,r=Math.min(T.activeIndex+i+Math.max(s,i),T.slides.length),n=Math.max(T.activeIndex-Math.max(i,s),0);for(a=T.activeIndex+t;a<r;a++)T.slides[a]&&T.lazy.loadImageInSlide(a);for(a=n;a<T.activeIndex;a++)T.slides[a]&&T.lazy.loadImageInSlide(a)}else{var o=T.wrapper.children("."+T.params.slideNextClass);o.length>0&&T.lazy.loadImageInSlide(o.index());var l=T.wrapper.children("."+T.params.slidePrevClass);l.length>0&&T.lazy.loadImageInSlide(l.index())}},onTransitionStart:function(){T.params.lazyLoading&&(T.params.lazyLoadingOnTransitionStart||!T.params.lazyLoadingOnTransitionStart&&!T.lazy.initialImageLoaded)&&T.lazy.load()},onTransitionEnd:function(){T.params.lazyLoading&&!T.params.lazyLoadingOnTransitionStart&&T.lazy.load()}},T.scrollbar={isTouched:!1,setDragPosition:function(e){var a=T.scrollbar,t=T.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY,s=t-a.track.offset()[T.isHorizontal()?"left":"top"]-a.dragSize/2,i=-T.minTranslate()*a.moveDivider,r=-T.maxTranslate()*a.moveDivider;s<i?s=i:s>r&&(s=r),s=-s/a.moveDivider,T.updateProgress(s),T.setWrapperTranslate(s,!0)},dragStart:function(e){var a=T.scrollbar;a.isTouched=!0,e.preventDefault(),e.stopPropagation(),a.setDragPosition(e),clearTimeout(a.dragTimeout),a.track.transition(0),T.params.scrollbarHide&&a.track.css("opacity",1),T.wrapper.transition(100),a.drag.transition(100),T.emit("onScrollbarDragStart",T)},dragMove:function(e){var a=T.scrollbar;a.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),T.wrapper.transition(0),a.track.transition(0),a.drag.transition(0),T.emit("onScrollbarDragMove",T))},dragEnd:function(e){var a=T.scrollbar;a.isTouched&&(a.isTouched=!1,T.params.scrollbarHide&&(clearTimeout(a.dragTimeout),a.dragTimeout=setTimeout(function(){a.track.css("opacity",0),a.track.transition(400)},1e3)),T.emit("onScrollbarDragEnd",T),T.params.scrollbarSnapOnRelease&&T.slideReset())},draggableEvents:function(){return T.params.simulateTouch!==!1||T.support.touch?T.touchEvents:T.touchEventsDesktop}(),enableDraggable:function(){var a=T.scrollbar,t=T.support.touch?a.track:document;e(a.track).on(a.draggableEvents.start,a.dragStart),e(t).on(a.draggableEvents.move,a.dragMove),e(t).on(a.draggableEvents.end,a.dragEnd)},disableDraggable:function(){var a=T.scrollbar,t=T.support.touch?a.track:document;e(a.track).off(a.draggableEvents.start,a.dragStart),e(t).off(a.draggableEvents.move,a.dragMove),e(t).off(a.draggableEvents.end,a.dragEnd)},set:function(){if(T.params.scrollbar){var a=T.scrollbar;a.track=e(T.params.scrollbar),T.params.uniqueNavElements&&"string"==typeof T.params.scrollbar&&a.track.length>1&&1===T.container.find(T.params.scrollbar).length&&(a.track=T.container.find(T.params.scrollbar)),a.drag=a.track.find(".swiper-scrollbar-drag"),0===a.drag.length&&(a.drag=e('<div class="swiper-scrollbar-drag"></div>'),a.track.append(a.drag)),a.drag[0].style.width="",a.drag[0].style.height="",a.trackSize=T.isHorizontal()?a.track[0].offsetWidth:a.track[0].offsetHeight,a.divider=T.size/T.virtualSize,a.moveDivider=a.divider*(a.trackSize/T.size),a.dragSize=a.trackSize*a.divider,T.isHorizontal()?a.drag[0].style.width=a.dragSize+"px":a.drag[0].style.height=a.dragSize+"px",a.divider>=1?a.track[0].style.display="none":a.track[0].style.display="",T.params.scrollbarHide&&(a.track[0].style.opacity=0)}},setTranslate:function(){if(T.params.scrollbar){var e,a=T.scrollbar,t=(T.translate,a.dragSize);e=(a.trackSize-a.dragSize)*T.progress,T.rtl&&T.isHorizontal()?(e=-e,e>0?(t=a.dragSize-e,e=0):-e+a.dragSize>a.trackSize&&(t=a.trackSize+e)):e<0?(t=a.dragSize+e,e=0):e+a.dragSize>a.trackSize&&(t=a.trackSize-e),T.isHorizontal()?(T.support.transforms3d?a.drag.transform("translate3d("+e+"px, 0, 0)"):a.drag.transform("translateX("+e+"px)"),a.drag[0].style.width=t+"px"):(T.support.transforms3d?a.drag.transform("translate3d(0px, "+e+"px, 0)"):a.drag.transform("translateY("+e+"px)"),a.drag[0].style.height=t+"px"),T.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){T.params.scrollbar&&T.scrollbar.drag.transition(e)}},T.controller={LinearSpline:function(e,a){var t=function(){var e,a,t;return function(s,i){for(a=-1,e=s.length;e-a>1;)s[t=e+a>>1]<=i?a=t:e=t;return e}}();this.x=e,this.y=a,this.lastIndex=e.length-1;var s,i;this.x.length;this.interpolate=function(e){return e?(i=t(this.x,e),s=i-1,(e-this.x[s])*(this.y[i]-this.y[s])/(this.x[i]-this.x[s])+this.y[s]):0}},getInterpolateFunction:function(e){T.controller.spline||(T.controller.spline=T.params.loop?new T.controller.LinearSpline(T.slidesGrid,e.slidesGrid):new T.controller.LinearSpline(T.snapGrid,e.snapGrid))},setTranslate:function(e,t){function s(a){e=a.rtl&&"horizontal"===a.params.direction?-T.translate:T.translate,"slide"===T.params.controlBy&&(T.controller.getInterpolateFunction(a),r=-T.controller.spline.interpolate(-e)),r&&"container"!==T.params.controlBy||(i=(a.maxTranslate()-a.minTranslate())/(T.maxTranslate()-T.minTranslate()),r=(e-T.minTranslate())*i+a.minTranslate()),T.params.controlInverse&&(r=a.maxTranslate()-r),a.updateProgress(r),a.setWrapperTranslate(r,!1,T),a.updateActiveIndex()}var i,r,n=T.params.control;if(Array.isArray(n))for(var o=0;o<n.length;o++)n[o]!==t&&n[o]instanceof a&&s(n[o]);else n instanceof a&&t!==n&&s(n)},setTransition:function(e,t){function s(a){a.setWrapperTransition(e,T),0!==e&&(a.onTransitionStart(),a.wrapper.transitionEnd(function(){r&&(a.params.loop&&"slide"===T.params.controlBy&&a.fixLoop(),a.onTransitionEnd())}))}var i,r=T.params.control;if(Array.isArray(r))for(i=0;i<r.length;i++)r[i]!==t&&r[i]instanceof a&&s(r[i]);else r instanceof a&&t!==r&&s(r)}},T.hashnav={onHashCange:function(e,a){var t=document.location.hash.replace("#","");t!==T.slides.eq(T.activeIndex).attr("data-hash")&&T.slideTo(T.wrapper.children("."+T.params.slideClass+'[data-hash="'+t+'"]').index())},attachEvents:function(a){var t=a?"off":"on";e(window)[t]("hashchange",T.hashnav.onHashCange)},setHash:function(){
  17 +if(T.hashnav.initialized&&T.params.hashnav)if(T.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+T.slides.eq(T.activeIndex).attr("data-hash")||"");else{var e=T.slides.eq(T.activeIndex),a=e.attr("data-hash")||e.attr("data-history");document.location.hash=a||""}},init:function(){if(T.params.hashnav&&!T.params.history){T.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e)for(var a=0,t=T.slides.length;a<t;a++){var s=T.slides.eq(a),i=s.attr("data-hash")||s.attr("data-history");if(i===e&&!s.hasClass(T.params.slideDuplicateClass)){var r=s.index();T.slideTo(r,0,T.params.runCallbacksOnInit,!0)}}T.params.hashnavWatchState&&T.hashnav.attachEvents()}},destroy:function(){T.params.hashnavWatchState&&T.hashnav.attachEvents(!0)}},T.history={init:function(){if(T.params.history){if(!window.history||!window.history.pushState)return T.params.history=!1,void(T.params.hashnav=!0);T.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,T.params.runCallbacksOnInit),T.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){T.history.paths=T.history.getPathValues(),T.history.scrollToSlide(T.params.speed,T.history.paths.value,!1)},getPathValues:function(){var e=window.location.pathname.slice(1).split("/"),a=e.length;return{key:e[a-2],value:e[a-1]}},setHistory:function(e,a){if(T.history.initialized&&T.params.history){var t=T.slides.eq(a),s=this.slugify(t.attr("data-history"));window.location.pathname.includes(e)||(s=e+"/"+s),T.params.replaceState?window.history.replaceState(null,null,s):window.history.pushState(null,null,s)}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,a,t){if(a)for(var s=0,i=T.slides.length;s<i;s++){var r=T.slides.eq(s),n=this.slugify(r.attr("data-history"));if(n===a&&!r.hasClass(T.params.slideDuplicateClass)){var o=r.index();T.slideTo(o,e,t)}}else T.slideTo(0,e,t)}},T.disableKeyboardControl=function(){T.params.keyboardControl=!1,e(document).off("keydown",p)},T.enableKeyboardControl=function(){T.params.keyboardControl=!0,e(document).on("keydown",p)},T.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},T.params.mousewheelControl&&(T.mousewheel.event=navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in document;if(!e){var a=document.createElement("div");a.setAttribute("onwheel","return;"),e="function"==typeof a.onwheel}return!e&&document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0&&(e=document.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"),T.disableMousewheelControl=function(){if(!T.mousewheel.event)return!1;var a=T.container;return"container"!==T.params.mousewheelEventsTarged&&(a=e(T.params.mousewheelEventsTarged)),a.off(T.mousewheel.event,u),T.params.mousewheelControl=!1,!0},T.enableMousewheelControl=function(){if(!T.mousewheel.event)return!1;var a=T.container;return"container"!==T.params.mousewheelEventsTarged&&(a=e(T.params.mousewheelEventsTarged)),a.on(T.mousewheel.event,u),T.params.mousewheelControl=!0,!0},T.parallax={setTranslate:function(){T.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){c(this,T.progress)}),T.slides.each(function(){var a=e(this);a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){c(this,Math.min(Math.max(a[0].progress,-1),1))})})},setTransition:function(a){void 0===a&&(a=T.params.speed),T.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var t=e(this),s=parseInt(t.attr("data-swiper-parallax-duration"),10)||a;0===a&&(s=0),t.transition(s)})}},T.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:T.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var a=e.targetTouches[0].pageX,t=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-a,2)+Math.pow(i-t,2))},onGestureStart:function(a){var t=T.zoom;if(!T.support.gestures){if("touchstart"!==a.type||"touchstart"===a.type&&a.targetTouches.length<2)return;t.gesture.scaleStart=t.getDistanceBetweenTouches(a)}if(!(t.gesture.slide&&t.gesture.slide.length||(t.gesture.slide=e(this),0===t.gesture.slide.length&&(t.gesture.slide=T.slides.eq(T.activeIndex)),t.gesture.image=t.gesture.slide.find("img, svg, canvas"),t.gesture.imageWrap=t.gesture.image.parent("."+T.params.zoomContainerClass),t.gesture.zoomMax=t.gesture.imageWrap.attr("data-swiper-zoom")||T.params.zoomMax,0!==t.gesture.imageWrap.length)))return void(t.gesture.image=void 0);t.gesture.image.transition(0),t.isScaling=!0},onGestureChange:function(e){var a=T.zoom;if(!T.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.gesture.scaleMove=a.getDistanceBetweenTouches(e)}a.gesture.image&&0!==a.gesture.image.length&&(T.support.gestures?a.scale=e.scale*a.currentScale:a.scale=a.gesture.scaleMove/a.gesture.scaleStart*a.currentScale,a.scale>a.gesture.zoomMax&&(a.scale=a.gesture.zoomMax-1+Math.pow(a.scale-a.gesture.zoomMax+1,.5)),a.scale<T.params.zoomMin&&(a.scale=T.params.zoomMin+1-Math.pow(T.params.zoomMin-a.scale+1,.5)),a.gesture.image.transform("translate3d(0,0,0) scale("+a.scale+")"))},onGestureEnd:function(e){var a=T.zoom;!T.support.gestures&&("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2)||a.gesture.image&&0!==a.gesture.image.length&&(a.scale=Math.max(Math.min(a.scale,a.gesture.zoomMax),T.params.zoomMin),a.gesture.image.transition(T.params.speed).transform("translate3d(0,0,0) scale("+a.scale+")"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(a.gesture.slide=void 0))},onTouchStart:function(e,a){var t=e.zoom;t.gesture.image&&0!==t.gesture.image.length&&(t.image.isTouched||("android"===e.device.os&&a.preventDefault(),t.image.isTouched=!0,t.image.touchesStart.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,t.image.touchesStart.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY))},onTouchMove:function(e){var a=T.zoom;if(a.gesture.image&&0!==a.gesture.image.length&&(T.allowClick=!1,a.image.isTouched&&a.gesture.slide)){a.image.isMoved||(a.image.width=a.gesture.image[0].offsetWidth,a.image.height=a.gesture.image[0].offsetHeight,a.image.startX=T.getTranslate(a.gesture.imageWrap[0],"x")||0,a.image.startY=T.getTranslate(a.gesture.imageWrap[0],"y")||0,a.gesture.slideWidth=a.gesture.slide[0].offsetWidth,a.gesture.slideHeight=a.gesture.slide[0].offsetHeight,a.gesture.imageWrap.transition(0),T.rtl&&(a.image.startX=-a.image.startX),T.rtl&&(a.image.startY=-a.image.startY));var t=a.image.width*a.scale,s=a.image.height*a.scale;if(!(t<a.gesture.slideWidth&&s<a.gesture.slideHeight)){if(a.image.minX=Math.min(a.gesture.slideWidth/2-t/2,0),a.image.maxX=-a.image.minX,a.image.minY=Math.min(a.gesture.slideHeight/2-s/2,0),a.image.maxY=-a.image.minY,a.image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,a.image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!a.image.isMoved&&!a.isScaling){if(T.isHorizontal()&&Math.floor(a.image.minX)===Math.floor(a.image.startX)&&a.image.touchesCurrent.x<a.image.touchesStart.x||Math.floor(a.image.maxX)===Math.floor(a.image.startX)&&a.image.touchesCurrent.x>a.image.touchesStart.x)return void(a.image.isTouched=!1);if(!T.isHorizontal()&&Math.floor(a.image.minY)===Math.floor(a.image.startY)&&a.image.touchesCurrent.y<a.image.touchesStart.y||Math.floor(a.image.maxY)===Math.floor(a.image.startY)&&a.image.touchesCurrent.y>a.image.touchesStart.y)return void(a.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),a.image.isMoved=!0,a.image.currentX=a.image.touchesCurrent.x-a.image.touchesStart.x+a.image.startX,a.image.currentY=a.image.touchesCurrent.y-a.image.touchesStart.y+a.image.startY,a.image.currentX<a.image.minX&&(a.image.currentX=a.image.minX+1-Math.pow(a.image.minX-a.image.currentX+1,.8)),a.image.currentX>a.image.maxX&&(a.image.currentX=a.image.maxX-1+Math.pow(a.image.currentX-a.image.maxX+1,.8)),a.image.currentY<a.image.minY&&(a.image.currentY=a.image.minY+1-Math.pow(a.image.minY-a.image.currentY+1,.8)),a.image.currentY>a.image.maxY&&(a.image.currentY=a.image.maxY-1+Math.pow(a.image.currentY-a.image.maxY+1,.8)),a.velocity.prevPositionX||(a.velocity.prevPositionX=a.image.touchesCurrent.x),a.velocity.prevPositionY||(a.velocity.prevPositionY=a.image.touchesCurrent.y),a.velocity.prevTime||(a.velocity.prevTime=Date.now()),a.velocity.x=(a.image.touchesCurrent.x-a.velocity.prevPositionX)/(Date.now()-a.velocity.prevTime)/2,a.velocity.y=(a.image.touchesCurrent.y-a.velocity.prevPositionY)/(Date.now()-a.velocity.prevTime)/2,Math.abs(a.image.touchesCurrent.x-a.velocity.prevPositionX)<2&&(a.velocity.x=0),Math.abs(a.image.touchesCurrent.y-a.velocity.prevPositionY)<2&&(a.velocity.y=0),a.velocity.prevPositionX=a.image.touchesCurrent.x,a.velocity.prevPositionY=a.image.touchesCurrent.y,a.velocity.prevTime=Date.now(),a.gesture.imageWrap.transform("translate3d("+a.image.currentX+"px, "+a.image.currentY+"px,0)")}}},onTouchEnd:function(e,a){var t=e.zoom;if(t.gesture.image&&0!==t.gesture.image.length){if(!t.image.isTouched||!t.image.isMoved)return t.image.isTouched=!1,void(t.image.isMoved=!1);t.image.isTouched=!1,t.image.isMoved=!1;var s=300,i=300,r=t.velocity.x*s,n=t.image.currentX+r,o=t.velocity.y*i,l=t.image.currentY+o;0!==t.velocity.x&&(s=Math.abs((n-t.image.currentX)/t.velocity.x)),0!==t.velocity.y&&(i=Math.abs((l-t.image.currentY)/t.velocity.y));var p=Math.max(s,i);t.image.currentX=n,t.image.currentY=l;var d=t.image.width*t.scale,u=t.image.height*t.scale;t.image.minX=Math.min(t.gesture.slideWidth/2-d/2,0),t.image.maxX=-t.image.minX,t.image.minY=Math.min(t.gesture.slideHeight/2-u/2,0),t.image.maxY=-t.image.minY,t.image.currentX=Math.max(Math.min(t.image.currentX,t.image.maxX),t.image.minX),t.image.currentY=Math.max(Math.min(t.image.currentY,t.image.maxY),t.image.minY),t.gesture.imageWrap.transition(p).transform("translate3d("+t.image.currentX+"px, "+t.image.currentY+"px,0)")}},onTransitionEnd:function(e){var a=e.zoom;a.gesture.slide&&e.previousIndex!==e.activeIndex&&(a.gesture.image.transform("translate3d(0,0,0) scale(1)"),a.gesture.imageWrap.transform("translate3d(0,0,0)"),a.gesture.slide=a.gesture.image=a.gesture.imageWrap=void 0,a.scale=a.currentScale=1)},toggleZoom:function(a,t){var s=a.zoom;if(s.gesture.slide||(s.gesture.slide=a.clickedSlide?e(a.clickedSlide):a.slides.eq(a.activeIndex),s.gesture.image=s.gesture.slide.find("img, svg, canvas"),s.gesture.imageWrap=s.gesture.image.parent("."+a.params.zoomContainerClass)),s.gesture.image&&0!==s.gesture.image.length){var i,r,n,o,l,p,d,u,c,m,h,g,f,v,w,y,x,T;void 0===s.image.touchesStart.x&&t?(i="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,r="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(i=s.image.touchesStart.x,r=s.image.touchesStart.y),s.scale&&1!==s.scale?(s.scale=s.currentScale=1,s.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),s.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),s.gesture.slide=void 0):(s.scale=s.currentScale=s.gesture.imageWrap.attr("data-swiper-zoom")||a.params.zoomMax,t?(x=s.gesture.slide[0].offsetWidth,T=s.gesture.slide[0].offsetHeight,n=s.gesture.slide.offset().left,o=s.gesture.slide.offset().top,l=n+x/2-i,p=o+T/2-r,c=s.gesture.image[0].offsetWidth,m=s.gesture.image[0].offsetHeight,h=c*s.scale,g=m*s.scale,f=Math.min(x/2-h/2,0),v=Math.min(T/2-g/2,0),w=-f,y=-v,d=l*s.scale,u=p*s.scale,d<f&&(d=f),d>w&&(d=w),u<v&&(u=v),u>y&&(u=y)):(d=0,u=0),s.gesture.imageWrap.transition(300).transform("translate3d("+d+"px, "+u+"px,0)"),s.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+s.scale+")"))}},attachEvents:function(a){var t=a?"off":"on";if(T.params.zoom){var s=(T.slides,!("touchstart"!==T.touchEvents.start||!T.support.passiveListener||!T.params.passiveListeners)&&{passive:!0,capture:!1});T.support.gestures?(T.slides[t]("gesturestart",T.zoom.onGestureStart,s),T.slides[t]("gesturechange",T.zoom.onGestureChange,s),T.slides[t]("gestureend",T.zoom.onGestureEnd,s)):"touchstart"===T.touchEvents.start&&(T.slides[t](T.touchEvents.start,T.zoom.onGestureStart,s),T.slides[t](T.touchEvents.move,T.zoom.onGestureChange,s),T.slides[t](T.touchEvents.end,T.zoom.onGestureEnd,s)),T[t]("touchStart",T.zoom.onTouchStart),T.slides.each(function(a,s){e(s).find("."+T.params.zoomContainerClass).length>0&&e(s)[t](T.touchEvents.move,T.zoom.onTouchMove)}),T[t]("touchEnd",T.zoom.onTouchEnd),T[t]("transitionEnd",T.zoom.onTransitionEnd),T.params.zoomToggle&&T.on("doubleTap",T.zoom.toggleZoom)}},init:function(){T.zoom.attachEvents()},destroy:function(){T.zoom.attachEvents(!0)}},T._plugins=[];for(var Y in T.plugins){var O=T.plugins[Y](T,T.params[Y]);O&&T._plugins.push(O)}return T.callPlugins=function(e){for(var a=0;a<T._plugins.length;a++)e in T._plugins[a]&&T._plugins[a][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},T.emitterEventListeners={},T.emit=function(e){T.params[e]&&T.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var a;if(T.emitterEventListeners[e])for(a=0;a<T.emitterEventListeners[e].length;a++)T.emitterEventListeners[e][a](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);T.callPlugins&&T.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},T.on=function(e,a){return e=m(e),T.emitterEventListeners[e]||(T.emitterEventListeners[e]=[]),T.emitterEventListeners[e].push(a),T},T.off=function(e,a){var t;if(e=m(e),void 0===a)return T.emitterEventListeners[e]=[],T;if(T.emitterEventListeners[e]&&0!==T.emitterEventListeners[e].length){for(t=0;t<T.emitterEventListeners[e].length;t++)T.emitterEventListeners[e][t]===a&&T.emitterEventListeners[e].splice(t,1);return T}},T.once=function(e,a){e=m(e);var t=function(){a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),T.off(e,t)};return T.on(e,t),T},T.a11y={makeFocusable:function(e){return e.attr("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(a){13===a.keyCode&&(e(a.target).is(T.params.nextButton)?(T.onClickNext(a),T.isEnd?T.a11y.notify(T.params.lastSlideMessage):T.a11y.notify(T.params.nextSlideMessage)):e(a.target).is(T.params.prevButton)&&(T.onClickPrev(a),T.isBeginning?T.a11y.notify(T.params.firstSlideMessage):T.a11y.notify(T.params.prevSlideMessage)),e(a.target).is("."+T.params.bulletClass)&&e(a.target)[0].click())},liveRegion:e('<span class="'+T.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var a=T.a11y.liveRegion;0!==a.length&&(a.html(""),a.html(e))},init:function(){T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.a11y.makeFocusable(T.nextButton),T.a11y.addRole(T.nextButton,"button"),T.a11y.addLabel(T.nextButton,T.params.nextSlideMessage)),T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.a11y.makeFocusable(T.prevButton),T.a11y.addRole(T.prevButton,"button"),T.a11y.addLabel(T.prevButton,T.params.prevSlideMessage)),e(T.container).append(T.a11y.liveRegion)},initPagination:function(){T.params.pagination&&T.params.paginationClickable&&T.bullets&&T.bullets.length&&T.bullets.each(function(){var a=e(this);T.a11y.makeFocusable(a),T.a11y.addRole(a,"button"),T.a11y.addLabel(a,T.params.paginationBulletMessage.replace(/{{index}}/,a.index()+1))})},destroy:function(){T.a11y.liveRegion&&T.a11y.liveRegion.length>0&&T.a11y.liveRegion.remove()}},T.init=function(){T.params.loop&&T.createLoop(),T.updateContainerSize(),T.updateSlidesSize(),T.updatePagination(),T.params.scrollbar&&T.scrollbar&&(T.scrollbar.set(),T.params.scrollbarDraggable&&T.scrollbar.enableDraggable()),"slide"!==T.params.effect&&T.effects[T.params.effect]&&(T.params.loop||T.updateProgress(),T.effects[T.params.effect].setTranslate()),T.params.loop?T.slideTo(T.params.initialSlide+T.loopedSlides,0,T.params.runCallbacksOnInit):(T.slideTo(T.params.initialSlide,0,T.params.runCallbacksOnInit),0===T.params.initialSlide&&(T.parallax&&T.params.parallax&&T.parallax.setTranslate(),T.lazy&&T.params.lazyLoading&&(T.lazy.load(),T.lazy.initialImageLoaded=!0))),T.attachEvents(),T.params.observer&&T.support.observer&&T.initObservers(),T.params.preloadImages&&!T.params.lazyLoading&&T.preloadImages(),T.params.zoom&&T.zoom&&T.zoom.init(),T.params.autoplay&&T.startAutoplay(),T.params.keyboardControl&&T.enableKeyboardControl&&T.enableKeyboardControl(),T.params.mousewheelControl&&T.enableMousewheelControl&&T.enableMousewheelControl(),T.params.hashnavReplaceState&&(T.params.replaceState=T.params.hashnavReplaceState),T.params.history&&T.history&&T.history.init(),T.params.hashnav&&T.hashnav&&T.hashnav.init(),T.params.a11y&&T.a11y&&T.a11y.init(),T.emit("onInit",T)},T.cleanupStyles=function(){T.container.removeClass(T.classNames.join(" ")).removeAttr("style"),T.wrapper.removeAttr("style"),T.slides&&T.slides.length&&T.slides.removeClass([T.params.slideVisibleClass,T.params.slideActiveClass,T.params.slideNextClass,T.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),T.paginationContainer&&T.paginationContainer.length&&T.paginationContainer.removeClass(T.params.paginationHiddenClass),T.bullets&&T.bullets.length&&T.bullets.removeClass(T.params.bulletActiveClass),T.params.prevButton&&e(T.params.prevButton).removeClass(T.params.buttonDisabledClass),T.params.nextButton&&e(T.params.nextButton).removeClass(T.params.buttonDisabledClass),T.params.scrollbar&&T.scrollbar&&(T.scrollbar.track&&T.scrollbar.track.length&&T.scrollbar.track.removeAttr("style"),T.scrollbar.drag&&T.scrollbar.drag.length&&T.scrollbar.drag.removeAttr("style"))},T.destroy=function(e,a){T.detachEvents(),T.stopAutoplay(),T.params.scrollbar&&T.scrollbar&&T.params.scrollbarDraggable&&T.scrollbar.disableDraggable(),T.params.loop&&T.destroyLoop(),a&&T.cleanupStyles(),T.disconnectObservers(),T.params.zoom&&T.zoom&&T.zoom.destroy(),T.params.keyboardControl&&T.disableKeyboardControl&&T.disableKeyboardControl(),T.params.mousewheelControl&&T.disableMousewheelControl&&T.disableMousewheelControl(),T.params.a11y&&T.a11y&&T.a11y.destroy(),T.params.history&&!T.params.replaceState&&window.removeEventListener("popstate",T.history.setHistoryPopState),T.params.hashnav&&T.hashnav&&T.hashnav.destroy(),T.emit("onDestroy"),e!==!1&&(T=null)},T.init(),T}};a.prototype={isSafari:function(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.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,lteIE9:function(){var e=document.createElement("div");return e.innerHTML="<!--[if lte IE 9]><i></i><![endif]-->",1===e.getElementsByTagName("i").length}()},device:function(){var e=window.navigator.userAgent,a=e.match(/(Android);?[\s\/]+([\d.]+)?/),t=e.match(/(iPad).*OS\s([\d_]+)/),s=e.match(/(iPod)(.*OS\s([\d_]+))?/),i=!t&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);return{ios:t||i||s,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}(),passiveListener:function(){var e=!1;try{var a=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveListener",null,a)}catch(e){}return e}(),gestures:function(){return"ongesturestart"in window}()},plugins:{}};for(var t=(function(){var e=function(e){var a=this,t=0;for(t=0;t<e.length;t++)a[t]=e[t];return a.length=e.length,this},a=function(a,t){var s=[],i=0;if(a&&!t&&a instanceof e)return a;if(a)if("string"==typeof a){var r,n,o=a.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var l="div";for(0===o.indexOf("<li")&&(l="ul"),0===o.indexOf("<tr")&&(l="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(l="tr"),0===o.indexOf("<tbody")&&(l="table"),0===o.indexOf("<option")&&(l="select"),n=document.createElement(l),n.innerHTML=a,i=0;i<n.childNodes.length;i++)s.push(n.childNodes[i])}else for(r=t||"#"!==a[0]||a.match(/[ .<>:~]/)?(t||document).querySelectorAll(a):[document.getElementById(a.split("#")[1])],i=0;i<r.length;i++)r[i]&&s.push(r[i])}else if(a.nodeType||a===window||a===document)s.push(a);else if(a.length>0&&a[0].nodeType)for(i=0;i<a.length;i++)s.push(a[i]);return new e(s)};return e.prototype={addClass:function(e){if(void 0===e)return this;for(var a=e.split(" "),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.add(a[t]);return this},removeClass:function(e){for(var a=e.split(" "),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.remove(a[t]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var a=e.split(" "),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.toggle(a[t]);return this},attr:function(e,a){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var t=0;t<this.length;t++)if(2===arguments.length)this[t].setAttribute(e,a);else for(var s in e)this[t][s]=e[s],this[t].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var a=0;a<this.length;a++)this[a].removeAttribute(e);return this},data:function(e,a){if(void 0!==a){for(var t=0;t<this.length;t++){var s=this[t];s.dom7ElementDataStorage||(s.dom7ElementDataStorage={}),s.dom7ElementDataStorage[e]=a}return this}if(this[0]){var i=this[0].getAttribute("data-"+e);return i?i:this[0].dom7ElementDataStorage&&e in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[e]:void 0}},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: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},on:function(e,t,s,i){function r(e){var i=e.target;if(a(i).is(t))s.call(i,e);else for(var r=a(i).parents(),n=0;n<r.length;n++)a(r[n]).is(t)&&s.call(r[n],e)}var n,o,l=e.split(" ");for(n=0;n<this.length;n++)if("function"==typeof t||t===!1)for("function"==typeof t&&(s=arguments[1],i=arguments[2]||!1),o=0;o<l.length;o++)this[n].addEventListener(l[o],s,i);else for(o=0;o<l.length;o++)this[n].dom7LiveListeners||(this[n].dom7LiveListeners=[]),this[n].dom7LiveListeners.push({listener:s,liveListener:r}),this[n].addEventListener(l[o],r,i);return this},off:function(e,a,t,s){for(var i=e.split(" "),r=0;r<i.length;r++)for(var n=0;n<this.length;n++)if("function"==typeof a||a===!1)"function"==typeof a&&(t=arguments[1],s=arguments[2]||!1),this[n].removeEventListener(i[r],t,s);else if(this[n].dom7LiveListeners)for(var o=0;o<this[n].dom7LiveListeners.length;o++)this[n].dom7LiveListeners[o].listener===t&&this[n].removeEventListener(i[r],this[n].dom7LiveListeners[o].liveListener,s);return this},once:function(e,a,t,s){function i(n){t(n),r.off(e,a,i,s)}var r=this;"function"==typeof a&&(a=!1,t=arguments[1],s=arguments[2]),r.on(e,a,i,s)},trigger:function(e,a){for(var t=0;t<this.length;t++){var s;try{s=new window.CustomEvent(e,{detail:a,bubbles:!0,cancelable:!0})}catch(t){s=document.createEvent("Event"),s.initEvent(e,!0,!0),s.detail=a}this[t].dispatchEvent(s)}return this},transitionEnd:function(e){function a(r){if(r.target===this)for(e.call(this,r),t=0;t<s.length;t++)i.off(s[t],a)}var t,s=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=this;if(e)for(t=0;t<s.length;t++)i.on(s[t],a);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width")):null},outerWidth:function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(e){return this.length>0?e?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var e=this[0],a=e.getBoundingClientRect(),t=document.body,s=e.clientTop||t.clientTop||0,i=e.clientLeft||t.clientLeft||0,r=window.pageYOffset||e.scrollTop,n=window.pageXOffset||e.scrollLeft;return{top:a.top+r-s,left:a.left+n-i}}return null},css:function(e,a){var t;if(1===arguments.length){if("string"!=typeof e){for(t=0;t<this.length;t++)for(var s in e)this[t].style[s]=e[s];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(t=0;t<this.length;t++)this[t].style[e]=a;return this}return this},each:function(e){for(var a=0;a<this.length;a++)e.call(this[a],a,this[a]);return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var a=0;a<this.length;a++)this[a].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var a=0;a<this.length;a++)this[a].textContent=e;return this},is:function(t){if(!this[0])return!1;var s,i;if("string"==typeof t){var r=this[0];if(r===document)return t===document;if(r===window)return t===window;if(r.matches)return r.matches(t);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(r.mozMatchesSelector)return r.mozMatchesSelector(t);if(r.msMatchesSelector)return r.msMatchesSelector(t);for(s=a(t),i=0;i<s.length;i++)if(s[i]===this[0])return!0;return!1}if(t===document)return this[0]===document;if(t===window)return this[0]===window;if(t.nodeType||t instanceof e){for(s=t.nodeType?[t]:t,i=0;i<s.length;i++)if(s[i]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var e=this[0],a=0;null!==(e=e.previousSibling);)1===e.nodeType&&a++;return a}},eq:function(a){if(void 0===a)return this;var t,s=this.length;return a>s-1?new e([]):a<0?(t=s+a,new e(t<0?[]:[this[t]])):new e([this[a]])},append:function(a){var t,s;for(t=0;t<this.length;t++)if("string"==typeof a){var i=document.createElement("div");for(i.innerHTML=a;i.firstChild;)this[t].appendChild(i.firstChild)}else if(a instanceof e)for(s=0;s<a.length;s++)this[t].appendChild(a[s]);else this[t].appendChild(a);return this},prepend:function(a){var t,s;for(t=0;t<this.length;t++)if("string"==typeof a){var i=document.createElement("div");for(i.innerHTML=a,s=i.childNodes.length-1;s>=0;s--)this[t].insertBefore(i.childNodes[s],this[t].childNodes[0])}else if(a instanceof e)for(s=0;s<a.length;s++)this[t].insertBefore(a[s],this[t].childNodes[0]);else this[t].insertBefore(a,this[t].childNodes[0]);return this},insertBefore:function(e){for(var t=a(e),s=0;s<this.length;s++)if(1===t.length)t[0].parentNode.insertBefore(this[s],t[0]);else if(t.length>1)for(var i=0;i<t.length;i++)t[i].parentNode.insertBefore(this[s].cloneNode(!0),t[i])},insertAfter:function(e){for(var t=a(e),s=0;s<this.length;s++)if(1===t.length)t[0].parentNode.insertBefore(this[s],t[0].nextSibling);else if(t.length>1)for(var i=0;i<t.length;i++)t[i].parentNode.insertBefore(this[s].cloneNode(!0),t[i].nextSibling)},next:function(t){return new e(this.length>0?t?this[0].nextElementSibling&&a(this[0].nextElementSibling).is(t)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(t){var s=[],i=this[0];if(!i)return new e([]);for(;i.nextElementSibling;){var r=i.nextElementSibling;t?a(r).is(t)&&s.push(r):s.push(r),i=r}return new e(s)},prev:function(t){return new e(this.length>0?t?this[0].previousElementSibling&&a(this[0].previousElementSibling).is(t)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(t){var s=[],i=this[0];if(!i)return new e([]);for(;i.previousElementSibling;){var r=i.previousElementSibling;t?a(r).is(t)&&s.push(r):s.push(r),i=r}return new e(s)},parent:function(e){for(var t=[],s=0;s<this.length;s++)e?a(this[s].parentNode).is(e)&&t.push(this[s].parentNode):t.push(this[s].parentNode);return a(a.unique(t))},parents:function(e){for(var t=[],s=0;s<this.length;s++)for(var i=this[s].parentNode;i;)e?a(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return a(a.unique(t))},find:function(a){for(var t=[],s=0;s<this.length;s++)for(var i=this[s].querySelectorAll(a),r=0;r<i.length;r++)t.push(i[r]);return new e(t)},children:function(t){for(var s=[],i=0;i<this.length;i++)for(var r=this[i].childNodes,n=0;n<r.length;n++)t?1===r[n].nodeType&&a(r[n]).is(t)&&s.push(r[n]):1===r[n].nodeType&&s.push(r[n]);return new e(a.unique(s))},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){var e,t,s=this;for(e=0;e<arguments.length;e++){var i=a(arguments[e]);for(t=0;t<i.length;t++)s[s.length]=i[t],s.length++}return s}},a.fn=e.prototype,a.unique=function(e){for(var a=[],t=0;t<e.length;t++)a.indexOf(e[t])===-1&&a.push(e[t]);return a},a}()),s=["jQuery","Zepto","Dom7"],i=0;i<s.length;i++)window[s[i]]&&function(e){e.fn.swiper=function(t){var s;return e(this).each(function(){var e=new a(this,t);s||(s=e)}),s}}(window[s[i]]);var r;r=void 0===t?window.Dom7||window.Zepto||window.jQuery:t,r&&("transitionEnd"in r.fn||(r.fn.transitionEnd=function(e){function a(r){if(r.target===this)for(e.call(this,r),t=0;t<s.length;t++)i.off(s[t],a)}var t,s=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=this;if(e)for(t=0;t<s.length;t++)i.on(s[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}),"outerWidth"in r.fn||(r.fn.outerWidth=function(e){
  18 +return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=a}(),"undefined"!=typeof module?module.exports=window.Swiper:"function"==typeof define&&define.amd&&define([],function(){"use strict";return window.Swiper});
  19 +//# sourceMappingURL=maps/swiper.min.js.map
  1 +/**
  2 + * Swiper 3.4.2
  3 + * Most modern mobile touch slider and framework with hardware accelerated transitions
  4 + *
  5 + * http://www.idangero.us/swiper/
  6 + *
  7 + * Copyright 2017, Vladimir Kharlampidi
  8 + * The iDangero.us
  9 + * http://www.idangero.us/
  10 + *
  11 + * Licensed under MIT
  12 + *
  13 + * Released on: March 10, 2017
  14 + */
  15 +!function(){"use strict";var e,a=function(t,s){function r(e){return Math.floor(e)}function i(){var e=x.params.autoplay,a=x.slides.eq(x.activeIndex);a.attr("data-swiper-autoplay")&&(e=a.attr("data-swiper-autoplay")||x.params.autoplay),x.autoplayTimeoutId=setTimeout(function(){x.params.loop?(x.fixLoop(),x._slideNext(),x.emit("onAutoplay",x)):x.isEnd?s.autoplayStopOnLast?x.stopAutoplay():(x._slideTo(0),x.emit("onAutoplay",x)):(x._slideNext(),x.emit("onAutoplay",x))},e)}function n(a,t){var s=e(a.target);if(!s.is(t))if("string"==typeof t)s=s.parents(t);else if(t.nodeType){var r;return s.parents().each(function(e,a){a===t&&(r=t)}),r?t:void 0}if(0!==s.length)return s[0]}function o(e,a){a=a||{};var t=window.MutationObserver||window.WebkitMutationObserver,s=new t(function(e){e.forEach(function(e){x.onResize(!0),x.emit("onObserverUpdate",x,e)})});s.observe(e,{attributes:void 0===a.attributes||a.attributes,childList:void 0===a.childList||a.childList,characterData:void 0===a.characterData||a.characterData}),x.observers.push(s)}function l(e){e.originalEvent&&(e=e.originalEvent);var a=e.keyCode||e.charCode;if(!x.params.allowSwipeToNext&&(x.isHorizontal()&&39===a||!x.isHorizontal()&&40===a))return!1;if(!x.params.allowSwipeToPrev&&(x.isHorizontal()&&37===a||!x.isHorizontal()&&38===a))return!1;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 t=!1;if(x.container.parents("."+x.params.slideClass).length>0&&0===x.container.parents("."+x.params.slideActiveClass).length)return;var s={left:window.pageXOffset,top:window.pageYOffset},r=window.innerWidth,i=window.innerHeight,n=x.container.offset();x.rtl&&(n.left=n.left-x.container[0].scrollLeft);for(var o=[[n.left,n.top],[n.left+x.width,n.top],[n.left,n.top+x.height],[n.left+x.width,n.top+x.height]],l=0;l<o.length;l++){var p=o[l];p[0]>=s.left&&p[0]<=s.left+r&&p[1]>=s.top&&p[1]<=s.top+i&&(t=!0)}if(!t)return}x.isHorizontal()?(37!==a&&39!==a||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===a&&!x.rtl||37===a&&x.rtl)&&x.slideNext(),(37===a&&!x.rtl||39===a&&x.rtl)&&x.slidePrev()):(38!==a&&40!==a||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===a&&x.slideNext(),38===a&&x.slidePrev()),x.emit("onKeyPress",x,a)}}function p(e){var a=0,t=0,s=0,r=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(a=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(a=t,t=0),s=10*a,r=10*t,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||r)&&e.deltaMode&&(1===e.deltaMode?(s*=40,r*=40):(s*=800,r*=800)),s&&!a&&(a=s<1?-1:1),r&&!t&&(t=r<1?-1:1),{spinX:a,spinY:t,pixelX:s,pixelY:r}}function d(e){e.originalEvent&&(e=e.originalEvent);var a=0,t=x.rtl?-1:1,s=p(e);if(x.params.mousewheelForceToAxis)if(x.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return;a=s.pixelX*t}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return;a=s.pixelY}else a=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*t:-s.pixelY;if(0!==a){if(x.params.mousewheelInvert&&(a=-a),x.params.freeMode){var r=x.getWrapperTranslate()+a*x.params.mousewheelSensitivity,i=x.isBeginning,n=x.isEnd;if(r>=x.minTranslate()&&(r=x.minTranslate()),r<=x.maxTranslate()&&(r=x.maxTranslate()),x.setWrapperTransition(0),x.setWrapperTranslate(r),x.updateProgress(),x.updateActiveIndex(),(!i&&x.isBeginning||!n&&x.isEnd)&&x.updateClasses(),x.params.freeModeSticky?(clearTimeout(x.mousewheel.timeout),x.mousewheel.timeout=setTimeout(function(){x.slideReset()},300)):x.params.lazyLoading&&x.lazy&&x.lazy.load(),x.emit("onScroll",x,e),x.params.autoplay&&x.params.autoplayDisableOnInteraction&&x.stopAutoplay(),0===r||r===x.maxTranslate())return}else{if((new window.Date).getTime()-x.mousewheel.lastScrollTime>60)if(a<0)if(x.isEnd&&!x.params.loop||x.animating){if(x.params.mousewheelReleaseOnEdges)return!0}else x.slideNext(),x.emit("onScroll",x,e);else if(x.isBeginning&&!x.params.loop||x.animating){if(x.params.mousewheelReleaseOnEdges)return!0}else x.slidePrev(),x.emit("onScroll",x,e);x.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function m(a,t){a=e(a);var s,r,i,n=x.rtl?-1:1;s=a.attr("data-swiper-parallax")||"0",r=a.attr("data-swiper-parallax-x"),i=a.attr("data-swiper-parallax-y"),r||i?(r=r||"0",i=i||"0"):x.isHorizontal()?(r=s,i="0"):(i=s,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*t*n+"%":r*t*n+"px",i=i.indexOf("%")>=0?parseInt(i,10)*t+"%":i*t+"px",a.transform("translate3d("+r+", "+i+",0px)")}function u(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 a))return new a(t,s);var c={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},g=s&&s.virtualTranslate;s=s||{};var h={};for(var v in s)if("object"!=typeof s[v]||null===s[v]||(s[v].nodeType||s[v]===window||s[v]===document||"undefined"!=typeof Dom7&&s[v]instanceof Dom7||"undefined"!=typeof jQuery&&s[v]instanceof jQuery))h[v]=s[v];else{h[v]={};for(var f in s[v])h[v][f]=s[v][f]}for(var w in c)if(void 0===s[w])s[w]=c[w];else if("object"==typeof s[w])for(var y in c[w])void 0===s[w][y]&&(s[w][y]=c[w][y]);var x=this;if(x.params=s,x.originalParams=h,x.classNames=[],void 0!==e&&"undefined"!=typeof Dom7&&(e=Dom7),(void 0!==e||(e="undefined"==typeof Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7))&&(x.$=e,x.currentBreakpoint=void 0,x.getActiveBreakpoint=function(){if(!x.params.breakpoints)return!1;var e,a=!1,t=[];for(e in x.params.breakpoints)x.params.breakpoints.hasOwnProperty(e)&&t.push(e);t.sort(function(e,a){return parseInt(e,10)>parseInt(a,10)});for(var s=0;s<t.length;s++)(e=t[s])>=window.innerWidth&&!a&&(a=e);return a||"max"},x.setBreakpoint=function(){var e=x.getActiveBreakpoint();if(e&&x.currentBreakpoint!==e){var a=e in x.params.breakpoints?x.params.breakpoints[e]:x.originalParams,t=x.params.loop&&a.slidesPerView!==x.params.slidesPerView;for(var s in a)x.params[s]=a[s];x.currentBreakpoint=e,t&&x.destroyLoop&&x.reLoop(!0)}},x.params.breakpoints&&x.setBreakpoint(),x.container=e(t),0!==x.container.length)){if(x.container.length>1){var T=[];return x.container.each(function(){T.push(new a(this,s))}),T}x.container[0].swiper=x,x.container.data("swiper",x),x.classNames.push(x.params.containerModifierClass+x.params.direction),x.params.freeMode&&x.classNames.push(x.params.containerModifierClass+"free-mode"),x.support.flexbox||(x.classNames.push(x.params.containerModifierClass+"no-flexbox"),x.params.slidesPerColumn=1),x.params.autoHeight&&x.classNames.push(x.params.containerModifierClass+"autoheight"),(x.params.parallax||x.params.watchSlidesVisibility)&&(x.params.watchSlidesProgress=!0),x.params.touchReleaseOnEdges&&(x.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(x.params.effect)>=0&&(x.support.transforms3d?(x.params.watchSlidesProgress=!0,x.classNames.push(x.params.containerModifierClass+"3d")):x.params.effect="slide"),"slide"!==x.params.effect&&x.classNames.push(x.params.containerModifierClass+x.params.effect),"cube"===x.params.effect&&(x.params.resistanceRatio=0,x.params.slidesPerView=1,x.params.slidesPerColumn=1,x.params.slidesPerGroup=1,x.params.centeredSlides=!1,x.params.spaceBetween=0,x.params.virtualTranslate=!0),"fade"!==x.params.effect&&"flip"!==x.params.effect||(x.params.slidesPerView=1,x.params.slidesPerColumn=1,x.params.slidesPerGroup=1,x.params.watchSlidesProgress=!0,x.params.spaceBetween=0,void 0===g&&(x.params.virtualTranslate=!0)),x.params.grabCursor&&x.support.touch&&(x.params.grabCursor=!1),x.wrapper=x.container.children("."+x.params.wrapperClass),x.params.pagination&&(x.paginationContainer=e(x.params.pagination),x.params.uniqueNavElements&&"string"==typeof x.params.pagination&&x.paginationContainer.length>1&&1===x.container.find(x.params.pagination).length&&(x.paginationContainer=x.container.find(x.params.pagination)),"bullets"===x.params.paginationType&&x.params.paginationClickable?x.paginationContainer.addClass(x.params.paginationModifierClass+"clickable"):x.params.paginationClickable=!1,x.paginationContainer.addClass(x.params.paginationModifierClass+x.params.paginationType)),(x.params.nextButton||x.params.prevButton)&&(x.params.nextButton&&(x.nextButton=e(x.params.nextButton),x.params.uniqueNavElements&&"string"==typeof x.params.nextButton&&x.nextButton.length>1&&1===x.container.find(x.params.nextButton).length&&(x.nextButton=x.container.find(x.params.nextButton))),x.params.prevButton&&(x.prevButton=e(x.params.prevButton),x.params.uniqueNavElements&&"string"==typeof x.params.prevButton&&x.prevButton.length>1&&1===x.container.find(x.params.prevButton).length&&(x.prevButton=x.container.find(x.params.prevButton)))),x.isHorizontal=function(){return"horizontal"===x.params.direction},x.rtl=x.isHorizontal()&&("rtl"===x.container[0].dir.toLowerCase()||"rtl"===x.container.css("direction")),x.rtl&&x.classNames.push(x.params.containerModifierClass+"rtl"),x.rtl&&(x.wrongRTL="-webkit-box"===x.wrapper.css("display")),x.params.slidesPerColumn>1&&x.classNames.push(x.params.containerModifierClass+"multirow"),x.device.android&&x.classNames.push(x.params.containerModifierClass+"android"),x.container.addClass(x.classNames.join(" ")),x.translate=0,x.progress=0,x.velocity=0,x.lockSwipeToNext=function(){x.params.allowSwipeToNext=!1,x.params.allowSwipeToPrev===!1&&x.params.grabCursor&&x.unsetGrabCursor()},x.lockSwipeToPrev=function(){x.params.allowSwipeToPrev=!1,x.params.allowSwipeToNext===!1&&x.params.grabCursor&&x.unsetGrabCursor()},x.lockSwipes=function(){x.params.allowSwipeToNext=x.params.allowSwipeToPrev=!1,x.params.grabCursor&&x.unsetGrabCursor()},x.unlockSwipeToNext=function(){x.params.allowSwipeToNext=!0,x.params.allowSwipeToPrev===!0&&x.params.grabCursor&&x.setGrabCursor()},x.unlockSwipeToPrev=function(){x.params.allowSwipeToPrev=!0,x.params.allowSwipeToNext===!0&&x.params.grabCursor&&x.setGrabCursor()},x.unlockSwipes=function(){x.params.allowSwipeToNext=x.params.allowSwipeToPrev=!0,x.params.grabCursor&&x.setGrabCursor()},x.setGrabCursor=function(e){x.container[0].style.cursor="move",x.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",x.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",x.container[0].style.cursor=e?"grabbing":"grab"},x.unsetGrabCursor=function(){x.container[0].style.cursor=""},x.params.grabCursor&&x.setGrabCursor(),x.imagesToLoad=[],x.imagesLoaded=0,x.loadImage=function(e,a,t,s,r,i){function n(){i&&i()}var o;e.complete&&r?n():a?(o=new window.Image,o.onload=n,o.onerror=n,s&&(o.sizes=s),t&&(o.srcset=t),a&&(o.src=a)):n()},x.preloadImages=function(){function e(){void 0!==x&&null!==x&&x&&(void 0!==x.imagesLoaded&&x.imagesLoaded++,x.imagesLoaded===x.imagesToLoad.length&&(x.params.updateOnImagesReady&&x.update(),x.emit("onImagesReady",x)))}x.imagesToLoad=x.container.find("img");for(var a=0;a<x.imagesToLoad.length;a++)x.loadImage(x.imagesToLoad[a],x.imagesToLoad[a].currentSrc||x.imagesToLoad[a].getAttribute("src"),x.imagesToLoad[a].srcset||x.imagesToLoad[a].getAttribute("srcset"),x.imagesToLoad[a].sizes||x.imagesToLoad[a].getAttribute("sizes"),!0,e)},x.autoplayTimeoutId=void 0,x.autoplaying=!1,x.autoplayPaused=!1,x.startAutoplay=function(){return void 0===x.autoplayTimeoutId&&(!!x.params.autoplay&&(!x.autoplaying&&(x.autoplaying=!0,x.emit("onAutoplayStart",x),void i())))},x.stopAutoplay=function(e){x.autoplayTimeoutId&&(x.autoplayTimeoutId&&clearTimeout(x.autoplayTimeoutId),x.autoplaying=!1,x.autoplayTimeoutId=void 0,x.emit("onAutoplayStop",x))},x.pauseAutoplay=function(e){x.autoplayPaused||(x.autoplayTimeoutId&&clearTimeout(x.autoplayTimeoutId),x.autoplayPaused=!0,0===e?(x.autoplayPaused=!1,i()):x.wrapper.transitionEnd(function(){x&&(x.autoplayPaused=!1,x.autoplaying?i():x.stopAutoplay())}))},x.minTranslate=function(){return-x.snapGrid[0]},x.maxTranslate=function(){return-x.snapGrid[x.snapGrid.length-1]},x.updateAutoHeight=function(){var e,a=[],t=0;if("auto"!==x.params.slidesPerView&&x.params.slidesPerView>1)for(e=0;e<Math.ceil(x.params.slidesPerView);e++){var s=x.activeIndex+e;if(s>x.slides.length)break;a.push(x.slides.eq(s)[0])}else a.push(x.slides.eq(x.activeIndex)[0]);for(e=0;e<a.length;e++)if(void 0!==a[e]){var r=a[e].offsetHeight;t=r>t?r:t}t&&x.wrapper.css("height",t+"px")},x.updateContainerSize=function(){var e,a;e=void 0!==x.params.width?x.params.width:x.container[0].clientWidth,a=void 0!==x.params.height?x.params.height:x.container[0].clientHeight,0===e&&x.isHorizontal()||0===a&&!x.isHorizontal()||(e=e-parseInt(x.container.css("padding-left"),10)-parseInt(x.container.css("padding-right"),10),a=a-parseInt(x.container.css("padding-top"),10)-parseInt(x.container.css("padding-bottom"),10),x.width=e,x.height=a,x.size=x.isHorizontal()?x.width:x.height)},x.updateSlidesSize=function(){x.slides=x.wrapper.children("."+x.params.slideClass),x.snapGrid=[],x.slidesGrid=[],x.slidesSizesGrid=[];var e,a=x.params.spaceBetween,t=-x.params.slidesOffsetBefore,s=0,i=0;if(void 0!==x.size){"string"==typeof a&&a.indexOf("%")>=0&&(a=parseFloat(a.replace("%",""))/100*x.size),x.virtualSize=-a,x.rtl?x.slides.css({marginLeft:"",marginTop:""}):x.slides.css({marginRight:"",marginBottom:""});var n;x.params.slidesPerColumn>1&&(n=Math.floor(x.slides.length/x.params.slidesPerColumn)===x.slides.length/x.params.slidesPerColumn?x.slides.length:Math.ceil(x.slides.length/x.params.slidesPerColumn)*x.params.slidesPerColumn,"auto"!==x.params.slidesPerView&&"row"===x.params.slidesPerColumnFill&&(n=Math.max(n,x.params.slidesPerView*x.params.slidesPerColumn)));var o,l=x.params.slidesPerColumn,p=n/l,d=p-(x.params.slidesPerColumn*p-x.slides.length);for(e=0;e<x.slides.length;e++){o=0;var m=x.slides.eq(e);if(x.params.slidesPerColumn>1){var u,c,g;"column"===x.params.slidesPerColumnFill?(c=Math.floor(e/l),g=e-c*l,(c>d||c===d&&g===l-1)&&++g>=l&&(g=0,c++),u=c+g*n/l,m.css({"-webkit-box-ordinal-group":u,"-moz-box-ordinal-group":u,"-ms-flex-order":u,"-webkit-order":u,order:u})):(g=Math.floor(e/p),c=e-g*p),m.css("margin-"+(x.isHorizontal()?"top":"left"),0!==g&&x.params.spaceBetween&&x.params.spaceBetween+"px").attr("data-swiper-column",c).attr("data-swiper-row",g)}"none"!==m.css("display")&&("auto"===x.params.slidesPerView?(o=x.isHorizontal()?m.outerWidth(!0):m.outerHeight(!0),x.params.roundLengths&&(o=r(o))):(o=(x.size-(x.params.slidesPerView-1)*a)/x.params.slidesPerView,x.params.roundLengths&&(o=r(o)),x.isHorizontal()?x.slides[e].style.width=o+"px":x.slides[e].style.height=o+"px"),x.slides[e].swiperSlideSize=o,x.slidesSizesGrid.push(o),x.params.centeredSlides?(t=t+o/2+s/2+a,0===s&&0!==e&&(t=t-x.size/2-a),0===e&&(t=t-x.size/2-a),Math.abs(t)<.001&&(t=0),i%x.params.slidesPerGroup==0&&x.snapGrid.push(t),x.slidesGrid.push(t)):(i%x.params.slidesPerGroup==0&&x.snapGrid.push(t),x.slidesGrid.push(t),t=t+o+a),x.virtualSize+=o+a,s=o,i++)}x.virtualSize=Math.max(x.virtualSize,x.size)+x.params.slidesOffsetAfter;var h;if(x.rtl&&x.wrongRTL&&("slide"===x.params.effect||"coverflow"===x.params.effect)&&x.wrapper.css({width:x.virtualSize+x.params.spaceBetween+"px"}),x.support.flexbox&&!x.params.setWrapperSize||(x.isHorizontal()?x.wrapper.css({width:x.virtualSize+x.params.spaceBetween+"px"}):x.wrapper.css({height:x.virtualSize+x.params.spaceBetween+"px"})),x.params.slidesPerColumn>1&&(x.virtualSize=(o+x.params.spaceBetween)*n,x.virtualSize=Math.ceil(x.virtualSize/x.params.slidesPerColumn)-x.params.spaceBetween,x.isHorizontal()?x.wrapper.css({width:x.virtualSize+x.params.spaceBetween+"px"}):x.wrapper.css({height:x.virtualSize+x.params.spaceBetween+"px"}),x.params.centeredSlides)){for(h=[],e=0;e<x.snapGrid.length;e++)x.snapGrid[e]<x.virtualSize+x.snapGrid[0]&&h.push(x.snapGrid[e]);x.snapGrid=h}if(!x.params.centeredSlides){for(h=[],e=0;e<x.snapGrid.length;e++)x.snapGrid[e]<=x.virtualSize-x.size&&h.push(x.snapGrid[e]);x.snapGrid=h,Math.floor(x.virtualSize-x.size)-Math.floor(x.snapGrid[x.snapGrid.length-1])>1&&x.snapGrid.push(x.virtualSize-x.size)}0===x.snapGrid.length&&(x.snapGrid=[0]),0!==x.params.spaceBetween&&(x.isHorizontal()?x.rtl?x.slides.css({marginLeft:a+"px"}):x.slides.css({marginRight:a+"px"}):x.slides.css({marginBottom:a+"px"})),x.params.watchSlidesProgress&&x.updateSlidesOffset()}},x.updateSlidesOffset=function(){for(var e=0;e<x.slides.length;e++)x.slides[e].swiperSlideOffset=x.isHorizontal()?x.slides[e].offsetLeft:x.slides[e].offsetTop},x.currentSlidesPerView=function(){var e,a,t=1;if(x.params.centeredSlides){var s,r=x.slides[x.activeIndex].swiperSlideSize;for(e=x.activeIndex+1;e<x.slides.length;e++)x.slides[e]&&!s&&(r+=x.slides[e].swiperSlideSize,t++,r>x.size&&(s=!0));for(a=x.activeIndex-1;a>=0;a--)x.slides[a]&&!s&&(r+=x.slides[a].swiperSlideSize,t++,r>x.size&&(s=!0))}else for(e=x.activeIndex+1;e<x.slides.length;e++)x.slidesGrid[e]-x.slidesGrid[x.activeIndex]<x.size&&t++;return t},x.updateSlidesProgress=function(e){if(void 0===e&&(e=x.translate||0),0!==x.slides.length){void 0===x.slides[0].swiperSlideOffset&&x.updateSlidesOffset();var a=-e;x.rtl&&(a=e),x.slides.removeClass(x.params.slideVisibleClass);for(var t=0;t<x.slides.length;t++){var s=x.slides[t],r=(a+(x.params.centeredSlides?x.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+x.params.spaceBetween);if(x.params.watchSlidesVisibility){var i=-(a-s.swiperSlideOffset),n=i+x.slidesSizesGrid[t];(i>=0&&i<x.size||n>0&&n<=x.size||i<=0&&n>=x.size)&&x.slides.eq(t).addClass(x.params.slideVisibleClass)}s.progress=x.rtl?-r:r}}},x.updateProgress=function(e){void 0===e&&(e=x.translate||0);var a=x.maxTranslate()-x.minTranslate(),t=x.isBeginning,s=x.isEnd;0===a?(x.progress=0,x.isBeginning=x.isEnd=!0):(x.progress=(e-x.minTranslate())/a,x.isBeginning=x.progress<=0,x.isEnd=x.progress>=1),x.isBeginning&&!t&&x.emit("onReachBeginning",x),x.isEnd&&!s&&x.emit("onReachEnd",x),x.params.watchSlidesProgress&&x.updateSlidesProgress(e),x.emit("onProgress",x,x.progress)},x.updateActiveIndex=function(){var e,a,t,s=x.rtl?x.translate:-x.translate;for(a=0;a<x.slidesGrid.length;a++)void 0!==x.slidesGrid[a+1]?s>=x.slidesGrid[a]&&s<x.slidesGrid[a+1]-(x.slidesGrid[a+1]-x.slidesGrid[a])/2?e=a:s>=x.slidesGrid[a]&&s<x.slidesGrid[a+1]&&(e=a+1):s>=x.slidesGrid[a]&&(e=a);x.params.normalizeSlideIndex&&(e<0||void 0===e)&&(e=0),t=Math.floor(e/x.params.slidesPerGroup),t>=x.snapGrid.length&&(t=x.snapGrid.length-1),e!==x.activeIndex&&(x.snapIndex=t,x.previousIndex=x.activeIndex,x.activeIndex=e,x.updateClasses(),x.updateRealIndex())},x.updateRealIndex=function(){x.realIndex=parseInt(x.slides.eq(x.activeIndex).attr("data-swiper-slide-index")||x.activeIndex,10)},x.updateClasses=function(){x.slides.removeClass(x.params.slideActiveClass+" "+x.params.slideNextClass+" "+x.params.slidePrevClass+" "+x.params.slideDuplicateActiveClass+" "+x.params.slideDuplicateNextClass+" "+x.params.slideDuplicatePrevClass);var a=x.slides.eq(x.activeIndex);a.addClass(x.params.slideActiveClass),s.loop&&(a.hasClass(x.params.slideDuplicateClass)?x.wrapper.children("."+x.params.slideClass+":not(."+x.params.slideDuplicateClass+')[data-swiper-slide-index="'+x.realIndex+'"]').addClass(x.params.slideDuplicateActiveClass):x.wrapper.children("."+x.params.slideClass+"."+x.params.slideDuplicateClass+'[data-swiper-slide-index="'+x.realIndex+'"]').addClass(x.params.slideDuplicateActiveClass));var t=a.next("."+x.params.slideClass).addClass(x.params.slideNextClass);x.params.loop&&0===t.length&&(t=x.slides.eq(0),t.addClass(x.params.slideNextClass));var r=a.prev("."+x.params.slideClass).addClass(x.params.slidePrevClass);if(x.params.loop&&0===r.length&&(r=x.slides.eq(-1),r.addClass(x.params.slidePrevClass)),s.loop&&(t.hasClass(x.params.slideDuplicateClass)?x.wrapper.children("."+x.params.slideClass+":not(."+x.params.slideDuplicateClass+')[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addClass(x.params.slideDuplicateNextClass):x.wrapper.children("."+x.params.slideClass+"."+x.params.slideDuplicateClass+'[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addClass(x.params.slideDuplicateNextClass),r.hasClass(x.params.slideDuplicateClass)?x.wrapper.children("."+x.params.slideClass+":not(."+x.params.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(x.params.slideDuplicatePrevClass):x.wrapper.children("."+x.params.slideClass+"."+x.params.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(x.params.slideDuplicatePrevClass)),x.paginationContainer&&x.paginationContainer.length>0){var i,n=x.params.loop?Math.ceil((x.slides.length-2*x.loopedSlides)/x.params.slidesPerGroup):x.snapGrid.length;if(x.params.loop?(i=Math.ceil((x.activeIndex-x.loopedSlides)/x.params.slidesPerGroup),i>x.slides.length-1-2*x.loopedSlides&&(i-=x.slides.length-2*x.loopedSlides),i>n-1&&(i-=n),i<0&&"bullets"!==x.params.paginationType&&(i=n+i)):i=void 0!==x.snapIndex?x.snapIndex:x.activeIndex||0,"bullets"===x.params.paginationType&&x.bullets&&x.bullets.length>0&&(x.bullets.removeClass(x.params.bulletActiveClass),x.paginationContainer.length>1?x.bullets.each(function(){e(this).index()===i&&e(this).addClass(x.params.bulletActiveClass)}):x.bullets.eq(i).addClass(x.params.bulletActiveClass)),"fraction"===x.params.paginationType&&(x.paginationContainer.find("."+x.params.paginationCurrentClass).text(i+1),x.paginationContainer.find("."+x.params.paginationTotalClass).text(n)),"progress"===x.params.paginationType){var o=(i+1)/n,l=o,p=1;x.isHorizontal()||(p=o,l=1),x.paginationContainer.find("."+x.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+l+") scaleY("+p+")").transition(x.params.speed)}"custom"===x.params.paginationType&&x.params.paginationCustomRender&&(x.paginationContainer.html(x.params.paginationCustomRender(x,i+1,n)),x.emit("onPaginationRendered",x,x.paginationContainer[0]))}x.params.loop||(x.params.prevButton&&x.prevButton&&x.prevButton.length>0&&(x.isBeginning?(x.prevButton.addClass(x.params.buttonDisabledClass),x.params.a11y&&x.a11y&&x.a11y.disable(x.prevButton)):(x.prevButton.removeClass(x.params.buttonDisabledClass),x.params.a11y&&x.a11y&&x.a11y.enable(x.prevButton))),x.params.nextButton&&x.nextButton&&x.nextButton.length>0&&(x.isEnd?(x.nextButton.addClass(x.params.buttonDisabledClass),x.params.a11y&&x.a11y&&x.a11y.disable(x.nextButton)):(x.nextButton.removeClass(x.params.buttonDisabledClass),x.params.a11y&&x.a11y&&x.a11y.enable(x.nextButton))))},x.updatePagination=function(){if(x.params.pagination&&x.paginationContainer&&x.paginationContainer.length>0){var e="";if("bullets"===x.params.paginationType){for(var a=x.params.loop?Math.ceil((x.slides.length-2*x.loopedSlides)/x.params.slidesPerGroup):x.snapGrid.length,t=0;t<a;t++)e+=x.params.paginationBulletRender?x.params.paginationBulletRender(x,t,x.params.bulletClass):"<"+x.params.paginationElement+' class="'+x.params.bulletClass+'"></'+x.params.paginationElement+">";x.paginationContainer.html(e),x.bullets=x.paginationContainer.find("."+x.params.bulletClass),x.params.paginationClickable&&x.params.a11y&&x.a11y&&x.a11y.initPagination()}"fraction"===x.params.paginationType&&(e=x.params.paginationFractionRender?x.params.paginationFractionRender(x,x.params.paginationCurrentClass,x.params.paginationTotalClass):'<span class="'+x.params.paginationCurrentClass+'"></span> / <span class="'+x.params.paginationTotalClass+'"></span>',x.paginationContainer.html(e)),"progress"===x.params.paginationType&&(e=x.params.paginationProgressRender?x.params.paginationProgressRender(x,x.params.paginationProgressbarClass):'<span class="'+x.params.paginationProgressbarClass+'"></span>',x.paginationContainer.html(e)),"custom"!==x.params.paginationType&&x.emit("onPaginationRendered",x,x.paginationContainer[0])}},x.update=function(e){function a(){x.rtl,x.translate;t=Math.min(Math.max(x.translate,x.maxTranslate()),x.minTranslate()),x.setWrapperTranslate(t),x.updateActiveIndex(),x.updateClasses()}if(x){x.updateContainerSize(),x.updateSlidesSize(),x.updateProgress(),x.updatePagination(),x.updateClasses(),x.params.scrollbar&&x.scrollbar&&x.scrollbar.set();var t;if(e){x.controller&&x.controller.spline&&(x.controller.spline=void 0),x.params.freeMode?(a(),x.params.autoHeight&&x.updateAutoHeight()):(("auto"===x.params.slidesPerView||x.params.slidesPerView>1)&&x.isEnd&&!x.params.centeredSlides?x.slideTo(x.slides.length-1,0,!1,!0):x.slideTo(x.activeIndex,0,!1,!0))||a()}else x.params.autoHeight&&x.updateAutoHeight()}},x.onResize=function(e){x.params.onBeforeResize&&x.params.onBeforeResize(x),x.params.breakpoints&&x.setBreakpoint();var a=x.params.allowSwipeToPrev,t=x.params.allowSwipeToNext;x.params.allowSwipeToPrev=x.params.allowSwipeToNext=!0,x.updateContainerSize(),x.updateSlidesSize(),("auto"===x.params.slidesPerView||x.params.freeMode||e)&&x.updatePagination(),x.params.scrollbar&&x.scrollbar&&x.scrollbar.set(),x.controller&&x.controller.spline&&(x.controller.spline=void 0);var s=!1;if(x.params.freeMode){var r=Math.min(Math.max(x.translate,x.maxTranslate()),x.minTranslate());x.setWrapperTranslate(r),x.updateActiveIndex(),x.updateClasses(),x.params.autoHeight&&x.updateAutoHeight()}else x.updateClasses(),s=("auto"===x.params.slidesPerView||x.params.slidesPerView>1)&&x.isEnd&&!x.params.centeredSlides?x.slideTo(x.slides.length-1,0,!1,!0):x.slideTo(x.activeIndex,0,!1,!0);x.params.lazyLoading&&!s&&x.lazy&&x.lazy.load(),x.params.allowSwipeToPrev=a,x.params.allowSwipeToNext=t,x.params.onAfterResize&&x.params.onAfterResize(x)},x.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?x.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(x.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),x.touchEvents={start:x.support.touch||!x.params.simulateTouch?"touchstart":x.touchEventsDesktop.start,move:x.support.touch||!x.params.simulateTouch?"touchmove":x.touchEventsDesktop.move,end:x.support.touch||!x.params.simulateTouch?"touchend":x.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===x.params.touchEventsTarget?x.container:x.wrapper).addClass("swiper-wp8-"+x.params.direction),x.initEvents=function(e){var a=e?"off":"on",t=e?"removeEventListener":"addEventListener",r="container"===x.params.touchEventsTarget?x.container[0]:x.wrapper[0],i=x.support.touch?r:document,n=!!x.params.nested;if(x.browser.ie)r[t](x.touchEvents.start,x.onTouchStart,!1),i[t](x.touchEvents.move,x.onTouchMove,n),i[t](x.touchEvents.end,x.onTouchEnd,!1);else{if(x.support.touch){var o=!("touchstart"!==x.touchEvents.start||!x.support.passiveListener||!x.params.passiveListeners)&&{passive:!0,capture:!1};r[t](x.touchEvents.start,x.onTouchStart,o),r[t](x.touchEvents.move,x.onTouchMove,n),r[t](x.touchEvents.end,x.onTouchEnd,o)}(s.simulateTouch&&!x.device.ios&&!x.device.android||s.simulateTouch&&!x.support.touch&&x.device.ios)&&(r[t]("mousedown",x.onTouchStart,!1),document[t]("mousemove",x.onTouchMove,n),document[t]("mouseup",x.onTouchEnd,!1))}window[t]("resize",x.onResize),x.params.nextButton&&x.nextButton&&x.nextButton.length>0&&(x.nextButton[a]("click",x.onClickNext),x.params.a11y&&x.a11y&&x.nextButton[a]("keydown",x.a11y.onEnterKey)),x.params.prevButton&&x.prevButton&&x.prevButton.length>0&&(x.prevButton[a]("click",x.onClickPrev),x.params.a11y&&x.a11y&&x.prevButton[a]("keydown",x.a11y.onEnterKey)),x.params.pagination&&x.params.paginationClickable&&(x.paginationContainer[a]("click","."+x.params.bulletClass,x.onClickIndex),x.params.a11y&&x.a11y&&x.paginationContainer[a]("keydown","."+x.params.bulletClass,x.a11y.onEnterKey)),(x.params.preventClicks||x.params.preventClicksPropagation)&&r[t]("click",x.preventClicks,!0)},x.attachEvents=function(){x.initEvents()},x.detachEvents=function(){x.initEvents(!0)},x.allowClick=!0,x.preventClicks=function(e){x.allowClick||(x.params.preventClicks&&e.preventDefault(),x.params.preventClicksPropagation&&x.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},x.onClickNext=function(e){e.preventDefault(),x.isEnd&&!x.params.loop||x.slideNext()},x.onClickPrev=function(e){e.preventDefault(),x.isBeginning&&!x.params.loop||x.slidePrev()},x.onClickIndex=function(a){a.preventDefault();var t=e(this).index()*x.params.slidesPerGroup
  16 +;x.params.loop&&(t+=x.loopedSlides),x.slideTo(t)},x.updateClickedSlide=function(a){var t=n(a,"."+x.params.slideClass),s=!1;if(t)for(var r=0;r<x.slides.length;r++)x.slides[r]===t&&(s=!0);if(!t||!s)return x.clickedSlide=void 0,void(x.clickedIndex=void 0);if(x.clickedSlide=t,x.clickedIndex=e(t).index(),x.params.slideToClickedSlide&&void 0!==x.clickedIndex&&x.clickedIndex!==x.activeIndex){var i,o=x.clickedIndex,l="auto"===x.params.slidesPerView?x.currentSlidesPerView():x.params.slidesPerView;if(x.params.loop){if(x.animating)return;i=parseInt(e(x.clickedSlide).attr("data-swiper-slide-index"),10),x.params.centeredSlides?o<x.loopedSlides-l/2||o>x.slides.length-x.loopedSlides+l/2?(x.fixLoop(),o=x.wrapper.children("."+x.params.slideClass+'[data-swiper-slide-index="'+i+'"]:not(.'+x.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){x.slideTo(o)},0)):x.slideTo(o):o>x.slides.length-l?(x.fixLoop(),o=x.wrapper.children("."+x.params.slideClass+'[data-swiper-slide-index="'+i+'"]:not(.'+x.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){x.slideTo(o)},0)):x.slideTo(o)}else x.slideTo(o)}};var b,C,S,z,M,P,E,I,k,D,L="input, select, textarea, button, video",B=Date.now(),H=[];x.animating=!1,x.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var G,X;x.onTouchStart=function(a){if(a.originalEvent&&(a=a.originalEvent),(G="touchstart"===a.type)||!("which"in a)||3!==a.which){if(x.params.noSwiping&&n(a,"."+x.params.noSwipingClass))return void(x.allowClick=!0);if(!x.params.swipeHandler||n(a,x.params.swipeHandler)){var t=x.touches.currentX="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,s=x.touches.currentY="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY;if(!(x.device.ios&&x.params.iOSEdgeSwipeDetection&&t<=x.params.iOSEdgeSwipeThreshold)){if(b=!0,C=!1,S=!0,M=void 0,X=void 0,x.touches.startX=t,x.touches.startY=s,z=Date.now(),x.allowClick=!0,x.updateContainerSize(),x.swipeDirection=void 0,x.params.threshold>0&&(I=!1),"touchstart"!==a.type){var r=!0;e(a.target).is(L)&&(r=!1),document.activeElement&&e(document.activeElement).is(L)&&document.activeElement.blur(),r&&a.preventDefault()}x.emit("onTouchStart",x,a)}}}},x.onTouchMove=function(a){if(a.originalEvent&&(a=a.originalEvent),!G||"mousemove"!==a.type){if(a.preventedByNestedSwiper)return x.touches.startX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,void(x.touches.startY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY);if(x.params.onlyExternal)return x.allowClick=!1,void(b&&(x.touches.startX=x.touches.currentX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,x.touches.startY=x.touches.currentY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY,z=Date.now()));if(G&&x.params.touchReleaseOnEdges&&!x.params.loop)if(x.isHorizontal()){if(x.touches.currentX<x.touches.startX&&x.translate<=x.maxTranslate()||x.touches.currentX>x.touches.startX&&x.translate>=x.minTranslate())return}else if(x.touches.currentY<x.touches.startY&&x.translate<=x.maxTranslate()||x.touches.currentY>x.touches.startY&&x.translate>=x.minTranslate())return;if(G&&document.activeElement&&a.target===document.activeElement&&e(a.target).is(L))return C=!0,void(x.allowClick=!1);if(S&&x.emit("onTouchMove",x,a),!(a.targetTouches&&a.targetTouches.length>1)){if(x.touches.currentX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,x.touches.currentY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY,void 0===M){var t;x.isHorizontal()&&x.touches.currentY===x.touches.startY||!x.isHorizontal()&&x.touches.currentX===x.touches.startX?M=!1:(t=180*Math.atan2(Math.abs(x.touches.currentY-x.touches.startY),Math.abs(x.touches.currentX-x.touches.startX))/Math.PI,M=x.isHorizontal()?t>x.params.touchAngle:90-t>x.params.touchAngle)}if(M&&x.emit("onTouchMoveOpposite",x,a),void 0===X&&(x.touches.currentX===x.touches.startX&&x.touches.currentY===x.touches.startY||(X=!0)),b){if(M)return void(b=!1);if(X){x.allowClick=!1,x.emit("onSliderMove",x,a),a.preventDefault(),x.params.touchMoveStopPropagation&&!x.params.nested&&a.stopPropagation(),C||(s.loop&&x.fixLoop(),E=x.getWrapperTranslate(),x.setWrapperTransition(0),x.animating&&x.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),x.params.autoplay&&x.autoplaying&&(x.params.autoplayDisableOnInteraction?x.stopAutoplay():x.pauseAutoplay()),D=!1,!x.params.grabCursor||x.params.allowSwipeToNext!==!0&&x.params.allowSwipeToPrev!==!0||x.setGrabCursor(!0)),C=!0;var r=x.touches.diff=x.isHorizontal()?x.touches.currentX-x.touches.startX:x.touches.currentY-x.touches.startY;r*=x.params.touchRatio,x.rtl&&(r=-r),x.swipeDirection=r>0?"prev":"next",P=r+E;var i=!0;if(r>0&&P>x.minTranslate()?(i=!1,x.params.resistance&&(P=x.minTranslate()-1+Math.pow(-x.minTranslate()+E+r,x.params.resistanceRatio))):r<0&&P<x.maxTranslate()&&(i=!1,x.params.resistance&&(P=x.maxTranslate()+1-Math.pow(x.maxTranslate()-E-r,x.params.resistanceRatio))),i&&(a.preventedByNestedSwiper=!0),!x.params.allowSwipeToNext&&"next"===x.swipeDirection&&P<E&&(P=E),!x.params.allowSwipeToPrev&&"prev"===x.swipeDirection&&P>E&&(P=E),x.params.threshold>0){if(!(Math.abs(r)>x.params.threshold||I))return void(P=E);if(!I)return I=!0,x.touches.startX=x.touches.currentX,x.touches.startY=x.touches.currentY,P=E,void(x.touches.diff=x.isHorizontal()?x.touches.currentX-x.touches.startX:x.touches.currentY-x.touches.startY)}x.params.followFinger&&((x.params.freeMode||x.params.watchSlidesProgress)&&x.updateActiveIndex(),x.params.freeMode&&(0===H.length&&H.push({position:x.touches[x.isHorizontal()?"startX":"startY"],time:z}),H.push({position:x.touches[x.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),x.updateProgress(P),x.setWrapperTranslate(P))}}}}},x.onTouchEnd=function(a){if(a.originalEvent&&(a=a.originalEvent),S&&x.emit("onTouchEnd",x,a),S=!1,b){x.params.grabCursor&&C&&b&&(x.params.allowSwipeToNext===!0||x.params.allowSwipeToPrev===!0)&&x.setGrabCursor(!1);var t=Date.now(),s=t-z;if(x.allowClick&&(x.updateClickedSlide(a),x.emit("onTap",x,a),s<300&&t-B>300&&(k&&clearTimeout(k),k=setTimeout(function(){x&&(x.params.paginationHide&&x.paginationContainer.length>0&&!e(a.target).hasClass(x.params.bulletClass)&&x.paginationContainer.toggleClass(x.params.paginationHiddenClass),x.emit("onClick",x,a))},300)),s<300&&t-B<300&&(k&&clearTimeout(k),x.emit("onDoubleTap",x,a))),B=Date.now(),setTimeout(function(){x&&(x.allowClick=!0)},0),!b||!C||!x.swipeDirection||0===x.touches.diff||P===E)return void(b=C=!1);b=C=!1;var r;if(r=x.params.followFinger?x.rtl?x.translate:-x.translate:-P,x.params.freeMode){if(r<-x.minTranslate())return void x.slideTo(x.activeIndex);if(r>-x.maxTranslate())return void(x.slides.length<x.snapGrid.length?x.slideTo(x.snapGrid.length-1):x.slideTo(x.slides.length-1));if(x.params.freeModeMomentum){if(H.length>1){var i=H.pop(),n=H.pop(),o=i.position-n.position,l=i.time-n.time;x.velocity=o/l,x.velocity=x.velocity/2,Math.abs(x.velocity)<x.params.freeModeMinimumVelocity&&(x.velocity=0),(l>150||(new window.Date).getTime()-i.time>300)&&(x.velocity=0)}else x.velocity=0;x.velocity=x.velocity*x.params.freeModeMomentumVelocityRatio,H.length=0;var p=1e3*x.params.freeModeMomentumRatio,d=x.velocity*p,m=x.translate+d;x.rtl&&(m=-m);var u,c=!1,g=20*Math.abs(x.velocity)*x.params.freeModeMomentumBounceRatio;if(m<x.maxTranslate())x.params.freeModeMomentumBounce?(m+x.maxTranslate()<-g&&(m=x.maxTranslate()-g),u=x.maxTranslate(),c=!0,D=!0):m=x.maxTranslate();else if(m>x.minTranslate())x.params.freeModeMomentumBounce?(m-x.minTranslate()>g&&(m=x.minTranslate()+g),u=x.minTranslate(),c=!0,D=!0):m=x.minTranslate();else if(x.params.freeModeSticky){var h,v=0;for(v=0;v<x.snapGrid.length;v+=1)if(x.snapGrid[v]>-m){h=v;break}m=Math.abs(x.snapGrid[h]-m)<Math.abs(x.snapGrid[h-1]-m)||"next"===x.swipeDirection?x.snapGrid[h]:x.snapGrid[h-1],x.rtl||(m=-m)}if(0!==x.velocity)p=x.rtl?Math.abs((-m-x.translate)/x.velocity):Math.abs((m-x.translate)/x.velocity);else if(x.params.freeModeSticky)return void x.slideReset();x.params.freeModeMomentumBounce&&c?(x.updateProgress(u),x.setWrapperTransition(p),x.setWrapperTranslate(m),x.onTransitionStart(),x.animating=!0,x.wrapper.transitionEnd(function(){x&&D&&(x.emit("onMomentumBounce",x),x.setWrapperTransition(x.params.speed),x.setWrapperTranslate(u),x.wrapper.transitionEnd(function(){x&&x.onTransitionEnd()}))})):x.velocity?(x.updateProgress(m),x.setWrapperTransition(p),x.setWrapperTranslate(m),x.onTransitionStart(),x.animating||(x.animating=!0,x.wrapper.transitionEnd(function(){x&&x.onTransitionEnd()}))):x.updateProgress(m),x.updateActiveIndex()}return void((!x.params.freeModeMomentum||s>=x.params.longSwipesMs)&&(x.updateProgress(),x.updateActiveIndex()))}var f,w=0,y=x.slidesSizesGrid[0];for(f=0;f<x.slidesGrid.length;f+=x.params.slidesPerGroup)void 0!==x.slidesGrid[f+x.params.slidesPerGroup]?r>=x.slidesGrid[f]&&r<x.slidesGrid[f+x.params.slidesPerGroup]&&(w=f,y=x.slidesGrid[f+x.params.slidesPerGroup]-x.slidesGrid[f]):r>=x.slidesGrid[f]&&(w=f,y=x.slidesGrid[x.slidesGrid.length-1]-x.slidesGrid[x.slidesGrid.length-2]);var T=(r-x.slidesGrid[w])/y;if(s>x.params.longSwipesMs){if(!x.params.longSwipes)return void x.slideTo(x.activeIndex);"next"===x.swipeDirection&&(T>=x.params.longSwipesRatio?x.slideTo(w+x.params.slidesPerGroup):x.slideTo(w)),"prev"===x.swipeDirection&&(T>1-x.params.longSwipesRatio?x.slideTo(w+x.params.slidesPerGroup):x.slideTo(w))}else{if(!x.params.shortSwipes)return void x.slideTo(x.activeIndex);"next"===x.swipeDirection&&x.slideTo(w+x.params.slidesPerGroup),"prev"===x.swipeDirection&&x.slideTo(w)}}},x._slideTo=function(e,a){return x.slideTo(e,a,!0,!0)},x.slideTo=function(e,a,t,s){void 0===t&&(t=!0),void 0===e&&(e=0),e<0&&(e=0),x.snapIndex=Math.floor(e/x.params.slidesPerGroup),x.snapIndex>=x.snapGrid.length&&(x.snapIndex=x.snapGrid.length-1);var r=-x.snapGrid[x.snapIndex];if(x.params.autoplay&&x.autoplaying&&(s||!x.params.autoplayDisableOnInteraction?x.pauseAutoplay(a):x.stopAutoplay()),x.updateProgress(r),x.params.normalizeSlideIndex)for(var i=0;i<x.slidesGrid.length;i++)-Math.floor(100*r)>=Math.floor(100*x.slidesGrid[i])&&(e=i);return!(!x.params.allowSwipeToNext&&r<x.translate&&r<x.minTranslate())&&(!(!x.params.allowSwipeToPrev&&r>x.translate&&r>x.maxTranslate()&&(x.activeIndex||0)!==e)&&(void 0===a&&(a=x.params.speed),x.previousIndex=x.activeIndex||0,x.activeIndex=e,x.updateRealIndex(),x.rtl&&-r===x.translate||!x.rtl&&r===x.translate?(x.params.autoHeight&&x.updateAutoHeight(),x.updateClasses(),"slide"!==x.params.effect&&x.setWrapperTranslate(r),!1):(x.updateClasses(),x.onTransitionStart(t),0===a||x.browser.lteIE9?(x.setWrapperTranslate(r),x.setWrapperTransition(0),x.onTransitionEnd(t)):(x.setWrapperTranslate(r),x.setWrapperTransition(a),x.animating||(x.animating=!0,x.wrapper.transitionEnd(function(){x&&x.onTransitionEnd(t)}))),!0)))},x.onTransitionStart=function(e){void 0===e&&(e=!0),x.params.autoHeight&&x.updateAutoHeight(),x.lazy&&x.lazy.onTransitionStart(),e&&(x.emit("onTransitionStart",x),x.activeIndex!==x.previousIndex&&(x.emit("onSlideChangeStart",x),x.activeIndex>x.previousIndex?x.emit("onSlideNextStart",x):x.emit("onSlidePrevStart",x)))},x.onTransitionEnd=function(e){x.animating=!1,x.setWrapperTransition(0),void 0===e&&(e=!0),x.lazy&&x.lazy.onTransitionEnd(),e&&(x.emit("onTransitionEnd",x),x.activeIndex!==x.previousIndex&&(x.emit("onSlideChangeEnd",x),x.activeIndex>x.previousIndex?x.emit("onSlideNextEnd",x):x.emit("onSlidePrevEnd",x))),x.params.history&&x.history&&x.history.setHistory(x.params.history,x.activeIndex),x.params.hashnav&&x.hashnav&&x.hashnav.setHash()},x.slideNext=function(e,a,t){if(x.params.loop){if(x.animating)return!1;x.fixLoop();x.container[0].clientLeft;return x.slideTo(x.activeIndex+x.params.slidesPerGroup,a,e,t)}return x.slideTo(x.activeIndex+x.params.slidesPerGroup,a,e,t)},x._slideNext=function(e){return x.slideNext(!0,e,!0)},x.slidePrev=function(e,a,t){if(x.params.loop){if(x.animating)return!1;x.fixLoop();x.container[0].clientLeft;return x.slideTo(x.activeIndex-1,a,e,t)}return x.slideTo(x.activeIndex-1,a,e,t)},x._slidePrev=function(e){return x.slidePrev(!0,e,!0)},x.slideReset=function(e,a,t){return x.slideTo(x.activeIndex,a,e)},x.disableTouchControl=function(){return x.params.onlyExternal=!0,!0},x.enableTouchControl=function(){return x.params.onlyExternal=!1,!0},x.setWrapperTransition=function(e,a){x.wrapper.transition(e),"slide"!==x.params.effect&&x.effects[x.params.effect]&&x.effects[x.params.effect].setTransition(e),x.params.parallax&&x.parallax&&x.parallax.setTransition(e),x.params.scrollbar&&x.scrollbar&&x.scrollbar.setTransition(e),x.params.control&&x.controller&&x.controller.setTransition(e,a),x.emit("onSetTransition",x,e)},x.setWrapperTranslate=function(e,a,t){var s=0,i=0;x.isHorizontal()?s=x.rtl?-e:e:i=e,x.params.roundLengths&&(s=r(s),i=r(i)),x.params.virtualTranslate||(x.support.transforms3d?x.wrapper.transform("translate3d("+s+"px, "+i+"px, 0px)"):x.wrapper.transform("translate("+s+"px, "+i+"px)")),x.translate=x.isHorizontal()?s:i;var n,o=x.maxTranslate()-x.minTranslate();n=0===o?0:(e-x.minTranslate())/o,n!==x.progress&&x.updateProgress(e),a&&x.updateActiveIndex(),"slide"!==x.params.effect&&x.effects[x.params.effect]&&x.effects[x.params.effect].setTranslate(x.translate),x.params.parallax&&x.parallax&&x.parallax.setTranslate(x.translate),x.params.scrollbar&&x.scrollbar&&x.scrollbar.setTranslate(x.translate),x.params.control&&x.controller&&x.controller.setTranslate(x.translate,t),x.emit("onSetTranslate",x,x.translate)},x.getTranslate=function(e,a){var t,s,r,i;return void 0===a&&(a="x"),x.params.virtualTranslate?x.rtl?-x.translate:x.translate:(r=window.getComputedStyle(e,null),window.WebKitCSSMatrix?(s=r.transform||r.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),i=new window.WebKitCSSMatrix("none"===s?"":s)):(i=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=i.toString().split(",")),"x"===a&&(s=window.WebKitCSSMatrix?i.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===a&&(s=window.WebKitCSSMatrix?i.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),x.rtl&&s&&(s=-s),s||0)},x.getWrapperTranslate=function(e){return void 0===e&&(e=x.isHorizontal()?"x":"y"),x.getTranslate(x.wrapper[0],e)},x.observers=[],x.initObservers=function(){if(x.params.observeParents)for(var e=x.container.parents(),a=0;a<e.length;a++)o(e[a]);o(x.container[0],{childList:!1}),o(x.wrapper[0],{attributes:!1})},x.disconnectObservers=function(){for(var e=0;e<x.observers.length;e++)x.observers[e].disconnect();x.observers=[]},x.createLoop=function(){x.wrapper.children("."+x.params.slideClass+"."+x.params.slideDuplicateClass).remove();var a=x.wrapper.children("."+x.params.slideClass);"auto"!==x.params.slidesPerView||x.params.loopedSlides||(x.params.loopedSlides=a.length),x.loopedSlides=parseInt(x.params.loopedSlides||x.params.slidesPerView,10),x.loopedSlides=x.loopedSlides+x.params.loopAdditionalSlides,x.loopedSlides>a.length&&(x.loopedSlides=a.length);var t,s=[],r=[];for(a.each(function(t,i){var n=e(this);t<x.loopedSlides&&r.push(i),t<a.length&&t>=a.length-x.loopedSlides&&s.push(i),n.attr("data-swiper-slide-index",t)}),t=0;t<r.length;t++)x.wrapper.append(e(r[t].cloneNode(!0)).addClass(x.params.slideDuplicateClass));for(t=s.length-1;t>=0;t--)x.wrapper.prepend(e(s[t].cloneNode(!0)).addClass(x.params.slideDuplicateClass))},x.destroyLoop=function(){x.wrapper.children("."+x.params.slideClass+"."+x.params.slideDuplicateClass).remove(),x.slides.removeAttr("data-swiper-slide-index")},x.reLoop=function(e){var a=x.activeIndex-x.loopedSlides;x.destroyLoop(),x.createLoop(),x.updateSlidesSize(),e&&x.slideTo(a+x.loopedSlides,0,!1)},x.fixLoop=function(){var e;x.activeIndex<x.loopedSlides?(e=x.slides.length-3*x.loopedSlides+x.activeIndex,e+=x.loopedSlides,x.slideTo(e,0,!1,!0)):("auto"===x.params.slidesPerView&&x.activeIndex>=2*x.loopedSlides||x.activeIndex>x.slides.length-2*x.params.slidesPerView)&&(e=-x.slides.length+x.activeIndex+x.loopedSlides,e+=x.loopedSlides,x.slideTo(e,0,!1,!0))},x.appendSlide=function(e){if(x.params.loop&&x.destroyLoop(),"object"==typeof e&&e.length)for(var a=0;a<e.length;a++)e[a]&&x.wrapper.append(e[a]);else x.wrapper.append(e);x.params.loop&&x.createLoop(),x.params.observer&&x.support.observer||x.update(!0)},x.prependSlide=function(e){x.params.loop&&x.destroyLoop();var a=x.activeIndex+1;if("object"==typeof e&&e.length){for(var t=0;t<e.length;t++)e[t]&&x.wrapper.prepend(e[t]);a=x.activeIndex+e.length}else x.wrapper.prepend(e);x.params.loop&&x.createLoop(),x.params.observer&&x.support.observer||x.update(!0),x.slideTo(a,0,!1)},x.removeSlide=function(e){x.params.loop&&(x.destroyLoop(),x.slides=x.wrapper.children("."+x.params.slideClass));var a,t=x.activeIndex;if("object"==typeof e&&e.length){for(var s=0;s<e.length;s++)a=e[s],x.slides[a]&&x.slides.eq(a).remove(),a<t&&t--;t=Math.max(t,0)}else a=e,x.slides[a]&&x.slides.eq(a).remove(),a<t&&t--,t=Math.max(t,0);x.params.loop&&x.createLoop(),x.params.observer&&x.support.observer||x.update(!0),x.params.loop?x.slideTo(t+x.loopedSlides,0,!1):x.slideTo(t,0,!1)},x.removeAllSlides=function(){for(var e=[],a=0;a<x.slides.length;a++)e.push(a);x.removeSlide(e)},x.effects={fade:{setTranslate:function(){for(var e=0;e<x.slides.length;e++){var a=x.slides.eq(e),t=a[0].swiperSlideOffset,s=-t;x.params.virtualTranslate||(s-=x.translate);var r=0;x.isHorizontal()||(r=s,s=0);var i=x.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:i}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){if(x.slides.transition(e),x.params.virtualTranslate&&0!==e){var a=!1;x.slides.transitionEnd(function(){if(!a&&x){a=!0,x.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],t=0;t<e.length;t++)x.wrapper.trigger(e[t])}})}}},flip:{setTranslate:function(){for(var a=0;a<x.slides.length;a++){var t=x.slides.eq(a),s=t[0].progress;x.params.flip.limitRotation&&(s=Math.max(Math.min(t[0].progress,1),-1));var r=t[0].swiperSlideOffset,i=-180*s,n=i,o=0,l=-r,p=0;if(x.isHorizontal()?x.rtl&&(n=-n):(p=l,l=0,o=-n,n=0),t[0].style.zIndex=-Math.abs(Math.round(s))+x.slides.length,x.params.flip.slideShadows){var d=x.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),m=x.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===d.length&&(d=e('<div class="swiper-slide-shadow-'+(x.isHorizontal()?"left":"top")+'"></div>'),t.append(d)),0===m.length&&(m=e('<div class="swiper-slide-shadow-'+(x.isHorizontal()?"right":"bottom")+'"></div>'),t.append(m)),d.length&&(d[0].style.opacity=Math.max(-s,0)),m.length&&(m[0].style.opacity=Math.max(s,0))}t.transform("translate3d("+l+"px, "+p+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(a){if(x.slides.transition(a).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(a),x.params.virtualTranslate&&0!==a){var t=!1;x.slides.eq(x.activeIndex).transitionEnd(function(){if(!t&&x&&e(this).hasClass(x.params.slideActiveClass)){t=!0,x.animating=!1;for(var a=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],s=0;s<a.length;s++)x.wrapper.trigger(a[s])}})}}},cube:{setTranslate:function(){var a,t=0;x.params.cube.shadow&&(x.isHorizontal()?(a=x.wrapper.find(".swiper-cube-shadow"),0===a.length&&(a=e('<div class="swiper-cube-shadow"></div>'),x.wrapper.append(a)),a.css({height:x.width+"px"})):(a=x.container.find(".swiper-cube-shadow"),0===a.length&&(a=e('<div class="swiper-cube-shadow"></div>'),x.container.append(a))));for(var s=0;s<x.slides.length;s++){var r=x.slides.eq(s),i=90*s,n=Math.floor(i/360);x.rtl&&(i=-i,n=Math.floor(-i/360));var o=Math.max(Math.min(r[0].progress,1),-1),l=0,p=0,d=0;s%4==0?(l=4*-n*x.size,d=0):(s-1)%4==0?(l=0,d=4*-n*x.size):(s-2)%4==0?(l=x.size+4*n*x.size,d=x.size):(s-3)%4==0&&(l=-x.size,d=3*x.size+4*x.size*n),x.rtl&&(l=-l),x.isHorizontal()||(p=l,l=0);var m="rotateX("+(x.isHorizontal()?0:-i)+"deg) rotateY("+(x.isHorizontal()?i:0)+"deg) translate3d("+l+"px, "+p+"px, "+d+"px)";if(o<=1&&o>-1&&(t=90*s+90*o,x.rtl&&(t=90*-s-90*o)),r.transform(m),x.params.cube.slideShadows){var u=x.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),c=x.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===u.length&&(u=e('<div class="swiper-slide-shadow-'+(x.isHorizontal()?"left":"top")+'"></div>'),r.append(u)),0===c.length&&(c=e('<div class="swiper-slide-shadow-'+(x.isHorizontal()?"right":"bottom")+'"></div>'),r.append(c)),u.length&&(u[0].style.opacity=Math.max(-o,0)),c.length&&(c[0].style.opacity=Math.max(o,0))}}if(x.wrapper.css({"-webkit-transform-origin":"50% 50% -"+x.size/2+"px","-moz-transform-origin":"50% 50% -"+x.size/2+"px","-ms-transform-origin":"50% 50% -"+x.size/2+"px","transform-origin":"50% 50% -"+x.size/2+"px"}),x.params.cube.shadow)if(x.isHorizontal())a.transform("translate3d(0px, "+(x.width/2+x.params.cube.shadowOffset)+"px, "+-x.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+x.params.cube.shadowScale+")");else{var g=Math.abs(t)-90*Math.floor(Math.abs(t)/90),h=1.5-(Math.sin(2*g*Math.PI/360)/2+Math.cos(2*g*Math.PI/360)/2),v=x.params.cube.shadowScale,f=x.params.cube.shadowScale/h,w=x.params.cube.shadowOffset;a.transform("scale3d("+v+", 1, "+f+") translate3d(0px, "+(x.height/2+w)+"px, "+-x.height/2/f+"px) rotateX(-90deg)")}var y=x.isSafari||x.isUiWebView?-x.size/2:0;x.wrapper.transform("translate3d(0px,0,"+y+"px) rotateX("+(x.isHorizontal()?0:t)+"deg) rotateY("+(x.isHorizontal()?-t:0)+"deg)")},setTransition:function(e){x.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),x.params.cube.shadow&&!x.isHorizontal()&&x.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var a=x.translate,t=x.isHorizontal()?-a+x.width/2:-a+x.height/2,s=x.isHorizontal()?x.params.coverflow.rotate:-x.params.coverflow.rotate,r=x.params.coverflow.depth,i=0,n=x.slides.length;i<n;i++){var o=x.slides.eq(i),l=x.slidesSizesGrid[i],p=o[0].swiperSlideOffset,d=(t-p-l/2)/l*x.params.coverflow.modifier,m=x.isHorizontal()?s*d:0,u=x.isHorizontal()?0:s*d,c=-r*Math.abs(d),g=x.isHorizontal()?0:x.params.coverflow.stretch*d,h=x.isHorizontal()?x.params.coverflow.stretch*d:0;Math.abs(h)<.001&&(h=0),Math.abs(g)<.001&&(g=0),Math.abs(c)<.001&&(c=0),Math.abs(m)<.001&&(m=0),Math.abs(u)<.001&&(u=0);var v="translate3d("+h+"px,"+g+"px,"+c+"px) rotateX("+u+"deg) rotateY("+m+"deg)";if(o.transform(v),o[0].style.zIndex=1-Math.abs(Math.round(d)),x.params.coverflow.slideShadows){var f=x.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),w=x.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom");0===f.length&&(f=e('<div class="swiper-slide-shadow-'+(x.isHorizontal()?"left":"top")+'"></div>'),o.append(f)),0===w.length&&(w=e('<div class="swiper-slide-shadow-'+(x.isHorizontal()?"right":"bottom")+'"></div>'),o.append(w)),f.length&&(f[0].style.opacity=d>0?d:0),w.length&&(w[0].style.opacity=-d>0?-d:0)}}if(x.browser.ie){x.wrapper[0].style.perspectiveOrigin=t+"px 50%"}},setTransition:function(e){x.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},x.lazy={initialImageLoaded:!1,loadImageInSlide:function(a,t){if(void 0!==a&&(void 0===t&&(t=!0),0!==x.slides.length)){var s=x.slides.eq(a),r=s.find("."+x.params.lazyLoadingClass+":not(."+x.params.lazyStatusLoadedClass+"):not(."+x.params.lazyStatusLoadingClass+")");!s.hasClass(x.params.lazyLoadingClass)||s.hasClass(x.params.lazyStatusLoadedClass)||s.hasClass(x.params.lazyStatusLoadingClass)||(r=r.add(s[0])),0!==r.length&&r.each(function(){var a=e(this);a.addClass(x.params.lazyStatusLoadingClass);var r=a.attr("data-background"),i=a.attr("data-src"),n=a.attr("data-srcset"),o=a.attr("data-sizes");x.loadImage(a[0],i||r,n,o,!1,function(){if(void 0!==x&&null!==x&&x){if(r?(a.css("background-image",'url("'+r+'")'),a.removeAttr("data-background")):(n&&(a.attr("srcset",n),a.removeAttr("data-srcset")),o&&(a.attr("sizes",o),a.removeAttr("data-sizes")),i&&(a.attr("src",i),a.removeAttr("data-src"))),a.addClass(x.params.lazyStatusLoadedClass).removeClass(x.params.lazyStatusLoadingClass),s.find("."+x.params.lazyPreloaderClass+", ."+x.params.preloaderClass).remove(),x.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(x.params.slideDuplicateClass)){var l=x.wrapper.children('[data-swiper-slide-index="'+e+'"]:not(.'+x.params.slideDuplicateClass+")");x.lazy.loadImageInSlide(l.index(),!1)}else{var p=x.wrapper.children("."+x.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');x.lazy.loadImageInSlide(p.index(),!1)}}x.emit("onLazyImageReady",x,s[0],a[0])}}),x.emit("onLazyImageLoad",x,s[0],a[0])})}},load:function(){var a,t=x.params.slidesPerView;if("auto"===t&&(t=0),x.lazy.initialImageLoaded||(x.lazy.initialImageLoaded=!0),x.params.watchSlidesVisibility)x.wrapper.children("."+x.params.slideVisibleClass).each(function(){x.lazy.loadImageInSlide(e(this).index())});else if(t>1)for(a=x.activeIndex;a<x.activeIndex+t;a++)x.slides[a]&&x.lazy.loadImageInSlide(a);else x.lazy.loadImageInSlide(x.activeIndex);if(x.params.lazyLoadingInPrevNext)if(t>1||x.params.lazyLoadingInPrevNextAmount&&x.params.lazyLoadingInPrevNextAmount>1){var s=x.params.lazyLoadingInPrevNextAmount,r=t,i=Math.min(x.activeIndex+r+Math.max(s,r),x.slides.length),n=Math.max(x.activeIndex-Math.max(r,s),0);for(a=x.activeIndex+t;a<i;a++)x.slides[a]&&x.lazy.loadImageInSlide(a);for(a=n;a<x.activeIndex;a++)x.slides[a]&&x.lazy.loadImageInSlide(a)}else{var o=x.wrapper.children("."+x.params.slideNextClass);o.length>0&&x.lazy.loadImageInSlide(o.index());var l=x.wrapper.children("."+x.params.slidePrevClass);l.length>0&&x.lazy.loadImageInSlide(l.index())}},onTransitionStart:function(){x.params.lazyLoading&&(x.params.lazyLoadingOnTransitionStart||!x.params.lazyLoadingOnTransitionStart&&!x.lazy.initialImageLoaded)&&x.lazy.load()},onTransitionEnd:function(){x.params.lazyLoading&&!x.params.lazyLoadingOnTransitionStart&&x.lazy.load()}},x.scrollbar={isTouched:!1,setDragPosition:function(e){var a=x.scrollbar,t=x.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY,s=t-a.track.offset()[x.isHorizontal()?"left":"top"]-a.dragSize/2,r=-x.minTranslate()*a.moveDivider,i=-x.maxTranslate()*a.moveDivider;s<r?s=r:s>i&&(s=i),s=-s/a.moveDivider,x.updateProgress(s),x.setWrapperTranslate(s,!0)},dragStart:function(e){var a=x.scrollbar;a.isTouched=!0,e.preventDefault(),e.stopPropagation(),a.setDragPosition(e),clearTimeout(a.dragTimeout),a.track.transition(0),x.params.scrollbarHide&&a.track.css("opacity",1),x.wrapper.transition(100),a.drag.transition(100),x.emit("onScrollbarDragStart",x)},dragMove:function(e){var a=x.scrollbar;a.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),x.wrapper.transition(0),a.track.transition(0),a.drag.transition(0),x.emit("onScrollbarDragMove",x))},dragEnd:function(e){var a=x.scrollbar;a.isTouched&&(a.isTouched=!1,x.params.scrollbarHide&&(clearTimeout(a.dragTimeout),a.dragTimeout=setTimeout(function(){a.track.css("opacity",0),a.track.transition(400)},1e3)),x.emit("onScrollbarDragEnd",x),x.params.scrollbarSnapOnRelease&&x.slideReset())},draggableEvents:function(){return x.params.simulateTouch!==!1||x.support.touch?x.touchEvents:x.touchEventsDesktop}(),enableDraggable:function(){var a=x.scrollbar,t=x.support.touch?a.track:document;e(a.track).on(a.draggableEvents.start,a.dragStart),e(t).on(a.draggableEvents.move,a.dragMove),e(t).on(a.draggableEvents.end,a.dragEnd)},disableDraggable:function(){var a=x.scrollbar,t=x.support.touch?a.track:document;e(a.track).off(a.draggableEvents.start,a.dragStart),e(t).off(a.draggableEvents.move,a.dragMove),e(t).off(a.draggableEvents.end,a.dragEnd)},set:function(){if(x.params.scrollbar){var a=x.scrollbar;a.track=e(x.params.scrollbar),x.params.uniqueNavElements&&"string"==typeof x.params.scrollbar&&a.track.length>1&&1===x.container.find(x.params.scrollbar).length&&(a.track=x.container.find(x.params.scrollbar)),a.drag=a.track.find(".swiper-scrollbar-drag"),0===a.drag.length&&(a.drag=e('<div class="swiper-scrollbar-drag"></div>'),a.track.append(a.drag)),a.drag[0].style.width="",a.drag[0].style.height="",a.trackSize=x.isHorizontal()?a.track[0].offsetWidth:a.track[0].offsetHeight,a.divider=x.size/x.virtualSize,a.moveDivider=a.divider*(a.trackSize/x.size),a.dragSize=a.trackSize*a.divider,x.isHorizontal()?a.drag[0].style.width=a.dragSize+"px":a.drag[0].style.height=a.dragSize+"px",a.divider>=1?a.track[0].style.display="none":a.track[0].style.display="",x.params.scrollbarHide&&(a.track[0].style.opacity=0)}},setTranslate:function(){if(x.params.scrollbar){var e,a=x.scrollbar,t=(x.translate,a.dragSize);e=(a.trackSize-a.dragSize)*x.progress,x.rtl&&x.isHorizontal()?(e=-e,e>0?(t=a.dragSize-e,e=0):-e+a.dragSize>a.trackSize&&(t=a.trackSize+e)):e<0?(t=a.dragSize+e,e=0):e+a.dragSize>a.trackSize&&(t=a.trackSize-e),x.isHorizontal()?(x.support.transforms3d?a.drag.transform("translate3d("+e+"px, 0, 0)"):a.drag.transform("translateX("+e+"px)"),a.drag[0].style.width=t+"px"):(x.support.transforms3d?a.drag.transform("translate3d(0px, "+e+"px, 0)"):a.drag.transform("translateY("+e+"px)"),a.drag[0].style.height=t+"px"),x.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){x.params.scrollbar&&x.scrollbar.drag.transition(e)}},x.controller={LinearSpline:function(e,a){var t=function(){var e,a,t;return function(s,r){for(a=-1,e=s.length;e-a>1;)s[t=e+a>>1]<=r?a=t:e=t;return e}}();this.x=e,this.y=a,this.lastIndex=e.length-1;var s,r;this.x.length;this.interpolate=function(e){return e?(r=t(this.x,e),s=r-1,(e-this.x[s])*(this.y[r]-this.y[s])/(this.x[r]-this.x[s])+this.y[s]):0}},getInterpolateFunction:function(e){x.controller.spline||(x.controller.spline=x.params.loop?new x.controller.LinearSpline(x.slidesGrid,e.slidesGrid):new x.controller.LinearSpline(x.snapGrid,e.snapGrid))},setTranslate:function(e,t){function s(a){e=a.rtl&&"horizontal"===a.params.direction?-x.translate:x.translate,"slide"===x.params.controlBy&&(x.controller.getInterpolateFunction(a),i=-x.controller.spline.interpolate(-e)),i&&"container"!==x.params.controlBy||(r=(a.maxTranslate()-a.minTranslate())/(x.maxTranslate()-x.minTranslate()),i=(e-x.minTranslate())*r+a.minTranslate()),x.params.controlInverse&&(i=a.maxTranslate()-i),a.updateProgress(i),a.setWrapperTranslate(i,!1,x),a.updateActiveIndex()}var r,i,n=x.params.control;if(Array.isArray(n))for(var o=0;o<n.length;o++)n[o]!==t&&n[o]instanceof a&&s(n[o]);else n instanceof a&&t!==n&&s(n)},setTransition:function(e,t){function s(a){a.setWrapperTransition(e,x),0!==e&&(a.onTransitionStart(),a.wrapper.transitionEnd(function(){i&&(a.params.loop&&"slide"===x.params.controlBy&&a.fixLoop(),a.onTransitionEnd())}))}var r,i=x.params.control;if(Array.isArray(i))for(r=0;r<i.length;r++)i[r]!==t&&i[r]instanceof a&&s(i[r]);else i instanceof a&&t!==i&&s(i)}},x.hashnav={onHashCange:function(e,a){var t=document.location.hash.replace("#","");t!==x.slides.eq(x.activeIndex).attr("data-hash")&&x.slideTo(x.wrapper.children("."+x.params.slideClass+'[data-hash="'+t+'"]').index())},attachEvents:function(a){var t=a?"off":"on";e(window)[t]("hashchange",x.hashnav.onHashCange)},setHash:function(){
  17 +if(x.hashnav.initialized&&x.params.hashnav)if(x.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+x.slides.eq(x.activeIndex).attr("data-hash")||"");else{var e=x.slides.eq(x.activeIndex),a=e.attr("data-hash")||e.attr("data-history");document.location.hash=a||""}},init:function(){if(x.params.hashnav&&!x.params.history){x.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e)for(var a=0,t=x.slides.length;a<t;a++){var s=x.slides.eq(a),r=s.attr("data-hash")||s.attr("data-history");if(r===e&&!s.hasClass(x.params.slideDuplicateClass)){var i=s.index();x.slideTo(i,0,x.params.runCallbacksOnInit,!0)}}x.params.hashnavWatchState&&x.hashnav.attachEvents()}},destroy:function(){x.params.hashnavWatchState&&x.hashnav.attachEvents(!0)}},x.history={init:function(){if(x.params.history){if(!window.history||!window.history.pushState)return x.params.history=!1,void(x.params.hashnav=!0);x.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,x.params.runCallbacksOnInit),x.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){x.history.paths=x.history.getPathValues(),x.history.scrollToSlide(x.params.speed,x.history.paths.value,!1)},getPathValues:function(){var e=window.location.pathname.slice(1).split("/"),a=e.length;return{key:e[a-2],value:e[a-1]}},setHistory:function(e,a){if(x.history.initialized&&x.params.history){var t=x.slides.eq(a),s=this.slugify(t.attr("data-history"));window.location.pathname.includes(e)||(s=e+"/"+s),x.params.replaceState?window.history.replaceState(null,null,s):window.history.pushState(null,null,s)}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,a,t){if(a)for(var s=0,r=x.slides.length;s<r;s++){var i=x.slides.eq(s),n=this.slugify(i.attr("data-history"));if(n===a&&!i.hasClass(x.params.slideDuplicateClass)){var o=i.index();x.slideTo(o,e,t)}}else x.slideTo(0,e,t)}},x.disableKeyboardControl=function(){x.params.keyboardControl=!1,e(document).off("keydown",l)},x.enableKeyboardControl=function(){x.params.keyboardControl=!0,e(document).on("keydown",l)},x.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},x.params.mousewheelControl&&(x.mousewheel.event=navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in document;if(!e){var a=document.createElement("div");a.setAttribute("onwheel","return;"),e="function"==typeof a.onwheel}return!e&&document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0&&(e=document.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"),x.disableMousewheelControl=function(){if(!x.mousewheel.event)return!1;var a=x.container;return"container"!==x.params.mousewheelEventsTarged&&(a=e(x.params.mousewheelEventsTarged)),a.off(x.mousewheel.event,d),x.params.mousewheelControl=!1,!0},x.enableMousewheelControl=function(){if(!x.mousewheel.event)return!1;var a=x.container;return"container"!==x.params.mousewheelEventsTarged&&(a=e(x.params.mousewheelEventsTarged)),a.on(x.mousewheel.event,d),x.params.mousewheelControl=!0,!0},x.parallax={setTranslate:function(){x.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){m(this,x.progress)}),x.slides.each(function(){var a=e(this);a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){m(this,Math.min(Math.max(a[0].progress,-1),1))})})},setTransition:function(a){void 0===a&&(a=x.params.speed),x.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var t=e(this),s=parseInt(t.attr("data-swiper-parallax-duration"),10)||a;0===a&&(s=0),t.transition(s)})}},x.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:x.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var a=e.targetTouches[0].pageX,t=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-a,2)+Math.pow(r-t,2))},onGestureStart:function(a){var t=x.zoom;if(!x.support.gestures){if("touchstart"!==a.type||"touchstart"===a.type&&a.targetTouches.length<2)return;t.gesture.scaleStart=t.getDistanceBetweenTouches(a)}if(!(t.gesture.slide&&t.gesture.slide.length||(t.gesture.slide=e(this),0===t.gesture.slide.length&&(t.gesture.slide=x.slides.eq(x.activeIndex)),t.gesture.image=t.gesture.slide.find("img, svg, canvas"),t.gesture.imageWrap=t.gesture.image.parent("."+x.params.zoomContainerClass),t.gesture.zoomMax=t.gesture.imageWrap.attr("data-swiper-zoom")||x.params.zoomMax,0!==t.gesture.imageWrap.length)))return void(t.gesture.image=void 0);t.gesture.image.transition(0),t.isScaling=!0},onGestureChange:function(e){var a=x.zoom;if(!x.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.gesture.scaleMove=a.getDistanceBetweenTouches(e)}a.gesture.image&&0!==a.gesture.image.length&&(x.support.gestures?a.scale=e.scale*a.currentScale:a.scale=a.gesture.scaleMove/a.gesture.scaleStart*a.currentScale,a.scale>a.gesture.zoomMax&&(a.scale=a.gesture.zoomMax-1+Math.pow(a.scale-a.gesture.zoomMax+1,.5)),a.scale<x.params.zoomMin&&(a.scale=x.params.zoomMin+1-Math.pow(x.params.zoomMin-a.scale+1,.5)),a.gesture.image.transform("translate3d(0,0,0) scale("+a.scale+")"))},onGestureEnd:function(e){var a=x.zoom;!x.support.gestures&&("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2)||a.gesture.image&&0!==a.gesture.image.length&&(a.scale=Math.max(Math.min(a.scale,a.gesture.zoomMax),x.params.zoomMin),a.gesture.image.transition(x.params.speed).transform("translate3d(0,0,0) scale("+a.scale+")"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(a.gesture.slide=void 0))},onTouchStart:function(e,a){var t=e.zoom;t.gesture.image&&0!==t.gesture.image.length&&(t.image.isTouched||("android"===e.device.os&&a.preventDefault(),t.image.isTouched=!0,t.image.touchesStart.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,t.image.touchesStart.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY))},onTouchMove:function(e){var a=x.zoom;if(a.gesture.image&&0!==a.gesture.image.length&&(x.allowClick=!1,a.image.isTouched&&a.gesture.slide)){a.image.isMoved||(a.image.width=a.gesture.image[0].offsetWidth,a.image.height=a.gesture.image[0].offsetHeight,a.image.startX=x.getTranslate(a.gesture.imageWrap[0],"x")||0,a.image.startY=x.getTranslate(a.gesture.imageWrap[0],"y")||0,a.gesture.slideWidth=a.gesture.slide[0].offsetWidth,a.gesture.slideHeight=a.gesture.slide[0].offsetHeight,a.gesture.imageWrap.transition(0),x.rtl&&(a.image.startX=-a.image.startX),x.rtl&&(a.image.startY=-a.image.startY));var t=a.image.width*a.scale,s=a.image.height*a.scale;if(!(t<a.gesture.slideWidth&&s<a.gesture.slideHeight)){if(a.image.minX=Math.min(a.gesture.slideWidth/2-t/2,0),a.image.maxX=-a.image.minX,a.image.minY=Math.min(a.gesture.slideHeight/2-s/2,0),a.image.maxY=-a.image.minY,a.image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,a.image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!a.image.isMoved&&!a.isScaling){if(x.isHorizontal()&&Math.floor(a.image.minX)===Math.floor(a.image.startX)&&a.image.touchesCurrent.x<a.image.touchesStart.x||Math.floor(a.image.maxX)===Math.floor(a.image.startX)&&a.image.touchesCurrent.x>a.image.touchesStart.x)return void(a.image.isTouched=!1);if(!x.isHorizontal()&&Math.floor(a.image.minY)===Math.floor(a.image.startY)&&a.image.touchesCurrent.y<a.image.touchesStart.y||Math.floor(a.image.maxY)===Math.floor(a.image.startY)&&a.image.touchesCurrent.y>a.image.touchesStart.y)return void(a.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),a.image.isMoved=!0,a.image.currentX=a.image.touchesCurrent.x-a.image.touchesStart.x+a.image.startX,a.image.currentY=a.image.touchesCurrent.y-a.image.touchesStart.y+a.image.startY,a.image.currentX<a.image.minX&&(a.image.currentX=a.image.minX+1-Math.pow(a.image.minX-a.image.currentX+1,.8)),a.image.currentX>a.image.maxX&&(a.image.currentX=a.image.maxX-1+Math.pow(a.image.currentX-a.image.maxX+1,.8)),a.image.currentY<a.image.minY&&(a.image.currentY=a.image.minY+1-Math.pow(a.image.minY-a.image.currentY+1,.8)),a.image.currentY>a.image.maxY&&(a.image.currentY=a.image.maxY-1+Math.pow(a.image.currentY-a.image.maxY+1,.8)),a.velocity.prevPositionX||(a.velocity.prevPositionX=a.image.touchesCurrent.x),a.velocity.prevPositionY||(a.velocity.prevPositionY=a.image.touchesCurrent.y),a.velocity.prevTime||(a.velocity.prevTime=Date.now()),a.velocity.x=(a.image.touchesCurrent.x-a.velocity.prevPositionX)/(Date.now()-a.velocity.prevTime)/2,a.velocity.y=(a.image.touchesCurrent.y-a.velocity.prevPositionY)/(Date.now()-a.velocity.prevTime)/2,Math.abs(a.image.touchesCurrent.x-a.velocity.prevPositionX)<2&&(a.velocity.x=0),Math.abs(a.image.touchesCurrent.y-a.velocity.prevPositionY)<2&&(a.velocity.y=0),a.velocity.prevPositionX=a.image.touchesCurrent.x,a.velocity.prevPositionY=a.image.touchesCurrent.y,a.velocity.prevTime=Date.now(),a.gesture.imageWrap.transform("translate3d("+a.image.currentX+"px, "+a.image.currentY+"px,0)")}}},onTouchEnd:function(e,a){var t=e.zoom;if(t.gesture.image&&0!==t.gesture.image.length){if(!t.image.isTouched||!t.image.isMoved)return t.image.isTouched=!1,void(t.image.isMoved=!1);t.image.isTouched=!1,t.image.isMoved=!1;var s=300,r=300,i=t.velocity.x*s,n=t.image.currentX+i,o=t.velocity.y*r,l=t.image.currentY+o;0!==t.velocity.x&&(s=Math.abs((n-t.image.currentX)/t.velocity.x)),0!==t.velocity.y&&(r=Math.abs((l-t.image.currentY)/t.velocity.y));var p=Math.max(s,r);t.image.currentX=n,t.image.currentY=l;var d=t.image.width*t.scale,m=t.image.height*t.scale;t.image.minX=Math.min(t.gesture.slideWidth/2-d/2,0),t.image.maxX=-t.image.minX,t.image.minY=Math.min(t.gesture.slideHeight/2-m/2,0),t.image.maxY=-t.image.minY,t.image.currentX=Math.max(Math.min(t.image.currentX,t.image.maxX),t.image.minX),t.image.currentY=Math.max(Math.min(t.image.currentY,t.image.maxY),t.image.minY),t.gesture.imageWrap.transition(p).transform("translate3d("+t.image.currentX+"px, "+t.image.currentY+"px,0)")}},onTransitionEnd:function(e){var a=e.zoom;a.gesture.slide&&e.previousIndex!==e.activeIndex&&(a.gesture.image.transform("translate3d(0,0,0) scale(1)"),a.gesture.imageWrap.transform("translate3d(0,0,0)"),a.gesture.slide=a.gesture.image=a.gesture.imageWrap=void 0,a.scale=a.currentScale=1)},toggleZoom:function(a,t){var s=a.zoom;if(s.gesture.slide||(s.gesture.slide=a.clickedSlide?e(a.clickedSlide):a.slides.eq(a.activeIndex),s.gesture.image=s.gesture.slide.find("img, svg, canvas"),s.gesture.imageWrap=s.gesture.image.parent("."+a.params.zoomContainerClass)),s.gesture.image&&0!==s.gesture.image.length){var r,i,n,o,l,p,d,m,u,c,g,h,v,f,w,y,x,T;void 0===s.image.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,i="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=s.image.touchesStart.x,i=s.image.touchesStart.y),s.scale&&1!==s.scale?(s.scale=s.currentScale=1,s.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),s.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),s.gesture.slide=void 0):(s.scale=s.currentScale=s.gesture.imageWrap.attr("data-swiper-zoom")||a.params.zoomMax,t?(x=s.gesture.slide[0].offsetWidth,T=s.gesture.slide[0].offsetHeight,n=s.gesture.slide.offset().left,o=s.gesture.slide.offset().top,l=n+x/2-r,p=o+T/2-i,u=s.gesture.image[0].offsetWidth,c=s.gesture.image[0].offsetHeight,g=u*s.scale,h=c*s.scale,v=Math.min(x/2-g/2,0),f=Math.min(T/2-h/2,0),w=-v,y=-f,d=l*s.scale,m=p*s.scale,d<v&&(d=v),d>w&&(d=w),m<f&&(m=f),m>y&&(m=y)):(d=0,m=0),s.gesture.imageWrap.transition(300).transform("translate3d("+d+"px, "+m+"px,0)"),s.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+s.scale+")"))}},attachEvents:function(a){var t=a?"off":"on";if(x.params.zoom){var s=(x.slides,!("touchstart"!==x.touchEvents.start||!x.support.passiveListener||!x.params.passiveListeners)&&{passive:!0,capture:!1});x.support.gestures?(x.slides[t]("gesturestart",x.zoom.onGestureStart,s),x.slides[t]("gesturechange",x.zoom.onGestureChange,s),x.slides[t]("gestureend",x.zoom.onGestureEnd,s)):"touchstart"===x.touchEvents.start&&(x.slides[t](x.touchEvents.start,x.zoom.onGestureStart,s),x.slides[t](x.touchEvents.move,x.zoom.onGestureChange,s),x.slides[t](x.touchEvents.end,x.zoom.onGestureEnd,s)),x[t]("touchStart",x.zoom.onTouchStart),x.slides.each(function(a,s){e(s).find("."+x.params.zoomContainerClass).length>0&&e(s)[t](x.touchEvents.move,x.zoom.onTouchMove)}),x[t]("touchEnd",x.zoom.onTouchEnd),x[t]("transitionEnd",x.zoom.onTransitionEnd),x.params.zoomToggle&&x.on("doubleTap",x.zoom.toggleZoom)}},init:function(){x.zoom.attachEvents()},destroy:function(){x.zoom.attachEvents(!0)}},x._plugins=[];for(var Y in x.plugins){var A=x.plugins[Y](x,x.params[Y]);A&&x._plugins.push(A)}return x.callPlugins=function(e){for(var a=0;a<x._plugins.length;a++)e in x._plugins[a]&&x._plugins[a][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},x.emitterEventListeners={},x.emit=function(e){x.params[e]&&x.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var a;if(x.emitterEventListeners[e])for(a=0;a<x.emitterEventListeners[e].length;a++)x.emitterEventListeners[e][a](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);x.callPlugins&&x.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},x.on=function(e,a){return e=u(e),x.emitterEventListeners[e]||(x.emitterEventListeners[e]=[]),x.emitterEventListeners[e].push(a),x},x.off=function(e,a){var t;if(e=u(e),void 0===a)return x.emitterEventListeners[e]=[],x;if(x.emitterEventListeners[e]&&0!==x.emitterEventListeners[e].length){for(t=0;t<x.emitterEventListeners[e].length;t++)x.emitterEventListeners[e][t]===a&&x.emitterEventListeners[e].splice(t,1);return x}},x.once=function(e,a){e=u(e);var t=function(){a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),x.off(e,t)};return x.on(e,t),x},x.a11y={makeFocusable:function(e){return e.attr("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(a){13===a.keyCode&&(e(a.target).is(x.params.nextButton)?(x.onClickNext(a),x.isEnd?x.a11y.notify(x.params.lastSlideMessage):x.a11y.notify(x.params.nextSlideMessage)):e(a.target).is(x.params.prevButton)&&(x.onClickPrev(a),x.isBeginning?x.a11y.notify(x.params.firstSlideMessage):x.a11y.notify(x.params.prevSlideMessage)),e(a.target).is("."+x.params.bulletClass)&&e(a.target)[0].click())},liveRegion:e('<span class="'+x.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var a=x.a11y.liveRegion;0!==a.length&&(a.html(""),a.html(e))},init:function(){x.params.nextButton&&x.nextButton&&x.nextButton.length>0&&(x.a11y.makeFocusable(x.nextButton),x.a11y.addRole(x.nextButton,"button"),x.a11y.addLabel(x.nextButton,x.params.nextSlideMessage)),x.params.prevButton&&x.prevButton&&x.prevButton.length>0&&(x.a11y.makeFocusable(x.prevButton),x.a11y.addRole(x.prevButton,"button"),x.a11y.addLabel(x.prevButton,x.params.prevSlideMessage)),e(x.container).append(x.a11y.liveRegion)},initPagination:function(){x.params.pagination&&x.params.paginationClickable&&x.bullets&&x.bullets.length&&x.bullets.each(function(){var a=e(this);x.a11y.makeFocusable(a),x.a11y.addRole(a,"button"),x.a11y.addLabel(a,x.params.paginationBulletMessage.replace(/{{index}}/,a.index()+1))})},destroy:function(){x.a11y.liveRegion&&x.a11y.liveRegion.length>0&&x.a11y.liveRegion.remove()}},x.init=function(){x.params.loop&&x.createLoop(),x.updateContainerSize(),x.updateSlidesSize(),x.updatePagination(),x.params.scrollbar&&x.scrollbar&&(x.scrollbar.set(),x.params.scrollbarDraggable&&x.scrollbar.enableDraggable()),"slide"!==x.params.effect&&x.effects[x.params.effect]&&(x.params.loop||x.updateProgress(),x.effects[x.params.effect].setTranslate()),x.params.loop?x.slideTo(x.params.initialSlide+x.loopedSlides,0,x.params.runCallbacksOnInit):(x.slideTo(x.params.initialSlide,0,x.params.runCallbacksOnInit),0===x.params.initialSlide&&(x.parallax&&x.params.parallax&&x.parallax.setTranslate(),x.lazy&&x.params.lazyLoading&&(x.lazy.load(),x.lazy.initialImageLoaded=!0))),x.attachEvents(),x.params.observer&&x.support.observer&&x.initObservers(),x.params.preloadImages&&!x.params.lazyLoading&&x.preloadImages(),x.params.zoom&&x.zoom&&x.zoom.init(),x.params.autoplay&&x.startAutoplay(),x.params.keyboardControl&&x.enableKeyboardControl&&x.enableKeyboardControl(),x.params.mousewheelControl&&x.enableMousewheelControl&&x.enableMousewheelControl(),x.params.hashnavReplaceState&&(x.params.replaceState=x.params.hashnavReplaceState),x.params.history&&x.history&&x.history.init(),x.params.hashnav&&x.hashnav&&x.hashnav.init(),x.params.a11y&&x.a11y&&x.a11y.init(),x.emit("onInit",x)},x.cleanupStyles=function(){x.container.removeClass(x.classNames.join(" ")).removeAttr("style"),x.wrapper.removeAttr("style"),x.slides&&x.slides.length&&x.slides.removeClass([x.params.slideVisibleClass,x.params.slideActiveClass,x.params.slideNextClass,x.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),x.paginationContainer&&x.paginationContainer.length&&x.paginationContainer.removeClass(x.params.paginationHiddenClass),x.bullets&&x.bullets.length&&x.bullets.removeClass(x.params.bulletActiveClass),x.params.prevButton&&e(x.params.prevButton).removeClass(x.params.buttonDisabledClass),x.params.nextButton&&e(x.params.nextButton).removeClass(x.params.buttonDisabledClass),x.params.scrollbar&&x.scrollbar&&(x.scrollbar.track&&x.scrollbar.track.length&&x.scrollbar.track.removeAttr("style"),x.scrollbar.drag&&x.scrollbar.drag.length&&x.scrollbar.drag.removeAttr("style"))},x.destroy=function(e,a){x.detachEvents(),x.stopAutoplay(),x.params.scrollbar&&x.scrollbar&&x.params.scrollbarDraggable&&x.scrollbar.disableDraggable(),x.params.loop&&x.destroyLoop(),a&&x.cleanupStyles(),x.disconnectObservers(),x.params.zoom&&x.zoom&&x.zoom.destroy(),x.params.keyboardControl&&x.disableKeyboardControl&&x.disableKeyboardControl(),x.params.mousewheelControl&&x.disableMousewheelControl&&x.disableMousewheelControl(),x.params.a11y&&x.a11y&&x.a11y.destroy(),x.params.history&&!x.params.replaceState&&window.removeEventListener("popstate",x.history.setHistoryPopState),x.params.hashnav&&x.hashnav&&x.hashnav.destroy(),x.emit("onDestroy"),e!==!1&&(x=null)},x.init(),x}};a.prototype={isSafari:function(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.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,lteIE9:function(){var e=document.createElement("div");return e.innerHTML="<!--[if lte IE 9]><i></i><![endif]-->",1===e.getElementsByTagName("i").length}()},device:function(){var e=window.navigator.userAgent,a=e.match(/(Android);?[\s\/]+([\d.]+)?/),t=e.match(/(iPad).*OS\s([\d_]+)/),s=e.match(/(iPod)(.*OS\s([\d_]+))?/),r=!t&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);return{ios:t||r||s,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}(),passiveListener:function(){var e=!1;try{var a=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveListener",null,a)}catch(e){}return e}(),gestures:function(){return"ongesturestart"in window}()},plugins:{}};for(var t=["jQuery","Zepto","Dom7"],s=0;s<t.length;s++)window[t[s]]&&function(e){e.fn.swiper=function(t){var s;return e(this).each(function(){var e=new a(this,t);s||(s=e)}),s}}(window[t[s]]);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<s.length;t++)r.off(s[t],a)}var t,s=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],r=this;if(e)for(t=0;t<s.length;t++)r.on(s[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}),"outerWidth"in r.fn||(r.fn.outerWidth=function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=a}(),"undefined"!=typeof module?module.exports=window.Swiper:"function"==typeof define&&define.amd&&define([],function(){"use strict";return window.Swiper});
  18 +//# sourceMappingURL=maps/swiper.jquery.min.js.map
@@ -270,72 +270,72 @@ CF.common = { @@ -270,72 +270,72 @@ CF.common = {
270 } 270 }
271 271
272 } 272 }
273 -//首页  
274 -CF.index = {  
275 - //促销产品跑马灯  
276 - carouseProduct: function(obj){  
277 - var obj = $(obj);  
278 - var prevChild = obj.prev();  
279 - var visible = 1;  
280 - var liNums = $('li', obj).length;  
281 - var pageNum = Math.ceil( liNums/visible );  
282 - var pageStr = '';  
283 - prevChild.append('<ul class="jcarouseLiteNav chance"></ul>');  
284 - var jcarouseLiteNav = $('>ul.jcarouseLiteNav', prevChild);  
285 - for(var i = 0; i < pageNum; i++){  
286 - pageStr += '';  
287 - }  
288 - jcarouseLiteNav.prepend('' + pageStr + ' <li class="next"><a id="change"><span class="right">换一批<img src="images/chance_03.jpg"/></span></li>');  
289 - $('>li .1', jcarouseLiteNav).parent().addClass('current'); 273 + //首页
  274 + CF.index = {
  275 + //促销产品跑马灯
  276 + carouseProduct: function(obj){
  277 + var obj = $(obj);
  278 + var prevChild = obj.prev();
  279 + var visible = 1;
  280 + var liNums = $('li', obj).length;
  281 + var pageNum = Math.ceil( liNums/visible );
  282 + var pageStr = '';
  283 + prevChild.append('<ul class="jcarouseLiteNav chance"></ul>');
  284 + var jcarouseLiteNav = $('>ul.jcarouseLiteNav', prevChild);
  285 + for(var i = 0; i < pageNum; i++){
  286 + pageStr += '';
  287 + }
  288 + jcarouseLiteNav.prepend('' + pageStr + ' <li class="next"><a id="change"><span class="right">换一批<img src="images/chance_03.jpg"/></span></li>');
  289 + $('>li .1', jcarouseLiteNav).parent().addClass('current');
290 290
291 - if(liNums <=visible){  
292 - jcarouseLiteNav.hide();  
293 - }  
294 - obj.jCarouselLite({  
295 - btnNext: $('>li.next ', jcarouseLiteNav),  
296 - btnPrev: $('>li.prev a', jcarouseLiteNav),  
297 - visible: visible,  
298 - scroll: visible,  
299 - speed: 1000,  
300 - afterEnd: function(a){  
301 - $('>li.current', jcarouseLiteNav).removeClass('current');  
302 - var currLI = $(a[0]).attr("class").split('order')[1];  
303 - $('>li:eq(' + currLI + ')', jcarouseLiteNav).addClass('current');  
304 - },  
305 - btnGo: $('>li:not([class*=previous]):not([class*=next]) a', jcarouseLiteNav)  
306 - })  
307 - var width = obj.width();  
308 - obj.width( width - 3 );  
309 - },  
310 - //最新卖场和省心生活跑马灯  
311 - carouseOther: function(obj){  
312 - var obj = $(obj);  
313 - var prevChild = obj.prev();  
314 - var pageNum = 3;  
315 - var pageStr = '';  
316 - prevChild.append('<ul class="jcarouseLiteNav"></ul>');  
317 - var jcarouseLiteNav = $('>ul.jcarouseLiteNav', prevChild);  
318 -  
319 - for(var i = 0; i < pageNum; i++){  
320 - pageStr += '<li><a class="' + (i + 1) + '"><span>' + (i + 1) + '</span></a></li>';  
321 - }  
322 - jcarouseLiteNav.prepend('<li class="prev"><a><span>previous</span></a></li>' + pageStr + ' <li class="next"><a><span>next</span></a></li>');  
323 - $('>li .1', jcarouseLiteNav).parent().addClass('current');  
324 - obj.jCarouselLite({  
325 - btnNext: $('>li.next ', jcarouseLiteNav),  
326 - btnPrev: $('>li.prev a', jcarouseLiteNav),  
327 - visible: 1,  
328 - scroll: 1,  
329 - speed: 1000,  
330 - afterEnd: function(a){  
331 - $('>li.current', jcarouseLiteNav).removeClass('current');  
332 - var currLI = $(a[0]).attr("class").split('order')[1];  
333 - $('>li:eq(' + currLI + ')', jcarouseLiteNav).addClass('current');  
334 - },  
335 - btnGo: $('>li:not([class*=previous]):not([class*=next]) a', jcarouseLiteNav)  
336 - })  
337 - }  
338 -} 291 + if(liNums <=visible){
  292 + jcarouseLiteNav.hide();
  293 + }
  294 + obj.jCarouselLite({
  295 + btnNext: $('>li.next ', jcarouseLiteNav),
  296 + btnPrev: $('>li.prev a', jcarouseLiteNav),
  297 + visible: visible,
  298 + scroll: visible,
  299 + speed: 1000,
  300 + afterEnd: function(a){
  301 + $('>li.current', jcarouseLiteNav).removeClass('current');
  302 + var currLI = $(a[0]).attr("class").split('order')[1];
  303 + $('>li:eq(' + currLI + ')', jcarouseLiteNav).addClass('current');
  304 + },
  305 + btnGo: $('>li:not([class*=previous]):not([class*=next]) a', jcarouseLiteNav)
  306 + })
  307 + var width = obj.width();
  308 + obj.width( width - 3 );
  309 + },
  310 + //最新卖场和省心生活跑马灯
  311 + carouseOther: function(obj){
  312 + var obj = $(obj);
  313 + var prevChild = obj.prev();
  314 + var pageNum = 3;
  315 + var pageStr = '';
  316 + prevChild.append('<ul class="jcarouseLiteNav"></ul>');
  317 + var jcarouseLiteNav = $('>ul.jcarouseLiteNav', prevChild);
  318 +
  319 + for(var i = 0; i < pageNum; i++){
  320 + pageStr += '<li><a class="' + (i + 1) + '"><span>' + (i + 1) + '</span></a></li>';
  321 + }
  322 + jcarouseLiteNav.prepend('<li class="prev"><a><span>previous</span></a></li>' + pageStr + ' <li class="next"><a><span>next</span></a></li>');
  323 + $('>li .1', jcarouseLiteNav).parent().addClass('current');
  324 + obj.jCarouselLite({
  325 + btnNext: $('>li.next ', jcarouseLiteNav),
  326 + btnPrev: $('>li.prev a', jcarouseLiteNav),
  327 + visible: 1,
  328 + scroll: 1,
  329 + speed: 1000,
  330 + afterEnd: function(a){
  331 + $('>li.current', jcarouseLiteNav).removeClass('current');
  332 + var currLI = $(a[0]).attr("class").split('order')[1];
  333 + $('>li:eq(' + currLI + ')', jcarouseLiteNav).addClass('current');
  334 + },
  335 + btnGo: $('>li:not([class*=previous]):not([class*=next]) a', jcarouseLiteNav)
  336 + })
  337 + }
  338 + }
339 339
340 CF.other = { 340 CF.other = {
341 picChange: function(obj){ 341 picChange: function(obj){
@@ -17,6 +17,7 @@ @@ -17,6 +17,7 @@
17 } 17 }
18 .mbpart2{ 18 .mbpart2{
19 height: auto; 19 height: auto;
  20 + width:100%;
20 } 21 }
21 .footer { 22 .footer {
22 position: absolute; 23 position: absolute;
1 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
2 -<html xmlns="http://www.w3.org/1999/xhtml">  
3 -<head>  
4 -<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">  
5 -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
6 -<link rel="stylesheet" type="text/css" href="css/base.css" />  
7 -<link rel="stylesheet" type="text/css" href="css/style.css" />  
8 -<link rel="stylesheet" type="text/css" href="css/banner.css"/>  
9 -<link rel="stylesheet" type="text/css" href="css/font-awesome.css"/>  
10 -<link rel="stylesheet" type="text/css" href="css/modern-accordion.css">  
11 -<link rel="stylesheet" type="text/css" href="css/share.css" />  
12 -<script src="js/base.js" type="text/javascript" charset="utf-8"></script>  
13 -<script src="js/modern-accordion.js"></script>  
14 -<script src="js/share.js"></script>  
15 -<script type="text/javascript">  
16 -function ChangeDiv()  
17 -{  
18 - document.getElementById("control").style.display="none";  
19 - document.getElementById("close").style.display="block";  
20 - document.getElementById("open").style.display="none";  
21 - //显示当前层  
22 -}  
23 -function ChangeDiv1()  
24 -{  
25 -  
26 - document.getElementById("control").style.display="block";  
27 - document.getElementById("close").style.display="none";  
28 - document.getElementById("open").style.display="block";  
29 - //显示当前层  
30 -}  
31 -</script>  
32 -<style>  
33 -#close{  
34 - display:none;  
35 - }  
36 - .mdn-accordion{  
37 - max-width: 7.5rem;  
38 - }  
39 - .trheader{  
40 - width: 7.5rem;  
41 - }  
42 - #trtopbot{  
43 - margin-top: 1rem;  
44 - }  
45 -</style>  
46 -<title>健康旅游</title>  
47 -</head>  
48 -  
49 -<body>  
50 -<!--trheader start-->  
51 -<div class="trheader center">  
52 - <div class="trtop">  
53 - <div class="left trback"><a href="#"><img src="images/trback_03.png"/></a></div>  
54 - <div class="trtitle">健康旅游</div>  
55 - <div class="right inshare"><a href="#" onClick="toshare()"><img src="images/inshare_03.png"/></a></div>  
56 - </div>  
57 - <div id="trtopdes">【浙东全景爸妈放心游】绍兴-兰亭-宁波-普陀山-雁荡山-奉化溪口-大楠溪-石桅岩-崖下库-江心屿-温州双卧</div>  
58 - <div id="trtopbot">  
59 - <p id="tian">9天</p>  
60 - <p id="place">北京 出发</p>  
61 - </div>  
62 -</div>  
63 -  
64 -<div class="csslider1 autoplay">  
65 - <input name="cs_anchor1" autocomplete="off" id="cs_slide1_0" type="radio" class="cs_anchor slide" >  
66 - <input name="cs_anchor1" autocomplete="off" id="cs_slide1_1" type="radio" class="cs_anchor slide" >  
67 - <input name="cs_anchor1" autocomplete="off" id="cs_slide1_2" type="radio" class="cs_anchor slide" >  
68 - <input name="cs_anchor1" autocomplete="off" id="cs_play1" type="radio" class="cs_anchor" checked>  
69 - <input name="cs_anchor1" autocomplete="off" id="cs_pause1" type="radio" class="cs_anchor" >  
70 - <ul>  
71 - <div style="width: 100%; visibility: hidden; font-size: 0px; line-height: 0; height: 4.89rem;">  
72 - <img src="images/1.jpg" style="width: 100%;">  
73 - </div>  
74 - <li class="num0 img">  
75 - <img src="images/trbanner_01.jpg" />  
76 - </li>  
77 - <li class="num1 img">  
78 - <img src="images/trbanner_02.jpg" />  
79 - </li>  
80 - <li class="num2 img">  
81 - <img src="images/trbanner_03.jpg" />  
82 - </li>  
83 - </ul>  
84 - <div class="cs_bullets textright" style="z-index:1000;">  
85 - <label class="num0" for="cs_slide1_0"><span class="cs_point"></span></label>  
86 - <label class="num1" for="cs_slide1_1"><span class="cs_point"></span></label>  
87 - <label class="num2" style="margin-right:0.2rem;" for="cs_slide1_2"><span class="cs_point"></span></label>  
88 - </div>  
89 -</div>  
90 -<!--trheader end-->  
91 -  
92 -<!--trpart1 -->  
93 -<div class="trpart1 center">  
94 - <div class="trptitle">— 行程亮点 —</div>  
95 - <div class="trli">  
96 - <ul>  
97 - <li><img src="images/po_03.jpg"/>全程专职陪护,0购物,爸妈放心游;</li>  
98 - <li><img src="images/po_03.jpg"/>四海名山皆过目,就中此景难图录,雁荡一生看不足;</li>  
99 - <li><img src="images/po_03.jpg"/>蒋氏故里、观音圣地,感受民国风、观音梦;</li>  
100 - <li><img src="images/po_03.jpg"/>春色阅尽人不老,繁华洗去浪头笑,深度体验楠溪江;</li>  
101 - </ul>  
102 - </div>  
103 -</div>  
104 -<!--trpart1 end-->  
105 -  
106 -<!--trpart2 -->  
107 -<div class="trpart2 center">  
108 - <div class="trptitle">  
109 - <div class="trptitle">— 行程概览 —</div>  
110 - <span class="right close" id="open" onclick="JavaScript:ChangeDiv()"><img src="images/close_03.png"/></span>  
111 - <span class="right open" id="close" onclick="JavaScript:ChangeDiv1()"><img src="images/open_03.png"/></span>  
112 -  
113 - </div>  
114 - <ul class="mdn-accordion single-level-accordion blue-accordion-theme" id="control">  
115 - <!--day1-->  
116 - <li class="sub-level">  
117 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-1" id="accordion-panel-1">  
118 - <label class="accordion-title shu" for="accordion-panel-1"> <p><img src="images/shu_07.jpg"/>第一天</p><p class="roiu">北京→杭州</p> </label>  
119 - <ul>  
120 - <li>  
121 - <div class="minbox">  
122 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
123 - <p class="routecon">专职陪护人员与大家在指定地点集合,陪护大家乘火车  
124 - 硬卧前往杭州,开始愉快的健康之旅!参考车次:T31【16:55-次日08:26】,实际车次请以通知为准。  
125 - </p>  
126 - </div>  
127 - <div class="minbox">  
128 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
129 - <p class="routecon">早餐:敬请自理 、午餐:敬请自理、 晚餐:敬请自理。</p>  
130 - </div>  
131 - <div class="minbox">  
132 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
133 - <p class="routecon">火车上</p>  
134 - </div>  
135 - </li>  
136 - </ul>  
137 - </li>  
138 - <!-- end day1 -->  
139 -  
140 - <!--day2-->  
141 - <li class="sub-level">  
142 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-2" id="accordion-panel-2">  
143 - <label class="accordion-title shu" for="accordion-panel-2"> <p><img src="images/shu_07.jpg"/>第二天</p><p class="roiu">杭州→绍兴→宁波</p> </label>  
144 - <ul>  
145 - <li>  
146 - <div class="minbox">  
147 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
148 - <p class="routecon">早上抵达杭州,地接导游接站后,乘车前往绍兴;抵达绍兴后,游览【鲁 迅故  
149 - 居】,然后游览东晋著名书法家王羲之的寄居处:【兰亭】  
150 - </p>  
151 - </div>  
152 -  
153 - <div class="minbox">  
154 - <p class="route"><img src="images/content1li_06.jpg" />景点</p>  
155 - <ul class="jingdian">  
156 - <li ><img src="images/trconli_03.jpg"/>  
157 - <span class="ht">鲁迅故居</span>  
158 - <span style="width:4.5rem">  
159 - 鲁迅祖居、鲁迅故居、三味书屋等核心的鲁迅青少年时代生活环境展示区,清末  
160 - 民初绍兴市井生活风情和鲁迅作品人物场景示区、鲁迅文化研究展示区、绍兴传统展示。  
161 - </span>  
162 - </li>  
163 -  
164 - <li class="jingdian"><img src="images/trconli_06.jpg"/>  
165 - <span class="ht">兰亭</span>  
166 - <span style="width:4.5rem">  
167 - 兰亭,明清园林,是东晋著名书法家,会稽内史王羲之的园林住所,是一座晋代园林。传春秋时越王勾践曾在此植兰,汉时设驿亭,故名兰亭。  
168 - </span>  
169 - </li>  
170 - </ul>  
171 - </div>  
172 -  
173 - <div class="minbox">  
174 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
175 - <p class="routecon">早:敬请自理、 午餐:含、 晚餐:含</p>  
176 - </div>  
177 -  
178 - <div class="minbox">  
179 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
180 - <p class="routecon">宁波金纬大酒店或其他备选酒店</p>  
181 - </div>  
182 - </li>  
183 - </ul>  
184 - </li>  
185 - <!-- end day2 -->  
186 -  
187 - <!--day3-->  
188 - <li class="sub-level">  
189 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-3" id="accordion-panel-3">  
190 - <label class="accordion-title shu" for="accordion-panel-3"> <p><img src="images/shu_07.jpg"/>第三天</p><p class="roiu">宁波→普陀山</p> </label>  
191 - <ul>  
192 - <li>  
193 - <div class="minbox">  
194 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
195 - <p class="routecon">酒店内亨用早餐后经舟山跨海大桥,赴朱家尖或沈家门码头,乘船赴【普陀山】含往返快艇、岛上小交通、景区小门票:游西天景区心字石,普陀石、普济寺、紫竹林、南海观音、如果天气晴好可观日落。  
196 - </p>  
197 - </div>  
198 -  
199 - <div class="minbox">  
200 - <p class="route"><img src="images/content1li_06.jpg" />景点</p>  
201 - <ul class="jingdian">  
202 - <li ><img src="images/trconli1_03.jpg"/>  
203 - <span class="ht">普陀山南海观音大佛</span>  
204 - <span style="width:4.5rem">  
205 - 坐落于双峰山南端的观音跳山岗上。此处势随峰起,秀林葱郁,气顺脉畅,碧波荡漾。莲花洋彼岸的朱家尖,隔海侍卫;双峰山坡麓的紫竹林,潮音频传。普  
206 - 陀山新的人文景观,海天佛国的象征。  
207 - </span>  
208 - </li>  
209 - </ul>  
210 - </div>  
211 -  
212 - <div class="minbox">  
213 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
214 - <p class="routecon">早餐:含 、午餐:含、 晚餐:含</p>  
215 - </div>  
216 -  
217 - <div class="minbox">  
218 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
219 - <p class="routecon">舟山普陀山海上花园客栈(西山店),或其他备选酒店</p>  
220 - </div>  
221 - </li>  
222 - </ul>  
223 - </li>  
224 - <!-- end day3 -->  
225 -  
226 - <!--day4-->  
227 - <li class="sub-level">  
228 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-4" id="accordion-panel-4">  
229 - <label class="accordion-title shu" for="accordion-panel-4"> <p><img src="images/shu_07.jpg"/>第四天</p><p class="roiu">普陀山→奉化</p></label>  
230 - <ul>  
231 - <li>  
232 - <div class="minbox">  
233 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
234 - <p class="routecon">如当天天气睛好,可早起看海上日出:酒店内享用早餐后,乘船下岛,然后赴蒋介石的故乡:【奉化溪口】:游小房、蒋介石故居、丰镐房等。  
235 - </p>  
236 - </div>  
237 -  
238 - <div class="minbox">  
239 - <p class="route"><img src="images/content1li_06.jpg" />景点</p>  
240 - <ul class="jingdian">  
241 - <li ><img src="images/trconli1_10.jpg"/>  
242 - <span class="ht">蒋氏故居</span>  
243 - <span style="width:4.5rem">  
244 - 第四批全国重点文物保护单位,国家AAAAA级旅游景区,第二批中国20世纪建筑遗产。  
245 - </span>  
246 - </li>  
247 - </ul>  
248 - </div>  
249 -  
250 - <div class="minbox">  
251 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
252 - <p class="routecon">早餐:含 、午餐:含、 晚餐:含</p>  
253 - </div>  
254 -  
255 - <div class="minbox">  
256 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
257 - <p class="routecon">奉化溪口武岭宾馆(挂牌三星),或且他备选酒店</p>  
258 - </div>  
259 - </li>  
260 - </ul>  
261 - </li>  
262 - <!-- end day4 -->  
263 -  
264 - <!--day5-->  
265 - <li class="sub-level">  
266 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-5" id="accordion-panel-5">  
267 - <label class="accordion-title shu" for="accordion-panel-5"> <p><img src="images/shu_07.jpg"/>第五天</p><p class="roiu">奉化→雁荡山</p></label>  
268 - <ul>  
269 - <li>  
270 - <div class="minbox">  
271 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
272 - <p class="routecon">酒店内享用早餐后,赴中国十大名山之一、世界地质公园【雁荡山】  
273 - 游大龙湫:灵峰夜显(需要备一个手电简);三折瀑等景点,三个景  
274 - 点游览时间不少于4小时。  
275 - </p>  
276 - </div>  
277 -  
278 - <div class="minbox">  
279 - <p class="route"><img src="images/content1li_06.jpg" />景点</p>  
280 - <ul class="jingdian">  
281 - <li ><img src="images/trconli1_10.jpg"/>  
282 - <span class="ht">雁荡山</span>  
283 - <span style="width:4.5rem">  
284 - 雁荡山以山水奇秀闻名,素有“海上名山、寰中绝胜”之誉,史称中国“东南第一山。  
285 - </span>  
286 - </li>  
287 - </ul>  
288 - </div>  
289 -  
290 - <div class="minbox">  
291 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
292 - <p class="routecon">早餐:含 、午餐:含、 晚餐:含</p>  
293 - </div>  
294 -  
295 - <div class="minbox">  
296 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
297 - <p class="routecon">雁荡山仙客来山庄,或其他备选酒店</p>  
298 - </div>  
299 - </li>  
300 - </ul>  
301 - </li>  
302 - <!-- end day5 -->  
303 -  
304 - <!--day6-->  
305 - <li class="sub-level">  
306 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-6" id="accordion-panel-6">  
307 - <label class="accordion-title shu" for="accordion-panel-6"> <p><img src="images/shu_07.jpg"/>第六天</p><p class="roiu">雁荡山→楠溪江</p></label>  
308 - <ul>  
309 - <li>  
310 - <div class="minbox">  
311 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
312 - <p class="routecon">酒店内享用早餐后,游览【雁荡山灵岩景区】;  
313 - 然后乘坐大巴赴AAA级景区,国家级风景区当中唯一以田园山水风光见长的楠溪江景区,  
314 - 游览兼具雄、奇、险、秀、幽、奧等特点。【石桅岩景区】,游览  
315 - 时间不少于2小时;然后游览【丽水街景区】。  
316 - </p>  
317 - </div>  
318 -  
319 - <div class="minbox">  
320 - <p class="route"><img src="images/content1li_06.jpg" />景点</p>  
321 - <ul class="jingdian">  
322 - <li ><img src="images/trconli1_10.jpg"/>  
323 - <span class="ht">楠溪江</span>  
324 - <span style="width:4.5rem">  
325 - 楠溪江,国家AAAA级旅游区,世界地质公园。  
326 - </span>  
327 - </li>  
328 - </ul>  
329 - </div>  
330 -  
331 - <div class="minbox">  
332 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
333 - <p class="routecon">早餐:含 、午餐:含、 晚餐:含</p>  
334 - </div>  
335 -  
336 - <div class="minbox">  
337 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
338 - <p class="routecon">楠溪江金泰宾馆,或其他备选酒店</p>  
339 - </div>  
340 - </li>  
341 - </ul>  
342 - </li>  
343 - <!-- end day6 -->  
344 -  
345 - <!--day7-->  
346 - <li class="sub-level">  
347 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-7" id="accordion-panel-7">  
348 - <label class="accordion-title shu" for="accordion-panel-7"> <p><img src="images/shu_07.jpg"/>第七天</p><p class="roiu">楠溪江→温州</p></label>  
349 - <ul>  
350 - <li>  
351 - <div class="minbox">  
352 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
353 - <p class="routecon">酒店内享用早餐后,游【石门台景区】,游览时间不少于1.5小时;然  
354 - 后游览【大楠溪景区】,乘竹筏漂流约45分钟,主要体现为“水秀”  
355 - “村古滩林木美“,这里江水清澈,滩林众多,自然风光绝佳;享用团  
356 - 队午餐后,下午游览【崖下库】,游览时间不少于2小时;然后乘车赴  
357 - 温州。  
358 - </p>  
359 - </div>  
360 -  
361 - <div class="minbox">  
362 - <p class="route"><img src="images/content1li_06.jpg" />景点</p>  
363 - <ul class="jingdian">  
364 - <li ><img src="images/trconli1_10.jpg"/>  
365 - <span class="ht">大楠溪</span>  
366 - <span style="width:4.5rem">  
367 - 大楠溪主要体现为“水秀”、“村古”、“滩林美”。这里江水清澈,滩林众多,自然风光绝佳。  
368 - </span>  
369 - </li>  
370 - </ul>  
371 - </div>  
372 -  
373 - <div class="minbox">  
374 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
375 - <p class="routecon">早餐:含 、午餐:含、 晚餐:含</p>  
376 - </div>  
377 -  
378 - <div class="minbox">  
379 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
380 - <p class="routecon">温州繁东宾馆,或其他备选酒店</p>  
381 - </div>  
382 - </li>  
383 - </ul>  
384 - </li>  
385 - <!-- end day7 -->  
386 -  
387 - <!--day8-->  
388 - <li class="sub-level">  
389 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-8" id="accordion-panel-8">  
390 - <label class="accordion-title shu" for="accordion-panel-8"> <p><img src="images/shu_07.jpg"/>第八天</p><p class="roiu">温州→北京</p></label>  
391 - <ul>  
392 - <li>  
393 - <div class="minbox">  
394 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
395 - <p class="routecon">酒店内享用早餐后,游览温州【江心屿】,游览时间不少于1小时,  
396 - 位于江中游,中国四大名胜弧岛之一,风景秀丽;全陪导游专职陪护  
397 - 人员陪同大家乘坐火车硬卧K102次【12:00次日15:49】或其他  
398 - 车次火车返京。  
399 - </p>  
400 - </div>  
401 -  
402 - <div class="minbox">  
403 - <p class="route"><img src="images/content1li_06.jpg" />景点</p>  
404 - <ul class="jingdian">  
405 - <li ><img src="images/trconli1_10.jpg"/>  
406 - <span class="ht">江心屿</span>  
407 - <span style="width:4.5rem">  
408 - 江心屿属于中国四大名屿。该屿风景秀丽,东西双塔凌空,映衬江心寺,历来被称为“瓯江蓬莱”。  
409 - </span>  
410 - </li>  
411 - </ul>  
412 - </div>  
413 -  
414 - <div class="minbox">  
415 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
416 - <p class="routecon">早餐:含、午餐:敬请自理、晚餐:敬请自理</p>  
417 - </div>  
418 -  
419 - <div class="minbox">  
420 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
421 - <p class="routecon">火车上</p>  
422 - </div>  
423 - </li>  
424 - </ul>  
425 - </li>  
426 - <!-- end day8 -->  
427 -  
428 - <!--day9-->  
429 - <li class="sub-level">  
430 - <input class="accordion-toggle" type="checkbox" name="accordion-panel-9" id="accordion-panel-9">  
431 - <label class="accordion-title shu" for="accordion-panel-9"> <p><img src="images/shu_07.jpg"/>第九天</p><p class="roiu">北京</p></label>  
432 - <ul>  
433 - <li>  
434 - <div class="minbox">  
435 - <p class="route"><img src="images/content1li_03.png" />行程</p>  
436 - <p class="routecon">下午抵达北京,结束愉快的行程,返回温暖的家。</p>  
437 - </div>  
438 -  
439 - <div class="minbox">  
440 - <p class="route"><img src="images/content1li_06.png" />三餐</p>  
441 - <p class="routecon">早餐:敬请自理 午餐:敬请自理 晚餐:敬请自理</p>  
442 - </div>  
443 -  
444 - <div class="minbox">  
445 - <p class="route"><img src="images/content1li_08.jpg" />住宿</p>  
446 - <p class="routecon">温暖的家</p>  
447 - </div>  
448 - </li>  
449 - </ul>  
450 - </li>  
451 - <!-- end day9 -->  
452 - </ul>  
453 -</div>  
454 -<!--trpart2-->  
455 -  
456 -<!--trpart3 -->  
457 -<div class="trpart3 center">  
458 - <div class="trptitle">— 费用说明 —</div>  
459 - <div class="expense">  
460 - <div class="shu textleft"><img src="images/shu_07.jpg"/>费用包含</div>  
461 - <ul class="exul">  
462 - <li>大交通:团队机票——往返团队经济舱机票含机场建设税(团队机票  
463 - 将统一出票,如遇政府或航空公司政策性调整燃油税费,在未出票的  
464 - 情况下将进行多退少补,敬请谅解。团队机票一经开出,不得更改、  
465 - 不得签转、不得退票)。  
466 - </li>  
467 - <li>当地交通:当地旅游车(保证一人一正座位,车型大小根据游客实际  
468 - 人数安排)。  
469 - </li>  
470 - <li>住宿:双人标准间。</li>  
471 - <li>用餐:含早晚餐。</li>  
472 - <li>导游服务:专职导游讲解服务或全程专职领队及全程陪护。</li>  
473 - <li>儿童价适用于0至6周岁(不含)的儿童。儿童价费用包含:儿童价  
474 - 包含当地旅游车位、导游服务、半价正餐,不含床位、门票!【注:  
475 - 儿童价标准。】  
476 - </li>  
477 - </ul>  
478 - </div>  
479 -  
480 - <div class="expense">  
481 - <div class="shu textleft"><img src="images/shu_07.jpg"/>费用不包含</div>  
482 - <ul class="exul">  
483 - <li>单人房差:根据当时价格调整。</li>  
484 - <li>行程中及酒店内洗衣、理发、电话、传真、收费电视、饮品、烟酒等个人消费。</li>  
485 - <li>保险:本产品不含旅游人身意外险,游客填写订单时请进行保险购买。</li>  
486 - </ul>  
487 - </div>  
488 -</div>  
489 -<!--trpart3 end-->  
490 -  
491 -<!--trfooter-->  
492 -<div id="trfooter">  
493 - <div id="trlprice" class="left"><span class="trmoney">¥4800</span></div>  
494 - <div class="left listen"><a href="#"><img src="images/listen_03.jpg"/></a></div>  
495 - <div id="trsub" class="right"><a href="#">去预约</a></div>  
496 -</div>  
497 -<!--trfooter end-->  
498 -  
499 -<!--share start-->  
500 -<div class="am-share">  
501 - <h3 class="am-share-title">分享到</h3>  
502 - <ul class="am-share-sns">  
503 - <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>  
504 - <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>  
505 - <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>  
506 - <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>  
507 - </ul>  
508 - <div class="am-share-footer"><button class="share_btn">取消</button></div>  
509 -</div>  
510 -<!--share end-->  
511 -</body>  
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 + <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
  5 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6 + <link rel="stylesheet" type="text/css" href="css/base.css" />
  7 + <link rel="stylesheet" type="text/css" href="css/style.css" />
  8 + <script src="js/jquery-1.2.6.min.js" type="text/javascript" ></script>
  9 + <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
  10 + <script src="js/t.js"></script>
  11 + <script type="text/javascript">
  12 + var maxtime = 30 * 60; //一个小时,按秒计算,自己调整!
  13 + function CountDown() {
  14 + if (maxtime >= 0) {
  15 + minutes = Math.floor(maxtime / 60);
  16 + seconds = Math.floor(maxtime % 60);
  17 + msg = "支付剩余时间&nbsp;" + minutes + ":" + seconds + "";
  18 + document.all["timer"].innerHTML = msg;
  19 + if (maxtime == 5 * 60) alert("还剩5分钟");
  20 + --maxtime;
  21 + } else {
  22 + clearInterval(timer);
  23 + alert("时间到,结束!");
  24 + }
  25 + }
  26 + timer = setInterval("CountDown()", 1000);
  27 + </script>
  28 + <title>预约详情</title>
  29 + <style>
  30 + .appoinpart6{
  31 + width:100%;
  32 + }
  33 + </style>
  34 +</head>
  35 +
  36 +<body>
  37 + <div class="seheader center">
  38 + <div class="left seback">
  39 + <a href="#" onClick="javascript:history.back(-1);">
  40 + <img src="images/care_03.jpg" />
  41 + </a>
  42 + </div>
  43 + <div class="headertext">订单详情</div>
  44 + </div>
  45 + <div class="appoinpart1 center">
  46 + <div id="timer" class="paytime"></div>
  47 + <div id="warring"></div>
  48 + </div>
  49 + <div class="centent">
  50 + <!--<div class="appoinpart2 center">-->
  51 + <!--<div class="apointit">-->
  52 + <!--<img src="images/hol_03.jpg" />静脉采血 1 次-->
  53 + <!--<span class="right">待付款</span>-->
  54 + <!--</div>-->
  55 + <!--<div class="apoincon">-->
  56 + <!--<p>-->
  57 + <!--<img src="images/appoinli_03.jpg" />服务对象-->
  58 + <!--<span>李凯</span>-->
  59 + <!--</p>-->
  60 + <!--<p>-->
  61 + <!--<img src="images/appoinli_13.jpg" />联系电话-->
  62 + <!--<span>18110605623</span>-->
  63 + <!--</p>-->
  64 +
  65 + <!--</div>-->
  66 + <!--</div>-->
  67 + <!--<div class="appoinpart5 center">-->
  68 + <!--<div class="appoinli5">下单日期-->
  69 + <!--<span class="right">2018-02-19 17:11</span>-->
  70 + <!--</div>-->
  71 + <!--<div class="appoinlik5">-->
  72 + <!--<a href="#">-->
  73 + <!--<img class="left" src="images/part4_li_12.jpg" />-->
  74 + <!--</a>-->
  75 + <!--<div class="corigt left">-->
  76 + <!--<a href="#">-->
  77 + <!--<span>女士高发肿瘤风险评估E(2项)</span>-->
  78 + <!--<p>评估卵巢癌、子宫内膜癌风险</p>-->
  79 + <!--</a>-->
  80 + <!--<p class="minute">-->
  81 + <!--<span>-->
  82 + <!--<img src="images/min_09.jpg" />可测1人</span>-->
  83 + <!--<span>-->
  84 + <!--<img src="images/min_11.jpg" />10-15个工作日</span>-->
  85 + <!--</p>-->
  86 + <!--<p class="price">¥8686</p>-->
  87 + <!--</div>-->
  88 + <!--</div>-->
  89 + <!--<div class="appoinlif5">总服务费-->
  90 + <!--<span class="right">194元</span>-->
  91 + <!--</div>-->
  92 + <!--</div>-->
  93 + <!--<div class="apoinnum">订单号:010201800078</div>-->
  94 + </div>
  95 + <div class="appoinpart6">
  96 + <button type="button" class="apoinbut">去支付</button>
  97 + <button type="button" class="apoinbut">取消支付</button>
  98 + </div>
  99 + <script src="js/common.js"></script>
  100 + <script type="text/javascript">
  101 + var id =getUrlParam('id');
  102 + var html='';
  103 + var minihtml='';
  104 + // 我的订单接口
  105 + var post={
  106 + order_id:id
  107 + };
  108 + var header={
  109 + DeviceType:1,
  110 + Token:1
  111 + };
  112 + sendAjax('post', 'user/Order/getOrderInfo', post, header, function (res) {
  113 + console.log(res);
  114 + if(res.code == 1){
  115 +html +=`<div class="appoinpart2 center">
  116 + <div class="apointit">
  117 + <img src="images/hol_03.jpg" />${res.data.other_title} ${res.data.num}
  118 + <span class="right">待付款</span>
  119 + </div>
  120 + <div class="apoincon">
  121 + <p>
  122 + <img src="images/appoinli_03.jpg" />服务对象
  123 + <span>${res.data.name}</span>
  124 + </p>
  125 + <p>
  126 + <img src="images/appoinli_13.jpg" />联系电话
  127 + <span>${res.data.mobile}</span>
  128 + </p>
  129 +
  130 + </div>
  131 + </div>
  132 +<div class="appoinpart5 center">
  133 + <div class="appoinli5">下单日期
  134 + <span class="right">${res.data.addtime}</span>
  135 + </div>
  136 + <div class="appoinlik5">
  137 + <a href="#">
  138 + <img class="left" src="${res.data.icon}">
  139 + </a>
  140 + <div class="corigt left">
  141 + <a href="#">
  142 + <span>${res.data.post_title}</span>
  143 + <p>${res.data.other_title}</p>
  144 + </a>
  145 + <p class="minute">
  146 +
  147 + </p>
  148 + <p class="price">¥${res.data.good_price}</p>
  149 + </div>
  150 + </div>
  151 + <div class="appoinlif5">总服务费
  152 + <span class="right">${res.data.price}</span>
  153 + </div>
  154 + </div>
  155 +<div class="apoinnum">订单号:${res.data.order_sn}</div>`
  156 +$('.centent').append(html);
  157 +
  158 + for(let i in res.data.tag){
  159 + minihtml +=`<span>
  160 + <img src="${res.data.tag[i].url}">${res.data.tag[i].text}</span>`
  161 + }
  162 + alert(minihtml);
  163 + $('.minute').append(minihtml);
  164 +
  165 + }else{
  166 + console.log(res.msg)
  167 +
  168 + }
  169 +
  170 + })
  171 +
  172 + </script>
  173 +</body>
@@ -157,14 +157,11 @@ @@ -157,14 +157,11 @@
157 for(let n in data.related_service){ 157 for(let n in data.related_service){
158 htmlTwo += `<li> 158 htmlTwo += `<li>
159 <a href="#"> 159 <a href="#">
160 - <img src="images/reha2_08.png" />  
161 - <p class="tx">老年痴呆护理</p>  
162 - <p>  
163 - <span class="camo">596</span>元</p> 160 + <img src="${data.related_service[n].img}" />
164 </a> 161 </a>
165 </li>` 162 </li>`
166 } 163 }
167 - // $(".capart2 .camg .center") 164 + $(".capart2 .camg .center").html(htmlTwo)
168 165
169 } else if (res.code == 0) { 166 } else if (res.code == 0) {
170 let loading = weui.loading(res.msg) 167 let loading = weui.loading(res.msg)