UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 61.3 kB
!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/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/BScroll/index.js"],e):"object"==typeof exports?exports.GoldFinanceChartV3=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js")):t.GoldFinanceChartV3=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/BScroll/index.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=2262)}({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(31)("wks"),i=n(24),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(4),i=n(41),o=n(38),a=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(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}},100:function(t,e,n){"use strict";var r=n(9),i=n(2),o=n(0),a=n(64),s=n(67);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},101:function(t,e,n){"use strict";var r=n(9),i=n(44),o=n(66);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}})},11:function(t,e){t.exports={}},111:function(t,e,n){t.exports={default:n(117),__esModule:!0}},117:function(t,e,n){var r=n(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1274:function(t,e,n){"use strict";var r=n(71),i=n.n(r),o=n(792),a=n.n(o),s=n(92),c=n.n(s),u=n(130),l=n.n(u),f=n(262),h=n.n(f),p=n(263),d=n.n(p),v=n(2264),b=n(2282),m=n(2285),g=n(39),y=(n.n(g),{});e.a={name:"ActGoldFinanceChartV3",components:{GoldBenefit:v.a,GoldCostTable:b.a},props:{financeInfo:{type:Object,default:function(){return{}}},requestUrl:{type:String,default:"/buy/getAnnuityCostTable"},requestParams:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}},auroraOptions:{type:Object,default:function(){return{}}},productId:{type:String||Number,default:""},groupId:{type:String||Number,default:""},aurora:{type:Object,default:function(){return null}},auroraRender:{type:Object,default:function(){return null}},isCps:{type:Boolean,default:!0}},computed:{genes:function(){return this.financeInfo&&this.financeInfo.genes},sourceModule:function(){if(this.financeInfo&&this.financeInfo.insureAttribute&&this.financeInfo.insureAttribute.attrModules){return{insureAttribute:{attrModules:Object(m.b)(this.genes,this.financeInfo.insureAttribute.attrModules)}}}return null},tableId:function(){return this.financeInfo&&this.financeInfo.tableId?this.financeInfo.tableId:this.genes&&this.genes.tableId?this.genes.tableId:this.financeInfo&&this.financeInfo.insureAttribute&&this.financeInfo.insureAttribute.insuranceInfo&&this.financeInfo.insureAttribute.insuranceInfo.costTables&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0]&&this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0].id?this.financeInfo.insureAttribute.insuranceInfo.costTables.tables[0].id:""},annuity:function(){return this.financeInfo&&this.financeInfo.annuity},genesRules:function(){return this.annuity&&this.annuity.tplVariables||{}},costSlideMin:function(){var t=this.costTableInfo.rows&&this.costTableInfo.rows[0];return~~(t&&t[1])||0},costSlideMax:function(){var t=this.costTableInfo.rows&&this.costTableInfo.rows[this.costTableInfo.rows.length-1];return~~(t&&t[1])||106},costSlideRealVar:function(){return this.costSlideVar<this.costSlideMin?this.costSlideMin:this.costSlideVar>this.costSlideMax?this.costSlideMax:this.costSlideVar}},data:function(){return{benefitLoading:!0,costTableVisible:!1,realAurora:null,realAuroraRender:null,benefitElems:[],moduleData:null,costTableInfo:{},costSlideVar:-1}},methods:{onBenefitChange:function(t){var e=this;return d()(h.a.mark(function n(){return h.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:e.getModuleData(),e.costSlideVar=t,e.getBenefitElems();case 3:case"end":return n.stop()}},n,e)}))()},getModuleData:function(){var t=this;return d()(h.a.mark(function e(){var n;return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.realAurora.getModulesData({cleanKey:!0});case 2:n=e.sent,t.moduleData=Object(m.a)(t.genes,n);case 4:case"end":return e.stop()}},e,t)}))()},getBenefitElems:function(){var t=this;return d()(h.a.mark(function e(){var n,r,i,o,a,s,u,f,p,d,v,b,y,x,_,w,T,S,O,j,C,k,A,E,I,M,P,L,V,R,N,D;return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.realAurora.getRenderData();case 2:if(n=e.sent,r=n.benefitDemo,console.log(t.realAurora.getRenderData(),"renderdata"),!r||!r._elements){e.next=44;break}i=[],o=t.moduleData,a=o.plan,s=void 0===a?{}:a,u=o.insureds,f=void 0===u?[]:u,p=f[0],d=void 0===p?{}:p,v=r._elements,b=Array.isArray(v),y=0,v=b?v:l()(v);case 10:if(!b){e.next=16;break}if(!(y>=v.length)){e.next=13;break}return e.abrupt("break",26);case 13:x=v[y++],e.next=20;break;case 16:if(y=v.next(),!y.done){e.next=19;break}return e.abrupt("break",26);case 19:x=y.value;case 20:if(_=x,1!=~~_.display||18!=~~_.type){e.next=24;break}return-1===t.costSlideVar&&(t.costSlideVar=~~_.defaultValue),e.abrupt("break",26);case 24:e.next=10;break;case 26:w=r._elements,T=Array.isArray(w),S=0,w=T?w:l()(w);case 27:if(!T){e.next=33;break}if(!(S>=w.length)){e.next=30;break}return e.abrupt("break",41);case 30:O=w[S++],e.next=37;break;case 33:if(S=w.next(),!S.done){e.next=36;break}return e.abrupt("break",41);case 36:O=S.value;case 37:j=O,1==~~j.display&&(C=t.costTableInfo.rows,k=t.costSlideRealVar,A=t.genesRules,E=j.element_attr?JSON.parse(j.element_attr):{},I=E.decimal||1,M={visible:!0,range:j.attributeValues||[],type:j.type,key:j.key,site:j.site,attr:E,value:j.defaultValue},Object(g.isString)(j.defaultValue)&&(P=17==~~j.type?j.defaultValue:Object(m.c)(j.defaultValue,t.theme),L=void 0!==M.attr.isHideEqZero&&"1"===M.attr.isHideEqZero?["0",0]:[],V=Object(m.d)({insured:d,plan:s,costSlideVar:k,costTable:C,genesValue:P,genesRules:A,dontValue:L,fixedNum:I}),"null"!==V?M.value=V:M.visible=!1),18==~~j.type&&(R=M.range,M.range[0]&&Object(g.isString)(M.range[0])&&(N=M.range[0],(D=Object(m.d)({insured:d,plan:s,costSlideVar:k,costTable:C,genesValue:N,genesRules:A}))&&(R=c()({},R,JSON.parse(D)))),M.range=[R],M.value=k+""),i.push(M));case 39:e.next=27;break;case 41:console.log(i,"benefitElems"),t.benefitElems=i,t.benefitLoading=!1;case 44:case"end":return e.stop()}},e,t)}))()},onElementChange:function(t){var e=this;return d()(h.a.mark(function n(){var r,i;return h.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.realAurora.getSiteData({key:"plan.interest",site:["plan"],allAttr:!0});case 2:r=n.sent,i=Object(m.e)(t,r),e.realAurora.changeValues({changeData:i}).catch(function(t){Object(g.isError)(t)&&e.$throw(t)});case 5:case"end":return n.stop()}},n,e)}))()},updatePage:function(){var t=this;return d()(h.a.mark(function e(){return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getModuleData();case 2:return e.next=4,t.getCostTableInfo().catch(function(t){console.log(t)});case 4:t.getBenefitElems();case 5:case"end":return e.stop()}},e,t)}))()},getCostTableInfo:function(){var t=this;return d()(h.a.mark(function e(){var n,r,o,s,u,l,f,p,d,v,b,m,g,x,_,w,T,S,O;return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.genes,r=n.groupId,o=n.common,s=void 0===o?{}:o,u=t.moduleData,l=u.plan,f=void 0===l?{}:l,p=u.insureds,d=void 0===p?[]:p,v=u.benefitDemo,b=void 0===v?{}:v,m=u.applicant,g=void 0===m?{}:m,x=d[0],_=void 0===x?{}:x,w=c()({genes:{groupId:r,common:s,insured:_,plan:f,benefitDemo:b,applicant:g},tableId:t.tableId},t.requestParams),T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a()(t).join("_")},S=T(s)+"_"+T(_)+"_"+T(f)+"_"+T(g)+"_"+T(b)+"_"+t.tableId,!y[S]){e.next=9;break}return t.costTableInfo=y[S],e.abrupt("return",i.a.resolve(y[S]));case 9:return t.benefitLoading=!0,e.next=12,t.$fetch(t.requestUrl,w).then(function(e){var n=e.ret,r=e.data,o=e.errmsg;return 0===n?(t.costTableInfo=r,y[S]=r,t.$emit("changeCostTable",r),i.a.resolve(r)):(t.costTableInfo={},i.a.reject(o))}).catch(function(t){return i.a.reject(t||"系统繁忙,请稍后再试")});case 12:return O=e.sent,e.abrupt("return",O);case 14:case"end":return e.stop()}},e,t)}))()},showTable:function(){this.costTableVisible=!0},initAurora:function(){var t=this;if(this.aurora)return this.realAurora=this.aurora,void(this.realAuroraRender=this.auroraRender);if(this.sourceModule){var e=c()({pageName:"financeComponent",standardData:this.sourceModule,contactInfo:{open:!1},nextTick:this.$nextTick,isCache:!1,render:function(e){var n=e.renderData;t.realAuroraRender=n}},this.auroraOptions);window.AuroraV2.create(["aurora-plugin-deal"]).then(function(n){t.realAurora=n,t.realAurora.$on("render",function(){e.render&&e.render({renderData:new Date})}),t.realAurora.init(e).catch(function(t){console.log(t)})})}}},mounted:function(){this.initAurora()},watch:{auroraRender:function(){this.updatePage()},realAuroraRender:function(){this.updatePage()}}}},1275:function(t,e,n){"use strict";var r=n(2266),i=n(2269),o=n(2272),a=n(2275),s=n(2278),c=n(39),u=(n.n(c),{16:"benefitTitle",17:"benefitAmount",18:"benefitHeader",19:"benefitText",20:"benefitSelect"});e.a={name:"ActGoldNewBenefit",components:{benefitTitle:r.a,benefitAmount:i.a,benefitHeader:o.a,benefitText:a.a,benefitSelect:s.a},props:{elements:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},computed:{type:function(){return this.newElements.map(function(t){return Number(t.type)})},components:function(){return this.type.map(function(t){return u[t]})}},watch:{elements:{handler:function(t,e){var n=this;if(t&&t.length){this.newElements=Object(c.deepCopy)(t);var r=this.newElements.findIndex(function(t){return 18==~~t.type});if(r>-1){var i=this.newElements.splice(r,1);this.newElements.unshift(i[0])}this.$nextTick(function(){n.isOperate=!1})}},immediate:!0}},data:function(){return{newElements:[],isOperate:!1}},methods:{showTable:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["showTable"].concat(e))},updateAge:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["updateAge"].concat(e))},onElementChange:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["onElementChange"].concat(e))}}}},1276:function(t,e,n){"use strict";e.a={name:"BenefitTitle",props:{element:{type:Object,default:function(){return{}}}}}},1277:function(t,e,n){"use strict";var r=n(797),i=n.n(r);e.a={name:"BanefitAmount",filters:{fixedTwoNumber:function(t){if(!t)return 0;var e=t.split("."),n=e[0],r=n.length,o=i()(n);if(r>3)for(var a=r-3;a>0;a-=3)o.splice(a,0,","),r+=1;if(String(t).indexOf(".")>-1){var s=e[1];return o.join("")+"."+s}return o.join("")}},props:{element:{type:Object,default:function(){return{}}},loading:{type:Boolean,default:!1}}}},1278:function(t,e,n){"use strict";var r={"/":"titleqm_sx","/my":"titleqm_xq","/addmore":"titleqm_zj"};e.a={name:"BenefitSlider",data:function(){return{age:18,selectedIndex:[0],showData:[],trackName:r}},props:{element:{type:Object,default:function(){return{}}},path:{type:String,default:""},theme:{type:Object,default:function(){return{}}},isOperate:{type:Boolean,default:!1}},computed:{hasQuesMask:function(){return this.element.attr.hasQuesMask&&~~this.element.attr.hasQuesMask}},methods:{showTable:function(){this.$emit("showTable")},init:function(t){var e=this;this.showData=[];for(var n=Number(t.range[0].step)||Number(t.attr.step)||1,r=Number(t.range[0].min)||Number(t.attr.min)||0,i=Number(t.range[0].max)||Number(t.attr.max)||0,o=r;o<=i;o+=n){var a={text:""+o,value:o};this.showData.push(a)}var s=Number(t.value),c=Math.abs(s-r),u=Math.abs(i-s);if(s>=r&&s<=i)this.age=s;else if(r&&i){var l=u>c?r:i;if(this.age===l)return;this.age=l,this.$emit("updateAge",this.age)}var f=this.showData.findIndex(function(t){return e.age===t.value});this.selectedIndex=[f]},chooseAge:function(){this.$createPicker({data:[this.showData],onSelect:this.selectAge,selectedIndex:this.selectedIndex,confirmColor:this.theme.btnColor||""}).show()},selectAge:function(t,e){this.age!==~~t[0]&&(this.age=~~t[0],this.selectedIndex=e,this.$emit("update:isOperate",!0),this.$emit("updateAge",this.age))}},watch:{element:{handler:function(t,e){t&&(this.isOperate||this.init(t))},immediate:!0}}}},1279:function(t,e,n){"use strict";e.a={name:"BenefitText",props:{element:{type:Object,default:function(){return{}}}}}},1280:function(t,e,n){"use strict";e.a={name:"BenefitSelect",props:{element:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}},path:{type:String,default:""}},data:function(){return{index:0,picker:null,trackName:{"/":"level_sx","/my":"level_xq","/addmore":"level_zj"}}},methods:{exchange:function(){this.picker||(this.picker=this.$createPicker({data:[this.element.range],selectedIndex:[this.index],onSelect:this.selectExchange,confirmColor:this.theme.brandColor||""})),this.picker.show()},selectExchange:function(t){var e=t[0],n=this.element.range.findIndex(function(t){return t.value===e});this.index=n,this.$emit("onElementChange",[{key:this.element.key,value:e,site:this.element.site}])}},mounted:function(){var t=this.element.value,e=this.element.range.findIndex(function(e){return e.value===t});this.index=e}}},1281:function(t,e,n){"use strict";var r=n(196),i=n.n(r),o=n(39);n.n(o);e.a={name:"CostTable",props:{visible:{type:Boolean,default:!1},tables:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}},productId:{type:String||Number,default:""},groupId:{type:String||Number,default:""}},data:function(){return{rightTitleScroller:null,newTable:{},tableScroller:null,rightTableScroller:null,id:1,buttons:[{id:1,name:"全部展示"},{id:2,name:"5周岁倍数"},{id:3,name:"10周岁倍数"}]}},computed:{title:function(){return this.tables.title||""},mainActive:function(){var t=this.theme.brandColor;if(t){return{backgroundColor:Object(o.hexToRgb)(t,.1)}}return{}},imgActive:function(){return this.theme.brandColor?{backgroundColor:this.theme.brandColor}:{}},textActive:function(){var t=this.theme.brandColor;if(t){return{color:Object(o.hexToRgb)(t,1)}}return{}},isSpecialGroup:function(){return["173934"].includes(String(this.groupId))||["342750","342817","342862","343407"].includes(String(this.productId))},styleOption:function(){return this.theme.brandColor?{backgroundColor:this.theme.brandColor}:{}},tableHeadDesc:function(){return 330247==~~this.productId?"基于您所选择的投保信息,保单利益详情如下:":343026==~~this.productId?"特殊说明:<br/> 1、本利益供参考,具体以保险合同为准 <br/>2、养老年金的展示金额为保单年度末金额":[343142,343049].includes(~~this.productId)?"基于您所选择的投保信息,保单利益详情如下:<br/>演示表仅演示年金主险,不包含附加险(投保人豁免、万能)":343145==~~this.productId?"基于您所选择的投保信息,保单利益详情如下:<br/>演示表仅演示终身寿主险,不包含附加险(投保人豁免、万能)":"基于您所选择的投入信息,保单利益详情如下:"},tableHeadTips:function(){return[342862,342817].includes(~~this.productId)?"特别说明:演示不包含万能险;月领金额为保单年度末金额":[342750].includes(~~this.productId)?"特别说明:月领展示金额为保单年度末金额":[343388].includes(~~this.productId)?"特别说明:利益演示为按年领取金额,仅演示至104周岁":""},leftTitleArr:function(){return this.newTable&&this.newTable.cols&&this.newTable.cols.length?this.newTable.cols.slice(0,2):[]},rightTitleArr:function(){if(this.newTable&&this.newTable.cols&&this.newTable.cols.length){var t=this.newTable.cols.length;return this.newTable.cols.slice(2,t)}return[]},leftDisplayArr:function(){return this.newTable&&this.newTable.display&&this.newTable.display.length?this.newTable.display.slice(0,2):[]},rightDisplayArr:function(){if(this.newTable&&this.newTable.display&&this.newTable.display.length){var t=this.newTable.display.length;return this.newTable.display.slice(2,t)}return[]},leftTable:function(){if(this.newTable){var t=[];return this.newTable.rows&&this.newTable.rows.forEach(function(e){var n=[];e.forEach(function(t,e){e<2&&n.push(t)}),t.push(n)}),t}return[]},rightTable:function(){if(this.newTable){var t=[];return this.newTable.rows&&this.newTable.rows.forEach(function(e){var n=[];e.forEach(function(t,e){e>1&&n.push(t)}),t.push(n)}),t}return[[]]}},methods:{getTdValue:function(t){return this.isSpecialGroup?parseFloat((Math.round(100*t)/100).toString()):parseFloat((Math.round(100*t)/100).toString()).toFixed(2)},showResCol:function(t,e){var n="left"===e?this.leftDisplayArr:this.rightDisplayArr;if(n&&n.length)return void 0!==n[t]&&1==~~n[t]},initScroll:function(){this.rightTitleScroller&&this.rightTitleScroller.refresh(),this.tableScroller&&this.tableScroller.refresh(),this.rightTableScroller&&this.rightTableScroller.refresh(),this.tableScroller.scrollTo(0,0,0)},showTable:function(t){this.id=t,1===t?this.showAllTable():2===t?this.showFiveTimes():this.showTenTimes()},showAllTable:function(){this.newTable=Object(o.deepCopy)(this.tables),this.initScroll()},showFiveTimes:function(){var t=this.tables.rows,e=[];t.forEach(function(t){t.forEach(function(n,r){1===r&&n%5==0&&e.push(t)})}),this.newTable.rows=e,this.initScroll()},showTenTimes:function(){var t=this.tables.rows,e=[];t.forEach(function(t){t.forEach(function(n,r){1===r&&n%10==0&&e.push(t)})}),this.newTable.rows=e,this.initScroll()},cancel:function(){this.$emit("cancelCost")},preventMove:function(t){t._prevent=!0}},watch:{visible:function(t,e){var n=this;if(t){var r=this.$refs.rightTitle,a=this.$refs.tableWrapper,s=this.$refs.rightTable;r&&this.$nextTick(function(){n.rightTitleScroller?n.rightTitleScroller.refresh():(n.rightTitleScroller=new i.a(r,{scrollX:!0,bounce:!1,probeType:3,momentum:!1}),n.rightTitleScroller.on("scroll",function(t){var e=t.x,r=t.y;Object(o.throttle)(n.rightTableScroller.scrollTo(e,r,0))}))}),a&&this.$nextTick(function(){n.tableScroller?n.tableScroller.refresh():n.tableScroller=new i.a(a,{scrollY:!0,scrollX:!1})}),s&&this.$nextTick(function(){n.rightTableScroller?n.rightTableScroller.refresh():(n.rightTableScroller=new i.a(s,{scrollY:!0,scrollX:!0,bounce:!1,probeType:2,momentum:!1}),n.rightTableScroller.on("scroll",function(t){var e=t.x,r=t.y;n.rightTitleScroller.scrollTo(e,r,0)}))})}},tables:function(t,e){t&&(this.newTable=Object(o.deepCopy)(t))}}}},13:function(t,e,n){var r=n(34),i=n(15);t.exports=function(t){return r(i(t))}},130:function(t,e,n){t.exports={default:n(144),__esModule:!0}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},144:function(t,e,n){n(50),n(48),t.exports=n(145)},145:function(t,e,n){var r=n(4),i=n(56);t.exports=n(2).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},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 n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(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,i){return t.call(e,n,r,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,e){t.exports=n},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(31)("keys"),i=n(24);t.exports=function(t){return r[t]||(r[t]=i(t))}},22:function(t,e,n){var r=n(6),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2262:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(26),i=n.n(r),o=n(2263);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldFinanceChartV3=i()(o.a,t)},e.default=o.a},2263:function(t,e,n){"use strict";var r=n(1274),i=n(2286),o=n(7),a=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);a.options.__file="src\\components\\GoldFinanceChartV3\\src\\index.vue",e.a=a.exports},2264:function(t,e,n){"use strict";function r(t){s||n(2265)}var i=n(1275),o=n(2281),a=n(7),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-3dafa98a",null);u.options.__file="src\\components\\GoldFinanceChartV3\\src\\benefit\\index.vue",e.a=u.exports},2265:function(t,e){},2266:function(t,e,n){"use strict";function r(t){s||n(2267)}var i=n(1276),o=n(2268),a=n(7),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-7fc2748a",null);u.options.__file="src\\components\\GoldFinanceChartV3\\src\\benefit\\components\\title.vue",e.a=u.exports},2267:function(t,e){},2268: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""!==t.element.value?n("p",[n("span",{domProps:{innerHTML:t._s(t.element.value)}})]):t._e()},i=[];r._withStripped=!0},2269:function(t,e,n){"use strict";function r(t){s||n(2270)}var i=n(1277),o=n(2271),a=n(7),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-f5df31ac",null);u.options.__file="src\\components\\GoldFinanceChartV3\\src\\benefit\\components\\newamount.vue",e.a=u.exports},2270:function(t,e){},2271: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("p",{staticClass:"price"},[t.loading?n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir3",color:"red"}}):[t._v("\n "+t._s(t._f("fixedTwoNumber")(t.element.value))+"\n ")],t._v(" "),n("span",{staticClass:"block"})],2)},i=[];r._withStripped=!0},2272:function(t,e,n){"use strict";function r(t){s||n(2273)}var i=n(1278),o=n(2274),a=n(7),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-5abe6e4b",null);u.options.__file="src\\components\\GoldFinanceChartV3\\src\\benefit\\components\\header.vue",e.a=u.exports},2273:function(t,e){},2274: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""!==t.element.value?n("div",{staticClass:"option"},[n("div",{staticClass:"left-side"},[n("span",{staticClass:"choose-before"},[t._v("至")]),t._v(" "),n("div",{staticClass:"choose-box",on:{click:t.chooseAge}},[n("span",[t._v(t._s(t.age)+"周岁")]),n("div",{staticClass:"choose-pic"})]),t._v(" "),n("span",{staticClass:"choose-after"},[t._v("可获得")])]),t._v(" "),1===t.hasQuesMask?n("div",{staticClass:"right-side"},[n("button",{staticClass:"fin-button",style:{background:t.theme.brandColor},on:{click:t.showTable}},[t._v("\n 利益演示表\n ")])]):t._e()]):t._e()},i=[];r._withStripped=!0},2275:function(t,e,n){"use strict";function r(t){s||n(2276)}var i=n(1279),o=n(2277),a=n(7),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-a9619b2a",null);u.options.__file="src\\components\\GoldFinanceChartV3\\src\\benefit\\components\\text.vue",e.a=u.exports},2276:function(t,e){},2277: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",[n("p",{staticClass:"desc",domProps:{innerHTML:t._s(t.element.value)}})])},i=[];r._withStripped=!0},2278:function(t,e,n){"use strict";function r(t){s||n(2279)}var i=n(1280),o=n(2280),a=n(7),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-fba81d8c",null);u.options.__file="src\\components\\GoldFinanceChartV3\\src\\benefit\\components\\select.vue",e.a=u.exports},2279:function(t,e){},2280: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",{staticClass:"gears"},[n("p",[t._v("\n "+t._s(t.element.range[t.index].textPrefix)+"\n "),n("span",{style:{color:t.theme.brandColor}},[t._v(" "+t._s(t.element.range[t.index].text)+" ")]),t._v("\n "+t._s(t.element.range[t.index].textSuffix)+"\n ")]),t._v(" "),n("a",{staticClass:"btn-exchange",style:{color:t.theme.brandColor,borderColor:t.theme.brandColor},attrs:{href:"javascript:;"},on:{click:t.exchange}},[t._v("切换")])])},i=[];r._withStripped=!0},2281: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",{staticClass:"benefit"},[n("div",{staticClass:"benefit-bg"}),t._v(" "),n("div",{staticClass:"benefit-content"},t._l(t.newElements,function(e,r){return n(t.components[r],{key:r,tag:"component",class:{"visible-hide":!e.visible},attrs:{element:e,loading:t.loading,theme:t.theme,path:t.$route.path,isOperate:t.isOperate},on:{"update:isOperate":function(e){t.isOperate=e},"update:is-operate":function(e){t.isOperate=e},showTable:t.showTable,updateAge:t.updateAge,onElementChange:t.onElementChange}})}),1)])},i=[];r._withStripped=!0},2282:function(t,e,n){"use strict";function r(t){s||n(2283)}var i=n(1281),o=n(2284),a=n(7),s=!1,c=r,u=Object(a.a)(i.a,o.a,o.b,!1,c,"data-v-5ab45684",null);u.options.__file="src\\components\\GoldFinanceChartV3\\src\\costTable.vue",e.a=u.exports},2283:function(t,e){},2284: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",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"layer insured_layer",on:{touchmove:t.preventMove,click:function(e){return e.stopPropagation(),t.cancel.apply(null,arguments)}}},[n("div",{staticClass:"layer_box insured_box layer_animate iphonex_padding cost"},[t._m(0),t._v(" "),n("div",{staticClass:"description"},[t.title?[n("p",{staticClass:"cost-title"},[t._v("\n "+t._s(t.title)+"\n ")])]:[n("p",{staticClass:"cost-table-head",domProps:{innerHTML:t._s(t.tableHeadDesc)}}),t._v(" "),t.tableHeadTips?n("p",{staticClass:"cost-table-tips"},[t._v("\n "+t._s(t.tableHeadTips)+"\n ")]):t._e()]],2),t._v(" "),t.tables.cols&&t.tables.rows&&t.tables.rows.length?[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"title-wrapper"},[n("div",{staticClass:"left-title"},[t._l(t.leftTitleArr,function(e,r){return[t.showResCol(r,"left")?n("span",{key:"head-"+r,staticClass:"table-item",style:t.styleOption},[t._v("\n "+t._s(e)+"\n ")]):t._e()]})],2),t._v(" "),n("div",{ref:"rightTitle",staticClass:"right-title"},[n("div",{ref:"rightTitleWrapper",staticClass:"right-title-wrapper"},[t._l(t.rightTitleArr,function(e,r){return[t.showResCol(r,"right")?n("span",{key:"head-"+r,staticClass:"table-item",style:t.styleOption},[t._v("\n "+t._s(e)+"\n ")]):t._e()]})],2)])]),t._v(" "),n("div",{ref:"tableWrapper",staticClass:"table-wrapper"},[n("div",{staticClass:"table"},[n("div",{staticClass:"left-table"},[n("table",{staticClass:"table-body",attrs:{border:"0"}},[t.leftTable&&t.leftTable.length?n("tbody",t._l(t.leftTable,function(e,r){return n("tr",{key:"tr-"+r,staticClass:"table-tr"},[t._l(e,function(e,i){return[t.showResCol(i,"left")?n("td",{key:"td-"+r+"-"+i,staticClass:"table-item"},[t._v("\n "+t._s(e)+"\n ")]):t._e()]})],2)}),0):t._e()])]),t._v(" "),n("div",{ref:"rightTable",staticClass:"right-table"},[n("table",{staticClass:"table-body",attrs:{border:"0"}},[t.rightTable&&t.rightTable.length?n("tbody",t._l(t.rightTable,function(e,r){return n("tr",{key:"tr-"+r,staticClass:"table-tr"},[t._l(e,function(e,i){return[t.showResCol(i,"right")?n("td",{key:"td-"+r+"-"+i,staticClass:"table-item"},[t._v("\n "+t._s(t.getTdValue(e))+"\n ")]):t._e()]})],2)}),0):t._e()])])])])])]:[n("div",{staticClass:"no-data"},[t._v("\n 暂时无法展示\n ")])],t._v(" "),t.tables.cols&&t.tables.rows&&t.tables.rows.length?n("div",{staticClass:"costButton"},t._l(t.buttons,function(e){return n("div",{key:e.id,staticClass:"button",style:t.id===e.id?t.mainActive:{},on:{click:function(n){return n.stopPropagation(),t.showTable(e.id)}}},[n("span",{staticClass:"check-img",style:t.id===e.id?t.imgActive:{}}),t._v(" "),n("span",{staticClass:"button-text",style:t.id===e.id?t.textActive:{}},[t._v("\n "+t._s(e.name)+"\n ")])])}),0):t._e()],2)])},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"head-title"},[n("span",{staticClass:"layer-close"}),t._v(" "),n("p",{staticClass:"main-title"},[t._v("\n 保单利益演示表\n ")])])}];r._withStripped=!0},2285:function(t,e,n){"use strict";function r(t,e){if(/(\d{4})(\d{2})(\d{2})/.test(t)){var n=0;e&&8===e.toString().length&&(n=new Date((e+"").replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3")).getTime()/1e3);var r=1e3*(n||e||window.g_curtime),i=new Date(r),o=new Date((t+"").replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3")),a=i.getDate()>=o.getDate()?0:-1,s=i.getMonth()+a>=o.getMonth()?0:-1,c={};return c.y=i.getFullYear()+s-o.getFullYear(),c.d=parseInt(((i.getTime()-o.getTime())/36e5/24).toString()),c}}n.d(e,"d",function(){return u}),n.d(e,"c",function(){return l}),n.d(e,"a",function(){return f}),n.d(e,"b",function(){return h}),n.d(e,"e",function(){return p});var i=n(111),o=n.n(i),a=n(130),s=n.n(a),c=n(39),u=(n.n(c),function t(e){var n=e.applicant,i=e.insured,a=e.plan,u=e.costTable,l=e.costSlideVar,f=e.genesValue,h=e.genesRules,p=e.dontValue,d=void 0===p?[]:p,v=e.fixedNum;if(""===f)return f;var b=f.replace(/g\((\d+)\)/g,function(e,p){if(!h[p])return"";var b=h[p],m=b.detail,g=void 0===m?{}:m,y=b.source,x="";switch(~~y){case 1:if(!n||!n.hasOwnProperty(g.data)||""===n[g.data])break;if(13===g.transType){var _=r(n[g.data]);_&&(x=_.y+(~~g.offsetYear||0))}else 0===g.transType&&(x=n[g.data]);break;case 2:if(!i.hasOwnProperty(g.data)||""===i[g.data])break;if(13===g.transType){var w=r(i[g.data]);Object(c.isObject)(w)&&(x=w.y+(~~g.offsetYear||0))}else 0===g.transType&&(x=i[g.data]);break;case 3:if(!a.hasOwnProperty(g.data)||""===a[g.data])break;if(14===g.transType){if(!g.exdata||!g.exdata.birth)break;var T=t({applicant:n,insured:i,plan:a,costTable:u,costSlideVar:l,genesValue:g.exdata.birth,genesRules:h}),S=a[g.data].replace(/[^0-9]/gi,"");""!==T&&(x=~~T+~~S+(~~g.offsetYear||0))}else 0===g.transType&&(x=a[g.data]);break;case 8:if(!Object(c.isObject)(g.exdata)||!Object(c.isArray)(u)||u.length<1)break;var O=g.exdata.slideCol-1,j=g.exdata.targetCol-1;if(11===g.transType){var C=l;if(g.exdata.slideVar){var k=t({applicant:n,insured:i,plan:a,costTable:u,costSlideVar:l,genesValue:g.exdata.slideVar,genesRules:h});""!==k&&(C=~~k)}if(void 0===C)break;for(var A=u,E=Array.isArray(A),I=0,A=E?A:s()(A);;){var M;if(E){if(I>=A.length)break;M=A[I++]}else{if(I=A.next(),I.done)break;M=I.value}var P=M;if(~~P[O]===C){x=void 0!==P[j]?P[j]:"";break}}}else if(12===g.transType){var L=u[0],V=u[u.length-1];void 0!==L[j]&&void 0!==V[j]&&(x=o()({min:L[j],max:V[j]}))}break;case 9:0===g.transType&&(x=g.data||"")}return""===x&&console.log("%c 模板变量替换失败,模板参数: "+f+", 滑动参数:"+l,"color:red"),d.indexOf(x)>-1?(console.log("%c 替换结果命中dotValue,模板参数: "+f+", 替换结果:"+x,"color:red"),"##null##"):(v&&void 0!==v&&(x=Number(x).toFixed(v)),x)});return/##null##/.test(b)?"null":b}),l=function(t,e){return""===t?t:t.replace(/g\((\d+)\)/g,function(t){return'<span style="color:'+e.brandColor+';">'+t+"</span>"})},f=function(t,e){if(t){if(e.insureds)for(var n in t.insured)e.insureds[0][n]||(e.insureds[0][n]=t.insured[n]);else e.insureds=[],e.insureds.push(Object(c.deepCopy)(t.insured));if(e.plan)for(var r in t.plan)e.plan[r]||(e.plan[r]=t.plan[r]);else e.plan=Object(c.deepCopy)(t.plan);if(e.applicant)for(var i in t.applicant)e.applicant[i]||(e.applicant[i]=t.applicant[i]);else e.applicant=Object(c.deepCopy)(t.applicant)}return d(e)},h=function(t,e){var n=t.insureds&&t.insureds[0]||{},r=n.insured,i=n.plan,o=t.applicant;if(i&&e.plan&&Object(c.isArray)(e.plan.productAttributes))for(var a=0;a<e.plan.productAttributes.length;a++){var s=e.plan.productAttributes[a],u=s.key.split(".").pop();i.hasOwnProperty(u)&&(s.defaultValue=i[u])}if(o&&e.applicant&&Object(c.isArray)(e.applicant.productAttributes))for(var l=0;l<e.applicant.productAttributes.length;l++){var f=e.applicant.productAttributes[l],h=f.key.split(".").pop();o.hasOwnProperty(h)&&(f.defaultValue=o[h])}if(r&&e.insureds&&e.insureds.subModules&&e.insureds.subModules[0]&&Object(c.isArray)(e.insureds.subModules[0].productAttributes))for(var p=0;p<e.insureds.subModules[0].productAttributes.length;p++){var d=e.insureds.subModules[0].productAttributes[p],v=d.key.split(".").pop();r.hasOwnProperty(v)&&(d.defaultValue=r[v])}return e},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t&&t.length>0&&e)for(var n=t,r=Array.isArray(n),i=0,n=r?n:s()(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;if("benefitDemo.gears"===a.key){var c=[].concat(t);return c.push({site:e.site,key:e.key,value:a.value}),c}}return t},d=function(t){return t.plan&&void 0!==t.plan.interest&&t.benefitDemo&&void 0!==t.benefitDemo.gears&&(t.plan.interest=t.benefitDemo.gears),t}},2286: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",{class:{cps:t.isCps}},[t.benefitElems&&t.benefitElems.length>0?n("gold-benefit",{attrs:{elements:t.benefitElems,loading:t.benefitLoading,theme:t.theme},on:{showTable:t.showTable,updateAge:t.onBenefitChange,onElementChange:t.onElementChange}}):t._e(),t._v(" "),n("gold-cost-table",{attrs:{visible:t.costTableVisible,tables:t.costTableInfo,theme:t.theme,productId:t.productId,groupId:t.groupId},on:{cancelCost:function(e){t.costTableVisible=!1}}})],1)},i=[];r._withStripped=!0},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))}},26:function(e,n){e.exports=t},262:function(t,e,n){t.exports=n(265)},263:function(t,e,n){"use strict";e.__esModule=!0;var r=n(71),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){return function(){var e=t.apply(this,arguments);return new i.default(function(t,n){function r(o,a){try{var s=e[o](a),c=s.value}catch(t){return void n(t)}if(!s.done)return i.default.resolve(c).then(function(t){r("next",t)},function(t){r("throw",t)});t(c)}return r("next")})}}},265:function(t,e,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(266),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},266:function(t,e){!function(e){"use strict";function n(t,e,n,r){var o=e&&e.prototype instanceof i?e:i,a=Object.create(o.prototype),s=new p(r||[]);return a._invoke=u(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function a(){}function s(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function c(t){function e(n,i,o,a){var s=r(t[n],t,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&g.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(u).then(function(t){c.value=t,o(c)},a)}a(s.arg)}function n(t,n){function r(){return new Promise(function(r,i){e(t,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function u(t,e,n){var i=O;return function(o,a){if(i===C)throw new Error("Generator is already running");if(i===k){if("throw"===o)throw a;return v()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var c=l(s,n);if(c){if(c===A)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===O)throw i=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=C;var u=r(t,e,n);if("normal"===u.type){if(i=n.done?k:j,u.arg===A)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=k,n.method="throw",n.arg=u.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===b){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=b,l(t,e),"throw"===e.method))return A;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,A;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=b),e.delegate=null,A):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,A)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function h(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function d(t){if(t){var e=t[x];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(g.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=b,e.done=!0,e};return r.next=r}}return{next:v}}function v(){return{value:b,done:!0}}var b,m=Object.prototype,g=m.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},x=y.iterator||"@@iterator",_=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag",T="object"==typeof t,S=e.regeneratorRuntime;if(S)return void(T&&(t.exports=S));S=e.regeneratorRuntime=T?t.exports:{},S.wrap=n;var O="suspendedStart",j="suspendedYield",C="executing",k="completed",A={},E={};E[x]=function(){return this};var I=Object.getPrototypeOf,M=I&&I(I(d([])));M&&M!==m&&g.call(M,x)&&(E=M);var P=a.prototype=i.prototype=Object.create(E);o.prototype=P.constructor=a,a.constructor=o,a[w]=o.displayName="GeneratorFunction",S.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},S.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,w in t||(t[w]="GeneratorFunction")),t.prototype=Object.create(P),t},S.awrap=function(t){return{__await:t}},s(c.prototype),c.prototype[_]=function(){return this},S.AsyncIterator=c,S.async=function(t,e,r,i){var o=new c(n(t,e,r,i));return S.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},s(P),P[w]="Generator",P[x]=function(){return this},P.toString=function(){return"[object Generator]"},S.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},S.values=d,p.prototype={constructor:p,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=b,this.done=!1,this.delegate=null,this.method="next",this.arg=b,this.tryEntries.forEach(h),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=b)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return o.type="throw",o.arg=t,n.next=e,r&&(n.method="next",n.arg=b),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=g.call(i,"catchLoc"),s=g.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,A):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),A},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),h(n),A}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;h(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=b),A}}}(function(){return this}()||Function("return this")())},27:function(t,e,n){var r=n(10).f,i=n(8),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})}},28:function(t,e,n){var r=n(42),i=n(32);t.exports=Object.keys||function(t){return r(t,i)}},3:function(t,e,n){t.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31: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(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,n){var r=n(15);t.exports=function(t){return Object(r(t))}},34: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)}},35:function(t,e,n){var r=n(16),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},36:function(t,e,n){"use strict";var r=n(18),i=n(9),o=n(54),a=n(5),s=n(11),c=n(60),u=n(27),l=n(62),f=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,d,v,b,m){c(n,e,d);var g,y,x,_=function(t){if(!h&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",T="values"==v,S=!1,O=t.prototype,j=O[f]||O["@@iterator"]||v&&O[v],C=j||_(v),k=v?T?_("entries"):C:void 0,A="Array"==e?O.entries||j:j;if(A&&(x=l(A.call(new t)))!==Object.prototype&&x.next&&(u(x,w,!0),r||"function"==typeof x[f]||a(x,f,p)),T&&j&&"values"!==j.name&&(S=!0,C=function(){return j.call(this)}),r&&!m||!h&&!S&&O[f]||a(O,f,C),s[e]=C,s[w]=p,v)if(g={values:T?C:_("values"),keys:b?C:_("keys"),entries:k},m)for(y in g)y in O||o(O,y,g[y]);else i(i.P+i.F*(h||S),e,g);return g}},38:function(t,e,n){var r=n(6);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")}},39:function(t,n){t.exports=e},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}},41:function(t,e,n){t.exports=!n(3)&&!n(12)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},42:function(t,e,n){var r=n(8),i=n(13),o=n(46)(!1),a=n(20)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},43:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},44: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(19);t.exports.f=function(t){return new r(t)}},45:function(t,e,n){var r=n(14),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},46:function(t,e,n){var r=n(13),i=n(35),o=n(47);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},47:function(t,e,n){var r=n(16),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},48:function(t,e,n){"use strict";var r=n(59)(!0);n(36)(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})})},5:function(t,e,n){var r=n(10),i=n(23);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}},50:function(t,e,n){n(68);for(var r=n(0),i=n(5),o=n(11),a=n(1)("toStringTag"),s="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(","),c=0;c<s.length;c++){var u=s[c],l=r[u],f=l&&l.prototype;f&&!f[a]&&i(f,a,u),o[u]=o.Array}},51:function(t,e){e.f={}.propertyIsEnumerable},52:function(t,e,n){var r=n(4),i=n(61),o=n(32),a=n(20)("IE_PROTO"),s=function(){},c=function(){var t,e=n(22)("iframe"),r=o.length;for(e.style.display="none",n(43).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},54:function(t,e,n){t.exports=n(5)},56:function(t,e,n){var r=n(45),i=n(1)("iterator"),o=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},57:function(t,e){e.f=Object.getOwnPropertySymbols},59:function(t,e,n){var r=n(16),i=n(15);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-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,n){"use strict";var r=n(52),i=n(23),o=n(27),a={};n(5)(a,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},61:function(t,e,n){var r=n(10),i=n(4),o=n(28);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},62:function(t,e,n){var r=n(8),i=n(33),o=n(20)("IE_PROTO"),a=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?a:null}},63:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},64:function(t,e,n){var r=n(4),i=n(19),o=n(1)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},65:function(t,e,n){var r,i,o,a=n(17),s=n(97),c=n(43),u=n(22),l=n(0),f=l.process,h=l.setImmediate,p=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,b=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},y=function(t){g.call(t.data)};h&&p||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++b]=function(){s("function"==typeof t?t:Function(t),e)},r(b),b},p=function(t){delete m[t]},"process"==n(14)(f)?r=function(t){f.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=functi