@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 36 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/dom.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/assets/utils/BScroll/constants.js","@xysfe/actui/es/assets/utils/dom.js"],e):"object"==typeof exports?exports["assets/common/scrollZoom/components/scroll.js"]=e(require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/dom.js")):t["assets/common/scrollZoom/components/scroll.js"]=e(t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/assets/utils/BScroll/constants.js"],t["@xysfe/actui/es/assets/utils/dom.js"])}("undefined"!=typeof self?self:this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=556)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(28)("wks"),i=n(25),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},105:function(t,e,n){var r=n(6),i=n(34),o=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},106:function(t,e,n){var r,i,o,s=n(33),a=n(167),l=n(50),u=n(30),c=n(0),f=c.process,p=c.setImmediate,h=c.clearImmediate,d=c.MessageChannel,v=c.Dispatch,y=0,b={},m=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},w=function(t){m.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete b[t]},"process"==n(24)(f)?r=function(t){f.nextTick(s(m,t,1))}:v&&v.now?r=function(t){v.now(s(m,t,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=w,r=s(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",w,!1)):r="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:p,clear:h}},107:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},108:function(t,e,n){var r=n(6),i=n(7),o=n(83);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},11:function(t,e,n){var r=n(45),i=n(19);t.exports=function(t){return r(i(t))}},120:function(t,e,n){"use strict";e.a={props:{y:{type:Number,default:0}},data:function(){return{width:50,height:80}},computed:{distance:function(){return Math.max(0,Math.min(this.y*this.ratio,this.maxDistance))},style:function(){return"width:"+this.width/this.ratio+"px;height:"+this.height/this.ratio+"px"}},created:function(){this.ratio=window.devicePixelRatio,this.width*=this.ratio,this.height*=this.ratio,this.initRadius=18*this.ratio,this.minHeadRadius=12*this.ratio,this.minTailRadius=5*this.ratio,this.initArrowRadius=10*this.ratio,this.minArrowRadius=6*this.ratio,this.arrowWidth=3*this.ratio,this.maxDistance=40*this.ratio,this.initCenterX=25*this.ratio,this.initCenterY=25*this.ratio,this.headCenter={x:this.initCenterX,y:this.initCenterY}},mounted:function(){this._draw()},methods:{_draw:function(){var t=this.$refs.bubble,e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),this._drawBubble(e),this._drawArrow(e)},_drawBubble:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,n=this.initRadius-(this.initRadius-this.minHeadRadius)*e;this.headCenter.y=this.initCenterY-(this.initRadius-this.minHeadRadius)*e,t.arc(this.headCenter.x,this.headCenter.y,n,0,Math.PI,!0);var r=this.initRadius-(this.initRadius-this.minTailRadius)*e,i={x:this.headCenter.x,y:this.headCenter.y+this.distance},o={x:i.x-r,y:i.y},s={x:o.x,y:o.y-this.distance/2};t.quadraticCurveTo(s.x,s.y,o.x,o.y),t.arc(i.x,i.y,r,Math.PI,0,!0);var a={x:this.headCenter.x+n,y:this.headCenter.y},l={x:i.x+r,y:a.y+this.distance/2};t.quadraticCurveTo(l.x,l.y,a.x,a.y),t.fillStyle="rgb(170,170,170)",t.fill(),t.strokeStyle="rgb(153,153,153)",t.stroke(),t.restore()},_drawArrow:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,n=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,n-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,n,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-n-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-n+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-n+3*this.arrowWidth/2-e),t.fillStyle="rgb(255,255,255)",t.fill(),t.strokeStyle="rgb(170,170,170)",t.stroke(),t.restore()}},watch:{y:function(){this._draw()}}}},15:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},160:function(t,e,n){t.exports={default:n(161),__esModule:!0}},161:function(t,e,n){n(94),n(66),n(70),n(162),n(173),n(174),t.exports=n(2).Promise},162:function(t,e,n){"use strict";var r,i,o,s,a=n(21),l=n(0),u=n(33),c=n(78),f=n(23),p=n(7),h=n(34),d=n(163),v=n(164),y=n(105),b=n(106).set,m=n(168)(),w=n(83),x=n(107),g=n(169),_=n(108),S=l.TypeError,T=l.process,P=T&&T.versions,j=P&&P.v8||"",D=l.Promise,C="process"==c(T),R=function(){},L=i=w.f,O=!!function(){try{var t=D.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(R,R)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(R)instanceof e&&0!==j.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},k=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{a?(i||(2==t._h&&B(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&(c.exit(),s=!0)),n===e.promise?u(S("Promise-chain cycle")):(o=M(n))?o.call(n,l,u):l(n)):u(r)}catch(t){c&&!s&&c.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&U(t)})}},U=function(t){b.call(l,function(){var e,n,r,i=t._v,o=E(t);if(o&&(e=x(function(){C?T.emit("unhandledRejection",i,t):(n=l.onunhandledrejection)?n({promise:t,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=C||E(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},E=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(t){b.call(l,function(){var e;C?T.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),k(e,!0))},$=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=M(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,u($,r,1),u(A,r,1))}catch(t){A.call(r,t)}}):(n._v=t,n._s=1,k(n,!1))}catch(t){A.call({_w:n,_d:!1},t)}}};O||(D=function(t){d(this,D,"Promise","_h"),h(t),r.call(this);try{t(u($,this,1),u(A,this,1))}catch(t){A.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(170)(D.prototype,{then:function(t,e){var n=L(y(this,D));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&k(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u($,t,1),this.reject=u(A,t,1)},w.f=L=function(t){return t===D||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!O,{Promise:D}),n(32)(D,"Promise"),n(171)("Promise"),s=n(2).Promise,f(f.S+f.F*!O,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!O),"Promise",{resolve:function(t){return _(a&&this===s?D:this,t)}}),f(f.S+f.F*!(O&&n(172)(function(t){D.all(t).catch(R)})),"Promise",{all:function(t){var e=this,n=L(e),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,l=!1;n.push(void 0),s++,e.resolve(t).then(function(t){l||(l=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,i=x(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},163:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},164:function(t,e,n){var r=n(33),i=n(165),o=n(166),s=n(6),a=n(46),l=n(95),u={},c={},e=t.exports=function(t,e,n,f,p){var h,d,v,y,b=p?function(){return t}:l(t),m=r(n,f,e?2:1),w=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(o(b)){for(h=a(t.length);h>w;w++)if((y=e?m(s(d=t[w])[0],d[1]):m(t[w]))===u||y===c)return y}else for(v=b.call(t);!(d=v.next()).done;)if((y=i(v,m,d.value,e))===u||y===c)return y};e.BREAK=u,e.RETURN=c},165:function(t,e,n){var r=n(6);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},166:function(t,e,n){var r=n(18),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},167:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},168:function(t,e,n){var r=n(0),i=n(106).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,l="process"==n(24)(s);t.exports=function(){var t,e,n,u=function(){var r,i;for(l&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var c=a.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,p=document.createTextNode("");new o(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},169:function(t,e,n){var r=n(0),i=r.navigator;t.exports=i&&i.userAgent||""},170:function(t,e,n){var r=n(4);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},171:function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(9),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},172:function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},173:function(t,e,n){"use strict";var r=n(23),i=n(2),o=n(0),s=n(105),a=n(108);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},174:function(t,e,n){"use strict";var r=n(23),i=n(83),o=n(107);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},18:function(t,e){t.exports={}},19:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},191:function(e,n){e.exports=t},192:function(t,n){t.exports=e},193:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(120),i=n(194),o=n(8),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);s.options.__file="src\\components\\common\\scrollZoom\\components\\bubble.vue",e.default=s.exports},194:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"bubble",style:t.style,attrs:{width:t.width,height:t.height}})},i=[];r._withStripped=!0},195:function(t,e,n){"use strict";var r=n(160),i=n.n(r),o=n(191),s=n.n(o),a=n(559),l=(n.n(a),n(193)),u=n(192);n.n(u);e.a={name:"scroll",props:{probeType:{type:Number,default:2},click:{type:Boolean,default:!0},listenScrollInit:{type:Boolean,default:!1},listenScroll:{type:Boolean,default:!1},listenBeforeScroll:{type:Boolean,default:!1},listenScrollEnd:{type:Boolean,default:!1},listenZoomEnd:{type:Boolean,default:!1},observeDOM:{type:Boolean,default:!0},direction:{type:String,default:"vertical"},scrollbar:{type:null,default:!1},pullDownRefresh:{type:null,default:!1},pullUpLoad:{type:null,default:!1},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:!1},mouseWheel:{type:Boolean,default:!1},bounce:{type:[Boolean,Object],default:!0},zoom:{type:[Boolean,Object],default:!1}},data:function(){return{beforePullDown:!0,isRebounding:!1,isPullingDown:!1,isPullUpLoad:!1,pullUpDirty:!0,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:!1,startXd:0,startYd:0,endXd:0,endYd:0}},computed:{pullUpTxt:function(){var t=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.more||"加载更多",e=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.noMore||"没有更多数据了";return this.pullUpDirty?t:e},refreshTxt:function(){return this.pullDownRefresh&&this.pullDownRefresh.txt||"刷新成功"}},created:function(){this.pullDownInitTop=-50},mounted:function(){var t=this;setTimeout(function(){t.initScroll()},20)},destroyed:function(){this.$refs.scroll&&this.$refs.scroll.destroy()},methods:{initScroll:function(){var t=this;if(this.$refs.wrapper){this.$refs.listWrapper&&(this.pullDownRefresh||this.pullUpLoad)&&(this.$refs.listWrapper.style.minHeight=Object(a.getRect)(this.$refs.wrapper).height+1+"px");var e={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||"vertical"===this.direction,scrollX:this.freeScroll||"horizontal"===this.direction,scrollbar:this.scrollbar,pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:u.USE_TRANSITION,observeDOM:this.observeDOM};this.scroll=new s.a(this.$refs.wrapper,e),this.listenScroll&&this.scroll.on("scroll",function(e){t.$emit("scroll",e)}),this.listenScrollEnd&&this.scroll.on("scrollEnd",function(e){t.$emit("scroll-end",e)}),this.listenBeforeScroll&&(this.scroll.on("beforeScrollStart",function(){t.$emit("beforeScrollStart")}),this.scroll.on("scrollStart",function(){t.$emit("scroll-start")})),this.listenZoomEnd&&this.scroll.on("zoomEnd",function(){t.$emit("zoomEnd",t.scroll)}),this.pullDownRefresh&&this._initPullDownRefresh(),this.pullUpLoad&&this._initPullUpLoad(),this.zoom&&(this.isDouble=!0),this.listenScrollInit&&this.$emit("scrollSuc",this.scroll)}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function(t,e){this.$emit("click",e)},destroy:function(){this.scroll.destroy()},forceUpdate:function(t){var e=this;this.pullDownRefresh&&this.isPullingDown?(this.isPullingDown=!1,this._reboundPullDown().then(function(){e._afterPullDown()})):this.pullUpLoad&&this.isPullUpLoad?(this.isPullUpLoad=!1,this.scroll.finishPullUp(),this.pullUpDirty=t,this.refresh()):this.refresh()},handleTouchStart:function(t){this.isDouble&&(this.fingers=t.touches.length,this.tapTarget=this.getTouches(t)[0],this.startXd=this.tapTarget.x,this.startYd=this.tapTarget.y)},handleTouchMove:function(t){this.isDouble&&(this.endXd=this.getTouches(t)[0].x,this.endYd=this.getTouches(t)[0].y)},handleTouchEnd:function(t){if(this.isDouble){this.endXd=0===this.endXd?this.startXd:this.endXd,this.endYd=0===this.endYd?this.startYd:this.endYd;var e=this.endXd-this.startXd,n=this.endYd-this.startYd;Math.abs(e)<10&&Math.abs(n)<10&&this.detectDoubleTap(t),this.startXd=this.startYd=this.endXd=this.endYd=0}},cancelEvent:function(t){t.stopPropagation(),t.preventDefault()},getTouches:function(t){return Array.prototype.slice.call(t.touches).map(function(t){return{x:t.pageX,y:t.pageY}})},detectDoubleTap:function(){var t=(new Date).getTime();if(this.fingers>1&&(this.lastTouchStart=null),t-this.lastTouchStart<300){this.cancelEvent(event);var e=this.scroll.scale>1?1:2;this.scroll.zoomTo(e,this.tapTarget.x,this.tapTarget.y)}1===this.fingers&&(this.lastTouchStart=t)},_initPullDownRefresh:function(){var t=this;this.scroll.on("pullingDown",function(){t.beforePullDown=!1,t.isPullingDown=!0,t.$emit("pullingDown")}),this.scroll.on("scroll",function(e){t.pullDownRefresh&&(t.beforePullDown?(t.bubbleY=Math.max(0,e.y+t.pullDownInitTop),t.pullDownStyle="top:"+Math.min(e.y+t.pullDownInitTop,10)+"px"):t.bubbleY=0,t.isRebounding&&(t.pullDownStyle="top:"+(10-(t.pullDownRefresh.stop-e.y))+"px"))})},_initPullUpLoad:function(){var t=this;this.scroll.on("pullingUp",function(){t.isPullUpLoad=!0,t.$emit("pullingUp")})},_reboundPullDown:function(){var t=this,e=this.pullDownRefresh.stopTime,n=void 0===e?600:e;return new i.a(function(e){setTimeout(function(){t.isRebounding=!0,t.scroll.finishPullDown(),e()},n)})},_afterPullDown:function(){var t=this;setTimeout(function(){t.pullDownStyle="top:"+t.pullDownInitTop+"px",t.beforePullDown=!0,t.isRebounding=!1,t.refresh()},this.scroll.options.bounceTime)}},watch:{data:function(){var t=this;setTimeout(function(){t.forceUpdate(!0)},this.refreshDelay)}},components:{Bubble:l.default}}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},21:function(t,e){t.exports=!0},22:function(t,e,n){var r=n(28)("keys"),i=n(25);t.exports=function(t){return r[t]||(r[t]=i(t))}},23:function(t,e,n){var r=n(0),i=n(2),o=n(33),s=n(4),a=n(5),l=function(t,e,n){var u,c,f,p=t&l.F,h=t&l.G,d=t&l.S,v=t&l.P,y=t&l.B,b=t&l.W,m=h?i:i[e]||(i[e]={}),w=m.prototype,x=h?r:d?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(c=!p&&x&&void 0!==x[u])&&a(m,u)||(f=c?x[u]:n[u],m[u]=h&&"function"!=typeof x[u]?n[u]:y&&c?o(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[u]=f,t&l.R&&w&&!w[u]&&s(w,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},24:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},25:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},26:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},28:function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},29:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},3:function(t,e,n){t.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(7),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},31:function(t,e,n){var r=n(44),i=n(29);t.exports=Object.keys||function(t){return r(t,i)}},32:function(t,e,n){var r=n(9).f,i=n(5),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},33:function(t,e,n){var r=n(34);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},34:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},35:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},36:function(t,e,n){"use strict";function r(t,e,n,r){v=n,b=r||{};var o=Object(u.a)(t,e);return i(o),function(e){for(var n=[],r=0;r<o.length;r++){var s=o[r],a=f[s.id];a.refs--,n.push(a)}e?(o=Object(u.a)(t,e),i(o)):o=[];for(var r=0;r<n.length;r++){var a=n[r];if(0===a.refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete f[a.id]}}}}function i(t){for(var e=0;e<t.length;e++){var n=t[e],r=f[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(s(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var o=[],i=0;i<n.parts.length;i++)o.push(s(n.parts[i]));f[n.id]={id:n.id,refs:1,parts:o}}}}function o(){var t=document.createElement("style");return t.type="text/css",p.appendChild(t),t}function s(t){var e,n,r=document.querySelector("style["+m+'~="'+t.id+'"]');if(r){if(v)return y;r.parentNode.removeChild(r)}if(w){var i=d++;r=h||(h=o()),e=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),e=l.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function a(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=x(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function l(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),b.ssrId&&t.setAttribute(m,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=n(40),c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)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 f={},p=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,v=!1,y=function(){},b=null,m="data-vue-ssr-id",w="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),x=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},37:function(t,e,n){var r=n(19);t.exports=function(t){return Object(r(t))}},38:function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},4:function(t,e,n){var r=n(9),i=n(26);t.exports=n(3)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},40:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a=o[1],l=o[2],u=o[3],c={id:t+":"+i,css:a,media:l,sourceMap:u};r[s]?r[s].parts.push(c):n.push(r[s]={id:s,parts:[c]})}return n}e.a=r},44:function(t,e,n){var r=n(5),i=n(11),o=n(52)(!1),s=n(22)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>l;)r(a,n=e[l++])&&(~o(u,n)||u.push(n));return u}},45:function(t,e,n){var r=n(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},46:function(t,e,n){var r=n(20),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},47:function(t,e,n){t.exports=!n(3)&&!n(15)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){"use strict";var r=n(21),i=n(23),o=n(54),s=n(4),a=n(18),l=n(68),u=n(32),c=n(69),f=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,d,v,y,b){l(n,e,d);var m,w,x,g=function(t){if(!p&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==v,T=!1,P=t.prototype,j=P[f]||P["@@iterator"]||v&&P[v],D=j||g(v),C=v?S?g("entries"):D:void 0,R="Array"==e?P.entries||j:j;if(R&&(x=c(R.call(new t)))!==Object.prototype&&x.next&&(u(x,_,!0),r||"function"==typeof x[f]||s(x,f,h)),S&&j&&"values"!==j.name&&(T=!0,D=function(){return j.call(this)}),r&&!b||!p&&!T&&P[f]||s(P,f,D),a[e]=D,a[_]=h,v)if(m={values:S?D:g("values"),keys:y?D:g("keys"),entries:C},b)for(w in m)w in P||o(P,w,m[w]);else i(i.P+i.F*(p||T),e,m);return m}},5:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},50:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},52:function(t,e,n){var r=n(11),i=n(46),o=n(53);t.exports=function(t){return function(e,n,s){var a,l=r(e),u=i(l.length),c=o(s,u);if(t&&n!=n){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},53:function(t,e,n){var r=n(20),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},54:function(t,e,n){t.exports=n(4)},55:function(t,e,n){var r=n(6),i=n(62),o=n(29),s=n(22)("IE_PROTO"),a=function(){},l=function(){var t,e=n(30)("iframe"),r=o.length;for(e.style.display="none",n(50).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=l(),void 0===e?n:i(n,e)}},556:function(t,e,n){"use strict";function r(t){a||n(557)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(195),o=n(560),s=n(8),a=!1,l=r,u=Object(s.a)(i.a,o.a,o.b,!1,l,"data-v-3d7beb70",null);u.options.__file="src\\components\\common\\scrollZoom\\components\\scroll.vue",e.default=u.exports},557:function(t,e,n){var r=n(558);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n(36).default;i("69242a85",r,!1,{})},558:function(t,e,n){e=t.exports=n(35)(!1),e.push([t.i,"\n.scroll-wrapper[data-v-3d7beb70]{position:relative;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:5px !important\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-indicator{background:rgba(0,0,0,0.2) !important\n}\n.scroll-wrapper .scroll-list[data-v-3d7beb70]{background-color:#525659\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]{position:relative;background-color:#fff;margin-top:1rem\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]:first-child{margin-top:0\n}\n.scroll-wrapper .scroll-list>li>img[data-v-3d7beb70]{width:100%\n}\n.scroll-wrapper .scroll-text[data-v-3d7beb70]{padding:0 1.4rem\n}\n.scroll-wrapper .scroll-content[data-v-3d7beb70]{position:relative;z-index:1;display:inline-block;width:100%\n}\n.scroll-wrapper .pulldown-wrapper[data-v-3d7beb70]{position:absolute;width:100%;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:all;transition:all\n}\n.scroll-wrapper .pulldown-wrapper>.after-trigger[data-v-3d7beb70]{margin-top:10px\n}\n.scroll-wrapper .pullup-wrapper[data-v-3d7beb70]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:16px 0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70]{width:200%;height:200%;-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform:scale(0.5);transform:scale(0.5);padding:0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:10px !important\n}\n",""])},559:function(t,e){t.exports=n},560:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"wrapper",staticClass:"scroll-wrapper",on:{touchstart:t.handleTouchStart,touchmove:t.handleTouchMove,touchend:t.handleTouchEnd}},[n("div",{staticClass:"scroll-content"},[n("div",{ref:"listWrapper"},[t._t("default")],2),t._v(" "),t.$scopedSlots.pullup?t._t("pullup",null,{pullUpLoad:t.pullUpLoad,isPullUpLoad:t.isPullUpLoad}):t._e(),t._v(" "),t.pullUpLoad&&!t.$scopedSlots.pullup?n("div",{staticClass:"pullup-wrapper"},[t.isPullUpLoad?n("div",{staticClass:"after-trigger"},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):n("div",{staticClass:"before-trigger"},[n("span",[t._v(t._s(t.pullUpTxt))])])]):t._e()],2),t._v(" "),t.$scopedSlots.pulldown?t._t("pulldown",null,{pullDownRefresh:t.pullDownRefresh,pullDownStyle:t.pullDownStyle,beforePullDown:t.beforePullDown,isPullingDown:t.isPullingDown,bubbleY:t.bubbleY}):t._e(),t._v(" "),t.pullDownRefresh&&!t.$scopedSlots.pulldown?n("div",{ref:"pulldown",staticClass:"pulldown-wrapper",style:t.pullDownStyle},[t.beforePullDown?n("div",{staticClass:"before-trigger"},[n("bubble",{attrs:{y:t.bubbleY}})],1):n("div",{staticClass:"after-trigger"},[t.isPullingDown?n("div",{staticClass:"loading"},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):n("div",[n("span",[t._v(t._s(t.refreshTxt))])])])]):t._e()],2)},i=[];r._withStripped=!0},6:function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},62:function(t,e,n){var r=n(9),i=n(6),o=n(31);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,l=0;a>l;)r.f(t,n=s[l++],e[n]);return t}},66:function(t,e,n){"use strict";var r=n(67)(!0);n(48)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},67:function(t,e,n){var r=n(20),i=n(19);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),l=r(n),u=a.length;return l<0||l>=u?t?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}}},68:function(t,e,n){"use strict";var r=n(55),i=n(26),o=n(32),s={};n(4)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},69:function(t,e,n){var r=n(5),i=n(37),o=n(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},7:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},70:function(t,e,n){n(71);for(var r=n(0),i=n(4),o=n(18),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var u=a[l],c=r[u],f=c&&c.prototype;f&&!f[s]&&i(f,s,u),o[u]=o.Array}},71:function(t,e,n){"use strict";var r=n(72),i=n(73),o=n(18),s=n(11);t.exports=n(48)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},72:function(t,e){t.exports=function(){}},73:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},78:function(t,e,n){var r=n(24),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},8:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var l=typeof t.default;"object"!==l&&"function"!==l||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var c;if(s?(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(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}e.a=r},83:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(34);t.exports.f=function(t){return new r(t)}},9:function(t,e,n){var r=n(6),i=n(47),o=n(38),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},94:function(t,e){},95:function(t,e,n){var r=n(78),i=n(1)("iterator"),o=n(18);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}}})});