@xysfe/actui 1.5.64 → 1.5.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/common/scrollZoom/index.js"],e):"object"==typeof exports?exports.GoldReadTerms=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):t.GoldReadTerms=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.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=1394)}({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(27)("wks"),o=n(24),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),c=n(8),u=function(t,e,n){var a,f,l,d=t&u.F,h=t&u.G,p=t&u.S,v=t&u.P,x=t&u.B,m=t&u.W,y=h?o:o[e]||(o[e]={}),g=y.prototype,b=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(a in n)(f=!d&&b&&void 0!==b[a])&&c(y,a)||(l=f?b[a]:n[a],y[a]=h&&"function"!=typeof b[a]?n[a]:x&&f?i(l,r):m&&b[a]==l?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}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((y.virtual||(y.virtual={}))[a]=l,t&u.R&&g&&!g[a]&&s(g,a,l)))};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},101:function(t,e,n){n(46),n(43),t.exports=n(102)},102:function(t,e,n){var r=n(4),o=n(52);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},104:function(t,e){t.exports=n},11:function(t,e){t.exports={}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1394:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(21),o=n.n(r),i=n(1395);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldReadTerms=o()(i.a,t)},e.default=i.a},1395:function(t,e,n){"use strict";function r(t){c||n(1396)}var o=n(821),i=n(1397),s=n(7),c=!1,u=r,a=Object(s.a)(o.a,i.a,i.b,!1,u,"data-v-21ba486f",null);a.options.__file="src\\components\\GoldReadTerms\\src\\index.vue",e.a=a.exports},1396:function(t,e){},1397:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,center:!1}},[n("div",{staticClass:"readterms-title",attrs:{slot:"header"},slot:"header"},[t.$slots.myheader?[t._t("myheader")]:[t.readTermsLength>1?n("span",{ref:"prevbtn",staticClass:"prev h-btn",on:{click:t.handlePrev}},[t._v("上一页")]):t._e(),t._v(" "),n("span",[t._v("请阅读以下内容"),t.readTermsLength>1?n("span",[t._v("("+t._s(t.curIndex)+"/"+t._s(t.readTermsLength)+")")]):t._e()]),t._v(" "),t.readTermsLength>1?n("span",{ref:"nextbtn",staticClass:"next h-btn",on:{click:t.handleNext}},[t._v("下一页")]):t._e()]],2),t._v(" "),t.isVisible?n("scroll-zoom",{ref:"scrollZoom",staticClass:"scroll-zoom",attrs:{termsInfo:t.termsInfo,forceRead:t.forceRead,docIndex:t.curIndex-1,brandColor:t.brandColor},on:{canINext:t.canINext}}):t._e(),t._v(" "),t.$slots.footer?n("div",[t._t("footer")],2):[n("div",{staticClass:"bottom-btn-placeholder"}),t._v(" "),n("div",{staticClass:"readterms-btns"},[n("div",{staticClass:"f-btn left",on:{click:t.cancel}},[n("p",[t._v(t._s(t.cancelButtonText))])]),t._v(" "),n("div",{staticClass:"f-btn right",style:{background:t.brandColor},on:{click:t.confirm}},[n("p",[t._v(t._s(t.comfirmText))]),t._v(" "),t.$slots.fIcon?t._t("fIcon"):t._e()],2)])]],2)},o=[];r._withStripped=!0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(19);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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},178:function(t,e){t.exports=r},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}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},21:function(e,n){e.exports=t},22:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(8),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(47),s=n(5),c=n(11),u=n(49),a=n(25),f=n(51),l=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,v,x,m){u(n,e,p);var y,g,b,_=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",I="values"==v,L=!1,S=t.prototype,C=S[l]||S["@@iterator"]||v&&S[v],j=C||_(v),O=v?I?_("entries"):j:void 0,w="Array"==e?S.entries||C:C;if(w&&(b=f(w.call(new t)))!==Object.prototype&&b.next&&(a(b,T,!0),r||"function"==typeof b[l]||s(b,l,h)),I&&C&&"values"!==C.name&&(L=!0,j=function(){return C.call(this)}),r&&!m||!d&&!L&&S[l]||s(S,l,j),c[e]=j,c[T]=h,v)if(y={values:I?j:_("values"),keys:x?j:_("keys"),entries:O},m)for(g in y)g in S||i(S,g,y[g]);else o(o.P+o.F*(d||L),e,y);return y}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(8),o=n(12),i=n(40)(!1),s=n(20)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),u=0,a=[];for(n in c)n!=s&&r(c,n)&&a.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(a,n)||a.push(n));return a}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(12),o=n(31),i=n(41);t.exports=function(t){return function(e,n,s){var c,u=r(e),a=o(u.length),f=i(s,a);if(t&&n!=n){for(;a>f;)if((c=u[f++])!=c)return!0}else for(;a>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},41:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},42:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},43:function(t,e,n){"use strict";var r=n(48)(!0);n(33)(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})})},45:function(t,e,n){var r=n(4),o=n(50),i=n(28),s=n(20)("IE_PROTO"),c=function(){},u=function(){var t,e=n(22)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[s]=t):n=u(),void 0===e?n:o(n,e)}},46:function(t,e,n){n(59);for(var r=n(0),o=n(5),i=n(11),s=n(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 a=c[u],f=r[a],l=f&&f.prototype;l&&!l[s]&&o(l,s,a),i[a]=i.Array}},47:function(t,e,n){t.exports=n(5)},48:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,s,c=String(o(e)),u=r(n),a=c.length;return u<0||u>=a?t?"":void 0:(i=c.charCodeAt(u),i<55296||i>56319||u+1===a||(s=c.charCodeAt(u+1))<56320||s>57343?t?c.charAt(u):i:t?c.slice(u,u+2):s-56320+(i-55296<<10)+65536)}}},49:function(t,e,n){"use strict";var r=n(45),o=n(23),i=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),c=s.length,u=0;c>u;)r.f(t,n=s[u++],e[n]);return t}},51:function(t,e,n){var r=n(8),o=n(29),i=n(20)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},52:function(t,e,n){var r=n(42),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var r=n(60),o=n(58),i=n(11),s=n(12);t.exports=n(33)(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,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},7:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var a="function"==typeof t?t.options:t;e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId=i);var f;if(s?(f=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=f):o&&(f=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(a.functional){a._injectStyles=f;var l=a.render;a.render=function(t,e){return f.call(e),l(t,e)}}else{var d=a.beforeCreate;a.beforeCreate=d?[].concat(d,f):[f]}return{exports:t,options:a}}e.a=r},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},821:function(t,e,n){"use strict";var r=n(99),o=n.n(r),i=n(104),s=n.n(i),c=n(178),u=n.n(c),a=n(32),f=n.n(a);e.a={name:"ActGoldReadTerms",mixins:[f.a],components:{scrollZoom:u.a,ActGoldLayer:s.a},data:function(){return{curIndex:1,isReadEnd:[],termsInfo:[]}},computed:{readTermsLength:function(){return this.readTerms.length},bookTitle:function(){var t=this.termsInfo[this.curIndex-1]&&this.termsInfo[this.curIndex-1].title;return t?"《"+t+"》":""},comfirmText:function(){var t="已完整阅读并确认"+this.bookTitle;return this.confirmButtonText?this.confirmButtonText:t}},props:{readTerms:{type:Array,default:function(){return[]}},forceRead:{type:Boolean,default:!0},confirmButtonText:{type:String,default:""},cancelButtonText:{type:String,default:"暂不同意"},brandColor:{type:String,default:"#8c7fee"},beforeClose:{type:Function,default:null},beforePreOrNext:{type:Function,default:null}},methods:{getTerms:function(t){for(var e=[],n=t,r=Array.isArray(n),i=0,n=r?n:o()(n);;){var s;if(r){if(i>=n.length)break;s=n[i++]}else{if(i=n.next(),i.done)break;s=i.value}var c=s,u={type:Number(c.type),title:c.title,urls:c.urls,innerHTML:c.innerHTML||"",souceFile:c.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!0,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(u)}this.termsInfo=e},showDoc:function(t){var e=this;this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},changeHeaderBtnsColor:function(t){var e=this.$refs,n=e.prevbtn,r=e.nextbtn;1==~~t&&~~t<this.readTermsLength?(n&&(n.style.color=""),r&&(r.style.color=this.brandColor)):~~t>1&&~~t<this.readTermsLength?(n&&(n.style.color=this.brandColor),r&&(r.style.color=this.brandColor)):~~t>1&&~~t===this.readTermsLength&&(n&&(n.style.color=this.brandColor),r&&(r.style.color=""))},handleActionBeforePreOrNext:function(t,e){function n(t){o.curIndex>1&&(o.curIndex=i-1)}function r(t){o.curIndex<o.readTermsLength&&o.next(t)}var o=this,i=~~this.curIndex,s=this.termsInfo[i-1];this.beforePreOrNext?this.beforePreOrNext({action:t,next:function(o){!1!==o&&("prevClick"===t&&n(e),"nextClick"===t&&r(e))},curTermsInfo:s,curIndex:o.curIndex,readTermsLength:o.readTermsLength,isLast:o.curIndex===o.readTermsLength,curIsReadEnd:o.isReadEnd[o.curIndex-1]}):("prevClick"===t&&n(e),"nextClick"===t&&r(e))},handlePrev:function(t){this.handleActionBeforePreOrNext("prevClick",t)},handleNext:function(t){this.handleActionBeforePreOrNext("nextClick",t)},next:function(t){var e=~~this.curIndex;!this.forceRead&&this.canINext(!0),this.forceRead&&this.isReadEnd[e-1]||!this.forceRead?e<this.readTermsLength&&(this.curIndex=e+1,this.showDoc(e)):this.forceRead&&!this.isReadEnd[e-1]&&this.showToast("请观看至页面底部,完整阅读全部内容")},getCurTermInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$emit("getCurTermInfo",t)},canINext:function(t){this.readTermsLength&&(this.isReadEnd[this.curIndex-1]=t,this.getCurTermInfo({curIndex:this.curIndex,isReadEnd:this.isReadEnd[this.curIndex-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[this.curIndex-1]}))},confirm:function(t){this.forceRead&&!this.isReadEnd[this.readTermsLength-1]&&this.curIndex<=this.readTermsLength||!this.forceRead&&this.curIndex<this.readTermsLength?this.next(t):this.handleAction("confirm",t)},cancel:function(t){this.handleAction("cancel",t)},handleAction:function(t,e){var n=this,r=~~this.curIndex,o=this.termsInfo[r-1];this.beforeClose?this.beforeClose(t,function(r){!1!==r&&(n.hide(),n.$emit(t,e))},o):(this.hide(),this.$emit(t,e))},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},preventMove:function(t){t._prevent=!0},reset:function(){this.curIndex=1,this.isReadEnd=new Array(this.readTermsLength).fill(!1)}},mounted:function(){this.changeHeaderBtnsColor(this.curIndex)},watch:{isVisible:function(t){t&&(this.reset(),this.getTerms(this.readTerms),this.showDoc(0),!this.forceRead&&1==~~this.readTermsLength&&this.canINext(!0))},curIndex:function(t){this.changeHeaderBtnsColor(t),this.getCurTermInfo({curIndex:t,isReadEnd:this.isReadEnd[t-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[t-1]})}}}},9:function(t,e,n){var r=n(4),o=n(36),i=n(34),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)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}},99:function(t,e,n){t.exports={default:n(101),__esModule:!0}}})});
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/common/scrollZoom/index.js"],e):"object"==typeof exports?exports.GoldReadTerms=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):t.GoldReadTerms=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.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=1394)}({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(27)("wks"),o=n(24),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),c=n(8),u=function(t,e,n){var a,f,l,d=t&u.F,h=t&u.G,p=t&u.S,x=t&u.P,v=t&u.B,m=t&u.W,y=h?o:o[e]||(o[e]={}),g=y.prototype,b=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(a in n)(f=!d&&b&&void 0!==b[a])&&c(y,a)||(l=f?b[a]:n[a],y[a]=h&&"function"!=typeof b[a]?n[a]:v&&f?i(l,r):m&&b[a]==l?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}(l):x&&"function"==typeof l?i(Function.call,l):l,x&&((y.virtual||(y.virtual={}))[a]=l,t&u.R&&g&&!g[a]&&s(g,a,l)))};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},101:function(t,e,n){n(46),n(43),t.exports=n(102)},102:function(t,e,n){var r=n(4),o=n(52);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},104:function(t,e){t.exports=n},11:function(t,e){t.exports={}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1394:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(21),o=n.n(r),i=n(1395);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldReadTerms=o()(i.a,t)},e.default=i.a},1395:function(t,e,n){"use strict";function r(t){c||n(1396)}var o=n(821),i=n(1397),s=n(7),c=!1,u=r,a=Object(s.a)(o.a,i.a,i.b,!1,u,"data-v-21ba486f",null);a.options.__file="src\\components\\GoldReadTerms\\src\\index.vue",e.a=a.exports},1396:function(t,e){},1397:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,center:!1}},[n("div",{staticClass:"readterms-title",attrs:{slot:"header"},slot:"header"},[t.$slots.myheader?[t._t("myheader")]:[t.readTermsLength>1?n("span",{ref:"prevbtn",staticClass:"prev h-btn",on:{click:t.handlePrev}},[t._v("上一页")]):t._e(),t._v(" "),n("span",[t._v("请阅读以下内容"),t.readTermsLength>1?n("span",[t._v("("+t._s(t.curIndex)+"/"+t._s(t.readTermsLength)+")")]):t._e()]),t._v(" "),t.readTermsLength>1?n("span",{ref:"nextbtn",staticClass:"next h-btn",on:{click:t.handleNext}},[t._v("下一页")]):t._e()]],2),t._v(" "),t.isVisible?n("scroll-zoom",{ref:"scrollZoom",staticClass:"scroll-zoom",attrs:{termsInfo:t.termsInfo,forceRead:t.forceRead,docIndex:t.curIndex-1,brandColor:t.brandColor},on:{canINext:t.canINext}}):t._e(),t._v(" "),t.$slots.footer?n("div",[t._t("footer")],2):[n("div",{staticClass:"bottom-btn-placeholder"}),t._v(" "),n("div",{staticClass:"readterms-btns"},[n("div",{staticClass:"f-btn left",on:{click:t.cancel}},[n("p",[t._v(t._s(t.cancelButtonText))])]),t._v(" "),n("div",{staticClass:"f-btn right",style:{background:t.brandColor},on:{click:t.confirm}},[n("p",[t._v(t._s(t.comfirmText))]),t._v(" "),t.$slots.fIcon?t._t("fIcon"):t._e()],2)])]],2)},o=[];r._withStripped=!0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(19);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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},178:function(t,e){t.exports=r},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}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},21:function(e,n){e.exports=t},22:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(8),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(47),s=n(5),c=n(11),u=n(49),a=n(25),f=n(51),l=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,x,v,m){u(n,e,p);var y,g,b,_=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",I="values"==x,L=!1,S=t.prototype,C=S[l]||S["@@iterator"]||x&&S[x],j=C||_(x),O=x?I?_("entries"):j:void 0,w="Array"==e?S.entries||C:C;if(w&&(b=f(w.call(new t)))!==Object.prototype&&b.next&&(a(b,T,!0),r||"function"==typeof b[l]||s(b,l,h)),I&&C&&"values"!==C.name&&(L=!0,j=function(){return C.call(this)}),r&&!m||!d&&!L&&S[l]||s(S,l,j),c[e]=j,c[T]=h,x)if(y={values:I?j:_("values"),keys:v?j:_("keys"),entries:O},m)for(g in y)g in S||i(S,g,y[g]);else o(o.P+o.F*(d||L),e,y);return y}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(8),o=n(12),i=n(40)(!1),s=n(20)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),u=0,a=[];for(n in c)n!=s&&r(c,n)&&a.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(a,n)||a.push(n));return a}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(12),o=n(31),i=n(41);t.exports=function(t){return function(e,n,s){var c,u=r(e),a=o(u.length),f=i(s,a);if(t&&n!=n){for(;a>f;)if((c=u[f++])!=c)return!0}else for(;a>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},41:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},42:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},43:function(t,e,n){"use strict";var r=n(48)(!0);n(33)(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})})},45:function(t,e,n){var r=n(4),o=n(50),i=n(28),s=n(20)("IE_PROTO"),c=function(){},u=function(){var t,e=n(22)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[s]=t):n=u(),void 0===e?n:o(n,e)}},46:function(t,e,n){n(59);for(var r=n(0),o=n(5),i=n(11),s=n(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 a=c[u],f=r[a],l=f&&f.prototype;l&&!l[s]&&o(l,s,a),i[a]=i.Array}},47:function(t,e,n){t.exports=n(5)},48:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,s,c=String(o(e)),u=r(n),a=c.length;return u<0||u>=a?t?"":void 0:(i=c.charCodeAt(u),i<55296||i>56319||u+1===a||(s=c.charCodeAt(u+1))<56320||s>57343?t?c.charAt(u):i:t?c.slice(u,u+2):s-56320+(i-55296<<10)+65536)}}},49:function(t,e,n){"use strict";var r=n(45),o=n(23),i=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),c=s.length,u=0;c>u;)r.f(t,n=s[u++],e[n]);return t}},51:function(t,e,n){var r=n(8),o=n(29),i=n(20)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},52:function(t,e,n){var r=n(42),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var r=n(60),o=n(58),i=n(11),s=n(12);t.exports=n(33)(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,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},7:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var a="function"==typeof t?t.options:t;e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId=i);var f;if(s?(f=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=f):o&&(f=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(a.functional){a._injectStyles=f;var l=a.render;a.render=function(t,e){return f.call(e),l(t,e)}}else{var d=a.beforeCreate;a.beforeCreate=d?[].concat(d,f):[f]}return{exports:t,options:a}}e.a=r},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},821:function(t,e,n){"use strict";var r=n(99),o=n.n(r),i=n(104),s=n.n(i),c=n(178),u=n.n(c),a=n(32),f=n.n(a);e.a={name:"ActGoldReadTerms",mixins:[f.a],components:{scrollZoom:u.a,ActGoldLayer:s.a},data:function(){return{curIndex:1,isReadEnd:[],termsInfo:[]}},computed:{readTermsLength:function(){return this.readTerms.length},bookTitle:function(){var t=this.termsInfo[this.curIndex-1]&&this.termsInfo[this.curIndex-1].title;return t?"《"+t+"》":""},comfirmText:function(){var t="已完整阅读并确认"+this.bookTitle;return this.confirmButtonText?this.confirmButtonText:t}},props:{readTerms:{type:Array,default:function(){return[]}},forceRead:{type:Boolean,default:!0},confirmButtonText:{type:String,default:""},cancelButtonText:{type:String,default:"暂不同意"},brandColor:{type:String,default:"#8c7fee"},beforeClose:{type:Function,default:null},beforePreOrNext:{type:Function,default:null}},methods:{getTerms:function(t){for(var e=[],n=t,r=Array.isArray(n),i=0,n=r?n:o()(n);;){var s;if(r){if(i>=n.length)break;s=n[i++]}else{if(i=n.next(),i.done)break;s=i.value}var c=s,u={type:Number(c.type),title:c.title,urls:c.urls,innerHTML:c.innerHTML||"",souceFile:c.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!0,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(u)}this.termsInfo=e},showDoc:function(t){var e=this;this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},changeHeaderBtnsColor:function(t){var e=this.$refs,n=e.prevbtn,r=e.nextbtn;1==~~t&&~~t<this.readTermsLength?(n&&(n.style.color=""),r&&(r.style.color=this.brandColor)):~~t>1&&~~t<this.readTermsLength?(n&&(n.style.color=this.brandColor),r&&(r.style.color=this.brandColor)):~~t>1&&~~t===this.readTermsLength&&(n&&(n.style.color=this.brandColor),r&&(r.style.color=""))},handleActionBeforePreOrNext:function(t,e){function n(t){o.curIndex>1&&(o.curIndex=i-1)}function r(t){o.curIndex<o.readTermsLength&&o.next(t)}var o=this,i=~~this.curIndex,s=this.termsInfo[i-1];this.beforePreOrNext?this.beforePreOrNext({action:t,next:function(o){!1!==o&&("prevClick"===t&&n(e),"nextClick"===t&&r(e))},curTermsInfo:s,curIndex:o.curIndex,readTermsLength:o.readTermsLength,isLast:o.curIndex===o.readTermsLength,curIsReadEnd:o.isReadEnd[o.curIndex-1]}):("prevClick"===t&&n(e),"nextClick"===t&&r(e))},handlePrev:function(t){this.handleActionBeforePreOrNext("prevClick",t)},handleNext:function(t){this.handleActionBeforePreOrNext("nextClick",t)},next:function(t){var e=~~this.curIndex;!this.forceRead&&this.canINext(!0),this.forceRead&&this.isReadEnd[e-1]||!this.forceRead?e<this.readTermsLength&&(this.curIndex=e+1,this.showDoc(e)):this.forceRead&&!this.isReadEnd[e-1]&&this.showToast("请观看至页面底部,完整阅读全部内容")},getCurTermInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$emit("getCurTermInfo",t)},canINext:function(t){this.readTermsLength&&(this.isReadEnd[this.curIndex-1]=t,this.getCurTermInfo({curIndex:this.curIndex,isReadEnd:this.isReadEnd[this.curIndex-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[this.curIndex-1]}))},confirm:function(t){this.forceRead&&!this.isReadEnd[this.readTermsLength-1]&&this.curIndex<=this.readTermsLength||!this.forceRead&&this.curIndex<this.readTermsLength?this.next(t):this.handleAction("confirm",t)},cancel:function(t){this.handleAction("cancel",t)},handleAction:function(t,e){var n=this,r=~~this.curIndex,o=this.termsInfo[r-1];this.beforeClose?this.beforeClose(t,function(r){!1!==r&&(n.hide(),n.$emit(t,e))},o):(this.hide(),this.$emit(t,e))},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},preventMove:function(t){t._prevent=!0},reset:function(){this.curIndex=1,this.isReadEnd=new Array(this.readTermsLength).fill(!1)}},mounted:function(){this.changeHeaderBtnsColor(this.curIndex)},watch:{isVisible:function(t){t&&(this.reset(),this.getTerms(this.readTerms),this.showDoc(0),this.getCurTermInfo({curIndex:this.curIndex,isReadEnd:this.isReadEnd[this.curIndex-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[this.curIndex-1]}),!this.forceRead&&1==~~this.readTermsLength&&this.canINext(!0))},curIndex:function(t){this.changeHeaderBtnsColor(t),this.getCurTermInfo({curIndex:t,isReadEnd:this.isReadEnd[t-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[t-1]})}}}},9:function(t,e,n){var r=n(4),o=n(36),i=n(34),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)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}},99:function(t,e,n){t.exports={default:n(101),__esModule:!0}}})});