text: webpackJsonp([1],{"+5Vl":function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("pso0"),s=r.prefixStyle("transform"),l=r.vendor?["-",r.vendor,"-transform"].join(""):"transform",a=r.prefixStyle("transition"),u=(r.prefixStyle("borderRadius"),r.prefixStyle("transitionDuration"),function(t){this.userConfig=r.mix({MIN_BAR_SCROLLED_SIZE:10,MIN_BAR_SIZE:50,MAX_BOUNCE_DISTANCE:40,spacing:5},t),this.init(t.xscroll)});if(r.mix(u.prototype,{init:function(t){var e=this;e.xscroll=t,e.type=e.userConfig.type,e.isY="y"==e.type,e.scrollTopOrLeft=e.isY?"scrollTop":"scrollLeft"},destroy:function(){var t=this;r.remove(t.scrollbar),t.xscroll.off("scroll",t._scrollHandler,t),t.xscroll.off("scrollend",t._scrollEndHandler,t)},render:function(){var t=this,e=t.xscroll,n=(e.boundry,t.xscroll.userConfig.indicatorInsets),i=e.userConfig.gpuAcceleration?" translateZ(0) ":"",o="opacity:0;position:absolute;z-index:999;overflow:hidden;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;"+(i?l+":"+i+";":"");n._xright=n.right+n.spacing,n._xbottom=n.bottom+n.spacing;var s=t.isY?r.substitute("width:{width}px;bottom:{_xbottom}px;top:{top}px;right:{right}px;",n)+o:r.substitute("height:{width}px;left:{left}px;right:{_xright}px;bottom:{bottom}px;",n)+o;t.scrollbar||(t.scrollbar=document.createElement("div"),t.indicate=document.createElement("div"),e.renderTo.appendChild(t.scrollbar),t.scrollbar.appendChild(t.indicate)),t.scrollbar.style.cssText=s;var a=t.isY?"width:100%;":"height:100%;";t.indicate.style.cssText=a+"position:absolute;background:rgba(0,0,0,0.3);-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;",t._update(),t.hide(0),t._bindEvt()},_update:function(t,e,n,i){var r=this,o=(t=void 0===t?r.isY?r.xscroll.getScrollTop():r.xscroll.getScrollLeft():t,r.computeScrollBar(t)),s=r.isY?"height":"width";r.indicate.style[s]=Math.round(o.size)+"px",e&&n?r.scrollTo(o.pos,e,n,i):r.moveTo(o.pos)},computeScrollBar:function(t){var e=this,n=(e.isY,e.userConfig.spacing),i=e.xscroll,r=i.boundry,o=e.userConfig,s=(t=e.isY?Math.round(t)+r._xtop:Math.round(t)+r._xleft,o.MIN_BAR_SCROLLED_SIZE),l=o.MIN_BAR_SIZE,a=o.MAX_BOUNCE_DISTANCE;e.containerSize=e.isY?i.containerHeight+r._xtop+r._xbottom:e.xscroll.containerWidth+r._xright+r._xleft,e.size=e.isY?r.cfg.height:r.cfg.width,e.indicateSize=e.isY?r.cfg.height-2*n:r.cfg.width-2*n;var u,c=e.indicateSize,h=e.containerSize,f=c*t/h,d=Math.round(c*e.size/h),p=e.isY?i.getBoundryOutTop():i.getBoundryOutLeft(),g=e.isY?i.getBoundryOutBottom():i.getBoundryOutRight(),v=l-d>0?l-d:0;(d=d<l?l:d,f=(c-v)*t/h,p>=0)&&(f=-(u=(u=p/a)>1?1:u)*(d-s));g>=0&&(f=(u=(u=g/a)>1?1:u)*(d-s)+c-d);return e.barPos=Math.round(f),{size:Math.round(d),pos:e.barPos}},scrollTo:function(t,e,n,i){var r=this;r.show();var s=r.xscroll.userConfig.gpuAcceleration?" translateZ(0) ":"",l={css:{transform:r.isY?"translateY("+t+"px)"+s:"translateX("+t+"px)"+s},duration:e,easing:n,useTransition:r.xscroll.userConfig.useTransition,end:i};r.__timer=r.__timer||new o(r.indicate,l),r.__timer.stop(),r.__timer.reset(l),r.__timer.run()},moveTo:function(t){var e=this;e.show();var n=e.xscroll.userConfig.gpuAcceleration?" translateZ(0) ":"";e.isY?e.indicate.style[s]="translateY("+t+"px) "+n:e.indicate.style[s]="translateX("+t+"px) "+n,e.indicate.style[a]=""},_scrollHandler:function(t){return this._update(t[this.scrollTopOrLeft]),this},isBoundryOut:function(){var t=this;return t.isY?t.xscroll.isBoundryOutTop()||t.xscroll.isBoundryOutBottom():t.xscroll.isBoundryOutLeft()||t.xscroll.isBoundryOutRight()},_scrollEndHandler:function(t){var e=this;return e.isBoundryOut()||(e._update(t[e.scrollTopOrLeft]),e.hide()),e},_bindEvt:function(){var t=this;t.__isEvtBind||(t.__isEvtBind=!0,t.xscroll.on("scroll",t._scrollHandler,t),t.xscroll.on("scrollend",t._scrollEndHandler,t))},reset:function(){this.pos=0,this._update()},hide:function(t,e,n){t=t>=0?t:300,n=n>=0?n:100;this.scrollbar.style.opacity=0,this.scrollbar.style[a]=["opacity ",t,"ms "," ease-out ",n,"ms"].join("")},show:function(){this.scrollbar.style.opacity=1,this.scrollbar.style[a]=""}}),"object"!=typeof i||!i.exports)return u;i.exports=u}.call(e,n,e,t))||(t.exports=i)},"/Xsc":function(t,e,n){var i=n("VU/8")(n("rMb0"),n("e2TC"),function(t){n("c3oL")},"data-v-831e694c",null);t.exports=i.exports},"0sWj":function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("NC0u"),s=r.prefixStyle("transform"),l=function(t){var e=t.stickyElement,n=t.curStickyElement,i=t.xscroll,o=t._,s=i.getPlugin("infinite");if(s){s.userConfig.renderHook.call(self,e,n),e.setAttribute("xs-guid",n.guid),r.addClass(e,n.className);for(var l in n.style)"display"!=l&&"position"!=l&&(e.style[l]=l==o.height?n.style[l]+"px":n.style[l])}else{var a=n.getAttribute("style");e.innerHTML=n.innerHTML,e.className=n.className,a&&e.setAttribute("style",a)}},a=function(t){a.superclass.constructor.call(this,t),this.userConfig=r.mix({stickyRenderTo:void 0,forceSticky:!0,prefix:"xs-sticky-container",stickyRenderFunc:l,zoomType:"y"},t),this.init()};if(r.extend(a,o,{init:function(){var t=this,e=t.userConfig;t.xscroll=e.xscroll,t.isY=!("y"!=e.zoomType);return t._={top:t.isY?"top":"left",left:t.isY?"left":"bottom",right:t.isY?"right":"top",height:t.isY?"height":"width",width:t.isY?"width":"height"},t.stickyRenderTo=r.getNode(e.stickyRenderTo),t._handlers=[],t},getStickiesPos:function(){for(var t,e,n=this,i=(n.xscroll,n.isInfinite),o=n.isY,s=n._,l=[],a=0;a<n.stickiesNum;a++){var u=(t=n.stickyElements[a],e=void 0,e={},i?(e[s.top]=o?t._top:t._left,e[s.height]=o?t._height:t._width):(e[s.top]=n.isY?r.getOffsetTop(t):r.getOffsetLeft(t),e[s.height]=n.isY?t.offsetHeight:t.offsetWidth),e);n._handlers[a]=n._handlers[a]||n.createStickyEl(),u.el=n._handlers[a],u.isRender=!1,l.push(u)}return l},getStickyElements:function(){var t=this.xscroll,e=(this.userConfig,this.isInfinite,t.getPlugin("infinite"));if(e){var n=[],i=e.__serializedData;for(var o in i){var s=i[o];s&&s.style&&"sticky"==s.style.position&&n.push(s)}return n}return r.getNodes(t.userConfig.stickyElements,t.content)},render:function(t){var e=this,n=e.userConfig,i=e.xscroll;e.isInfinite=!!i.getPlugin("infinite");var o=e._;if(e.stickyElements=e.getStickyElements(),e.stickiesNum=e.stickyElements&&e.stickyElements.length,e.stickiesNum){e.stickyRenderTo||(e.stickyRenderTo=document.createElement("div"),i.renderTo.appendChild(e.stickyRenderTo)),e.stickiesPos=e.getStickiesPos();var s=e.stickyRenderTo;s.style[o.top]=0,s.style[o.left]=0,s.style[o.right]=0,s.style.position=i.userConfig.useOriginScroll?"fixed":"absolute",r.addClass(e.stickyRenderTo,n.prefix),e.stickyHandler(t),e._bindEvt()}},createStickyEl:function(){var t=document.createElement("div");return t.style.display="none",r.addClass(t,"xs-sticky-handler"),this.stickyRenderTo.appendChild(t),t},_bindEvt:function(){this.xscroll.on("scroll",this.stickyHandler,this)},stickyHandler:function(t){for(var e=this,n=e.xscroll,i=(e.userConfig,e.isY?n.getScrollTop():n.getScrollLeft()),r=e.stickiesPos,o=e._,l=[],a=0,u=r.length;a<u;a++){i>r[a][o.top]&&l.push(a)}if(!l.length)return e.stickyElement&&(e.stickyElement.style.display="none"),void(e.curStickyIndex=void 0);var c=Math.max.apply(null,l);if(e.curStickyIndex!=c||t){var h=e.curStickyIndex;e.curStickyIndex=c,e.curStickyElement=e.stickyElements[c],e.curStickyPos=r[c],e.stickyElement=e.curStickyPos.el;for(a=0,u=r.length;a<u;a++)r[a].el.style.display="none";var f={stickyElement:e.stickyElement,curStickyIndex:e.curStickyIndex,prevStickyIndex:h,curStickyPos:e.curStickyPos,isRender:e.curStickyPos.isRender};n.trigger("beforestickychange",f),e._stickyRenderFunc(e),n.trigger("stickychange",f)}var d=0;if(e.stickiesPos[e.curStickyIndex+1]){var p=e.stickiesPos[e.curStickyIndex],g=e.stickiesPos[e.curStickyIndex+1];d=i+p[o.height]>g[o.top]&&i+p[o.height]<g[o.top]+p[o.height]?p[o.height]+i-g[o.top]:0}e.stickyElement.style[s]=e.isY?"translateY(-"+d+"px) translateZ(0)":"translateX(-"+d+"px) translateZ(0)"},_stickyRenderFunc:function(t){var e=this,n=e._,i=e.userConfig.stickyRenderFunc,r=e.curStickyPos.el;e.curStickyPos.isRender||(r.style[n.left]=0,r.style[n.right]=0,i&&i.call(e,t)),r.style.display="block",e.curStickyPos.isRender=!0},destroy:function(){var t=this;t.stickyElements=void 0,t.stickiesNum=void 0,t.stickiesPos=void 0,r.remove(t.stickyElement),t.stickyElement=void 0}}),"object"!=typeof i||!i.exports)return a;i.exports=a}.call(e,n,e,t))||(t.exports=i)},"4FCr":function(t,e,n){var i=n("VU/8")(n("pmSg"),n("oplx"),function(t){n("ZKAT")},null,null);t.exports=i.exports},"7NuQ":function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=(n("NC0u"),n("KbqT")),s=n("pso0");r.prefixStyle("transformOrigin");function l(t){l.superclass.constructor.call(this,t)}if(r.extend(l,o,{init:function(){l.superclass.init.call(this),this.resetSize()},getScrollTop:function(){return this.renderTo.scrollTop},getScrollLeft:function(){return this.renderTo.scrollLeft},scrollTop:function(t,e,n,i){var r=this;t=Math.round(t);if(!r.userConfig.lockY){var o={css:{scrollTop:t},duration:e=e||0,easing:n=n||"quadratic",run:function(t){r.trigger("scroll",{scrollTop:r.getScrollTop(),scrollLeft:r.getScrollLeft()})},useTransition:!1,end:i};r.__timers.y=r.__timers.y||new s(r.renderTo,o),r.__timers.y.stop(),r.__timers.y.reset(o),r.__timers.y.run()}},scrollLeft:function(t,e,n,i){var r=this;t=Math.round(t);if(!r.userConfig.lockX){var o={css:{scrollLeft:t},duration:e=e||0,easing:n=n||"quadratic",run:function(t){r.trigger("scroll",{scrollTop:r.getScrollTop(),scrollLeft:r.getScrollLeft()})},useTransition:!1,end:i};r.__timers.x=r.__timers.x||new s(r.renderTo,o),r.__timers.x.stop(),r.__timers.x.reset(o),r.__timers.x.run()}},_bindEvt:function(){l.superclass._bindEvt.call(this);var t=this;t.__isEvtBind||(t.__isEvtBind=!0,t.renderTo.addEventListener("scroll",function(e){t.trigger("scroll",{type:"scroll",scrollTop:t.getScrollTop(),scrollLeft:t.getScrollLeft()})},!1))}}),"object"!=typeof i||!i.exports)return l;i.exports=l}.call(e,n,e,t))||(t.exports=i)},"9tgV":function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("NC0u"),s=function(t){s.superclass.constructor.call(this,t),this.userConfig=r.mix({},t),this.init()};if(r.extend(s,o,{init:function(){this.xscroll=this.userConfig.xscroll},add:function(t,e){var n=this;if(e=r.extend({captureBounce:!1,stopPropagation:!0},e),n.__scrolls||(n.__scrolls={}),t.guid&&!n.__scrolls[t.guid])return t.parentscroll=n.xscroll,n._bind(t),n.__scrolls[t.guid]=t},remove:function(t){if(t&&t.guid){var e=this.__scrolls[t.guid];e&&(e.parentscroll=null,this._unbind(t),e=null)}},get:function(t){return t?this.__scrolls[t]:this.__scrolls},_unbind:function(t){},_bind:function(t){var e=this.xscroll;e.renderTo.addEventListener("touchstart",function(){e._resetLockConfig()}),t.renderTo.addEventListener("touchstart",function(){t._resetLockConfig()}),e.on("panend",e._resetLockConfig),t.on("panend",t._resetLockConfig),t.on("panstart",function(n){if(!t.userConfig.lockY&&!e.userConfig.lockY){if(t.isBoundryOut())return void(e.userConfig.lockY=!0);16==n.direction&&t.getBoundryOutTop()>=0?t.userConfig.lockY=!0:8==n.direction&&t.getBoundryOutTop()>=0&&t.getBoundryOutBottom()<0&&(e.userConfig.lockY=!0),8==n.direction&&t.getBoundryOutBottom()>=0?t.userConfig.lockY=!0:16==n.direction&&t.getBoundryOutBottom()>=0&&t.getBoundryOutTop()<0&&(e.userConfig.lockY=!0),t.getBoundryOutTop()<0&&t.getBoundryOutBottom()<0&&(e.userConfig.lockY=!0)}if(!t.userConfig.lockX&&!e.userConfig.lockX){if(t.isBoundryOut())return void(e.userConfig.lockX=!0);4==n.direction&&t.getBoundryOutLeft()>=0?t.userConfig.lockX=!0:2==n.direction&&t.getBoundryOutLeft()>=0&&t.getBoundryOutRight()<0&&(e.userConfig.lockX=!0),2==n.direction&&t.getBoundryOutRight()>=0?t.userConfig.lockX=!0:4==n.direction&&t.getBoundryOutRight()>=0&&t.getBoundryOutLeft()<0&&(e.userConfig.lockX=!0),t.getBoundryOutLeft()<0&&t.getBoundryOutRight()<0&&(e.userConfig.lockX=!0)}!t.userConfig.lockX&&e.userConfig.lockX&&(2==n.direction||4==n.direction?e.userConfig.lockY=!0:t.userConfig.lockX=!0),!t.userConfig.lockY&&e.userConfig.lockY&&(8==n.direction||16==n.direction?e.userConfig.lockX=!0:t.userConfig.lockY=!0)})}}),"object"!=typeof i||!i.exports)return s;i.exports=s}.call(e,n,e,t))||(t.exports=i)},GbyT:function(t,e){},KbqT:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("NC0u"),s=(n("pso0"),n("PGq9")),l=n("xOxq"),a=n("0sWj"),u=n("xlcS");function c(t){c.superclass.constructor.call(this),this.userConfig=t,this.init()}if(r.extend(c,o,{version:"3.0.13",init:function(){var t=this,e={preventDefault:!0,bounce:!0,boundryCheck:!0,useTransition:!0,gpuAcceleration:!0,BOUNDRY_CHECK_EASING:"ease",BOUNDRY_CHECK_DURATION:500,BOUNDRY_CHECK_ACCELERATION:.1,useOriginScroll:!1,zoomType:"y",indicatorInsets:{top:3,bottom:3,left:3,right:3,width:3,spacing:5},container:".xs-container",content:".xs-content",stickyElements:".xs-sticky",fixedElements:".xs-fixed",touchAction:"auto"};t.guid=r.guid(),t.renderTo=r.getNode(t.userConfig.renderTo),t.__timers={};var n=JSON.parse(t.renderTo.getAttribute("xs-cfg")),i=t.userConfig=r.mix(r.mix(e,n),t.userConfig);return t.container=r.getNode(i.container,t.renderTo),t.content=r.getNode(i.content,t.renderTo),t.boundry=new s,t.boundry.refresh(),t},destroy:function(){var t=this;t.mc&&t.mc.destroy(),t.sticky&&t.sticky.destroy(),t.fixed&&t.fixed.destroy()},_initContainer:function(){},enableGPUAcceleration:function(){return this.userConfig.gpuAcceleration=!0,this},disableGPUAcceleration:function(){return this.userConfig.gpuAcceleration=!1,this},getScrollPos:function(){return{scrollLeft:this.getScrollLeft(),scrollTop:this.getScrollTop()}},getScrollTop:function(){},getScrollLeft:function(){},scrollTo:function(t,e,n,i,r){t=void 0===t||isNaN(t)?-this.getScrollLeft():t,e=void 0===e||isNaN(e)?-this.getScrollTop():e;this.scrollLeft(t,n,i,r),this.scrollTop(e,n,i,r)},scrollBy:function(t,e,n,i,r){this.scrollByX(t,n,i,r),this.scrollByY(e,n,i,r)},scrollLeftBy:function(t,e,n,i){this.scrollLeft(Number(t)+Number(this.getScrollLeft()),e,n,i)},scrollTopBy:function(t,e,n,i){this.scrollTop(Number(t)+Number(this.getScrollTop()),e,n,i)},scrollLeft:function(t,e,n,i){},scrollTop:function(t,e,n,i){},resetSize:function(){var t=this;if(t.container&&t.content){var e=t.userConfig,n=getComputedStyle(t.renderTo),i=(t.width=(e.width||t.renderTo.offsetWidth)-r.px2Num(n["padding-left"])-r.px2Num(n["padding-right"]),t.height=(e.height||t.renderTo.offsetHeight)-r.px2Num(n["padding-top"])-r.px2Num(n["padding-bottom"]),e.containerWidth||t.content.offsetWidth),o=e.containerHeight||t.content.offsetHeight;return t.containerWidth=i<t.width?t.width:i,t.containerHeight=o<t.height?t.height:o,t.boundry.refresh({width:t.width,height:t.height}),t}},render:function(){var t=this;return t.resetSize(),t.initSticky(),t.initFixed(),t.trigger("afterrender",{type:"afterrender"}),t._bindEvt(),t.initTouchAction(),t},initTouchAction:function(){return this.mc.set({touchAction:this.userConfig.touchAction}),this},initFixed:function(){var t=this,e=t.userConfig;return t.fixed=t.fixed||new u({fixedElements:e.fixedElements,xscroll:t,fixedRenderTo:e.fixedRenderTo}),t.fixed.render(),t.resetSize(),t},initSticky:function(){var t=this.userConfig;(this.sticky=this.sticky||new a({xscroll:this,zoomType:t.zoomType,stickyRenderTo:t.stickyRenderTo})).render()},boundryCheck:function(){return this},boundryCheckX:function(){return this},boundryCheckY:function(){return this},_bindEvt:function(){var t=this;if(!t.___isEvtBind){t.___isEvtBind=!0;var e=t.mc=new l.Manager(t.renderTo),n=new l.Tap,i=new l.Pan;new l.Pinch;e.add([n,i]),t.mc.on("panstart pan panend pancancel pinchstart pinchmove pinchend pinchcancel pinchin pinchout",function(e){t.trigger(e.type,e)});for(var r=["touchstart","touchmove","touchend","touchcancel","mousedown"],o=0,s=r.length;o<s;o++)t.renderTo.addEventListener(r[o],function(e){t.trigger(e.type,e)});return t.mc.on("tap",function(e){1==e.tapCount?(e.type="tap",t.trigger(e.type,e)):2==e.tapCount&&(e.type="doubletap",t.trigger("doubletap",e))}),t}},_resetLockConfig:function(){},stop:function(){}}),"object"!=typeof i||!i.exports)return c;i.exports=c}.call(e,n,e,t))||(t.exports=i)},NC0u:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("QwcD"),s=function(){};if(r.mix(s.prototype,o),r.mix(s.prototype,{plug:function(t){var e=this;if(t&&t.pluginId)return e.__plugins||(e.__plugins=[]),e.getPlugin(t.pluginId)&&e.unplug(t.pluginId),t.pluginInitializer(e),e.__plugins.push(t),e},unplug:function(t){var e=this;if(t&&e.__plugins){var n="string"==typeof t?e.getPlugin(t):t;n.pluginDestructor(e);for(var i=0,r=e.__plugins.length;i<r;i++)if(e.__plugins[i]==n)return e.__plugins.splice(i,1)}},getPlugin:function(t){var e=this,n=[];if(e.__plugins){for(var i=0,r=e.__plugins.length;i<r;i++)e.__plugins[i]&&e.__plugins[i].pluginId==t&&n.push(e.__plugins[i]);return n.length>1?n:n[0]||null}}}),"object"!=typeof i||!i.exports)return s;i.exports=s}.call(e,n,e,t))||(t.exports=i)},P2Kv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mvHQ"),r=n.n(i),o=n("BEQ0"),s=n.n(o),l=n("WTNC"),a=n.n(l),u=n("ypEt"),c=n.n(u),h=n("qbvd"),f=n.n(h);e.default={name:"scroller",props:{value:{type:Object,default:function(){return{pulldownStatus:"",pullupStatus:""}}},height:String,lockX:Boolean,lockY:Boolean,scrollbarX:Boolean,scrollbarY:Boolean,bounce:{type:Boolean,default:!0},useOriginScroll:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0},preventDefault:{type:Boolean,default:!1},stopPropagation:Boolean,boundryCheck:{type:Boolean,default:!0},gpuAcceleration:{type:Boolean,default:!0},usePulldown:{type:Boolean,default:!1},usePullup:{type:Boolean,default:!1},pulldownConfig:{type:Object,default:function(){return{}}},pullupConfig:{type:Object,default:function(){return{}}},enableHorizontalSwiping:{type:Boolean,default:!1},scrollBottomOffset:{type:Number,default:0}},methods:{reset:function(t,e,n){t&&(void 0!==t.left&&this._xscroll.scrollLeft(t.left,e,n),void 0!==t.top&&this._xscroll.scrollTop(t.top,e,n)),this._xscroll&&this._xscroll.resetSize()},donePulldown:function(){var t=this;this.pulldown.reset(function(){t.reset()}),this.currentValue.pulldownStatus="default"},disablePullup:function(){this.pullup.stop(),this.currentValue.pullupStatus="disabled"},enablePullup:function(){this.currentValue.pullupStatus="default",this.pullup.restart()},donePullup:function(){this.pullup.complete(),this.reset(),this.currentValue.pullupStatus="default"},getStyles:function(){var t=this.height;!this.height&&this.$el&&!this.$el.style.height&&this.lockX&&(t=document.documentElement.clientHeight+"px",this.reset()),this.height&&0===this.height.indexOf("-")&&(t=document.documentElement.clientHeight+parseInt(this.height)+"px"),this.styles={height:""+t}}},created:function(){var t=this;this.value?this.currentValue=this.value:this.currentValue={pulldownStatus:"",pullupStatus:""},this.handleOrientationchange=function(){setTimeout(function(){t.reset()},100)}},data:function(){return{currentValue:{},styles:{}}},watch:{currentValue:{handler:function(t){var e;this.$emit("input",(e=t,JSON.parse(r()(e))))},deep:!0},height:function(){this.getStyles()},value:{handler:function(t){"default"===t.pullupStatus&&"default"!==this.currentValue.pullupStatus&&this.donePullup(),"default"===t.pulldownStatus&&"default"!==this.currentValue.pulldownStatus&&this.donePulldown(),"disabled"===t.pullupStatus&&"disabled"!==this.currentValue.pullupStatus&&this.disablePullup(),"enabled"===t.pullupStatus&&"disabled"===this.currentValue.pullupStatus&&this.enablePullup()},deep:!0}},mounted:function(){var t=this;this.uuid=Math.random().toString(36).substring(3,8),this.$nextTick(function(){t.$el.setAttribute("id","vux-scroller-"+t.uuid);var e=null;if(t.$slots.default&&(e=t.$slots.default[0].elm),!e)throw new Error("no content is found");if(t._xscroll=new a.a({renderTo:"#vux-scroller-"+t.uuid,lockX:t.lockX,lockY:t.lockY,scrollbarX:t.scrollbarX,scrollbarY:t.scrollbarY,content:e,bounce:t.bounce,useOriginScroll:t.useOriginScroll,useTransition:t.useTransition,preventDefault:t.preventDefault,boundryCheck:t.boundryCheck,gpuAcceleration:t.gpuAcceleration,stopPropagation:t.stopPropagation}),t._xscroll.on("scroll",function(){if(t._xscroll){var e=t._xscroll.getScrollTop();t.$emit("on-scroll",{top:e,left:t._xscroll.getScrollLeft()}),e>=t._xscroll.containerHeight-t._xscroll.height-t.scrollBottomOffset&&t.$emit("on-scroll-bottom")}}),t.usePulldown){var n=t.$slots.pulldown,i=s()({content:"Pull Down To Refresh",height:60,autoRefresh:!1,downContent:"Pull Down To Refresh",upContent:"Release To Refresh",loadingContent:"Loading...",clsPrefix:"xs-plugin-pulldown-"},t.pulldownConfig);n&&(i.container=n[0].elm),t.pulldown=new c.a(i),t._xscroll.plug(t.pulldown),t.pulldown.on("loading",function(e){t.$emit("on-pulldown-loading",t.uuid)}),t.pulldown.on("statuschange",function(e){t.currentValue.pulldownStatus=e.newVal})}if(t.usePullup){var r=t.$slots.pullup,o=s()({content:"Pull Up To Refresh",pullUpHeight:60,height:40,autoRefresh:!1,downContent:"Release To Refresh",upContent:"Pull Up To Refresh",loadingContent:"Loading...",clsPrefix:"xs-plugin-pullup-"},t.pullupConfig);r&&(o.container=r[0].elm),t.pullup=new f.a(o),t._xscroll.plug(t.pullup),t.pullup.on("loading",function(e){t.$emit("on-pullup-loading",t.uuid)}),t.pullup.on("statuschange",function(e){t.currentValue.pullupStatus=e.newVal})}t.enableHorizontalSwiping&&(t._xscroll.on("panstart",function(e){2!==e.direction&&4!==e.direction||(e.preventDefault(),t.scrollbarY&&(t._xscroll.userConfig.scrollbarY=!1),t._xscroll.userConfig.lockY=!0)}),t._xscroll.on("panend",function(){t.scrollbarY&&(t._xscroll.userConfig.scrollbarY=!0),t._xscroll.userConfig.lockY=!1})),t._xscroll.render(),window.addEventListener("orientationchange",t.handleOrientationchange,!1)}),this.getStyles()},updated:function(){this.reset()},beforeDestroy:function(){this.pullup&&(this._xscroll.unplug(this.pullup),this.pullup.pluginDestructor()),this.pulldown&&(this._xscroll.unplug(this.pulldown),this.pulldown.pluginDestructor()),window.removeEventListener("orientationchange",this.handleOrientationchange,!1),this._xscroll.destroy(),this._xscroll=null}}},PGq9:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/");function o(t){this.cfg=r.mix({width:0,height:0},t),this.init()}if(r.mix(o.prototype,{init:function(){var t=this;t._xtop=0,t._xright=0,t._xleft=0,t._xbottom=0,t.refresh({width:t.cfg.width,height:t.cfg.height})},reset:function(){return this.resetTop(),this.resetLeft(),this.resetBottom(),this.resetRight(),this},resetTop:function(){return this._xtop=0,this.refresh(),this},resetLeft:function(){return this._xleft=0,this.refresh(),this},resetBottom:function(){return this._xbottom=0,this.refresh(),this},resetRight:function(){return this._xright=0,this.refresh(),this},expandTop:function(t){return this._xtop=t,this.refresh(),this},expandLeft:function(t){return this._xleft=t,this.refresh(),this},expandRight:function(t){return this._xright=t,this.refresh(),this},expandBottom:function(t){return this._xbottom=t,this.refresh(),this},refresh:function(t){return r.mix(this.cfg,t),this.top=this._xtop,this.left=this._xleft,this.bottom=(t&&t.height||this.cfg.height||0)-this._xbottom,this.right=(t&&t.width||this.cfg.width||0)-this._xright,this.width=this.right-this.left>0?this.right-this.left:0,this.height=this.bottom-this.top>0?this.bottom-this.top:0,this}}),"object"!=typeof i||!i.exports)return o;i.exports=o}.call(e,n,e,t))||(t.exports=i)},PLi8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"weui-panel weui-panel_access"},[t.header&&t.header.title?n("div",{staticClass:"weui-panel__hd",domProps:{innerHTML:t._s(t.header.title)},on:{click:function(e){t.$emit("on-click-header")}}}):t._e(),t._v(" "),t._t("header"),t._v(" "),n("div",{staticClass:"weui-panel__bd"},[n("div",{staticClass:"vux-card-content"},[t._t("content")],2)]),t._v(" "),n("div",{staticClass:"weui-panel__ft"},[t.footer&&t.footer.title?n("a",{staticClass:"weui-cell weui-cell_access weui-cell_link",attrs:{href:"javascript:"},on:{click:t.onClickFooter}},[n("div",{staticClass:"weui-cell__bd",domProps:{innerHTML:t._s(t.footer.title)}})]):t._e()]),t._v(" "),t._t("footer")],2)},staticRenderFns:[]}},QwcD:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}},s={on:function(t,e,n){return a(this,"on",t,[e,n])&&e?(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:n,ctx:n||this}),this):this},once:function(t,e,n){if(!a(this,"once",t,[e,n])||!e)return this;var i=this,r=o(function(){i.off(t,r),e.apply(this,arguments)});return r._callback=e,this.on(t,r,n)},off:function(t,e,n){if(!this._events||!a(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return this._events=void 0,this;for(var i=t?[t]:Object.keys(this._events),r=0,o=i.length;r<o;r++){t=i[r];var s=this._events[t];if(s)if(e||n){for(var l=[],u=0,c=s.length;u<c;u++){var h=s[u];(e&&e!==h.callback&&e!==h.callback._callback||n&&n!==h.context)&&l.push(h)}l.length?this._events[t]=l:delete this._events[t]}else delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=Array.prototype.slice.call(arguments,1);if(!a(this,"trigger",t,e))return this;var n=this._events[t],i=this._events.all;return n&&u(n,e),i&&u(i,arguments),this},listenTo:function(t,e,n){return(this._listeningTo||(this._listeningTo={}))[t._listenId||(t._listenId=r.guid("l"))]=t,n||"object"!=typeof e||(n=this),t.on(e,n,this),this},listenToOnce:function(t,e,n){if("object"==typeof e){for(var i in e)this.listenToOnce(t,i,e[i]);return this}var r=o(function(){this.stopListening(t,e,r),n.apply(this,arguments)});return r._callback=n,this.listenTo(t,e,r)},stopListening:function(t,e,n){var i=this._listeningTo;if(!i)return this;var o=!e&&!n;n||"object"!=typeof e||(n=this),t&&((i={})[t._listenId]=t);for(var s in i)(t=i[s]).off(e,n,this),(o||r.isEmpty(t._events))&&delete this._listeningTo[s];return this}},l=/\s+/,a=function(t,e,n,i){if(!n)return!0;if("object"==typeof n){for(var r in n)t[e].apply(t,[r,n[r]].concat(i));return!1}if(l.test(n)){for(var o=n.split(l),s=0,a=o.length;s<a;s++)t[e].apply(t,[o[s]].concat(i));return!1}return!0},u=function(t,e){var n,i=-1,r=t.length,o=e[0],s=e[1],l=e[2];switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o);return;case 2:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,s);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,s,l);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e);return}};if(s.bind=s.on,s.unbind=s.off,"object"!=typeof i||!i.exports)return s;i.exports=s}.call(e,n,e,t))||(t.exports=i)},S8Wg:function(t,e,n){var i=n("VU/8")(n("P2Kv"),n("bT/x"),function(t){n("fBw8")},null,null);t.exports=i.exports},WTNC:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("NC0u"),s=n("oz1m"),l=n("pso0"),a=n("xOxq"),u=n("z/Vj"),c=n("7NuQ"),h=function(t){return new(t&&t.useOriginScroll?c:u)(t)};if(h.Util=r,h.Base=o,h.Timer=s,h.Animate=l,h.Hammer=a,h.Plugins={},"object"!=typeof i||!i.exports)return window.XScroll=h;i.exports=h}.call(e,n,e,t))||(t.exports=i)},ZKAT:function(t,e){},"Zur/":function(t,e,n){var i;void 0===(i=function(t,e,n){"use strict";var i=/\\?\{([^{}]+)\}/g,r=/^[\s\xa0]+|[\s\xa0]+$/g,o=String.prototype.trim,s=o?function(t){return null==t?"":o.call(t)}:function(t){return null==t?"":(t+"").replace(r,"")};function l(){}function a(t,e){var n;return Object.create?n=Object.create(t):(l.prototype=t,n=new l),n.constructor=e,n}function u(t,e){if(t){if(t.nodeType)return[t];e=e&&e.nodeType?e:document;return t&&"string"==typeof t?e.querySelectorAll(t):void 0}}for(var c=0,h=function(t){var e=t.offsetTop;return null!=t.offsetParent&&(e+=h(t.offsetParent)),e},f=function(t){var e=t.offsetLeft;return null!=t.offsetParent&&(e+=f(t.offsetParent)),e},d={isObject:function(t){return t===Object(t)},isArray:Array.isArray||function(t){return"[object Array]"==toString.call(t)},isEmpty:function(t){if(null==t)return!0;if(this.isArray(t)||this.isString(t))return 0===t.length;for(var e in t)if(this.has(t,e))return!1;return!0},mix:function(t,e,n){for(var i in e)t[i]=e[i];return t},extend:function(t,e,n,i){if(!e||!t)return t;var r,o=e.prototype;return r=a(o,t),t.prototype=this.mix(r,t.prototype),t.superclass=a(o,e),n&&this.mix(r,n),i&&this.mix(t,i),t},startsWith:function(t,e){return 0===t.lastIndexOf(e,0)},endsWith:function(t,e){var n=t.length-e.length;return n>=0&&t.indexOf(e,n)===n},trim:s,substitute:function(t,e,n){return"string"==typeof t&&e?t.replace(n||i,function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]}):t},vendor:function(){for(var t=document.createElement("div").style,e=["t","webkitT","MozT","msT","OT"],n=0,i=e.length;n<i;n++)if(e[n]+"ransform"in t)return e[n].substr(0,e[n].length-1);return!1}(),prefixStyle:function(t){return!1!==this.vendor&&(""===this.vendor?t:this.vendor+t.charAt(0).toUpperCase()+t.substr(1))},hasClass:function(t,e){return t&&t.className&&e&&-1!=t.className.indexOf(e)},addClass:function(t,e){t&&e&&!this.hasClass(t,e)&&(t.className+=" "+e)},removeClass:function(t,e){t&&t.className&&e&&(t.className=t.className.replace(e,""))},remove:function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},getOffsetTop:h,getOffsetLeft:f,findParentEl:function(t,e,n){var i=null,r=null,o=/^#/.test(e)?"id":/^\./.test(e)?"class":"tag",l=e.replace(/\.|#/g,"");if(n&&"string"==typeof n&&(n=document.querySelector(n)),n=n||document.body,t&&e){if("class"==o&&t.className&&t.className.match(l))return t;if("id"==o&&t.id&&s(t.id)==l)return t;if("tag"==o&&t.tagName.toLowerCase()==l)return t;for(;!i&&r!=n&&(r=t.parentNode);){if("class"==o&&r.className&&r.className.match(l)||"id"==o&&r.id&&s(r.id)==l||"tag"==o&&r.tagName&&r.tagName.toLowerCase()==l)return i=r;t=r}return null}},guid:function(t){var e=++c+"";return t?t+e:e},isAndroid:function(){return/Android /.test(window.navigator.appVersion)},isBadAndroid:function(){return/Android /.test(window.navigator.appVersion)&&!/Chrome\/\d/.test(window.navigator.appVersion)},px2Num:function(t){return Number(t.replace(/px/,""))},getNodes:u,getNode:function(t,e){var n=u(t,e);return n&&n[0]},stringifyStyle:function(t){var e="";for(var n in t)e+=[n,":",t[n],";"].join("");return e}},p=["Arguments","Function","String","Number","Date","RegExp"],g=0;g<p.length;g++)d["is"+p[g]]=function(t){return toString.call(t)=="[object "+p[g]+"]"};if("object"!=typeof n||!n.exports)return d;n.exports=d}.call(e,n,e,t))||(t.exports=i)},"bT/x":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.styles},[n("div",{staticClass:"xs-container"},[t._t("default"),t._v(" "),t._t("pulldown"),t._v(" "),t._t("pullup")],2)])},staticRenderFns:[]}},c3oL:function(t,e){},dQSc:function(t,e,n){var i=n("VU/8")(n("uEfE"),n("PLi8"),function(t){n("GbyT")},null,null);t.exports=i.exports},e2TC:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._m(0),t._v(" "),n("div",{staticClass:"content"},[n("scroller",{ref:"scrollerBottom",attrs:{"lock-x":"","scroll-bottom-offst":200},on:{"on-scroll-bottom":t.onScrollBottom}},[n("div",{staticClass:"box2"},[n("div",{staticClass:"month first"},[n("div",{staticClass:"tit"},[n("span",[t._v("2017-10")]),t._v(" "),n("span",[t._v("成交2单")])]),t._v(" "),n("card",{staticClass:"card"},[n("div",{staticClass:"head",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("订单编号：1212121")]),t._v(" "),n("span",[t._v("待支付")])]),t._v(" "),n("div",{staticClass:"card_con",attrs:{slot:"content"},slot:"content"},[n("ul",[n("li",[t._v("订单时间：2017-10-55")]),t._v(" "),n("li",[t._v("投保人：李偲")]),t._v(" "),n("li",[t._v("订单总额：6,567元")])])])]),t._v(" "),n("card",{staticClass:"card"},[n("div",{staticClass:"head",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("订单编号：1212121")]),t._v(" "),n("span",[t._v("待支付")])]),t._v(" "),n("div",{staticClass:"card_con",attrs:{slot:"content"},slot:"content"},[n("ul",[n("li",[t._v("订单时间：2017-10-55")]),t._v(" "),n("li",[t._v("投保人：李偲")]),t._v(" "),n("li",[t._v("订单总额：6,567元")])])])]),t._v(" "),n("card",{staticClass:"card"},[n("div",{staticClass:"head",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("订单编号：1212121")]),t._v(" "),n("span",[t._v("待支付")])]),t._v(" "),n("div",{staticClass:"card_con",attrs:{slot:"content"},slot:"content"},[n("ul",[n("li",[t._v("订单时间：2017-10-55")]),t._v(" "),n("li",[t._v("投保人：李偲")]),t._v(" "),n("li",[t._v("订单总额：6,567元")])])])])],1),t._v(" "),n("div",{staticClass:"month"},[n("div",{staticClass:"tit"},[n("span",[t._v("2017-10")]),t._v(" "),n("span",[t._v("成交2单")])]),t._v(" "),n("card",{staticClass:"card"},[n("div",{staticClass:"head",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("订单编号：1212121")]),t._v(" "),n("span",[t._v("待支付")])]),t._v(" "),n("div",{staticClass:"card_con",attrs:{slot:"content"},slot:"content"},[n("ul",[n("li",[t._v("订单时间：2017-10-55")]),t._v(" "),n("li",[t._v("投保人：李偲")]),t._v(" "),n("li",[t._v("订单总额：6,567元")])])])]),t._v(" "),n("card",{staticClass:"card"},[n("div",{staticClass:"head",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("订单编号：1212121")]),t._v(" "),n("span",[t._v("待支付")])]),t._v(" "),n("div",{staticClass:"card_con",attrs:{slot:"content"},slot:"content"},[n("ul",[n("li",[t._v("订单时间：2017-10-55")]),t._v(" "),n("li",[t._v("投保人：李偲")]),t._v(" "),n("li",[t._v("订单总额：6,567元")])])])]),t._v(" "),n("card",{staticClass:"card"},[n("div",{staticClass:"head",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("订单编号：1212121")]),t._v(" "),n("span",[t._v("待支付")])]),t._v(" "),n("div",{staticClass:"card_con",attrs:{slot:"content"},slot:"content"},[n("ul",[n("li",[t._v("订单时间：2017-10-55")]),t._v(" "),n("li",[t._v("投保人：李偲")]),t._v(" "),n("li",[t._v("订单总额：6,567元")])])])])],1),t._v(" "),n("load-more",{attrs:{tip:"loading"}})],1)])],1)])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab"},[n("ul",[n("li",[n("span",{staticClass:"active"},[t._v("全部")])]),t._v(" "),n("li",[n("span",[t._v("待支付")])]),t._v(" "),n("li",[n("span",[t._v("待处理")])]),t._v(" "),n("li",[n("span",[t._v("待续保")])])])])}]}},fBw8:function(t,e){},oplx:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vux-loadmore weui-loadmore",class:{"weui-loadmore_line":!t.showLoading,"weui-loadmore_dot":!t.showLoading&&!t.tip}},[t.showLoading?n("i",{staticClass:"weui-loading"}):t._e(),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.tip||!t.showLoading,expression:"tip || !showLoading"}],staticClass:"weui-loadmore__tips"},[t._v(t._s(t.tip))])])},staticRenderFns:[]}},oz1m:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("NC0u"),s=n("uig2"),l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},a=["webkit","moz","ms","o"],u=window.cancelAnimationFrame;if(!u)for(var c=0;c<a.length;c++)(window[a[c]+"CancelAnimationFrame"]||window[a[c]+"CancelRequestAnimationFrame"])&&(u=window[a[c]+"CancelAnimationFrame"]||window[a[c]+"CancelRequestAnimationFrame"]);function h(t){this.cfg=r.mix({easing:"linear"},t)}if(u=u||window.clearTimeout,h.MIN_DURATION=1,r.extend(h,o,{reset:function(t){r.mix(this.cfg,t),this.isfinished=!1,this.percent=0,this._stop=null},run:function(){var t=this,e=t.cfg.duration;if(e<=h.MIN_DURATION&&(t.isfinished=!0,t.trigger("run",{percent:1}),t.trigger("end",{percent:1})),!t.isfinished){t._hasFinishedPercent=t._stop&&t._stop.percent||0,t._stop=null,t.start=Date.now(),t.percent=0;var n,i,r,o,l,a,u,c=1e3/60/e/4,f=s[t.cfg.easing];t.easingFn=(n=f[0],i=f[1],r=f[2],o=f[3],l=c,a=function(t){var e=1-t;return 3*e*e*t*n+3*e*t*t*r+t*t*t},u=function(t){var e=1-t;return 3*e*e*t*i+3*e*t*t*o+t*t*t},function(t){var e,i,o,s,c,h,f,d,p=t;for(o=p,h=0;h<8;h++){if(s=a(o)-p,Math.abs(s)<l)return u(o);if(c=3*(2*((f=o)-1)*f+(d=1-f)*d)*n+3*(-f*f*f+2*d*f)*r,Math.abs(c)<1e-6)break;o-=s/c}if(i=1,(o=p)<(e=0))return u(e);if(o>i)return u(i);for(;e<i;){if(s=a(o),Math.abs(s-p)<l)return u(o);p>s?e=o:i=o,o=.5*(i-e)+e}return u(o)}),t._run()}},_run:function(){var t=this;u(t._raf),t._raf=l(function(){if(t.now=Date.now(),t.duration=t.now-t.start>=t.cfg.duration?t.cfg.duration:t.now-t.start,t.progress=t.easingFn(t.duration/t.cfg.duration),t.percent=t.duration/t.cfg.duration+t._hasFinishedPercent,t.percent>=1||t._stop){t.percent=t._stop&&t._stop.percent?t._stop.percent:1,t.duration=t._stop&&t._stop.duration?t._stop.duration:t.duration;var e={percent:t.percent};return t.trigger("stop",e),void(t.percent>=1&&(t.isfinished=!0,t.trigger("end",{percent:1})))}t.trigger("run",{percent:t.progress,originPercent:t.percent}),t._run()})},stop:function(){this._stop={percent:this.percent,now:this.now},u(this._raf)}}),"object"!=typeof i||!i.exports)return h;i.exports=h}.call(e,n,e,t))||(t.exports=i)},pmSg:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"load-more",props:{showLoading:{type:Boolean,default:!0},tip:String}}},pso0:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("oz1m"),s=n("uig2"),l=n("NC0u"),a=r.prefixStyle("transform"),u=r.prefixStyle("transition"),c=(r.prefixStyle("transitionDuration"),r.prefixStyle("transformOrigin"),r.vendor?r.prefixStyle("transitionEnd"):"transitionend"),h=(r.vendor&&["-",r.vendor,"-transform"].join(""),"translateX({translateX}px) translateY({translateY}px) translateZ(0)"),f={transform:!0,opacity:!0,scrollTop:!0,scrollLeft:!0};function d(t){return Math.round(1e5*parseFloat(t))/1e5}function p(t){var e;e=(e=t).split(/,/);var n,i,r,o=(t=e=Array.prototype.map.call(e,function(t){return d(t)}))[0],s=t[1],l=t[2],a=t[3];return o*a-s*l?(r=(o*l+s*a)/(o*a-l*s),i=(o*a-s*l)/(n=Math.sqrt(o*o+s*s)),o*a<s*l&&(r=-r,n=-n)):n=i=r=0,{translateX:d(t[4]),translateY:d(t[5]),rotate:d(180*Math.atan2(s,o)/Math.PI),skewX:d(180*Math.atan(r)/Math.PI),skewY:0,scaleX:d(n),scaleY:d(i)}}function g(t){t=t.split(")");for(var e,n,i,o=r.trim,s=-1,l=t.length-1,a={translateX:0,translateY:0,rotate:0,skewX:0,skewY:0,scaleX:1,scaleY:1};++s<l;)switch(n=o((e=t[s].split("("))[0]),i=e[1],n){case"translateX":case"translateY":case"scaleX":case"scaleY":a[n]=d(i);break;case"translate":case"translate3d":i=i.split(","),a.translateX=d(i[0]),a.translateY=d(i[1]||0);break;case"scale":i=i.split(","),a.scaleX=d(i[0]),a.scaleY=d(i[1]||i[0]);break;case"matrix":return p(i)}return a}function v(t,e){if(t&&e&&e.css){var n=this;n.cfg=e,n.el=t;var i=e.duration||0,r=e.easing||"ease";e.delay;return e.run&&(n.timer=n.timer||new o({duration:Math.round(i),easing:r}),n.timer.on("run",e.run)),n._bindEvt(),n}}function _(t,e,n){switch(e){case"scrollTop":case"scrollLeft":t[e]=n;break;case"transform":t.style[a]=n;case"opacity":t.style[e]=n}}if(r.extend(v,l,{run:function(){var t=this,e=t.cfg,n=t.el,i=e.duration||0,l=e.easing||"ease",c=e.delay||0;if(t.__isTransitionEnd=!1,clearTimeout(t.__itv),t.timer&&t.timer.run(),i<=o.MIN_DURATION){for(var h in e.css)_(n,h,e.css[h]);return t.stop(),void t.__handlers.stop.call(t)}if(r.isBadAndroid()&&(e.useTransition=!1),e.useTransition){n.style[u]=r.substitute("all {duration}ms {easing} {delay}ms",{duration:Math.round(i),easing:s.format(l),delay:c});for(var h in e.css)_(n,h,e.css[h]);t.__itv=setTimeout(function(){t.__isTransitionEnd||(t.__isTransitionEnd=!0,t.trigger("transitionend"))},Number(i)+60)}else if(t.computeStyle=t.computeStyle||window.getComputedStyle(n),e.css.transform&&t.timer){t.transmap=function(t,e){var n=g(t),i=g(e),r={};for(var o in i)r[o]={prevVal:n[o],newVal:i[o]};return r}(t.computeStyle[a],e.css.transform);t.timer.off("run",t.__handlers.transRun),t.timer.on("run",t.__handlers.transRun,t),t.timer.off("end",t.__handlers.transRun),t.timer.on("end",t.__handlers.transRun,t)}return t},_transitionEndHandler:function(t){this.stop(),this.__handlers.stop.call(this)},__handlers:{transRun:function(t){var e=this.transmap,n=this.el,i={};for(var o in e)i[o]=(e[o].newVal-e[o].prevVal)*t.percent+e[o].prevVal;var s=r.substitute(h+" scale({scaleX},{scaleY})",i);n.style[a]=s},stop:function(t){var e=this.cfg;e.end&&e.end({percent:1})}},_bindEvt:function(){var t=this,e=t.cfg,n=t.el;t.el.addEventListener(c,function(e){t.__isTransitionEnd=!0,e.target===e.currentTarget&&t.trigger("transitionend",e)}),t.on("transitionend",t._transitionEndHandler,t);t.timer&&t.timer.on("run",function(i){t.computeStyle=t.computeStyle||window.getComputedStyle(n);for(var r in e.css)/transform/.test(r)||(o=t.el,s=r,l=t.computeStyle[r],a=e.css[r],u=i.percent,_(o,s,(a-(l=isNaN(Number(l))?0:Number(l)))*u+l));var o,s,l,a,u}),t.timer&&t.timer.on("stop",t.__handlers.stop,t)},stop:function(){var t=this;if(t.cfg.useTransition&&t.cfg.duration>o.MIN_DURATION){var e=window.getComputedStyle(this.el);for(var n in t.cfg.css)if(f[n]){var i=/transform/.test(n)?e[a]:e[n];_(t.el,n,r.substitute(h+" scale({scaleX},{scaleY})",g(i)))}t.el.style[u]="none"}return t.timer&&t.timer.stop()&&t.timer.reset(),t.computeStyle=null,t},reset:function(t){var e=this;return e.computeStyle=null,r.mix(e.cfg,t),this.timer&&e.timer.reset({duration:Math.round(e.cfg.duration),easing:e.cfg.easing}),e}}),"object"!=typeof i||!i.exports)return v;i.exports=v}.call(e,n,e,t))||(t.exports=i)},qbvd:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r,o=n("Zur/"),s=n("NC0u"),l=function(t){l.superclass.constructor.call(this),this.userConfig=o.mix({upContent:"Pull Up To Refresh",downContent:"Release To Refresh",pullUpHeight:60,height:40,loadingContent:"Loading...",bufferHeight:0,clsPrefix:"xs-plugin-pullup-"},t)};if(o.extend(l,s,{pluginId:"pullup",pluginInitializer:function(t){return this.xscroll=t.render(),r=this.userConfig.clsPrefix,this.render(),this},pluginDestructor:function(){var t=this;o.remove(t.pullup),t.xscroll.off("scrollend",t._scrollEndHandler,t),t.xscroll.off("scroll",t._scrollHandler,t),t.xscroll.off("pan",t._panHandler,t),t.xscroll.boundry.resetBottom(),t.__isRender=!1,t._evtBinded=!1},pluginDisable:function(){var t=this;t.userConfig.container||o.remove(t.pullup),t.xscroll.off("scrollend",t._scrollEndHandler,t),t.xscroll.off("scroll",t._scrollHandler,t),t.xscroll.off("pan",t._panHandler,t),t.xscroll.boundry.resetBottom(),t.__isRender=!1,t._evtBinded=!1},render:function(){var t=this;if(!t.__isRender){if(t.__isRender=!0,t.userConfig.container)t.pullup=t.userConfig.container;else{var e=r+"container",n=t.userConfig.height,i=t.pullup=document.createElement("div");i.className=e,i.style.position="absolute",i.style.width="100%",i.style.height=n+"px",i.style.bottom=-n+"px",i.style.textAlign="center",t.xscroll.container.appendChild(i),o.addClass(i,r+t.status),i.innerHTML=t.userConfig[t.status+"Content"]||t.userConfig.content}return t.xscroll.boundry.expandBottom(t.userConfig.height),t.status="up",t._bindEvt(),t}},_bindEvt:function(){var t=this;if(!t._evtBinded){t._evtBinded=!0;t.pullup;var e=t.xscroll;return e.on("pan",t._panHandler,t),t.userConfig.bufferHeight>0&&e.on("scroll",t._scrollHandler,t),e.on("scrollend",t._scrollEndHandler,t),t}},_scrollEndHandler:function(t){var e=this.xscroll;return e.getScrollTop()==e.containerHeight-e.height+this.userConfig.height&&this._changeStatus("loading"),this},_scrollHandler:function(t){var e=this,n=e.xscroll;return!e.isLoading&&Math.abs(t.scrollTop)+n.height+e.userConfig.height+e.userConfig.bufferHeight>=n.containerHeight+n.boundry._xtop+n.boundry._xbottom&&e._changeStatus("loading"),e},_panHandler:function(t){var e=this,n=e.xscroll;return-n.getScrollTop()<n.height-n.containerHeight-e.userConfig.pullUpHeight?e._changeStatus("down"):e._changeStatus("up"),e},_changeStatus:function(t){if("loading"==t||!this.isLoading){var e=this.status;return this.status=t,this.userConfig.container||(o.removeClass(this.pullup,r+e),o.addClass(this.pullup,r+t),this.pullup.innerHTML=this.userConfig[t+"Content"]),e!=t&&(this.trigger("statuschange",{prevVal:e,newVal:t}),"loading"==t&&(this.isLoading=!0,this.trigger("loading"))),this}},complete:function(){this.xscroll;return this.isLoading=!1,this._changeStatus("up"),this},stop:function(){this.xscroll;return this.isLoading=!1,this._changeStatus("stop"),this.pluginDisable(),this},restart:function(){this.xscroll;return this.isLoading=!1,this._changeStatus("default"),this.render(),this}}),"object"==typeof i&&i.exports)i.exports=l;else if(window.XScroll&&window.XScroll.Plugins)return XScroll.Plugins.PullUp=l}.call(e,n,e,t))||(t.exports=i)},rMb0:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("S8Wg"),r=n.n(i),o=n("4FCr"),s=n.n(o),l=n("dQSc"),a=n.n(l);e.default={name:"test",beforeCreate:function(){},created:function(){},data:function(){return{bottomCount:100}},components:{Scroller:r.a,LoadMore:s.a,Card:a.a},methods:{},watch:{},mounted:function(){},computed:{}}},uEfE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("0FxO");e.default={name:"card",props:{header:Object,footer:Object},methods:{onClickFooter:function(){this.footer.link&&Object(i.a)(this.footer.link,this.$router),this.$emit("on-click-footer")}}}},uig2:function(t,e,n){var i;void 0===(i=function(t,e,n){"use strict";var i={linear:[0,0,1,1],ease:[.25,.1,.25,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1],quadratic:[.33,.66,.66,1],circular:[.1,.57,.1,1],bounce:[.71,1.35,.47,1.41],format:function(t){if(t)return"string"==typeof t&&this[t]?this[t]instanceof Array?[" cubic-bezier(",this[t],") "].join(""):this[t]:t instanceof Array?[" cubic-bezier(",t,") "].join(""):t}};if("object"!=typeof n||!n.exports)return i;n.exports=i}.call(e,n,e,t))||(t.exports=i)},xOxq:function(t,e,n){var i;void 0===(i=function(t,e,n){"use strict";var i=["","webkit","moz","MS","ms","o"],r=document.createElement("div"),o="function",s=Math.round,l=Math.abs,a=Date.now;function u(t,e,n){return setTimeout(g(t,n),e)}function c(t,e,n){return!!Array.isArray(t)&&(h(t,n[e],n),!0)}function h(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function f(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&void 0===t[i[r]])&&(t[i[r]]=e[i[r]]),r++;return t}function d(t,e){return f(t,e,!0)}function p(t,e,n){var i,r=e.prototype;(i=t.prototype=Object.create(r)).constructor=t,i._super=r,n&&f(i,n)}function g(t,e){return function(){return t.apply(e,arguments)}}function v(t,e){return typeof t==o?t.apply(e&&e[0]||void 0,e):t}function _(t,e){return void 0===t?e:t}function m(t,e,n){h(T(e),function(e){t.addEventListener(e,n,!1)})}function y(t,e,n){h(T(e),function(e){t.removeEventListener(e,n,!1)})}function x(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function C(t,e){return t.indexOf(e)>-1}function T(t){return t.trim().split(/\s+/g)}function b(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function w(t){return Array.prototype.slice.call(t,0)}function S(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];b(r,s)<0&&i.push(t[o]),r[o]=s,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function E(t,e){for(var n,r,o=e[0].toUpperCase()+e.slice(1),s=0;s<i.length;){if((r=(n=i[s])?n+o:e)in t)return r;s++}}var k=1;function N(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}var O="ontouchstart"in window,R=void 0!==E(window,"PointerEvent"),Y=O&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L="touch",A="mouse",B=25,I=1,P=2,X=4,H=8,M=1,D=2,z=4,F=8,j=16,U=D|z,q=F|j,V=U|q,W=["x","y"],Z=["clientX","clientY"];function K(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){v(t.options.enable,[t])&&n.handler(e)},this.init()}function $(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&I&&i-r==0,s=e&(X|H)&&i-r==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=G(e));r>1&&!n.firstMultiple?n.firstMultiple=G(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,u=s?s.center:o.center,c=e.center=Q(i);e.timeStamp=a(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=et(u,c),e.distance=tt(u,c),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==I&&o.eventType!==X||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y});e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=J(e.deltaX,e.deltaY),e.scale=s?(d=s.pointers,p=i,tt(p[0],p[1],Z)/tt(d[0],d[1],Z)):1,e.rotation=s?(h=s.pointers,f=i,et(f[1],f[0],Z)-et(h[1],h[0],Z)):0,function(t,e){var n,i,r,o,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(e.eventType!=H&&(a>B||void 0===s.velocity)){var u=s.deltaX-e.deltaX,c=s.deltaY-e.deltaY,h={x:u/(f=a)||0,y:c/f||0};i=h.x,r=h.y,n=l(h.x)>l(h.y)?h.x:h.y,o=J(u,c),t.lastInterval=e}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;var f;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(n,e);var h,f;var d,p;var g=t.element;x(e.srcEvent.target,g)&&(g=e.srcEvent.target);e.target=g}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function G(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:s(t.pointers[n].clientX),clientY:s(t.pointers[n].clientY)},n++;return{timeStamp:a(),pointers:e,center:Q(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Q(t){var e=t.length;if(1===e)return{x:s(t[0].clientX),y:s(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:s(n/e),y:s(i/e)}}function J(t,e){return t===e?M:l(t)>=l(e)?t>0?D:z:e>0?F:j}function tt(t,e,n){n||(n=W);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function et(t,e,n){n||(n=W);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}K.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(N(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&y(this.element,this.evEl,this.domHandler),this.evTarget&&y(this.target,this.evTarget,this.domHandler),this.evWin&&y(N(this.element),this.evWin,this.domHandler)}};var nt={mousedown:I,mousemove:P,mouseup:X},it="mousedown",rt="mousemove mouseup";function ot(){this.evEl=it,this.evWin=rt,this.allow=!0,this.pressed=!1,K.apply(this,arguments)}p(ot,K,{handler:function(t){var e=nt[t.type];e&I&&0===t.button&&(this.pressed=!0),e&P&&1!==t.which&&(e=X),this.pressed&&this.allow&&(e&X&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:A,srcEvent:t}))}});var st={pointerdown:I,pointermove:P,pointerup:X,pointercancel:H,pointerout:H},lt={2:L,3:"pen",4:A,5:"kinect"},at="pointerdown",ut="pointermove pointerup pointercancel";function ct(){this.evEl=at,this.evWin=ut,K.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}window.MSPointerEvent&&(at="MSPointerDown",ut="MSPointerMove MSPointerUp MSPointerCancel"),p(ct,K,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=st[i],o=lt[t.pointerType]||t.pointerType,s=o==L,l=b(e,t.pointerId,"pointerId");r&I&&(0===t.button||s)?l<0&&(e.push(t),l=e.length-1):r&(X|H)&&(n=!0),l<0||(e[l]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(l,1))}});var ht={touchstart:I,touchmove:P,touchend:X,touchcancel:H},ft="touchstart",dt="touchstart touchmove touchend touchcancel";function pt(){this.evTarget=ft,this.evWin=dt,this.started=!1,K.apply(this,arguments)}p(pt,K,{handler:function(t){var e=ht[t.type];if(e===I&&(this.started=!0),this.started){var n=function(t,e){var n=w(t.touches),i=w(t.changedTouches);e&(X|H)&&(n=S(n.concat(i),"identifier",!0));return[n,i]}.call(this,t,e);e&(X|H)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:L,srcEvent:t})}}});var gt={touchstart:I,touchmove:P,touchend:X,touchcancel:H},vt="touchstart touchmove touchend touchcancel";function _t(){this.evTarget=vt,this.targetIds={},K.apply(this,arguments)}function mt(){K.apply(this,arguments);var t=g(this.handler,this);this.touch=new _t(this.manager,t),this.mouse=new ot(this.manager,t)}p(_t,K,{handler:function(t){var e=gt[t.type],n=function(t,e){var n=w(t.touches),i=this.targetIds;if(e&(I|P)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=w(t.changedTouches),l=[],a=this.target;if(o=n.filter(function(t){return x(t.target,a)}),e===I)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;r=0;for(;r<s.length;)i[s[r].identifier]&&l.push(s[r]),e&(X|H)&&delete i[s[r].identifier],r++;if(!l.length)return;return[S(o.concat(l),"identifier",!0),l]}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:L,srcEvent:t})}}),p(mt,K,{handler:function(t,e,n){var i=n.pointerType==L,r=n.pointerType==A;if(i)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;e&(X|H)&&(this.mouse.allow=!0),this.callback(t,e,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var yt=E(r.style,"touchAction"),xt=void 0!==yt,Ct="compute",Tt="auto",bt="manipulation",wt="none",St="pan-x",Et="pan-y";function kt(t,e){this.manager=t,this.set(e)}kt.prototype={set:function(t){t==Ct&&(t=this.compute()),xt&&(this.manager.element.style[yt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return h(this.manager.recognizers,function(e){v(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(C(t,wt))return wt;var e=C(t,St),n=C(t,Et);if(e&&n)return St+" "+Et;if(e||n)return e?St:Et;if(C(t,bt))return bt;return Tt}(t.join(" "))},preventDefaults:function(t){if(!xt){var e=t.srcEvent,n=t.offsetDirection;if(!this.manager.session.prevented){var i=this.actions,r=C(i,wt),o=C(i,Et),s=C(i,St);return r||o&&n&U||s&&n&q?this.preventSrc(e):void 0}e.preventDefault()}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Nt=1,Ot=2,Rt=4,Yt=8,Lt=Yt,At=16;function Bt(t){this.id=k++,this.manager=null,this.options=d(t||{},this.defaults),this.options.enable=_(this.options.enable,!0),this.state=Nt,this.simultaneous={},this.requireFail=[]}function It(t){return t==j?"down":t==F?"up":t==D?"left":t==z?"right":""}function Pt(t,e){var n=e.manager;return n?n.get(t):t}function Xt(){Bt.apply(this,arguments)}function Ht(){Xt.apply(this,arguments),this.pX=null,this.pY=null}function Mt(){Xt.apply(this,arguments)}function Dt(){Bt.apply(this,arguments),this._timer=null,this._input=null}function zt(){Xt.apply(this,arguments)}function Ft(){Xt.apply(this,arguments)}function jt(){Bt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ut(t,e){return(e=e||{}).recognizers=_(e.recognizers,Ut.defaults.preset),new qt(t,e)}Bt.prototype={defaults:{},set:function(t){return f(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(c(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Pt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return c(t,"dropRecognizeWith",this)?this:(t=Pt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(c(t,"requireFailure",this))return this;var e=this.requireFail;return-1===b(e,t=Pt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(c(t,"dropRequireFailure",this))return this;t=Pt(t,this);var e=b(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(i){e.manager.emit(e.options.event+(i?function(t){if(t&At)return"cancel";if(t&Yt)return"end";if(t&Rt)return"move";if(t&Ot)return"start";return""}(n):""),t)}n<Yt&&i(!0),i(),n>=Yt&&i(!0)},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Nt)))return!1;t++}return!0},recognize:function(t){var e=f({},t);if(!v(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(Lt|At|32)&&(this.state=Nt),this.state=this.process(e),this.state&(Ot|Rt|Yt|At)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},p(Xt,Bt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(Ot|Rt),r=this.attrTest(t);return i&&(n&H||!r)?e|At:i||r?n&X?e|Yt:e&Ot?e|Rt:Ot:32}}),p(Ht,Xt,{defaults:{event:"pan",threshold:10,pointers:1,direction:V},getTouchAction:function(){var t=this.options.direction,e=[];return t&U&&e.push(Et),t&q&&e.push(St),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(e.direction&U?(r=0===o?M:o<0?D:z,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===s?M:s<0?F:j,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return Xt.prototype.attrTest.call(this,t)&&(this.state&Ot||!(this.state&Ot)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=It(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)},reset:function(){}}),p(Mt,Xt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Ot)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?"in":"out";this.manager.emit(this.options.event+e,t)}}}),p(Dt,Bt,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[Tt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(X|H)&&!r)this.reset();else if(t.eventType&I)this.reset(),this._timer=u(function(){this.state=Lt,this.tryEmit()},e.time,this);else if(t.eventType&X)return Lt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Lt&&(t&&t.eventType&X?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=a(),this.manager.emit(this.options.event,this._input)))}}),p(zt,Xt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Ot)}}),p(Ft,Xt,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:U|q,pointers:1},getTouchAction:function(){return Ht.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(U|q)?e=t.velocity:n&U?e=t.velocityX:n&q&&(e=t.velocityY),this._super.attrTest.call(this,t)&&n&t.direction&&t.distance>this.options.threshold&&l(e)>this.options.velocity&&t.eventType&X},emit:function(t){var e=It(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),p(jt,Bt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:10,posThreshold:10},getTouchAction:function(){return[bt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&I&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=X)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||tt(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=u(function(){this.state=Lt,this.tryEmit()},e.interval,this),Ot):Lt}return 32},failTimeout:function(){return this._timer=u(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Lt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ut.VERSION="2.0.4",Ut.defaults={domEvents:!1,touchAction:Ct,enable:!0,inputTarget:null,inputClass:null,preset:[[zt,{enable:!1}],[Mt,{enable:!1},["rotate"]],[Ft,{direction:U}],[Ht,{direction:U},["swipe"]],[jt],[jt,{event:"doubletap",taps:2},["tap"]],[Dt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function qt(t,e){var n;e=e||{},this.options=d(e,Ut.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=new((n=this).options.inputClass||(R?ct:Y?_t:O?mt:ot))(n,$),this.touchAction=new kt(this,this.options.touchAction),Vt(this,!0),h(e.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Vt(t,e){var n=t.element;h(t.options.cssProps,function(t,i){n.style[E(n.style,i)]=e?t:""})}if(qt.prototype={set:function(t){return f(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&Lt)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(Ot|Rt|Yt)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Bt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(c(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(c(t,"remove",this))return this;var e=this.recognizers;return t=this.get(t),e.splice(b(e,t),1),this.touchAction.update(),this},on:function(t,e){var n=this.handlers;return h(T(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this},off:function(t,e){var n=this.handlers;return h(T(t),function(t){e?n[t].splice(b(n[t],e),1):delete n[t]}),this},emit:function(t,e){var n,i,r;this.options.domEvents&&(n=t,i=e,(r=document.createEvent("Event")).initEvent(n,!0,!0),r.gesture=i,i.target.dispatchEvent(r));var o=this.handlers[t]&&this.handlers[t].slice();if(o&&o.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var s=0;s<o.length;)o[s](e),s++}},destroy:function(){this.element&&Vt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},f(Ut,{INPUT_START:I,INPUT_MOVE:P,INPUT_END:X,INPUT_CANCEL:H,STATE_POSSIBLE:Nt,STATE_BEGAN:Ot,STATE_CHANGED:Rt,STATE_ENDED:Yt,STATE_RECOGNIZED:Lt,STATE_CANCELLED:At,STATE_FAILED:32,DIRECTION_NONE:M,DIRECTION_LEFT:D,DIRECTION_RIGHT:z,DIRECTION_UP:F,DIRECTION_DOWN:j,DIRECTION_HORIZONTAL:U,DIRECTION_VERTICAL:q,DIRECTION_ALL:V,Manager:qt,Input:K,TouchAction:kt,TouchInput:_t,MouseInput:ot,PointerEventInput:ct,TouchMouseInput:mt,SingleTouchInput:pt,Recognizer:Bt,AttrRecognizer:Xt,Tap:jt,Pan:Ht,Swipe:Ft,Pinch:Mt,Rotate:zt,Press:Dt,on:m,off:y,each:h,merge:d,extend:f,inherit:p,bindFn:g,prefixed:E}),"object"!=typeof n||!n.exports)return Ut;n.exports=Ut}.call(e,n,e,t))||(t.exports=i)},xlcS:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=n("NC0u"),s=(r.prefixStyle("transform"),function(t){s.superclass.constructor.call(this,t),this.userConfig=r.mix({fixedRenderTo:void 0,fixedElements:".xs-fixed",prefix:"xs-fixed-container",zoomType:"y"},t),this.init()});if(r.extend(s,o,{fixedElements:[],init:function(){var t=this,e=t.userConfig,n=t.xscroll=e.xscroll;t.xscrollConfig=n.userConfig;return t.isY=!("y"!=e.zoomType),t._=t.isY?{top:"top",height:"height",width:"width",offsetTop:"offsetTop"}:{top:"left",height:"width",width:"height",offsetTop:"offsetLeft"},t.fixedRenderTo=r.getNode(e.fixedRenderTo),t},render:function(){var t=this,e=t.xscroll;t.infinite=e.getPlugin("infinite"),t.fixedRenderTo||(t.fixedRenderTo=document.createElement("div"),e.renderTo.appendChild(t.fixedRenderTo)),r.addClass(t.fixedRenderTo,t.userConfig.prefix);for(var n=t.originalFixedElements=t.getFixedElements(),i=0,o=n.length;i<o;i++)t.renderFixedElement(n[i],i,t.fixedRenderTo);return t},getFixedElements:function(){var t=this.infinite,e=this.userConfig;if(t){var n=[];for(var i in t.__serializedData){var o=t.__serializedData[i];o&&o.style&&"fixed"==o.style.position&&n.push(o)}return n}return r.getNodes(e.fixedElements,this.xscroll.content)},renderFixedElement:function(t,e,n){var i=this,o=!0,s=i._,l=i.xscroll,a=(i.userConfig,i.xscrollConfig.useOriginScroll),u=i.infinite,c=i.fixedElements[e];i.fixedElements[e]||(o=!1,a&&!u?(t.style.position="fixed",t.style.display="block"):(c=document.createElement("div"),u?(c.setAttribute("style",r.stringifyStyle(r.mix(t.style,{display:"block",width:"100%"}))),c.style[s.top]=(t.style[s.top]>=0?t.style[s.top]:t._top)+"px",t.style[s.height]&&(c.style[s.height]=t.style[s.height]+"px"),u.userConfig.renderHook.call(i,c,t)):(c.style.display="block",c.style.position="absolute",c.style[s.width]="100%",c.innerHTML=t.innerHTML,c.className=t.className,c.setAttribute("style",t.getAttribute("style")),c.style[s.top]=t[s.offsetTop]+"px",t.style.display="none"),n.appendChild(c),i.fixedElements.push(c))),l.trigger("fixedchange",{fixedIndex:e,fixedElement:a?t:c,originalFixedElement:t,isRender:o})},destroy:function(){this.fixedElements=void 0}}),"object"!=typeof i||!i.exports)return s;i.exports=s}.call(e,n,e,t))||(t.exports=i)},ypEt:function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r,o=n("Zur/"),s=n("NC0u"),l=function(t){l.superclass.constructor.call(this,t),this.userConfig=o.mix({content:"Pull Down To Refresh",height:60,autoRefresh:!0,downContent:"Pull Down To Refresh",upContent:"Release To Refresh",loadingContent:"Loading...",clsPrefix:"xs-plugin-pulldown-"},t)};if(o.extend(l,s,{pluginId:"pulldown",pluginInitializer:function(t){return this.xscroll=t.render(),r=this.userConfig.clsPrefix,this.render(),this},pluginDestructor:function(){var t=this;o.remove(t.pulldown),t.xscroll.off("panstart",t._panStartHandler,t),t.xscroll.off("pan",t._panHandler,t),t.xscroll.off("panend",t._panEndHandler,t),t.__isRender=!1,t._evtBinded=!1},render:function(){var t=this;if(!t.__isRender){if(t.__isRender=!0,t.userConfig.container)t.pulldown=t.userConfig.container;else{var e=r+"container",n=t.userConfig.height||60,i=t.pulldown=document.createElement("div");i.className=e,i.style.position="absolute",i.style.width="100%",i.style.height=n+"px",i.style.lineHeight=n+"px",i.style.top=-n+"px",i.style.textAlign="center",t.xscroll.container.appendChild(i),t.status="up",o.addClass(i,r+t.status),i.innerHTML=t.userConfig[t.status+"Content"]||t.userConfig.content}return t._bindEvt(),t}},_bindEvt:function(){var t=this;if(!t._evtBinded){t._evtBinded=!0;t.pulldown;var e=t.xscroll;e.on("pan",t._panHandler,t),e.on("panstart",t._panStartHandler,t),e.on("panend",t._panEndHandler,t)}},_changeStatus:function(t){var e=this.status;this.status=t,this.userConfig.container||(o.removeClass(this.pulldown,r+e),o.addClass(this.pulldown,r+t),this.userConfig[t+"Content"]&&(this.pulldown.innerHTML=this.userConfig[t+"Content"])),e!=t&&(this.trigger("statuschange",{prevVal:e,newVal:t}),"loading"==t&&this.trigger("loading"))},reset:function(t){return this.xscroll.boundry.resetTop(),this.xscroll.boundryCheckY(t),this._expanded=!1,this},_panStartHandler:function(t){clearTimeout(this.loadingItv)},_panHandler:function(t){var e=this.xscroll.getScrollTop();e>0||this._changeStatus(Math.abs(e)<this.userConfig.height?"down":"up")},_panEndHandler:function(t){var e=this,n=e.xscroll,i=e.userConfig.height||60;n.getScrollTop()<-i&&(t.preventDefault(),n.boundry.resetTop(),e._changeStatus("loading"),n.boundry.expandTop(i),n.boundryCheckY(function(){}),e.userConfig.autoRefresh&&(clearTimeout(e.loadingItv),e.loadingItv=setTimeout(function(){n.boundry.resetTop(),n.boundryCheckY(function(){window.location.reload()})},800)))}}),"object"==typeof i&&i.exports)i.exports=l;else if(window.XScroll&&window.XScroll.Plugins)return XScroll.Plugins.PullDown=l}.call(e,n,e,t))||(t.exports=i)},"z/Vj":function(t,e,n){var i;void 0===(i=function(t,e,i){"use strict";var r=n("Zur/"),o=(n("NC0u"),n("KbqT")),s=n("pso0"),l=n("xOxq"),a=n("+5Vl"),u=n("9tgV"),c=r.prefixStyle("transformOrigin"),h=r.prefixStyle("transform");function f(t){f.superclass.constructor.call(this,t)}if(r.extend(f,o,{init:function(){var t=this;return f.superclass.init.call(this),t.userConfig=r.mix({preventDefault:!0,preventTouchMove:!0},t.userConfig),t.SCROLL_ACCELERATION=t.userConfig.SCROLL_ACCELERATION||5e-4,t.BOUNDRY_ACCELERATION=t.userConfig.BOUNDRY_ACCELERATION||.03,t._initContainer(),t.resetSize(),t._setOverflowBehavior(),t.defaltConfig={lockY:t.userConfig.lockY,lockX:t.userConfig.lockX},t},destroy:function(){var t=this;f.superclass.destroy.call(this),t.renderTo.style.overflow="",t.renderTo.style.touchAction="",t.container.style.transform="",t.container.style.transformOrigin="",t.content.style.transform="",t.content.style.transformOrigin="",t.off("touchstart mousedown",t._ontouchstart),t.off("touchmove",t._ontouchmove),window.removeEventListener("resize",t.resizeHandler,t),t.destroyScrollBars()},_setOverflowBehavior:function(){var t=this,e=t.renderTo,n=getComputedStyle(e);return t.userConfig.lockX=void 0===t.userConfig.lockX?"hidden"==n["overflow-x"]||t.width==t.containerWidth:t.userConfig.lockX,t.userConfig.lockY=void 0===t.userConfig.lockY?"hidden"==n["overflow-y"]||t.height==t.containerHeight:t.userConfig.lockY,t.userConfig.scrollbarX=void 0===t.userConfig.scrollbarX?!t.userConfig.lockX:t.userConfig.scrollbarX,t.userConfig.scrollbarY=void 0===t.userConfig.scrollbarY?!t.userConfig.lockY:t.userConfig.scrollbarY,t},_resetLockConfig:function(){var t=this;return t.userConfig.lockX=t.defaltConfig.lockX,t.userConfig.lockY=t.defaltConfig.lockY,t},_initContainer:function(){var t=this;if(f.superclass._initContainer.call(t),!t.__isContainerInited&&t.container&&t.content)return t.container.style[c]="0 0",t.content.style[c]="0 0",t.translate(0,0),t.__isContainerInited=!0,t},getScrollTop:function(){var t=window.getComputedStyle(this.container)[h].match(/[-\d\.*\d*]+/g);return t?0===Math.round(t[5])?0:-Math.round(t[5]):0},getScrollLeft:function(){var t=window.getComputedStyle(this.content)[h].match(/[-\d\.*\d*]+/g);return t?0===Math.round(t[4])?0:-Math.round(t[4]):0},scrollLeft:function(t,e,n,i){if(!this.userConfig.lockX){var r=this.userConfig.gpuAcceleration?" translateZ(0) ":"";return this.x=void 0===t||isNaN(t)||0===t?0:-Math.round(t),this._animate("x","translateX("+this.x+"px) scale("+this.scale+")"+r,e,n,i),this}},scrollTop:function(t,e,n,i){if(!this.userConfig.lockY){var r=this.userConfig.gpuAcceleration?" translateZ(0) ":"";return this.y=void 0===t||isNaN(t)||0===t?0:-Math.round(t),this._animate("y","translateY("+this.y+"px) "+r,e,n,i),this}},translate:function(t,e,n){var i=this.userConfig.gpuAcceleration?" translateZ(0) ":"";return this.x=t||this.x||0,this.y=e||this.y||0,this.scale=n||this.scale||1,this.content.style[h]="translate("+this.x+"px,0px) scale("+this.scale+") "+i,this.container.style[h]="translate(0px,"+this.y+"px) "+i,this},_animate:function(t,e,n,i,r){var o=this,l=(n=n||0,i=i||"quadratic","y"==t?o.container:o.content),a={css:{transform:e},duration:n,easing:i,run:function(t){o.trigger("scroll",{scrollTop:o.getScrollTop(),scrollLeft:o.getScrollLeft(),type:"scroll"})},useTransition:o.userConfig.useTransition,end:function(e){r&&r(),0!==o["_bounce"+t]&&void 0!==o["_bounce"+t]||"linear"==i||(o["isScrolling"+t.toUpperCase()]=!1,o["isRealScrolling"+t.toUpperCase()]=!1,o.trigger("scrollend",{type:"scrollend",scrollTop:o.getScrollTop(),scrollLeft:o.getScrollLeft(),zoomType:t,duration:n,easing:i}))}},u=o.__timers[t]=o.__timers[t]||new s(l,a);return u.stop(),u.reset(a),u.run(),o.trigger("scrollanimate",{type:"scrollanimate",scrollTop:-o.y,scrollLeft:-o.x,duration:n,easing:i,zoomType:t}),this},_ontap:function(t){var e=this;e.boundryCheck(),!e.isRealScrollingX&&e.isRealScrollingY,e.isRealScrollingY=!1,e.isRealScrollingY=!1},_bindEvt:function(){f.superclass._bindEvt.call(this);var t=this;if(!t.__isEvtBind){t.__isEvtBind=!0;var e=new l.Pinch;return t.mc.add(e),t.on("touchstart mousedown",t._ontouchstart,t),t.on("touchmove",t._ontouchmove,t),t.on("tap",t._ontap,t),t.on("panstart",t._onpanstart,t),t.on("pan",t._onpan,t),t.on("panend",t._onpanend,t),t.resizeHandler=function(e){setTimeout(function(){t.resetSize(),t.boundryCheck(0),t.render()},100)},window.addEventListener("resize",t.resizeHandler,t),this}},_ontouchstart:function(t){!/(SELECT|INPUT|TEXTAREA)/i.test(t.target.tagName)&&this.userConfig.preventDefault&&t.preventDefault(),this.stop()},_ontouchmove:function(t){this.userConfig.preventTouchMove&&t.preventDefault()},_onpanstart:function(t){this.userConfig.preventTouchMove&&t.preventDefault();var e=this,n=e.getScrollLeft(),i=e.getScrollTop();e.stop(),e.translate(-n,-i);var r=e.mc.get("pan").options.threshold;return e.thresholdY="8"==t.direction?r:"16"==t.direction?-r:0,e.thresholdX="2"==t.direction?r:"4"==t.direction?-r:0,e},_onpan:function(t){this.userConfig.preventTouchMove&&t.preventDefault();var e=this,n=e.boundry,i=e.userConfig,r=i.boundryCheck,o=i.bounce,s=e.__topstart||(e.__topstart=-e.getScrollTop()),l=e.__leftstart||(e.__leftstart=-e.getScrollLeft()),a=i.lockY?Number(s):Number(s)+(t.deltaY+e.thresholdY),u=i.lockX?Number(l):Number(l)+(t.deltaX+e.thresholdX),c=e.containerWidth,h=e.containerHeight;return r&&(a=(a=a>n.top?o?.382*(a-n.top)+n.top:n.top:a)<n.bottom-h?o?a+.382*(n.bottom-h-a):n.bottom-h:a,u=(u=u>n.left?o?.382*(u-n.left)+n.left:n.left:u)<n.right-c?o?u+.382*(n.right-c-u):n.right-c:u),e.translate(u,a),e.directionX="panleft"==t.type?"right":"panright"==t.type?"left":"",e.directionY="panup"==t.type?"down":"pandown"==t.type?"up":"",e.trigger("scroll",{scrollTop:-a,scrollLeft:-u,triggerType:"pan",type:"scroll"}),e},_onpanend:function(t){var e,n=this,i=(n.userConfig,n.computeScroll("x",t.velocityX)),r=n.computeScroll("y",t.velocityY),o=i?i.pos:0,s=r?r.pos:0;return i&&r&&"inside"==i.status&&"inside"==r.status&&i.duration&&r.duration&&(e=Math.max(i.duration,r.duration)),i&&n.scrollLeft(o,e||i.duration,i.easing,function(t){n.boundryCheckX()}),r&&n.scrollTop(s,e||r.duration,r.easing,function(t){n.boundryCheckY()}),n.directionX=t.velocityX<0?"left":"right",n.directionY=t.velocityY<0?"up":"down",n.__topstart=null,n.__leftstart=null,n},isBoundryOut:function(){return this.isBoundryOutLeft()||this.isBoundryOutRight()||this.isBoundryOutTop()||this.isBoundryOutBottom()},isBoundryOutLeft:function(){return this.getBoundryOutLeft()>0},isBoundryOutRight:function(){return this.getBoundryOutRight()>0},isBoundryOutTop:function(){return this.getBoundryOutTop()>0},isBoundryOutBottom:function(){return this.getBoundryOutBottom()>0},getBoundryOutTop:function(){return-this.boundry.top-this.getScrollTop()},getBoundryOutLeft:function(){return-this.boundry.left-this.getScrollLeft()},getBoundryOutBottom:function(){return this.boundry.bottom-this.containerHeight+this.getScrollTop()},getBoundryOutRight:function(){return this.boundry.right-this.containerWidth+this.getScrollLeft()},computeScroll:function(t,e){var n=this,i=n.userConfig,r=n.boundry,o="x"==t?n.getScrollLeft():n.getScrollTop(),s="x"==t?r.left:r.top,l="x"==t?r.right:r.bottom,a="x"==t?n.containerWidth:n.containerHeight,u=i.maxSpeed||2,c=i.boundryCheck,h=i.bounce,f={},d="inside";if(c){if("x"==t&&(n.isBoundryOutLeft()||n.isBoundryOutRight()))return void n.boundryCheckX();if("y"==t&&(n.isBoundryOutTop()||n.isBoundryOutBottom()))return void n.boundryCheckY()}if(!("x"==t&&n.userConfig.lockX||"y"==t&&n.userConfig.lockY)){e=e>u?u:e<-u?-u:e;var p=n.SCROLL_ACCELERATION*(e/(Math.abs(e)||1)),g=n.BOUNDRY_ACCELERATION,v=isNaN(e/p)?0:e/p,_=Number(o)+v*e/2;if(_<-s&&c){var m=-s-o,y=(C=e-p*(x=(Math.sqrt(-2*p*m+e*e)+e)/p))/2*(T=Math.abs(C/g));v=x+T,_=h?-s+y:-s,d="outside"}else if(_>a-l&&c){var x,C,T;m=l-a+o,y=(C=e-p*(x=(Math.sqrt(-2*p*m+e*e)-e)/p))/2*(T=Math.abs(C/g));v=x+T,_=h?a-l+y:a-l,d="outside"}if(!isNaN(_)&&!isNaN(v)){f.pos=_,f.duration=v,f.easing=Math.abs(e)>2?"circular":"quadratic",f.status=d;var b=t.toUpperCase();return n["isScrolling"+b]=!0,n["isRealScrolling"+b]=!0,f}}},boundryCheckX:function(t,e,n){var i=this;if(i.userConfig.boundryCheck&&("function"==typeof arguments[0]?(n=arguments[0],t=i.userConfig.BOUNDRY_CHECK_DURATION,e=i.userConfig.BOUNDRY_CHECK_EASING):(t=0===t?0:i.userConfig.BOUNDRY_CHECK_DURATION,e=e||i.userConfig.BOUNDRY_CHECK_EASING),i.userConfig.bounce&&!i.userConfig.lockX)){var r=i.boundry;return i.isBoundryOutLeft()?i.scrollLeft(-r.left,t,e,n):i.isBoundryOutRight()&&i.scrollLeft(i.containerWidth-r.right,t,e,n),i}},boundryCheckY:function(t,e,n){var i=this;if(i.userConfig.boundryCheck&&("function"==typeof arguments[0]?(n=arguments[0],t=i.userConfig.BOUNDRY_CHECK_DURATION,e=i.userConfig.BOUNDRY_CHECK_EASING):(t=0===t?0:i.userConfig.BOUNDRY_CHECK_DURATION,e=e||i.userConfig.BOUNDRY_CHECK_EASING),i.userConfig.boundryCheck&&!i.userConfig.lockY)){var r=i.boundry;return i.isBoundryOutTop()?i.scrollTop(-r.top,t,e,n):i.isBoundryOutBottom()&&i.scrollTop(i.containerHeight-r.bottom,t,e,n),i}},boundryCheck:function(t,e,n){return this.boundryCheckX(t,e,n),this.boundryCheckY(t,e,n),this},stop:function(){var t=this;if(t.__timers.x&&t.__timers.x.stop(),t.__timers.y&&t.__timers.y.stop(),t.isScrollingX||t.isScrollingY){var e=t.getScrollTop(),n=t.getScrollLeft();t.trigger("scrollend",{scrollTop:e,scrollLeft:n}),t.trigger("stop",{scrollTop:e,scrollLeft:n}),t.isScrollingX=!1,t.isScrollingY=!1}return t},render:function(){var t=this;return f.superclass.render.call(this),"static"==getComputedStyle(t.renderTo).position&&(t.renderTo.style.position="relative"),t.renderTo.style.overflow="hidden",t.initScrollBars(),t.initController(),t},initScrollBars:function(){var t=this;if(t.userConfig.boundryCheck){var e=t.userConfig.indicatorInsets;return t.userConfig.scrollbarX&&(t.scrollbarX=t.scrollbarX||new a({xscroll:t,type:"x",spacing:e.spacing}),t.scrollbarX.render(),t.scrollbarX._update(),t.scrollbarX.hide()),t.userConfig.scrollbarY&&(t.scrollbarY=t.scrollbarY||new a({xscroll:t,type:"y",spacing:e.spacing}),t.scrollbarY.render(),t.scrollbarY._update(),t.scrollbarY.hide()),t}},destroyScrollBars:function(){return this.scrollbarX&&this.scrollbarX.destroy(),this.scrollbarY&&this.scrollbarY.destroy(),this},initController:function(){return this.controller=this.controller||new u({xscroll:this}),this},_unPreventHref:function(t){var e=r.findParentEl(t.target,"a",this.renderTo);if(e&&"a"==e.tagName.toLowerCase()){var n=e.getAttribute("data-xs-href");n&&e.setAttribute("href",n)}},_preventHref:function(t){var e=r.findParentEl(t.target,"a",this.renderTo);if(e&&"a"==e.tagName.toLowerCase()){var n=e.getAttribute("href");n&&e.setAttribute("href","javascript:void(0)"),n&&e.setAttribute("data-xs-href",n)}},_triggerClick:function(t){var e=t.target;if(!/(SELECT|INPUT|TEXTAREA)/i.test(e.tagName)){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,t.view,1,e.screenX,e.screenY,e.clientX,e.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),e.dispatchEvent(n)}}}),"object"!=typeof i||!i.exports)return f;i.exports=f}.call(e,n,e,t))||(t.exports=i)}});
  //# sourceMappingURL=CarInsurance.1.0283d1191214469e35f3.js.map