Socket
Socket
Sign inDemoInstall

vue-concise-slider

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-concise-slider - npm Package Compare versions

Comparing version 3.2.5 to 3.3.0

src/demo/slider_nest.vue

2

dist/module.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("vueConciseSlider",[],t):"object"==typeof exports?exports.vueConciseSlider=t():e.vueConciseSlider=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(e){delete installedChunks[e]}function i(e){var t=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=u.p+""+e+"."+x+".hot-update.js",t.appendChild(i)}function n(e){return e=e||1e4,new Promise(function(t,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,a=u.p+""+x+".hot-update.json";n.open("GET",a,!0),n.timeout=e,n.send(null)}catch(e){return i(e)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)i(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)t();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+a+" failed."));else{try{var e=JSON.parse(n.responseText)}catch(e){return void i(e)}t(e)}}})}function a(e){var t=$[e];if(!t)return u;var i=function(i){return t.hot.active?($[i]?$[i].parents.indexOf(e)<0&&$[i].parents.push(e):(E=[e],g=i),t.children.indexOf(i)<0&&t.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+e),E=[]),u(i)};for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&"e"!==n&&Object.defineProperty(i,n,function(e){return{configurable:!0,enumerable:!0,get:function(){return u[e]},set:function(t){u[e]=t}}}(n));return i.e=function(e){function t(){S--,"prepare"===D&&(L[e]||l(e),0===S&&0===C&&h())}return"ready"===D&&r("prepare"),S++,u.e(e).then(t,function(e){throw t(),e})},i}function s(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:g!==e,active:!0,accept:function(e,i){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var n=0;n<e.length;n++)t._acceptedDependencies[e[n]]=i||function(){};else t._acceptedDependencies[e]=i||function(){}},decline:function(e){if(void 0===e)t._selfDeclined=!0;else if("object"==typeof e)for(var i=0;i<e.length;i++)t._declinedDependencies[e[i]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var i=t._disposeHandlers.indexOf(e);i>=0&&t._disposeHandlers.splice(i,1)},check:d,apply:p,status:function(e){if(!e)return D;T.push(e)},addStatusHandler:function(e){T.push(e)},removeStatusHandler:function(e){var t=T.indexOf(e);t>=0&&T.splice(t,1)},data:b[e]};return g=void 0,t}function r(e){D=e;for(var t=0;t<T.length;t++)T[t].call(null,e)}function o(e){return+e+""===e?+e:e}function d(e){if("idle"!==D)throw new Error("check() is only allowed in idle status");return _=e,r("check"),n(w).then(function(e){if(!e)return r("idle"),null;O={},L={},j=e.c,y=e.h,r("prepare");var t=new Promise(function(e,t){v={resolve:e,reject:t}});m={};return l(1),"prepare"===D&&0===S&&0===C&&h(),t})}function c(e,t){if(j[e]&&O[e]){O[e]=!1;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(m[i]=t[i]);0==--C&&0===S&&h()}}function l(e){j[e]?(O[e]=!0,C++,i(e)):L[e]=!0}function h(){r("ready");var e=v;if(v=null,e)if(_)Promise.resolve().then(function(){return p(_)}).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var i in m)Object.prototype.hasOwnProperty.call(m,i)&&t.push(o(i));e.resolve(t)}}function p(i){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];e.indexOf(n)<0&&e.push(n)}}if("ready"!==D)throw new Error("apply() is only allowed in ready status");i=i||{};var a,s,d,c,l,h={},p=[],f={},g=function(){console.warn("[HMR] unexpected require("+_.moduleId+") to disposed module")};for(var v in m)if(Object.prototype.hasOwnProperty.call(m,v)){l=o(v);var _;_=m[v]?function(e){for(var t=[e],i={},a=t.slice().map(function(e){return{chain:[e],id:e}});a.length>0;){var s=a.pop(),r=s.id,o=s.chain;if((c=$[r])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:r};if(c.hot._main)return{type:"unaccepted",chain:o,moduleId:r};for(var d=0;d<c.parents.length;d++){var l=c.parents[d],h=$[l];if(h){if(h.hot._declinedDependencies[r])return{type:"declined",chain:o.concat([l]),moduleId:r,parentId:l};t.indexOf(l)>=0||(h.hot._acceptedDependencies[r]?(i[l]||(i[l]=[]),n(i[l],[r])):(delete i[l],t.push(l),a.push({chain:o.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:i}}(l):{type:"disposed",moduleId:v};var w=!1,P=!1,T=!1,C="";switch(_.chain&&(C="\nUpdate propagation: "+_.chain.join(" -> ")),_.type){case"self-declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(w=new Error("Aborted because of self decline: "+_.moduleId+C));break;case"declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(w=new Error("Aborted because of declined dependency: "+_.moduleId+" in "+_.parentId+C));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(_),i.ignoreUnaccepted||(w=new Error("Aborted because "+l+" is not accepted"+C));break;case"accepted":i.onAccepted&&i.onAccepted(_),P=!0;break;case"disposed":i.onDisposed&&i.onDisposed(_),T=!0;break;default:throw new Error("Unexception type "+_.type)}if(w)return r("abort"),Promise.reject(w);if(P){f[l]=m[l],n(p,_.outdatedModules);for(l in _.outdatedDependencies)Object.prototype.hasOwnProperty.call(_.outdatedDependencies,l)&&(h[l]||(h[l]=[]),n(h[l],_.outdatedDependencies[l]))}T&&(n(p,[_.moduleId]),f[l]=g)}var S=[];for(s=0;s<p.length;s++)l=p[s],$[l]&&$[l].hot._selfAccepted&&S.push({module:l,errorHandler:$[l].hot._selfAccepted});r("dispose"),Object.keys(j).forEach(function(e){!1===j[e]&&t(e)});for(var L,O=p.slice();O.length>0;)if(l=O.pop(),c=$[l]){var k={},M=c.hot._disposeHandlers;for(d=0;d<M.length;d++)(a=M[d])(k);for(b[l]=k,c.hot.active=!1,delete $[l],delete h[l],d=0;d<c.children.length;d++){var I=$[c.children[d]];I&&((L=I.parents.indexOf(l))>=0&&I.parents.splice(L,1))}}var H,N;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l]))for(N=h[l],d=0;d<N.length;d++)H=N[d],(L=c.children.indexOf(H))>=0&&c.children.splice(L,1);r("apply"),x=y;for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(e[l]=f[l]);var R=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l])){N=h[l];var A=[];for(s=0;s<N.length;s++)if(H=N[s],a=c.hot._acceptedDependencies[H]){if(A.indexOf(a)>=0)continue;A.push(a)}for(s=0;s<A.length;s++){a=A[s];try{a(N)}catch(e){i.onErrored&&i.onErrored({type:"accept-errored",moduleId:l,dependencyId:N[s],error:e}),i.ignoreErrored||R||(R=e)}}}for(s=0;s<S.length;s++){var z=S[s];l=z.module,E=[l];try{u(l)}catch(e){if("function"==typeof z.errorHandler)try{z.errorHandler(e)}catch(t){i.onErrored&&i.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:t,orginalError:e,originalError:e}),i.ignoreErrored||R||(R=t),R||(R=e)}else i.onErrored&&i.onErrored({type:"self-accept-errored",moduleId:l,error:e}),i.ignoreErrored||R||(R=e)}}return R?(r("fail"),Promise.reject(R)):(r("idle"),new Promise(function(e){e(p)}))}function u(t){if($[t])return $[t].exports;var i=$[t]={i:t,l:!1,exports:{},hot:s(t),parents:(P=E,E=[],P),children:[]};return e[t].call(i.exports,i,i.exports,a(t)),i.l=!0,i.exports}var f=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(e,t){c(e,t),f&&f(e,t)};var g,v,m,y,_=!0,x="d678687699339dc52912",w=1e4,b={},E=[],P=[],T=[],D="idle",C=0,S=0,L={},O={},j={},$={};return u.m=e,u.c=$,u.d=function(e,t,i){u.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.h=function(){return x},a(14)(u.s=14)}([function(e,t){e.exports=function(e,t,i,n,a){var s,r=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(s=e,r=e.default);var d="function"==typeof r?r.options:r;t&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns),n&&(d._scopeId=n);var c;if(a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=i),c){var l=d.functional,h=l?d.render:d.beforeCreate;l?d.render=function(e,t){return c.call(t),h(e,t)}:d.beforeCreate=h?[].concat(h,c):[c]}return{esModule:s,exports:r,options:d}}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var i=this[t];i[2]?e.push("@media "+i[2]+"{"+i[1]+"}"):e.push(i[1])}return e.join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var s=this[a][0];"number"==typeof s&&(n[s]=!0)}for(a=0;a<t.length;a++){var r=t[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},function(e,t,i){function n(e){for(var t=0;t<e.length;t++){var i=e[t],n=l[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(s(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var r=[],a=0;a<i.parts.length;a++)r.push(s(i.parts[a]));l[i.id]={id:i.id,refs:1,parts:r}}}}function a(){var e=document.createElement("style");return e.type="text/css",h.appendChild(e),e}function s(e){var t,i,n=document.querySelector("style["+m+'~="'+e.id+'"]');if(n){if(f)return g;n.parentNode.removeChild(n)}if(y){var s=u++;n=p||(p=a()),t=r.bind(null,n,s,!1),i=r.bind(null,n,s,!0)}else n=a(),t=o.bind(null,n),i=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else i()}}function r(e,t,i,n){var a=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=_(t,a);else{var s=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(s,r[t]):e.appendChild(s)}}function o(e,t){var i=t.css,n=t.media,a=t.sourceMap;if(n&&e.setAttribute("media",n),v.ssrId&&e.setAttribute(m,t.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var d="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!d)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=i(7),l={},h=d&&(document.head||document.getElementsByTagName("head")[0]),p=null,u=0,f=!1,g=function(){},v=null,m="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,i,a){f=i,v=a||{};var s=c(e,t);return n(s),function(t){for(var i=[],a=0;a<s.length;a++){var r=s[a],o=l[r.id];o.refs--,i.push(o)}t?(s=c(e,t),n(s)):s=[];for(var a=0;a<i.length;a++){var o=i[a];if(0===o.refs){for(var d=0;d<o.parts.length;d++)o.parts[d]();delete l[o.id]}}}};var _=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\n")}}()},function(e,t,i){"use strict";function n(e){i(5)}Object.defineProperty(t,"__esModule",{value:!0});var a=i(8),s=i.n(a),r=i(11),o=i(0),d=n,c=o(s.a,r.a,d,null,null);t.default=c.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12),a=i.n(n),s=i(13),r=i(0),o=r(a.a,s.a,null,null,null);t.default=o.exports},function(e,t,i){var n=i(6);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(2)("3066c21c",n,!0,{})},function(e,t,i){t=e.exports=i(1)(),t.push([e.i,".slider-container{margin:0 auto;overflow:hidden;z-index:1;height:100%;width:100%;position:relative;white-space:nowrap}.slider-center-center{margin:auto;z-index:1;position:absolute;top:0;left:0;right:0;bottom:0}.slider-touch{height:100%}.slider-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1;align-items:center}.swiper-container-vertical .slider-wrapper{-moz-flex-direction:column;-ms-flex-direction:column;-o-flex-direction:column;flex-direction:column}.slider-item{flex-shrink:0;height:100%;position:relative;width:100%;align-items:center;display:flex;font-size:40px;justify-content:center;text-align:center;color:#fff}.slider-fade .slider-item{position:absolute;left:0;opacity:0}.slider-pagination{position:absolute;text-align:center;transform:translateZ(0);z-index:10}.slider-pagination-bullets{bottom:10px;left:0;width:100%}.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;display:inline-block;height:8px;opacity:.2;width:8px;cursor:pointer;margin:0 5px}.swiper-container-vertical .slider-pagination-bullets{bottom:auto;left:auto;width:auto;right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical .slider-pagination-bullet{display:block;margin:5px 0}.slider-pagination-bullet-active{background:#fff none repeat scroll 0 0;opacity:1}.slider-loading{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.swiper-container-cursorGrab{cursor:grab}",""])},function(e,t){e.exports=function(e,t){for(var i=[],n={},a=0;a<t.length;a++){var s=t[a],r=s[0],o=s[1],d=s[2],c=s[3],l={id:e+":"+a,css:o,media:d,sourceMap:c};n[r]?n[r].parts.push(l):i.push(n[r]={id:r,parts:[l]})}return i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={props:{options:{type:Object,default:function(){return{}}},pages:{type:Array,default:function(){return[]}}},name:"slider",data:function(){return{data:{poswidth:"0",posheight:"0",start:{},end:{},currentPage:this.options.currentPage||0,direction:""},s_data:{prefixes:(0,a.default)(),transitionEnding:!1,itemTransitionEnding:!1,setIntervalid:"",renderTime:"",sliderLength:0,effect:this.options.effect||"slide",tracking:!1,thresholdDistance:this.options.thresholdDistance||100,thresholdTime:this.options.thresholdTime||500,animation:!1,itemAnimation:this.options.itemAnimation||!1,loading:!1,containerClass:{"swiper-container-vertical":!1,"swiper-container-cursorGrab":this.options.grabCursor||!1},pageInit:!1,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200,currentPage:this.options.currentPage||0,pageWidth:0,pageHeight:0,sliderItem:"",pagination:void 0===this.options.pagination||this.options.pagination}}},computed:{styleobj:function(){var e={};return e.transform="translate3D("+this.data.poswidth+","+this.data.posheight+",0)",e[this.s_data.prefixes.transition+"TimingFunction"]=this.options.timingFunction||"ease",e[this.s_data.prefixes.transition+"Duration"]=(this.s_data.animation?this.options.speed||300:0)+"ms","fade"===this.s_data.effect||"coverflow"===this.s_data.effect?{}:e},pagenums:function(){return!this.pages.length&&0===this.s_data.sliderLength||this.s_data.pageInit||(this.s_data.pageInit=!0),this.pages.length},currentWidth:{get:function(){if(!this.pages.length&&0===this.s_data.sliderLength||"fade"===this.s_data.effect||"coverflow"===this.s_data.effect)return 0;var e=void 0,t=this.data.currentPage,i=this.s_data.pageWidth,n=this.options.loopedSlides||1;this.options.loop&&(t+=n?n<=(this.pagenums||this.s_data.sliderLength)?n:this.pagenums||this.s_data.sliderLength:1),"coverflow"===this.options.effect&&(t-=1);for(var a in this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(e=this.$el.children[a]);var s=e.children[0].children,r=s[t].offsetLeft;this.options.loop&&(r=s[t].offsetLeft);var o=s[t].offsetWidth;return this.options.centeredSlides&&(r=r-i/2+o/2),r+i-i}},currentHeight:function(){var e=this.s_data.sliderLength,t=this.data.currentPage,i=this.pages.length,n=0,a=void 0,s=t-1,r=this.s_data.pageWidth,o=this.options.loopedSlides||1;if(!i&&0===e||"fade"===this.s_data.effect)return 0;this.options.loop&&(s=o?t+(o<=(i||e)?o:i||e)-1:t+1);for(var d in this.$el.children)/slider-touch/gi.test(this.$el.children[d].className)&&(a=this.$el.children[d]);var c=a.children[0].children;for(var l in c)l<=s&&(n+=c[l].offsetHeight,n+=parseInt(c[l].style.marginTop||0),n+=parseInt(c[l].style.marginBottom||0));return n+r-r},classObject:function(){var e={};switch(this.options.effect){case"fade":e={"slider-fade":!0}}return e}},mounted:function(){var e=this,t=this;this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.$emit("init",this.data),this.$on("slideTo",function(t){e.slide(t)}),this.$on("slideNext",function(){e.next()}),this.$on("slidePre",function(){e.pre()}),this.$on("autoplayStart",function(i){e.options.autoplay=i||e.options.autoplay||1e3,e.clock().begin(t)}),this.$on("autoplayStop",function(){e.options.autoplay=0,e.clock().stop(t)}),this.$on("loadingShow",function(){e.s_data.loading=!0}),this.$on("loadingHide",function(){e.s_data.loading=!1}),this.options.autoplay&&this.clock().begin(t),"vertical"===this.options.direction&&(this.s_data.containerClass["swiper-container-vertical"]=!0),window.addEventListener("resize",function(){t.s_data.pageWidth=t.$el.offsetWidth,t.s_data.pageHeight=t.$el.offsetHeight,t.slide(t.data.currentPage,"animationnone")})},methods:{swipeStart:function(e){var t=this;if(!(this.s_data.transitionEnding||this.s_data.itemTransitionEnding&&this.options.itemAnimation))if(this.s_data.animation=!1,this.options.autoplay&&this.clock().stop(t),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",t.preventDefault(e)),"touchstart"===e.type){if(e.touches.length>1)return void(this.s_data.tracking=!1);this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=e.targetTouches[0].clientX,this.data.start.y=e.targetTouches[0].clientY,this.data.end.x=e.targetTouches[0].clientX,this.data.end.y=e.targetTouches[0].clientY}else this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=e.clientX,this.data.start.y=e.clientY,this.data.end.x=e.clientX,this.data.end.y=e.clientY},swipeMove:function(e){if(this.s_data.tracking){var t=this.s_data.effect;"touchmove"===e.type?(this.data.end.x=e.targetTouches[0].clientX,this.data.end.y=e.targetTouches[0].clientY):(this.data.end.x=e.clientX,this.data.end.y=e.clientY);var i=Math.abs(this.data.end.x-this.data.start.x),n=Math.abs(this.data.end.y-this.data.start.y);if(i>=n&&"vertical"!==this.options.direction?e.preventDefault():i<=n&&"vertical"===this.options.direction&&e.preventDefault(),"fade"===t||"coverflow"===t)return;if("vertical"===this.options.direction){if(i>n)return;this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y+"px"}else{if(i<n)return;this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x+"px"}}},swipeEnd:function(e){this.s_data.tracking=!1;var t=(new Date).getTime(),i=t-this.data.start.t,n=this.data.end.x-this.data.start.x,a=this.data.end.y-this.data.start.y,s=this.s_data.thresholdDistance,r=this.data.currentPage;if(this.options.autoplay){var o=this;setTimeout(function(){o.clock().begin(o)},this.options.autoplay)}if(!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(e)),i>this.s_data.thresholdTime)return void this.slide(r);if("vertical"!==this.options.direction){if(n>s&&Math.abs(a)<s)return void this.pre();if(-n>s&&Math.abs(a)<s)return void this.next();if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return void this.slide(r);this.$emit("tap",this.data),this.slide(r)}else{if(a>s&&Math.abs(n)<s)return void this.pre();if(-a>s&&Math.abs(n)<s)return void this.next();if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return void this.slide(r);this.$emit("tap",this.data),this.slide(r)}},swipeOut:function(e){this.$el===e.target&&this.s_data.tracking&&this.swipeEnd(e)},pre:function(){this.data.direction="left";var e=this.s_data.sliderLength,t=this.options.slidesToScroll;this.data.currentPage>=1?(this.data.currentPage-=t||1,this.slide()):this.options.loop&&0===this.data.currentPage?(this.data.currentPage-=t||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage<0&&"fade"===this.s_data.effect?(this.slide((this.pagenums||e)-1),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()):this.slide()},next:function(){this.data.direction="right";var e=this.s_data.sliderLength;this.data.currentPage<(this.pagenums||e)-1?(this.data.currentPage+=this.options.slidesToScroll||1,this.slide()):this.options.loop&&this.data.currentPage===(this.pagenums||e)-1?(this.data.currentPage+=this.options.slidesToScroll||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage>=(this.pagenums||e)&&"fade"===this.s_data.effect?(this.slide(0),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()):this.slide()},slide:function(e,t){if(this.s_data.animation=!0,"animationnone"===t&&(this.s_data.animation=!1),(e||0===e)&&(this.data.currentPage=e),this.$emit("slide",this.data),"fade"===this.s_data.effect)return void(this.pagenums||this.fadeDom());if("vertical"===this.options.direction?this.data.posheight=-this.currentHeight+"px":this.data.poswidth=-this.currentWidth+"px",this.s_data.sliderLength){var i=this.$el.getElementsByClassName("slider-wrapper")[0],n=i.getElementsByClassName("slider-item"),a=i.getElementsByClassName("slider-active-copy"),s=this.options.loopedSlides||1,r=this.s_data.sliderLength,o=this.$children,d=this.data.currentPage;if(o=o.filter(function(e){return"slideritem"===e.$options._componentTag}),o.forEach(function(e){e.removeActive()}),o[d]&&o[d].addActive(),d<0||d>=(this.pagenums||r)){n[d+s]&&n[d+s].classList&&n[d+s].classList.add("slider-active-copy");o[d<0?(this.pagenums||r)+d:0+d-(this.pagenums||r)].addActive()}else for(var c=0;c<a.length;c++){var l=a[c];l.classList.remove("slider-active-copy")}}this.data.currentPage<0||(this.data.currentPage,this.pagenums||this.s_data.sliderLength)},clock:function(){return{begin:function(e){e.s_data.setIntervalid||0!==e.options.autoplay&&(e.s_data.setIntervalid=setInterval(function(){e.next(),e.data.currentPage!==(e.pagenums||e.s_data.sliderLength)-1||e.options.loop||(clearInterval(e.s_data.setIntervalid),e.s_data.setIntervalid=0)},e.options.autoplay))},stop:function(e){clearInterval(e.s_data.setIntervalid),e.s_data.setIntervalid=0}}},preventDefault:function(e){e.preventDefault()},onTransitionEnd:function(e){if(e.target===e.currentTarget||"coverflow"===this.options.effect){var t=this;setTimeout(function(){var e=t.data.currentPage,i=t.s_data.sliderLength;t.options.loop&&""!==t.s_data.effect&&(t.s_data.transitionEnding=!1,e<0?t.slide((t.pagenums||i)+e,"animationnone"):e>=(t.pagenums||i)&&t.slide(0+e-(t.pagenums||i),"animationnone"))},0)}},onItemTransitionEnd:function(e){if(e.target===e.currentTarget){var t=this;setTimeout(function(){t.s_data.itemTransitionEnding=!1},0)}},renderDom:function(e){var t=this;this.s_data.renderTime&&clearTimeout(this.s_data.renderTime),t.s_data.sliderLength+=1,t.s_data.sliderLength>=1&&"fade"===t.options.effect&&(e.previousSibling?e.style["z-index"]=99-t.s_data.sliderLength:e.style["z-index"]=99+t.s_data.sliderLength),this.s_data.renderTime=setTimeout(function(){t.s_data.renderTime=void 0;var e=t.$el.getElementsByClassName("slider-wrapper")[0],i=e.getElementsByClassName("slider-item");if(t.s_data.sliderLength>=1&&t.options.loop&&"fade"!==t.options.effect&&"coverflow"!==t.options.effect){for(var n=e.getElementsByClassName("slider-copy"),a=n.length-1;a>=0;a--)e.removeChild(n[a]);i=e.getElementsByClassName("slider-item");for(var s=i.length,r=t.options.loopedSlides||1,o=0,d=0;d<s;d++){if(d+r-s>=0){var c=i[d+o].cloneNode(!0);c.classList.add("slider-copy"),c.classList.remove("slider-active"),e.insertBefore(c,i[0+o]),o++}if(d-r<0){var l=i[d].cloneNode(!0);l.classList.add("slider-copy"),l.classList.remove("slider-active"),e.appendChild(l)}}}t.$nextTick(function(){t.slide(t.data.currentPage,"animationnone")})},0)},fadeDom:function(){for(var e=this.data.currentPage,t=this.$el.getElementsByClassName("slider-wrapper")[0],i=t.getElementsByClassName("slider-item"),n=this.options.speed,a=0;a<i.length;a++)a===e||a===e+1?(i[a].style.opacity="1",i[a].style["transition-property"]="opacity",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms"):(i[a].style.opacity="0",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms")},judgeParentSlider:function(){}},components:{renderpagination:{render:function(e){var t=this.index;return this.options.renderPagination.call(this,e,t)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}}},function(e,t,i){"use strict";(function(e){function i(){var t=void 0,i=void 0,n=void 0,a=void 0;return function(){var s=document.createElement("_"),r=s.style,o=void 0;""===r[o="webkitTransition"]&&(n="webkitTransitionEnd",i=o),""===r[o="transition"]&&(n="transitionend",i=o),""===r[o="webkitTransform"]&&(t=o),""===r[o="msTransform"]&&(t=o),""===r[o="transform"]&&(t=o),document.body.insertBefore(s,null),r[t]="translate3d(0, 0, 0)",a=!!e.getComputedStyle(s).getPropertyValue(t),document.body.removeChild(s)}(),{transform:t,transition:i,transitionEnd:n,hasTranslate3d:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i}).call(t,i(10))},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"slider-container",class:e.s_data.containerClass,on:{mouseleave:e.swipeOut}},[i("div",{staticClass:"slider-touch",style:e.styleobj,on:{touchmove:function(t){return t.stopPropagation(),e.swipeMove(t)},touchstart:e.swipeStart,touchend:e.swipeEnd,mousedown:e.swipeStart,mouseup:e.swipeEnd,mousemove:function(t){return t.stopPropagation(),e.swipeMove(t)},"webkit-transition-end":e.onTransitionEnd,transitionend:e.onTransitionEnd}},[0===e.pages.length?i("div",{staticClass:"slider-wrapper",class:e.classObject},[e._t("default")],2):e._e()]),e._v(" "),e.s_data.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[e._l(e.pagenums||e.s_data.sliderLength,function(t){return[e.options.renderPagination?e._e():i("span",{staticClass:"slider-pagination-bullet",class:t-1===e.data.currentPage?"slider-pagination-bullet-active":"",on:{click:function(i){e.slide(t-1)}}}),e._v(" "),e.options.renderPagination?i("renderpagination",{class:t-1===e.data.currentPage?"slider-pagination-bullet-active-render":"",attrs:{index:t,options:e.options},nativeOn:{click:function(i){e.slide(t-1)}}}):e._e()]})],2):e._e(),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.pagenums&&0===e.s_data.sliderLength||e.s_data.loading,expression:"(!pagenums && s_data.sliderLength === 0)||s_data.loading"}],staticClass:"slider-loading"},[e._t("loading")],2)])},a=[],s={render:n,staticRenderFns:a};t.a=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1}}},mounted:function(){this.renderDom()},methods:{renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(e){this.$parent&&this.$parent.onItemTransitionEnd(e)},transform:function(){var e=this.$parent.options,t=this.$parent.data,i=this.$parent.s_data;if(!(e&&t&&i&&this.$el&&"coverflow"===e.effect))return{};var n=this.index,a=i.pageWidth,s=i.pageHeight,r=this.$el.offsetWidth,o=a/2-r/2,d=o-i.deviation+"px",c=o+i.deviation+"px",l=o+"px",h={};return n===t.currentPage-1||n===this.pageLength-2&&-1===t.currentPage?(h.transform="translate3D("+d+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1","left"===t.direction?h["z-index"]="10":h["z-index"]="1"):n===t.currentPage+1||1===n&&t.currentPage===this.pageLength?(h.transform="translate3D("+c+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1","left"===t.direction?h["z-index"]="1":h["z-index"]="10"):n===t.currentPage?(h.transform="translate3D("+l+",0 ,0)",h["z-index"]="99",h.opacity="1"):(h.transform="translate3D("+l+",0 ,0)",h.opacity="0"),n===this.pageLength-1&&0===t.currentPage&&(h.transform="translate3D("+d+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1"),0===n&&t.currentPage===this.pageLength-1&&(h.transform="translate3D("+c+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==t.currentPage)&&(0!==n&&1!==n||t.currentPage!==this.pageLength)||(h.opacity="1",0===n&&(h["z-index"]="99"),n===this.pageLength-1&&(h["z-index"]="99")),h[i.prefixes.transition+"Duration"]=(i.animation?e.speed||300:0)+"ms",h.position="absolute",h}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.slideClass,style:[e.transform(e.index)],on:{"webkit-transition-end":e.onTransitionEnd,transitionend:e.onTransitionEnd}},[e._t("default")],2)},a=[],s={render:n,staticRenderFns:a};t.a=s},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.slideritem=t.slider=void 0;var a=i(3),s=n(a),r=i(4),o=n(r),d=s.default,c=o.default;t.default=d,t.slider=d,t.slideritem=c}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("vueConciseSlider",[],e):"object"==typeof exports?exports.vueConciseSlider=e():t.vueConciseSlider=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(t){delete installedChunks[t]}function i(t){var e=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=u.p+""+t+"."+w+".hot-update.js",e.appendChild(i)}function n(t){return t=t||1e4,new Promise(function(e,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,a=u.p+""+w+".hot-update.json";n.open("GET",a,!0),n.timeout=t,n.send(null)}catch(t){return i(t)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)i(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)e();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+a+" failed."));else{try{var t=JSON.parse(n.responseText)}catch(t){return void i(t)}e(t)}}})}function a(t){var e=j[t];if(!e)return u;var i=function(i){return e.hot.active?(j[i]?j[i].parents.indexOf(t)<0&&j[i].parents.push(t):(P=[t],g=i),e.children.indexOf(i)<0&&e.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+t),P=[]),u(i)};for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&"e"!==n&&Object.defineProperty(i,n,function(t){return{configurable:!0,enumerable:!0,get:function(){return u[t]},set:function(e){u[t]=e}}}(n));return i.e=function(t){function e(){L--,"prepare"===$&&(O[t]||l(t),0===L&&0===D&&h())}return"ready"===$&&r("prepare"),L++,u.e(t).then(e,function(t){throw e(),t})},i}function s(t){var e={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:g!==t,active:!0,accept:function(t,i){if(void 0===t)e._selfAccepted=!0;else if("function"==typeof t)e._selfAccepted=t;else if("object"==typeof t)for(var n=0;n<t.length;n++)e._acceptedDependencies[t[n]]=i||function(){};else e._acceptedDependencies[t]=i||function(){}},decline:function(t){if(void 0===t)e._selfDeclined=!0;else if("object"==typeof t)for(var i=0;i<t.length;i++)e._declinedDependencies[t[i]]=!0;else e._declinedDependencies[t]=!0},dispose:function(t){e._disposeHandlers.push(t)},addDisposeHandler:function(t){e._disposeHandlers.push(t)},removeDisposeHandler:function(t){var i=e._disposeHandlers.indexOf(t);i>=0&&e._disposeHandlers.splice(i,1)},check:d,apply:p,status:function(t){if(!t)return $;T.push(t)},addStatusHandler:function(t){T.push(t)},removeStatusHandler:function(t){var e=T.indexOf(t);e>=0&&T.splice(e,1)},data:b[t]};return g=void 0,e}function r(t){$=t;for(var e=0;e<T.length;e++)T[e].call(null,t)}function o(t){return+t+""===t?+t:t}function d(t){if("idle"!==$)throw new Error("check() is only allowed in idle status");return _=t,r("check"),n(x).then(function(t){if(!t)return r("idle"),null;S={},O={},C=t.c,y=t.h,r("prepare");var e=new Promise(function(t,e){v={resolve:t,reject:e}});m={};return l(1),"prepare"===$&&0===L&&0===D&&h(),e})}function c(t,e){if(C[t]&&S[t]){S[t]=!1;for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(m[i]=e[i]);0==--D&&0===L&&h()}}function l(t){C[t]?(S[t]=!0,D++,i(t)):O[t]=!0}function h(){r("ready");var t=v;if(v=null,t)if(_)Promise.resolve().then(function(){return p(_)}).then(function(e){t.resolve(e)},function(e){t.reject(e)});else{var e=[];for(var i in m)Object.prototype.hasOwnProperty.call(m,i)&&e.push(o(i));t.resolve(e)}}function p(i){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];t.indexOf(n)<0&&t.push(n)}}if("ready"!==$)throw new Error("apply() is only allowed in ready status");i=i||{};var a,s,d,c,l,h={},p=[],f={},g=function(){console.warn("[HMR] unexpected require("+_.moduleId+") to disposed module")};for(var v in m)if(Object.prototype.hasOwnProperty.call(m,v)){l=o(v);var _;_=m[v]?function(t){for(var e=[t],i={},a=e.slice().map(function(t){return{chain:[t],id:t}});a.length>0;){var s=a.pop(),r=s.id,o=s.chain;if((c=j[r])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:r};if(c.hot._main)return{type:"unaccepted",chain:o,moduleId:r};for(var d=0;d<c.parents.length;d++){var l=c.parents[d],h=j[l];if(h){if(h.hot._declinedDependencies[r])return{type:"declined",chain:o.concat([l]),moduleId:r,parentId:l};e.indexOf(l)>=0||(h.hot._acceptedDependencies[r]?(i[l]||(i[l]=[]),n(i[l],[r])):(delete i[l],e.push(l),a.push({chain:o.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:i}}(l):{type:"disposed",moduleId:v};var x=!1,E=!1,T=!1,D="";switch(_.chain&&(D="\nUpdate propagation: "+_.chain.join(" -> ")),_.type){case"self-declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(x=new Error("Aborted because of self decline: "+_.moduleId+D));break;case"declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(x=new Error("Aborted because of declined dependency: "+_.moduleId+" in "+_.parentId+D));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(_),i.ignoreUnaccepted||(x=new Error("Aborted because "+l+" is not accepted"+D));break;case"accepted":i.onAccepted&&i.onAccepted(_),E=!0;break;case"disposed":i.onDisposed&&i.onDisposed(_),T=!0;break;default:throw new Error("Unexception type "+_.type)}if(x)return r("abort"),Promise.reject(x);if(E){f[l]=m[l],n(p,_.outdatedModules);for(l in _.outdatedDependencies)Object.prototype.hasOwnProperty.call(_.outdatedDependencies,l)&&(h[l]||(h[l]=[]),n(h[l],_.outdatedDependencies[l]))}T&&(n(p,[_.moduleId]),f[l]=g)}var L=[];for(s=0;s<p.length;s++)l=p[s],j[l]&&j[l].hot._selfAccepted&&L.push({module:l,errorHandler:j[l].hot._selfAccepted});r("dispose"),Object.keys(C).forEach(function(t){!1===C[t]&&e(t)});for(var O,S=p.slice();S.length>0;)if(l=S.pop(),c=j[l]){var k={},M=c.hot._disposeHandlers;for(d=0;d<M.length;d++)(a=M[d])(k);for(b[l]=k,c.hot.active=!1,delete j[l],delete h[l],d=0;d<c.children.length;d++){var I=j[c.children[d]];I&&((O=I.parents.indexOf(l))>=0&&I.parents.splice(O,1))}}var H,z;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=j[l]))for(z=h[l],d=0;d<z.length;d++)H=z[d],(O=c.children.indexOf(H))>=0&&c.children.splice(O,1);r("apply"),w=y;for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(t[l]=f[l]);var N=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=j[l])){z=h[l];var A=[];for(s=0;s<z.length;s++)if(H=z[s],a=c.hot._acceptedDependencies[H]){if(A.indexOf(a)>=0)continue;A.push(a)}for(s=0;s<A.length;s++){a=A[s];try{a(z)}catch(t){i.onErrored&&i.onErrored({type:"accept-errored",moduleId:l,dependencyId:z[s],error:t}),i.ignoreErrored||N||(N=t)}}}for(s=0;s<L.length;s++){var R=L[s];l=R.module,P=[l];try{u(l)}catch(t){if("function"==typeof R.errorHandler)try{R.errorHandler(t)}catch(e){i.onErrored&&i.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:e,orginalError:t,originalError:t}),i.ignoreErrored||N||(N=e),N||(N=t)}else i.onErrored&&i.onErrored({type:"self-accept-errored",moduleId:l,error:t}),i.ignoreErrored||N||(N=t)}}return N?(r("fail"),Promise.reject(N)):(r("idle"),new Promise(function(t){t(p)}))}function u(e){if(j[e])return j[e].exports;var i=j[e]={i:e,l:!1,exports:{},hot:s(e),parents:(E=P,P=[],E),children:[]};return t[e].call(i.exports,i,i.exports,a(e)),i.l=!0,i.exports}var f=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(t,e){c(t,e),f&&f(t,e)};var g,v,m,y,_=!0,w="92bf65b3266610f88e66",x=1e4,b={},P=[],E=[],T=[],$="idle",D=0,L=0,O={},S={},C={},j={};return u.m=t,u.c=j,u.d=function(t,e,i){u.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="",u.h=function(){return w},a(14)(u.s=14)}([function(t,e){t.exports=function(t,e,i,n,a){var s,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(s=t,r=t.default);var d="function"==typeof r?r.options:r;e&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns),n&&(d._scopeId=n);var c;if(a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=i),c){var l=d.functional,h=l?d.render:d.beforeCreate;l?d.render=function(t,e){return c.call(e),h(t,e)}:d.beforeCreate=h?[].concat(h,c):[c]}return{esModule:s,exports:r,options:d}}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var s=this[a][0];"number"==typeof s&&(n[s]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),t.push(r))}},t}},function(t,e,i){function n(t){for(var e=0;e<t.length;e++){var i=t[e],n=l[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(s(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var r=[],a=0;a<i.parts.length;a++)r.push(s(i.parts[a]));l[i.id]={id:i.id,refs:1,parts:r}}}}function a(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function s(t){var e,i,n=document.querySelector("style["+m+'~="'+t.id+'"]');if(n){if(f)return g;n.parentNode.removeChild(n)}if(y){var s=u++;n=p||(p=a()),e=r.bind(null,n,s,!1),i=r.bind(null,n,s,!0)}else n=a(),e=o.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}function r(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=_(e,a);else{var s=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(s,r[e]):t.appendChild(s)}}function o(t,e){var i=e.css,n=e.media,a=e.sourceMap;if(n&&t.setAttribute("media",n),v.ssrId&&t.setAttribute(m,e.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var d="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!d)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=i(7),l={},h=d&&(document.head||document.getElementsByTagName("head")[0]),p=null,u=0,f=!1,g=function(){},v=null,m="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,i,a){f=i,v=a||{};var s=c(t,e);return n(s),function(e){for(var i=[],a=0;a<s.length;a++){var r=s[a],o=l[r.id];o.refs--,i.push(o)}e?(s=c(t,e),n(s)):s=[];for(var a=0;a<i.length;a++){var o=i[a];if(0===o.refs){for(var d=0;d<o.parts.length;d++)o.parts[d]();delete l[o.id]}}}};var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";function n(t){i(5)}Object.defineProperty(e,"__esModule",{value:!0});var a=i(8),s=i.n(a),r=i(11),o=i(0),d=n,c=o(s.a,r.a,d,null,null);e.default=c.exports},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(12),a=i.n(n),s=i(13),r=i(0),o=r(a.a,s.a,null,null,null);e.default=o.exports},function(t,e,i){var n=i(6);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i(2)("3066c21c",n,!0,{})},function(t,e,i){e=t.exports=i(1)(),e.push([t.i,".slider-container{margin:0 auto;overflow:hidden;z-index:1;height:100%;width:100%;position:relative;white-space:nowrap}.slider-center-center{margin:auto;z-index:1;position:absolute;top:0;left:0;right:0;bottom:0}.slider-touch{height:100%}.swiper-container-horizontal>*>.slider-wrapper{-moz-flex-direction:row;-ms-flex-direction:row;-o-flex-direction:row;flex-direction:row}.swiper-container-horizontal>*>.slider-wrapper,.swiper-container-vertical>*>.slider-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1;align-items:center}.swiper-container-vertical>*>.slider-wrapper{-moz-flex-direction:column;-ms-flex-direction:column;-o-flex-direction:column;flex-direction:column}.slider-item{flex-shrink:0;height:100%;position:relative;width:100%;align-items:center;display:flex;font-size:40px;justify-content:center;text-align:center;color:#fff}.slider-fade .slider-item{position:absolute;left:0;opacity:0}.slider-pagination{position:absolute;text-align:center;transform:translateZ(0);z-index:10}.swiper-container-horizontal>.slider-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-container-horizontal>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;display:inline-block;height:8px;opacity:.2;width:8px;cursor:pointer;margin:0 5px}.swiper-container-vertical>.slider-pagination-bullets{left:0;bottom:auto;left:auto;width:auto;right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;height:8px;opacity:.2;width:8px;cursor:pointer;display:block;margin:5px 0}.swiper-container-horizontal .slider-pagination-bullet-active,.swiper-container-vertical .slider-pagination-bullet-active{background:#fff none repeat scroll 0 0;opacity:1}.slider-loading{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.swiper-container-cursorGrab{cursor:grab}",""])},function(t,e){t.exports=function(t,e){for(var i=[],n={},a=0;a<e.length;a++){var s=e[a],r=s[0],o=s[1],d=s[2],c=s[3],l={id:t+":"+a,css:o,media:d,sourceMap:c};n[r]?n[r].parts.push(l):i.push(n[r]={id:r,parts:[l]})}return i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(9),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default={props:{options:{type:Object,default:function(){return{}}},pages:{type:Array,default:function(){return[]}}},name:"slider",data:function(){return{data:{poswidth:0,posheight:0,start:{},end:{},currentPage:this.options.currentPage||0,direction:""},s_data:{prefixes:(0,a.default)(),transitionEnding:!1,itemTransitionEnding:!1,setIntervalid:"",renderTime:"",sliderLength:0,effect:this.options.effect||"slide",direction:this.options.direction||"horizontal",tracking:!1,thresholdDistance:this.options.thresholdDistance||100,thresholdTime:this.options.thresholdTime||500,animation:!1,itemAnimation:this.options.itemAnimation||!1,loading:!1,containerClass:{"swiper-container-vertical":!1,"swiper-container-cursorGrab":this.options.grabCursor||!1},pageInit:!1,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200,currentPage:this.options.currentPage||0,pageWidth:0,pageHeight:0,sliderItem:"",pagination:void 0===this.options.pagination||this.options.pagination,nested:void 0===this.options.nested||this.options.nested,resize:void 0===this.options.resize||this.options.resize,$parent:this.judgeParentSlider(this),route:!1}}},watch:{$route:function(){var t=this;if(this.route){var e=t.data.currentPage,i=t.s_data.sliderLength;t.s_data.transitionEnding=!1,e<0?t.slide(0,"animationnone"):e>=(t.pagenums||i)?t.slide(2,"animationnone"):t.slide(e,"animationnone"),this.route=!1}else this.route=!0}},computed:{styleobj:function(){var t={};return t.transform="translate3D("+this.data.poswidth+"px,"+this.data.posheight+"px,0)",t[this.s_data.prefixes.transition+"TimingFunction"]=this.options.timingFunction||"ease",t[this.s_data.prefixes.transition+"Duration"]=(this.s_data.animation?this.options.speed||300:0)+"ms","fade"===this.s_data.effect||"coverflow"===this.s_data.effect?{}:t},pagenums:function(){return(this.pages.length||0!==this.s_data.sliderLength)&&this.s_data.pageInit,this.pages.length},currentWidth:{get:function(){if(!this.pages.length&&0===this.s_data.sliderLength||"fade"===this.s_data.effect||"coverflow"===this.s_data.effect)return 0;var t=void 0,e=this.data.currentPage,i=this.s_data.pageWidth,n=this.options.loopedSlides||1;this.options.loop&&(e+=n?n<=(this.pagenums||this.s_data.sliderLength)?n:this.pagenums||this.s_data.sliderLength:1),"coverflow"===this.options.effect&&(e-=1);for(var a in this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(t=this.$el.children[a]);var s=t.children[0].children,r=s[e].offsetLeft;this.options.loop&&(r=s[e].offsetLeft);var o=s[e].offsetWidth;return this.options.centeredSlides&&(r=r-i/2+o/2),r+i-i}},currentHeight:function(){var t=this.s_data.sliderLength,e=this.data.currentPage,i=this.pages.length,n=0,a=void 0,s=e-1,r=this.s_data.pageWidth,o=this.options.loopedSlides||1;if(!i&&0===t||"fade"===this.s_data.effect)return 0;this.options.loop&&(s=o?e+(o<=(i||t)?o:i||t)-1:e+1);for(var d in this.$el.children)/slider-touch/gi.test(this.$el.children[d].className)&&(a=this.$el.children[d]);var c=a.children[0].children;for(var l in c)l<=s&&(n+=c[l].offsetHeight,n+=parseInt(c[l].style.marginTop||0),n+=parseInt(c[l].style.marginBottom||0));return n+r-r},classObject:function(){var t={};switch(this.options.effect){case"fade":t={"slider-fade":!0}}return t}},mounted:function(){var t=this,e=this;this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.$emit("init",this.data),this.$on("slideTo",function(e){t.slide(e)}),this.$on("slideNext",function(){t.next()}),this.$on("slidePre",function(){t.pre()}),this.$on("autoplayStart",function(i){t.options.autoplay=i||t.options.autoplay||1e3,t.clock().begin(e)}),this.$on("autoplayStop",function(){t.options.autoplay=0,t.clock().stop(e)}),this.$on("loadingShow",function(){t.s_data.loading=!0}),this.$on("loadingHide",function(){t.s_data.loading=!1}),this.options.autoplay&&this.clock().begin(e),"vertical"===this.options.direction?this.s_data.containerClass["swiper-container-vertical"]=!0:this.s_data.containerClass["swiper-container-horizontal"]=!0,this.s_data.resize&&window.addEventListener("resize",function(){e.s_data.pageWidth=e.$el.offsetWidth,e.s_data.pageHeight=e.$el.offsetHeight,e.slide(e.data.currentPage,"animationnone")})},methods:{swipeStart:function(t){var e=this;if(this.s_data.e=t,!(this.s_data.transitionEnding||this.s_data.itemTransitionEnding&&this.options.itemAnimation))if(this.s_data.animation=!1,this.options.autoplay&&this.clock().stop(e),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",e.preventDefault(t)),"touchstart"===t.type){if(t.touches.length>1)return this.s_data.tracking=!1,!1;this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.targetTouches[0].clientX,this.data.start.y=t.targetTouches[0].clientY,this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY}else this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.clientX,this.data.start.y=t.clientY,this.data.end.x=t.clientX,this.data.end.y=t.clientY},swipeMove:function(t){if(this.s_data.e=t,this.s_data.tracking){var e=this.s_data.effect,i=this.s_data.$parent;"touchmove"===t.type?(this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY):(this.data.end.x=t.clientX,this.data.end.y=t.clientY);var n=Math.abs(this.data.end.x-this.data.start.x),a=Math.abs(this.data.end.y-this.data.start.y);if(n>=a&&"vertical"!==this.options.direction?t.preventDefault():n<=a&&"vertical"===this.options.direction&&t.preventDefault(),i&&i.s_data.direction===this.s_data.direction&&t.stopPropagation(),"fade"===e||"coverflow"===e)return;if("vertical"===this.options.direction){if(n>a)return;i&&"vertical"===i.options.direction&&0===this.data.currentPage&&this.data.end.y-this.data.start.y>=0&&i.s_data.nested?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:i&&"vertical"===i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.y-this.data.start.y<=0&&i.s_data.nested?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y}else{if(n<a)return;i&&"vertical"!==i.options.direction&&0===this.data.currentPage&&this.data.end.x-this.data.start.x>=0&&i.s_data.nested?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:i&&"vertical"!==i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.x-this.data.start.x<=0&&i.s_data.nested?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x}}},swipeEnd:function(t){this.s_data.e=t,this.s_data.tracking=!1;var e=(new Date).getTime(),i=e-this.data.start.t,n=this.data.end.x-this.data.start.x,a=this.data.end.y-this.data.start.y,s=this.s_data.thresholdDistance,r=this.data.currentPage;if(this.options.autoplay){var o=this;setTimeout(function(){o.clock().begin(o)},this.options.autoplay)}if(!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(t)),i>this.s_data.thresholdTime)return this.slide(r),!1;if("vertical"!==this.options.direction){if(n>s&&Math.abs(a)<s)return this.pre(),!1;if(-n>s&&Math.abs(a)<s)return this.next(),!1;if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return this.slide(r),!1;this.$emit("tap",this.data),this.slide(r)}else{if(a>s&&Math.abs(n)<s)return this.pre(),!1;if(-a>s&&Math.abs(n)<s)return this.next(),!1;if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return this.slide(r),!1;this.$emit("tap",this.data),this.slide(r)}},swipeOut:function(t){this.$el===t.target&&this.s_data.tracking&&this.swipeEnd(t)},pre:function(){this.data.direction="left";var t=this.s_data.sliderLength,e=this.options.slidesToScroll,i=this.s_data.$parent;this.data.currentPage>=1?(this.data.currentPage-=e||1,this.slide()):!this.options.loop||0!==this.data.currentPage||i&&i.s_data.nested?i&&0===this.data.currentPage&&i.s_data.nested?(i.pre(),this.slide()):this.slide():(this.data.currentPage-=e||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage<0&&"fade"===this.s_data.effect?(this.slide((this.pagenums||t)-1),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide())},next:function(){this.data.direction="right";var t=this.s_data.sliderLength,e=this.s_data.$parent;if(this.data.currentPage<(this.pagenums||t)-1)this.data.currentPage+=this.options.slidesToScroll||1,this.slide();else if(!this.options.loop||this.data.currentPage!==(this.pagenums||t)-1||e&&e.s_data.nested)if(e&&this.data.currentPage===(this.pagenums||t)-1&&e.s_data.nested){var i=this.s_data.$parent;i.next(),this.slide()}else this.slide();else this.data.currentPage+=this.options.slidesToScroll||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage>=(this.pagenums||t)&&"fade"===this.s_data.effect?(this.slide(0),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()},slide:function(t,e){if(this.s_data.animation=!0,"animationnone"===e&&(this.s_data.animation=!1),(t||0===t)&&(this.data.currentPage=t),this.$emit("slide",this.data),"fade"===this.s_data.effect)return void(this.pagenums||this.fadeDom());if("vertical"===this.options.direction?this.data.posheight=-this.currentHeight:this.data.poswidth=-this.currentWidth,this.s_data.sliderLength){var i=this.$el.getElementsByClassName("slider-wrapper")[0],n=Array.prototype.slice.call(i.children),a=n.filter(function(t){return-1!==t.className.indexOf("slider-item")}),s=n.filter(function(t){return-1!==t.className.indexOf("slider-active-copy")}),r=this.options.loopedSlides||1,o=this.s_data.sliderLength,d=this.$children,c=this.data.currentPage;if(d=d.filter(function(t){return"slideritem"===t.$options._componentTag}),d.forEach(function(t){t.removeActive()}),"nest"===this.options.effect)return;if(d[c]&&d[c].addActive(),c<0||c>=(this.pagenums||o)){a[c+r]&&a[c+r].classList&&a[c+r].classList.add("slider-active-copy");d[c<0?(this.pagenums||o)+c:0+c-(this.pagenums||o)].addActive()}else for(var l=0;l<s.length;l++){var h=s[l];h.classList.remove("slider-active-copy")}}return!(this.data.currentPage<0||this.data.currentPage>=(this.pagenums||this.s_data.sliderLength))&&void 0},clock:function(){return{begin:function(t){t.s_data.setIntervalid||0!==t.options.autoplay&&(t.s_data.setIntervalid=setInterval(function(){t.next(),t.data.currentPage!==(t.pagenums||t.s_data.sliderLength)-1||t.options.loop||(clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0)},t.options.autoplay))},stop:function(t){clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0}}},preventDefault:function(t){t.preventDefault()},onTransitionEnd:function(t,e){if("route"===e||t.target===t.currentTarget||"coverflow"===this.options.effect){if("route"===e){var i=this.data.currentPage,n=this.s_data.sliderLength;i<0?this.slide((this.pagenums||n)+i,"animationnone"):i>=(this.pagenums||n)&&this.slide(0+i-(this.pagenums||n),"animationnone")}var a=this;setTimeout(function(){var t=a.data.currentPage,e=a.s_data.sliderLength;a.options.loop&&""!==a.s_data.effect&&(a.s_data.transitionEnding=!1,t<0?a.slide((a.pagenums||e)+t,"animationnone"):t>=(a.pagenums||e)&&a.slide(0+t-(a.pagenums||e),"animationnone"))},0)}},onItemTransitionEnd:function(t){if(t.target===t.currentTarget){var e=this;setTimeout(function(){e.s_data.itemTransitionEnding=!1},0)}},renderDom:function(t){var e=this;this.s_data.renderTime&&clearTimeout(this.s_data.renderTime),e.s_data.sliderLength+=1,e.s_data.sliderLength>=1&&"fade"===e.options.effect&&(t.previousSibling?t.style["z-index"]=99-e.s_data.sliderLength:t.style["z-index"]=99+e.s_data.sliderLength),this.s_data.renderTime=setTimeout(function(){e.s_data.renderTime=void 0;var t=e.$el.getElementsByClassName("slider-wrapper")[0],i=Array.prototype.slice.call(t.children),n=i.filter(function(t){return-1!==t.className.indexOf("slider-item")});if(e.s_data.sliderLength>=1&&e.options.loop&&"fade"!==e.options.effect&&"coverflow"!==e.options.effect){for(var a=t.getElementsByClassName("slider-copy"),s=a.length-1;s>=0;s--)t.removeChild(a[s]);n=Array.prototype.slice.call(t.children).filter(function(t){return-1!==t.className.indexOf("slider-item")});for(var r=n.length,o=e.options.loopedSlides||1,d=0;d<r;d++){if(d+o-r>=0){var c=n[d+0].cloneNode(!0);c.classList.add("slider-copy"),c.classList.remove("slider-active"),t.insertBefore(c,n[0])}if(d-o<0){var l=n[d].cloneNode(!0);l.classList.add("slider-copy"),l.classList.remove("slider-active"),t.appendChild(l)}}}e.$nextTick(function(){e.slide(e.data.currentPage,"animationnone")})},0)},fadeDom:function(){for(var t=this.data.currentPage,e=this.$el.getElementsByClassName("slider-wrapper")[0],i=e.getElementsByClassName("slider-item"),n=this.options.speed,a=0;a<i.length;a++)a===t||a===t+1?(i[a].style.opacity="1",i[a].style["transition-property"]="opacity",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms"):(i[a].style.opacity="0",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms")},judgeParentSlider:function(t){return t.$parent&&t.$parent.$vnode&&"vue-component-1-slider"===t.$parent.$vnode.tag?t.$parent:(!t.$parent||void 0!==t.$parent.$vnode)&&this.judgeParentSlider(t.$parent)}},components:{renderpagination:{render:function(t){var e=this.index;return this.options.renderPagination.call(this,t,e)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}}},function(t,e,i){"use strict";(function(t){function i(){var e=void 0,i=void 0,n=void 0,a=void 0;return function(){var s=document.createElement("_"),r=s.style,o=void 0;""===r[o="webkitTransition"]&&(n="webkitTransitionEnd",i=o),""===r[o="transition"]&&(n="transitionend",i=o),""===r[o="webkitTransform"]&&(e=o),""===r[o="msTransform"]&&(e=o),""===r[o="transform"]&&(e=o),document.body.insertBefore(s,null),r[e]="translate3d(0, 0, 0)",a=!!t.getComputedStyle(s).getPropertyValue(e),document.body.removeChild(s)}(),{transform:e,transition:i,transitionEnd:n,hasTranslate3d:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i}).call(e,i(10))},function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-container",class:t.s_data.containerClass,on:{mouseleave:t.swipeOut}},[i("div",{staticClass:"slider-touch",style:t.styleobj,on:{touchmove:t.swipeMove,touchstart:t.swipeStart,touchend:t.swipeEnd,mousedown:t.swipeStart,mouseup:t.swipeEnd,mousemove:t.swipeMove,"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd,transitioncancel:t.onTransitionEnd,"webkit-transition-cancel":t.onTransitionEnd}},[0===t.pages.length?i("div",{staticClass:"slider-wrapper",class:t.classObject},[t._t("default")],2):t._e()]),t._v(" "),t.s_data.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[t._l(t.pagenums||t.s_data.sliderLength,function(e){return[t.options.renderPagination?t._e():i("span",{key:e,staticClass:"slider-pagination-bullet",class:e-1===t.data.currentPage?"slider-pagination-bullet-active":"",on:{click:function(i){t.slide(e-1)}}}),t._v(" "),t.options.renderPagination?i("renderpagination",{key:e,class:e-1===t.data.currentPage?"slider-pagination-bullet-active-render":"",attrs:{index:e,options:t.options},nativeOn:{click:function(i){t.slide(e-1)}}}):t._e()]})],2):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.pagenums&&0===t.s_data.sliderLength||t.s_data.loading,expression:"(!pagenums && s_data.sliderLength === 0)||s_data.loading"}],staticClass:"slider-loading"},[t._t("loading")],2)])},a=[],s={render:n,staticRenderFns:a};e.a=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1}}},mounted:function(){this.renderDom()},methods:{renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(t){this.$parent&&this.$parent.onItemTransitionEnd(t)},transform:function(){var t=this.$parent.options,e=this.$parent.data,i=this.$parent.s_data;if(!(t&&e&&i&&this.$el&&"coverflow"===t.effect))return{};var n=this.index,a=i.pageWidth,s=this.$el.offsetWidth,r=a/2-s/2,o=r-i.deviation+"px",d=r+i.deviation+"px",c=r+"px",l={};return n===e.currentPage-1||n===this.pageLength-2&&-1===e.currentPage?(l.transform="translate3D("+o+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1","left"===e.direction?l["z-index"]="10":l["z-index"]="1"):n===e.currentPage+1||1===n&&e.currentPage===this.pageLength?(l.transform="translate3D("+d+",0 ,0)",l.transform="translate3D("+d+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1","left"===e.direction?l["z-index"]="1":l["z-index"]="10"):n===e.currentPage?(l.transform="translate3D("+c+",0 ,0) scale3d(1,1,1)",l["z-index"]="99",l.opacity="1"):(l.transform="translate3D("+c+",0 ,0)",l.opacity="0"),n===this.pageLength-1&&0===e.currentPage&&(l.transform="translate3D("+o+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1"),0===n&&e.currentPage===this.pageLength-1&&(l.transform="translate3D("+d+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==e.currentPage)&&(0!==n&&1!==n||e.currentPage!==this.pageLength)||(l.opacity="1",0===n&&(l["z-index"]="99"),n===this.pageLength-1&&(l["z-index"]="99")),l[i.prefixes.transition+"Duration"]=(i.animation?t.speed||300:0)+"ms",l.position="absolute",l}}}},function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.slideClass,style:[t.transform(t.index)],on:{"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd}},[t._t("default")],2)},a=[],s={render:n,staticRenderFns:a};e.a=s},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.slideritem=e.slider=void 0;var a=i(3),s=n(a),r=i(4),o=n(r),d=s.default,c=o.default;e.default=d,e.slider=d,e.slideritem=c}])});

@@ -348,2 +348,15 @@ ## pages

### nested
- Type:`boolean`
- Default:`true`
When nesting the same direction of the swiper, when the child swiper is switched, the parent swiper will switch.
```html
{
nested: false
}
```
## Transitive events

@@ -350,0 +363,0 @@

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("vueConciseSlider",[],t):"object"==typeof exports?exports.vueConciseSlider=t():e.vueConciseSlider=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(e){delete installedChunks[e]}function i(e){var t=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=u.p+""+e+"."+x+".hot-update.js",t.appendChild(i)}function n(e){return e=e||1e4,new Promise(function(t,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,a=u.p+""+x+".hot-update.json";n.open("GET",a,!0),n.timeout=e,n.send(null)}catch(e){return i(e)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)i(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)t();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+a+" failed."));else{try{var e=JSON.parse(n.responseText)}catch(e){return void i(e)}t(e)}}})}function a(e){var t=$[e];if(!t)return u;var i=function(i){return t.hot.active?($[i]?$[i].parents.indexOf(e)<0&&$[i].parents.push(e):(E=[e],g=i),t.children.indexOf(i)<0&&t.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+e),E=[]),u(i)};for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&"e"!==n&&Object.defineProperty(i,n,function(e){return{configurable:!0,enumerable:!0,get:function(){return u[e]},set:function(t){u[e]=t}}}(n));return i.e=function(e){function t(){S--,"prepare"===D&&(L[e]||l(e),0===S&&0===C&&h())}return"ready"===D&&r("prepare"),S++,u.e(e).then(t,function(e){throw t(),e})},i}function s(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:g!==e,active:!0,accept:function(e,i){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var n=0;n<e.length;n++)t._acceptedDependencies[e[n]]=i||function(){};else t._acceptedDependencies[e]=i||function(){}},decline:function(e){if(void 0===e)t._selfDeclined=!0;else if("object"==typeof e)for(var i=0;i<e.length;i++)t._declinedDependencies[e[i]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var i=t._disposeHandlers.indexOf(e);i>=0&&t._disposeHandlers.splice(i,1)},check:d,apply:p,status:function(e){if(!e)return D;T.push(e)},addStatusHandler:function(e){T.push(e)},removeStatusHandler:function(e){var t=T.indexOf(e);t>=0&&T.splice(t,1)},data:w[e]};return g=void 0,t}function r(e){D=e;for(var t=0;t<T.length;t++)T[t].call(null,e)}function o(e){return+e+""===e?+e:e}function d(e){if("idle"!==D)throw new Error("check() is only allowed in idle status");return _=e,r("check"),n(b).then(function(e){if(!e)return r("idle"),null;O={},L={},j=e.c,y=e.h,r("prepare");var t=new Promise(function(e,t){v={resolve:e,reject:t}});m={};return l(1),"prepare"===D&&0===S&&0===C&&h(),t})}function c(e,t){if(j[e]&&O[e]){O[e]=!1;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(m[i]=t[i]);0==--C&&0===S&&h()}}function l(e){j[e]?(O[e]=!0,C++,i(e)):L[e]=!0}function h(){r("ready");var e=v;if(v=null,e)if(_)Promise.resolve().then(function(){return p(_)}).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var i in m)Object.prototype.hasOwnProperty.call(m,i)&&t.push(o(i));e.resolve(t)}}function p(i){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];e.indexOf(n)<0&&e.push(n)}}if("ready"!==D)throw new Error("apply() is only allowed in ready status");i=i||{};var a,s,d,c,l,h={},p=[],f={},g=function(){console.warn("[HMR] unexpected require("+_.moduleId+") to disposed module")};for(var v in m)if(Object.prototype.hasOwnProperty.call(m,v)){l=o(v);var _;_=m[v]?function(e){for(var t=[e],i={},a=t.slice().map(function(e){return{chain:[e],id:e}});a.length>0;){var s=a.pop(),r=s.id,o=s.chain;if((c=$[r])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:r};if(c.hot._main)return{type:"unaccepted",chain:o,moduleId:r};for(var d=0;d<c.parents.length;d++){var l=c.parents[d],h=$[l];if(h){if(h.hot._declinedDependencies[r])return{type:"declined",chain:o.concat([l]),moduleId:r,parentId:l};t.indexOf(l)>=0||(h.hot._acceptedDependencies[r]?(i[l]||(i[l]=[]),n(i[l],[r])):(delete i[l],t.push(l),a.push({chain:o.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:i}}(l):{type:"disposed",moduleId:v};var b=!1,P=!1,T=!1,C="";switch(_.chain&&(C="\nUpdate propagation: "+_.chain.join(" -> ")),_.type){case"self-declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(b=new Error("Aborted because of self decline: "+_.moduleId+C));break;case"declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(b=new Error("Aborted because of declined dependency: "+_.moduleId+" in "+_.parentId+C));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(_),i.ignoreUnaccepted||(b=new Error("Aborted because "+l+" is not accepted"+C));break;case"accepted":i.onAccepted&&i.onAccepted(_),P=!0;break;case"disposed":i.onDisposed&&i.onDisposed(_),T=!0;break;default:throw new Error("Unexception type "+_.type)}if(b)return r("abort"),Promise.reject(b);if(P){f[l]=m[l],n(p,_.outdatedModules);for(l in _.outdatedDependencies)Object.prototype.hasOwnProperty.call(_.outdatedDependencies,l)&&(h[l]||(h[l]=[]),n(h[l],_.outdatedDependencies[l]))}T&&(n(p,[_.moduleId]),f[l]=g)}var S=[];for(s=0;s<p.length;s++)l=p[s],$[l]&&$[l].hot._selfAccepted&&S.push({module:l,errorHandler:$[l].hot._selfAccepted});r("dispose"),Object.keys(j).forEach(function(e){!1===j[e]&&t(e)});for(var L,O=p.slice();O.length>0;)if(l=O.pop(),c=$[l]){var k={},M=c.hot._disposeHandlers;for(d=0;d<M.length;d++)(a=M[d])(k);for(w[l]=k,c.hot.active=!1,delete $[l],delete h[l],d=0;d<c.children.length;d++){var I=$[c.children[d]];I&&((L=I.parents.indexOf(l))>=0&&I.parents.splice(L,1))}}var H,N;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l]))for(N=h[l],d=0;d<N.length;d++)H=N[d],(L=c.children.indexOf(H))>=0&&c.children.splice(L,1);r("apply"),x=y;for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(e[l]=f[l]);var R=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l])){N=h[l];var A=[];for(s=0;s<N.length;s++)if(H=N[s],a=c.hot._acceptedDependencies[H]){if(A.indexOf(a)>=0)continue;A.push(a)}for(s=0;s<A.length;s++){a=A[s];try{a(N)}catch(e){i.onErrored&&i.onErrored({type:"accept-errored",moduleId:l,dependencyId:N[s],error:e}),i.ignoreErrored||R||(R=e)}}}for(s=0;s<S.length;s++){var z=S[s];l=z.module,E=[l];try{u(l)}catch(e){if("function"==typeof z.errorHandler)try{z.errorHandler(e)}catch(t){i.onErrored&&i.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:t,orginalError:e,originalError:e}),i.ignoreErrored||R||(R=t),R||(R=e)}else i.onErrored&&i.onErrored({type:"self-accept-errored",moduleId:l,error:e}),i.ignoreErrored||R||(R=e)}}return R?(r("fail"),Promise.reject(R)):(r("idle"),new Promise(function(e){e(p)}))}function u(t){if($[t])return $[t].exports;var i=$[t]={i:t,l:!1,exports:{},hot:s(t),parents:(P=E,E=[],P),children:[]};return e[t].call(i.exports,i,i.exports,a(t)),i.l=!0,i.exports}var f=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(e,t){c(e,t),f&&f(e,t)};var g,v,m,y,_=!0,x="2fad4cc9b71801ab9a2d",b=1e4,w={},E=[],P=[],T=[],D="idle",C=0,S=0,L={},O={},j={},$={};return u.m=e,u.c=$,u.d=function(e,t,i){u.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.h=function(){return x},a(14)(u.s=14)}([function(e,t){e.exports=function(e,t,i,n,a){var s,r=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(s=e,r=e.default);var d="function"==typeof r?r.options:r;t&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns),n&&(d._scopeId=n);var c;if(a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=i),c){var l=d.functional,h=l?d.render:d.beforeCreate;l?d.render=function(e,t){return c.call(t),h(e,t)}:d.beforeCreate=h?[].concat(h,c):[c]}return{esModule:s,exports:r,options:d}}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var i=this[t];i[2]?e.push("@media "+i[2]+"{"+i[1]+"}"):e.push(i[1])}return e.join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var s=this[a][0];"number"==typeof s&&(n[s]=!0)}for(a=0;a<t.length;a++){var r=t[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},function(e,t,i){function n(e){for(var t=0;t<e.length;t++){var i=e[t],n=l[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(s(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var r=[],a=0;a<i.parts.length;a++)r.push(s(i.parts[a]));l[i.id]={id:i.id,refs:1,parts:r}}}}function a(){var e=document.createElement("style");return e.type="text/css",h.appendChild(e),e}function s(e){var t,i,n=document.querySelector("style["+m+'~="'+e.id+'"]');if(n){if(f)return g;n.parentNode.removeChild(n)}if(y){var s=u++;n=p||(p=a()),t=r.bind(null,n,s,!1),i=r.bind(null,n,s,!0)}else n=a(),t=o.bind(null,n),i=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else i()}}function r(e,t,i,n){var a=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=_(t,a);else{var s=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(s,r[t]):e.appendChild(s)}}function o(e,t){var i=t.css,n=t.media,a=t.sourceMap;if(n&&e.setAttribute("media",n),v.ssrId&&e.setAttribute(m,t.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var d="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!d)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=i(7),l={},h=d&&(document.head||document.getElementsByTagName("head")[0]),p=null,u=0,f=!1,g=function(){},v=null,m="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,i,a){f=i,v=a||{};var s=c(e,t);return n(s),function(t){for(var i=[],a=0;a<s.length;a++){var r=s[a],o=l[r.id];o.refs--,i.push(o)}t?(s=c(e,t),n(s)):s=[];for(var a=0;a<i.length;a++){var o=i[a];if(0===o.refs){for(var d=0;d<o.parts.length;d++)o.parts[d]();delete l[o.id]}}}};var _=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\n")}}()},function(e,t,i){"use strict";function n(e){i(5)}Object.defineProperty(t,"__esModule",{value:!0});var a=i(8),s=i.n(a),r=i(11),o=i(0),d=n,c=o(s.a,r.a,d,null,null);t.default=c.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12),a=i.n(n),s=i(13),r=i(0),o=r(a.a,s.a,null,null,null);t.default=o.exports},function(e,t,i){var n=i(6);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(2)("3066c21c",n,!0,{})},function(e,t,i){t=e.exports=i(1)(),t.push([e.i,".slider-container{margin:0 auto;overflow:hidden;z-index:1;height:100%;width:100%;position:relative;white-space:nowrap}.slider-center-center{margin:auto;z-index:1;position:absolute;top:0;left:0;right:0;bottom:0}.slider-touch{height:100%}.slider-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1;align-items:center}.swiper-container-vertical .slider-wrapper{-moz-flex-direction:column;-ms-flex-direction:column;-o-flex-direction:column;flex-direction:column}.slider-item{flex-shrink:0;height:100%;position:relative;width:100%;align-items:center;display:flex;font-size:40px;justify-content:center;text-align:center;color:#fff}.slider-fade .slider-item{position:absolute;left:0;opacity:0}.slider-pagination{position:absolute;text-align:center;transform:translateZ(0);z-index:10}.slider-pagination-bullets{bottom:10px;left:0;width:100%}.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;display:inline-block;height:8px;opacity:.2;width:8px;cursor:pointer;margin:0 5px}.swiper-container-vertical .slider-pagination-bullets{bottom:auto;left:auto;width:auto;right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical .slider-pagination-bullet{display:block;margin:5px 0}.slider-pagination-bullet-active{background:#fff none repeat scroll 0 0;opacity:1}.slider-loading{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.swiper-container-cursorGrab{cursor:grab}",""])},function(e,t){e.exports=function(e,t){for(var i=[],n={},a=0;a<t.length;a++){var s=t[a],r=s[0],o=s[1],d=s[2],c=s[3],l={id:e+":"+a,css:o,media:d,sourceMap:c};n[r]?n[r].parts.push(l):i.push(n[r]={id:r,parts:[l]})}return i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={props:{options:{type:Object,default:function(){return{}}},pages:{type:Array,default:function(){return[]}}},name:"slider",data:function(){return{data:{poswidth:"0",posheight:"0",start:{},end:{},currentPage:this.options.currentPage||0,direction:""},s_data:{prefixes:(0,a.default)(),transitionEnding:!1,itemTransitionEnding:!1,setIntervalid:"",renderTime:"",sliderLength:0,effect:this.options.effect||"slide",tracking:!1,thresholdDistance:this.options.thresholdDistance||100,thresholdTime:this.options.thresholdTime||500,animation:!1,itemAnimation:this.options.itemAnimation||!1,loading:!1,containerClass:{"swiper-container-vertical":!1,"swiper-container-cursorGrab":this.options.grabCursor||!1},pageInit:!1,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200,currentPage:this.options.currentPage||0,pageWidth:0,pageHeight:0,sliderItem:"",pagination:void 0===this.options.pagination||this.options.pagination}}},computed:{styleobj:function(){var e={};return e.transform="translate3D("+this.data.poswidth+","+this.data.posheight+",0)",e[this.s_data.prefixes.transition+"TimingFunction"]=this.options.timingFunction||"ease",e[this.s_data.prefixes.transition+"Duration"]=(this.s_data.animation?this.options.speed||300:0)+"ms","fade"===this.s_data.effect||"coverflow"===this.s_data.effect?{}:e},pagenums:function(){return!this.pages.length&&0===this.s_data.sliderLength||this.s_data.pageInit||(this.s_data.pageInit=!0),this.pages.length},currentWidth:{get:function(){if(!this.pages.length&&0===this.s_data.sliderLength||"fade"===this.s_data.effect||"coverflow"===this.s_data.effect)return 0;var e=void 0,t=this.data.currentPage,i=this.s_data.pageWidth,n=this.options.loopedSlides||1;this.options.loop&&(t+=n?n<=(this.pagenums||this.s_data.sliderLength)?n:this.pagenums||this.s_data.sliderLength:1),"coverflow"===this.options.effect&&(t-=1);for(var a in this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(e=this.$el.children[a]);var s=e.children[0].children,r=s[t].offsetLeft;this.options.loop&&(r=s[t].offsetLeft);var o=s[t].offsetWidth;return this.options.centeredSlides&&(r=r-i/2+o/2),r+i-i}},currentHeight:function(){var e=this.s_data.sliderLength,t=this.data.currentPage,i=this.pages.length,n=0,a=void 0,s=t-1,r=this.s_data.pageWidth,o=this.options.loopedSlides||1;if(!i&&0===e||"fade"===this.s_data.effect)return 0;this.options.loop&&(s=o?t+(o<=(i||e)?o:i||e)-1:t+1);for(var d in this.$el.children)/slider-touch/gi.test(this.$el.children[d].className)&&(a=this.$el.children[d]);var c=a.children[0].children;for(var l in c)l<=s&&(n+=c[l].offsetHeight,n+=parseInt(c[l].style.marginTop||0),n+=parseInt(c[l].style.marginBottom||0));return n+r-r},classObject:function(){var e={};switch(this.options.effect){case"fade":e={"slider-fade":!0}}return e}},mounted:function(){var e=this,t=this;this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.$emit("init",this.data),this.$on("slideTo",function(t){e.slide(t)}),this.$on("slideNext",function(){e.next()}),this.$on("slidePre",function(){e.pre()}),this.$on("autoplayStart",function(i){e.options.autoplay=i||e.options.autoplay||1e3,e.clock().begin(t)}),this.$on("autoplayStop",function(){e.options.autoplay=0,e.clock().stop(t)}),this.$on("loadingShow",function(){e.s_data.loading=!0}),this.$on("loadingHide",function(){e.s_data.loading=!1}),this.options.autoplay&&this.clock().begin(t),"vertical"===this.options.direction&&(this.s_data.containerClass["swiper-container-vertical"]=!0),window.addEventListener("resize",function(){t.s_data.pageWidth=t.$el.offsetWidth,t.s_data.pageHeight=t.$el.offsetHeight,t.slide(t.data.currentPage,"animationnone")})},methods:{swipeStart:function(e){var t=this;if(!(this.s_data.transitionEnding||this.s_data.itemTransitionEnding&&this.options.itemAnimation))if(this.s_data.animation=!1,this.options.autoplay&&this.clock().stop(t),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",t.preventDefault(e)),"touchstart"===e.type){if(e.touches.length>1)return void(this.s_data.tracking=!1);this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=e.targetTouches[0].clientX,this.data.start.y=e.targetTouches[0].clientY,this.data.end.x=e.targetTouches[0].clientX,this.data.end.y=e.targetTouches[0].clientY}else this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=e.clientX,this.data.start.y=e.clientY,this.data.end.x=e.clientX,this.data.end.y=e.clientY},swipeMove:function(e){if(this.s_data.tracking){var t=this.s_data.effect;"touchmove"===e.type?(this.data.end.x=e.targetTouches[0].clientX,this.data.end.y=e.targetTouches[0].clientY):(this.data.end.x=e.clientX,this.data.end.y=e.clientY);var i=Math.abs(this.data.end.x-this.data.start.x),n=Math.abs(this.data.end.y-this.data.start.y);if(i>=n&&"vertical"!==this.options.direction?e.preventDefault():i<=n&&"vertical"===this.options.direction&&e.preventDefault(),"fade"===t||"coverflow"===t)return;if(console.log(this),"vertical"===this.options.direction){if(i>n)return;this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y+"px"}else{if(i<n)return;this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x+"px"}}},swipeEnd:function(e){this.s_data.tracking=!1;var t=(new Date).getTime(),i=t-this.data.start.t,n=this.data.end.x-this.data.start.x,a=this.data.end.y-this.data.start.y,s=this.s_data.thresholdDistance,r=this.data.currentPage;if(this.options.autoplay){var o=this;setTimeout(function(){o.clock().begin(o)},this.options.autoplay)}if(!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(e)),i>this.s_data.thresholdTime)return void this.slide(r);if("vertical"!==this.options.direction){if(n>s&&Math.abs(a)<s)return void this.pre();if(-n>s&&Math.abs(a)<s)return void this.next();if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return void this.slide(r);this.$emit("tap",this.data),this.slide(r)}else{if(a>s&&Math.abs(n)<s)return void this.pre();if(-a>s&&Math.abs(n)<s)return void this.next();if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return void this.slide(r);this.$emit("tap",this.data),this.slide(r)}},swipeOut:function(e){this.$el===e.target&&this.s_data.tracking&&this.swipeEnd(e)},pre:function(){this.data.direction="left";var e=this.s_data.sliderLength,t=this.options.slidesToScroll;this.data.currentPage>=1?(this.data.currentPage-=t||1,this.slide()):this.options.loop&&0===this.data.currentPage?(this.data.currentPage-=t||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage<0&&"fade"===this.s_data.effect?(this.slide((this.pagenums||e)-1),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()):this.slide()},next:function(){this.data.direction="right";var e=this.s_data.sliderLength;this.data.currentPage<(this.pagenums||e)-1?(this.data.currentPage+=this.options.slidesToScroll||1,this.slide()):this.options.loop&&this.data.currentPage===(this.pagenums||e)-1?(this.data.currentPage+=this.options.slidesToScroll||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage>=(this.pagenums||e)&&"fade"===this.s_data.effect?(this.slide(0),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()):this.slide()},slide:function(e,t){if(this.s_data.animation=!0,"animationnone"===t&&(this.s_data.animation=!1),(e||0===e)&&(this.data.currentPage=e),this.$emit("slide",this.data),"fade"===this.s_data.effect)return void(this.pagenums||this.fadeDom());if("vertical"===this.options.direction?this.data.posheight=-this.currentHeight+"px":this.data.poswidth=-this.currentWidth+"px",this.s_data.sliderLength){var i=this.$el.getElementsByClassName("slider-wrapper")[0],n=i.getElementsByClassName("slider-item"),a=i.getElementsByClassName("slider-active-copy"),s=this.options.loopedSlides||1,r=this.s_data.sliderLength,o=this.$children,d=this.data.currentPage;if(o=o.filter(function(e){return"slideritem"===e.$options._componentTag}),o.forEach(function(e){e.removeActive()}),o[d]&&o[d].addActive(),d<0||d>=(this.pagenums||r)){n[d+s]&&n[d+s].classList&&n[d+s].classList.add("slider-active-copy");o[d<0?(this.pagenums||r)+d:0+d-(this.pagenums||r)].addActive()}else for(var c=0;c<a.length;c++){var l=a[c];l.classList.remove("slider-active-copy")}}this.data.currentPage<0||(this.data.currentPage,this.pagenums||this.s_data.sliderLength)},clock:function(){return{begin:function(e){e.s_data.setIntervalid||0!==e.options.autoplay&&(e.s_data.setIntervalid=setInterval(function(){e.next(),e.data.currentPage!==(e.pagenums||e.s_data.sliderLength)-1||e.options.loop||(clearInterval(e.s_data.setIntervalid),e.s_data.setIntervalid=0)},e.options.autoplay))},stop:function(e){clearInterval(e.s_data.setIntervalid),e.s_data.setIntervalid=0}}},preventDefault:function(e){e.preventDefault()},onTransitionEnd:function(e){if(e.target===e.currentTarget||"coverflow"===this.options.effect){var t=this;setTimeout(function(){var e=t.data.currentPage,i=t.s_data.sliderLength;t.options.loop&&""!==t.s_data.effect&&(t.s_data.transitionEnding=!1,e<0?t.slide((t.pagenums||i)+e,"animationnone"):e>=(t.pagenums||i)&&t.slide(0+e-(t.pagenums||i),"animationnone"))},0)}},onItemTransitionEnd:function(e){if(e.target===e.currentTarget){var t=this;setTimeout(function(){t.s_data.itemTransitionEnding=!1},0)}},renderDom:function(e){var t=this;this.s_data.renderTime&&clearTimeout(this.s_data.renderTime),t.s_data.sliderLength+=1,t.s_data.sliderLength>=1&&"fade"===t.options.effect&&(e.previousSibling?e.style["z-index"]=99-t.s_data.sliderLength:e.style["z-index"]=99+t.s_data.sliderLength),this.s_data.renderTime=setTimeout(function(){t.s_data.renderTime=void 0;var e=t.$el.getElementsByClassName("slider-wrapper")[0],i=e.getElementsByClassName("slider-item");if(t.s_data.sliderLength>=1&&t.options.loop&&"fade"!==t.options.effect&&"coverflow"!==t.options.effect){for(var n=e.getElementsByClassName("slider-copy"),a=n.length-1;a>=0;a--)e.removeChild(n[a]);i=e.getElementsByClassName("slider-item");for(var s=i.length,r=t.options.loopedSlides||1,o=0,d=0;d<s;d++){if(d+r-s>=0){var c=i[d+o].cloneNode(!0);c.classList.add("slider-copy"),c.classList.remove("slider-active"),e.insertBefore(c,i[0+o]),o++}if(d-r<0){var l=i[d].cloneNode(!0);l.classList.add("slider-copy"),l.classList.remove("slider-active"),e.appendChild(l)}}}t.$nextTick(function(){t.slide(t.data.currentPage,"animationnone")})},0)},fadeDom:function(){for(var e=this.data.currentPage,t=this.$el.getElementsByClassName("slider-wrapper")[0],i=t.getElementsByClassName("slider-item"),n=this.options.speed,a=0;a<i.length;a++)a===e||a===e+1?(i[a].style.opacity="1",i[a].style["transition-property"]="opacity",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms"):(i[a].style.opacity="0",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms")},judgeParentSlider:function(){}},components:{renderpagination:{render:function(e){var t=this.index;return this.options.renderPagination.call(this,e,t)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}}},function(e,t,i){"use strict";(function(e){function i(){var t=void 0,i=void 0,n=void 0,a=void 0;return function(){var s=document.createElement("_"),r=s.style,o=void 0;""===r[o="webkitTransition"]&&(n="webkitTransitionEnd",i=o),""===r[o="transition"]&&(n="transitionend",i=o),""===r[o="webkitTransform"]&&(t=o),""===r[o="msTransform"]&&(t=o),""===r[o="transform"]&&(t=o),document.body.insertBefore(s,null),r[t]="translate3d(0, 0, 0)",a=!!e.getComputedStyle(s).getPropertyValue(t),document.body.removeChild(s)}(),{transform:t,transition:i,transitionEnd:n,hasTranslate3d:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i}).call(t,i(10))},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"slider-container",class:e.s_data.containerClass,on:{mouseleave:e.swipeOut}},[i("div",{staticClass:"slider-touch",style:e.styleobj,on:{touchmove:function(t){return t.stopPropagation(),e.swipeMove(t)},touchstart:e.swipeStart,touchend:e.swipeEnd,mousedown:e.swipeStart,mouseup:e.swipeEnd,mousemove:function(t){return t.stopPropagation(),e.swipeMove(t)},"webkit-transition-end":e.onTransitionEnd,transitionend:e.onTransitionEnd}},[0===e.pages.length?i("div",{staticClass:"slider-wrapper",class:e.classObject},[e._t("default")],2):e._e()]),e._v(" "),e.s_data.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[e._l(e.pagenums||e.s_data.sliderLength,function(t){return[e.options.renderPagination?e._e():i("span",{staticClass:"slider-pagination-bullet",class:t-1===e.data.currentPage?"slider-pagination-bullet-active":"",on:{click:function(i){e.slide(t-1)}}}),e._v(" "),e.options.renderPagination?i("renderpagination",{class:t-1===e.data.currentPage?"slider-pagination-bullet-active-render":"",attrs:{index:t,options:e.options},nativeOn:{click:function(i){e.slide(t-1)}}}):e._e()]})],2):e._e(),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.pagenums&&0===e.s_data.sliderLength||e.s_data.loading,expression:"(!pagenums && s_data.sliderLength === 0)||s_data.loading"}],staticClass:"slider-loading"},[e._t("loading")],2)])},a=[],s={render:n,staticRenderFns:a};t.a=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1}}},mounted:function(){this.renderDom()},methods:{renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(e){this.$parent&&this.$parent.onItemTransitionEnd(e)},transform:function(){var e=this.$parent.options,t=this.$parent.data,i=this.$parent.s_data;if(!(e&&t&&i&&this.$el&&"coverflow"===e.effect))return{};var n=this.index,a=i.pageWidth,s=i.pageHeight,r=this.$el.offsetWidth,o=a/2-r/2,d=o-i.deviation+"px",c=o+i.deviation+"px",l=o+"px",h={};return n===t.currentPage-1||n===this.pageLength-2&&-1===t.currentPage?(h.transform="translate3D("+d+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1","left"===t.direction?h["z-index"]="10":h["z-index"]="1"):n===t.currentPage+1||1===n&&t.currentPage===this.pageLength?(h.transform="translate3D("+c+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1","left"===t.direction?h["z-index"]="1":h["z-index"]="10"):n===t.currentPage?(h.transform="translate3D("+l+",0 ,0)",h["z-index"]="99",h.opacity="1"):(h.transform="translate3D("+l+",0 ,0)",h.opacity="0"),n===this.pageLength-1&&0===t.currentPage&&(h.transform="translate3D("+d+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1"),0===n&&t.currentPage===this.pageLength-1&&(h.transform="translate3D("+c+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==t.currentPage)&&(0!==n&&1!==n||t.currentPage!==this.pageLength)||(h.opacity="1",0===n&&(h["z-index"]="99"),n===this.pageLength-1&&(h["z-index"]="99")),h[i.prefixes.transition+"Duration"]=(i.animation?e.speed||300:0)+"ms",h.position="absolute",h}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.slideClass,style:[e.transform(e.index)],on:{"webkit-transition-end":e.onTransitionEnd,transitionend:e.onTransitionEnd}},[e._t("default")],2)},a=[],s={render:n,staticRenderFns:a};t.a=s},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.slideritem=t.slider=void 0;var a=i(3),s=n(a),r=i(4),o=n(r),d=s.default,c=o.default;t.default=d,t.slider=d,t.slideritem=c}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("vueConciseSlider",[],e):"object"==typeof exports?exports.vueConciseSlider=e():t.vueConciseSlider=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(t){delete installedChunks[t]}function i(t){var e=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=u.p+""+t+"."+w+".hot-update.js",e.appendChild(i)}function n(t){return t=t||1e4,new Promise(function(e,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,a=u.p+""+w+".hot-update.json";n.open("GET",a,!0),n.timeout=t,n.send(null)}catch(t){return i(t)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)i(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)e();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+a+" failed."));else{try{var t=JSON.parse(n.responseText)}catch(t){return void i(t)}e(t)}}})}function a(t){var e=j[t];if(!e)return u;var i=function(i){return e.hot.active?(j[i]?j[i].parents.indexOf(t)<0&&j[i].parents.push(t):(P=[t],g=i),e.children.indexOf(i)<0&&e.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+t),P=[]),u(i)};for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&"e"!==n&&Object.defineProperty(i,n,function(t){return{configurable:!0,enumerable:!0,get:function(){return u[t]},set:function(e){u[t]=e}}}(n));return i.e=function(t){function e(){L--,"prepare"===$&&(O[t]||l(t),0===L&&0===D&&h())}return"ready"===$&&r("prepare"),L++,u.e(t).then(e,function(t){throw e(),t})},i}function s(t){var e={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:g!==t,active:!0,accept:function(t,i){if(void 0===t)e._selfAccepted=!0;else if("function"==typeof t)e._selfAccepted=t;else if("object"==typeof t)for(var n=0;n<t.length;n++)e._acceptedDependencies[t[n]]=i||function(){};else e._acceptedDependencies[t]=i||function(){}},decline:function(t){if(void 0===t)e._selfDeclined=!0;else if("object"==typeof t)for(var i=0;i<t.length;i++)e._declinedDependencies[t[i]]=!0;else e._declinedDependencies[t]=!0},dispose:function(t){e._disposeHandlers.push(t)},addDisposeHandler:function(t){e._disposeHandlers.push(t)},removeDisposeHandler:function(t){var i=e._disposeHandlers.indexOf(t);i>=0&&e._disposeHandlers.splice(i,1)},check:d,apply:p,status:function(t){if(!t)return $;T.push(t)},addStatusHandler:function(t){T.push(t)},removeStatusHandler:function(t){var e=T.indexOf(t);e>=0&&T.splice(e,1)},data:b[t]};return g=void 0,e}function r(t){$=t;for(var e=0;e<T.length;e++)T[e].call(null,t)}function o(t){return+t+""===t?+t:t}function d(t){if("idle"!==$)throw new Error("check() is only allowed in idle status");return _=t,r("check"),n(x).then(function(t){if(!t)return r("idle"),null;S={},O={},C=t.c,y=t.h,r("prepare");var e=new Promise(function(t,e){v={resolve:t,reject:e}});m={};return l(1),"prepare"===$&&0===L&&0===D&&h(),e})}function c(t,e){if(C[t]&&S[t]){S[t]=!1;for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(m[i]=e[i]);0==--D&&0===L&&h()}}function l(t){C[t]?(S[t]=!0,D++,i(t)):O[t]=!0}function h(){r("ready");var t=v;if(v=null,t)if(_)Promise.resolve().then(function(){return p(_)}).then(function(e){t.resolve(e)},function(e){t.reject(e)});else{var e=[];for(var i in m)Object.prototype.hasOwnProperty.call(m,i)&&e.push(o(i));t.resolve(e)}}function p(i){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];t.indexOf(n)<0&&t.push(n)}}if("ready"!==$)throw new Error("apply() is only allowed in ready status");i=i||{};var a,s,d,c,l,h={},p=[],f={},g=function(){console.warn("[HMR] unexpected require("+_.moduleId+") to disposed module")};for(var v in m)if(Object.prototype.hasOwnProperty.call(m,v)){l=o(v);var _;_=m[v]?function(t){for(var e=[t],i={},a=e.slice().map(function(t){return{chain:[t],id:t}});a.length>0;){var s=a.pop(),r=s.id,o=s.chain;if((c=j[r])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:r};if(c.hot._main)return{type:"unaccepted",chain:o,moduleId:r};for(var d=0;d<c.parents.length;d++){var l=c.parents[d],h=j[l];if(h){if(h.hot._declinedDependencies[r])return{type:"declined",chain:o.concat([l]),moduleId:r,parentId:l};e.indexOf(l)>=0||(h.hot._acceptedDependencies[r]?(i[l]||(i[l]=[]),n(i[l],[r])):(delete i[l],e.push(l),a.push({chain:o.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:i}}(l):{type:"disposed",moduleId:v};var x=!1,E=!1,T=!1,D="";switch(_.chain&&(D="\nUpdate propagation: "+_.chain.join(" -> ")),_.type){case"self-declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(x=new Error("Aborted because of self decline: "+_.moduleId+D));break;case"declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(x=new Error("Aborted because of declined dependency: "+_.moduleId+" in "+_.parentId+D));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(_),i.ignoreUnaccepted||(x=new Error("Aborted because "+l+" is not accepted"+D));break;case"accepted":i.onAccepted&&i.onAccepted(_),E=!0;break;case"disposed":i.onDisposed&&i.onDisposed(_),T=!0;break;default:throw new Error("Unexception type "+_.type)}if(x)return r("abort"),Promise.reject(x);if(E){f[l]=m[l],n(p,_.outdatedModules);for(l in _.outdatedDependencies)Object.prototype.hasOwnProperty.call(_.outdatedDependencies,l)&&(h[l]||(h[l]=[]),n(h[l],_.outdatedDependencies[l]))}T&&(n(p,[_.moduleId]),f[l]=g)}var L=[];for(s=0;s<p.length;s++)l=p[s],j[l]&&j[l].hot._selfAccepted&&L.push({module:l,errorHandler:j[l].hot._selfAccepted});r("dispose"),Object.keys(C).forEach(function(t){!1===C[t]&&e(t)});for(var O,S=p.slice();S.length>0;)if(l=S.pop(),c=j[l]){var k={},M=c.hot._disposeHandlers;for(d=0;d<M.length;d++)(a=M[d])(k);for(b[l]=k,c.hot.active=!1,delete j[l],delete h[l],d=0;d<c.children.length;d++){var I=j[c.children[d]];I&&((O=I.parents.indexOf(l))>=0&&I.parents.splice(O,1))}}var H,z;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=j[l]))for(z=h[l],d=0;d<z.length;d++)H=z[d],(O=c.children.indexOf(H))>=0&&c.children.splice(O,1);r("apply"),w=y;for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(t[l]=f[l]);var N=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=j[l])){z=h[l];var A=[];for(s=0;s<z.length;s++)if(H=z[s],a=c.hot._acceptedDependencies[H]){if(A.indexOf(a)>=0)continue;A.push(a)}for(s=0;s<A.length;s++){a=A[s];try{a(z)}catch(t){i.onErrored&&i.onErrored({type:"accept-errored",moduleId:l,dependencyId:z[s],error:t}),i.ignoreErrored||N||(N=t)}}}for(s=0;s<L.length;s++){var R=L[s];l=R.module,P=[l];try{u(l)}catch(t){if("function"==typeof R.errorHandler)try{R.errorHandler(t)}catch(e){i.onErrored&&i.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:e,orginalError:t,originalError:t}),i.ignoreErrored||N||(N=e),N||(N=t)}else i.onErrored&&i.onErrored({type:"self-accept-errored",moduleId:l,error:t}),i.ignoreErrored||N||(N=t)}}return N?(r("fail"),Promise.reject(N)):(r("idle"),new Promise(function(t){t(p)}))}function u(e){if(j[e])return j[e].exports;var i=j[e]={i:e,l:!1,exports:{},hot:s(e),parents:(E=P,P=[],E),children:[]};return t[e].call(i.exports,i,i.exports,a(e)),i.l=!0,i.exports}var f=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(t,e){c(t,e),f&&f(t,e)};var g,v,m,y,_=!0,w="92bf65b3266610f88e66",x=1e4,b={},P=[],E=[],T=[],$="idle",D=0,L=0,O={},S={},C={},j={};return u.m=t,u.c=j,u.d=function(t,e,i){u.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="",u.h=function(){return w},a(14)(u.s=14)}([function(t,e){t.exports=function(t,e,i,n,a){var s,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(s=t,r=t.default);var d="function"==typeof r?r.options:r;e&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns),n&&(d._scopeId=n);var c;if(a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=i),c){var l=d.functional,h=l?d.render:d.beforeCreate;l?d.render=function(t,e){return c.call(e),h(t,e)}:d.beforeCreate=h?[].concat(h,c):[c]}return{esModule:s,exports:r,options:d}}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var s=this[a][0];"number"==typeof s&&(n[s]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),t.push(r))}},t}},function(t,e,i){function n(t){for(var e=0;e<t.length;e++){var i=t[e],n=l[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(s(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var r=[],a=0;a<i.parts.length;a++)r.push(s(i.parts[a]));l[i.id]={id:i.id,refs:1,parts:r}}}}function a(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function s(t){var e,i,n=document.querySelector("style["+m+'~="'+t.id+'"]');if(n){if(f)return g;n.parentNode.removeChild(n)}if(y){var s=u++;n=p||(p=a()),e=r.bind(null,n,s,!1),i=r.bind(null,n,s,!0)}else n=a(),e=o.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}function r(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=_(e,a);else{var s=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(s,r[e]):t.appendChild(s)}}function o(t,e){var i=e.css,n=e.media,a=e.sourceMap;if(n&&t.setAttribute("media",n),v.ssrId&&t.setAttribute(m,e.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var d="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!d)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=i(7),l={},h=d&&(document.head||document.getElementsByTagName("head")[0]),p=null,u=0,f=!1,g=function(){},v=null,m="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,i,a){f=i,v=a||{};var s=c(t,e);return n(s),function(e){for(var i=[],a=0;a<s.length;a++){var r=s[a],o=l[r.id];o.refs--,i.push(o)}e?(s=c(t,e),n(s)):s=[];for(var a=0;a<i.length;a++){var o=i[a];if(0===o.refs){for(var d=0;d<o.parts.length;d++)o.parts[d]();delete l[o.id]}}}};var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";function n(t){i(5)}Object.defineProperty(e,"__esModule",{value:!0});var a=i(8),s=i.n(a),r=i(11),o=i(0),d=n,c=o(s.a,r.a,d,null,null);e.default=c.exports},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(12),a=i.n(n),s=i(13),r=i(0),o=r(a.a,s.a,null,null,null);e.default=o.exports},function(t,e,i){var n=i(6);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i(2)("3066c21c",n,!0,{})},function(t,e,i){e=t.exports=i(1)(),e.push([t.i,".slider-container{margin:0 auto;overflow:hidden;z-index:1;height:100%;width:100%;position:relative;white-space:nowrap}.slider-center-center{margin:auto;z-index:1;position:absolute;top:0;left:0;right:0;bottom:0}.slider-touch{height:100%}.swiper-container-horizontal>*>.slider-wrapper{-moz-flex-direction:row;-ms-flex-direction:row;-o-flex-direction:row;flex-direction:row}.swiper-container-horizontal>*>.slider-wrapper,.swiper-container-vertical>*>.slider-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1;align-items:center}.swiper-container-vertical>*>.slider-wrapper{-moz-flex-direction:column;-ms-flex-direction:column;-o-flex-direction:column;flex-direction:column}.slider-item{flex-shrink:0;height:100%;position:relative;width:100%;align-items:center;display:flex;font-size:40px;justify-content:center;text-align:center;color:#fff}.slider-fade .slider-item{position:absolute;left:0;opacity:0}.slider-pagination{position:absolute;text-align:center;transform:translateZ(0);z-index:10}.swiper-container-horizontal>.slider-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-container-horizontal>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;display:inline-block;height:8px;opacity:.2;width:8px;cursor:pointer;margin:0 5px}.swiper-container-vertical>.slider-pagination-bullets{left:0;bottom:auto;left:auto;width:auto;right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;height:8px;opacity:.2;width:8px;cursor:pointer;display:block;margin:5px 0}.swiper-container-horizontal .slider-pagination-bullet-active,.swiper-container-vertical .slider-pagination-bullet-active{background:#fff none repeat scroll 0 0;opacity:1}.slider-loading{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.swiper-container-cursorGrab{cursor:grab}",""])},function(t,e){t.exports=function(t,e){for(var i=[],n={},a=0;a<e.length;a++){var s=e[a],r=s[0],o=s[1],d=s[2],c=s[3],l={id:t+":"+a,css:o,media:d,sourceMap:c};n[r]?n[r].parts.push(l):i.push(n[r]={id:r,parts:[l]})}return i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(9),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default={props:{options:{type:Object,default:function(){return{}}},pages:{type:Array,default:function(){return[]}}},name:"slider",data:function(){return{data:{poswidth:0,posheight:0,start:{},end:{},currentPage:this.options.currentPage||0,direction:""},s_data:{prefixes:(0,a.default)(),transitionEnding:!1,itemTransitionEnding:!1,setIntervalid:"",renderTime:"",sliderLength:0,effect:this.options.effect||"slide",direction:this.options.direction||"horizontal",tracking:!1,thresholdDistance:this.options.thresholdDistance||100,thresholdTime:this.options.thresholdTime||500,animation:!1,itemAnimation:this.options.itemAnimation||!1,loading:!1,containerClass:{"swiper-container-vertical":!1,"swiper-container-cursorGrab":this.options.grabCursor||!1},pageInit:!1,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200,currentPage:this.options.currentPage||0,pageWidth:0,pageHeight:0,sliderItem:"",pagination:void 0===this.options.pagination||this.options.pagination,nested:void 0===this.options.nested||this.options.nested,resize:void 0===this.options.resize||this.options.resize,$parent:this.judgeParentSlider(this),route:!1}}},watch:{$route:function(){var t=this;if(this.route){var e=t.data.currentPage,i=t.s_data.sliderLength;t.s_data.transitionEnding=!1,e<0?t.slide(0,"animationnone"):e>=(t.pagenums||i)?t.slide(2,"animationnone"):t.slide(e,"animationnone"),this.route=!1}else this.route=!0}},computed:{styleobj:function(){var t={};return t.transform="translate3D("+this.data.poswidth+"px,"+this.data.posheight+"px,0)",t[this.s_data.prefixes.transition+"TimingFunction"]=this.options.timingFunction||"ease",t[this.s_data.prefixes.transition+"Duration"]=(this.s_data.animation?this.options.speed||300:0)+"ms","fade"===this.s_data.effect||"coverflow"===this.s_data.effect?{}:t},pagenums:function(){return(this.pages.length||0!==this.s_data.sliderLength)&&this.s_data.pageInit,this.pages.length},currentWidth:{get:function(){if(!this.pages.length&&0===this.s_data.sliderLength||"fade"===this.s_data.effect||"coverflow"===this.s_data.effect)return 0;var t=void 0,e=this.data.currentPage,i=this.s_data.pageWidth,n=this.options.loopedSlides||1;this.options.loop&&(e+=n?n<=(this.pagenums||this.s_data.sliderLength)?n:this.pagenums||this.s_data.sliderLength:1),"coverflow"===this.options.effect&&(e-=1);for(var a in this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(t=this.$el.children[a]);var s=t.children[0].children,r=s[e].offsetLeft;this.options.loop&&(r=s[e].offsetLeft);var o=s[e].offsetWidth;return this.options.centeredSlides&&(r=r-i/2+o/2),r+i-i}},currentHeight:function(){var t=this.s_data.sliderLength,e=this.data.currentPage,i=this.pages.length,n=0,a=void 0,s=e-1,r=this.s_data.pageWidth,o=this.options.loopedSlides||1;if(!i&&0===t||"fade"===this.s_data.effect)return 0;this.options.loop&&(s=o?e+(o<=(i||t)?o:i||t)-1:e+1);for(var d in this.$el.children)/slider-touch/gi.test(this.$el.children[d].className)&&(a=this.$el.children[d]);var c=a.children[0].children;for(var l in c)l<=s&&(n+=c[l].offsetHeight,n+=parseInt(c[l].style.marginTop||0),n+=parseInt(c[l].style.marginBottom||0));return n+r-r},classObject:function(){var t={};switch(this.options.effect){case"fade":t={"slider-fade":!0}}return t}},mounted:function(){var t=this,e=this;this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.$emit("init",this.data),this.$on("slideTo",function(e){t.slide(e)}),this.$on("slideNext",function(){t.next()}),this.$on("slidePre",function(){t.pre()}),this.$on("autoplayStart",function(i){t.options.autoplay=i||t.options.autoplay||1e3,t.clock().begin(e)}),this.$on("autoplayStop",function(){t.options.autoplay=0,t.clock().stop(e)}),this.$on("loadingShow",function(){t.s_data.loading=!0}),this.$on("loadingHide",function(){t.s_data.loading=!1}),this.options.autoplay&&this.clock().begin(e),"vertical"===this.options.direction?this.s_data.containerClass["swiper-container-vertical"]=!0:this.s_data.containerClass["swiper-container-horizontal"]=!0,this.s_data.resize&&window.addEventListener("resize",function(){e.s_data.pageWidth=e.$el.offsetWidth,e.s_data.pageHeight=e.$el.offsetHeight,e.slide(e.data.currentPage,"animationnone")})},methods:{swipeStart:function(t){var e=this;if(this.s_data.e=t,!(this.s_data.transitionEnding||this.s_data.itemTransitionEnding&&this.options.itemAnimation))if(this.s_data.animation=!1,this.options.autoplay&&this.clock().stop(e),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",e.preventDefault(t)),"touchstart"===t.type){if(t.touches.length>1)return this.s_data.tracking=!1,!1;this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.targetTouches[0].clientX,this.data.start.y=t.targetTouches[0].clientY,this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY}else this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.clientX,this.data.start.y=t.clientY,this.data.end.x=t.clientX,this.data.end.y=t.clientY},swipeMove:function(t){if(this.s_data.e=t,this.s_data.tracking){var e=this.s_data.effect,i=this.s_data.$parent;"touchmove"===t.type?(this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY):(this.data.end.x=t.clientX,this.data.end.y=t.clientY);var n=Math.abs(this.data.end.x-this.data.start.x),a=Math.abs(this.data.end.y-this.data.start.y);if(n>=a&&"vertical"!==this.options.direction?t.preventDefault():n<=a&&"vertical"===this.options.direction&&t.preventDefault(),i&&i.s_data.direction===this.s_data.direction&&t.stopPropagation(),"fade"===e||"coverflow"===e)return;if("vertical"===this.options.direction){if(n>a)return;i&&"vertical"===i.options.direction&&0===this.data.currentPage&&this.data.end.y-this.data.start.y>=0&&i.s_data.nested?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:i&&"vertical"===i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.y-this.data.start.y<=0&&i.s_data.nested?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y}else{if(n<a)return;i&&"vertical"!==i.options.direction&&0===this.data.currentPage&&this.data.end.x-this.data.start.x>=0&&i.s_data.nested?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:i&&"vertical"!==i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.x-this.data.start.x<=0&&i.s_data.nested?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x}}},swipeEnd:function(t){this.s_data.e=t,this.s_data.tracking=!1;var e=(new Date).getTime(),i=e-this.data.start.t,n=this.data.end.x-this.data.start.x,a=this.data.end.y-this.data.start.y,s=this.s_data.thresholdDistance,r=this.data.currentPage;if(this.options.autoplay){var o=this;setTimeout(function(){o.clock().begin(o)},this.options.autoplay)}if(!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(t)),i>this.s_data.thresholdTime)return this.slide(r),!1;if("vertical"!==this.options.direction){if(n>s&&Math.abs(a)<s)return this.pre(),!1;if(-n>s&&Math.abs(a)<s)return this.next(),!1;if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return this.slide(r),!1;this.$emit("tap",this.data),this.slide(r)}else{if(a>s&&Math.abs(n)<s)return this.pre(),!1;if(-a>s&&Math.abs(n)<s)return this.next(),!1;if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return this.slide(r),!1;this.$emit("tap",this.data),this.slide(r)}},swipeOut:function(t){this.$el===t.target&&this.s_data.tracking&&this.swipeEnd(t)},pre:function(){this.data.direction="left";var t=this.s_data.sliderLength,e=this.options.slidesToScroll,i=this.s_data.$parent;this.data.currentPage>=1?(this.data.currentPage-=e||1,this.slide()):!this.options.loop||0!==this.data.currentPage||i&&i.s_data.nested?i&&0===this.data.currentPage&&i.s_data.nested?(i.pre(),this.slide()):this.slide():(this.data.currentPage-=e||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage<0&&"fade"===this.s_data.effect?(this.slide((this.pagenums||t)-1),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide())},next:function(){this.data.direction="right";var t=this.s_data.sliderLength,e=this.s_data.$parent;if(this.data.currentPage<(this.pagenums||t)-1)this.data.currentPage+=this.options.slidesToScroll||1,this.slide();else if(!this.options.loop||this.data.currentPage!==(this.pagenums||t)-1||e&&e.s_data.nested)if(e&&this.data.currentPage===(this.pagenums||t)-1&&e.s_data.nested){var i=this.s_data.$parent;i.next(),this.slide()}else this.slide();else this.data.currentPage+=this.options.slidesToScroll||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage>=(this.pagenums||t)&&"fade"===this.s_data.effect?(this.slide(0),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()},slide:function(t,e){if(this.s_data.animation=!0,"animationnone"===e&&(this.s_data.animation=!1),(t||0===t)&&(this.data.currentPage=t),this.$emit("slide",this.data),"fade"===this.s_data.effect)return void(this.pagenums||this.fadeDom());if("vertical"===this.options.direction?this.data.posheight=-this.currentHeight:this.data.poswidth=-this.currentWidth,this.s_data.sliderLength){var i=this.$el.getElementsByClassName("slider-wrapper")[0],n=Array.prototype.slice.call(i.children),a=n.filter(function(t){return-1!==t.className.indexOf("slider-item")}),s=n.filter(function(t){return-1!==t.className.indexOf("slider-active-copy")}),r=this.options.loopedSlides||1,o=this.s_data.sliderLength,d=this.$children,c=this.data.currentPage;if(d=d.filter(function(t){return"slideritem"===t.$options._componentTag}),d.forEach(function(t){t.removeActive()}),"nest"===this.options.effect)return;if(d[c]&&d[c].addActive(),c<0||c>=(this.pagenums||o)){a[c+r]&&a[c+r].classList&&a[c+r].classList.add("slider-active-copy");d[c<0?(this.pagenums||o)+c:0+c-(this.pagenums||o)].addActive()}else for(var l=0;l<s.length;l++){var h=s[l];h.classList.remove("slider-active-copy")}}return!(this.data.currentPage<0||this.data.currentPage>=(this.pagenums||this.s_data.sliderLength))&&void 0},clock:function(){return{begin:function(t){t.s_data.setIntervalid||0!==t.options.autoplay&&(t.s_data.setIntervalid=setInterval(function(){t.next(),t.data.currentPage!==(t.pagenums||t.s_data.sliderLength)-1||t.options.loop||(clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0)},t.options.autoplay))},stop:function(t){clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0}}},preventDefault:function(t){t.preventDefault()},onTransitionEnd:function(t,e){if("route"===e||t.target===t.currentTarget||"coverflow"===this.options.effect){if("route"===e){var i=this.data.currentPage,n=this.s_data.sliderLength;i<0?this.slide((this.pagenums||n)+i,"animationnone"):i>=(this.pagenums||n)&&this.slide(0+i-(this.pagenums||n),"animationnone")}var a=this;setTimeout(function(){var t=a.data.currentPage,e=a.s_data.sliderLength;a.options.loop&&""!==a.s_data.effect&&(a.s_data.transitionEnding=!1,t<0?a.slide((a.pagenums||e)+t,"animationnone"):t>=(a.pagenums||e)&&a.slide(0+t-(a.pagenums||e),"animationnone"))},0)}},onItemTransitionEnd:function(t){if(t.target===t.currentTarget){var e=this;setTimeout(function(){e.s_data.itemTransitionEnding=!1},0)}},renderDom:function(t){var e=this;this.s_data.renderTime&&clearTimeout(this.s_data.renderTime),e.s_data.sliderLength+=1,e.s_data.sliderLength>=1&&"fade"===e.options.effect&&(t.previousSibling?t.style["z-index"]=99-e.s_data.sliderLength:t.style["z-index"]=99+e.s_data.sliderLength),this.s_data.renderTime=setTimeout(function(){e.s_data.renderTime=void 0;var t=e.$el.getElementsByClassName("slider-wrapper")[0],i=Array.prototype.slice.call(t.children),n=i.filter(function(t){return-1!==t.className.indexOf("slider-item")});if(e.s_data.sliderLength>=1&&e.options.loop&&"fade"!==e.options.effect&&"coverflow"!==e.options.effect){for(var a=t.getElementsByClassName("slider-copy"),s=a.length-1;s>=0;s--)t.removeChild(a[s]);n=Array.prototype.slice.call(t.children).filter(function(t){return-1!==t.className.indexOf("slider-item")});for(var r=n.length,o=e.options.loopedSlides||1,d=0;d<r;d++){if(d+o-r>=0){var c=n[d+0].cloneNode(!0);c.classList.add("slider-copy"),c.classList.remove("slider-active"),t.insertBefore(c,n[0])}if(d-o<0){var l=n[d].cloneNode(!0);l.classList.add("slider-copy"),l.classList.remove("slider-active"),t.appendChild(l)}}}e.$nextTick(function(){e.slide(e.data.currentPage,"animationnone")})},0)},fadeDom:function(){for(var t=this.data.currentPage,e=this.$el.getElementsByClassName("slider-wrapper")[0],i=e.getElementsByClassName("slider-item"),n=this.options.speed,a=0;a<i.length;a++)a===t||a===t+1?(i[a].style.opacity="1",i[a].style["transition-property"]="opacity",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms"):(i[a].style.opacity="0",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms")},judgeParentSlider:function(t){return t.$parent&&t.$parent.$vnode&&"vue-component-1-slider"===t.$parent.$vnode.tag?t.$parent:(!t.$parent||void 0!==t.$parent.$vnode)&&this.judgeParentSlider(t.$parent)}},components:{renderpagination:{render:function(t){var e=this.index;return this.options.renderPagination.call(this,t,e)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}}},function(t,e,i){"use strict";(function(t){function i(){var e=void 0,i=void 0,n=void 0,a=void 0;return function(){var s=document.createElement("_"),r=s.style,o=void 0;""===r[o="webkitTransition"]&&(n="webkitTransitionEnd",i=o),""===r[o="transition"]&&(n="transitionend",i=o),""===r[o="webkitTransform"]&&(e=o),""===r[o="msTransform"]&&(e=o),""===r[o="transform"]&&(e=o),document.body.insertBefore(s,null),r[e]="translate3d(0, 0, 0)",a=!!t.getComputedStyle(s).getPropertyValue(e),document.body.removeChild(s)}(),{transform:e,transition:i,transitionEnd:n,hasTranslate3d:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i}).call(e,i(10))},function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-container",class:t.s_data.containerClass,on:{mouseleave:t.swipeOut}},[i("div",{staticClass:"slider-touch",style:t.styleobj,on:{touchmove:t.swipeMove,touchstart:t.swipeStart,touchend:t.swipeEnd,mousedown:t.swipeStart,mouseup:t.swipeEnd,mousemove:t.swipeMove,"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd,transitioncancel:t.onTransitionEnd,"webkit-transition-cancel":t.onTransitionEnd}},[0===t.pages.length?i("div",{staticClass:"slider-wrapper",class:t.classObject},[t._t("default")],2):t._e()]),t._v(" "),t.s_data.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[t._l(t.pagenums||t.s_data.sliderLength,function(e){return[t.options.renderPagination?t._e():i("span",{key:e,staticClass:"slider-pagination-bullet",class:e-1===t.data.currentPage?"slider-pagination-bullet-active":"",on:{click:function(i){t.slide(e-1)}}}),t._v(" "),t.options.renderPagination?i("renderpagination",{key:e,class:e-1===t.data.currentPage?"slider-pagination-bullet-active-render":"",attrs:{index:e,options:t.options},nativeOn:{click:function(i){t.slide(e-1)}}}):t._e()]})],2):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.pagenums&&0===t.s_data.sliderLength||t.s_data.loading,expression:"(!pagenums && s_data.sliderLength === 0)||s_data.loading"}],staticClass:"slider-loading"},[t._t("loading")],2)])},a=[],s={render:n,staticRenderFns:a};e.a=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1}}},mounted:function(){this.renderDom()},methods:{renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(t){this.$parent&&this.$parent.onItemTransitionEnd(t)},transform:function(){var t=this.$parent.options,e=this.$parent.data,i=this.$parent.s_data;if(!(t&&e&&i&&this.$el&&"coverflow"===t.effect))return{};var n=this.index,a=i.pageWidth,s=this.$el.offsetWidth,r=a/2-s/2,o=r-i.deviation+"px",d=r+i.deviation+"px",c=r+"px",l={};return n===e.currentPage-1||n===this.pageLength-2&&-1===e.currentPage?(l.transform="translate3D("+o+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1","left"===e.direction?l["z-index"]="10":l["z-index"]="1"):n===e.currentPage+1||1===n&&e.currentPage===this.pageLength?(l.transform="translate3D("+d+",0 ,0)",l.transform="translate3D("+d+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1","left"===e.direction?l["z-index"]="1":l["z-index"]="10"):n===e.currentPage?(l.transform="translate3D("+c+",0 ,0) scale3d(1,1,1)",l["z-index"]="99",l.opacity="1"):(l.transform="translate3D("+c+",0 ,0)",l.opacity="0"),n===this.pageLength-1&&0===e.currentPage&&(l.transform="translate3D("+o+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1"),0===n&&e.currentPage===this.pageLength-1&&(l.transform="translate3D("+d+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==e.currentPage)&&(0!==n&&1!==n||e.currentPage!==this.pageLength)||(l.opacity="1",0===n&&(l["z-index"]="99"),n===this.pageLength-1&&(l["z-index"]="99")),l[i.prefixes.transition+"Duration"]=(i.animation?t.speed||300:0)+"ms",l.position="absolute",l}}}},function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.slideClass,style:[t.transform(t.index)],on:{"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd}},[t._t("default")],2)},a=[],s={render:n,staticRenderFns:a};e.a=s},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.slideritem=e.slider=void 0;var a=i(3),s=n(a),r=i(4),o=n(r),d=s.default,c=o.default;e.default=d,e.slider=d,e.slideritem=c}])});

@@ -530,2 +530,94 @@ ## Quick start

</script>
```
## Nested slider
1. Effect is set to 'nest'
2. Slideritem nesting
```html
<template>
<div>
<div style="width:70%;margin:20px auto;height:400px">
<slider ref="slider" :options="options" @slide='slide' @tap='onTap' @init='onInit'>
<slideritem v-for="(item,index) in someList" :key="index" :style="item.style">{{item.html}}</slideritem>
<slideritem>
<slider ref="slider" :options="options1">
<slideritem v-for="(item,index) in someList1" :key="index" :style="item.style">{{item.html}}</slideritem>
</slider>
</slideritem>
<slideritem v-for="(item,index) in someList" :key="index + 3" :style="item.style">{{item.html}}</slideritem>
</slider>
</div>
</div>
</template>
<script>
import { slider, slideritem } from '../../dist/module.js'
export default {
el: '#slidernest',
data () {
return {
someList: [],
someList1: [],
options: {
// direction: 'vertical',
effect: 'nest',
pagination: true,
// nested: false, // 嵌套
thresholdDistance: 100, // 滑动距离阈值判定
thresholdTime: 300, // 滑动时间阈值判定
grabCursor: true, // 抓标样式
speed: 300, // 滑动速度
// timingFunction: 'ease', // 滑动方式
loop: true // 无限循环
// autoplay: 0 // 自动播放:时间[ms]
},
options1: {
direction: 'vertical',
pagination: true,
thresholdDistance: 100, // 滑动距离阈值判定
thresholdTime: 300, // 滑动时间阈值判定
grabCursor: true, // 抓标样式
speed: 300, // 滑动速度
// timingFunction: 'ease', // 滑动方式
loop: true // 无限循环
// autoplay: 0 // 自动播放:时间[ms]
}
}
},
mounted () {
let that = this
setTimeout(function () {
that.someList = [
{
html: 'slide1',
style: {
'background': '#1bbc9b'
}
}
]
that.someList1 = [
{
html: 'slide1-1',
style: {
'background': '#1bbc9b'
}
},
{
html: 'slide2-2',
style: {
'background': '#4bbfc3'
}
},
{
html: 'slide3-3',
style: {
'background': '#7baabe'
}
}
]
}, 2000)
},
}
</script>
```

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("vueConciseSlider",[],t):"object"==typeof exports?exports.vueConciseSlider=t():e.vueConciseSlider=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(e){delete installedChunks[e]}function i(e){var t=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=u.p+""+e+"."+x+".hot-update.js",t.appendChild(i)}function n(e){return e=e||1e4,new Promise(function(t,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,a=u.p+""+x+".hot-update.json";n.open("GET",a,!0),n.timeout=e,n.send(null)}catch(e){return i(e)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)i(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)t();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+a+" failed."));else{try{var e=JSON.parse(n.responseText)}catch(e){return void i(e)}t(e)}}})}function a(e){var t=$[e];if(!t)return u;var i=function(i){return t.hot.active?($[i]?$[i].parents.indexOf(e)<0&&$[i].parents.push(e):(E=[e],g=i),t.children.indexOf(i)<0&&t.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+e),E=[]),u(i)};for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&"e"!==n&&Object.defineProperty(i,n,function(e){return{configurable:!0,enumerable:!0,get:function(){return u[e]},set:function(t){u[e]=t}}}(n));return i.e=function(e){function t(){S--,"prepare"===D&&(L[e]||l(e),0===S&&0===C&&h())}return"ready"===D&&r("prepare"),S++,u.e(e).then(t,function(e){throw t(),e})},i}function s(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:g!==e,active:!0,accept:function(e,i){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var n=0;n<e.length;n++)t._acceptedDependencies[e[n]]=i||function(){};else t._acceptedDependencies[e]=i||function(){}},decline:function(e){if(void 0===e)t._selfDeclined=!0;else if("object"==typeof e)for(var i=0;i<e.length;i++)t._declinedDependencies[e[i]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var i=t._disposeHandlers.indexOf(e);i>=0&&t._disposeHandlers.splice(i,1)},check:d,apply:p,status:function(e){if(!e)return D;T.push(e)},addStatusHandler:function(e){T.push(e)},removeStatusHandler:function(e){var t=T.indexOf(e);t>=0&&T.splice(t,1)},data:w[e]};return g=void 0,t}function r(e){D=e;for(var t=0;t<T.length;t++)T[t].call(null,e)}function o(e){return+e+""===e?+e:e}function d(e){if("idle"!==D)throw new Error("check() is only allowed in idle status");return _=e,r("check"),n(b).then(function(e){if(!e)return r("idle"),null;O={},L={},j=e.c,y=e.h,r("prepare");var t=new Promise(function(e,t){v={resolve:e,reject:t}});m={};return l(1),"prepare"===D&&0===S&&0===C&&h(),t})}function c(e,t){if(j[e]&&O[e]){O[e]=!1;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(m[i]=t[i]);0==--C&&0===S&&h()}}function l(e){j[e]?(O[e]=!0,C++,i(e)):L[e]=!0}function h(){r("ready");var e=v;if(v=null,e)if(_)Promise.resolve().then(function(){return p(_)}).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var i in m)Object.prototype.hasOwnProperty.call(m,i)&&t.push(o(i));e.resolve(t)}}function p(i){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];e.indexOf(n)<0&&e.push(n)}}if("ready"!==D)throw new Error("apply() is only allowed in ready status");i=i||{};var a,s,d,c,l,h={},p=[],f={},g=function(){console.warn("[HMR] unexpected require("+_.moduleId+") to disposed module")};for(var v in m)if(Object.prototype.hasOwnProperty.call(m,v)){l=o(v);var _;_=m[v]?function(e){for(var t=[e],i={},a=t.slice().map(function(e){return{chain:[e],id:e}});a.length>0;){var s=a.pop(),r=s.id,o=s.chain;if((c=$[r])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:r};if(c.hot._main)return{type:"unaccepted",chain:o,moduleId:r};for(var d=0;d<c.parents.length;d++){var l=c.parents[d],h=$[l];if(h){if(h.hot._declinedDependencies[r])return{type:"declined",chain:o.concat([l]),moduleId:r,parentId:l};t.indexOf(l)>=0||(h.hot._acceptedDependencies[r]?(i[l]||(i[l]=[]),n(i[l],[r])):(delete i[l],t.push(l),a.push({chain:o.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:i}}(l):{type:"disposed",moduleId:v};var b=!1,P=!1,T=!1,C="";switch(_.chain&&(C="\nUpdate propagation: "+_.chain.join(" -> ")),_.type){case"self-declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(b=new Error("Aborted because of self decline: "+_.moduleId+C));break;case"declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(b=new Error("Aborted because of declined dependency: "+_.moduleId+" in "+_.parentId+C));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(_),i.ignoreUnaccepted||(b=new Error("Aborted because "+l+" is not accepted"+C));break;case"accepted":i.onAccepted&&i.onAccepted(_),P=!0;break;case"disposed":i.onDisposed&&i.onDisposed(_),T=!0;break;default:throw new Error("Unexception type "+_.type)}if(b)return r("abort"),Promise.reject(b);if(P){f[l]=m[l],n(p,_.outdatedModules);for(l in _.outdatedDependencies)Object.prototype.hasOwnProperty.call(_.outdatedDependencies,l)&&(h[l]||(h[l]=[]),n(h[l],_.outdatedDependencies[l]))}T&&(n(p,[_.moduleId]),f[l]=g)}var S=[];for(s=0;s<p.length;s++)l=p[s],$[l]&&$[l].hot._selfAccepted&&S.push({module:l,errorHandler:$[l].hot._selfAccepted});r("dispose"),Object.keys(j).forEach(function(e){!1===j[e]&&t(e)});for(var L,O=p.slice();O.length>0;)if(l=O.pop(),c=$[l]){var k={},M=c.hot._disposeHandlers;for(d=0;d<M.length;d++)(a=M[d])(k);for(w[l]=k,c.hot.active=!1,delete $[l],delete h[l],d=0;d<c.children.length;d++){var I=$[c.children[d]];I&&((L=I.parents.indexOf(l))>=0&&I.parents.splice(L,1))}}var H,N;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l]))for(N=h[l],d=0;d<N.length;d++)H=N[d],(L=c.children.indexOf(H))>=0&&c.children.splice(L,1);r("apply"),x=y;for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(e[l]=f[l]);var R=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l])){N=h[l];var A=[];for(s=0;s<N.length;s++)if(H=N[s],a=c.hot._acceptedDependencies[H]){if(A.indexOf(a)>=0)continue;A.push(a)}for(s=0;s<A.length;s++){a=A[s];try{a(N)}catch(e){i.onErrored&&i.onErrored({type:"accept-errored",moduleId:l,dependencyId:N[s],error:e}),i.ignoreErrored||R||(R=e)}}}for(s=0;s<S.length;s++){var z=S[s];l=z.module,E=[l];try{u(l)}catch(e){if("function"==typeof z.errorHandler)try{z.errorHandler(e)}catch(t){i.onErrored&&i.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:t,orginalError:e,originalError:e}),i.ignoreErrored||R||(R=t),R||(R=e)}else i.onErrored&&i.onErrored({type:"self-accept-errored",moduleId:l,error:e}),i.ignoreErrored||R||(R=e)}}return R?(r("fail"),Promise.reject(R)):(r("idle"),new Promise(function(e){e(p)}))}function u(t){if($[t])return $[t].exports;var i=$[t]={i:t,l:!1,exports:{},hot:s(t),parents:(P=E,E=[],P),children:[]};return e[t].call(i.exports,i,i.exports,a(t)),i.l=!0,i.exports}var f=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(e,t){c(e,t),f&&f(e,t)};var g,v,m,y,_=!0,x="2fad4cc9b71801ab9a2d",b=1e4,w={},E=[],P=[],T=[],D="idle",C=0,S=0,L={},O={},j={},$={};return u.m=e,u.c=$,u.d=function(e,t,i){u.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.h=function(){return x},a(14)(u.s=14)}([function(e,t){e.exports=function(e,t,i,n,a){var s,r=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(s=e,r=e.default);var d="function"==typeof r?r.options:r;t&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns),n&&(d._scopeId=n);var c;if(a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=i),c){var l=d.functional,h=l?d.render:d.beforeCreate;l?d.render=function(e,t){return c.call(t),h(e,t)}:d.beforeCreate=h?[].concat(h,c):[c]}return{esModule:s,exports:r,options:d}}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var i=this[t];i[2]?e.push("@media "+i[2]+"{"+i[1]+"}"):e.push(i[1])}return e.join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var s=this[a][0];"number"==typeof s&&(n[s]=!0)}for(a=0;a<t.length;a++){var r=t[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},function(e,t,i){function n(e){for(var t=0;t<e.length;t++){var i=e[t],n=l[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(s(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var r=[],a=0;a<i.parts.length;a++)r.push(s(i.parts[a]));l[i.id]={id:i.id,refs:1,parts:r}}}}function a(){var e=document.createElement("style");return e.type="text/css",h.appendChild(e),e}function s(e){var t,i,n=document.querySelector("style["+m+'~="'+e.id+'"]');if(n){if(f)return g;n.parentNode.removeChild(n)}if(y){var s=u++;n=p||(p=a()),t=r.bind(null,n,s,!1),i=r.bind(null,n,s,!0)}else n=a(),t=o.bind(null,n),i=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else i()}}function r(e,t,i,n){var a=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=_(t,a);else{var s=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(s,r[t]):e.appendChild(s)}}function o(e,t){var i=t.css,n=t.media,a=t.sourceMap;if(n&&e.setAttribute("media",n),v.ssrId&&e.setAttribute(m,t.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var d="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!d)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=i(7),l={},h=d&&(document.head||document.getElementsByTagName("head")[0]),p=null,u=0,f=!1,g=function(){},v=null,m="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,i,a){f=i,v=a||{};var s=c(e,t);return n(s),function(t){for(var i=[],a=0;a<s.length;a++){var r=s[a],o=l[r.id];o.refs--,i.push(o)}t?(s=c(e,t),n(s)):s=[];for(var a=0;a<i.length;a++){var o=i[a];if(0===o.refs){for(var d=0;d<o.parts.length;d++)o.parts[d]();delete l[o.id]}}}};var _=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\n")}}()},function(e,t,i){"use strict";function n(e){i(5)}Object.defineProperty(t,"__esModule",{value:!0});var a=i(8),s=i.n(a),r=i(11),o=i(0),d=n,c=o(s.a,r.a,d,null,null);t.default=c.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12),a=i.n(n),s=i(13),r=i(0),o=r(a.a,s.a,null,null,null);t.default=o.exports},function(e,t,i){var n=i(6);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(2)("3066c21c",n,!0,{})},function(e,t,i){t=e.exports=i(1)(),t.push([e.i,".slider-container{margin:0 auto;overflow:hidden;z-index:1;height:100%;width:100%;position:relative;white-space:nowrap}.slider-center-center{margin:auto;z-index:1;position:absolute;top:0;left:0;right:0;bottom:0}.slider-touch{height:100%}.slider-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1;align-items:center}.swiper-container-vertical .slider-wrapper{-moz-flex-direction:column;-ms-flex-direction:column;-o-flex-direction:column;flex-direction:column}.slider-item{flex-shrink:0;height:100%;position:relative;width:100%;align-items:center;display:flex;font-size:40px;justify-content:center;text-align:center;color:#fff}.slider-fade .slider-item{position:absolute;left:0;opacity:0}.slider-pagination{position:absolute;text-align:center;transform:translateZ(0);z-index:10}.slider-pagination-bullets{bottom:10px;left:0;width:100%}.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;display:inline-block;height:8px;opacity:.2;width:8px;cursor:pointer;margin:0 5px}.swiper-container-vertical .slider-pagination-bullets{bottom:auto;left:auto;width:auto;right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical .slider-pagination-bullet{display:block;margin:5px 0}.slider-pagination-bullet-active{background:#fff none repeat scroll 0 0;opacity:1}.slider-loading{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.swiper-container-cursorGrab{cursor:grab}",""])},function(e,t){e.exports=function(e,t){for(var i=[],n={},a=0;a<t.length;a++){var s=t[a],r=s[0],o=s[1],d=s[2],c=s[3],l={id:e+":"+a,css:o,media:d,sourceMap:c};n[r]?n[r].parts.push(l):i.push(n[r]={id:r,parts:[l]})}return i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={props:{options:{type:Object,default:function(){return{}}},pages:{type:Array,default:function(){return[]}}},name:"slider",data:function(){return{data:{poswidth:"0",posheight:"0",start:{},end:{},currentPage:this.options.currentPage||0,direction:""},s_data:{prefixes:(0,a.default)(),transitionEnding:!1,itemTransitionEnding:!1,setIntervalid:"",renderTime:"",sliderLength:0,effect:this.options.effect||"slide",tracking:!1,thresholdDistance:this.options.thresholdDistance||100,thresholdTime:this.options.thresholdTime||500,animation:!1,itemAnimation:this.options.itemAnimation||!1,loading:!1,containerClass:{"swiper-container-vertical":!1,"swiper-container-cursorGrab":this.options.grabCursor||!1},pageInit:!1,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200,currentPage:this.options.currentPage||0,pageWidth:0,pageHeight:0,sliderItem:"",pagination:void 0===this.options.pagination||this.options.pagination}}},computed:{styleobj:function(){var e={};return e.transform="translate3D("+this.data.poswidth+","+this.data.posheight+",0)",e[this.s_data.prefixes.transition+"TimingFunction"]=this.options.timingFunction||"ease",e[this.s_data.prefixes.transition+"Duration"]=(this.s_data.animation?this.options.speed||300:0)+"ms","fade"===this.s_data.effect||"coverflow"===this.s_data.effect?{}:e},pagenums:function(){return!this.pages.length&&0===this.s_data.sliderLength||this.s_data.pageInit||(this.s_data.pageInit=!0),this.pages.length},currentWidth:{get:function(){if(!this.pages.length&&0===this.s_data.sliderLength||"fade"===this.s_data.effect||"coverflow"===this.s_data.effect)return 0;var e=void 0,t=this.data.currentPage,i=this.s_data.pageWidth,n=this.options.loopedSlides||1;this.options.loop&&(t+=n?n<=(this.pagenums||this.s_data.sliderLength)?n:this.pagenums||this.s_data.sliderLength:1),"coverflow"===this.options.effect&&(t-=1);for(var a in this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(e=this.$el.children[a]);var s=e.children[0].children,r=s[t].offsetLeft;this.options.loop&&(r=s[t].offsetLeft);var o=s[t].offsetWidth;return this.options.centeredSlides&&(r=r-i/2+o/2),r+i-i}},currentHeight:function(){var e=this.s_data.sliderLength,t=this.data.currentPage,i=this.pages.length,n=0,a=void 0,s=t-1,r=this.s_data.pageWidth,o=this.options.loopedSlides||1;if(!i&&0===e||"fade"===this.s_data.effect)return 0;this.options.loop&&(s=o?t+(o<=(i||e)?o:i||e)-1:t+1);for(var d in this.$el.children)/slider-touch/gi.test(this.$el.children[d].className)&&(a=this.$el.children[d]);var c=a.children[0].children;for(var l in c)l<=s&&(n+=c[l].offsetHeight,n+=parseInt(c[l].style.marginTop||0),n+=parseInt(c[l].style.marginBottom||0));return n+r-r},classObject:function(){var e={};switch(this.options.effect){case"fade":e={"slider-fade":!0}}return e}},mounted:function(){var e=this,t=this;this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.$emit("init",this.data),this.$on("slideTo",function(t){e.slide(t)}),this.$on("slideNext",function(){e.next()}),this.$on("slidePre",function(){e.pre()}),this.$on("autoplayStart",function(i){e.options.autoplay=i||e.options.autoplay||1e3,e.clock().begin(t)}),this.$on("autoplayStop",function(){e.options.autoplay=0,e.clock().stop(t)}),this.$on("loadingShow",function(){e.s_data.loading=!0}),this.$on("loadingHide",function(){e.s_data.loading=!1}),this.options.autoplay&&this.clock().begin(t),"vertical"===this.options.direction&&(this.s_data.containerClass["swiper-container-vertical"]=!0),window.addEventListener("resize",function(){t.s_data.pageWidth=t.$el.offsetWidth,t.s_data.pageHeight=t.$el.offsetHeight,t.slide(t.data.currentPage,"animationnone")})},methods:{swipeStart:function(e){var t=this;if(!(this.s_data.transitionEnding||this.s_data.itemTransitionEnding&&this.options.itemAnimation))if(this.s_data.animation=!1,this.options.autoplay&&this.clock().stop(t),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",t.preventDefault(e)),"touchstart"===e.type){if(e.touches.length>1)return void(this.s_data.tracking=!1);this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=e.targetTouches[0].clientX,this.data.start.y=e.targetTouches[0].clientY,this.data.end.x=e.targetTouches[0].clientX,this.data.end.y=e.targetTouches[0].clientY}else this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=e.clientX,this.data.start.y=e.clientY,this.data.end.x=e.clientX,this.data.end.y=e.clientY},swipeMove:function(e){if(this.s_data.tracking){var t=this.s_data.effect;"touchmove"===e.type?(this.data.end.x=e.targetTouches[0].clientX,this.data.end.y=e.targetTouches[0].clientY):(this.data.end.x=e.clientX,this.data.end.y=e.clientY);var i=Math.abs(this.data.end.x-this.data.start.x),n=Math.abs(this.data.end.y-this.data.start.y);if(i>=n&&"vertical"!==this.options.direction?e.preventDefault():i<=n&&"vertical"===this.options.direction&&e.preventDefault(),"fade"===t||"coverflow"===t)return;if(console.log(this),"vertical"===this.options.direction){if(i>n)return;this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y+"px"}else{if(i<n)return;this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x+"px"}}},swipeEnd:function(e){this.s_data.tracking=!1;var t=(new Date).getTime(),i=t-this.data.start.t,n=this.data.end.x-this.data.start.x,a=this.data.end.y-this.data.start.y,s=this.s_data.thresholdDistance,r=this.data.currentPage;if(this.options.autoplay){var o=this;setTimeout(function(){o.clock().begin(o)},this.options.autoplay)}if(!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(e)),i>this.s_data.thresholdTime)return void this.slide(r);if("vertical"!==this.options.direction){if(n>s&&Math.abs(a)<s)return void this.pre();if(-n>s&&Math.abs(a)<s)return void this.next();if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return void this.slide(r);this.$emit("tap",this.data),this.slide(r)}else{if(a>s&&Math.abs(n)<s)return void this.pre();if(-a>s&&Math.abs(n)<s)return void this.next();if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return void this.slide(r);this.$emit("tap",this.data),this.slide(r)}},swipeOut:function(e){this.$el===e.target&&this.s_data.tracking&&this.swipeEnd(e)},pre:function(){this.data.direction="left";var e=this.s_data.sliderLength,t=this.options.slidesToScroll;this.data.currentPage>=1?(this.data.currentPage-=t||1,this.slide()):this.options.loop&&0===this.data.currentPage?(this.data.currentPage-=t||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage<0&&"fade"===this.s_data.effect?(this.slide((this.pagenums||e)-1),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()):this.slide()},next:function(){this.data.direction="right";var e=this.s_data.sliderLength;this.data.currentPage<(this.pagenums||e)-1?(this.data.currentPage+=this.options.slidesToScroll||1,this.slide()):this.options.loop&&this.data.currentPage===(this.pagenums||e)-1?(this.data.currentPage+=this.options.slidesToScroll||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage>=(this.pagenums||e)&&"fade"===this.s_data.effect?(this.slide(0),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()):this.slide()},slide:function(e,t){if(this.s_data.animation=!0,"animationnone"===t&&(this.s_data.animation=!1),(e||0===e)&&(this.data.currentPage=e),this.$emit("slide",this.data),"fade"===this.s_data.effect)return void(this.pagenums||this.fadeDom());if("vertical"===this.options.direction?this.data.posheight=-this.currentHeight+"px":this.data.poswidth=-this.currentWidth+"px",this.s_data.sliderLength){var i=this.$el.getElementsByClassName("slider-wrapper")[0],n=i.getElementsByClassName("slider-item"),a=i.getElementsByClassName("slider-active-copy"),s=this.options.loopedSlides||1,r=this.s_data.sliderLength,o=this.$children,d=this.data.currentPage;if(o=o.filter(function(e){return"slideritem"===e.$options._componentTag}),o.forEach(function(e){e.removeActive()}),o[d]&&o[d].addActive(),d<0||d>=(this.pagenums||r)){n[d+s]&&n[d+s].classList&&n[d+s].classList.add("slider-active-copy");o[d<0?(this.pagenums||r)+d:0+d-(this.pagenums||r)].addActive()}else for(var c=0;c<a.length;c++){var l=a[c];l.classList.remove("slider-active-copy")}}this.data.currentPage<0||(this.data.currentPage,this.pagenums||this.s_data.sliderLength)},clock:function(){return{begin:function(e){e.s_data.setIntervalid||0!==e.options.autoplay&&(e.s_data.setIntervalid=setInterval(function(){e.next(),e.data.currentPage!==(e.pagenums||e.s_data.sliderLength)-1||e.options.loop||(clearInterval(e.s_data.setIntervalid),e.s_data.setIntervalid=0)},e.options.autoplay))},stop:function(e){clearInterval(e.s_data.setIntervalid),e.s_data.setIntervalid=0}}},preventDefault:function(e){e.preventDefault()},onTransitionEnd:function(e){if(e.target===e.currentTarget||"coverflow"===this.options.effect){var t=this;setTimeout(function(){var e=t.data.currentPage,i=t.s_data.sliderLength;t.options.loop&&""!==t.s_data.effect&&(t.s_data.transitionEnding=!1,e<0?t.slide((t.pagenums||i)+e,"animationnone"):e>=(t.pagenums||i)&&t.slide(0+e-(t.pagenums||i),"animationnone"))},0)}},onItemTransitionEnd:function(e){if(e.target===e.currentTarget){var t=this;setTimeout(function(){t.s_data.itemTransitionEnding=!1},0)}},renderDom:function(e){var t=this;this.s_data.renderTime&&clearTimeout(this.s_data.renderTime),t.s_data.sliderLength+=1,t.s_data.sliderLength>=1&&"fade"===t.options.effect&&(e.previousSibling?e.style["z-index"]=99-t.s_data.sliderLength:e.style["z-index"]=99+t.s_data.sliderLength),this.s_data.renderTime=setTimeout(function(){t.s_data.renderTime=void 0;var e=t.$el.getElementsByClassName("slider-wrapper")[0],i=e.getElementsByClassName("slider-item");if(t.s_data.sliderLength>=1&&t.options.loop&&"fade"!==t.options.effect&&"coverflow"!==t.options.effect){for(var n=e.getElementsByClassName("slider-copy"),a=n.length-1;a>=0;a--)e.removeChild(n[a]);i=e.getElementsByClassName("slider-item");for(var s=i.length,r=t.options.loopedSlides||1,o=0,d=0;d<s;d++){if(d+r-s>=0){var c=i[d+o].cloneNode(!0);c.classList.add("slider-copy"),c.classList.remove("slider-active"),e.insertBefore(c,i[0+o]),o++}if(d-r<0){var l=i[d].cloneNode(!0);l.classList.add("slider-copy"),l.classList.remove("slider-active"),e.appendChild(l)}}}t.$nextTick(function(){t.slide(t.data.currentPage,"animationnone")})},0)},fadeDom:function(){for(var e=this.data.currentPage,t=this.$el.getElementsByClassName("slider-wrapper")[0],i=t.getElementsByClassName("slider-item"),n=this.options.speed,a=0;a<i.length;a++)a===e||a===e+1?(i[a].style.opacity="1",i[a].style["transition-property"]="opacity",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms"):(i[a].style.opacity="0",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms")},judgeParentSlider:function(){}},components:{renderpagination:{render:function(e){var t=this.index;return this.options.renderPagination.call(this,e,t)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}}},function(e,t,i){"use strict";(function(e){function i(){var t=void 0,i=void 0,n=void 0,a=void 0;return function(){var s=document.createElement("_"),r=s.style,o=void 0;""===r[o="webkitTransition"]&&(n="webkitTransitionEnd",i=o),""===r[o="transition"]&&(n="transitionend",i=o),""===r[o="webkitTransform"]&&(t=o),""===r[o="msTransform"]&&(t=o),""===r[o="transform"]&&(t=o),document.body.insertBefore(s,null),r[t]="translate3d(0, 0, 0)",a=!!e.getComputedStyle(s).getPropertyValue(t),document.body.removeChild(s)}(),{transform:t,transition:i,transitionEnd:n,hasTranslate3d:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i}).call(t,i(10))},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"slider-container",class:e.s_data.containerClass,on:{mouseleave:e.swipeOut}},[i("div",{staticClass:"slider-touch",style:e.styleobj,on:{touchmove:function(t){return t.stopPropagation(),e.swipeMove(t)},touchstart:e.swipeStart,touchend:e.swipeEnd,mousedown:e.swipeStart,mouseup:e.swipeEnd,mousemove:function(t){return t.stopPropagation(),e.swipeMove(t)},"webkit-transition-end":e.onTransitionEnd,transitionend:e.onTransitionEnd}},[0===e.pages.length?i("div",{staticClass:"slider-wrapper",class:e.classObject},[e._t("default")],2):e._e()]),e._v(" "),e.s_data.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[e._l(e.pagenums||e.s_data.sliderLength,function(t){return[e.options.renderPagination?e._e():i("span",{staticClass:"slider-pagination-bullet",class:t-1===e.data.currentPage?"slider-pagination-bullet-active":"",on:{click:function(i){e.slide(t-1)}}}),e._v(" "),e.options.renderPagination?i("renderpagination",{class:t-1===e.data.currentPage?"slider-pagination-bullet-active-render":"",attrs:{index:t,options:e.options},nativeOn:{click:function(i){e.slide(t-1)}}}):e._e()]})],2):e._e(),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.pagenums&&0===e.s_data.sliderLength||e.s_data.loading,expression:"(!pagenums && s_data.sliderLength === 0)||s_data.loading"}],staticClass:"slider-loading"},[e._t("loading")],2)])},a=[],s={render:n,staticRenderFns:a};t.a=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1}}},mounted:function(){this.renderDom()},methods:{renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(e){this.$parent&&this.$parent.onItemTransitionEnd(e)},transform:function(){var e=this.$parent.options,t=this.$parent.data,i=this.$parent.s_data;if(!(e&&t&&i&&this.$el&&"coverflow"===e.effect))return{};var n=this.index,a=i.pageWidth,s=i.pageHeight,r=this.$el.offsetWidth,o=a/2-r/2,d=o-i.deviation+"px",c=o+i.deviation+"px",l=o+"px",h={};return n===t.currentPage-1||n===this.pageLength-2&&-1===t.currentPage?(h.transform="translate3D("+d+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1","left"===t.direction?h["z-index"]="10":h["z-index"]="1"):n===t.currentPage+1||1===n&&t.currentPage===this.pageLength?(h.transform="translate3D("+c+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1","left"===t.direction?h["z-index"]="1":h["z-index"]="10"):n===t.currentPage?(h.transform="translate3D("+l+",0 ,0)",h["z-index"]="99",h.opacity="1"):(h.transform="translate3D("+l+",0 ,0)",h.opacity="0"),n===this.pageLength-1&&0===t.currentPage&&(h.transform="translate3D("+d+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1"),0===n&&t.currentPage===this.pageLength-1&&(h.transform="translate3D("+c+",0 ,0)",h.width=r*i.widthScalingRatio+"px",h.height=s*i.heightScalingRatio+"px",h.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==t.currentPage)&&(0!==n&&1!==n||t.currentPage!==this.pageLength)||(h.opacity="1",0===n&&(h["z-index"]="99"),n===this.pageLength-1&&(h["z-index"]="99")),h[i.prefixes.transition+"Duration"]=(i.animation?e.speed||300:0)+"ms",h.position="absolute",h}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.slideClass,style:[e.transform(e.index)],on:{"webkit-transition-end":e.onTransitionEnd,transitionend:e.onTransitionEnd}},[e._t("default")],2)},a=[],s={render:n,staticRenderFns:a};t.a=s},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.slideritem=t.slider=void 0;var a=i(3),s=n(a),r=i(4),o=n(r),d=s.default,c=o.default;t.default=d,t.slider=d,t.slideritem=c}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("vueConciseSlider",[],e):"object"==typeof exports?exports.vueConciseSlider=e():t.vueConciseSlider=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(t){delete installedChunks[t]}function i(t){var e=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=u.p+""+t+"."+w+".hot-update.js",e.appendChild(i)}function n(t){return t=t||1e4,new Promise(function(e,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,a=u.p+""+w+".hot-update.json";n.open("GET",a,!0),n.timeout=t,n.send(null)}catch(t){return i(t)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)i(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)e();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+a+" failed."));else{try{var t=JSON.parse(n.responseText)}catch(t){return void i(t)}e(t)}}})}function a(t){var e=j[t];if(!e)return u;var i=function(i){return e.hot.active?(j[i]?j[i].parents.indexOf(t)<0&&j[i].parents.push(t):(P=[t],g=i),e.children.indexOf(i)<0&&e.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+t),P=[]),u(i)};for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&"e"!==n&&Object.defineProperty(i,n,function(t){return{configurable:!0,enumerable:!0,get:function(){return u[t]},set:function(e){u[t]=e}}}(n));return i.e=function(t){function e(){L--,"prepare"===$&&(O[t]||l(t),0===L&&0===D&&h())}return"ready"===$&&r("prepare"),L++,u.e(t).then(e,function(t){throw e(),t})},i}function s(t){var e={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:g!==t,active:!0,accept:function(t,i){if(void 0===t)e._selfAccepted=!0;else if("function"==typeof t)e._selfAccepted=t;else if("object"==typeof t)for(var n=0;n<t.length;n++)e._acceptedDependencies[t[n]]=i||function(){};else e._acceptedDependencies[t]=i||function(){}},decline:function(t){if(void 0===t)e._selfDeclined=!0;else if("object"==typeof t)for(var i=0;i<t.length;i++)e._declinedDependencies[t[i]]=!0;else e._declinedDependencies[t]=!0},dispose:function(t){e._disposeHandlers.push(t)},addDisposeHandler:function(t){e._disposeHandlers.push(t)},removeDisposeHandler:function(t){var i=e._disposeHandlers.indexOf(t);i>=0&&e._disposeHandlers.splice(i,1)},check:d,apply:p,status:function(t){if(!t)return $;T.push(t)},addStatusHandler:function(t){T.push(t)},removeStatusHandler:function(t){var e=T.indexOf(t);e>=0&&T.splice(e,1)},data:b[t]};return g=void 0,e}function r(t){$=t;for(var e=0;e<T.length;e++)T[e].call(null,t)}function o(t){return+t+""===t?+t:t}function d(t){if("idle"!==$)throw new Error("check() is only allowed in idle status");return _=t,r("check"),n(x).then(function(t){if(!t)return r("idle"),null;S={},O={},C=t.c,y=t.h,r("prepare");var e=new Promise(function(t,e){v={resolve:t,reject:e}});m={};return l(1),"prepare"===$&&0===L&&0===D&&h(),e})}function c(t,e){if(C[t]&&S[t]){S[t]=!1;for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(m[i]=e[i]);0==--D&&0===L&&h()}}function l(t){C[t]?(S[t]=!0,D++,i(t)):O[t]=!0}function h(){r("ready");var t=v;if(v=null,t)if(_)Promise.resolve().then(function(){return p(_)}).then(function(e){t.resolve(e)},function(e){t.reject(e)});else{var e=[];for(var i in m)Object.prototype.hasOwnProperty.call(m,i)&&e.push(o(i));t.resolve(e)}}function p(i){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];t.indexOf(n)<0&&t.push(n)}}if("ready"!==$)throw new Error("apply() is only allowed in ready status");i=i||{};var a,s,d,c,l,h={},p=[],f={},g=function(){console.warn("[HMR] unexpected require("+_.moduleId+") to disposed module")};for(var v in m)if(Object.prototype.hasOwnProperty.call(m,v)){l=o(v);var _;_=m[v]?function(t){for(var e=[t],i={},a=e.slice().map(function(t){return{chain:[t],id:t}});a.length>0;){var s=a.pop(),r=s.id,o=s.chain;if((c=j[r])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:r};if(c.hot._main)return{type:"unaccepted",chain:o,moduleId:r};for(var d=0;d<c.parents.length;d++){var l=c.parents[d],h=j[l];if(h){if(h.hot._declinedDependencies[r])return{type:"declined",chain:o.concat([l]),moduleId:r,parentId:l};e.indexOf(l)>=0||(h.hot._acceptedDependencies[r]?(i[l]||(i[l]=[]),n(i[l],[r])):(delete i[l],e.push(l),a.push({chain:o.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:i}}(l):{type:"disposed",moduleId:v};var x=!1,E=!1,T=!1,D="";switch(_.chain&&(D="\nUpdate propagation: "+_.chain.join(" -> ")),_.type){case"self-declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(x=new Error("Aborted because of self decline: "+_.moduleId+D));break;case"declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(x=new Error("Aborted because of declined dependency: "+_.moduleId+" in "+_.parentId+D));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(_),i.ignoreUnaccepted||(x=new Error("Aborted because "+l+" is not accepted"+D));break;case"accepted":i.onAccepted&&i.onAccepted(_),E=!0;break;case"disposed":i.onDisposed&&i.onDisposed(_),T=!0;break;default:throw new Error("Unexception type "+_.type)}if(x)return r("abort"),Promise.reject(x);if(E){f[l]=m[l],n(p,_.outdatedModules);for(l in _.outdatedDependencies)Object.prototype.hasOwnProperty.call(_.outdatedDependencies,l)&&(h[l]||(h[l]=[]),n(h[l],_.outdatedDependencies[l]))}T&&(n(p,[_.moduleId]),f[l]=g)}var L=[];for(s=0;s<p.length;s++)l=p[s],j[l]&&j[l].hot._selfAccepted&&L.push({module:l,errorHandler:j[l].hot._selfAccepted});r("dispose"),Object.keys(C).forEach(function(t){!1===C[t]&&e(t)});for(var O,S=p.slice();S.length>0;)if(l=S.pop(),c=j[l]){var k={},M=c.hot._disposeHandlers;for(d=0;d<M.length;d++)(a=M[d])(k);for(b[l]=k,c.hot.active=!1,delete j[l],delete h[l],d=0;d<c.children.length;d++){var I=j[c.children[d]];I&&((O=I.parents.indexOf(l))>=0&&I.parents.splice(O,1))}}var H,z;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=j[l]))for(z=h[l],d=0;d<z.length;d++)H=z[d],(O=c.children.indexOf(H))>=0&&c.children.splice(O,1);r("apply"),w=y;for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(t[l]=f[l]);var N=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=j[l])){z=h[l];var A=[];for(s=0;s<z.length;s++)if(H=z[s],a=c.hot._acceptedDependencies[H]){if(A.indexOf(a)>=0)continue;A.push(a)}for(s=0;s<A.length;s++){a=A[s];try{a(z)}catch(t){i.onErrored&&i.onErrored({type:"accept-errored",moduleId:l,dependencyId:z[s],error:t}),i.ignoreErrored||N||(N=t)}}}for(s=0;s<L.length;s++){var R=L[s];l=R.module,P=[l];try{u(l)}catch(t){if("function"==typeof R.errorHandler)try{R.errorHandler(t)}catch(e){i.onErrored&&i.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:e,orginalError:t,originalError:t}),i.ignoreErrored||N||(N=e),N||(N=t)}else i.onErrored&&i.onErrored({type:"self-accept-errored",moduleId:l,error:t}),i.ignoreErrored||N||(N=t)}}return N?(r("fail"),Promise.reject(N)):(r("idle"),new Promise(function(t){t(p)}))}function u(e){if(j[e])return j[e].exports;var i=j[e]={i:e,l:!1,exports:{},hot:s(e),parents:(E=P,P=[],E),children:[]};return t[e].call(i.exports,i,i.exports,a(e)),i.l=!0,i.exports}var f=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(t,e){c(t,e),f&&f(t,e)};var g,v,m,y,_=!0,w="92bf65b3266610f88e66",x=1e4,b={},P=[],E=[],T=[],$="idle",D=0,L=0,O={},S={},C={},j={};return u.m=t,u.c=j,u.d=function(t,e,i){u.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="",u.h=function(){return w},a(14)(u.s=14)}([function(t,e){t.exports=function(t,e,i,n,a){var s,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(s=t,r=t.default);var d="function"==typeof r?r.options:r;e&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns),n&&(d._scopeId=n);var c;if(a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=i),c){var l=d.functional,h=l?d.render:d.beforeCreate;l?d.render=function(t,e){return c.call(e),h(t,e)}:d.beforeCreate=h?[].concat(h,c):[c]}return{esModule:s,exports:r,options:d}}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var s=this[a][0];"number"==typeof s&&(n[s]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),t.push(r))}},t}},function(t,e,i){function n(t){for(var e=0;e<t.length;e++){var i=t[e],n=l[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(s(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var r=[],a=0;a<i.parts.length;a++)r.push(s(i.parts[a]));l[i.id]={id:i.id,refs:1,parts:r}}}}function a(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function s(t){var e,i,n=document.querySelector("style["+m+'~="'+t.id+'"]');if(n){if(f)return g;n.parentNode.removeChild(n)}if(y){var s=u++;n=p||(p=a()),e=r.bind(null,n,s,!1),i=r.bind(null,n,s,!0)}else n=a(),e=o.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}function r(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=_(e,a);else{var s=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(s,r[e]):t.appendChild(s)}}function o(t,e){var i=e.css,n=e.media,a=e.sourceMap;if(n&&t.setAttribute("media",n),v.ssrId&&t.setAttribute(m,e.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var d="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!d)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=i(7),l={},h=d&&(document.head||document.getElementsByTagName("head")[0]),p=null,u=0,f=!1,g=function(){},v=null,m="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,i,a){f=i,v=a||{};var s=c(t,e);return n(s),function(e){for(var i=[],a=0;a<s.length;a++){var r=s[a],o=l[r.id];o.refs--,i.push(o)}e?(s=c(t,e),n(s)):s=[];for(var a=0;a<i.length;a++){var o=i[a];if(0===o.refs){for(var d=0;d<o.parts.length;d++)o.parts[d]();delete l[o.id]}}}};var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";function n(t){i(5)}Object.defineProperty(e,"__esModule",{value:!0});var a=i(8),s=i.n(a),r=i(11),o=i(0),d=n,c=o(s.a,r.a,d,null,null);e.default=c.exports},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(12),a=i.n(n),s=i(13),r=i(0),o=r(a.a,s.a,null,null,null);e.default=o.exports},function(t,e,i){var n=i(6);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i(2)("3066c21c",n,!0,{})},function(t,e,i){e=t.exports=i(1)(),e.push([t.i,".slider-container{margin:0 auto;overflow:hidden;z-index:1;height:100%;width:100%;position:relative;white-space:nowrap}.slider-center-center{margin:auto;z-index:1;position:absolute;top:0;left:0;right:0;bottom:0}.slider-touch{height:100%}.swiper-container-horizontal>*>.slider-wrapper{-moz-flex-direction:row;-ms-flex-direction:row;-o-flex-direction:row;flex-direction:row}.swiper-container-horizontal>*>.slider-wrapper,.swiper-container-vertical>*>.slider-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1;align-items:center}.swiper-container-vertical>*>.slider-wrapper{-moz-flex-direction:column;-ms-flex-direction:column;-o-flex-direction:column;flex-direction:column}.slider-item{flex-shrink:0;height:100%;position:relative;width:100%;align-items:center;display:flex;font-size:40px;justify-content:center;text-align:center;color:#fff}.slider-fade .slider-item{position:absolute;left:0;opacity:0}.slider-pagination{position:absolute;text-align:center;transform:translateZ(0);z-index:10}.swiper-container-horizontal>.slider-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-container-horizontal>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;display:inline-block;height:8px;opacity:.2;width:8px;cursor:pointer;margin:0 5px}.swiper-container-vertical>.slider-pagination-bullets{left:0;bottom:auto;left:auto;width:auto;right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;height:8px;opacity:.2;width:8px;cursor:pointer;display:block;margin:5px 0}.swiper-container-horizontal .slider-pagination-bullet-active,.swiper-container-vertical .slider-pagination-bullet-active{background:#fff none repeat scroll 0 0;opacity:1}.slider-loading{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.swiper-container-cursorGrab{cursor:grab}",""])},function(t,e){t.exports=function(t,e){for(var i=[],n={},a=0;a<e.length;a++){var s=e[a],r=s[0],o=s[1],d=s[2],c=s[3],l={id:t+":"+a,css:o,media:d,sourceMap:c};n[r]?n[r].parts.push(l):i.push(n[r]={id:r,parts:[l]})}return i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(9),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default={props:{options:{type:Object,default:function(){return{}}},pages:{type:Array,default:function(){return[]}}},name:"slider",data:function(){return{data:{poswidth:0,posheight:0,start:{},end:{},currentPage:this.options.currentPage||0,direction:""},s_data:{prefixes:(0,a.default)(),transitionEnding:!1,itemTransitionEnding:!1,setIntervalid:"",renderTime:"",sliderLength:0,effect:this.options.effect||"slide",direction:this.options.direction||"horizontal",tracking:!1,thresholdDistance:this.options.thresholdDistance||100,thresholdTime:this.options.thresholdTime||500,animation:!1,itemAnimation:this.options.itemAnimation||!1,loading:!1,containerClass:{"swiper-container-vertical":!1,"swiper-container-cursorGrab":this.options.grabCursor||!1},pageInit:!1,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200,currentPage:this.options.currentPage||0,pageWidth:0,pageHeight:0,sliderItem:"",pagination:void 0===this.options.pagination||this.options.pagination,nested:void 0===this.options.nested||this.options.nested,resize:void 0===this.options.resize||this.options.resize,$parent:this.judgeParentSlider(this),route:!1}}},watch:{$route:function(){var t=this;if(this.route){var e=t.data.currentPage,i=t.s_data.sliderLength;t.s_data.transitionEnding=!1,e<0?t.slide(0,"animationnone"):e>=(t.pagenums||i)?t.slide(2,"animationnone"):t.slide(e,"animationnone"),this.route=!1}else this.route=!0}},computed:{styleobj:function(){var t={};return t.transform="translate3D("+this.data.poswidth+"px,"+this.data.posheight+"px,0)",t[this.s_data.prefixes.transition+"TimingFunction"]=this.options.timingFunction||"ease",t[this.s_data.prefixes.transition+"Duration"]=(this.s_data.animation?this.options.speed||300:0)+"ms","fade"===this.s_data.effect||"coverflow"===this.s_data.effect?{}:t},pagenums:function(){return(this.pages.length||0!==this.s_data.sliderLength)&&this.s_data.pageInit,this.pages.length},currentWidth:{get:function(){if(!this.pages.length&&0===this.s_data.sliderLength||"fade"===this.s_data.effect||"coverflow"===this.s_data.effect)return 0;var t=void 0,e=this.data.currentPage,i=this.s_data.pageWidth,n=this.options.loopedSlides||1;this.options.loop&&(e+=n?n<=(this.pagenums||this.s_data.sliderLength)?n:this.pagenums||this.s_data.sliderLength:1),"coverflow"===this.options.effect&&(e-=1);for(var a in this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(t=this.$el.children[a]);var s=t.children[0].children,r=s[e].offsetLeft;this.options.loop&&(r=s[e].offsetLeft);var o=s[e].offsetWidth;return this.options.centeredSlides&&(r=r-i/2+o/2),r+i-i}},currentHeight:function(){var t=this.s_data.sliderLength,e=this.data.currentPage,i=this.pages.length,n=0,a=void 0,s=e-1,r=this.s_data.pageWidth,o=this.options.loopedSlides||1;if(!i&&0===t||"fade"===this.s_data.effect)return 0;this.options.loop&&(s=o?e+(o<=(i||t)?o:i||t)-1:e+1);for(var d in this.$el.children)/slider-touch/gi.test(this.$el.children[d].className)&&(a=this.$el.children[d]);var c=a.children[0].children;for(var l in c)l<=s&&(n+=c[l].offsetHeight,n+=parseInt(c[l].style.marginTop||0),n+=parseInt(c[l].style.marginBottom||0));return n+r-r},classObject:function(){var t={};switch(this.options.effect){case"fade":t={"slider-fade":!0}}return t}},mounted:function(){var t=this,e=this;this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.$emit("init",this.data),this.$on("slideTo",function(e){t.slide(e)}),this.$on("slideNext",function(){t.next()}),this.$on("slidePre",function(){t.pre()}),this.$on("autoplayStart",function(i){t.options.autoplay=i||t.options.autoplay||1e3,t.clock().begin(e)}),this.$on("autoplayStop",function(){t.options.autoplay=0,t.clock().stop(e)}),this.$on("loadingShow",function(){t.s_data.loading=!0}),this.$on("loadingHide",function(){t.s_data.loading=!1}),this.options.autoplay&&this.clock().begin(e),"vertical"===this.options.direction?this.s_data.containerClass["swiper-container-vertical"]=!0:this.s_data.containerClass["swiper-container-horizontal"]=!0,this.s_data.resize&&window.addEventListener("resize",function(){e.s_data.pageWidth=e.$el.offsetWidth,e.s_data.pageHeight=e.$el.offsetHeight,e.slide(e.data.currentPage,"animationnone")})},methods:{swipeStart:function(t){var e=this;if(this.s_data.e=t,!(this.s_data.transitionEnding||this.s_data.itemTransitionEnding&&this.options.itemAnimation))if(this.s_data.animation=!1,this.options.autoplay&&this.clock().stop(e),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",e.preventDefault(t)),"touchstart"===t.type){if(t.touches.length>1)return this.s_data.tracking=!1,!1;this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.targetTouches[0].clientX,this.data.start.y=t.targetTouches[0].clientY,this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY}else this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.clientX,this.data.start.y=t.clientY,this.data.end.x=t.clientX,this.data.end.y=t.clientY},swipeMove:function(t){if(this.s_data.e=t,this.s_data.tracking){var e=this.s_data.effect,i=this.s_data.$parent;"touchmove"===t.type?(this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY):(this.data.end.x=t.clientX,this.data.end.y=t.clientY);var n=Math.abs(this.data.end.x-this.data.start.x),a=Math.abs(this.data.end.y-this.data.start.y);if(n>=a&&"vertical"!==this.options.direction?t.preventDefault():n<=a&&"vertical"===this.options.direction&&t.preventDefault(),i&&i.s_data.direction===this.s_data.direction&&t.stopPropagation(),"fade"===e||"coverflow"===e)return;if("vertical"===this.options.direction){if(n>a)return;i&&"vertical"===i.options.direction&&0===this.data.currentPage&&this.data.end.y-this.data.start.y>=0&&i.s_data.nested?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:i&&"vertical"===i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.y-this.data.start.y<=0&&i.s_data.nested?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y}else{if(n<a)return;i&&"vertical"!==i.options.direction&&0===this.data.currentPage&&this.data.end.x-this.data.start.x>=0&&i.s_data.nested?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:i&&"vertical"!==i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.x-this.data.start.x<=0&&i.s_data.nested?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x}}},swipeEnd:function(t){this.s_data.e=t,this.s_data.tracking=!1;var e=(new Date).getTime(),i=e-this.data.start.t,n=this.data.end.x-this.data.start.x,a=this.data.end.y-this.data.start.y,s=this.s_data.thresholdDistance,r=this.data.currentPage;if(this.options.autoplay){var o=this;setTimeout(function(){o.clock().begin(o)},this.options.autoplay)}if(!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(t)),i>this.s_data.thresholdTime)return this.slide(r),!1;if("vertical"!==this.options.direction){if(n>s&&Math.abs(a)<s)return this.pre(),!1;if(-n>s&&Math.abs(a)<s)return this.next(),!1;if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return this.slide(r),!1;this.$emit("tap",this.data),this.slide(r)}else{if(a>s&&Math.abs(n)<s)return this.pre(),!1;if(-a>s&&Math.abs(n)<s)return this.next(),!1;if(!(i<300&&Math.abs(n)<10&&Math.abs(a)<10))return this.slide(r),!1;this.$emit("tap",this.data),this.slide(r)}},swipeOut:function(t){this.$el===t.target&&this.s_data.tracking&&this.swipeEnd(t)},pre:function(){this.data.direction="left";var t=this.s_data.sliderLength,e=this.options.slidesToScroll,i=this.s_data.$parent;this.data.currentPage>=1?(this.data.currentPage-=e||1,this.slide()):!this.options.loop||0!==this.data.currentPage||i&&i.s_data.nested?i&&0===this.data.currentPage&&i.s_data.nested?(i.pre(),this.slide()):this.slide():(this.data.currentPage-=e||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage<0&&"fade"===this.s_data.effect?(this.slide((this.pagenums||t)-1),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide())},next:function(){this.data.direction="right";var t=this.s_data.sliderLength,e=this.s_data.$parent;if(this.data.currentPage<(this.pagenums||t)-1)this.data.currentPage+=this.options.slidesToScroll||1,this.slide();else if(!this.options.loop||this.data.currentPage!==(this.pagenums||t)-1||e&&e.s_data.nested)if(e&&this.data.currentPage===(this.pagenums||t)-1&&e.s_data.nested){var i=this.s_data.$parent;i.next(),this.slide()}else this.slide();else this.data.currentPage+=this.options.slidesToScroll||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage>=(this.pagenums||t)&&"fade"===this.s_data.effect?(this.slide(0),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()},slide:function(t,e){if(this.s_data.animation=!0,"animationnone"===e&&(this.s_data.animation=!1),(t||0===t)&&(this.data.currentPage=t),this.$emit("slide",this.data),"fade"===this.s_data.effect)return void(this.pagenums||this.fadeDom());if("vertical"===this.options.direction?this.data.posheight=-this.currentHeight:this.data.poswidth=-this.currentWidth,this.s_data.sliderLength){var i=this.$el.getElementsByClassName("slider-wrapper")[0],n=Array.prototype.slice.call(i.children),a=n.filter(function(t){return-1!==t.className.indexOf("slider-item")}),s=n.filter(function(t){return-1!==t.className.indexOf("slider-active-copy")}),r=this.options.loopedSlides||1,o=this.s_data.sliderLength,d=this.$children,c=this.data.currentPage;if(d=d.filter(function(t){return"slideritem"===t.$options._componentTag}),d.forEach(function(t){t.removeActive()}),"nest"===this.options.effect)return;if(d[c]&&d[c].addActive(),c<0||c>=(this.pagenums||o)){a[c+r]&&a[c+r].classList&&a[c+r].classList.add("slider-active-copy");d[c<0?(this.pagenums||o)+c:0+c-(this.pagenums||o)].addActive()}else for(var l=0;l<s.length;l++){var h=s[l];h.classList.remove("slider-active-copy")}}return!(this.data.currentPage<0||this.data.currentPage>=(this.pagenums||this.s_data.sliderLength))&&void 0},clock:function(){return{begin:function(t){t.s_data.setIntervalid||0!==t.options.autoplay&&(t.s_data.setIntervalid=setInterval(function(){t.next(),t.data.currentPage!==(t.pagenums||t.s_data.sliderLength)-1||t.options.loop||(clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0)},t.options.autoplay))},stop:function(t){clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0}}},preventDefault:function(t){t.preventDefault()},onTransitionEnd:function(t,e){if("route"===e||t.target===t.currentTarget||"coverflow"===this.options.effect){if("route"===e){var i=this.data.currentPage,n=this.s_data.sliderLength;i<0?this.slide((this.pagenums||n)+i,"animationnone"):i>=(this.pagenums||n)&&this.slide(0+i-(this.pagenums||n),"animationnone")}var a=this;setTimeout(function(){var t=a.data.currentPage,e=a.s_data.sliderLength;a.options.loop&&""!==a.s_data.effect&&(a.s_data.transitionEnding=!1,t<0?a.slide((a.pagenums||e)+t,"animationnone"):t>=(a.pagenums||e)&&a.slide(0+t-(a.pagenums||e),"animationnone"))},0)}},onItemTransitionEnd:function(t){if(t.target===t.currentTarget){var e=this;setTimeout(function(){e.s_data.itemTransitionEnding=!1},0)}},renderDom:function(t){var e=this;this.s_data.renderTime&&clearTimeout(this.s_data.renderTime),e.s_data.sliderLength+=1,e.s_data.sliderLength>=1&&"fade"===e.options.effect&&(t.previousSibling?t.style["z-index"]=99-e.s_data.sliderLength:t.style["z-index"]=99+e.s_data.sliderLength),this.s_data.renderTime=setTimeout(function(){e.s_data.renderTime=void 0;var t=e.$el.getElementsByClassName("slider-wrapper")[0],i=Array.prototype.slice.call(t.children),n=i.filter(function(t){return-1!==t.className.indexOf("slider-item")});if(e.s_data.sliderLength>=1&&e.options.loop&&"fade"!==e.options.effect&&"coverflow"!==e.options.effect){for(var a=t.getElementsByClassName("slider-copy"),s=a.length-1;s>=0;s--)t.removeChild(a[s]);n=Array.prototype.slice.call(t.children).filter(function(t){return-1!==t.className.indexOf("slider-item")});for(var r=n.length,o=e.options.loopedSlides||1,d=0;d<r;d++){if(d+o-r>=0){var c=n[d+0].cloneNode(!0);c.classList.add("slider-copy"),c.classList.remove("slider-active"),t.insertBefore(c,n[0])}if(d-o<0){var l=n[d].cloneNode(!0);l.classList.add("slider-copy"),l.classList.remove("slider-active"),t.appendChild(l)}}}e.$nextTick(function(){e.slide(e.data.currentPage,"animationnone")})},0)},fadeDom:function(){for(var t=this.data.currentPage,e=this.$el.getElementsByClassName("slider-wrapper")[0],i=e.getElementsByClassName("slider-item"),n=this.options.speed,a=0;a<i.length;a++)a===t||a===t+1?(i[a].style.opacity="1",i[a].style["transition-property"]="opacity",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms"):(i[a].style.opacity="0",i[a].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?n||300:0)+"ms")},judgeParentSlider:function(t){return t.$parent&&t.$parent.$vnode&&"vue-component-1-slider"===t.$parent.$vnode.tag?t.$parent:(!t.$parent||void 0!==t.$parent.$vnode)&&this.judgeParentSlider(t.$parent)}},components:{renderpagination:{render:function(t){var e=this.index;return this.options.renderPagination.call(this,t,e)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}}},function(t,e,i){"use strict";(function(t){function i(){var e=void 0,i=void 0,n=void 0,a=void 0;return function(){var s=document.createElement("_"),r=s.style,o=void 0;""===r[o="webkitTransition"]&&(n="webkitTransitionEnd",i=o),""===r[o="transition"]&&(n="transitionend",i=o),""===r[o="webkitTransform"]&&(e=o),""===r[o="msTransform"]&&(e=o),""===r[o="transform"]&&(e=o),document.body.insertBefore(s,null),r[e]="translate3d(0, 0, 0)",a=!!t.getComputedStyle(s).getPropertyValue(e),document.body.removeChild(s)}(),{transform:e,transition:i,transitionEnd:n,hasTranslate3d:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i}).call(e,i(10))},function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-container",class:t.s_data.containerClass,on:{mouseleave:t.swipeOut}},[i("div",{staticClass:"slider-touch",style:t.styleobj,on:{touchmove:t.swipeMove,touchstart:t.swipeStart,touchend:t.swipeEnd,mousedown:t.swipeStart,mouseup:t.swipeEnd,mousemove:t.swipeMove,"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd,transitioncancel:t.onTransitionEnd,"webkit-transition-cancel":t.onTransitionEnd}},[0===t.pages.length?i("div",{staticClass:"slider-wrapper",class:t.classObject},[t._t("default")],2):t._e()]),t._v(" "),t.s_data.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[t._l(t.pagenums||t.s_data.sliderLength,function(e){return[t.options.renderPagination?t._e():i("span",{key:e,staticClass:"slider-pagination-bullet",class:e-1===t.data.currentPage?"slider-pagination-bullet-active":"",on:{click:function(i){t.slide(e-1)}}}),t._v(" "),t.options.renderPagination?i("renderpagination",{key:e,class:e-1===t.data.currentPage?"slider-pagination-bullet-active-render":"",attrs:{index:e,options:t.options},nativeOn:{click:function(i){t.slide(e-1)}}}):t._e()]})],2):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.pagenums&&0===t.s_data.sliderLength||t.s_data.loading,expression:"(!pagenums && s_data.sliderLength === 0)||s_data.loading"}],staticClass:"slider-loading"},[t._t("loading")],2)])},a=[],s={render:n,staticRenderFns:a};e.a=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1}}},mounted:function(){this.renderDom()},methods:{renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(t){this.$parent&&this.$parent.onItemTransitionEnd(t)},transform:function(){var t=this.$parent.options,e=this.$parent.data,i=this.$parent.s_data;if(!(t&&e&&i&&this.$el&&"coverflow"===t.effect))return{};var n=this.index,a=i.pageWidth,s=this.$el.offsetWidth,r=a/2-s/2,o=r-i.deviation+"px",d=r+i.deviation+"px",c=r+"px",l={};return n===e.currentPage-1||n===this.pageLength-2&&-1===e.currentPage?(l.transform="translate3D("+o+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1","left"===e.direction?l["z-index"]="10":l["z-index"]="1"):n===e.currentPage+1||1===n&&e.currentPage===this.pageLength?(l.transform="translate3D("+d+",0 ,0)",l.transform="translate3D("+d+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1","left"===e.direction?l["z-index"]="1":l["z-index"]="10"):n===e.currentPage?(l.transform="translate3D("+c+",0 ,0) scale3d(1,1,1)",l["z-index"]="99",l.opacity="1"):(l.transform="translate3D("+c+",0 ,0)",l.opacity="0"),n===this.pageLength-1&&0===e.currentPage&&(l.transform="translate3D("+o+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1"),0===n&&e.currentPage===this.pageLength-1&&(l.transform="translate3D("+d+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",l.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==e.currentPage)&&(0!==n&&1!==n||e.currentPage!==this.pageLength)||(l.opacity="1",0===n&&(l["z-index"]="99"),n===this.pageLength-1&&(l["z-index"]="99")),l[i.prefixes.transition+"Duration"]=(i.animation?t.speed||300:0)+"ms",l.position="absolute",l}}}},function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.slideClass,style:[t.transform(t.index)],on:{"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd}},[t._t("default")],2)},a=[],s={render:n,staticRenderFns:a};e.a=s},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.slideritem=e.slider=void 0;var a=i(3),s=n(a),r=i(4),o=n(r),d=s.default,c=o.default;e.default=d,e.slider=d,e.slideritem=c}])});

@@ -349,2 +349,15 @@ ## pages

### nested
- 类型:`boolean`
- 默认值:`true`
用于嵌套相同方向的swiper时,当子swiper切换完的时候,开启父swiper的切换
```html
{
nested: false
}
```
## 传递的事件

@@ -351,0 +364,0 @@

@@ -586,2 +586,102 @@ ## 快速开始

</script>
```
## 嵌套轮播
1. effect设置为'nest'
2. slideritem进行嵌套
```html
<template>
<div>
<div style="width:70%;margin:20px auto;height:400px">
<slider ref="slider" :options="options" @slide='slide' @tap='onTap' @init='onInit'>
<slideritem v-for="(item,index) in someList" :key="index" :style="item.style">{{item.html}}</slideritem>
<slideritem>
<slider ref="slider" :options="options1">
<slideritem v-for="(item,index) in someList1" :key="index" :style="item.style">{{item.html}}</slideritem>
</slider>
</slideritem>
<slideritem v-for="(item,index) in someList" :key="index + 3" :style="item.style">{{item.html}}</slideritem>
<div slot="loading">
<div class="loadingDot">
<i></i>
<i></i>
<i></i>
<i></i>
</div>
</div>
</slider>
</div>
</div>
</template>
<script>
import { slider, slideritem } from '../../dist/module.js'
export default {
el: '#slidernest',
data () {
return {
someList: [],
someList1: [],
options: {
// direction: 'vertical',
effect: 'nest',
pagination: true,
// nested: false, // 嵌套
thresholdDistance: 100, // 滑动距离阈值判定
thresholdTime: 300, // 滑动时间阈值判定
grabCursor: true, // 抓标样式
speed: 300, // 滑动速度
// timingFunction: 'ease', // 滑动方式
loop: true // 无限循环
// autoplay: 0 // 自动播放:时间[ms]
},
options1: {
direction: 'vertical',
pagination: true,
thresholdDistance: 100, // 滑动距离阈值判定
thresholdTime: 300, // 滑动时间阈值判定
grabCursor: true, // 抓标样式
speed: 300, // 滑动速度
// timingFunction: 'ease', // 滑动方式
loop: true // 无限循环
// autoplay: 0 // 自动播放:时间[ms]
}
}
},
mounted () {
let that = this
setTimeout(function () {
that.someList = [
{
html: 'slide1',
style: {
'background': '#1bbc9b'
}
}
]
that.someList1 = [
{
html: 'slide1-1',
style: {
'background': '#1bbc9b'
}
},
{
html: 'slide2-2',
style: {
'background': '#4bbfc3'
}
},
{
html: 'slide3-3',
style: {
'background': '#7baabe'
}
}
]
}, 2000)
},
}
</script>
```
{
"name": "vue-concise-slider",
"version": "3.2.5",
"version": "3.3.0",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -14,3 +14,3 @@ English | [中文](README.md)

### version
[v3.2.1](https://github.com/warpcgd/vue-concise-slider/issues/29) Supported vue2.0+
[v3.3.0](https://github.com/warpcgd/vue-concise-slider/issues/29) Supported vue2.0+

@@ -38,5 +38,4 @@ ### Features

- [x] New coverflow
- [x] Nested slider
### To Do List
- [ ] Hierarchical nested slider
- [ ] Virtual slider

@@ -43,0 +42,0 @@

@@ -14,3 +14,3 @@ 中文 | [English](https://github.com/warpcgd/vue-concise-slider/blob/master/README_EN.md)

## 版本
[v3.2.1](https://github.com/warpcgd/vue-concise-slider/issues/29) 支持vue2.0+
[v3.3.0](https://github.com/warpcgd/vue-concise-slider/issues/29) 支持vue2.0+

@@ -37,5 +37,4 @@ ## 特点

- [x] 新的coverflow
- [x] 层级嵌套slider
### 未来将实现
- [ ] 层级嵌套slider
- [ ] 虚拟slider

@@ -42,0 +41,0 @@

@@ -17,2 +17,4 @@ // 渐变滚动

import slidercoverFlow from './demo/slider_coverFlow'
// 多级滚动
import slidernest from './demo/slider_nest'
// 自定义pageation

@@ -31,2 +33,3 @@ import sliderrenderPagination from './demo/slider_renderPagination'

new Vue(sliderCenter) // eslint-disable-line
new Vue(slidernest) // eslint-disable-line

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc