@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 39.4 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/dom.js"),require("@xysfe/actui/es/Pdfjs/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/assets/utils/BScroll/constants.js","@xysfe/actui/es/assets/utils/dom.js","@xysfe/actui/es/Pdfjs/index.js"],e):"object"==typeof exports?exports.ScrollZoom=e(require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/dom.js"),require("@xysfe/actui/es/Pdfjs/index.js")):t.ScrollZoom=e(t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/assets/utils/BScroll/constants.js"],t["@xysfe/actui/es/assets/utils/dom.js"],t["@xysfe/actui/es/Pdfjs/index.js"])}("undefined"!=typeof self?self:this,function(t,e,r,n,i){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=2368)}({0:function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},1:function(t,e,r){var n=r(31)("wks"),i=r(24),o=r(0).Symbol,s="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=n},10:function(t,e,r){var n=r(4),i=r(41),o=r(38),s=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},100:function(t,e,r){"use strict";var n=r(9),i=r(2),o=r(0),s=r(64),c=r(67);n(n.P+n.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return c(e,t()).then(function(){return r})}:t,r?function(r){return c(e,t()).then(function(){throw r})}:t)}})},101:function(t,e,r){"use strict";var n=r(9),i=r(44),o=r(66);n(n.S,"Promise",{try:function(t){var e=i.f(this),r=o(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},106:function(e,r){e.exports=t},11:function(t,e){t.exports={}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},13:function(t,e,r){var n=r(34),i=r(15);t.exports=function(t){return n(i(t))}},1303:function(t,e,r){"use strict";var n=r(2371),i=r(106),o=(r.n(i),r(2377)),s=r.n(o);e.a={name:"ScrollZoom",data:function(){return{pdf:null}},computed:{currentTerm:function(){return this.termsInfo[this.docIndex]||null},liTagInfo:function(){var t=[];if(this.currentTerm&&this.currentTerm.liTag&&this.currentTerm.myScroll)for(var e=0;e<this.currentTerm.liTag.length;e++){var r=this.currentTerm.liTag[e];t.push({tag:r,top:r.offsetTop*this.currentTerm.currentScale,left:r.offsetLeft*this.currentTerm.currentScale,width:r.offsetWidth*this.currentTerm.currentScale,height:r.offsetHeight*this.currentTerm.currentScale})}return t},isPurePdfType:function(){return 4===this.currentTerm.type},isImageType:function(){return 2===Number(this.currentTerm.type)},isShowLoading:function(){var t=this.currentTerm.myScroll;return!(!this.isPurePdfType||!this.pdf||this.pdf.inited)||!!(this.isImageType&&this.currentTerm.isLoading&&1===this.currentTerm.currentPage||this.isImageType&&this.currentTerm.isLoading&&t&&Math.abs(t.y)+50>=Math.abs(t.maxScrollY))},purePdfLoadingComplated:function(){if(!this.isPurePdfType||!this.pdf)return!1;var t=this.pdf,e=t.numPages,r=t.renderedPages;return e&&r&&e===r.length},imagesInitLoad:function(){return this.isImageType&&this.currentTerm.isLoading&&1===this.currentTerm.currentPage},imagesLoadingComplated:function(){return this.currentTerm.currentPage*this.pageSize>=this.currentTerm.urls.length}},watch:{purePdfLoadingComplated:function(t){if(t&&this.currentTerm.curPosition){this.currentTerm.curPosition.y===this.currentTerm.myScroll.maxScrollY&&this.$emit("canINext",!0)}}},methods:{loadNextPage:function(){var t=this.currentTerm;t.currentPage*this.pageSize>=t.urls.length||(t.currentPage++,t.isLoading=!0,this.initImages())},initImages:function(){var t=this,e=this.currentTerm,r=this.$refs["scrollList"+this.docIndex][0],n=(e.currentPage-1)*this.pageSize,i=e.urls.slice(n,n+this.pageSize),o=new Array(i.length).fill(!1),s=[];i.forEach(function(n,i){var c=document.createElement("li"),u=new Image;c.style.height=t.currentTerm.styleImg.height,u.onload=function(){c.appendChild(u),o[i]=!0,o.every(function(t){return t})&&(s.forEach(function(t){return r.appendChild(t)}),e.isLoading=!1,t.currentTerm.myScroll.refresh(),t.currentTerm.currentPage*t.pageSize<t.currentTerm.urls.length&&t.loadNextPage())},u.src=n,u.style.width="100%",c.appendChild(u),s.push(c)})},initWord:function(t){var e=this;t instanceof Array?Object(i.get)(t[0]).then(function(t){t=t.replace(/<span[^>]*?>[\s| ]*<\/span>/g,""),t=t.replace(/<span[^>]*?>[\s| ]*<em>\s*<\/em>\s*<\/span>/g,""),e.currentTerm.wordHtml=t,e.currentTerm.classObject["scroll-word"]=!0,e.currentTerm.init=!0}).catch(function(t){console.log(t)}):console.log("数据格式错误")},initPDF:function(t){if(t instanceof Array){var e=this,r=new Image;r.src=t[0],r.onload=function(){var t=window.innerWidth/r.width,n=2*(t*r.height).toFixed(2);e.currentTerm.styleImg.height=n+"px",e.currentTerm.classObject["scroll-pdf"]=!0,e.currentTerm.listenScrollEnd=!0,e.currentTerm.listenZoomEnd=!0,e.currentTerm.listenScroll=!0,e.currentTerm.init=!0}}else console.log("数据格式错误")},initHtml:function(t){t=t.replace(/<span[^>]*?>[\s| ]*<\/span>/g,""),t=t.replace(/<span[^>]*?>[\s| ]*<em>\s*<\/em>\s*<\/span>/g,""),this.currentTerm.wordHtml=t,this.currentTerm.classObject["scroll-word"]=!0,this.currentTerm.init=!0},initPurePDF:function(t){this.currentTerm.listenScroll=!0,this.currentTerm.listenZoomEnd=!0,this.currentTerm.listenScrollEnd=!0,this.currentTerm.observeDOM=!1,this.currentTerm.init=!0},scroll:function(t){this.lazyLoad(t)},scrollEnd:function(t){this.isPurePdfType?this.currentTerm.curPosition=t:this.lazyLoad(t);var e=t.y===this.currentTerm.myScroll.maxScrollY;![2,4].includes(this.currentTerm.type)&&this.forceRead&&e&&this.$emit("canINext",!0),this.isImageType&&this.forceRead&&this.imagesLoadingComplated&&e&&this.$emit("canINext",!0),this.isPurePdfType&&this.forceRead&&this.purePdfLoadingComplated&&e&&this.$emit("canINext",!0),e&&this.$emit("scrolledEnd",!0)},scrollInit:function(t){var e=this;if(this.currentTerm.myScroll=t,this.forceRead&&this.currentTerm.myScroll&&0==+this.currentTerm.myScroll.maxScrollY&&!this.isPurePdfType&&!this.isImageType&&this.$emit("canINext",!0),1===this.currentTerm.type&&this.$refs["wordHtml"+this.docIndex]&&this.$refs["wordHtml"+this.docIndex][0]){var r=this.$refs["wordHtml"+this.docIndex][0].querySelectorAll("table");this.refreshTable(r);var n=this.$refs["wordHtml"+this.docIndex][0].querySelectorAll("img");this.refreshImg(n)}else this.isImageType&&this.$refs["scrollList"+this.docIndex]&&this.$refs["scrollList"+this.docIndex][0]?(this.currentTerm.cWidth=this.currentTerm.myScroll.wrapperHeight,this.currentTerm.cHeight=this.currentTerm.myScroll.wrapperWidth,this.loadNextPage()):99===this.currentTerm.type?this.currentTerm.myScroll.refresh():4===this.currentTerm.type&&(this.pdf=new s.a,this.pdf.init({url:this.currentTerm.urls[0],container:this.$refs.pdfContainer[0],brandColor:this.brandColor,scollRef:this.currentTerm.myScroll}).then(function(){e.currentTerm.myScroll.refresh(),e.forceRead&&e.currentTerm.myScroll&&0==+e.currentTerm.myScroll.maxScrollY&&e.purePdfLoadingComplated&&e.$emit("canINext",!0)}).catch(function(t){console.log(t)}))},zoomEnd:function(){this.currentTerm.currentScale=this.currentTerm.myScroll.scale},lazyLoad:function(t){this.currentTerm.scrollY=Math.abs(t.y)},refreshTable:function(t){if(t.length>0)for(var e=0,r=t.length;e<r;e++)t[e].style.width="100%",t[e].style.marginLeft="0";this.currentTerm.myScroll.refresh()},refreshImg:function(t){var e=this;t&&t.length&&function(){for(var r=void 0,n=0;n<t.length;n++)t[n].onload=function(){r&&window.clearTimeout(r),r=setTimeout(function(){e.currentTerm.myScroll.refresh()},200)}}()},getTermHideState:function(t){return t!==this.docIndex},showDoc:function(t){this.docIndex=t,this.destroyPdf(),this.currentTerm.init?2===Number(this.currentTerm.type)&&(this.currentTerm.currentPage=0,this.loadNextPage()):1===Number(this.currentTerm.type)?this.initWord(this.currentTerm.urls):2===Number(this.currentTerm.type)?this.initPDF(this.currentTerm.urls):3===Number(this.currentTerm.type)?this.initHtml(this.currentTerm.innerHTML):4===Number(this.currentTerm.type)?this.initPurePDF(this.currentTerm.urls):99===Number(this.currentTerm.type)&&(this.currentTerm.init=!0)},destroyPdf:function(){this.pdf&&(this.pdf.destroy(),this.pdf=null)}},beforeDestroy:function(){this.destroyPdf()},components:{scroll:n.a},props:{termsInfo:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},docIndex:{type:Number,default:0},forceRead:{type:Boolean,default:!1},pageSize:{type:Number,default:4}}}},1304:function(t,e,r){"use strict";var n=r(71),i=r.n(n),o=r(196),s=r.n(o),c=r(2373),u=(r.n(c),r(2374)),l=r(782);r.n(l);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(c.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:l.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,r=this.endYd-this.startYd;Math.abs(e)<10&&Math.abs(r)<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,r=void 0===e?600:e;return new i.a(function(e){setTimeout(function(){t.isRebounding=!0,t.scroll.finishPullDown(),e()},r)})},_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:u.a}}},1305:function(t,e,r){"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,r=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,r,0,Math.PI,!0);var n=this.initRadius-(this.initRadius-this.minTailRadius)*e,i={x:this.headCenter.x,y:this.headCenter.y+this.distance},o={x:i.x-n,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,n,Math.PI,0,!0);var c={x:this.headCenter.x+r,y:this.headCenter.y},u={x:i.x+n,y:c.y+this.distance/2};t.quadraticCurveTo(u.x,u.y,c.x,c.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,r=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,r-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,r,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-r-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-r+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-r+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()}}}},14:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},17:function(t,e,r){var n=r(19);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},196:function(t,r){t.exports=e},2:function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},20:function(t,e,r){var n=r(31)("keys"),i=r(24);t.exports=function(t){return n[t]||(n[t]=i(t))}},22:function(t,e,r){var n=r(6),i=r(0).document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2368:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2369);n.a.install=function(t){t.component(n.a.name,n.a)},e.default=n.a},2369:function(t,e,r){"use strict";function n(t){c||r(2370)}var i=r(1303),o=r(2378),s=r(7),c=!1,u=n,l=Object(s.a)(i.a,o.a,o.b,!1,u,"data-v-388e54c7",null);l.options.__file="src\\components\\common\\scrollZoom\\index.vue",e.a=l.exports},2370:function(t,e){},2371:function(t,e,r){"use strict";function n(t){c||r(2372)}var i=r(1304),o=r(2376),s=r(7),c=!1,u=n,l=Object(s.a)(i.a,o.a,o.b,!1,u,"data-v-3d7beb70",null);l.options.__file="src\\components\\common\\scrollZoom\\components\\scroll.vue",e.a=l.exports},2372:function(t,e){},2373:function(t,e){t.exports=n},2374:function(t,e,r){"use strict";var n=r(1305),i=r(2375),o=r(7),s=Object(o.a)(n.a,i.a,i.b,!1,null,null,null);s.options.__file="src\\components\\common\\scrollZoom\\components\\bubble.vue",e.a=s.exports},2375:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=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=[];n._withStripped=!0},2376:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"wrapper",staticClass:"scroll-wrapper",on:{touchstart:t.handleTouchStart,touchmove:t.handleTouchMove,touchend:t.handleTouchEnd}},[r("div",{staticClass:"scroll-content"},[r("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?r("div",{staticClass:"pullup-wrapper"},[t.isPullUpLoad?r("div",{staticClass:"after-trigger"},[r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):r("div",{staticClass:"before-trigger"},[r("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?r("div",{ref:"pulldown",staticClass:"pulldown-wrapper",style:t.pullDownStyle},[t.beforePullDown?r("div",{staticClass:"before-trigger"},[r("bubble",{attrs:{y:t.bubbleY}})],1):r("div",{staticClass:"after-trigger"},[t.isPullingDown?r("div",{staticClass:"loading"},[r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):r("div",[r("span",[t._v(t._s(t.refreshTxt))])])])]):t._e()],2)},i=[];n._withStripped=!0},2377:function(t,e){t.exports=i},2378:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"act-doc-content"},t._l(t.termsInfo,function(e,n){return r("div",{key:n,staticClass:"act-doc-box",class:{hide:t.getTermHideState(n)}},[t.isShowLoading||!e.init||n!==t.docIndex?r("div",{staticClass:"loading",class:{center:t.isPurePdfType||t.imagesInitLoad||!(e.init&&n===t.docIndex)}},[r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:25}})],1):t._e(),t._v(" "),1!=e.type&&3!=e.type||!e.fixedTipHtml?t._e():r("div",{staticClass:"doc-fixed-header"},[r("p",{staticClass:"fixed-tip",domProps:{innerHTML:t._s(e.fixedTipHtml)}})]),t._v(" "),e.init&&n===t.docIndex?r("scroll",{class:e.classObject,attrs:{freeScroll:e.freeScroll,scrollbar:e.scrollbar,mouseWheel:e.mouseWheel,bounce:e.bounce,zoom:e.zoom,observeDOM:e.observeDOM,listenBeforeScroll:!0,listenScroll:e.listenScroll,listenScrollEnd:e.listenScrollEnd,listenScrollInit:e.listenScrollInit,listenZoomEnd:e.listenZoomEnd},on:{scroll:t.scroll,"scroll-end":t.scrollEnd,scrollSuc:t.scrollInit,zoomEnd:t.zoomEnd}},[99==e.type?t._t("content"):1==e.type||3==e.type?r("div",{ref:"wordHtml"+n,refInFor:!0,staticClass:"act-scroll-text",class:"wordHtml"+n,attrs:{"data-index":n},domProps:{innerHTML:t._s(e.wordHtml)}},[t._v("\n >"+t._s(e.wordHtml)+"\n ")]):4===e.type?r("div",{ref:"pdfContainer",refInFor:!0}):r("ul",{ref:"scrollList"+n,refInFor:!0,staticClass:"act-scroll-list"})],2):t._e()],1)}),0)},i=[];n._withStripped=!0},24:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},27:function(t,e,r){var n=r(10).f,i=r(8),o=r(1)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},28:function(t,e,r){var n=r(42),i=r(32);t.exports=Object.keys||function(t){return n(t,i)}},3:function(t,e,r){t.exports=!r(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,r){var n=r(2),i=r(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:n.version,mode:r(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,e,r){var n=r(15);t.exports=function(t){return Object(n(t))}},34:function(t,e,r){var n=r(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},35:function(t,e,r){var n=r(16),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},36:function(t,e,r){"use strict";var n=r(18),i=r(9),o=r(54),s=r(5),c=r(11),u=r(60),l=r(27),a=r(62),f=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,p,m,v,y){u(r,e,p);var g,x,T,b=function(t){if(!h&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=e+" Iterator",S="values"==m,_=!1,P=t.prototype,D=P[f]||P["@@iterator"]||m&&P[m],C=D||b(m),j=m?S?b("entries"):C:void 0,L="Array"==e?P.entries||D:D;if(L&&(T=a(L.call(new t)))!==Object.prototype&&T.next&&(l(T,w,!0),n||"function"==typeof T[f]||s(T,f,d)),S&&D&&"values"!==D.name&&(_=!0,C=function(){return D.call(this)}),n&&!y||!h&&!_&&P[f]||s(P,f,C),c[e]=C,c[w]=d,m)if(g={values:S?C:b("values"),keys:v?C:b("keys"),entries:j},y)for(x in g)x in P||o(P,x,g[x]);else i(i.P+i.F*(h||_),e,g);return g}},38:function(t,e,r){var n=r(6);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},4:function(t,e,r){var n=r(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},41:function(t,e,r){t.exports=!r(3)&&!r(12)(function(){return 7!=Object.defineProperty(r(22)("div"),"a",{get:function(){return 7}}).a})},42:function(t,e,r){var n=r(8),i=r(13),o=r(46)(!1),s=r(20)("IE_PROTO");t.exports=function(t,e){var r,c=i(t),u=0,l=[];for(r in c)r!=s&&n(c,r)&&l.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~o(l,r)||l.push(r));return l}},43:function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},44:function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=i(e),this.reject=i(r)}var i=r(19);t.exports.f=function(t){return new n(t)}},45:function(t,e,r){var n=r(14),i=r(1)("toStringTag"),o="Arguments"==n(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=s(e=Object(t),i))?r:o?n(e):"Object"==(c=n(e))&&"function"==typeof e.callee?"Arguments":c}},46:function(t,e,r){var n=r(13),i=r(35),o=r(47);t.exports=function(t){return function(e,r,s){var c,u=n(e),l=i(u.length),a=o(s,l);if(t&&r!=r){for(;l>a;)if((c=u[a++])!=c)return!0}else for(;l>a;a++)if((t||a in u)&&u[a]===r)return t||a||0;return!t&&-1}}},47:function(t,e,r){var n=r(16),i=Math.max,o=Math.min;t.exports=function(t,e){return t=n(t),t<0?i(t+e,0):o(t,e)}},48:function(t,e,r){"use strict";var n=r(59)(!0);r(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},5:function(t,e,r){var n=r(10),i=r(23);t.exports=r(3)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},50:function(t,e,r){r(68);for(var n=r(0),i=r(5),o=r(11),s=r(1)("toStringTag"),c="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(","),u=0;u<c.length;u++){var l=c[u],a=n[l],f=a&&a.prototype;f&&!f[s]&&i(f,s,l),o[l]=o.Array}},52:function(t,e,r){var n=r(4),i=r(61),o=r(32),s=r(20)("IE_PROTO"),c=function(){},u=function(){var t,e=r(22)("iframe"),n=o.length;for(e.style.display="none",r(43).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[o[n]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(c.prototype=n(t),r=new c,c.prototype=null,r[s]=t):r=u(),void 0===e?r:i(r,e)}},54:function(t,e,r){t.exports=r(5)},56:function(t,e,r){var n=r(45),i=r(1)("iterator"),o=r(11);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[n(t)]}},59:function(t,e,r){var n=r(16),i=r(15);t.exports=function(t){return function(e,r){var o,s,c=String(i(e)),u=n(r),l=c.length;return u<0||u>=l?t?"":void 0:(o=c.charCodeAt(u),o<55296||o>56319||u+1===l||(s=c.charCodeAt(u+1))<56320||s>57343?t?c.charAt(u):o:t?c.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e,r){"use strict";var n=r(52),i=r(23),o=r(27),s={};r(5)(s,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(s,{next:i(1,r)}),o(t,e+" Iterator")}},61:function(t,e,r){var n=r(10),i=r(4),o=r(28);t.exports=r(3)?Object.defineProperties:function(t,e){i(t);for(var r,s=o(e),c=s.length,u=0;c>u;)n.f(t,r=s[u++],e[r]);return t}},62:function(t,e,r){var n=r(8),i=r(33),o=r(20)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},63:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},64:function(t,e,r){var n=r(4),i=r(19),o=r(1)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||void 0==(r=n(s)[o])?e:i(r)}},65:function(t,e,r){var n,i,o,s=r(17),c=r(97),u=r(43),l=r(22),a=r(0),f=a.process,h=a.setImmediate,d=a.clearImmediate,p=a.MessageChannel,m=a.Dispatch,v=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){g.call(t.data)};h&&d||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return y[++v]=function(){c("function"==typeof t?t:Function(t),e)},n(v),v},d=function(t){delete y[t]},"process"==r(14)(f)?n=function(t){f.nextTick(s(g,t,1))}:m&&m.now?n=function(t){m.now(s(g,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=x,n=s(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(n=function(t){a.postMessage(t+"","*")},a.addEventListener("message",x,!1)):n="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(s(g,t,1),0)}),t.exports={set:h,clear:d}},66:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},67:function(t,e,r){var n=r(4),i=r(6),o=r(44);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},68:function(t,e,r){"use strict";var n=r(69),i=r(63),o=r(11),s=r(13);t.exports=r(36)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,r):"values"==e?i(0,t[r]):i(0,[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},69:function(t,e){t.exports=function(){}},7:function(t,e,r){"use strict";function n(t,e,r,n,i,o,s,c){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var l="function"==typeof t?t.options:t;e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o);var a;if(s?(a=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)},l._ssrRegister=a):i&&(a=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),a)if(l.functional){l._injectStyles=a;var f=l.render;l.render=function(t,e){return a.call(e),f(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,a):[a]}return{exports:t,options:l}}e.a=n},71:function(t,e,r){t.exports={default:r(95),__esModule:!0}},73:function(t,e){},782:function(t,e){t.exports=r},8:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},82:function(t,e,r){var n=r(17),i=r(83),o=r(84),s=r(4),c=r(35),u=r(56),l={},a={},e=t.exports=function(t,e,r,f,h){var d,p,m,v,y=h?function(){return t}:u(t),g=n(r,f,e?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=c(t.length);d>x;x++)if((v=e?g(s(p=t[x])[0],p[1]):g(t[x]))===l||v===a)return v}else for(m=y.call(t);!(p=m.next()).done;)if((v=i(m,g,p.value,e))===l||v===a)return v};e.BREAK=l,e.RETURN=a},83:function(t,e,r){var n=r(4);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},84:function(t,e,r){var n=r(11),i=r(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}},85:function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},86:function(t,e,r){var n=r(5);t.exports=function(t,e,r){for(var i in e)r&&t[i]?t[i]=e[i]:n(t,i,e[i]);return t}},87:function(t,e,r){var n=r(1)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o=[7],s=o[n]();s.next=function(){return{done:r=!0}},o[n]=function(){return s},t(o)}catch(t){}return r}},9:function(t,e,r){var n=r(0),i=r(2),o=r(17),s=r(5),c=r(8),u=function(t,e,r){var l,a,f,h=t&u.F,d=t&u.G,p=t&u.S,m=t&u.P,v=t&u.B,y=t&u.W,g=d?i:i[e]||(i[e]={}),x=g.prototype,T=d?n:p?n[e]:(n[e]||{}).prototype;d&&(r=e);for(l in r)(a=!h&&T&&void 0!==T[l])&&c(g,l)||(f=a?T[l]:r[l],g[l]=d&&"function"!=typeof T[l]?r[l]:v&&a?o(f,n):y&&T[l]==f?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):m&&"function"==typeof f?o(Function.call,f):f,m&&((g.virtual||(g.virtual={}))[l]=f,t&u.R&&x&&!x[l]&&s(x,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},91:function(t,e,r){"use strict";var n=r(0),i=r(2),o=r(10),s=r(3),c=r(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:n[t];s&&e&&!e[c]&&o.f(e,c,{configurable:!0,get:function(){return this}})}},95:function(t,e,r){r(73),r(48),r(50),r(96),r(100),r(101),t.exports=r(2).Promise},96:function(t,e,r){"use strict";var n,i,o,s,c=r(18),u=r(0),l=r(17),a=r(45),f=r(9),h=r(6),d=r(19),p=r(85),m=r(82),v=r(64),y=r(65).set,g=r(98)(),x=r(44),T=r(66),b=r(99),w=r(67),S=u.TypeError,_=u.process,P=_&&_.versions,D=P&&P.v8||"",C=u.Promise,j="process"==a(_),L=function(){},I=i=x.f,R=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(L,L)};return(j||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==D.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},O=function(t,e){if(!t._n){t._n=!0;var r=t._c;g(function(){for(var n=t._v,i=1==t._s,o=0;r.length>o;)!function(e){var r,o,s,c=i?e.ok:e.fail,u=e.resolve,l=e.reject,a=e.domain;try{c?(i||(2==t._h&&U(t),t._h=1),!0===c?r=n:(a&&a.enter(),r=c(n),a&&(a.exit(),s=!0)),r===e.promise?l(S("Promise-chain cycle")):(o=E(r))?o.call(r,u,l):u(r)):l(n)}catch(t){a&&!s&&a.exit(),l(t)}}(r[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)})}},M=function(t){y.call(u,function(){var e,r,n,i=t._v,o=$(t);if(o&&(e=T(function(){j?_.emit("unhandledRejection",i,t):(r=u.onunhandledrejection)?r({promise:t,reason:i}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",i)}),t._h=j||$(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},$=function(t){return 1!==t._h&&0===(t._a||t._c).length},U=function(t){y.call(u,function(){var e;j?_.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=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()),O(e,!0))},A=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw S("Promise can't be resolved itself");(e=E(t))?g(function(){var n={_w:r,_d:!1};try{e.call(t,l(A,n,1),l(N,n,1))}catch(t){N.call(n,t)}}):(r._v=t,r._s=1,O(r,!1))}catch(t){N.call({_w:r,_d:!1},t)}}};R||(C=function(t){p(this,C,"Promise","_h"),d(t),n.call(this);try{t(l(A,this,1),l(N,this,1))}catch(t){N.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(86)(C.prototype,{then:function(t,e){var r=I(v(this,C));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=j?_.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&O(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=l(A,t,1),this.reject=l(N,t,1)},x.f=I=function(t){return t===C||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!R,{Promise:C}),r(27)(C,"Promise"),r(91)("Promise"),s=r(2).Promise,f(f.S+f.F*!R,"Promise",{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!R),"Promise",{resolve:function(t){return w(c&&this===s?C:this,t)}}),f(f.S+f.F*!(R&&r(87)(function(t){C.all(t).catch(L)})),"Promise",{all:function(t){var e=this,r=I(e),n=r.resolve,i=r.reject,o=T(function(){var r=[],o=0,s=1;m(t,!1,function(t){var c=o++,u=!1;r.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,r[c]=t,--s||n(r))},i)}),--s||n(r)});return o.e&&i(o.v),r.promise},race:function(t){var e=this,r=I(e),n=r.reject,i=T(function(){m(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},97:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},98:function(t,e,r){var n=r(0),i=r(65).set,o=n.MutationObserver||n.WebKitMutationObserver,s=n.process,c=n.Promise,u="process"==r(14)(s);t.exports=function(){var t,e,r,l=function(){var n,i;for(u&&(n=s.domain)&&n.exit();t;){i=t.fn,t=t.next;try{i()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(u)r=function(){s.nextTick(l)};else if(!o||n.navigator&&n.navigator.standalone)if(c&&c.resolve){var a=c.resolve(void 0);r=function(){a.then(l)}}else r=function(){i.call(n,l)};else{var f=!0,h=document.createTextNode("");new o(l).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var i={fn:n,next:void 0};e&&(e.next=i),t||(t=i,r()),e=i}}},99:function(t,e,r){var n=r(0),i=n.navigator;t.exports=i&&i.userAgent||""}})});