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.3.6 to 4.0.0

docs/.vuepress/components/common/collapse.vue

2

dist/module.js

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

!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=C[t];if(!e)return u;var i=function(i){return e.hot.active?(C[i]?C[i].parents.indexOf(t)<0&&C[i].parents.push(t):(E=[t],g=i),e.children.indexOf(i)<0&&e.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+t),E=[]),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(){$--,"prepare"===S&&(L[t]||l(t),0===$&&0===D&&h())}return"ready"===S&&r("prepare"),$++,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 S;T.push(t)},addStatusHandler:function(t){T.push(t)},removeStatusHandler:function(t){var e=T.indexOf(t);e>=0&&T.splice(e,1)},data:x[t]};return g=void 0,e}function r(t){S=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"!==S)throw new Error("check() is only allowed in idle status");return _=t,r("check"),n(b).then(function(t){if(!t)return r("idle"),null;k={},L={},O=t.c,y=t.h,r("prepare");var e=new Promise(function(t,e){v={resolve:t,reject:e}});m={};return l(1),"prepare"===S&&0===$&&0===D&&h(),e})}function c(t,e){if(O[t]&&k[t]){k[t]=!1;for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(m[i]=e[i]);0==--D&&0===$&&h()}}function l(t){O[t]?(k[t]=!0,D++,i(t)):L[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"!==S)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=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=C[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 b=!1,P=!1,T=!1,D="";switch(_.chain&&(D="\nUpdate propagation: "+_.chain.join(" -> ")),_.type){case"self-declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(b=new Error("Aborted because of self decline: "+_.moduleId+D));break;case"declined":i.onDeclined&&i.onDeclined(_),i.ignoreDeclined||(b=new Error("Aborted because of declined dependency: "+_.moduleId+" in "+_.parentId+D));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(_),i.ignoreUnaccepted||(b=new Error("Aborted because "+l+" is not accepted"+D));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 $=[];for(s=0;s<p.length;s++)l=p[s],C[l]&&C[l].hot._selfAccepted&&$.push({module:l,errorHandler:C[l].hot._selfAccepted});r("dispose"),Object.keys(O).forEach(function(t){!1===O[t]&&e(t)});for(var L,k=p.slice();k.length>0;)if(l=k.pop(),c=C[l]){var j={},M=c.hot._disposeHandlers;for(d=0;d<M.length;d++)(a=M[d])(j);for(x[l]=j,c.hot.active=!1,delete C[l],delete h[l],d=0;d<c.children.length;d++){var z=C[c.children[d]];z&&((L=z.parents.indexOf(l))>=0&&z.parents.splice(L,1))}}var I,H;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=C[l]))for(H=h[l],d=0;d<H.length;d++)I=H[d],(L=c.children.indexOf(I))>=0&&c.children.splice(L,1);r("apply"),w=y;for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(t[l]=f[l]);var R=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=C[l])){H=h[l];var N=[];for(s=0;s<H.length;s++)if(I=H[s],a=c.hot._acceptedDependencies[I]){if(N.indexOf(a)>=0)continue;N.push(a)}for(s=0;s<N.length;s++){a=N[s];try{a(H)}catch(t){i.onErrored&&i.onErrored({type:"accept-errored",moduleId:l,dependencyId:H[s],error:t}),i.ignoreErrored||R||(R=t)}}}for(s=0;s<$.length;s++){var A=$[s];l=A.module,E=[l];try{u(l)}catch(t){if("function"==typeof A.errorHandler)try{A.errorHandler(t)}catch(e){i.onErrored&&i.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:e,orginalError:t,originalError:t}),i.ignoreErrored||R||(R=e),R||(R=t)}else i.onErrored&&i.onErrored({type:"self-accept-errored",moduleId:l,error:t}),i.ignoreErrored||R||(R=t)}}return R?(r("fail"),Promise.reject(R)):(r("idle"),new Promise(function(t){t(p)}))}function u(e){if(C[e])return C[e].exports;var i=C[e]={i:e,l:!1,exports:{},hot:s(e),parents:(P=E,E=[],P),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="6ee0dece3afb7ee60673",b=1e4,x={},E=[],P=[],T=[],S="idle",D=0,$=0,L={},k={},O={},C={};return u.m=t,u.c=C,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,onSlide:!1,onSlideEnd:!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,freeze:void 0!==this.options.freeze&&this.options.freeze,slidesPerView:void 0===this.options.slidesPerView?0:this.options.slidesPerView,$parent:this.judgeParentSlider(this),route:!1}}},watch:{$route:function(){var t=this;if(t.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(i-1,"animationnone"):t.slide(e,"animationnone"),t.options.autoplay&&t.clock().begin(t),t.route=!1}else t.route=!0,t.options.autoplay&&t.clock().stop(t)}},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,d=this.options.slidesPerView,c=this.s_data.sliderLength;if(this.options.centeredSlides)if(d){var l=this.data.currentPage,h=parseInt((d-1)/2);l-h<=0?l=0:l+h>=c?l=c-d:l-=h,r=s[l].offsetLeft}else r=r-i/2+o/2;if(!this.options.centeredSlides&&d){var p=this.data.currentPage,u=this.options.slidesToScroll||1;p+u>=c&&(r=s[c-u].offsetLeft)}return 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,"slideTo")}),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),document.addEventListener("visibilitychange",this.visibilitychange,!1),"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",this.resize)},beforeDestroy:function(){this.options.autoplay&&this.clock().stop(this),!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault()),document.removeEventListener("visibilitychange",this.visibilitychange,!1),window.removeEventListener("resize",this.resize)},methods:{visibilitychange:function(){var t=this;document.hidden?t.options.autoplay&&t.clock().stop(t):t.options.autoplay&&t.clock().begin(t)},resize:function(){if(this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.data.currentPage>=this.s_data.sliderLength&&this.options.loop)return this.slide(0,"animationnone"),!1;this.slide(this.data.currentPage,"animationnone")},swipeStart:function(t){var e=this;if(this.s_data.e=t,!this.s_data.freeze&&!this.s_data.transitionEnding&&!(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.cancelable?t.preventDefault():n<=a&&"vertical"===this.options.direction&&t.cancelable&&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;if(i&&"vertical"===i.options.direction&&0===this.data.currentPage&&this.data.end.y-this.data.start.y>=0&&i.s_data.nested&&(!i.options.preventRebound||0!==i.data.currentPage))i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y;else if(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.options.preventRebound||i.data.currentPage!==i.s_data.sliderLength-1))i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y;else{if(this.options.preventRebound&&!this.options.loop)return;this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y}}else{if(n<a)return;if(i&&"vertical"!==i.options.direction&&0===this.data.currentPage&&this.data.end.x-this.data.start.x>=0&&i.s_data.nested&&(!i.options.preventRebound||0!==i.data.currentPage))i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x;else if(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.options.preventRebound||i.data.currentPage!==i.s_data.sliderLength-1))i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x;else{if(this.options.preventRebound&&!this.options.loop)return;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<100&&Math.abs(n)<10&&Math.abs(a)<10))return this.slide(r),!1;this.$emit("tap",this.data),this.slide(r,"click")}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<100&&Math.abs(n)<10&&Math.abs(a)<10))return this.slide(r),!1;this.$emit("tap",this.data),this.slide(r,"click")}},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||1,i=this.s_data.$parent;this.data.currentPage>=1&&this.data.currentPage-e>=0?(this.data.currentPage-=e||1,this.slide()):!(this.options.loop&&this.data.currentPage-e<0)||i&&i.s_data.nested?i&&0===this.data.currentPage&&i.s_data.nested?(i.pre(),this.slide()):this.slide(0):(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,i=this.options.slidesToScroll||1;if(this.data.currentPage<(this.pagenums||t)-1&&this.data.currentPage+i<=t-1)this.data.currentPage+=this.options.slidesToScroll||1,this.slide();else if(!(this.options.loop&&this.data.currentPage+i>t-1)||e&&e.s_data.nested)if(e&&this.data.currentPage===(this.pagenums||t)-1&&e.s_data.nested){var n=this.s_data.$parent;n.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,"slideTo"===e&&!0===this.s_data.onSlide)return!1;if("animationnone"===e?(this.s_data.animation=!1,this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1):(this.s_data.onSlideEnd=!1,this.s_data.onSlide=!0),(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?(Math.abs(this.data.posheight)===Math.abs(-this.currentHeight)&&(this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1),this.data.posheight=-this.currentHeight):(Math.abs(this.data.poswidth)===Math.abs(-this.currentWidth)&&(this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1),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){var e=this;this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1,setTimeout(function(){var t=e.data.currentPage,i=e.s_data.sliderLength;e.options.loop&&""!==e.s_data.effect&&(e.s_data.transitionEnding=!1,t<0?e.slide((e.pagenums||i)+t,"animationnone"):t>=(e.pagenums||i)&&e.slide(0+t-(e.pagenums||i),"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&&"slider"===t.$parent.$options._componentTag?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},data:{start:{},end:{},index:this.index?this.index:this.$vnode.key,$el:""}}},mounted:function(){this.renderDom(),this.data.$el=this.$el},methods:{touchStart:function(t){if("touchstart"===t.type){if(t.touches.length>1)return this.data.tracking=!1,!1;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,this.data.start.pageX=t.targetTouches[0].pageX,this.data.start.pageY=t.targetTouches[0].pageY}else 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,this.data.start.pageX=t.pageX,this.data.start.pageY=t.pageY},touchEnd:function(t){var e=(new Date).getTime(),i=e-this.data.start.t;"touchend"===t.type?(this.data.end.t=(new Date).getTime(),this.data.end.x=t.changedTouches[0].clientX,this.data.end.y=t.changedTouches[0].clientY,this.data.end.pageX=t.changedTouches[0].pageX,this.data.end.pageY=t.changedTouches[0].pageY):(this.data.end.t=(new Date).getTime(),this.data.end.x=t.clientX,this.data.end.y=t.clientY,this.data.end.pageX=t.pageX,this.data.end.pageY=t.pageY);var n=this.data.end.pageX-this.data.start.pageX||0,a=this.data.end.pageY-this.data.start.pageY||0;i<300&&Math.abs(n)<10&&Math.abs(a)<10&&this.$emit("tap",this.data)},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:{touchstart:t.touchStart,touchend:t.touchEnd,mousedown:t.touchStart,mouseup:t.touchEnd,"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}])});
!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()}(window,function(){return function(t){var e=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(t,i){!function(t,e){if(!x[t]||!w[t])return;for(var i in w[t]=!1,e)Object.prototype.hasOwnProperty.call(e,i)&&(g[i]=e[i]);0==--m&&0===y&&E()}(t,i),e&&e(t,i)};var i,n=!0,o="e720a720d9f6dce472b5",r=1e4,s={},a=[],d=[];function c(t){var e=S[t];if(!e)return O;var n=function(n){return e.hot.active?(S[n]?-1===S[n].parents.indexOf(t)&&S[n].parents.push(t):(a=[t],i=n),-1===e.children.indexOf(n)&&e.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+t),a=[]),O(n)},o=function(t){return{configurable:!0,enumerable:!0,get:function(){return O[t]},set:function(e){O[t]=e}}};for(var r in O)Object.prototype.hasOwnProperty.call(O,r)&&"e"!==r&&"t"!==r&&Object.defineProperty(n,r,o(r));return n.e=function(t){return"ready"===h&&u("prepare"),y++,O.e(t).then(e,function(t){throw e(),t});function e(){y--,"prepare"===h&&(b[t]||$(t),0===y&&0===m&&E())}},n.t=function(t,e){return 1&e&&(t=n(t)),O.t(t,-2&e)},n}function l(t){var e={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:i!==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:T,apply:_,status:function(t){if(!t)return h;f.push(t)},addStatusHandler:function(t){f.push(t)},removeStatusHandler:function(t){var e=f.indexOf(t);e>=0&&f.splice(e,1)},data:s[t]};return i=void 0,e}var f=[],h="idle";function u(t){h=t;for(var e=0;e<f.length;e++)f[e].call(null,t)}var p,g,v,m=0,y=0,b={},w={},x={};function P(t){return+t+""===t?+t:t}function T(t){if("idle"!==h)throw new Error("check() is only allowed in idle status");return n=t,u("check"),(e=r,e=e||1e4,new Promise(function(t,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,r=O.p+""+o+".hot-update.json";n.open("GET",r,!0),n.timeout=e,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 "+r+" timed out."));else if(404===n.status)t();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+r+" failed."));else{try{var e=JSON.parse(n.responseText)}catch(t){return void i(t)}t(e)}}})).then(function(t){if(!t)return u("idle"),null;w={},b={},x=t.c,v=t.h,u("prepare");var e=new Promise(function(t,e){p={resolve:t,reject:e}});g={};return $(1),"prepare"===h&&0===y&&0===m&&E(),e});var e}function $(t){x[t]?(w[t]=!0,m++,function(t){var e=document.getElementsByTagName("head")[0],i=document.createElement("script");i.charset="utf-8",i.src=O.p+""+t+"."+o+".hot-update.js",e.appendChild(i)}(t)):b[t]=!0}function E(){u("ready");var t=p;if(p=null,t)if(n)Promise.resolve().then(function(){return _(n)}).then(function(e){t.resolve(e)},function(e){t.reject(e)});else{var e=[];for(var i in g)Object.prototype.hasOwnProperty.call(g,i)&&e.push(P(i));t.resolve(e)}}function _(e){if("ready"!==h)throw new Error("apply() is only allowed in ready status");var i,n,r,d,c;function l(t){for(var e=[t],i={},n=e.slice().map(function(t){return{chain:[t],id:t}});n.length>0;){var o=n.pop(),r=o.id,s=o.chain;if((d=S[r])&&!d.hot._selfAccepted){if(d.hot._selfDeclined)return{type:"self-declined",chain:s,moduleId:r};if(d.hot._main)return{type:"unaccepted",chain:s,moduleId:r};for(var a=0;a<d.parents.length;a++){var c=d.parents[a],l=S[c];if(l){if(l.hot._declinedDependencies[r])return{type:"declined",chain:s.concat([c]),moduleId:r,parentId:c};-1===e.indexOf(c)&&(l.hot._acceptedDependencies[r]?(i[c]||(i[c]=[]),f(i[c],[r])):(delete i[c],e.push(c),n.push({chain:s.concat([c]),id:c})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:i}}function f(t,e){for(var i=0;i<e.length;i++){var n=e[i];-1===t.indexOf(n)&&t.push(n)}}e=e||{};var p={},m=[],y={},b=function(){console.warn("[HMR] unexpected require("+T.moduleId+") to disposed module")};for(var w in g)if(Object.prototype.hasOwnProperty.call(g,w)){var T;c=P(w);var $=!1,E=!1,_=!1,j="";switch((T=g[w]?l(c):{type:"disposed",moduleId:w}).chain&&(j="\nUpdate propagation: "+T.chain.join(" -> ")),T.type){case"self-declined":e.onDeclined&&e.onDeclined(T),e.ignoreDeclined||($=new Error("Aborted because of self decline: "+T.moduleId+j));break;case"declined":e.onDeclined&&e.onDeclined(T),e.ignoreDeclined||($=new Error("Aborted because of declined dependency: "+T.moduleId+" in "+T.parentId+j));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(T),e.ignoreUnaccepted||($=new Error("Aborted because "+c+" is not accepted"+j));break;case"accepted":e.onAccepted&&e.onAccepted(T),E=!0;break;case"disposed":e.onDisposed&&e.onDisposed(T),_=!0;break;default:throw new Error("Unexception type "+T.type)}if($)return u("abort"),Promise.reject($);if(E)for(c in y[c]=g[c],f(m,T.outdatedModules),T.outdatedDependencies)Object.prototype.hasOwnProperty.call(T.outdatedDependencies,c)&&(p[c]||(p[c]=[]),f(p[c],T.outdatedDependencies[c]));_&&(f(m,[T.moduleId]),y[c]=b)}var D,k=[];for(n=0;n<m.length;n++)c=m[n],S[c]&&S[c].hot._selfAccepted&&k.push({module:c,errorHandler:S[c].hot._selfAccepted});u("dispose"),Object.keys(x).forEach(function(t){!1===x[t]&&function(t){delete installedChunks[t]}(t)});for(var L,C,M=m.slice();M.length>0;)if(c=M.pop(),d=S[c]){var z={},R=d.hot._disposeHandlers;for(r=0;r<R.length;r++)(i=R[r])(z);for(s[c]=z,d.hot.active=!1,delete S[c],delete p[c],r=0;r<d.children.length;r++){var I=S[d.children[r]];I&&((D=I.parents.indexOf(c))>=0&&I.parents.splice(D,1))}}for(c in p)if(Object.prototype.hasOwnProperty.call(p,c)&&(d=S[c]))for(C=p[c],r=0;r<C.length;r++)L=C[r],(D=d.children.indexOf(L))>=0&&d.children.splice(D,1);for(c in u("apply"),o=v,y)Object.prototype.hasOwnProperty.call(y,c)&&(t[c]=y[c]);var A=null;for(c in p)if(Object.prototype.hasOwnProperty.call(p,c)&&(d=S[c])){C=p[c];var H=[];for(n=0;n<C.length;n++)if(L=C[n],i=d.hot._acceptedDependencies[L]){if(-1!==H.indexOf(i))continue;H.push(i)}for(n=0;n<H.length;n++){i=H[n];try{i(C)}catch(t){e.onErrored&&e.onErrored({type:"accept-errored",moduleId:c,dependencyId:C[n],error:t}),e.ignoreErrored||A||(A=t)}}}for(n=0;n<k.length;n++){var U=k[n];c=U.module,a=[c];try{O(c)}catch(t){if("function"==typeof U.errorHandler)try{U.errorHandler(t)}catch(i){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:c,error:i,originalError:t}),e.ignoreErrored||A||(A=i),A||(A=t)}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:c,error:t}),e.ignoreErrored||A||(A=t)}}return A?(u("fail"),Promise.reject(A)):(u("idle"),new Promise(function(t){t(m)}))}var S={};function O(e){if(S[e])return S[e].exports;var i=S[e]={i:e,l:!1,exports:{},hot:l(e),parents:(d=a,a=[],d),children:[]};return t[e].call(i.exports,i,i.exports,c(e)),i.l=!0,i.exports}return O.m=t,O.c=S,O.d=function(t,e,i){O.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},O.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},O.t=function(t,e){if(1&e&&(t=O(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(O.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)O.d(i,n,function(e){return t[e]}.bind(null,n));return i},O.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return O.d(e,"a",e),e},O.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},O.p="",O.h=function(){return o},c(92)(O.s=92)}([function(t,e,i){"use strict";function n(t,e,i,n,o,r,s,a){var d,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=d):o&&(d=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),d)if(c.functional){c._injectStyles=d;var l=c.render;c.render=function(t,e){return d.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,d):[d]}return{exports:t,options:c}}i.d(e,"a",function(){return n})},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,i){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=function(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"==typeof btoa){var o=(s=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}var s;return[i].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var r=this[o][0];null!=r&&(n[r]=!0)}for(o=0;o<t.length;o++){var s=t[o];null!=s[0]&&n[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="("+s[2]+") and ("+i+")"),e.push(s))}},e}},function(t,e,i){var n,o,r={},s=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=n.apply(this,arguments)),o}),a=function(t){var e={};return function(t){return void 0===e[t]&&(e[t]=function(t){return document.querySelector(t)}.call(this,t)),e[t]}}(),d=null,c=0,l=[],f=i(66);function h(t,e){for(var i=0;i<t.length;i++){var n=t[i],o=r[n.id];if(o){o.refs++;for(var s=0;s<o.parts.length;s++)o.parts[s](n.parts[s]);for(;s<n.parts.length;s++)o.parts.push(y(n.parts[s],e))}else{var a=[];for(s=0;s<n.parts.length;s++)a.push(y(n.parts[s],e));r[n.id]={id:n.id,refs:1,parts:a}}}}function u(t,e){for(var i=[],n={},o=0;o<t.length;o++){var r=t[o],s=e.base?r[0]+e.base:r[0],a={css:r[1],media:r[2],sourceMap:r[3]};n[s]?n[s].parts.push(a):i.push(n[s]={id:s,parts:[a]})}return i}function p(t,e){var i=a(t.insertInto);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=l[l.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),l.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(e)}}function g(t){t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function v(t){var e=document.createElement("style");return t.attrs.type="text/css",m(e,t.attrs),p(t,e),e}function m(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}function y(t,e){var i,n,o,r;if(e.transform&&t.css){if(!(r=e.transform(t.css)))return function(){};t.css=r}if(e.singleton){var s=c++;i=d||(d=v(e)),n=x.bind(null,i,s,!1),o=x.bind(null,i,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=function(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",m(e,t.attrs),p(t,e),e}(e),n=function(t,e,i){var n=i.css,o=i.sourceMap,r=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||r)&&(n=f(n));o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([n],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,i,e),o=function(){g(i),i.href&&URL.revokeObjectURL(i.href)}):(i=v(e),n=function(t,e){var i=e.css,n=e.media;n&&t.setAttribute("media",n);if(t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}.bind(null,i),o=function(){g(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},void 0===e.singleton&&(e.singleton=s()),void 0===e.insertInto&&(e.insertInto="head"),void 0===e.insertAt&&(e.insertAt="bottom");var i=u(t,e);return h(i,e),function(t){for(var n=[],o=0;o<i.length;o++){var s=i[o];(a=r[s.id]).refs--,n.push(a)}t&&h(u(t,e),e);for(o=0;o<n.length;o++){var a;if(0===(a=n[o]).refs){for(var d=0;d<a.parts.length;d++)a.parts[d]();delete r[a.id]}}}};var b,w=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function x(t,e,i,n){var o=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=w(e,o);else{var r=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(r,s[e]):t.appendChild(r)}}},function(t,e,i){"use strict";i.r(e);var n=i(12),o=i(9);for(var r in o)"default"!==r&&function(t){i.d(e,t,function(){return o[t]})}(r);var s=i(0),a=Object(s.a)(o.default,n.a,n.b,!1,null,null,null);a.options.__file="slider_item.vue",e.default=a.exports},function(t,e,i){"use strict";i.r(e);var n=i(13),o=i(6);for(var r in o)"default"!==r&&function(t){i.d(e,t,function(){return o[t]})}(r);i(65);var s=i(0),a=Object(s.a)(o.default,n.a,n.b,!1,null,null,null);a.options.__file="slider.vue",e.default=a.exports},function(t,e,i){"use strict";i.r(e);var n=i(7),o=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,function(){return n[t]})}(r);e.default=o.a},function(t,e,i){"use strict";var n=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i(14)),r=n(i(15)),s=n(i(16)),a=n(i(17)),d=n(i(18)),c=n(i(19)),l=n(i(20)),f=n(i(63)),h=n(i(21)),u=n(i(22)),p={props:{options:{type:Object,default:function(){return{}}}},name:"slider",mixins:[c.default,o.default,d.default,a.default,s.default,f.default,h.default,u.default],data:function(){return{data:{},config:{pageWidth:0,pageHeight:0,loading:!1,effect:this.options.effect||"slide",resize:void 0===this.options.resize||this.options.resize,containerClass:{"swiper-container-vertical":!1,"swiper-container-horizontal":!0,"swiper-container-cursorGrab":this.options.grabCursor||!1}}}},mounted:function(){this.config.pageWidth=this.$el.offsetWidth,this.config.pageHeight=this.$el.offsetHeight,"vertical"===this.options.direction?this.config.containerClass["swiper-container-vertical"]=!0:this.config.containerClass["swiper-container-horizontal"]=!0},methods:{swipeStart:function(t){o.default.methods.swipeStart.call(this,t)},swipeMove:function(t){o.default.methods.swipeMove.call(this,t),"slide"!==this.config.effect&&"nest"!==this.config.effect||f.default.methods.swipeMove.call(this,t)},swipeEnd:function(t){o.default.methods.swipeEnd.call(this,t)},swipeOut:function(t){o.default.methods.swipeOut.call(this,t)},pre:function(){this.data.direction="left","slide"!==this.config.effect&&"nest"!==this.config.effect||f.default.methods.pre.call(this),"coverflow"===this.config.effect&&h.default.methods.pre.call(this),"fade"===this.config.effect&&u.default.methods.pre.call(this)},next:function(){this.data.direction="right","slide"!==this.config.effect&&"nest"!==this.config.effect||f.default.methods.next.call(this),"coverflow"===this.config.effect&&h.default.methods.next.call(this),"fade"===this.config.effect&&u.default.methods.next.call(this)},slide:function(t,e){this.$emit("slide",this.data),l.default.call(this,t,e),this.config.animation=!0,"animationnone"===e&&(this.config.animation=!1),(t||0===t)&&(this.data.currentPage=t),"slide"!==this.config.effect&&"nest"!==this.config.effect||f.default.methods.slide.call(this,t,e),"fade"===this.config.effect&&u.default.methods.slide.call(this,t,e)},preventDefault:function(t){t.preventDefault()}},components:{sliderWrapper:r.default,renderpagination:{render:function(t){var e=this.index,i=this.options.renderPagination;return i.call(this,t,e)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}};e.default=p},function(t,e,i){var n=i(11);"string"==typeof n&&(n=[[t.i,n,""]]);var o={transform:void 0},r=i(3)(n,o);n.locals&&(t.exports=n.locals),n.locals||t.hot.accept(11,function(){var e=i(11);"string"==typeof e&&(e=[[t.i,e,""]]),r(e)}),t.hot.dispose(function(){r()})},function(t,e,i){"use strict";i.r(e);var n=i(10),o=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,function(){return n[t]})}(r);e.default=o.a},function(t,e,i){"use strict";var n=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i(67)),r={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1,"slider-copy":!1,"slider-active-copy":!1},data:{start:{},end:{},index:this.index?this.index:this.$vnode.key,$el:""}}},computed:{transform:function(){var t=this.$parent.$parent.options,e=this.$parent.$parent.data,i=this.$parent.$parent.config;return t&&e&&i&&this.data.$el?"coverflow"===t.effect?o.default.methods.transform.call(this):void 0:{}}},mounted:function(){this.data.$el=this.$el,this.$vnode.isCloned?this.slideClass["slider-copy"]=!0:this.renderDom()},methods:{touchStart:function(t){if("touchstart"===t.type){if(t.touches.length>1)return this.data.tracking=!1,!1;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,this.data.start.pageX=t.targetTouches[0].pageX,this.data.start.pageY=t.targetTouches[0].pageY}else 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,this.data.start.pageX=t.pageX,this.data.start.pageY=t.pageY},touchEnd:function(t){var e=(new Date).getTime()-this.data.start.t;"touchend"===t.type?(this.data.end.t=(new Date).getTime(),this.data.end.x=t.changedTouches[0].clientX,this.data.end.y=t.changedTouches[0].clientY,this.data.end.pageX=t.changedTouches[0].pageX,this.data.end.pageY=t.changedTouches[0].pageY):(this.data.end.t=(new Date).getTime(),this.data.end.x=t.clientX,this.data.end.y=t.clientY,this.data.end.pageX=t.pageX,this.data.end.pageY=t.pageY);var i=this.data.end.pageX-this.data.start.pageX||0,n=this.data.end.pageY-this.data.start.pageY||0;e<300&&Math.abs(i)<10&&Math.abs(n)<10&&this.$emit("tap",this.data)},renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},addCopyActive:function(){this.slideClass["slider-active-copy"]=!0},removeCopyActive:function(){this.slideClass["slider-active-copy"]=!1},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(t){this.$parent&&this.$parent.onItemTransitionEnd(t)}}};e.default=r},function(t,e,i){(t.exports=i(2)(!1)).push([t.i,"\n.slider-container {\r\n margin: 0 auto;\r\n overflow: hidden;\r\n position: relative;\r\n z-index: 1;\n}\n.slider-container {\r\n height: 100%;\r\n width: 100%;\r\n position: relative;\r\n white-space: nowrap;\n}\n.slider-center-center {\r\n margin: auto;\r\n z-index: 1;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\n}\n.slider-touch {\r\n height: 100%;\n}\n.swiper-container-horizontal > * > .slider-wrapper {\r\n box-sizing: content-box;\r\n display: flex;\r\n height: 100%;\r\n position: relative;\r\n transition-property: transform;\r\n width: 100%;\r\n z-index: 1;\r\n align-items: center;\r\n /*flex-direction: column;*/\r\n /* 09版 */\r\n -webkit-box-orient: vertical;\r\n /* 12版 */\r\n -webkit-flex-direction: row;\r\n -moz-flex-direction: row;\r\n -ms-flex-direction: row;\r\n -o-flex-direction: row;\r\n flex-direction: row;\n}\r\n/*垂直*/\n.swiper-container-vertical > * > .slider-wrapper {\r\n box-sizing: content-box;\r\n display: flex;\r\n height: 100%;\r\n position: relative;\r\n transition-property: transform;\r\n width: 100%;\r\n z-index: 1;\r\n align-items: center;\r\n /*flex-direction: column;*/\r\n /* 09版 */\r\n -webkit-box-orient: vertical;\r\n /* 12版 */\r\n -webkit-flex-direction: column;\r\n -moz-flex-direction: column;\r\n -ms-flex-direction: column;\r\n -o-flex-direction: column;\r\n flex-direction: column;\n}\n.slider-item {\r\n flex-shrink: 0;\r\n height: 100%;\r\n position: relative;\r\n width: 100%;\n}\n.slider-item {\r\n align-items: center;\r\n /*background: #fff none repeat scroll 0 0;*/\r\n display: flex;\r\n font-size: 40px;\r\n justify-content: center;\r\n text-align: center;\r\n color: #fff;\r\n /*display: inline-block;*/\n}\n.slider-fade .slider-item {\r\n position: absolute;\r\n left: 0;\r\n opacity: 0;\n}\n.slider-pagination {\r\n position: absolute;\r\n text-align: center;\r\n transform: translate3d(0px, 0px, 0px);\r\n /*transition: all 350ms ease 0s;*/\r\n z-index: 10;\n}\n.swiper-container-horizontal > .slider-pagination-bullets {\r\n bottom: 10px;\r\n left: 0;\r\n width: 100%;\n}\n.swiper-container-horizontal > * > .slider-pagination-bullet {\r\n background: #000 none repeat scroll 0 0;\r\n border-radius: 100%;\r\n display: inline-block;\r\n height: 8px;\r\n opacity: 0.2;\r\n width: 8px;\r\n cursor: pointer;\r\n margin: 0 5px;\n}\r\n/*垂直*/\n.swiper-container-vertical > .slider-pagination-bullets {\r\n left: 0;\r\n bottom: auto;\r\n left: auto;\r\n width: auto;\r\n right: 10px;\r\n top: 50%;\r\n transform: translate3d(0px, -50%, 0px);\n}\n.swiper-container-vertical > * > .slider-pagination-bullet {\r\n background: #000 none repeat scroll 0 0;\r\n border-radius: 100%;\r\n height: 8px;\r\n opacity: 0.2;\r\n width: 8px;\r\n cursor: pointer;\r\n display: block;\r\n margin: 5px 0;\n}\n.swiper-container-vertical .slider-pagination-bullet-active ,.swiper-container-horizontal .slider-pagination-bullet-active{\r\n background: #fff none repeat scroll 0 0;\r\n opacity: 1;\n}\n.slider-loading {\r\n position: absolute;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n z-index: 999;\r\n width: 100%;\r\n text-align: center\n}\n.swiper-container-cursorGrab {\r\n cursor: grab;\n}\r\n",""])},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],on:{touchstart:t.touchStart,touchend:t.touchEnd,mousedown:t.touchStart,mouseup:t.touchEnd,"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd}},[t._t("default")],2)},o=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return o})},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.config.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}},[i("sliderWrapper",[t._t("default")],2)],1),t._v(" "),t.config.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[t._l(t.config.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:0===t.config.sliderLength||t.config.loading,expression:"config.sliderLength === 0 || config.loading"}],staticClass:"slider-loading"},[t._t("loading")],2)])},o=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return o})},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{options:{type:Object,default:function(){return{}}}},name:"sliderMove",data:function(){return{data:{poswidth:0,posheight:0,start:{},end:{},direction:""},config:{transitionEnding:!1,itemTransitionEnding:!1,animation:!1,tracking:!1,thresholdDistance:this.options.thresholdDistance||50,thresholdTime:this.options.thresholdTime||1e3,direction:this.options.direction||"horizontal",freeze:void 0!==this.options.freeze&&this.options.freeze}}},methods:{swipeStart:function(t){if(!this.config.freeze&&!(this.config.transitionEnding||this.config.itemTransitionEnding&&this.options.itemAnimation))if(this.config.animation=!1,this.options.autoplay&&this.clock().stop(this),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",this.preventDefault(t)),"touchstart"===t.type){if(t.touches.length>1)return this.config.tracking=!1,!1;this.config.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.config.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.config.tracking){"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 e=Math.abs(this.data.end.x-this.data.start.x),i=Math.abs(this.data.end.y-this.data.start.y);if(e>=i&&"vertical"!==this.config.direction?t.preventDefault():e<=i&&"vertical"===this.config.direction&&t.preventDefault(),"vertical"===this.config.direction&&e>i)return console.log(this.config.direction),console.log("1"),!1;if("horizontal"===this.config.direction&&e<i)return console.log(this.config.direction),console.log("2"),!1}},swipeEnd:function(t){this.config.tracking=!1;var e=(new Date).getTime()-this.data.start.t,i=this.data.currentPage,n=this.data.end.x-this.data.start.x,o=this.data.end.y-this.data.start.y,r=this.config.thresholdDistance;if(this.options.autoplay){var s=this;setTimeout(function(){s.clock().begin(s)},this.options.autoplay)}return!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(t)),e>this.config.thresholdTime||e<100?(this.slide(i),!1):(Math.abs(n)<r||Math.abs(o)>r)&&"vertical"!==this.config.direction?(this.slide(i),!1):(Math.abs(n)>r||Math.abs(o)<r)&&"vertical"===this.config.direction?(this.slide(i),!1):"vertical"!==this.config.direction?n>r?(this.pre(),!1):-n>r?(this.next(),!1):(this.slide(i),!1):"vertical"===this.config.direction?o>r?(this.pre(),!1):-o>r?(this.next(),!1):(this.slide(i),!1):void 0},swipeOut:function(t){this.$el===t.target&&this.config.tracking&&this.swipeEnd(t)},onTransitionEnd:function(t,e){if(this.options.loop&&!(this.data.currentPage>0&&this.data.currentPage<this.config.sliderLength)){var i=this;setTimeout(function(){var t=i.data.currentPage,e=i.config.sliderLength;i.config.transitionEnding=!1,t<0?i.slide(e+t,"animationnone"):t>=e&&i.slide(0+t-e,"animationnone")},0)}},onItemTransitionEnd:function(t){if(t.target===t.currentTarget){var e=this;setTimeout(function(){e.config.itemTransitionEnding=!1},0)}}}};e.default=n},function(t,e,i){"use strict";var n=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i(59));function r(t,e){return function i(n){var o=function(t){for(var e="",i=0;i<t;i++)e+=Math.floor(10*Math.random());return e}(5),r=n.children&&n.children.map(function(t){return i(t)}),s=e(n.tag,n.data,r);return s.text=n.text,s.isComment=n.isComment,s.componentOptions=n.componentOptions,s.isCloned=!0,s.isOnce=!1,s.elm=n.elm,s.context=n.context,s.ns=n.ns,s.isStatic=n.isStatic,s.key=t.key||0===t.key?t.key+"-cppy":o+"-copy",s}(t)}var s={methods:{renderDom:function(t){this.$parent&&this.$parent.renderDom(t)},onItemTransitionEnd:function(t){this.$parent&&this.$parent.onItemTransitionEnd(t)}},render:function(t){var e=this.$slots.default;if(!e)return"";var i=this.$parent.config.loopedSlides,n=[],s=[];if(this.$parent.config.loop&&"fade"!==this.$parent.config.effect&&"coverflow"!==this.$parent.config.effect){var a=e.filter(function(t){return!!t.componentOptions&&"slideritem"===t.componentOptions.tag});if(a&&a.length>=2)for(var d=a?a.length:0,c=0;c<d;c++)c+i-d>=0&&n.push(r(a[c],t)),c-i<0&&s.push(r(a[c],t))}return t("div",{class:{"slider-wrapper":!0,"slider-fade":"fade"===this.$parent.config.effect},scopedSlots:this.$scopedSlots},n.concat((0,o.default)(e),s))}};e.default=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"sliderComputed",computed:{styleobj:function(){var t={};return t.transform="translate3D("+this.data.poswidth+"px,"+this.data.posheight+"px,0)",t.transitionTimingFunction=this.options.timingFunction||"ease",t["-webkitTransitionTimingFunction"]=this.options.timingFunction||"ease",t.transitionDuration=(this.config.animation?this.options.speed||300:0)+"ms",t["-webkitTransitionDuration"]=(this.config.animation?this.options.speed||300:0)+"ms","fade"===this.config.effect?{}:"coverflow"===this.config.effect?{}:t},currentWidth:function(){if(0===this.config.sliderLength)return 0;if("fade"===this.config.effect)return 0;if("coverflow"===this.config.effect)return 0;var t,e=this.data.currentPage,i=this.config.pageWidth,n=this.options.loopedSlides||1;if(this.options.loop&&(e+=n?n<=this.config.sliderLength?n:this.config.sliderLength:1),"coverflow"===this.options.effect){this.data.currentPage;1}for(var o in this.$el.children)/slider-touch/gi.test(this.$el.children[o].className)&&(t=this.$el.children[o]);var r=t.children[0].children,s=r[e]?r[e].offsetLeft:0,a=r[e]?r[e].offsetWidth:0,d=this.options.slidesPerView,c=this.config.sliderLength;if(this.options.centeredSlides)if(d){var l=this.data.currentPage,f=parseInt((d-1)/2);l-f<=0?l=0:l+f>=c?l=c-d:l-=f,s=r[l].offsetLeft}else s=s-i/2+a/2;if(!this.options.centeredSlides&&d){var h=this.data.currentPage,u=this.options.slidesToScroll||1;h+u>=c&&(s=r[c-u].offsetLeft)}return s+i-i},currentHeight:function(){var t,e=this.config.sliderLength,i=this.data.currentPage,n=0,o=i-1,r=this.config.pageWidth,s=this.options.loopedSlides||1;if(0===e||"fade"===this.config.effect)return 0;for(var a in this.options.loop&&(o=s?i+(s<=e?s:e)-1:i+1),this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(t=this.$el.children[a]);var d=t.children[0].children;for(var c in d)c<=o&&(n+=d[c].offsetHeight,n+=parseInt(d[c].style.marginTop||0),n+=parseInt(d[c].style.marginBottom||0));return n+r-r},classObject:function(){var t={};switch(this.options.effect){case"fade":t={"slider-fade":!0}}return t}}};e.default=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"sliderComputed",mounted:function(){var t=this,e=this;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.config.loading=!0}),this.$on("loadingHide",function(){t.config.loading=!1}),this.options.autoplay&&this.clock().begin(e),this.config.resize&&window.addEventListener("resize",this.resize),document.addEventListener("visibilitychange",this.visibilitychange,!1)},beforeDestroy:function(){this.options.autoplay&&this.clock().stop(this),!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault()),document.removeEventListener("visibilitychange",this.visibilitychange,!1),window.removeEventListener("resize",this.resize)},watch:{$route:function(){if(this.route){var t=this.data.currentPage,e=this.config.sliderLength;this.config.transitionEnding=!1,t<0?this.slide(0,"animationnone"):t>=(this.pagenums||e)?this.slide(e-1,"animationnone"):this.slide(t,"animationnone"),this.options.autoplay&&this.clock().begin(this),this.route=!1}else this.route=!0,this.options.autoplay&&this.clock().stop(this)}},methods:{visibilitychange:function(){document.hidden?this.options.autoplay&&this.clock().stop(this):this.options.autoplay&&this.clock().begin(this)},resize:function(){if(this.config.pageWidth=this.$el.offsetWidth,this.config.pageHeight=this.$el.offsetHeight,this.data.currentPage>=this.config.sliderLength&&this.options.loop)return this.slide(0,"animationnone"),!1;this.slide(this.data.currentPage,"animationnone")},onItemTransitionEnd:function(t){if(t.target===t.currentTarget){var e=this;setTimeout(function(){e.config.itemTransitionEnding=!1},0)}}}};e.default=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{options:{type:Object,default:function(){return{}}}},name:"sliderClock",data:function(){return{data:{},config:{setIntervalid:""}}},methods:{clock:function(){return{begin:function(t){t.config.setIntervalid||0!==t.options.autoplay&&(t.config.setIntervalid=setInterval(function(){t.next(),t.data.currentPage!==t.config.sliderLength-1||t.options.loop||(clearInterval(t.config.setIntervalid),t.config.setIntervalid=0)},t.options.autoplay))},stop:function(t){clearInterval(t.config.setIntervalid),t.config.setIntervalid=0}}}}};e.default=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{options:{type:Object,default:function(){return{}}}},name:"sliderDom",data:function(){return{data:{currentPage:this.options.currentPage||0},config:{pageWidth:"",pageHeight:"",sliderLength:0,renderTime:"",loop:this.options.loop,loopedSlides:this.options.loopedSlides||1,pagination:void 0===this.options.pagination||this.options.pagination}}},methods:{renderDom:function(t){var e=this;this.config.renderTime&&clearTimeout(this.config.renderTime),this.config.sliderLength+=1,e.config.sliderLength>=1&&"fade"===e.options.effect&&(t.previousSibling?t.style["z-index"]=99-e.config.sliderLength:t.style["z-index"]=99+e.config.sliderLength),this.config.renderTime=setTimeout(function(){e.config.renderTime=void 0,e.$emit("hasRenderDom",e.data),e.$nextTick(function(){e.slide(e.data.currentPage,"animationnone")})},0)}}};e.default=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(this.config.sliderLength){var t=this.config.sliderLength,e=this.options.loopedSlides||1,i=this.$children[0].$children,n=this.data.currentPage,o=i.filter(function(t){var e=t.$vnode.isCloned;return"slideritem"===t.$options._componentTag&&!e});if(i.forEach(function(t){t.removeActive(),t.removeCopyActive()}),"nest"===this.config.effect)return;if(o[n]&&o[n].addActive(),n<0||n>=t){i[n+e]&&i[n+e].addCopyActive();var r=n<0?t+n:0+n-t;o[r].addActive()}}if(this.data.currentPage<0||this.data.currentPage>=this.config.sliderLength)return!1}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{options:{type:Object,default:function(){return{}}}},name:"sliderCoverflow",data:function(){return{data:{},config:{slidesToScroll:this.options.slidesToScroll||1,effect:this.options.effect||"slide",direction:this.options.direction||"horizontal",transitionEnding:!1,itemTransitionEnding:!1,animation:!1,slidesPerView:void 0===this.options.slidesPerView?0:this.options.slidesPerView,thresholdDistance:this.options.thresholdDistance||50,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200}}},methods:{pre:function(){var t=this.config.$parent,e=this.config.slidesToScroll;return this.data.currentPage>=1&&this.data.currentPage-e>=0?(this.data.currentPage-=e||1,this.slide(),!1):!(this.options.loop&&this.data.currentPage-e<0)||t&&t.config.nested?void this.slide():(this.data.currentPage-=e||1,this.config.transitionEnding=!0,this.config.itemTransitionEnding=!0,this.slide(),!1)},next:function(){var t=this.config.$parent,e=this.config.sliderLength,i=this.config.slidesToScroll,n=this.options.loop?0:(e-this.config.slidesPerView)/i;return this.data.currentPage<e-1&&this.data.currentPage+i<=(n?n+i-1:e-1)?(this.data.currentPage+=this.options.slidesToScroll||1,this.slide(),!1):!(this.options.loop&&this.data.currentPage+i>e-1)||t&&t.config.nested?void this.slide():(this.data.currentPage+=this.options.slidesToScroll||1,this.config.transitionEnding=!0,this.config.itemTransitionEnding=!0,this.slide(),!1)}}};e.default=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{options:{type:Object,default:function(){return{}}}},name:"sliderCoverflow",data:function(){return{data:{},config:{thresholdDistance:this.options.thresholdDistance||50,transitionEnding:!1,itemTransitionEnding:!1}}},methods:{pre:function(){var t=this.config.sliderLength;return this.data.currentPage>=1?(this.data.currentPage-=1,this.slide(),!1):this.options.loop&&(this.data.currentPage-=1,this.config.transitionEnding=!0,this.config.itemTransitionEnding=!0,this.data.currentPage<0)?(this.slide(t-1),this.config.transitionEnding=!1,this.config.itemTransitionEnding=!1,!1):void this.slide()},next:function(){var t=this.config.sliderLength;return this.data.currentPage<t-1?(this.data.currentPage+=1,this.slide(),!1):this.options.loop&&(this.data.currentPage+=1,this.config.transitionEnding=!0,this.config.itemTransitionEnding=!0,this.data.currentPage>=t)?(this.slide(0),this.config.transitionEnding=!1,this.config.itemTransitionEnding=!1,!1):void this.slide()},slide:function(t,e){this.fadeDom()},fadeDom:function(){for(var t=this.data.currentPage,e=this.$el.getElementsByClassName("slider-wrapper")[0].getElementsByClassName("slider-item"),i=this.options.speed,n=0;n<e.length;n++)n===t||n===t+1?(e[n].style.opacity="1",e[n].style["transition-property"]="opacity",e[n].style["-webkit-transition-property"]="opacity",e[n].style["transition-duration"]=(this.config.animation?i||300:0)+"ms",e[n].style["-wekkit-transition-duration"]=(this.config.animation?i||300:0)+"ms"):(e[n].style.opacity="0",e[n].style["transition-duration"]=(this.config.animation?i||300:0)+"ms",e[n].style["-webkit-transition-duration"]=(this.config.animation?i||300:0)+"ms")}}};e.default=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){var n=i(60),o=i(61),r=i(62);t.exports=function(t){return n(t)||o(t)||r()}},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}},function(t,e){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,e,i){"use strict";var n=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i(64)),r={props:{options:{type:Object,default:function(){return{}}}},name:"sliderBasic",data:function(){return{data:{},config:{slidesToScroll:this.options.slidesToScroll||1,effect:this.options.effect||"slide",direction:this.options.direction||"horizontal",transitionEnding:!1,itemTransitionEnding:!1,animation:!1,slidesPerView:void 0===this.options.slidesPerView?0:this.options.slidesPerView,$parent:this.judgeParentSlider(this),nested:void 0===this.options.nested||this.options.nested}}},methods:{judgeParentSlider:function(t){return t.$parent&&t.$parent.$vnode&&"slider"===t.$parent.$options._componentTag?t.$parent:(!t.$parent||void 0!==t.$parent.$vnode)&&this.judgeParentSlider(t.$parent)},swipeMove:function(t){this.config.tracking&&"slide"===this.config.effect&&("vertical"===this.config.direction?this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y:this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x),this.config.tracking&&"nest"===this.config.effect&&o.default.methods.swipeMove.call(this,t)},pre:function(){var t=this.config.$parent,e=this.config.slidesToScroll;return this.data.currentPage>=1&&this.data.currentPage-e>=0?(this.data.currentPage-=e||1,this.slide(),!1):!(this.options.loop&&this.data.currentPage-e<0)||t&&t.config.nested?"nest"===this.config.effect?o.default.methods.pre.call(this):void this.slide(0):(this.data.currentPage-=e||1,this.config.transitionEnding=!0,this.config.itemTransitionEnding=!0,this.slide(),!1)},next:function(){var t=this.config.$parent,e=this.config.sliderLength,i=this.config.slidesToScroll;return this.data.currentPage<e-1&&this.data.currentPage+i<=e-1?(this.data.currentPage+=this.options.slidesToScroll||1,this.slide(),!1):!(this.options.loop&&this.data.currentPage+i>e-1)||t&&t.config.nested?"nest"===this.config.effect?o.default.methods.next.call(this):void this.slide():(this.data.currentPage+=this.options.slidesToScroll||1,this.config.transitionEnding=!0,this.config.itemTransitionEnding=!0,this.slide(),!1)},slide:function(t,e){"vertical"===this.options.direction&&"fade"!==this.config.effect?this.data.posheight=-this.currentHeight:this.data.poswidth=-this.currentWidth}}};e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{options:{type:Object,default:function(){return{}}}},name:"sliderNest",data:function(){return{data:{},config:{slidesToScroll:this.options.slidesToScroll||1,effect:this.options.effect||"slide",thresholdDistance:this.options.thresholdDistance||50,thresholdTime:this.options.thresholdTime||1e3,direction:this.options.direction||"horizontal",transitionEnding:!1,itemTransitionEnding:!1,animation:!1,slidesPerView:void 0===this.options.slidesPerView?0:this.options.slidesPerView,$parent:this.judgeParentSlider(this),nested:void 0===this.options.nested||this.options.nested}}},methods:{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)},swipeMove:function(t){var e=this.config.$parent;if(e&&e.config.direction===this.config.direction&&t.stopPropagation(),this.config.tracking)if("vertical"===this.config.direction)if(e&&"vertical"===e.options.direction&&0===this.data.currentPage&&this.data.end.y-this.data.start.y>=0&&e.config.nested&&(!e.options.preventRebound||0!==e.data.currentPage))e.data.posheight=-e.currentHeight+this.data.end.y-this.data.start.y;else if(e&&"vertical"===e.options.direction&&this.data.currentPage===this.config.sliderLength-1&&this.data.end.y-this.data.start.y<=0&&e.config.nested)e.data.posheight=-e.currentHeight+this.data.end.y-this.data.start.y;else{if(this.options.preventRebound&&!this.options.loop)return;this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y}else if(e&&"vertical"!==e.options.direction&&0===this.data.currentPage&&this.data.end.x-this.data.start.x>=0&&e.config.nested&&(!e.options.preventRebound||0!==e.data.currentPage))e.data.poswidth=-e.currentWidth+this.data.end.x-this.data.start.x;else if(e&&"vertical"!==e.options.direction&&this.data.currentPage===this.config.sliderLength-1&&this.data.end.x-this.data.start.x<=0&&e.config.nested)e.data.poswidth=-e.currentWidth+this.data.end.x-this.data.start.x;else{if(this.options.preventRebound&&!this.options.loop)return;this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x}},pre:function(){var t=this.config.$parent;if(t&&0===this.data.currentPage&&t.config.nested)return t.pre(),this.slide(),!1},next:function(){var t=this.config.sliderLength,e=this.config.$parent;if(e&&this.data.currentPage===t-1&&e.config.nested)return this.config.$parent.next(),this.slide(),!1}}};e.default=n},function(t,e,i){"use strict";var n=i(8);i.n(n).a},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var i=e.protocol+"//"+e.host,n=i+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o,r=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r)?t:(o=0===r.indexOf("//")?r:0===r.indexOf("/")?i+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"sliderBasic",data:function(){return{data:{},config:{}}},methods:{transform:function(){var t=this.$parent.$parent.options,e=this.$parent.$parent.data,i=this.$parent.$parent.config,n=this.index,o=i.pageWidth/2-this.data.$el.offsetWidth/2,r=o-i.deviation+"px",s=o+i.deviation+"px",a=o+"px",d={};return n===e.currentPage-1||n===this.pageLength-2&&-1===e.currentPage?(d.transform="translate3D("+r+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1","left"===e.direction?d["z-index"]="10":d["z-index"]="1"):n===e.currentPage+1||1===n&&e.currentPage===this.pageLength?(d.transform="translate3D("+s+",0 ,0)",d.transform="translate3D("+s+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1","left"===e.direction?d["z-index"]="1":d["z-index"]="10"):n===e.currentPage?(d.transform="translate3D("+a+",0 ,0) scale3d(1,1,1)",d["z-index"]="99",d.opacity="1"):(d.transform="translate3D("+a+",0 ,0)",d.opacity="0"),n===this.pageLength-1&&0===e.currentPage&&(d.transform="translate3D("+r+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1"),0===n&&e.currentPage===this.pageLength-1&&(d.transform="translate3D("+s+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==e.currentPage)&&(0!==n&&1!==n||e.currentPage!==this.pageLength)||(d.opacity="1",0===n&&(d["z-index"]="99"),n===this.pageLength-1&&(d["z-index"]="99")),d.transitionDuration=(i.animation?t.speed||300:0)+"ms",d["-webkitTransitionDuration"]=(i.animation?t.speed||300:0)+"ms",d.position="absolute",d}}}},,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";var n=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.slideritem=e.slider=void 0;var o=n(i(5)),r=n(i(4)),s=o.default;e.slider=s;var a=r.default;e.slideritem=a}])});

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

---
sidebar: auto
---
## Quick start

@@ -14,5 +17,5 @@

<!-- Make a frame wrapped slider -->
<div style="width:70%;margin:20px auto;height:400px">
<div style="width:100%;margin:20px auto;height:400px">
<!-- Configuring slider components -->
<slider ref="slider" :pages="pages" :options="options" @slide='slide' @tap='onTap' @init='onInit'>
<slider ref="slider" :options="options" @slide='slide' @tap='onTap' @init='onInit'>
<slideritem v-for="(item,index) in pages" :key="index" :style="item.style">{{item.html}}</slideritem>

@@ -33,3 +36,3 @@ <!-- Set loading -->

{
html: '<div class="slider1">slider1</div>',
html: 'slider1',
style: {

@@ -40,3 +43,3 @@ 'background': '#1bbc9b'

{
html: '<div class="slider2">slider2</div>',
html: 'slider2',
style: {

@@ -47,3 +50,3 @@ 'background': '#4bbfc3'

{
html: '<div class="slider3">slider3</div>',
html: 'slider3',
style: {

@@ -132,66 +135,3 @@ 'background': '#7baabe'

```
## Use slot to render a custom page
1. Import slider and slideritem
2. Do not pass in the page array, use slideritem instead
3. Cannot be used in coverflow mode
```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>
</slider>
</div>
</div>
</template>
<script>
import { slider, slideritem } from 'vue-concise-slider'
export default {
el: '#sliderbasic',
data () {
return {
someList: [],
options: {
pagination: true,
thresholdDistance: 100, // 滑动距离阈值判定
thresholdTime: 300, // 滑动时间阈值判定
speed: 300 // 滑动速度
}
}
},
mounted () {
let that = this
setTimeout(function () {
that.someList = [
{
html: 'slide1',
style: {
'background': '#1bbc9b'
}
},
{
html: 'slide2',
style: {
'background': '#4bbfc3'
}
},
{
html: 'slide3',
style: {
'background': '#7baabe'
}
}
]
}, 2000)
},
components: {
slider,
slideritem
},
}
</script>
```
## Asynchronous loading

@@ -336,5 +276,3 @@

<slider ref="slider" :options="options">
<template slot-scope="coverflow">
<slideritem v-for="(item,index) in someList" :pageLength="someList.length" :index="index" :key="index" :style="item.style">{{item.html}}</slideritem>
</template>
<slideritem v-for="(item,index) in someList" :pageLength="someList.length" :index="index" :key="index" :style="item.style">{{item.html}}</slideritem>
</slider>

@@ -398,74 +336,2 @@ </div>

## Pages uses dynamic components
1. The incoming dynamic component attribute 'component' in pages
2. V3.0.0 or later is not supported
```html
<template>
<div style="width:70%;margin:20px auto;height:400px">
<slider ref="slider" :pages="someList" :options="options">
</slider>
</div>
</template>
<script>
import slider from '../components/slider'
export default {
el: '#sliderbasic',
data () {
return {
someList: [],
options: {
currentPage: 1,
thresholdDistance: 100,
thresholdTime: 300,
speed: 300,
timingFunction: 'ease',
loop: true,
autoplay: 0
}
}
},
mounted () {
let that = this
setTimeout(function () {
that.someList = [
{
// If component is true, this HTML item is invalid
html: '<div class="slide1">slide1</div>',
style: {
'background': '#1bbc9b'
},
component: {
props: ['item', 'options', 'pages'],
data() {
return {
//img src
img: 'xxxxx.jpg'
}
},
template: `<div><img :src="img" /><p>test</p>...</div>`
}
},
{
html: 'slide2',
style: {
'background': '#4bbfc3'
}
},
{
html: 'slide3',
style: {
'background': '#7baabe'
}
}
]
}, 2000)
},
components: {
slider
}
}
</script>
```
## Use custom paging

@@ -472,0 +338,0 @@

@@ -1,34 +0,22 @@

## vue-concise-slider
> A simple sliding component
<common-home></common-home>
::: slot startDemo
## What is it
```js
1. npm i vue-concise-slider -D
```
vue-concise-slider,A simple sliding component,has easy configuration,supported self-adaption / fullscreen / page,and is compatible with mobile and PC terminal
See the [Quick start](#Quick start) for more details
## Features
* Simple configuration
* Simple and lightweight (~30kB)
* Multiple sliding effects
## Install
```html
npm install vue-concise-slider --save
```js
2. Create your vue component
```
## start
```html
<template>
<!-- 制作一个框架包裹slider -->
<div style="width:70%;margin:20px auto;height:400px">
<!-- 配置slider组件 -->
<slider ref="slider" :options="options" @slide='slide' @tap='onTap' @init='onInit'>
<!-- 直接使用slideritem slot -->
<!-- Make a div wrapped slider,set height and width -->
<div style="width:100%;margin:20px auto;height:400px">
<!-- Using the slider component -->
<slider ref="slider" :options="options">
<!-- slideritem wrapped package with the components you need -->
<slideritem v-for="(item,index) in someList" :key="index" :style="item.style">{{item.html}}</slideritem>
<!-- 设置loading,可自定义 -->
<!-- Customizable loading -->
<div slot="loading">loading...</div>

@@ -39,3 +27,4 @@ </slider>

<script>
import { slider, slideritem } from 'vue-concise-slider'// import slider components
// import slider components
import { slider, slideritem } from 'vue-concise-slider'
export default {

@@ -45,27 +34,4 @@ el: '#app',

return {
//Image list
someList:[],
//Sliding configuration [obj]
options: {
currentPage: 0,
thresholdDistance:500,
thresholdTime:100,
autoplay:1000,
loop:true,
direction:'vertical',
loopedSlides:1,
slidesToScroll:1,
timingFunction: 'ease',
speed: 300
}
}
},
components: {
slider,
slideritem
},
mounted () {
let that = this
setTimeout(function () {
that.someList = [
//data list [array]
someList:[
{

@@ -89,16 +55,12 @@ html: 'slide1',

}
]
}, 2000)
],
//Slider configuration [obj]
options: {
currentPage: 0
}
}
},
methods: {
// Listener event
slide (data) {
console.log(data)
},
onTap (data) {
console.log(data)
},
onInit (data) {
console.log(data)
}
components: {
slider,
slideritem
}

@@ -108,66 +70,2 @@ }

```
## Have a better idea?
Welcome to leave your opinion:https://github.com/warpcgd/vue-concise-slider/issues/1
## BUG?oh no!
You can be submitted here, and i will be dealt with as soon as possible:https://github.com/warpcgd/vue-concise-slider/issues/2
<script v-pre type="text/x-template" id="example">
<template>
<slider :options="options">
<slideritem v-for="(item,index) in pages" :key="index" :style="item.style">{{item.html}}</slideritem>
</slider>
</template>
<script>
// import slider from 'vue-concise-slider'
import { slider, slideritem } from 'module.js'
// export default
module.exports = {
components: {
slider,
slideritem
},
data () {
return {
//image list
pages:[
{
html: 'slide1',
style:{
'background': '#1bbc9b'
}
},
{
html: 'slide2',
style:{
background:'#4bbfc3'
}
},
{
html: 'slide3',
style:{
background:'#333'
},
}
],
//Sliding configuration
options: {
currentPage: 0,
thresholdDistance: 100,
thresholdTime: 300,
loop:true,
loopedSlides:1,
slidesToScroll:1,
direction:'horizontal',
autoplay:0
}
}
}
}
</script>
</script>
:::
{
"name": "vue-concise-slider",
"version": "3.3.6",
"version": "4.0.0",
"repository": {

@@ -13,16 +13,22 @@ "type": "git",

"build": "cross-env NODE_ENV=production webpack -p",
"analyz": "npm_config_report=true npm run build"
"analyz": "npm_config_report=true npm run build",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
},
"main": "./dist/module.js",
"devDependencies": {
"vue": "^2.5.13",
"babel-preset-env": "^1.7.0",
"babel-runtime": "^6.26.0",
"webpack-bundle-analyzer": "^2.13.1",
"babel-core": "^6.0.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.0.0",
"babel-preset-stage-2": "^6.24.1",
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-decorators": "^7.1.6",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.1.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.6",
"babel-loader": "^8.0.4",
"chai": "^3.5.0",

@@ -33,3 +39,4 @@ "chromedriver": "^2.21.2",

"cross-spawn": "^2.1.5",
"css-loader": "^0.23.1",
"css-loader": "^2.0.0",
"ejs": ">=2.5.5",
"eslint": "^2.10.2",

@@ -45,6 +52,7 @@ "eslint-config-standard": "^5.1.0",

"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^0.8.4",
"file-loader": "^2.0.0",
"function-bind": "^1.0.2",
"html-webpack-plugin": "^2.8.1",
"http-proxy-middleware": "^0.12.0",
"growl": ">=1.10.0",
"html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.19.1",
"inject-loader": "^2.0.1",

@@ -54,7 +62,8 @@ "isparta-loader": "^2.0.0",

"lolex": "^1.4.0",
"mocha": "^2.4.5",
"nightwatch": "^0.8.18",
"node-sass": "^4.6",
"mocha": "^5.2.0",
"nightwatch": "^1.0.14",
"node-sass": "^4.10.0",
"ora": "^0.2.0",
"phantomjs-prebuilt": "^2.1.3",
"sass-loader": "^7.1.0",
"selenium-server": "2.53.0",

@@ -65,15 +74,17 @@ "shelljs": "^0.6.0",

"style-loader": "^0.17.0",
"url-loader": "^0.5.7",
"url-loader": "^1.1.2",
"vue": "^2.5.13",
"vue-hot-reload-api": "^1.2.0",
"vue-html-loader": "^1.0.0",
"vue-loader": "^13.0.5",
"vue-loader": "^15.4.2",
"vue-style-loader": "^1.0.0",
"vue-template-compiler": "^2.5.17",
"webpack": "^3.12.0",
"vuepress": "^1.0.0-alpha.27",
"webpack": "^4.26.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^1.4.0",
"webpack-dev-server": "^2.11.2",
"webpack-dev-server": "^3.1.10",
"webpack-hot-middleware": "^2.6.0",
"webpack-merge": "^0.8.3",
"ejs": ">=2.5.5",
"growl": ">=1.10.0"
"webpack-merge": "^4.1.4"
},

@@ -83,4 +94,8 @@ "directories": {

},
"keywords": [],
"keywords": [
"vue",
"slider",
"swiper"
],
"license": "ISC"
}

@@ -5,3 +5,3 @@ import sliderComponent from './components/slider'

const slideritem = sliderItemComponent
export default slider
export { slider, slideritem }
export { slider, slideritem}
// export default slider

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

// 渐变滚动
// // 渐变滚动
import sliderfade from './demo/slider_fade'
// 基础滚动
// // 基础滚动
import sliderbasic from './demo/slider_basic'
// 不定宽滚动
// // 不定宽滚动
import slidervariableWidth from './demo/slider_variableWidth'
// 无限滚动
// // 无限滚动
import sliderbasicloop from './demo/slider_basic_loop'
// 垂直滚动
// // 垂直滚动
import slidervertical from './demo/slider_vertical'
// 多级滚动
// // 多级滚动
import slidermultipleSlide from './demo/slider_multipleSlide'
// 多级滚动
// // 多级滚动
import sliderCenter from './demo/slider_center'
// 多级滚动
// // coverflow
import slidercoverFlow from './demo/slider_coverFlow'
// 多级滚动
// // // 多级滚动
import slidernest from './demo/slider_nest'
// 自定义pageation
// // // 自定义pageation
import sliderrenderPagination from './demo/slider_renderPagination'
// 实例vue
// // // 实例vue
new Vue(sliderfade) // eslint-disable-line

@@ -24,0 +24,0 @@ new Vue(sliderbasic) // eslint-disable-line

const path = require('path')
const webpack = require('webpack')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
const VueLoaderPlugin = require('vue-loader/lib/plugin')
const resolve = dir => path.join(__dirname, '..', dir)
module.exports = {
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
devtool: process.env.NODE_ENV === 'production' ? '' : 'inline-source-map',

@@ -65,2 +67,3 @@ devServer: { // 检测代码变化并自动重新编译并自动刷新浏览器

// new webpack.optimize.UglifyJsPlugin(),
new VueLoaderPlugin(),
new BundleAnalyzerPlugin(),

@@ -67,0 +70,0 @@ new webpack.HotModuleReplacementPlugin()

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 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

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